query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
6e6ac07b696369918f7d9c32afd6263a
Write code here that turns the phrase above into concrete actions
[ { "docid": "291752e9fab5b08b29a60176b77d848e", "score": "0.0", "text": "@Then(\"^the System displays NYCEDC Transactions$\")\npublic void the_System_displays_Nycedc_Transactions() throws Exception {\n\tInteger smartSearchDetailsCountFromDB = DatabaseUtil.getNYCEDCTotalSpendingAllTransactionCount('B');\n\tassertFieldContainsText(\"NYCEDC Smart search Default Transaction Count\", smartsearchPage.getTotalCountForNycedcSmartSearch(), smartSearchDetailsCountFromDB.toString());\n\tassertFieldHasText(\"NYCEDC search Title\", smartsearchPage.getSmartsearchNycedcTitle(), \"Search Results NYCEDC\");\n//\tassertFieldContainsText(\"Payroll Advanced Search Default Transactions Top navigation Amount\", payrollPage.getTransactionAmount() , PayrollAmount);\n\t\n\tsoftAssertion.assertAll();\n}", "title": "" } ]
[ { "docid": "654a6ccde9396bfd1483c066be678433", "score": "0.6708456", "text": "@Override\n public void doAction(MentionOf s) {\n \n }", "title": "" }, { "docid": "7133578c877b5aaac7794fb83a8c15ee", "score": "0.639387", "text": "public void action() {\n }", "title": "" }, { "docid": "01438e109df226dcd1eb4ca409ee46c9", "score": "0.63501525", "text": "@Override\n\tpublic void action() {\n\n\t}", "title": "" }, { "docid": "01438e109df226dcd1eb4ca409ee46c9", "score": "0.63501525", "text": "@Override\n\tpublic void action() {\n\n\t}", "title": "" }, { "docid": "c14598efc1f82ba5ad76577a8438c5a2", "score": "0.634394", "text": "@Override\n\tpublic void action() {\n\t}", "title": "" }, { "docid": "81438bdcdf8a9d4a5ece2d073b3cd969", "score": "0.63154817", "text": "@Override\n\tpublic void execAction(IIntent input) {\n\t\t\n\t}", "title": "" }, { "docid": "d08c05cc1ce015f345945b18507e8dac", "score": "0.6291267", "text": "public void action(){\r\n\t\t//Rien à mettre dans cette méthode.\r\n\t}", "title": "" }, { "docid": "ae476a57a0bc42530e4af93a9bd53cb9", "score": "0.62640357", "text": "public void action() {}", "title": "" }, { "docid": "662d8110aea79a973b17b166de70cc6f", "score": "0.62483805", "text": "abstract public void action();", "title": "" }, { "docid": "b33f457b847c66802f5b89212f5fc29d", "score": "0.6245702", "text": "public void processAction(ACTION action)\n {\n \n }", "title": "" }, { "docid": "3f587ed7780e5abf2837c386428bd638", "score": "0.6131788", "text": "@Override\n\tpublic void execAction() {\n\t\t\n\t}", "title": "" }, { "docid": "b5dbafffe5c39d09462979e5a756c646", "score": "0.61157453", "text": "public abstract void performAction(String commandString, ApplicationState app);", "title": "" }, { "docid": "43d853a9f2c077c41a555e7a5c7e4930", "score": "0.60984427", "text": "public abstract String perform(String s);", "title": "" }, { "docid": "1dd9fdf4446df5d2967ca73a55e63933", "score": "0.6072893", "text": "private String actionPhrase (\n String action, boolean degenerate, boolean pluralConjugation)\n {\n if (action == null)\n return \"?\";\n\n if (action.equals(QRule.NEGATIVE))\n return (degenerate ? \"no\" : \"a\") + \" request should \" +\n (degenerate ? \"\" : \"not \") + \"be approved\";\n if (action.equals(QRule.POSITIVE))\n return (degenerate ? \"every\" : \"a\") + \" request should be approved\";\n if (action.equals(QRule.NEUTRAL))\n return (degenerate ? \"every\" : \"a\") +\n \" request may be approved\";\n\n return \"<<action=\" + action + \">>\";\n }", "title": "" }, { "docid": "25a8ffedeb1a2bc1efda92c974bffd3b", "score": "0.60668147", "text": "public void act() {}", "title": "" }, { "docid": "35a4aa962289b66fa524497a4af8896c", "score": "0.6061467", "text": "public static int complexAction(String str)\n {\n if (str.equalsIgnoreCase(\"Play\") || str.equalsIgnoreCase(\"Start\") || str.equalsIgnoreCase(\"Begin\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Pause\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"QUIT\"))\n {\n return 3;\n }\n else\n { return 0;} \n }", "title": "" }, { "docid": "cbe8eb3123ca1100abd102f049b65700", "score": "0.60444367", "text": "abstract public void run(String action,ArgVector args);", "title": "" }, { "docid": "ee8270e30e2ffa2596aebfaf011a8139", "score": "0.6035597", "text": "public abstract void action();", "title": "" }, { "docid": "ee8270e30e2ffa2596aebfaf011a8139", "score": "0.6035597", "text": "public abstract void action();", "title": "" }, { "docid": "e824b407fc06ccfac29631941833567b", "score": "0.60298705", "text": "private void FirstActions( )\n {\n }", "title": "" }, { "docid": "35b4b8880d408099c3a81d03c682db20", "score": "0.60214883", "text": "protected abstract void action(String event);", "title": "" }, { "docid": "8b0fe29416f955fc49b300c6c0e9db8c", "score": "0.6018119", "text": "public void action();", "title": "" }, { "docid": "a613f4f1d831093c02461dfdd68b249d", "score": "0.6008171", "text": "public void requestAction(int position, String action);", "title": "" }, { "docid": "dc095579f448a78c67d183ff05c18434", "score": "0.5989648", "text": "void process(ActionMessage msg) throws Exception;", "title": "" }, { "docid": "d4c5c53e9bbf80426ebcfdabf1248f12", "score": "0.5987723", "text": "@Override\n public void actionReturned(Agent agent, Action action) {\n // Cast the action\n MoveToWordAction mtwAction = (MoveToWordAction) action;\n ChatbotAgent chatbotAgent = (ChatbotAgent) agent;\n\n // Update the state\n this.updateState(mtwAction);\n\n // Show the answer\n chatbotAgent.getSolver().showSolution();\n }", "title": "" }, { "docid": "00c83a3c2ca618294dbacfaa7fc7653b", "score": "0.59730214", "text": "@Override\r\n\tpublic void act() {\n\t\t\r\n\t}", "title": "" }, { "docid": "00c83a3c2ca618294dbacfaa7fc7653b", "score": "0.59730214", "text": "@Override\r\n\tpublic void act() {\n\t\t\r\n\t}", "title": "" }, { "docid": "00c83a3c2ca618294dbacfaa7fc7653b", "score": "0.59730214", "text": "@Override\r\n\tpublic void act() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6b295c5bcc3a908f2176bf5c17b0a6e3", "score": "0.59556997", "text": "void makeAction();", "title": "" }, { "docid": "0fe312828286cb9561bf8e88ca2ed502", "score": "0.5944431", "text": "abstract String target();", "title": "" }, { "docid": "c6177223fce6b417fc03f6218c7caa9a", "score": "0.5939855", "text": "private EightPuzzleAction(String theAction) {\n\t\tname = theAction;\n\t}", "title": "" }, { "docid": "61e62a0eda414ee6dd3156c38b4a73e3", "score": "0.5933644", "text": "void action();", "title": "" }, { "docid": "bc9efe48dfdb730b215cb8ade443301a", "score": "0.5925999", "text": "public static int simpleAction(String str)\n {\n if (str.equalsIgnoreCase(\"Y\") || str.equalsIgnoreCase(\"Yes\")) //your actions are yes\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"N\") || str.equalsIgnoreCase(\"No\")) // your actions are no\n {\n return 0;\n }\n else\n {\n return 2;\n }\n }", "title": "" }, { "docid": "5b0802ee69436d2ba8016c99d38b8588", "score": "0.5921257", "text": "String action (FeedMessage message, String subject, String object, Plural plural);", "title": "" }, { "docid": "9f82501a58f9228a095079eeeecb579e", "score": "0.5920343", "text": "public void commandAction(Command command, Displayable displayable) {//GEN-END:|7-commandAction|0|7-preCommandAction\n // write pre-action user code here\n if (displayable == AEFI) {//GEN-BEGIN:|7-commandAction|1|644-preAction\n if (command == aefiBackCmd) {//GEN-END:|7-commandAction|1|644-preAction\n // write pre-action user code here\n switchDisplayable(null, getFollowingImmunization());//GEN-LINE:|7-commandAction|2|644-postAction\n // write post-action user code here\n } else if (command == aefiCmd) {//GEN-LINE:|7-commandAction|3|646-preAction\n // write pre-action user code here\n switchDisplayable(null, getImmunizationsessions());//GEN-LINE:|7-commandAction|4|646-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|5|673-preAction\n } else if (displayable == ChildhoodDiseasesreported) {\n if (command == childhoodBackCmd) {//GEN-END:|7-commandAction|5|673-preAction\n // write pre-action user code here\n switchDisplayable(null, getVitaminADose());//GEN-LINE:|7-commandAction|6|673-postAction\n // write post-action user code here\n } else if (command == childhoodCmd) {//GEN-LINE:|7-commandAction|7|675-preAction\n // write pre-action user code here\n switchDisplayable(null, getHealthFacilityServices());//GEN-LINE:|7-commandAction|8|675-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|9|629-preAction\n } else if (displayable == FollowingImmunization) {\n if (command == followingimmunizationBackCmd) {//GEN-END:|7-commandAction|9|629-preAction\n // write pre-action user code here\n switchDisplayable(null, getMonthPage());//GEN-LINE:|7-commandAction|10|629-postAction\n // write post-action user code here\n } else if (command == followingimmunizationCmd) {//GEN-LINE:|7-commandAction|11|631-preAction\n // write pre-action user code here\n switchDisplayable(null, getAEFI());//GEN-LINE:|7-commandAction|12|631-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|13|683-preAction\n } else if (displayable == HealthFacilityServices) {\n if (command == healthfacilityservicesBackCmd) {//GEN-END:|7-commandAction|13|683-preAction\n // write pre-action user code here\n switchDisplayable(null, getChildhoodDiseasesreported());//GEN-LINE:|7-commandAction|14|683-postAction\n // write post-action user code here\n } else if (command == healthfacilityservicesCmd) {//GEN-LINE:|7-commandAction|15|685-preAction\n // write pre-action user code here\n switchDisplayable(null, getLabTests());//GEN-LINE:|7-commandAction|16|685-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|17|654-preAction\n } else if (displayable == Immunizationsessions) {\n if (command == immunizationsessionsBackCmd) {//GEN-END:|7-commandAction|17|654-preAction\n // write pre-action user code here\n switchDisplayable(null, getAEFI());//GEN-LINE:|7-commandAction|18|654-postAction\n // write post-action user code here\n } else if (command == immunizationsessionsCmd) {//GEN-LINE:|7-commandAction|19|656-preAction\n // write pre-action user code here\n switchDisplayable(null, getVitaminADose());//GEN-LINE:|7-commandAction|20|656-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|21|690-preAction\n } else if (displayable == LabTests) {\n if (command == labtestsBackCmd) {//GEN-END:|7-commandAction|21|690-preAction\n // write pre-action user code here\n switchDisplayable(null, getHealthFacilityServices());//GEN-LINE:|7-commandAction|22|690-postAction\n // write post-action user code here\n } else if (command == labtestsCmd) {//GEN-LINE:|7-commandAction|23|692-preAction\n // write pre-action user code here\n getEmptyFields();\n switchDisplayable(null, getSendPage());//GEN-LINE:|7-commandAction|24|692-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|25|663-preAction\n } else if (displayable == VitaminADose) {\n if (command == vitaminadoseBackCmd) {//GEN-END:|7-commandAction|25|663-preAction\n // write pre-action user code here\n switchDisplayable(null, getImmunizationsessions());//GEN-LINE:|7-commandAction|26|663-postAction\n // write post-action user code here\n } else if (command == vitaminadoseCmd) {//GEN-LINE:|7-commandAction|27|665-preAction\n // write pre-action user code here\n switchDisplayable(null, getChildhoodDiseasesreported());//GEN-LINE:|7-commandAction|28|665-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|29|226-preAction\n } else if (displayable == loadPage) {\n if (command == loadCmd) {//GEN-END:|7-commandAction|29|226-preAction\n int lastSelected = lastChoice.getSelectedIndex();\n if (lastSelected == 0) {\n editingLastReport = true;\n } else {\n editingLastReport = false;\n }\n switchDisplayable(null, getMonthPage());//GEN-LINE:|7-commandAction|30|226-postAction\n // write post-action user code here\n } else if (command == loadExitCmd) {//GEN-LINE:|7-commandAction|31|228-preAction\n // write pre-action user code here\n exitMIDlet();//GEN-LINE:|7-commandAction|32|228-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|33|180-preAction\n } else if (displayable == monthPage) {\n if (command == monthCmd) {//GEN-END:|7-commandAction|33|180-preAction\n // write pre-action user code here\n switchDisplayable(null, getFollowingImmunization());//GEN-LINE:|7-commandAction|34|180-postAction\n // write post-action user code here\n } else if (command == monthExitCmd) {//GEN-LINE:|7-commandAction|35|459-preAction\n // write pre-action user code here\n exitMIDlet();//GEN-LINE:|7-commandAction|36|459-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|37|703-preAction\n } else if (displayable == sendPage) {\n if (command == saveCmd) {//GEN-END:|7-commandAction|37|703-preAction\n // write pre-action user code here\n final String monthStr = monthChoice.getString(monthChoice.getSelectedIndex());\n final String freqStr = freqGroup.getString(freqGroup.getSelectedIndex());\n saveDataToRMS(monthStr, freqStr);\n Alert myAlert = new Alert(\"Save success\",\"Your data has been saved!\",null,AlertType.INFO);\n myAlert.setTimeout(2000);\n Display.getDisplay(this).setCurrent(myAlert,sendPage);\n//GEN-LINE:|7-commandAction|38|703-postAction\n // write post-action user code here\n } else if (command == sendBackCmd) {//GEN-LINE:|7-commandAction|39|171-preAction\n // write pre-action user code here\n switchDisplayable(null, getLabTests());//GEN-LINE:|7-commandAction|40|171-postAction\n // write post-action user code here\n } else if (command == sendCmd) {//GEN-LINE:|7-commandAction|41|169-preAction\n sendMsgLabel.setText(\"Sending SMS...\");\n final String monthStr = monthChoice.getString(monthChoice.getSelectedIndex());\n final String freqStr = freqGroup.getString(freqGroup.getSelectedIndex());\n\n final String scForm1Data = collectFormData(monthStr, freqStr);\n //<editor-fold defaultstate=\"collapsed\" desc=\" Thread to Save Records to RMS \">\n saveDataToRMS(monthStr,freqStr);\n //</editor-fold>\n\n //<editor-fold defaultstate=\"collapsed\" desc=\" Thread to Send SMS \">\n sendDataViaSMS(scForm1Data);\n //</editor-fold>\n\n//GEN-LINE:|7-commandAction|42|169-postAction\n // write post-action user code here\n } else if (command == sendExitCmd) {//GEN-LINE:|7-commandAction|43|207-preAction\n // write pre-action user code here\n exitMIDlet();//GEN-LINE:|7-commandAction|44|207-postAction\n // write post-action user code here\n } else if (command == sendSettingsCmd) {//GEN-LINE:|7-commandAction|45|255-preAction\n // write pre-action user code here\n switchDisplayable(null, getSettingsPage());//GEN-LINE:|7-commandAction|46|255-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|47|246-preAction\n } else if (displayable == settingsPage) {\n if (command == settingsBackCmd) {//GEN-END:|7-commandAction|47|246-preAction\n // write pre-action user code here\n switchDisplayable(null, getSendPage());//GEN-LINE:|7-commandAction|48|246-postAction\n // write post-action user code here\n } else if (command == settingsCmd) {//GEN-LINE:|7-commandAction|49|243-preAction\n try {\n String phone1 = phone1Num.getString();\n String phone2 = phone2Num.getString();\n String phone3 = phone3Num.getString();\n\n lastMsgStore.setRecord(1, phone1.getBytes(), 0, phone1.length());\n lastMsgStore.setRecord(2, phone2.getBytes(), 0, phone2.length());\n lastMsgStore.setRecord(3, phone3.getBytes(), 0, phone3.length());\n //the id number 4 is already in use so i choose number 5\n\n if (sendMsgLabel != null) {\n sendMsgLabel.setText(\"Settings Saved... Press \\\"Send to send report\");\n }\n } catch (RecordStoreException ex) {\n ex.printStackTrace();\n }\n switchToPreviousDisplayable();//GEN-LINE:|7-commandAction|50|243-postAction\n // write post-action user code here\n }//GEN-BEGIN:|7-commandAction|51|203-preAction\n } else if (displayable == splashScreen) {\n if (command == SplashScreen.DISMISS_COMMAND) {//GEN-END:|7-commandAction|51|203-preAction\n if (savedMsg == false) {\n switchDisplayable(null, getMonthPage());\n } else {\n switchDisplayable(null, getLoadPage());//GEN-LINE:|7-commandAction|52|203-postAction\n }\n }//GEN-BEGIN:|7-commandAction|53|7-postCommandAction\n }//GEN-END:|7-commandAction|53|7-postCommandAction\n // write post-action user code here\n }", "title": "" }, { "docid": "efee2fc69d06a9214a714c6ab7864636", "score": "0.59078765", "text": "public void Action(String Object, String type) {\n\t\t\r\n\t}", "title": "" }, { "docid": "74a65a776ee7b2ce1550cfc2b49934da", "score": "0.5906394", "text": "protected abstract Action nextAction();", "title": "" }, { "docid": "8e549690798d2fb970878ab03723d061", "score": "0.5890715", "text": "private void makeActions() {\n\t\taction1 = new Action() {\n\t\t\tpublic void run() {\n\t\t\t\tshowMessage(\"Action 1 executed\");\n\t\t\t}\n\t\t};\n\t\taction1.setText(\"Action 1\");\n\t\taction1.setToolTipText(\"Action 1 tooltip\");\n\t\taction1.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().\n\t\t\tgetImageDescriptor(ISharedImages.IMG_OBJS_INFO_TSK));\n\t\t\n\t\taction2 = new Action() {\n\t\t\tpublic void run() {\n\t\t\t\tshowMessage(\"Action 2 executed\");\n\t\t\t}\n\t\t};\n\t\taction2.setText(\"Action 2\");\n\t\taction2.setToolTipText(\"Action 2 tooltip\");\n\t\taction2.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().\n\t\t\t\tgetImageDescriptor(ISharedImages.IMG_OBJS_INFO_TSK));\n\t\tdoubleClickAction = new Action() {\n\t\t\tpublic void run() {\n\t\t\t\tISelection selection = viewer.getSelection();\n\t\t\t\tObject obj = ((IStructuredSelection)selection).getFirstElement();\n\t\t\t\tshowMessage(\"Double-click detected on \"+obj.toString());\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "c870a2a5bcebd106ca762ef6be48c6a8", "score": "0.58888185", "text": "protected String action (FeedMessage message, String subject, String object, Plural plural)\n {\n return StringUtil.capitalize(_messages.action(message, subject, object, plural));\n }", "title": "" }, { "docid": "45b6aa831d252ba3b892c5cb03c3f643", "score": "0.58572024", "text": "@Override\n public void doAction(DerivedByInsertionFrom s) {\n \n }", "title": "" }, { "docid": "1f38844369b2965501046170986b583d", "score": "0.58541715", "text": "public void act()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ced3e582d2664edc5df4a6af7442afb2", "score": "0.58320916", "text": "@Override\r\n\tpublic void doAction(){\n\t}", "title": "" }, { "docid": "ffee1f3862492a229efa22a405d27cb7", "score": "0.5829086", "text": "@ActionCreator\npublic interface SearchActions {\n\n String RESET = \"RESET\";\n String SEARCH = \"SEARCH\";\n String LOADING = \"LOADING\";\n String RESULT = \"RESULT\";\n String ERROR = \"ERROR\";\n\n @ActionCreator.Action(RESET)\n Action reset();\n\n @ActionCreator.Action(SEARCH)\n Action search(String query);\n\n @ActionCreator.Action(LOADING)\n Action loading();\n\n @ActionCreator.Action(RESULT)\n Action result(List<PicturePost> result);\n\n @ActionCreator.Action(ERROR)\n Action error(Throwable error);\n}", "title": "" }, { "docid": "fbfc4061905087aa9917d612f7407a43", "score": "0.58187044", "text": "@Override\r\n public void act() {\n }", "title": "" }, { "docid": "d46a4e16cb1479aae8fe667b67d8be82", "score": "0.58175", "text": "private void performAction(String command) {\n if(command.trim().isEmpty()){\n return;\n }\n String[] commands = command.split(\" \");\n Commands firstCommand = null;\n try {\n firstCommand = Commands.valueOf(commands[0].toUpperCase());\n } catch (Exception e) {\n Handler.get().sendMsg(\"'\" + commands[0] + \"' is not a command.\");\n return;\n }\n try {\n commandHandler.handle(commands, firstCommand);\n } catch (Exception e){\n e.getStackTrace();\n Handler.get().sendMsg(\"Something went wrong submitting this command.\");\n }\n }", "title": "" }, { "docid": "4f97231a71db2bbc1a4fd5734c50aaa9", "score": "0.5802335", "text": "void bodyAction(Action<String> action);", "title": "" }, { "docid": "69e4e0f9f692d39d7a39d5e87075dc42", "score": "0.58016485", "text": "@Override\n\tpublic void act() {\n\t}", "title": "" }, { "docid": "a6ee90a75a0ee2afe3b63a872a733f2e", "score": "0.57834214", "text": "public interface ActionReader {\n String nextAction();\n}", "title": "" }, { "docid": "ba961b3a4fde209a0a0ed2e308f1d8bb", "score": "0.57700884", "text": "public void actionPerformed(ActionEvent e) \r\n\t\t\t{\n\t\t\t\tif ( str.equals(\"neu\") )\r\n\t\t\t\t\tneuAction();\r\n\t\t\t\tif ( str.equals(\"oeffnen\") )\r\n\t\t\t\t\toeffnenAction();\r\n\t\t\t\tif ( str.equals(\"speichern\") )\r\n\t\t\t\t\tspeichernAction();\t\t\t\t\t\r\n\t\t\t\tif ( str.equals(\"speichernUnter\") )\r\n\t\t\t\t\tspeichernUnterAction();\t\r\n\t\t\t\tif ( str.equals(\"beenden\") )\r\n\t\t\t\t\tbeendenAction();\r\n\t\t\t\t\r\n\t\t\t\t// for bearbeiten\r\n\t\t\t\tif ( str.equals(\"wegBerechnen\") )\r\n\t\t\t\t\twegBerechnenAction();\r\n\t\t\t\tif ( str.equals(\"editieren\") )\r\n\t\t\t\t\teditierenAction();\r\n\t\t\t\t\r\n\t\t\t\t// for opionen\r\n\t\t\t\tif ( str.equals(\"liste\") )\r\n\t\t\t\t\tzeigeListeAction();\r\n\t\t\t\tif ( str.equals(\"einstellungen\") )\r\n\t\t\t\t\tAbbruchzeitFensterAction();\r\n\t\t\t\t\t\r\n\t\t\t\t// for hilfe\r\n\t\t\t\tif ( str.equals(\"kurzanleitung\") )\r\n\t\t\t\t\tHilfeFensterAction();\r\n\t\t\t\tif ( str.equals(\"about\") )\r\n\t\t\t\t\taboutAction();\r\n\t\t\t}", "title": "" }, { "docid": "41a7e848c986fd79875070cbe00a6460", "score": "0.57676125", "text": "private void getExplanation()\n {\n \n }", "title": "" }, { "docid": "077ae5bb5de60e6bc4c1382b341bd99f", "score": "0.5767292", "text": "java.lang.String getConformAction();", "title": "" }, { "docid": "e4e72696d66cacb7e5ee8bbdea5517db", "score": "0.57623374", "text": "public A chooseAction();", "title": "" }, { "docid": "f4eb874f7fd84b8335fff80ddb16e0a9", "score": "0.57565135", "text": "public abstract boolean doAction(String[] inputs);", "title": "" }, { "docid": "757572764473254051a8c7b505585916", "score": "0.5753304", "text": "public boolean action(Action act, Creature performer, Item source, Item target, short action, float counter) {\n/* 189 */ return performPapyrusAction(act, performer, source, target, action, counter);\n/* */ }", "title": "" }, { "docid": "ab4143141d1d6a0c6896e4a48c9d0b13", "score": "0.5750604", "text": "public void act() {\n }", "title": "" }, { "docid": "ab4143141d1d6a0c6896e4a48c9d0b13", "score": "0.5750604", "text": "public void act() {\n }", "title": "" }, { "docid": "58620c90ad7dc6ceeaccb20703234021", "score": "0.5743657", "text": "public void act() \r\n {\r\n // Add your action code here.\r\n }", "title": "" }, { "docid": "58620c90ad7dc6ceeaccb20703234021", "score": "0.5743657", "text": "public void act() \r\n {\r\n // Add your action code here.\r\n }", "title": "" }, { "docid": "aa9fefe01555762ca872b090d648567d", "score": "0.5734193", "text": "@Override\n\tpublic void parseFact(Fact actionFact) {\n\t\t\n\t}", "title": "" }, { "docid": "d12ba9b7dc18554df8030771be0906d0", "score": "0.57181084", "text": "@Override\n public void action(Character c) {\n }", "title": "" }, { "docid": "ed8f76077532f051155ff5606161b5c7", "score": "0.5714272", "text": "public void action() {\n\n\t\t//真正执行命令操作的功能代码\n\t\tSystem.out.println(\"我收到命令,并开始执行\");\n\n\t}", "title": "" }, { "docid": "5f43f374a6bc640bea5c22d82fff58df", "score": "0.57132614", "text": "default void printAction(){\n System.out.println(\"I'm doing an action\");\n }", "title": "" }, { "docid": "ee93c30ca6bb3e52617b656924ac584e", "score": "0.5695484", "text": "private void doAction(Element actionFromStack) {\n // This method will convert the plan using Action type to plan using String type\n for (Action action : plan) {\n if ((actionFromStack.toString().equalsIgnoreCase(action.toString()))) {\n // Remove the action from the Goal Stack\n goalStack.pop();\n // Perform the action and update current state\n updateCurrentState(action);\n break;\n }\n }\n }", "title": "" }, { "docid": "970cb55848691108b04b3050825b6461", "score": "0.5694333", "text": "public String getActions()\n/* */ {\n/* 2267 */ return \"\";\n/* */ }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "54fa38948f1606738e97ffec9897ccd1", "score": "0.5692927", "text": "public void act() \n {\n // Add your action code here.\n }", "title": "" }, { "docid": "e76d622e49a59aabbcc94046575d8873", "score": "0.56904656", "text": "public interface IAction {\n public String sayHello(String string);\n}", "title": "" }, { "docid": "de23a8d74184cda3cd1f583481d816f6", "score": "0.5690055", "text": "public interface UserAction {\n\n int key();\n\n void execute(Input input, Tracker tracker);\n\n String info();\n\n}", "title": "" }, { "docid": "c30624c983ef745972d86ae60a640fc5", "score": "0.56853503", "text": "public void act() \n {\n \n }", "title": "" }, { "docid": "69868e404dbc80bc9a95683d1c212c60", "score": "0.56807494", "text": "public void act();", "title": "" }, { "docid": "783b461a95fa014a13e8e00754309956", "score": "0.56777483", "text": "public abstract String goal();", "title": "" }, { "docid": "6abed04f1198a8380fc3901ac739aa4a", "score": "0.56707394", "text": "abstract protected void act();", "title": "" }, { "docid": "c84f35c29702cf4a96ea278558920ab1", "score": "0.5668793", "text": "java.lang.String getAction();", "title": "" }, { "docid": "9957d6910ba2f6c9400478be9f85f4c2", "score": "0.56613517", "text": "public void act()\n {\n // Add your action code here.\n }", "title": "" }, { "docid": "f049b91007a6c61bc01a825cc4ba7639", "score": "0.56539285", "text": "@Override\r\n\t\tpublic void action() {\n\t\t\tACLMessage receivedMsg = receive(MessageTemplate\r\n\t\t\t\t\t.not(MessageTemplate.MatchSender(databaseAgentAID)));\r\n\t\t\tif (receivedMsg == null) {\r\n\t\t\t\tblock();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tAction actExpr;\r\n\t\t\ttry {\r\n\t\t\t\tactExpr = (Action) myAgent.getContentManager().extractContent(\r\n\t\t\t\t\t\treceivedMsg);\r\n\t\t\t\tAgentAction action = (AgentAction) actExpr.getAction();\r\n\t\t\t\tint msgPerformative = receivedMsg.getPerformative();\r\n\t\t\t\tswitch (msgPerformative) {\r\n\t\t\t\tcase ACLMessage.REQUEST: {\r\n\t\t\t\t\tSystem.out.println(\"Request from: \"\r\n\t\t\t\t\t\t\t+ receivedMsg.getSender().getLocalName());\r\n\t\t\t\t\tif (action instanceof NewsMaker) {\r\n\t\t\t\t\t\tSystem.out.println(\"Action NewsMaker\");\r\n\t\t\t\t\t\tuserName = ((NewsMaker) action).getUserNameElement();\r\n\t\t\t\t\t\ttechnologyPriority = ((NewsMaker) action)\r\n\t\t\t\t\t\t\t\t.getTechnologyPriorityElement();\r\n\t\t\t\t\t\tsportPriority = ((NewsMaker) action)\r\n\t\t\t\t\t\t\t\t.getSportPriorityElement();\r\n\t\t\t\t\t\tif (!isNewestNews) {\r\n\t\t\t\t\t\t\tsendRequestToDBAgent();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (!isOnProxy) {\r\n\t\t\t\t\t\t\tsendInsertRequestInformationToDBAgent(userName);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (userName.equalsIgnoreCase(\"proxy\") && !isOnProxy) {\r\n\t\t\t\t\t\t\tmovingBehaviour = new MovingTickerBehaviour(\r\n\t\t\t\t\t\t\t\t\tmyAgent, 1000);\r\n\t\t\t\t\t\t\tSequentialBehaviour sq = new SequentialBehaviour();\r\n\t\t\t\t\t\t\tsq.addSubBehaviour(new HandleNewsMaker(myAgent,\r\n\t\t\t\t\t\t\t\t\treceivedMsg));\r\n\t\t\t\t\t\t\tsq.addSubBehaviour(movingBehaviour);\r\n\t\t\t\t\t\t\taddBehaviour(sq);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\taddBehaviour(new HandleNewsMaker(myAgent,\r\n\t\t\t\t\t\t\t\t\treceivedMsg));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println(\"Another action\");\r\n\t\t\t\t\t\treplyNotUnderstood(receivedMsg);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase ACLMessage.INFORM: {\r\n\t\t\t\t\tSystem.out.println(\"Inform from: \"\r\n\t\t\t\t\t\t\t+ receivedMsg.getSender().getLocalName());\r\n\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t// TODO: handle exception\r\n\t\t\t\tSystem.err.println(\"Exception: \" + e.getMessage() + e);\r\n\t\t\t\t// log.error(\"Exception: \" + e.getMessage(), e);\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "ca587c4f80f809d2b030fbc3bef6d6ed", "score": "0.56168365", "text": "private void speakInstructions() {\n\t\tint temp = r.nextInt(4);\n\t\tif (temp >= 0) {\n\t\t\tspeakText(\"Try to solve the word!\");\n\t\t} else if (temp == 1) {\n\t\t\tspeakText(\"Can you solve this word?\");\n\t\t} else if (temp == 2) {\n\t\t\tspeakText(\"What can this word possibly be?\");\n\t\t} else {\n\t\t\tspeakText(\"Lets solve this word together!\");\n\t\t}\n\t}", "title": "" }, { "docid": "7c53a43cc8601247224c214330c1d8e3", "score": "0.56144243", "text": "public interface Action {\n\t\n\tpublic void execute();\n\n}", "title": "" }, { "docid": "97e84c8cb2e5a0c4b0e98ff61a1831ae", "score": "0.5614017", "text": "public boolean action(Action act, Creature performer, Item target, short action, float counter) {\n/* 176 */ return performPapyrusAction(act, performer, null, target, action, counter);\n/* */ }", "title": "" }, { "docid": "5143f65e350b832de7d5535a859b07c3", "score": "0.5613978", "text": "public String interpretAction(Vector<String> action) {\r\n\r\n\tint outputidx;\r\n\tString url = \"\";\r\n\t\r\n\ttry {\r\n\r\n\t\t// -------------------\r\n\t\t// ACTION == CHECK_OUT\r\n\t\t// -------------------\r\n\t\tif (action.elementAt(0).equalsIgnoreCase(\"check_out\")) {\t\t// <--- ITT KELL ATIRNI!!! Mi a csel. neve?\r\n\t\t\r\n\t\t\t// Lets translate the shop PDDL object from where we must check out\r\n\t\t\tint[] inputidx\t= {0};\r\n\t\t\tString[] input\t= {action.elementAt(1)};\t\t\t\t\t// <--- ITT KELL ATIRNI!!! elementAt(???)\r\n\t\t\toutputidx\t\t= 1;\r\n\t\t\t\r\n\t\t\tString csvShop\t= shopdict.translate(inputidx, input, outputidx);\r\n\t\t\t\r\n\t\t\tif (csvShop.equals(\"blue\")) {\r\n\t\t\t\t\r\n\t\t url = \"http://project.mit.bme.hu/vimim223/sites/07/webshops/shop1/?checkout=1\";\r\n\t\t \r\n\t\t\t} else if (csvShop.equals(\"green\")) {\r\n\t\t\t\t\r\n\t\t url = \"http://project.mit.bme.hu/vimim223/sites/07/webshops/shop2/?checkout=1\";\r\n\t\t\t\t\r\n\t\t\t} else if (csvShop.equals(\"red\")) {\r\n\t\t\t\t\r\n\t\t url = \"http://project.mit.bme.hu/vimim223/sites/07/webshops/shop3/?checkout=1\";\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\r\n\t\t// -----------------\r\n\t\t// ACTION == TO_CART\r\n\t\t// -----------------\r\n\t\t} else if (action.elementAt(0).equalsIgnoreCase(\"add_to_cart\")) {\t// <--- ITT KELL ATIRNI!!! Mi a csel. neve?\r\n\t\r\n\t\t\t// 01: lets translate the shop PDDL object\r\n\t\t\tint[] inputidx1\t= {0};\r\n\t\t\tString[] input1\t= {action.elementAt(3)};\t\t\t\t\t// <--- ITT KELL ATIRNI!!! elementAt(???)\r\n\t\t\toutputidx\t\t= 1;\t\r\n\t\t\t\r\n\t\t\tString csvShop\t= shopdict.translate(inputidx1, input1, outputidx);\r\n\t\t\t\r\n\t\t\tif (!csvShop.isEmpty()) {\r\n\t\t\t\r\n\t\t\t\t// 02: if the shop could be translated, lets translate a given PDDL object (item) in that shop\r\n\t\t\t\tint[] inputidx2\t= {0, 1};\r\n\t\t\t\tString[] input2\t= {action.elementAt(1), csvShop};\t\t// <--- ITT KELL ATIRNI!!! elementAt(???)\r\n\t\t\t\toutputidx\t\t= 2;\r\n\t\t\t\t\r\n\t\t\t\tString csvProd\t= proddict.translate(inputidx2, input2, outputidx);\r\n\t\t\t\t\r\n\t\t\t\tif (!csvProd.isEmpty()) {\r\n\t\t\t\t\r\n\t\t\t\t\t// 03: if the product in the shop could be interpreted, lets find the URL to put it into the cart!\r\n\t\t\t\t\tint[] inputidx3\t= {0, 2};\r\n\t\t\t\t\tString[] input3\t= {csvShop, csvProd};\r\n\t\t\t\t\toutputidx\t\t= 8;\r\n\t\t\t\t\t\r\n\t\t\t\t\turl = data.translate(inputidx3, input3, outputidx);\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} // <--- IDE KELL MEG TOVABBI ELSE-IF AGAKAT ILLESZTENI, HA A FENTI KET PDDL-CSELEKVESEN TUL MAS IS VAN MEG!!\r\n\t\r\n\t} catch (Exception e) {\r\n\t\t\r\n\t\te.printStackTrace();\r\n\t\t\r\n\t}\r\n\r\n\treturn url;\r\n\t\r\n}", "title": "" }, { "docid": "2449d1d8e8a3a5464e58f4de287d7f74", "score": "0.56074595", "text": "public abstract void doActions(Parameters parameters);", "title": "" }, { "docid": "b3a8dfb9c86e49de90ecb246beaeaba7", "score": "0.56043535", "text": "ActionSequence createActionSequence();", "title": "" }, { "docid": "1f61cfd4e0f970fbb091b079d9e31695", "score": "0.55916977", "text": "public void act() \r\n {\n }", "title": "" }, { "docid": "1f61cfd4e0f970fbb091b079d9e31695", "score": "0.55916977", "text": "public void act() \r\n {\n }", "title": "" }, { "docid": "6eed5750b44083b3f3aa41fbe90e2162", "score": "0.5591048", "text": "public void performActions();", "title": "" }, { "docid": "e7cc9f3f950947b49a655433e0a15184", "score": "0.5590322", "text": "public static int actions(String str)\n {\n if (str.equalsIgnoreCase(\"Shop\") || str.equalsIgnoreCase(\"S\"))\n {\n return 0;\n }\n else if (str.equalsIgnoreCase(\"Fight\") || str.equalsIgnoreCase(\"F\"))\n {\n return 1;\n }\n else if (str.equalsIgnoreCase(\"Rest\") || str.equalsIgnoreCase(\"R\"))\n {\n return 2;\n }\n else if (str.equalsIgnoreCase(\"Gamble\") || str.equalsIgnoreCase(\"G\"))\n {\n return 3;\n }\n else if (str.equalsIgnoreCase(\"Account\") || str.equalsIgnoreCase(\"A\"))\n {\n return 4;\n }\n else if (str.equalsIgnoreCase(\"Museum\") || str.equalsIgnoreCase(\"M\"))\n {\n return 5;\n }\n else if (str.equalsIgnoreCase(\"Quest\") || str.equalsIgnoreCase(\"Q\"))\n {\n return 6;\n }\n else if (str.equalsIgnoreCase(\"SumbitScore\") || str.equalsIgnoreCase(\"submit\") || str.equalsIgnoreCase(\"submit score\") || str.equalsIgnoreCase(\"SS\")) \n {\n return 7;\n }\n else \n {\n return 8;\n }\n }", "title": "" }, { "docid": "ddaddc5a036c5da235f3026e47bd63ad", "score": "0.5589268", "text": "public abstract void doAction(Action action) throws Exception;", "title": "" }, { "docid": "5b807ee22730d45241f4d73fd44963c6", "score": "0.5587778", "text": "public final java_cup.runtime.Symbol CUP$Sintax$do_action(\r\n int CUP$Sintax$act_num,\r\n java_cup.runtime.lr_parser CUP$Sintax$parser,\r\n java.util.Stack CUP$Sintax$stack,\r\n int CUP$Sintax$top)\r\n throws java.lang.Exception\r\n {\r\n /* Symbol object for return from actions */\r\n java_cup.runtime.Symbol CUP$Sintax$result;\r\n\r\n /* select the action based on the action number */\r\n switch (CUP$Sintax$act_num)\r\n {\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 40: // EXPRESSAO ::= AbreParentese E EXPRESSAO E FechaParentese \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-4)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 39: // EXPRESSAO ::= OpUnario E EXPRESSAO \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-2)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 38: // EXPRESSAO ::= New E TipoPrimitivo E AbreCochete E EXPRESSAO E FechaCochete \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-8)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 37: // EXPRESSAO ::= False \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 36: // EXPRESSAO ::= True \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 35: // EXPRESSAO ::= ConstString \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 34: // EXPRESSAO ::= ConstReal \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 33: // EXPRESSAO ::= ConstInteira \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 32: // EXPRESSAO ::= ID E AbreParentese E EXPRESSAO E FechaParentese \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-6)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 31: // EXPRESSAO ::= ID E AbreCochete E FechaCochete \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-4)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 30: // EXPRESSAO ::= ID E \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-1)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 29: // EXPRESSAO ::= Digito E Op E Digito \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"EXPRESSAO\",19, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-4)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 28: // CMDFUNC ::= ID E AbreParentese E EXPRESSAO E FechaParentese \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDFUNC\",18, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-6)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 27: // CMDATRIB ::= ID E AbreCochete E EXPRESSAO E FechaCochete E Igual E EXPRESSAO \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDATRIB\",17, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-10)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 26: // CMDATRIB ::= ID E Igual E EXPRESSAO E PontoVirgula \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDATRIB\",17, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-6)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 25: // CMDPRINTLN ::= Println E AbreParentese E EXPRESSAO E FechaParentese E PontoVirgula \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDPRINTLN\",16, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-8)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 24: // CMDPRINT ::= Print E AbreParentese E EXPRESSAO E FechaParentese E PontoVirgula \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDPRINT\",15, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-8)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 23: // CMDWHILE ::= While E AbreParentese E EXPRESSAO E FechaParentese \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDWHILE\",14, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-6)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 22: // CMDIF ::= If AbreParentese E EXPRESSAO E FechaParentese E CMD E Else E CMD \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDIF\",13, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-11)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 21: // CMDIF ::= If E AbreParentese E EXPRESSAO E FechaParentese E CMD \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMDIF\",13, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-8)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 20: // CMD ::= CMDFUNC \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMD\",12, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 19: // CMD ::= CMDATRIB \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMD\",12, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 18: // CMD ::= CMDPRINTLN \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMD\",12, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 17: // CMD ::= CMDPRINT \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMD\",12, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 16: // CMD ::= CMDWHILE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMD\",12, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 15: // CMD ::= CMDIF \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CMD\",12, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 14: // TIPO ::= TipoPrimitivo \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"TIPO\",10, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 13: // TIPO ::= TipoPrimitivo AbreCochete E FechaCochete \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"TIPO\",10, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-3)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 12: // SENTENCA ::= DECLARACAOVAR E LISTACMD \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"SENTENCA\",9, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-2)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 11: // MAIN ::= Public E Static E Void E Main E AbreParentese E FechaParentese E AbreChave E DECLARACAOVAR E CMD E FechaChave \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"MAIN\",8, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-18)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 10: // MAIN ::= Public E Static E Void E Main E AbreParentese E FechaParentese E AbreChave E FechaChave \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"MAIN\",8, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-14)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 9: // RETORNO ::= Retorno E ID E PontoVirgula \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"RETORNO\",7, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-4)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 8: // PARAM ::= TIPO E ID \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"PARAM\",6, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-2)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 7: // LISTAPARAM ::= PARAM \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"LISTAPARAM\",5, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 6: // METODO ::= TIPO E ID E AbreParentese E LISTAPARAM E FechaParentese E AbreChave E DECLARACAOVAR E CMD E FechaChave \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"METODO\",4, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-16)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 5: // LISTAMETODO ::= METODO \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"LISTAMETODO\",3, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 4: // DECLARACAOVAR ::= TIPO E ID PontoVirgula \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"DECLARACAOVAR\",2, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-3)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 3: // CLASSE ::= Public E Class E ID E AbreChave E MAIN E FechaChave \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CLASSE\",1, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-10)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 2: // CLASSE ::= Public E Class E ID E AbreChave E METODO E MAIN E FechaChave \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"CLASSE\",1, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-12)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 1: // PROGRAMA ::= CLASSE \r\n {\r\n Object RESULT =null;\r\n\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"PROGRAMA\",0, ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n return CUP$Sintax$result;\r\n\r\n /*. . . . . . . . . . . . . . . . . . . .*/\r\n case 0: // $START ::= PROGRAMA EOF \r\n {\r\n Object RESULT =null;\r\n\t\tint start_valleft = ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-1)).left;\n\t\tint start_valright = ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-1)).right;\n\t\tObject start_val = (Object)((java_cup.runtime.Symbol) CUP$Sintax$stack.elementAt(CUP$Sintax$top-1)).value;\n\t\tRESULT = start_val;\r\n CUP$Sintax$result = parser.getSymbolFactory().newSymbol(\"$START\",0, ((java_cup.runtime.Symbol)CUP$Sintax$stack.elementAt(CUP$Sintax$top-1)), ((java_cup.runtime.Symbol)CUP$Sintax$stack.peek()), RESULT);\r\n }\r\n /* ACCEPT */\r\n CUP$Sintax$parser.done_parsing();\r\n return CUP$Sintax$result;\r\n\r\n /* . . . . . .*/\r\n default:\r\n throw new Exception(\r\n \"Invalid action number found in internal parse table\");\r\n\r\n }\r\n }", "title": "" }, { "docid": "f1f857ac8d5db7993b35eec342df8e47", "score": "0.55804044", "text": "MainAction(String action) {\n\t\tthis.setAction(action);\n\t}", "title": "" }, { "docid": "5fba4723b8110018162558419017509f", "score": "0.5579831", "text": "public static void performAction(String action) throws IllegalArgumentException {\n // TODO: Implement this method.\n\t\tString true_action=action.toLowerCase();\n\t\tString[] strlist=action.split(\" \");\n\t\tif(true_action.equals(\"help\")){\n\t\t\tMazeGame.printHelp();\n\t\t}else if(true_action.equals(\"board\")){\n\t\t\tMazeGame.printBoard();\n\t\t}else if(true_action.equals(\"status\")){\n\t\t\tMazeGame.printStatus();\n\t\t}else if(true_action.equals(\"left\")){\n\t\t\tMazeGame.moveTo(x_position-1,y_position);\n\t\t}else if(true_action.equals(\"right\")){\n\t\t\tMazeGame.moveTo(x_position+1,y_position);\n\t\t}else if(true_action.equals(\"up\")){\n\t\t\tMazeGame.moveTo(x_position,y_position-1);\n\t\t}else if(true_action.equals(\"down\")){\n\t\t\tMazeGame.moveTo(x_position,y_position+1);\n\t\t}else if(true_action.startsWith(\"save\")&&strlist.length==2){\n\t\t\tString[] command=action.split(\" \");\n\t\t\tif(command.length==2){\n\t\t\ttry{\n\t\t\t\tMazeGame.saveGame(command[1]);\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.printf(\"Error: Could not save the current game configuration to '%s'.\\n\", command[1]);\n\t\t\t}\n\t\t}\n\t\t}else{\n\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t}", "title": "" }, { "docid": "7c1cdc264ca8be3f858f374189fdbc83", "score": "0.55787885", "text": "public void act()\n {\n }", "title": "" }, { "docid": "7c1cdc264ca8be3f858f374189fdbc83", "score": "0.55787885", "text": "public void act()\n {\n }", "title": "" }, { "docid": "dacf65bffc00021ef22274b1773b0512", "score": "0.5577023", "text": "public interface ActionPerformer {\n /**\n * Perform the action MOVE.\n * @param position the Position of the Bacteria of which perform the action\n * @param bacterium the Bacteria of which perform the action\n * @param direction the direction in which the bacteria should move\n * @param distance the maximum distance the bacteria should move of\n * @param isSafe representing whether this action is executed on a Bacteria in a safe position\n * @param cost the cost of the action\n */\n void move(Position position, Bacteria bacterium, Direction direction, double distance, boolean isSafe, Energy cost);\n\n /**\n * Perform the action EAT on the food in given position.\n * @param position the Position of the Bacteria of which perform the action\n * @param bacterium the Bacteria of which perform the action\n * @param foodPosition the position of the food to eat.\n * @param isSafe representing whether this action is executed on a Bacteria in a safe position\n * @param cost the cost of the action\n */\n void eat(Position position, Bacteria bacterium, Optional<Position> foodPosition, boolean isSafe, Energy cost);\n\n /**\n * @param position the Position of the Bacteria of which perform the action\n * @param bacterium the Bacteria of which perform the action\n * @param isSafe representing whether this action is executed on a Bacteria in a safe position\n * @param cost the cost of the action\n */\n void replicate(Position position, Bacteria bacterium, boolean isSafe, Energy cost);\n\n /**\n * @param position the Position of the Bacteria of which perform the action\n * @param bacterium the Bacteria of which perform the action\n * @param isSafe representing whether this action is executed on a Bacteria in a safe position\n * @param cost the cost of the action\n */\n void doNothing(Position position, Bacteria bacterium, boolean isSafe, Energy cost);\n}", "title": "" }, { "docid": "978ab60ad68a6a2b629f2350fcb7b972", "score": "0.5573467", "text": "public abstract void act();", "title": "" }, { "docid": "71962f1f4532a97bcfae4b6f862ecb2d", "score": "0.5572957", "text": "@Override\r\n\tpublic void action(MonsterCard monster) {\n\t\t\r\n\t}", "title": "" }, { "docid": "6ed9542aaa932393f72777b76925aaaf", "score": "0.55711174", "text": "public abstract void action( int id );", "title": "" } ]
5cb371d9a2987950e2f76744611463c1
/ renamed from: d
[ { "docid": "a8824d9defdb98cc5863734975a6df1e", "score": "0.0", "text": "public C0980m<PointF, PointF> m17095d() {\n return this.f14131b;\n }", "title": "" } ]
[ { "docid": "b07051eb10080451d078bc7b2a62e80d", "score": "0.68328893", "text": "public void d() {\n }", "title": "" }, { "docid": "9bcb8d0d974e56ae666bd224167c844d", "score": "0.63246554", "text": "Dyr() {}", "title": "" }, { "docid": "84b39d7a4eb4eef71b6e172c26fbe62e", "score": "0.5936858", "text": "@Override\n\t\tpublic String toString()\n\t\t{\n\t\t\treturn \"D\";\n\t\t}", "title": "" }, { "docid": "1a74cecd45e874835332568e7810b03e", "score": "0.59360427", "text": "D() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "d1260282adeb010aeac260d69dea90f1", "score": "0.5908417", "text": "public int d()\r\n/* 50: */ {\r\n/* 51:65 */ return this.d;\r\n/* 52: */ }", "title": "" }, { "docid": "f934033d91243453020a4b9512ee2e27", "score": "0.58610594", "text": "public abstract void mo3929a(C0457d<T> dVar);", "title": "" }, { "docid": "67866277cf6be4db8d7b7068da370cc0", "score": "0.58548045", "text": "public double getD(){ return d; }", "title": "" }, { "docid": "67aabdb5afd5edddc3c22e940b78f240", "score": "0.5799326", "text": "D createD();", "title": "" }, { "docid": "d47375bfbc3ed28fbc2c0c0d7af9cf31", "score": "0.5706964", "text": "public void drow();", "title": "" }, { "docid": "bbe0f2d6868a8228e3d2fa8443cfee4d", "score": "0.5613993", "text": "long getD();", "title": "" }, { "docid": "9a8fd1b6875a22d3623c64de9c83f460", "score": "0.5605659", "text": "public String getD() {\n return d;\n }", "title": "" }, { "docid": "1bf0171f8f93160a248e5c92f6449fd1", "score": "0.55569625", "text": "cl.sii.siiDte.FolioType xgetD();", "title": "" }, { "docid": "30c84374ef374e3e21c1375175cf98c6", "score": "0.55509275", "text": "D getData();", "title": "" }, { "docid": "0ff99f994041dbf08e927c316a8c9354", "score": "0.55452234", "text": "protected void a(dh paramdh)\n/* */ {\n/* 229 */ paramdh.a(\"EntryDoor\", this.d.name());\n/* */ }", "title": "" }, { "docid": "a731dea12ff5191218cac0d658c7469e", "score": "0.55341876", "text": "public abstract int d(T t);", "title": "" }, { "docid": "db1c3577b25072f43559287fc0fed7ef", "score": "0.55325073", "text": "public String i() {\n/* 216 */ return this.d;\n/* */ }", "title": "" }, { "docid": "0b0df6bbabe6d8885ee3193376d27aec", "score": "0.5530458", "text": "@Override\n public String getType() {\n return \"D\";\n }", "title": "" }, { "docid": "dff3ca9c9d075637d67fedf46ff57ade", "score": "0.55295783", "text": "void mo37616d();", "title": "" }, { "docid": "e400de41e8c86507f8e6b2c848ed7107", "score": "0.5514989", "text": "public int d()\r\n/* 48: */ {\r\n/* 49:47 */ return this.k;\r\n/* 50: */ }", "title": "" }, { "docid": "302953b811b0ee4894e074e6e5b361af", "score": "0.5500387", "text": "public void D() {\n\t\n}", "title": "" }, { "docid": "e05c4c6a6708a6a4c8b6c5f3323d4a2b", "score": "0.54962265", "text": "public void foo(short s, D d, double df) {System.out.println(\"D foo(short, D, double)\");}", "title": "" }, { "docid": "5cf1170ba8fb525037a7b976e6afb2f2", "score": "0.5495278", "text": "public interface C1609a {\n /* renamed from: d */\n String mo4646d();\n }", "title": "" }, { "docid": "3e339c4d62ee056a326e835392f4d02e", "score": "0.54734653", "text": "public int d() {\n return 15;\n }", "title": "" }, { "docid": "73d09b5b6d5c3f2e6ff22bcd3117647c", "score": "0.54585236", "text": "public void mo131098a(double d) {\n SinkDefaults.m149818a(this, d);\n }", "title": "" }, { "docid": "6d4f3c12dfe960f5987fd602c0be8653", "score": "0.54312766", "text": "protected int d()\r\n/* 53: */ {\r\n/* 54:161 */ return super.d() + 15;\r\n/* 55: */ }", "title": "" }, { "docid": "b7f697ca25133ee465fd8632dff88044", "score": "0.5425816", "text": "public static /* synthetic */ void m149651b(double d) {\n }", "title": "" }, { "docid": "dc4bd43f06aeb75299192d20d270e664", "score": "0.5414531", "text": "public int getD() {\n return this.d;\n }", "title": "" }, { "docid": "738ac8f5687e920efea89a0d6e5ef5ed", "score": "0.5412338", "text": "public int d(int i) {\n return 0;\n }", "title": "" }, { "docid": "9b632b606c4aea3541981e33cec7661c", "score": "0.53969777", "text": "public void ParseDS();", "title": "" }, { "docid": "37057a80150e84600aea5a5284e8dadf", "score": "0.53887135", "text": "void mo85592d();", "title": "" }, { "docid": "30665da606e4c953e840a5e4c0b8591f", "score": "0.53776157", "text": "public void a() {\n this.f1854b = f.a(this.g);\n d dVar = new d(this);\n this.f1854b.a(l.f1872a, (f.c) dVar);\n this.f1854b.a(l.f1873b, (f.c) dVar);\n }", "title": "" }, { "docid": "4de014e0ee1b9bc76c930f37289e095b", "score": "0.5374651", "text": "public final defpackage.dva d() {\n return this.a;\n }", "title": "" }, { "docid": "0d041905eff557807d5ddbe52c7bf505", "score": "0.5343313", "text": "public DottedRule(Symbol in, ArrayList<Symbol> out, int d) {\n\tsuper(in,out);\n\tdot = d;\n }", "title": "" }, { "docid": "caa0a696a9cd1db45b128557e165e42e", "score": "0.53417933", "text": "public final void zzjD() {\n }", "title": "" }, { "docid": "caa0a696a9cd1db45b128557e165e42e", "score": "0.53417933", "text": "public final void zzjD() {\n }", "title": "" }, { "docid": "ecd9e614b61145d974d334050143dd80", "score": "0.53407", "text": "public NodoListaDoble (int d, NodoListaDoble s, NodoListaDoble a){\n dato=d;\n siguiente= s;\n anterior = a;\n }", "title": "" }, { "docid": "3ea09a8295beedf7000356a157394666", "score": "0.53362185", "text": "void d(String message);", "title": "" }, { "docid": "ce75dccadb49eb778a3e31a2c26bc4a2", "score": "0.53275734", "text": "public interface C32490b {\n /* renamed from: ds */\n void mo21687ds(String str);\n }", "title": "" }, { "docid": "5ad31bace57b5deaaf88d8f77410a6ee", "score": "0.5316886", "text": "void setD(long d);", "title": "" }, { "docid": "405279bfd4a945e8cc61333180081ec4", "score": "0.5316513", "text": "public NodoListaDoble(int d){\n this(d, null,null);\n }", "title": "" }, { "docid": "a3d0fe0d63245f1bf38fef6636a8f1cf", "score": "0.53113675", "text": "@Override\n\tpublic void adim4() {\n\n\t}", "title": "" }, { "docid": "301e3837b917884eb258744aa2730687", "score": "0.53075486", "text": "public abstract void mo44676a(double d) throws IOException;", "title": "" }, { "docid": "cea937af717556de98a27227cdeac469", "score": "0.5303691", "text": "void mo40750d();", "title": "" }, { "docid": "6a450cabd0c7f2174d88253221e2a0e0", "score": "0.5298159", "text": "protected abstract void mo4022e(C2918d<T> c2918d);", "title": "" }, { "docid": "dc9da009da526d6e1f00610233364942", "score": "0.52948356", "text": "public final void mo28152d() {\n }", "title": "" }, { "docid": "ff67610480f41f89a659d6f08ba9f5f7", "score": "0.52911395", "text": "cl.nic.siiDte.TedBarcodeDocument.TedBarcode.TED.DD getDD();", "title": "" }, { "docid": "63ec20edda856db27ed7726355223860", "score": "0.52888155", "text": "void rotateArrayByDMethod1(int array[], int d) \n\t{\n\t\tint temp[] = new int[d];\n\t\tfor(int j = 0 ; j < d ; j ++) {\n\t\t\ttemp[j] = array[j]; \n\t\t}\n\t\tfor( int i = d ; i < array.length ; i ++) {\n\t\t\tarray [i - d] = array[i];\n\t\t}\n\t\tfor(int j = 0 ; j < d ; j ++) {\n\t\t\tarray[array.length - d + j] = temp[j] ;\n\t\t}\n\t\tfor( int i = 0 ; i < array.length ; i ++) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}", "title": "" }, { "docid": "576aa588e28f9bfee3c547bfd02c8434", "score": "0.528763", "text": "void mo15311b(String str, double d);", "title": "" }, { "docid": "a1534bb0635fb4829a2fc32936d9484e", "score": "0.52839726", "text": "public DeusEx4(){\n\t\t\n\t}", "title": "" }, { "docid": "15aa49b80117c1751efd23f6a7351818", "score": "0.52616036", "text": "@Override\n\tpublic void visit_dsub(final InsnNode i) {\n\n\t}", "title": "" }, { "docid": "8a943c7eb6ecab7b9820ca0baa1d60dc", "score": "0.526086", "text": "@Override\n\tvoid dibujar() {\n\n\t}", "title": "" }, { "docid": "b398eca40705ae7789fe009bfae79e4a", "score": "0.5234004", "text": "protected abstract void mo4021a(C2918d<T> c2918d);", "title": "" }, { "docid": "a8bd30e153c0994c443f6cd000817baa", "score": "0.52332735", "text": "public boolean d()\r\n/* 109: */ {\r\n/* 110:138 */ return false;\r\n/* 111: */ }", "title": "" }, { "docid": "438f3836a2c0e1e133af62df9dd50e47", "score": "0.5227817", "text": "public static void drive(double d, double e) {\n\n\t}", "title": "" }, { "docid": "3a0c564399908bf557994aca63e5a80d", "score": "0.5227794", "text": "void xsetD(cl.sii.siiDte.FolioType d);", "title": "" }, { "docid": "2e314b6494ddce8ca925bb46900493ff", "score": "0.5227635", "text": "public int d() {\n return this.f11988a;\n }", "title": "" }, { "docid": "0b9c0f30ac16c27b08be61ca8be4a356", "score": "0.5220037", "text": "public void setD(Point d) {\r\n\t\tthis.d = d;\r\n\t}", "title": "" }, { "docid": "5b0e298cbdbdfc3fe91c8704820e2b36", "score": "0.5212561", "text": "private boolean d(World paramaqu, BlockPosition paramdt)\r\n/* 67: */ {\r\n/* 68: 76 */ return !paramaqu.isEmpty(paramdt.down());\r\n/* 69: */ }", "title": "" }, { "docid": "1c66aa2c528643c4df3b7cb464f33062", "score": "0.52076244", "text": "public abstract void inDS();", "title": "" }, { "docid": "cfe9436f69f63a176960d290665c878e", "score": "0.5204497", "text": "void d(String message, Object... args);", "title": "" }, { "docid": "49a748b319fed8dbe6346ee6ce2372a5", "score": "0.51901335", "text": "public static long nextD(long d) {\n\t\t// TODO\n\t\treturn (d + 1) % 4;\n\t}", "title": "" }, { "docid": "c548b9a664a55dc74028b1bf997c9fcd", "score": "0.517304", "text": "void mo40679c();", "title": "" }, { "docid": "9b2ac7cd824ce9185f1debe030589b52", "score": "0.5168694", "text": "public DTRuteo(DTNodo d)\r\n\t{\r\n\t\tthis.deposito=d;\r\n\t\tthis.ruta=new ArrayList<DTNodo>();\r\n\t\tcosto=0;\r\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.51680565", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "584c34c705a629df492be0fa1aec259d", "score": "0.516649", "text": "@Override\r\n\tprotected String dob() {\n\t\treturn \"A\";\r\n\t}", "title": "" }, { "docid": "03a8e43bd34015a82b6c803265b49da5", "score": "0.5157625", "text": "C20675b mo38947d();", "title": "" }, { "docid": "06899b50a8eed3755e08d8145c810f4a", "score": "0.51488537", "text": "public Point getD() {\r\n\t\treturn d;\r\n\t}", "title": "" }, { "docid": "38755926683ae1c9b9eb28ca1455e2d5", "score": "0.51475644", "text": "public a<vc<?>> d() {\n return this.e;\n }", "title": "" }, { "docid": "8d370a9943b8e2259c9e3e0d231de95d", "score": "0.5143785", "text": "public abstract void dibujar();", "title": "" }, { "docid": "05c6884e59e2084b52451081adfe2f8d", "score": "0.5142079", "text": "@ReflectiveMethod(name = \"d\", types = {})\n public void d(){\n NMSWrapper.getInstance().exec(nmsObject);\n }", "title": "" }, { "docid": "0aa72fb318d1d9a00b41aee73d0809d0", "score": "0.51390404", "text": "@Override\r\n\tpublic void setDurchmesser(int d) {\n\r\n\t}", "title": "" }, { "docid": "f4e7b02500dd7884504dbeb72c77d5f7", "score": "0.51296", "text": "public abstract long mo37827d();", "title": "" }, { "docid": "6bcf12d2314a8d24631ca04e0cfc87fc", "score": "0.5118276", "text": "@IdRes\n public abstract int d();", "title": "" }, { "docid": "bd62476b6619fc4b20c0383fc5c185c4", "score": "0.5111299", "text": "public void mo1526d() {\n super.mo1526d();\n }", "title": "" }, { "docid": "c72eb03837a276046a64fbc36fffbc61", "score": "0.5110793", "text": "@Override\n\tpublic void visit_d2l(final InsnNode i) {\n\n\t}", "title": "" }, { "docid": "7481220cbcd942b5094ce5e8008157bc", "score": "0.5105823", "text": "public abstract double doegnDosis();", "title": "" }, { "docid": "dbdf14cdc1bf1abaf5b8eafe2a00ab67", "score": "0.51046365", "text": "public final void mo19777a(double d) throws IOException {\n mo19805c(Double.doubleToRawLongBits(d));\n }", "title": "" }, { "docid": "704e751eb1cfd600b4b1b05f0a7aa108", "score": "0.51004493", "text": "void d(String tag, String msg);", "title": "" }, { "docid": "d0efad85c5de389d6df95c6c04087064", "score": "0.50975645", "text": "void dichuyen() {\n\t\t\n\t}", "title": "" }, { "docid": "d1aa40102c1ef7bf363ee2135e479dcd", "score": "0.5095457", "text": "public abstract defpackage.dri c();", "title": "" }, { "docid": "087e5177559b2add1ea0a00947b76ad2", "score": "0.5088351", "text": "static void show(){\n\t\tclass D{\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "e82187ee6eb24b6d91598aace27b59c0", "score": "0.5085944", "text": "@Override\n\tpublic void visit_dadd(final InsnNode i) {\n\n\t}", "title": "" }, { "docid": "9cfda543baf97441f63b78c6e1f5fd03", "score": "0.5084463", "text": "public Printgjd() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.5081935", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0d5003c9f3b4a42a46e02e4fb24a2695", "score": "0.5075451", "text": "public final void mo65875d() {\n }", "title": "" }, { "docid": "0997dffd2143f3491cfe4e67384141a4", "score": "0.5072259", "text": "public java.lang.String getDname () {\n\t\treturn dname;\n\t}", "title": "" }, { "docid": "ed85535adcec3ad77fb97076c05e2104", "score": "0.5069762", "text": "protected void alterDistance(double d)\n {\n distance += d;\n }", "title": "" }, { "docid": "597f8817c207aff38a6124f9ff7b51ce", "score": "0.5066073", "text": "@Override\n\tpublic void visit_dstore(final InsnNode i) {\n\n\t}", "title": "" }, { "docid": "05469be989df4432576d5aaa0bd4de55", "score": "0.50569564", "text": "double y(double d) {\n\t\treturn (d*d-d+0.25)*4;\r\n\t}", "title": "" }, { "docid": "ddd3c8b85282036621fadeb111748515", "score": "0.5053868", "text": "@Override\n\tpublic void visit_ddiv(final InsnNode i) {\n\n\t}", "title": "" }, { "docid": "3a738193b0b7c441db31c173b0a57811", "score": "0.5053501", "text": "E toEntity(D d);", "title": "" }, { "docid": "6bee4a92c2528f08a706a91737fa8375", "score": "0.5044397", "text": "DGraph getDGraph();", "title": "" }, { "docid": "f508eb795c63e31daa7b751cd6d772ae", "score": "0.5043178", "text": "public void setVertices(double d) {\n\t\t// nothing here.\n\t}", "title": "" }, { "docid": "8721e4563ad4b3196b893ef091cd62b7", "score": "0.504139", "text": "static C4883a<Double> m21224a(String str, double d, double d2) {\n C4883a<Double> aVar = new C4883a<>(str, Double.valueOf(-3.0d), Double.valueOf(-3.0d));\n C4882h.f15908f.add(aVar);\n return aVar;\n }", "title": "" }, { "docid": "b4ec9a0ac5d6185c51dbd94763cf4e82", "score": "0.5037782", "text": "public abstract void mo79a(jda jda);", "title": "" }, { "docid": "d75f14d94eb09f6f1776e85355d3c954", "score": "0.5037628", "text": "void mo15303a(double d, double d2, String str);", "title": "" }, { "docid": "00ea652063e4bb0cef8bf718dcf71f5e", "score": "0.50318956", "text": "protected abstract int mo4139a(C2952d c2952d);", "title": "" }, { "docid": "d706cd495f18a6ebb7316c613ad6204d", "score": "0.5027348", "text": "ddFactory getddFactory();", "title": "" }, { "docid": "00362412fd3893544c7577233392d623", "score": "0.5020378", "text": "default void m4 (){}", "title": "" }, { "docid": "adfd00eecf2c8b99b4896e3273b957f9", "score": "0.50186574", "text": "public abstract int d(long j2, int i2);", "title": "" }, { "docid": "49277c0b35a0cb70a846ff18c76a3603", "score": "0.50184596", "text": "public QNode(D d){\n\t\tdata = d;\n\t\tnext = null;\n\t}", "title": "" } ]
51474fffb69526a568b6b03a2474f686
Sets (as xml) the "Code" element
[ { "docid": "ad8b18cdc399fe1534fc0b998aa0a863", "score": "0.7688749", "text": "void xsetCode(org.apache.xmlbeans.XmlString code);", "title": "" } ]
[ { "docid": "53726738b6e5c0ccc40ce8978e399e6f", "score": "0.7690396", "text": "void setCode(String code);", "title": "" }, { "docid": "d86c21df4f8fb2c2914c639480bbe335", "score": "0.76581854", "text": "void setCode(java.lang.String code);", "title": "" }, { "docid": "027fd13e0b3bad47d3b64ddef4a3e9cb", "score": "0.75359774", "text": "void xsetCode(org.apache.xmlbeans.XmlInt code);", "title": "" }, { "docid": "d68d8ef90ccbda477595fc4bee1fdb33", "score": "0.75126916", "text": "public void setCode(String value) {\n setAttributeInternal(CODE, value);\n }", "title": "" }, { "docid": "25da5feaa28f91d6b23f1d015d35495b", "score": "0.73776996", "text": "public void setCode(java.lang.String code) { \n this.code = code; \n }", "title": "" }, { "docid": "b4dd6e92a51f93caecaf993651ca513a", "score": "0.7342319", "text": "public void setCode( String code ) {\n this.code = code ;\n }", "title": "" }, { "docid": "27dc2d19fe8cc34a1de5fc5ba261a43c", "score": "0.7311289", "text": "public void setCode(String code) {\n this.code = code;\n }", "title": "" }, { "docid": "7a202787c608d020ae3026c691e9b966", "score": "0.729629", "text": "void setCode(int code);", "title": "" }, { "docid": "f4dcbda52f07a2d4ccccd594affc7bd5", "score": "0.7258364", "text": "public void setCode(String code) {\r\n this.code = code;\r\n }", "title": "" }, { "docid": "f4dcbda52f07a2d4ccccd594affc7bd5", "score": "0.7258364", "text": "public void setCode(String code) {\r\n this.code = code;\r\n }", "title": "" }, { "docid": "f4dcbda52f07a2d4ccccd594affc7bd5", "score": "0.7258364", "text": "public void setCode(String code) {\r\n this.code = code;\r\n }", "title": "" }, { "docid": "f4dcbda52f07a2d4ccccd594affc7bd5", "score": "0.7258364", "text": "public void setCode(String code) {\r\n this.code = code;\r\n }", "title": "" }, { "docid": "51de63ef5c3d45957b851bcfe882517c", "score": "0.7233499", "text": "@Override\n\tpublic void setCode(java.lang.String code) {\n\t\t_esfDocument.setCode(code);\n\t}", "title": "" }, { "docid": "9817dbc9ec2bb53581b2f8b722441da1", "score": "0.72288984", "text": "public void setCode( String code ) {\n this.code = code;\n }", "title": "" }, { "docid": "7586b420a030642c6376cf80a87dfa97", "score": "0.71683365", "text": "public void setCode(String code) {\n this.code = code;\n }", "title": "" }, { "docid": "7586b420a030642c6376cf80a87dfa97", "score": "0.71683365", "text": "public void setCode(String code) {\n this.code = code;\n }", "title": "" }, { "docid": "7586b420a030642c6376cf80a87dfa97", "score": "0.71683365", "text": "public void setCode(String code) {\n this.code = code;\n }", "title": "" }, { "docid": "7586b420a030642c6376cf80a87dfa97", "score": "0.71683365", "text": "public void setCode(String code) {\n this.code = code;\n }", "title": "" }, { "docid": "8164c196f5e9f9eb1fdc3b520595a27c", "score": "0.7140029", "text": "public Builder setCode(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b4e06bae9bec2e8f7019ba404ea71e29", "score": "0.71061957", "text": "public void setCode(String code) {\r\n setCode(code, true);\r\n }", "title": "" }, { "docid": "94c0edb95a1942d82fc25ed314ebbde8", "score": "0.7103403", "text": "public Builder setCode(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "94c0edb95a1942d82fc25ed314ebbde8", "score": "0.7103403", "text": "public Builder setCode(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f90fa2048ac15c4fb253146f5266fe16", "score": "0.708896", "text": "private void setCode(int value) {\n \n code_ = value;\n }", "title": "" }, { "docid": "ce8d691a39abf1aab78537d653c7811d", "score": "0.7088081", "text": "public Builder setCode(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ce8d691a39abf1aab78537d653c7811d", "score": "0.7088081", "text": "public Builder setCode(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f2ecf0a6b2fe0aaf36815857a1ad88fb", "score": "0.70743036", "text": "public void setCode(String code) {\r\n\t\tthis.code = code;\r\n\t}", "title": "" }, { "docid": "f2ecf0a6b2fe0aaf36815857a1ad88fb", "score": "0.70743036", "text": "public void setCode(String code) {\r\n\t\tthis.code = code;\r\n\t}", "title": "" }, { "docid": "24dc19f41e7e91ada62cf0ef849c3642", "score": "0.70418346", "text": "public void setCode(final String code) {\r\n this.code = code;\r\n }", "title": "" }, { "docid": "99b0691084a54a7bc60b670b83ae2932", "score": "0.70018446", "text": "public void setCode(String code) {\n\t\tthis.code = code;\n\t}", "title": "" }, { "docid": "99b0691084a54a7bc60b670b83ae2932", "score": "0.70018446", "text": "public void setCode(String code) {\n\t\tthis.code = code;\n\t}", "title": "" }, { "docid": "890c1e752cafa1d054dbe9aaac46ad78", "score": "0.6992855", "text": "public void setCode(int value) {\n this.code = value;\n }", "title": "" }, { "docid": "8fe5b2f623d7fdb06dc44abc4f6d08d2", "score": "0.6973583", "text": "public void setCode (java.lang.String code) {\r\n\t\tthis.code = code;\r\n\t}", "title": "" }, { "docid": "2f43c71d2f718aa84c25af4bc05e4191", "score": "0.6967527", "text": "public void setCode(int code) {\n this.code = code;\n }", "title": "" }, { "docid": "2f43c71d2f718aa84c25af4bc05e4191", "score": "0.6967527", "text": "public void setCode(int code) {\n this.code = code;\n }", "title": "" }, { "docid": "36eb7a1628ca818e1122ae9c2e2bd476", "score": "0.6957954", "text": "public void setCode(int newCode) {\n\tcode = newCode;\n}", "title": "" }, { "docid": "c8c1320d46da83d3d78fc4a36669a100", "score": "0.69511795", "text": "public void setCode(int value) {\n this.code = value;\n }", "title": "" }, { "docid": "421e4a92532b97bec0c49389420289d2", "score": "0.69445556", "text": "public void setCode(Byte code) {\n this.code = code;\n }", "title": "" }, { "docid": "b7c0770fc322c7e57de0706203e66ac2", "score": "0.6885958", "text": "public void setCode(String value) {\n set(5, value);\n }", "title": "" }, { "docid": "2cdcb91d57941670b30f0f892c5d3d95", "score": "0.6834655", "text": "public Builder setCode(int value) {\n bitField0_ |= 0x00000002;\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2cdcb91d57941670b30f0f892c5d3d95", "score": "0.6834655", "text": "public Builder setCode(int value) {\n bitField0_ |= 0x00000002;\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2cdcb91d57941670b30f0f892c5d3d95", "score": "0.6834655", "text": "public Builder setCode(int value) {\n bitField0_ |= 0x00000002;\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2cdcb91d57941670b30f0f892c5d3d95", "score": "0.6834655", "text": "public Builder setCode(int value) {\n bitField0_ |= 0x00000002;\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ce152a7e95b0e6fd122ce7a09616a9ab", "score": "0.68338764", "text": "public void setCodeValue(String value) {\n this.codeValue = value;\n }", "title": "" }, { "docid": "d39fb09fd1dd5e49ef6734804c695439", "score": "0.6798881", "text": "public void setCodeType(String codetype)\r\n {\r\n setAttribute(\"codetype\", codetype);\r\n }", "title": "" }, { "docid": "46bf74f9482ddc22a421d644348c97c3", "score": "0.6795305", "text": "public Builder setCode(int value) {\n \n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "46bf74f9482ddc22a421d644348c97c3", "score": "0.6795305", "text": "public Builder setCode(int value) {\n \n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2d29c6034399290a28ad03ad9872b207", "score": "0.6739415", "text": "public void setCode(String code) {\n\t\tthis.code = code; // this keyword refers to instance of obj\n\t}", "title": "" }, { "docid": "0fcca463c453def263c940bdfe2f9e22", "score": "0.6668043", "text": "void xsetCode(au.gov.asic.types.ActionType.Code code);", "title": "" }, { "docid": "366a5f6a95e2306a475b9d63166be753", "score": "0.6656589", "text": "public void setCode(Integer code) {\n this.code = code;\n }", "title": "" }, { "docid": "366a5f6a95e2306a475b9d63166be753", "score": "0.6656589", "text": "public void setCode(Integer code) {\n this.code = code;\n }", "title": "" }, { "docid": "366a5f6a95e2306a475b9d63166be753", "score": "0.6656589", "text": "public void setCode(Integer code) {\n this.code = code;\n }", "title": "" }, { "docid": "ba767f38284c6df2a680d6048a8f242e", "score": "0.66306704", "text": "public Builder setCodeValue(int value) {\n code_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a8d492d4ad2f966dc86cdf7b27ca83db", "score": "0.66171634", "text": "public void setCode(short value) { m_code = value; }", "title": "" }, { "docid": "fcb23093ae76f6338436a081787c506b", "score": "0.65766114", "text": "public Code() {\n this(DSL.name(\"CODE\"), null);\n }", "title": "" }, { "docid": "0a1e984124f60afa628b540a52587cf7", "score": "0.6568003", "text": "@Override\n public Node storeToXML(Document doc) {\n String code = getCodeValue();\n if (code != null) {\n Element el = doc.createElement(XML_TREE_MODEL);\n el.setAttribute(ATTR_CODE, code); \n return el;\n }\n return null;\n }", "title": "" }, { "docid": "568dc35fc4ee5e92c42a9ff73e80ac14", "score": "0.65137905", "text": "public void setCode(String code) {\n\t\tthis.code = code == null ? null : code.trim();\n\t}", "title": "" }, { "docid": "f3391881933bfa364278e4ac9eb8120f", "score": "0.6505023", "text": "public String getCode() {\r\n return code;\r\n }", "title": "" }, { "docid": "f3391881933bfa364278e4ac9eb8120f", "score": "0.6505023", "text": "public String getCode() {\r\n return code;\r\n }", "title": "" }, { "docid": "f3391881933bfa364278e4ac9eb8120f", "score": "0.6505023", "text": "public String getCode() {\r\n return code;\r\n }", "title": "" }, { "docid": "f3391881933bfa364278e4ac9eb8120f", "score": "0.6505023", "text": "public String getCode() {\r\n return code;\r\n }", "title": "" }, { "docid": "f3391881933bfa364278e4ac9eb8120f", "score": "0.6505023", "text": "public String getCode() {\r\n return code;\r\n }", "title": "" }, { "docid": "04d27727b824657bffcecbd87a797600", "score": "0.6474864", "text": "@Accessor(qualifier = \"code\", type = Accessor.Type.SETTER)\n\tpublic void setCode(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(CODE, value);\n\t}", "title": "" }, { "docid": "082509dc0c59ac429706ca948cf9696d", "score": "0.64728874", "text": "public void xsetBarCode(org.apache.xmlbeans.XmlString barCode)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(BARCODE$24, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(BARCODE$24);\n }\n target.set(barCode);\n }\n }", "title": "" }, { "docid": "e2313f0b121d1d5ee7db185423541a51", "score": "0.644641", "text": "org.apache.xmlbeans.XmlString xgetCode();", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "a667885b6cd201e93dfa02be8d149aac", "score": "0.6441826", "text": "public String getCode() {\n return code;\n }", "title": "" }, { "docid": "8bca330f4b50745bd01db41ce549867b", "score": "0.64417595", "text": "public void setBarCode(java.lang.String barCode)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BARCODE$24, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BARCODE$24);\n }\n target.setStringValue(barCode);\n }\n }", "title": "" }, { "docid": "3f06a9c1390aa494de4e1eb3298a8540", "score": "0.6440415", "text": "public String getCode(){\n return code;\n }", "title": "" }, { "docid": "66cfeb1d7b42e7d4df68434f364f66f5", "score": "0.6431258", "text": "public String getCode() {\r\n\t\treturn code;\r\n\t}", "title": "" }, { "docid": "66cfeb1d7b42e7d4df68434f364f66f5", "score": "0.6431258", "text": "public String getCode() {\r\n\t\treturn code;\r\n\t}", "title": "" }, { "docid": "66cfeb1d7b42e7d4df68434f364f66f5", "score": "0.6431258", "text": "public String getCode() {\r\n\t\treturn code;\r\n\t}", "title": "" }, { "docid": "28af892f2c3d91a1d722b0da84963ef2", "score": "0.6423338", "text": "public String getCode() {\n\treturn code;\n\t}", "title": "" }, { "docid": "ee9fb114e956f71d7d2ba118c293b16c", "score": "0.64124614", "text": "public void setLibCode(String value) {\n setAttributeInternal(LIBCODE, value);\n }", "title": "" }, { "docid": "5e6c33c7227b78d18898f3c8de8fe303", "score": "0.6403728", "text": "public void setCode(String code) {\n this.code = code == null ? null : code.trim();\n }", "title": "" }, { "docid": "5e6c33c7227b78d18898f3c8de8fe303", "score": "0.6403728", "text": "public void setCode(String code) {\n this.code = code == null ? null : code.trim();\n }", "title": "" }, { "docid": "5e6c33c7227b78d18898f3c8de8fe303", "score": "0.6403728", "text": "public void setCode(String code) {\n this.code = code == null ? null : code.trim();\n }", "title": "" }, { "docid": "5e6c33c7227b78d18898f3c8de8fe303", "score": "0.6403728", "text": "public void setCode(String code) {\n this.code = code == null ? null : code.trim();\n }", "title": "" }, { "docid": "5e6c33c7227b78d18898f3c8de8fe303", "score": "0.6403728", "text": "public void setCode(String code) {\n this.code = code == null ? null : code.trim();\n }", "title": "" }, { "docid": "47744b4d3abd29c0c6b023d6e3899688", "score": "0.6393276", "text": "public String getCode() {\n return this.code;\n }", "title": "" }, { "docid": "285b47d8aedac79dc8a4756d35298bda", "score": "0.63913935", "text": "public String getCode() {\n\treturn code;\n }", "title": "" }, { "docid": "db01288e1ff5dcdbdf7a88dc93dbe245", "score": "0.63852346", "text": "public String getCode() { return code.getValue(); }", "title": "" }, { "docid": "98b63571afdca447ec4553a84f6361d2", "score": "0.6382611", "text": "public void setCode(String code) {\r\n this.code = code == null ? null : code.trim();\r\n }", "title": "" }, { "docid": "32132bd34a90336aeb1504ff5c39a187", "score": "0.6373391", "text": "public String getCode()\n {\n return code;\n }", "title": "" }, { "docid": "67bd5331d875450fa00eee547ef42c5e", "score": "0.63687533", "text": "public Builder setCode(int value) {\n copyOnWrite();\n instance.setCode(value);\n return this;\n }", "title": "" }, { "docid": "91d477d13b2788263e740895a44d8338", "score": "0.63526446", "text": "public void setCompCode(String value) {\n setAttributeInternal(COMPCODE, value);\n }", "title": "" }, { "docid": "83d68f81e6c0d743d4ae156efe85a7f8", "score": "0.6349512", "text": "public String getCode() {\n\t\treturn code;\n\t}", "title": "" }, { "docid": "83d68f81e6c0d743d4ae156efe85a7f8", "score": "0.6349512", "text": "public String getCode() {\n\t\treturn code;\n\t}", "title": "" }, { "docid": "83d68f81e6c0d743d4ae156efe85a7f8", "score": "0.6349512", "text": "public String getCode() {\n\t\treturn code;\n\t}", "title": "" }, { "docid": "83d68f81e6c0d743d4ae156efe85a7f8", "score": "0.6349512", "text": "public String getCode() {\n\t\treturn code;\n\t}", "title": "" } ]
38e8008843d06dbcd1c10106eeae4a7b
Gets an unique name of this ticket
[ { "docid": "d4ae7d072ea8683ca072b40574346f53", "score": "0.0", "text": "public String getName() {\n return this._name;\n }", "title": "" } ]
[ { "docid": "e561d792f7a86cb7367a25e3c8a04e79", "score": "0.6951456", "text": "public java.lang.String getTicket() {\n java.lang.Object ref = ticket_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n ticket_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "315d6fafc495e3362ead08a2ae079c8c", "score": "0.69503", "text": "java.lang.String getTicket();", "title": "" }, { "docid": "38ff2db3b6ddc3a537d920878024314c", "score": "0.6914475", "text": "public java.lang.String getTicket() {\n java.lang.Object ref = ticket_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n ticket_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "d4ecc04132daa72048f6eb12b015a63c", "score": "0.6553636", "text": "public String getUniqueName() {\n\t\treturn this.getClass().getCanonicalName();\n\t}", "title": "" }, { "docid": "a7d84105095c644a6a4158167adb98d4", "score": "0.6551293", "text": "public final String getName() {\n if (this.name == null)\n {\n this.name = \"<unknown>\";\n }\n return this.name.replaceAll(\" \", \"_\");\n }", "title": "" }, { "docid": "c45958eb666b3320386bb60b0c80b01f", "score": "0.65030456", "text": "public static String getUniqueName() {\n\t\treturn Integer.toBinaryString(++UNIQUE_NAME);\n\t}", "title": "" }, { "docid": "d8de268e87916716096cd2dfea3bd4c9", "score": "0.6437539", "text": "public String getUniqueName();", "title": "" }, { "docid": "2edffaf3b484deadb7b45eb8280886a2", "score": "0.6412318", "text": "@FromAnyThread\n public @NotNull String getName() {\n return \"unknown name\";\n }", "title": "" }, { "docid": "85e52f608eb51f958d89e4feadfa08ab", "score": "0.6393583", "text": "public synchronized String getUniqueName() {\n if (uniqueName == null) {\n uniqueName = TagHelper.generateUniqueName(name);\n }\n return uniqueName;\n }", "title": "" }, { "docid": "d13dc28b0d333d1fde4e8751e381ef5a", "score": "0.6330474", "text": "public String getName() {\n\treturn getString(1);\n }", "title": "" }, { "docid": "7b847e3306df1d7a122d37a9da1fcd35", "score": "0.63147795", "text": "public String getName()\n {\n return getStringValue(\"_name\");\n }", "title": "" }, { "docid": "d2a79599d944fb67cd9a15b9b0398afd", "score": "0.6296852", "text": "public String getName() {\n return name.get();\n }", "title": "" }, { "docid": "99f4a529cbecb3ec6eda2cc0886344d8", "score": "0.6293992", "text": "public String getName() {\n\t\treturn fTopic + \" : \" + fGroup + \" : \" + fId;\n\t}", "title": "" }, { "docid": "d39e7590569fca4602d0b1f45f5ac65d", "score": "0.6288622", "text": "public String getName()\r\n\t{\r\n\t\treturn getName( getSession().getSessionContext() );\r\n\t}", "title": "" }, { "docid": "9778e65347b0b1bcbf5fce8b7b2d5f7c", "score": "0.6281581", "text": "public String getName() {\n\t\treturn name.get();\n\t}", "title": "" }, { "docid": "ec70c90ea17f1f184a6f7398db537817", "score": "0.627607", "text": "public String getName() {\n return name.get();\n }", "title": "" }, { "docid": "b235794b8fc5d97ed058fbb604bcf67f", "score": "0.6275697", "text": "public String getName() {\n synchronized (this) {\n return this.name;\n }\n }", "title": "" }, { "docid": "f38a96d6443ac13b0c697aebb8e6b0c3", "score": "0.62740535", "text": "public String getName() {\n\t\treturn \"Account \" + id;\n\t}", "title": "" }, { "docid": "00e534842312c4a5fcb33245a1ff77b1", "score": "0.62641066", "text": "public String getReferenceName() {\n ByteBuffer local = (ByteBuffer)buffer.duplicate().position(offset);\n int len = local.getInt();\n byte[] data = new byte[len];\n local.get(data);\n return new String(data);\n }", "title": "" }, { "docid": "c49c853524168cce5bfc3c3d6bd6f0f1", "score": "0.62621313", "text": "public String getName()\n\t{\n\t\treturn getName( getSession().getSessionContext() );\n\t}", "title": "" }, { "docid": "c49c853524168cce5bfc3c3d6bd6f0f1", "score": "0.62621313", "text": "public String getName()\n\t{\n\t\treturn getName( getSession().getSessionContext() );\n\t}", "title": "" }, { "docid": "77c8b50001868b4f13b872d7ac8bab0b", "score": "0.62488914", "text": "public String getName() {\n return new String(this.name);\n }", "title": "" }, { "docid": "1e0a8c5d36b0585cdc265e697264bd70", "score": "0.6248156", "text": "public java.lang.String getName() {\n return cacheGet(CacheKey.name);\n }", "title": "" }, { "docid": "02d17b3123e28bbdd153ab8ca253d077", "score": "0.62413186", "text": "public String getName() {\n\t\treturn Dispatch.get(object, \"Name\").getString();\n\t}", "title": "" }, { "docid": "55595b717e495873c042480adb4c77b0", "score": "0.6236216", "text": "@Override\n\tpublic String toString() {\n\t\treturn (\"Ticket holder name: \" + this.getName() + \" Raffle Number: \" + this.getTicketNumber() + \"\\n\");\n\t}", "title": "" }, { "docid": "e864e03830d156b1d14e909c59032494", "score": "0.6222346", "text": "public String getName()\n {\n return Name.get();\n }", "title": "" }, { "docid": "23cb707e610595e9e98ef4a7c74c9afe", "score": "0.62159044", "text": "public final String getName()\n {\n logger.logTraceIn();\n logger.logTraceOut();\n return name;\n }", "title": "" }, { "docid": "a32ddaabdd29818a19148ec215300984", "score": "0.6203532", "text": "public String name() {\n \treturn(accountName);\t\n }", "title": "" }, { "docid": "b1790e47e452183e8dd97b74b5e99c41", "score": "0.61932904", "text": "public com.google.protobuf.ByteString\n getTicketBytes() {\n java.lang.Object ref = ticket_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n ticket_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "6f28c716ee540108650b916906bc205a", "score": "0.61838907", "text": "public String getName() {\n return Long.toString(gid);\n }", "title": "" }, { "docid": "e989f1117b21381d9a5626c37c8ba3ea", "score": "0.61819863", "text": "public static String getName() {\n return name;\n }", "title": "" }, { "docid": "a057f09e3619802ea5b485b79767b6af", "score": "0.6171726", "text": "public String getName() {\n return entry.getName();\n }", "title": "" }, { "docid": "04fb1e7088952a55b62e38e5a540635c", "score": "0.61639255", "text": "public com.google.protobuf.ByteString getTicket() {\n return ticket_;\n }", "title": "" }, { "docid": "003be90933bf8dda905805f22c0c153f", "score": "0.61553186", "text": "public com.google.protobuf.ByteString getTicket() {\n return ticket_;\n }", "title": "" }, { "docid": "938862e0d758c33c3513245028a59cca", "score": "0.6155033", "text": "public String toString() {\n return threadName;\r\n }", "title": "" }, { "docid": "938862e0d758c33c3513245028a59cca", "score": "0.6155033", "text": "public String toString() {\n return threadName;\r\n }", "title": "" }, { "docid": "53dd398a2dbb906e4201c7dd690e555d", "score": "0.61516124", "text": "private String createUniqueRequestComponent() {\n final long threadId = Thread.currentThread().getId();\n return new SimpleDateFormat(\"yyyyMMdd-HHmmssSSS\").format(new Date()) + \"-\" + String.valueOf(threadId);\n }", "title": "" }, { "docid": "365b02b61e9412396943f22f908cf0e7", "score": "0.61480963", "text": "public String Name()\r\n\t{\r\n\t\treturn _name;\r\n\t}", "title": "" }, { "docid": "404063c8493a8efc682129165f77f1f5", "score": "0.6138756", "text": "public String getName() { return name.get(); }", "title": "" }, { "docid": "1d99d6c1e463dc43d8e1cccb5169cbc7", "score": "0.61352754", "text": "public java.lang.String getCreatorName() {\n java.lang.Object ref = creatorName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n creatorName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "ef7eb1383f450161f5310c00543ca351", "score": "0.6134803", "text": "public org.hl7.fhir.String getName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.String target = null;\n target = (org.hl7.fhir.String)get_store().find_element_user(NAME$4, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "title": "" }, { "docid": "e5a2d6947613cb2a95757d7424122d9c", "score": "0.61326796", "text": "public String getName () {\r\n\t\treturn (_name);\r\n\t}", "title": "" }, { "docid": "86e8badf60547cc18e8686b1ece38ad0", "score": "0.6130385", "text": "public String getNameString() {\n\t\treturn ConstantPool.getUtf8String(nameIndex);\n\t}", "title": "" }, { "docid": "db297bf7ab0a62e03d4b398badc298fd", "score": "0.612145", "text": "protected String getName() {\n\t\treturn _name;\n\t}", "title": "" }, { "docid": "a3e7bc2c2359a4bf97e7ad543e509393", "score": "0.6114964", "text": "public final String getName(){\r\n\t\treturn name;\r\n\t}", "title": "" }, { "docid": "9848474d404e7f00eb2e7bebc658d971", "score": "0.61074966", "text": "public String getName() {\n\t\treturn (_name);\n\t}", "title": "" }, { "docid": "64856f8a23744130d55f0a3b879a5a4d", "score": "0.6105857", "text": "public String getName() {\n\treturn this.toString();\n }", "title": "" }, { "docid": "fc6bf0cc12107df59107b511b8030ff0", "score": "0.60931164", "text": "public Identifier getName();", "title": "" }, { "docid": "5ff70ff39f1b66ec3298401291ee1948", "score": "0.60904425", "text": "public String getName()\n\t{\n\t\treturn getName(null);\n\t}", "title": "" }, { "docid": "8943a5af66b1f48766aa5ee2adcaf857", "score": "0.6088264", "text": "public String getName() {\n String name = getGField(\"name\");\n if (name == null) {\n return \"\";\n }\n return name;\n }", "title": "" }, { "docid": "270068193f2e5ae1321e4ab863f8834e", "score": "0.60863936", "text": "public final String getName() {\n\t\treturn _name;\n\t}", "title": "" }, { "docid": "a73fe3f318914584b5736955cc346cbd", "score": "0.6083163", "text": "public String getName(){\r\n if(isLabel){\r\n return account.getName();\r\n }\r\n else{\r\n return account.toString();\r\n }\r\n }", "title": "" }, { "docid": "a253ab3efd69ee76a8d6874d9ecd3867", "score": "0.60718584", "text": "synchronized public String getName() {\n return this.name;\n }", "title": "" }, { "docid": "fc9a42bce0bb1f1800160fd126308229", "score": "0.6068675", "text": "public String getName()\n {\n if (this.name != null)\n {\n return this.name;\n }\n\n return \"\";\n }", "title": "" }, { "docid": "14bbaea4b7b089daa3042c7f0c3d3081", "score": "0.60640556", "text": "public java.lang.String getCreatorName() {\n java.lang.Object ref = creatorName_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n creatorName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "334545ad37f9865eac7f60ebe1dcde44", "score": "0.6055862", "text": "public java.lang.String getUniqueName(){\n return localUniqueName;\n }", "title": "" }, { "docid": "334545ad37f9865eac7f60ebe1dcde44", "score": "0.6055862", "text": "public java.lang.String getUniqueName(){\n return localUniqueName;\n }", "title": "" }, { "docid": "a69227247698483be0a242c99ddc5c90", "score": "0.60549307", "text": "@Override\r\n\tpublic String getName() throws NotesApiException {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "4d1dcc5a556b80b20bd0bb36af525d2c", "score": "0.60491365", "text": "public String getEntryName() {\n File entryFile = new File(entry.getPath());\n return entryFile.getName();\n }", "title": "" }, { "docid": "97ddea9cda5afb534d4e740bf6e818b3", "score": "0.60487175", "text": "public final String getName() {\n\t\treturn this.name;\n\t}", "title": "" }, { "docid": "5328394bbffadc698c756dfae38240ce", "score": "0.6044949", "text": "public final String getName()\r\n {\r\n \treturn name;\r\n }", "title": "" }, { "docid": "b051820c5e39a6019fc6278747e9402f", "score": "0.6039403", "text": "public String getName() {\n return ugi.getUserName();\n }", "title": "" }, { "docid": "c0122659e8b812ed8e88ab4d49bd251d", "score": "0.6036521", "text": "public static String getTicketKey(String ticket) {\n return PREFIX_TICKET + SPLIT + ticket;\n }", "title": "" }, { "docid": "727f0a88fb6a86d29667cbb3e5ee56f4", "score": "0.6031851", "text": "public String getIdentifier() {\n return name;\n }", "title": "" }, { "docid": "3c7649c6eae2dd37ed6e6ca64f87bec9", "score": "0.6031302", "text": "public com.google.protobuf.ByteString\n getTicketBytes() {\n java.lang.Object ref = ticket_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n ticket_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "48449af248f5e2e235f04b8048a6d194", "score": "0.6030299", "text": "public String createName() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6b2e34035a5e2eb3082e75fcedcef314", "score": "0.60289806", "text": "@Override\n\tpublic final String getName() {\n\t\treturn getNameTask.join();\n\t}", "title": "" }, { "docid": "fdf7a517cc861ea9f7321d84cae9d129", "score": "0.60271174", "text": "@Override\r\n\tpublic String getName() {\n\t\treturn message;\r\n\t}", "title": "" }, { "docid": "1fa1722dda722fbd3cf25df9f0720be3", "score": "0.6027017", "text": "public String getName()\n\t{\n\t\treturn toString();\n\t}", "title": "" }, { "docid": "756f5e5d23a55fd1c7647dcdccf9de7d", "score": "0.60267663", "text": "public String getName() {\n return get(\"Name\").toValue();\n }", "title": "" }, { "docid": "1267555dc0262216c0e7f4ac960ec580", "score": "0.6018282", "text": "public String GetName()\n\t{\n\t\treturn this._name;\n\t}", "title": "" }, { "docid": "9e8ffbb20fc71f87b5b500240d7bac5d", "score": "0.60181016", "text": "java.lang.String getNoteName();", "title": "" }, { "docid": "30ccb7dd633ec0334cb9288e891f959c", "score": "0.60175574", "text": "public String getThreadName() {\n return threadName;\n }", "title": "" }, { "docid": "c38eac7881df4d868865b7124d83a273", "score": "0.6013956", "text": "@Override\r\n\tpublic String getName() {\n\t\treturn this.name;\r\n\t}", "title": "" }, { "docid": "8e59301e84f4a8640e07f3d4b29651a1", "score": "0.6013837", "text": "public final String getName() {\r\n\t\treturn name;\r\n\t}", "title": "" }, { "docid": "e24ea44009c07d459705c09e0ff002df", "score": "0.60088", "text": "String getRefName();", "title": "" }, { "docid": "74f44437cee3b8c58dc2c26f4510f2a8", "score": "0.60069036", "text": "public String getName() {\n return (name);\n }", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.6006093", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.6006093", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.60044336", "text": "java.lang.String getName();", "title": "" } ]
d1d98a5dcf6e797a5b4c7774f4dfcb6e
This method was generated by MyBatis Generator. This method corresponds to the database table c_meeting_delay
[ { "docid": "2eebfe3e0e211fbf4b3b2e0c90ac100e", "score": "0.6417318", "text": "CMeetingDelay selectByPrimaryKey(String id);", "title": "" } ]
[ { "docid": "77cbf483d4e24661b5e7b946143032c1", "score": "0.56339806", "text": "List<CMeetingDelay> selectByExample(CMeetingDelayExample example);", "title": "" }, { "docid": "4f0e5d8ee9beb3afcd026e6aad12de44", "score": "0.5576712", "text": "ITradingDelayModel getDelay();", "title": "" }, { "docid": "e96ad8e427a9834d897b4253daefb8a7", "score": "0.5506845", "text": "public interface TaskDAO {\n// String tableName = \"taskTable1\";\n\n// @SqlQuery(\"select * from \" + tableName )\n// List<Task> getAllTasks();\n//\n// @SqlQuery(\"select * from \" + tableName + \" where status = 'FUTURE' \")\n// List<Task> getFutureTasks();\n//\n// @SqlQuery(\"select * from \" + tableName + \" where status != 'EXPIRED' and startTimeOfTheDay <= :timeStamp and endTimeOfTheDay > :timeStamp\")\n// List<Task> getTemporallyEligibleTasks(@Bind(\"timeStamp\") Long timeStamp);\n//\n// @SqlQuery(\"select * from \" + tableName + \" where status != 'EXPIRED' and places LIKE :place \")\n// List<Task> getSpatiallyEligibleTasks(@Bind(\"place\") String place);\n//\n// @SqlQuery(\"select * from \" + tableName + \" where status != 'EXPIRED' and places LIKE :place and startTimeOfTheDay <= :timeStamp and endTimeOfTheDay > :timeStamp \")\n// List<Task> getSpatioTemporallyEligibleTasks(@Bind(\"place\") String place, @Bind(\"timeStamp\") Long timeStamp);\n//\n//\n// @SqlUpdate(\"CREATE TABLE \" + tableName +\" (\" +\n// \" `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,\" +\n// \" `taskId` mediumint(9) unsigned NOT NULL AUTO_INCREMENT,\" +\n// \" `dependentTaskId` mediumint(9) unsigned DEFAULT '0',\" +\n// \" `durationMins` double DEFAULT '0',\" +\n// \" `status` enum('ACTIVE','EXPIRED','FUTURE') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'FUTURE',\" +\n// \" `staticScore` double DEFAULT '0',\" +\n// \" `frequency` double DEFAULT '0',\" +\n// \" `deadline` DATETIME DEFAULT '2066-01-01 00:00:00',\" +\n// \" `startTimeOfTheDay` TIME DEFAULT '00:00:00',\" +\n// \" `endTimeOfTheDay` Time DEFAULT '23:59:59',\" +\n// \" `places` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'OTHER',\" +\n// \" PRIMARY KEY (`taskId`),\" +\n// \" UNIQUE KEY `id_UNIQUE` (`taskId`)\" +\n// \") ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;\")\n// void createTable();\n//\n//\n// @SqlUpdate(\"DROP TABLE \" + tableName)\n// void dropTable();\n\n}", "title": "" }, { "docid": "8f79e3868e9e71477859b9220fcf8e26", "score": "0.54359806", "text": "public scala.Option<java.lang.Object> schedulingDelay () { throw new RuntimeException(); }", "title": "" }, { "docid": "048a03c7a8cabd30abf1ea47ebdf0f6d", "score": "0.5288574", "text": "public long getDelay();", "title": "" }, { "docid": "048a03c7a8cabd30abf1ea47ebdf0f6d", "score": "0.5288574", "text": "public long getDelay();", "title": "" }, { "docid": "026f13ca4d66882e267a26a5a293cd0b", "score": "0.528659", "text": "@java.lang.Override\n public long getDelay() {\n return delay_;\n }", "title": "" }, { "docid": "8a190dce6d06656b6b18154e300275ca", "score": "0.5196117", "text": "long getDelay();", "title": "" }, { "docid": "5083be8733242d82d3cd4d89c9cac98e", "score": "0.5166485", "text": "int insertSelective(CMeetingDelay record);", "title": "" }, { "docid": "5280293ffd04a089d00e77fafaa88363", "score": "0.51322824", "text": "@java.lang.Override\n public long getDelay() {\n return delay_;\n }", "title": "" }, { "docid": "ac085ccb47b81273c43c9f807ce90ea1", "score": "0.50856733", "text": "@SqlMapper\npublic interface ReceivingMapper {\n\n Integer add(ReceivingCondition receivingCondition);\n\n List<ReceivingCondition> getEffectiveList(ReceivingCondition receivingCondition);\n\n List<ReceivingCondition> getExpiredList(ReceivingCondition receivingCondition);\n\n ReceivingCondition get(ReceivingCondition receivingCondition);\n\n Integer update(ReceivingCondition receivingCondition);\n\n Integer updateUserInfo(ReceivingCondition receivingCondition);\n\n Integer dayCountByReceiving(ReceivingCondition receivingCondition);\n\n Integer totalCountByReceiving(ReceivingCondition receivingCondition);\n\n List<ReceivingCondition> queryList(ReceivingCondition receivingCondition);\n\n\n}", "title": "" }, { "docid": "57d20cd1565176f7d177d2037c0e68e7", "score": "0.5082255", "text": "int updateByPrimaryKeySelective(CMeetingDelay record);", "title": "" }, { "docid": "cb2bb70368f6bca907fc9fd509c5b1cc", "score": "0.50623524", "text": "public long getDelay() {\n\t\treturn getAs(\"delay\", Long.class);\n\t}", "title": "" }, { "docid": "0cce241fb96521f0604623dc2130a982", "score": "0.50577056", "text": "@Override\n\tpublic List<AutoTaskBean> getAutoTasks() {\n\t\tDBContextHolder.setDBType(DBContextHolder.DATA_SOURCE);\n\t\tString sql = \"SELECT * FROM d_ec_new_statistics.t_ec_autojob_autotask t WHERE t.flag = '1' \";\n\t\t@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\n\t\tList<AutoTaskBean> autasks = jdbcTemplate.query(sql,new RowMapper() {\n\t\t\t@Override\n\t\t\tpublic Object mapRow(ResultSet rs, int arg1) throws SQLException {\n\t\t\t\tAutoTaskBean auto = new AutoTaskBean();\n\t\t\t\tauto.setId(rs.getInt(\"id\"));\n\t\t\t\tauto.setTaskcode(rs.getString(\"taskcode\"));\n\t\t\t\tauto.setTaskName(rs.getString(\"taskName\"));\n\t\t\t\tauto.setExectime(rs.getString(\"exectime\"));\n\t\t\t\tauto.setLastStartDate(rs.getTimestamp(\"lastStartDate\")); \n\t\t\t\tauto.setLastEndDate(rs.getTimestamp(\"lastEndDate\"));\n\t\t\t\tauto.setStarting(rs.getString(\"state\"));\n\t\t\t\tauto.setTaskPath(rs.getString(\"taskPath\"));\n\t\t\t\tauto.setTaskType(rs.getString(\"taskType\"));\n\t\t\t\tauto.setFlag(rs.getString(\"flag\"));\n\t\t\t\tauto.setFrequence(rs.getInt(\"frequence\"));\n\t\t\t\tauto.setCreateUser(rs.getString(\"createUser\"));\n\t\t\t\tauto.setCreateDate(rs.getString(\"createDate\"));\n\t\t\t\tauto.setUpdateUser(rs.getString(\"updateUser\"));\n\t\t\t\tauto.setUpdateDate(rs.getString(\"updateDate\"));\n\t\t\t\treturn auto;\n\t\t\t}\n\t\t});\n\t\t\t\t\n\t\treturn autasks;\n\t\t\n\t}", "title": "" }, { "docid": "341226ff979e781d5c85a2b64d8c856c", "score": "0.50562483", "text": "int updateByPrimaryKey(CMeetingDelay record);", "title": "" }, { "docid": "fa93186c71f4bae19e16fc0ce66234b6", "score": "0.50553304", "text": "@Override\r\n\tpublic int getDelay() {\r\n\t\treturn delay;\r\n\t}", "title": "" }, { "docid": "45abc46c5cf01f53282c382e4a37bcbc", "score": "0.5046875", "text": "public Integer getDelay()\n {\n return delay;\n }", "title": "" }, { "docid": "ece9f2f32477b9001789439c27d101b7", "score": "0.5039701", "text": "public interface TravelActmapper extends BaseMapper<TravelActInfo> {\n\n String travelQueryCommon=\"destination,mem_number memNumber, remarks,join_amount joinAmount,act_content actContent,start_time startTime,end_time endTime,id,title,status,create_user createUser,create_time createTime,update_time updateTime,update_user UpdateUser\";\n\n @Select(\"<script>select \"+travelQueryCommon+\" from tb_travel_act t where 1=1 <if test='status!=null'> AND status=#{status} </if> \"+ MapperCommon.isActRelated+\" <if test='current!=null'> AND id&lt;#{current}</if> <if test='startTime!=null'> AND start_time&lt;=#{startTime}</if> <if test='endTime!=null'> AND end_time&gt;#{endTime} </if> order by start_time asc,id desc limit 10 </script>\")\n List<TravelActInfo> selectListForMy(@Param(\"current\") Long currentId,@Param(\"startTime\") Date startTime, @Param(\"userId\") String userId,@Param(\"status\") Integer status,@Param(\"endTime\")Date endTime);\n}", "title": "" }, { "docid": "fd9c440ad09e4e6115d05b215f1f7e25", "score": "0.5031626", "text": "public int getDelay() {\n return this.delay;\n }", "title": "" }, { "docid": "096c0bb85777fdb16b546e95d95c174e", "score": "0.49981096", "text": "public void setDelay(long delay)\r\n/* 40: */ {\r\n/* 41: 96 */ this.delay = delay;\r\n/* 42: */ }", "title": "" }, { "docid": "da4ca02e73f1135239fe10f5592b95c0", "score": "0.4975002", "text": "public void setDelay(long delay);", "title": "" }, { "docid": "7a0d8d353961dcd51c24be81a5b53ba3", "score": "0.49675205", "text": "@Override\n\tpublic long getDelay(TimeUnit unit) {\n\t\tif (!isPeriodic()) {\n\t\t\treturn task.getDelay(unit);\n\t\t} else {\n\t\t\tif (startDate==0){\n\t\t\t\treturn task.getDelay(unit);\n\t\t\t} else {\n\t\t\t\tDate now=new Date();\n\t\t\t\tlong delay=startDate-now.getTime();\n\t\t\t\treturn unit.convert(delay, TimeUnit.MILLISECONDS);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "2d60b8cc6eb39972f1a9dbf3db819880", "score": "0.4967192", "text": "public long getDelay() {\n\t\treturn _delay;\n\t}", "title": "" }, { "docid": "b5cb0a40dc66b0d06a98a4e6dd158ca5", "score": "0.496554", "text": "public void setDelay(Integer delay)\n {\n this.delay = delay;\n }", "title": "" }, { "docid": "17c28b348240b69b39845cc7df0743dd", "score": "0.49626857", "text": "public List<DataRecord> getSqlForUpdateJacks() {\n\n // SELECT DOWNHILL_TABLE, DOWNHILL_KEY,CASE WHEN DOWNHILL_TABLE='pb' THEN DOWNHILL_POSITION\n // ELSE DOWNHILL_KEY END as DOWNHILL_VALUE,\n // UPHILL_TABLE, UPHILL_KEY, CASE WHEN UPHILL_TABLE='pb' THEN UPHILL_POSITION ELSE\n // UPHILL_KEY END as UPHILL_VALUE\n // FROM AFM_TCCN WHERE\n // UPHILL_TABLE NOT IN ('ca','cp','port')\n // AND DOWNHILL_TABLE = 'jk'\n final DataSource dsJacks = DataSourceFactory.createDataSource();\n\n final String jkTableSql = SELECT + LTRIM_RTRIM + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM\n + ALIAS + DOWNHILL_TABLE_FLD + FIELD_SEPARATOR + LTRIM_RTRIM + DOWNHILL_KEY_FLD\n + END_LTRIM_RTRIM + ALIAS + DOWNHILL_KEY_FLD + FIELD_SEPARATOR + CASE_WHEN\n + LTRIM_RTRIM + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM + EQUALS + SQL_QUOTE + PB_TABLE\n + SQL_QUOTE + THEN + LTRIM_RTRIM + DOWNHILL_POSITION_FLD + END_LTRIM_RTRIM + ELSE\n + LTRIM_RTRIM + DOWNHILL_KEY_FLD + END_LTRIM_RTRIM + END + ALIAS + DOWNHILL_VALUE\n + FIELD_SEPARATOR + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + ALIAS\n + UPHILL_TABLE_FLD + FIELD_SEPARATOR + LTRIM_RTRIM + UPHILL_KEY_FLD\n + END_LTRIM_RTRIM + ALIAS + UPHILL_KEY_FLD + FIELD_SEPARATOR + CASE_WHEN\n + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + EQUALS + SQL_QUOTE + PB_TABLE\n + SQL_QUOTE + THEN + LTRIM_RTRIM + UPHILL_POSITION_FLD + END_LTRIM_RTRIM + ELSE\n + LTRIM_RTRIM + UPHILL_KEY_FLD + END_LTRIM_RTRIM + END + ALIAS + UPHILL_VALUE + FROM\n + AFM_TCCN_TABLE + WHERE + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + NOT_IN\n + OPEN_PARENTHESIS + TABLES_NOT_MIGRATED + CLOSED_PARENTHESIS + AND + LTRIM_RTRIM\n + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM + EQUALS + SQL_QUOTE + JK_TABLE + SQL_QUOTE;\n\n this.log.info(SELECT_STATEMENT_MESSAGE + \" for updating Jacks connections: \" + jkTableSql);\n\n dsJacks.addTable(AFM_TCCN_TABLE);\n dsJacks.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_TABLE_FLD, DataSource.DATA_TYPE_TEXT);\n dsJacks.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_KEY_FLD, DataSource.DATA_TYPE_TEXT);\n dsJacks.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_VALUE, DataSource.DATA_TYPE_TEXT);\n dsJacks.addVirtualField(AFM_TCCN_TABLE, UPHILL_TABLE_FLD, DataSource.DATA_TYPE_TEXT);\n dsJacks.addVirtualField(AFM_TCCN_TABLE, UPHILL_KEY_FLD, DataSource.DATA_TYPE_TEXT);\n dsJacks.addVirtualField(AFM_TCCN_TABLE, UPHILL_VALUE, DataSource.DATA_TYPE_TEXT);\n dsJacks.setApplyVpaRestrictions(false);\n dsJacks.setMaxRecords(0);\n dsJacks.addQuery(jkTableSql);\n\n return dsJacks.getRecords();\n }", "title": "" }, { "docid": "d4c96abc35dd41c4fa86c86f96e02479", "score": "0.49308598", "text": "public long getDelay() {\n return delay;\n }", "title": "" }, { "docid": "50c1c9bfb59991f47c4f8354a3046bbf", "score": "0.49208772", "text": "public int getDelay() {\n return delay;\n }", "title": "" }, { "docid": "1f51c141febd1c3aa6210343edb443e4", "score": "0.4909681", "text": "int insert(CMeetingDelay record);", "title": "" }, { "docid": "6374c1b9f45dfe0aaca62191a5c9e8de", "score": "0.48633108", "text": "public long getDelay() {\n\t\treturn delay;\n\t}", "title": "" }, { "docid": "6374c1b9f45dfe0aaca62191a5c9e8de", "score": "0.48633108", "text": "public long getDelay() {\n\t\treturn delay;\n\t}", "title": "" }, { "docid": "f8be283003aeee6aa44f4e35e36e76b4", "score": "0.48506662", "text": "io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTimerTrigger();", "title": "" }, { "docid": "d0b414a881f65bba4f9110d418d14fc5", "score": "0.48369724", "text": "@Override\n public long getBatchDelay()\n {\n long value = super.getBatchDelay();\n return (value == 0) ? 0 : 1;\n }", "title": "" }, { "docid": "8a0ba3f9459d37b3bff0e205d73d05d9", "score": "0.48313433", "text": "private long getDelayFromSpinner() {\n switch (mDelaySpinner.getSelectedItemPosition()) {\n case 0:\n return 50;\n case 1:\n return 150;\n case 2:\n return 300;\n case 3:\n return 500;\n case 4:\n return 1000;\n default:\n return DEFAULT_DELAY;\n }\n }", "title": "" }, { "docid": "70170453e558433e46e493209cc0fd66", "score": "0.48083937", "text": "@Override\r\n\tpublic void run() {\n\t\tint t=new Date().getHours();\r\n\r\n\t\tSystem.out.println(\"CreateBookingDateTimeTimeTask\");\r\n\t\tif ((RunTime==1) || ((t<2) && (RunTime>60*6)))\r\n\t\t{\r\n\t\t\tSystem.out.println(\"CreateBookingDateTimeTimeTask\");\r\n\t\t\tSystem.out.println(\"创建7日内的排班表\");\r\n\t\t\tMySQLTable tableList=new MySQLTable();\r\n\t\t\tMySQLTable tableAll=new MySQLTable(\"select atn_number,amps_date,atn_time,atn_id_amp,amps_flag \"+\r\n\t\t\t\t\t\t\t\t\t\t\t\" from atn_time_number,amps_medical_project_schedule,amp_medical_project \"+ \r\n\t\t\t\t\t\t\t\t\t\t\t\" where datediff(amps_date,now())>=0 and datediff(amps_date,now())<=amp_MaxDay \"+\r\n\t\t\t\t\t\t\t\t\t\t\t\" and amp_id=atn_id_amp \"+\r\n\t\t\t\t\t\t\t\t\t\t\t\" and atn_time_number._Status<>'D' \"+\r\n\t\t\t\t\t\t\t\t\t\t\t\" and date_format(amps_date,'%w')=atn_week and atn_id_amp=amps_id_amp\"+\r\n\t\t\t\t\t\t\t\t\t\t\t\" and amps_medical_project_schedule._Status<>'D'\");\r\n\t\t\ttry\r\n\t\t\t{\r\n\t\t\t\ttableAll.Open();\r\n\t\t\t\twhile (tableAll.next())\r\n\t\t\t\t{\r\n\t\t\t\t\tString sqlStr=\"select * from abd_bookingdatetime where abd_bookingdatetime='\"+tableAll.getString(\"amps_date\")+\" \"+tableAll.getString(\"atn_time\")+\"' and abd_id_amp=\"+\r\n\t\t\t\t\t\t\ttableAll.getString(\"atn_id_amp\")+\" and _Status<>'D'\";\r\n\r\n//\t\t\t\t\tSystem.out.println(sqlStr);\r\n\t\t\t\t\ttableList.SQL(sqlStr);\r\n\t\t\t\t\ttableList.Open();\r\n\t\t\t\t\tif (!tableList.next())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttableList.insertRow();\r\n\t\t\t\t\t\ttableList.updateString(\"_Status\", \"I\");\r\n\t\t\t\t\t\ttableList.updateString(\"_User_Ins\", \"定时\");\r\n\t\t\t\t\t\ttableList.updateDateTime(\"_Date_Ins\",new Date());\r\n\t\t\t\t\t\ttableList.updateString(\"abd_status\", \"I\");\r\n\t\t\t\t\t\ttableList.updateDateTime(\"abd_Date_Ins\",new Date());\r\n\r\n\t\t\t\t\t\ttableList.updateInt(\"abd_maxbooking\", tableAll.getInt(\"atn_number\"));\r\n\t\t\t\t\t\ttableList.updateInt(\"abd_number\", tableAll.getInt(\"atn_number\"));\r\n\t\t\t\t\t\ttableList.updateInt(\"abd_hasbooking\", 0);\r\n\t\t\t\t\t\ttableList.updateInt(\"abd_ModifyBooking\", 0);\r\n\t\t\t\t\t\ttableList.updateInt(\"abd_id_amp\", tableAll.getInt(\"atn_id_amp\"));\r\n\t\t\t\t\t\ttableList.updateString(\"abd_BookingDate\", tableAll.getString(\"amps_date\"));\r\n\t\t\t\t\t\ttableList.updateString(\"abd_BookingDateTime\", tableAll.getString(\"amps_date\")+\" \"+tableAll.getString(\"atn_time\"));\r\n\r\n\t\t\t\t\t\ttableList.PostRow();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (tableAll.getInt(\"atn_number\")!=tableList.getInt(\"abd_number\"))\r\n\t\t\t\t\t\t{\t\r\n\t\t\t\t\t\t\ttableList.updateString(\"_Status\", \"E\");\r\n\t\t\t\t\t\t\ttableList.updateString(\"_User_Lst\", \"定时\");\r\n\t\t\t\t\t\t\ttableList.updateDateTime(\"_Date_Lst\",new Date());\r\n\t\t\t\t\t\t\ttableList.updateInt(\"abd_maxbooking\", tableAll.getInt(\"atn_number\")+tableList.getInt(\"abd_ModifyBooking\"));\r\n\t\t\t\t\t\t\ttableList.updateInt(\"abd_number\", tableAll.getInt(\"atn_number\"));\r\n\t\t\t\t\t\t\ttableList.PostRow();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\ttableList.Close();\r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.println(\"排班表创建完成\");\r\n\t\t\t\tRunTime=2;\r\n\t\t\t}\r\n\t\t\tfinally\r\n\t\t\t{\r\n\t\t\t\ttableAll.Close();\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"t=\"+t+\";RunTime=\"+RunTime);\r\n\t\t}\r\n\t\tRunTime++;\r\n\t}", "title": "" }, { "docid": "ed4ba1b7fe9d56c5594aa9699143d23c", "score": "0.47918335", "text": "public void setDelay(int delay) {\n this.delay = delay;\n }", "title": "" }, { "docid": "31734c8808d16b15d649a8d800890730", "score": "0.4790743", "text": "public ScheduleDelayStep.Builder scheduleDelay(String key, long duration, TimeUnit timeUnit) {\n return new ScheduleDelayStep.Builder().addTo(parent).key(key).duration(duration, timeUnit);\n }", "title": "" }, { "docid": "35f40b0143feb142c9d557683ff8e099", "score": "0.47712758", "text": "public ScheduleDelayStep.ThinkTimeBuilder thinkTime() {\n return new ScheduleDelayStep.ThinkTimeBuilder().addTo(parent);\n }", "title": "" }, { "docid": "0a84dc9196a0d18f44f820f43f88b6b8", "score": "0.4768302", "text": "THoldmeeting selectByPrimaryKey(Long holdid);", "title": "" }, { "docid": "285efebbcd4b603480f230d2674334c3", "score": "0.47590312", "text": "TrainingAssistantAddressTime selectByPrimaryKey(String id);", "title": "" }, { "docid": "5e2021cff654520d8ca6f1b8dc192020", "score": "0.47550988", "text": "public interface ReportStationBrokenMapper extends Mapper<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken>{\n\n @Select(\"<script>select * from report_station_broken a left join config_river_station b on a.station_id = b.station_id \" +\n \" where b.sys_org in ( SELECT id FROM sys_org so WHERE id = #{orgId} OR FIND_IN_SET( #{orgId}, path ) ) \" +\n \"<if test=\\\"createDate!=null and createDate!='' \\\">and DATE_FORMAT(a.create_time,'%Y-%m') = #{createDate} </if> \" +\n \"<if test=\\\"stationId!=null and stationId!=''\\\"> and a.station_id = #{stationId} </if>\" +\n \"<if test=\\\"status!=null and status!=''\\\"> and a.request_designating_status = #{status} </if>\" +\n \"<if test=\\\"display!=null and display!=''\\\"> and a.display_status = #{display} </if>\" +\n \"order by a.request_designating_status asc, a.create_time desc \" +\n \"</script>\")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getAll(@Param(\"createDate\") String createDate, @Param(\"stationId\")String stationId, @Param(\"orgId\") Integer orgId, @Param(\"status\") Integer status, @Param(\"display\")Integer display);\n\n @Select(\"<script>select \" +\n \"* \" +\n \"from report_station_broken a \" +\n \"left join config_river_station b \" +\n \"on a.station_id = b.station_id \" +\n \" where DATE_FORMAT(a.error_lastest_appear_time,'%Y-%m-%d') = #{createDate} \" +\n \"<if test=\\\"typeNameList!=null \\\">and SUBSTRING_INDEX(broken_according_id,'_', 1) in (\" +\n \"<foreach collection=\\\"typeNameList\\\" item=\\\"item\\\" separator=\\\",\\\">\" +\n \"#{item}\" +\n \"</foreach>)</if> \" +\n \"<if test=\\\"display!=null and display!=''\\\"> and a.display_status = #{display} </if>\" +\n \"order by a.create_time desc \" +\n \"</script>\")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getAllDay(@Param(\"createDate\") String createDate, @Param(\"display\")Integer display, @Param(\"typeNameList\") List<String> typeNameList);\n\n @Select(\"<script>select \" +\n \"* \" +\n \"from report_station_broken a \" +\n \"left join config_river_station b \" +\n \"on a.station_id = b.station_id \" +\n \" where DATE_FORMAT(a.error_lastest_appear_time,'%Y') = #{createDate} \" +\n \"<if test=\\\"typeNameList!=null \\\">and SUBSTRING_INDEX(broken_according_id,'_', 1) in (\" +\n \"<foreach collection=\\\"typeNameList\\\" item=\\\"item\\\" separator=\\\",\\\">\" +\n \"#{item}\" +\n \"</foreach>)</if> \" +\n \"<if test=\\\"display!=null and display!=''\\\"> and a.display_status = #{display} </if>\" +\n \"order by a.create_time desc \" +\n \"</script>\")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getAllYear(@Param(\"createDate\") String createDate, @Param(\"display\")Integer display, @Param(\"typeNameList\") List<String> typeNameList);\n\n\n @Select(\"<script>select \" +\n \"* \" +\n \"from report_station_broken a \" +\n \"left join config_river_station b \" +\n \"on a.station_id = b.station_id \" +\n \" where DATE_FORMAT(a.error_lastest_appear_time,'%Y-%m') = #{createDate} \" +\n \"<if test=\\\"typeNameList!=null \\\">and SUBSTRING_INDEX(broken_according_id,'_', 1) in (\" +\n \"<foreach collection=\\\"typeNameList\\\" item=\\\"item\\\" separator=\\\",\\\">\" +\n \"#{item}\" +\n \"</foreach>)</if> \" +\n \"<if test=\\\"display!=null and display!=''\\\"> and a.display_status = #{display} </if>\" +\n \"order by a.create_time desc \" +\n \"</script>\")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getAllMonth(@Param(\"createDate\") String createDate, @Param(\"display\")Integer display, @Param(\"typeNameList\") List<String> typeNameList);\n\n\n @Select(\"<script>select * from report_station_broken where request_designating_status &lt; 4</script> \")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getNotResolve();\n\n\n @Select(\"<script>select * from report_station_broken\" +\n \"<if test=\\\"createDate!=null\\\">where create_time = #{createDate} </if> \" +\n \"<if test=\\\"stationId!=null\\\"> and station_id = #{stationId}</if></script>\")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getAllData();\n\n\n @Insert(\"<script>INSERT ignore INTO `report_station_broken`\" +\n \"(`report_id`,`station_id`, `station_name`, `broken_name`, `broken_according_id`, \" +\n \"`broken_according`, `broken_response_time`, `create_time`,`resolve_method`, `resolve_user_id`, `remark`,`error_lastest_appear_time`,`description`)\" +\n \" VALUES \" +\n \"(#{item.reportId},#{item.stationId},#{item.stationName}, #{item.brokenName}, #{item.brokenAccordingId},\" +\n \" #{item.brokenAccording}, #{item.brokenResponseTime}, #{item.createTime},\" +\n \"#{item.resolveMethod}, #{item.resolveUserId}, #{item.remark},#{item.errorLastestAppearTime},#{item.description})</script>\")\n int insertDataMantain(@Param(\"item\") com.siti.wisdomhydrologic.operation.entity.ReportStationBroken brokenList);\n\n @Select(\"<script>SELECT * FROM report_station_broken a left join config_river_station b\" +\n \" on a.station_id = b.station_id \" +\n \" <if test=\\'regionId != null \\'>where region_id = #{regionId}</if> \" +\n \" and display_status = 1 \" +\n \" order by a.request_designating_status asc,a.create_time desc \" +\n \" LIMIT 10 </script> \")\n List<ReportManageApplicationBrokenVo> getLatest10(@Param(\"regionId\") Integer regionId);\n\n @Select(\" select region_name,region_id,request_designating_status,mal_status from config_river_station a left join report_station_broken b on a.station_id = b .station_id \" +\n \" where request_designating_status is not null \" +\n \" and display_status = 1 \" +\n \" and DATE_FORMAT( b.error_lastest_appear_time, '%Y%m%d' ) = DATE_FORMAT( CURDATE( ) , '%Y%m%d' )\")\n List<StationMalFunction> getRegAndStatusListDay();\n\n\n @Select(\" select region_name,region_id,request_designating_status,mal_status from config_river_station a left join report_station_broken b on a.station_id = b .station_id \" +\n \" where request_designating_status is not null \" +\n \" and display_status = 1 \" +\n \" and DATE_FORMAT( b.error_lastest_appear_time, '%Y%m' ) = DATE_FORMAT( CURDATE( ) , '%Y%m' )\\n\")\n List<StationMalFunction> getRegAndStatusListMonth();\n\n\n @Select(\" select region_name,region_id,request_designating_status,mal_status from config_river_station a left join report_station_broken b on a.station_id = b .station_id \" +\n \" where request_designating_status is not null \" +\n \" and display_status = 1 \" +\n \" and YEAR(b.error_lastest_appear_time)=YEAR(NOW());\\n\")\n List<StationMalFunction> getRegAndStatusListYear();\n\n @Select(\"<script>select a.sys_org,b.broken_name,b.create_time \" +\n \"from config_river_station a \" +\n \"left join report_station_broken b \" +\n \"on a.station_id = b .station_id \" +\n \"where b.broken_name is not null and \" +\n \"SUBSTR(b.create_time,1,7) = #{createTime} \" +\n \"and a.sys_org in ( SELECT id FROM sys_org so WHERE id = #{orgId} OR FIND_IN_SET( #{orgId}, path ) ) \" +\n \"and b.request_designating_status &lt; 4 </script>\")\n List<ManageMantainVo> getLastMonthList(@Param(\"createTime\") String createTime, @Param(\"orgId\") int orgId);\n\n\n @Insert(\"INSERT INTO `report_station_broken` \" +\n \"(`station_id`, `station_name`, `broken_name`, \" +\n \"`broken_according_id`, `broken_according`, `create_time`, \" +\n \"`broken_response_time`, `broken_on_resolve_time`,`request_designating_time`, `broken_resolve_time`,\" +\n \" `resolve_method`, `resolve_user_id`, `remark`, \" +\n \"`request_designating_status`, `broken_ask_to_resolve_time`,\" +\n \" `broken_request_report_time`,`error_lastest_appear_time`,`builder_code`) VALUES \" +\n \"(#{data.stationId},#{data.stationName}, #{data.brokenName},\" +\n \" #{data.brokenAccordingId}, #{data.brokenAccording}, #{data.createTime},\" +\n \"#{data.brokenResponseTime},#{data.brokenOnResolveTime}, #{data.requestDesignatingTime},\" +\n \" #{data.brokenResolveTime}, #{data.resolveMethod}, #{data.resolveUserId},\" +\n \" #{data.remark}, #{data.requestDesignatingStatus},#{data.brokenAskToResolveTime},\" +\n \"#{data.brokenRequestReportTime},#{data.errorLastestAppearTime},#{data.builderCode})\")\n int insert(@Param(\"data\") com.siti.wisdomhydrologic.operation.entity.ReportStationBroken broken);\n\n\n @Update(\"UPDATE `report_station_broken` SET `station_id` = #{data.stationId}, `station_name` = #{data.stationName}, \" +\n \"`broken_name` = #{data.brokenName}, `broken_according_id` = #{data.brokenAccordingId}, `broken_according` = #{data.brokenAccording},\" +\n \" `create_time` = #{data.createTime}, `broken_response_time` = #{data.brokenResponseTime}, \" +\n \"`resolve_method` = #{data.resolveMethod}, `resolve_user_id` = #{data.resolveUserId}, `remark` = #{data.remark}, \" +\n \" `broken_ask_to_resolve_time` = #{data.brokenAskToResolveTime}, \" +\n \"`broken_request_report_time` = #{data.brokenRequestReportTime} WHERE report_id = #{data.reportId}\")\n int update(@Param(\"data\") com.siti.wisdomhydrologic.operation.entity.ReportStationBroken broken);\n\n @Update(\"UPDATE `report_station_broken` SET \"+\n \"`request_designating_status` = #{data.requestDesignatingStatus} ,\" +\n \"`broken_response_time` = #{data.brokenResponseTime}, \" +\n \"`request_designating_time` = #{data.requestDesignatingTime}, \" +\n \"`broken_resolve_time` = #{data.brokenResolveTime},\" +\n \"`broken_on_resolve_time` = #{data.brokenOnResolveTime},\" +\n \"`mal_status` = #{data.malStatus} \" +\n \" WHERE report_id = #{data.reportId}\")\n int updateStatus(@Param(\"data\") com.siti.wisdomhydrologic.operation.entity.ReportStationBroken broken);\n\n @Select(\"select * from report_station_broken where station_id = #{stationId} \" +\n \"and broken_according_id = #{accordingId} \" +\n \"and error_lastest_appear_time > #{last24HourTime} \")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getLastestData(@Param(\"stationId\") int stationId, @Param(\"accordingId\") String accordingId, @Param(\"last24HourTime\") String last24HourTime);\n\n @Update(\"UPDATE `report_station_broken` SET `error_lastest_appear_time` = #{date} \" +\n \"WHERE report_id = #{reportId}\")\n void updateTime(@Param(\"reportId\") Integer reportId, @Param(\"date\") String date);\n\n @Select(\"<script>\" +\n \"select a.phone_num \" +\n \"from sys_user as a \" +\n \"LEFT JOIN sys_user_org as b on a.id=b.uid \" +\n \"LEFT JOIN config_region as c on c.manage_org_id=b.org_id \" +\n \"<if test =\\\" RegionId!=null \\\">where c.region_id=#{RegionId} </if> \" +\n \"and b.is_leader=1 \" +\n \"</script>\")\n List<String> getNumberByRegionId(@Param(\"RegionId\") Integer RegionId);\n\n @Select(\"select * from report_station_broken where report_id = #{reportId}\")\n com.siti.wisdomhydrologic.operation.entity.ReportStationBroken getOne(@Param(\"reportId\") Integer reportId);\n\n @Update(\"UPDATE `report_station_broken` SET `display_status` = 0 WHERE report_id = #{reportId}\")\n int updateDisplayStatus(@Param(\"reportId\") Integer reportId);\n\n /**\n *获取现在到5分钟前的开关门状态,查询时间段内有开关门记录,并记录\n * */\n @Select(\"SELECT drs.devid,mc,drs.last_upload_time,station_id FROM `device_real_status` drs left join config_dev_station cds on drs.devid = cds.devid \\n\" +\n \"where drs.is_online = 1 \\n\" +\n \"and station_id is not null\\n\" +\n \"and last_upload_time BETWEEN date_add(now(), interval -5 minute) and now() \" +\n \"and station_id = #{stationId}\")\n List<RealDeviceStatus> getRealDeviceStatus();\n\n //查询装有设备的测站\n @Select(\"SELECT drs.devid,mc,drs.last_upload_time,station_id FROM `device_real_status` drs left join config_dev_station cds on drs.devid = cds.devid \\n\" +\n \"where station_id = #{stationId}\")\n List<RealDeviceStatus> getRealDeviceList(@Param(\"stationId\")Integer stationId);\n\n\n /**\n * 只修改系统判定的故障异常\n * builder_code 0\n * */\n @Select(\"<script>select * from report_station_broken where report_id in (\" +\n \"<foreach collection=\\\"idList\\\" item=\\\"item\\\" separator=\\\",\\\">#{item}</foreach>) \" +\n \" and builder_code = 0 </script>\")\n List<com.siti.wisdomhydrologic.operation.entity.ReportStationBroken> getById(@Param(\"idList\") List<Integer> idList);\n\n @Delete(\"DELETE from report_station_broken where report_id in (\" +\n \"<foreach collection=\\\"idList\\\" item=\\\"item\\\" separator=\\\",\\\">#{item}</foreach>)\")\n int deleteById(@Param(\"idList\") List<Integer> idList);\n\n @Select(\"SELECT sensor_code FROM `abnormal_detail_current` adc \" +\n \"left join `report_station_broken` rsb on adc.id = rsb.report_id \" +\n \"where id = #{reportId} and rsb.builder_code <> 1 \")\n Integer findModule(@Param(\"reportId\")Integer reportId);\n}", "title": "" }, { "docid": "47d2f38e54dc11b142ffa535d8189ffc", "score": "0.47353053", "text": "private List<String> setUpTriggerDatesJacobiansColumns(final String stmName) {\n\n final List<String> names = new ArrayList<>();\n for (final ForceModel forceModel : getAllForceModels()) {\n if (forceModel instanceof Maneuver) {\n final Maneuver maneuver = (Maneuver) forceModel;\n final ManeuverTriggers maneuverTriggers = maneuver.getManeuverTriggers();\n if (maneuverTriggers instanceof AbstractManeuverTriggers) {\n\n // FIXME: when issue https://gitlab.orekit.org/orekit/orekit/-/issues/854 is solved\n // the previous if statement and the following cast should be removed as the following\n // code should really be done for all ManeuverTriggers and not only AbstractManeuverTriggers\n final AbstractManeuverTriggers amt = (AbstractManeuverTriggers) maneuverTriggers;\n\n amt.getEventDetectors().\n filter(d -> d instanceof ParameterDrivenDateIntervalDetector).\n map (d -> (ParameterDrivenDateIntervalDetector) d).\n forEach(d -> {\n TriggerDate start;\n TriggerDate stop;\n\n if (d.getStartDriver().isSelected() || d.getMedianDriver().isSelected() || d.getDurationDriver().isSelected()) {\n // normally datedriver should have only 1 span but just in case the user defines several span, there will\n // be no problem here\n for (Span<String> span = d.getStartDriver().getNamesSpanMap().getFirstSpan(); span != null; span = span.next()) {\n start = manageTriggerDate(stmName, maneuver, amt, span.getData(), true, d.getThreshold());\n names.add(start.getName());\n start = null;\n }\n }\n if (d.getStopDriver().isSelected() || d.getMedianDriver().isSelected() || d.getDurationDriver().isSelected()) {\n // normally datedriver should have only 1 span but just in case the user defines several span, there will\n // be no problem here\n for (Span<String> span = d.getStopDriver().getNamesSpanMap().getFirstSpan(); span != null; span = span.next()) {\n stop = manageTriggerDate(stmName, maneuver, amt, span.getData(), false, d.getThreshold());\n names.add(stop.getName());\n stop = null;\n }\n }\n if (d.getMedianDriver().isSelected()) {\n // for first span\n Span<String> currentMedianNameSpan = d.getMedianDriver().getNamesSpanMap().getFirstSpan();\n MedianDate median =\n manageMedianDate(d.getStartDriver().getNamesSpanMap().getFirstSpan().getData(),\n d.getStopDriver().getNamesSpanMap().getFirstSpan().getData(), currentMedianNameSpan.getData());\n names.add(median.getName());\n // for all span\n // normally datedriver should have only 1 span but just in case the user defines several span, there will\n // be no problem here. /!\\ medianDate driver, startDate driver and stopDate driver must have same span number\n for (int spanNumber = 1; spanNumber < d.getMedianDriver().getNamesSpanMap().getSpansNumber(); ++spanNumber) {\n currentMedianNameSpan = d.getMedianDriver().getNamesSpanMap().getSpan(currentMedianNameSpan.getEnd());\n median =\n manageMedianDate(d.getStartDriver().getNamesSpanMap().getSpan(currentMedianNameSpan.getStart()).getData(),\n d.getStopDriver().getNamesSpanMap().getSpan(currentMedianNameSpan.getStart()).getData(),\n currentMedianNameSpan.getData());\n names.add(median.getName());\n\n }\n\n }\n if (d.getDurationDriver().isSelected()) {\n // for first span\n Span<String> currentDurationNameSpan = d.getDurationDriver().getNamesSpanMap().getFirstSpan();\n Duration duration =\n manageManeuverDuration(d.getStartDriver().getNamesSpanMap().getFirstSpan().getData(),\n d.getStopDriver().getNamesSpanMap().getFirstSpan().getData(), currentDurationNameSpan.getData());\n names.add(duration.getName());\n // for all span\n for (int spanNumber = 1; spanNumber < d.getDurationDriver().getNamesSpanMap().getSpansNumber(); ++spanNumber) {\n currentDurationNameSpan = d.getDurationDriver().getNamesSpanMap().getSpan(currentDurationNameSpan.getEnd());\n duration =\n manageManeuverDuration(d.getStartDriver().getNamesSpanMap().getSpan(currentDurationNameSpan.getStart()).getData(),\n d.getStopDriver().getNamesSpanMap().getSpan(currentDurationNameSpan.getStart()).getData(),\n currentDurationNameSpan.getData());\n names.add(duration.getName());\n\n }\n }\n });\n\n }\n }\n }\n\n return names;\n\n }", "title": "" }, { "docid": "7c2d12f46c0a3c7f5c7cdb5df3155ec8", "score": "0.47288057", "text": "ISqlTableBuilderColumns transactional();", "title": "" }, { "docid": "44c43fc9daf56bf3c1cb166f9a98ae5e", "score": "0.47280264", "text": "public scala.Option<java.lang.Object> totalDelay () { throw new RuntimeException(); }", "title": "" }, { "docid": "09ec31a889f1797c707e98a580c7a49d", "score": "0.47254315", "text": "public interface VerWorklistDao {\n @Select(\"select accession_num as reportId , PATIENT_NAME as patientName,\" +\n \" patient_sex as patientSex,\" +\n \" patient_age as age,\" +\n \" '' as subHospitalID,\" +\n \" department as deptName,\" +\n \" patient_bed as bed,\" +\n \" perfrmd_item as itemName,\" +\n \" REPORT_START_DATE + REPORT_START_TIME as itemPara,\" +\n \" findings as itemDes,\" +\n \" impression as jcYj,\" +\n \" REQUEST_PHYSICIAN as giveInspectionDoctor,\" +\n \" REQUEST_DATE + REQUEST_TIME as giveInspectionTime,\" +\n \" '' as inceptDepartment, \" +\n \" '' as inceptDoctor, \" +\n \" '' as inceptTime, \" +\n \" '' as inspectionTime, \" +\n \" '' as inspectionResult, \" +\n \" '' as resultUrl, \" +\n \" '' as resultStream, \" +\n \" REPORT_DOC_NAME as checkPerson, \" +\n \" VERIFICATION_DATE+VERIFICATION_TIME as checkTime, \" +\n \" findings as clinicalDiagnoses, \" +\n \" REPORT_END_DATE+REPORT_END_TIME as requisitionTime, \" +\n \" '1' as resultState, \" +\n \" PRINT_COUNT as printCount, \" +\n \" PATIENT_ID as patientID, \" +\n \" '' as sampleType, \" +\n \" '' as iDCode, \" +\n \" CLINICAL_INFOR as note, \" +\n \" PATIENT_SOURCE as source, \" +\n \" PATIENT_LOCATION as inHosNum, \" +\n \" accession_num as serialFlowNo, \" +\n \" '' as location \" +\n \" from VER_WORKLIST where PATIENT_ID = #{queryCode} \" +\n \" and VERIFICATION_DATE + VERIFICATION_TIME >= #{startTime} \" +\n \" and VERIFICATION_DATE + VERIFICATION_TIME <=#{endTime}\" )\n public List<DataRow> getReportByID(@Param(value = \"queryCode\") String queryCode,\n @Param(value = \"startTime\") String startTime,\n @Param(value = \"endTime\") String endTime);\n\n @Select(\"select\" +\n \" accession_num as reportId ,\" +\n \" PATIENT_NAME as patientName,\" +\n \" patient_sex as patientSex,\" +\n \" patient_age as age,\" +\n \" '' as subHospitalID,\" +\n \" department as deptName,\" +\n \" patient_bed as bed,\" +\n \" perfrmd_item as itemName,\" +\n \" REPORT_START_DATE + REPORT_START_TIME as itemPara,\" +\n \" findings as itemDes,\" +\n \" impression as jcYj,\" +\n \" REQUEST_PHYSICIAN as giveInspectionDoctor,\" +\n \" REQUEST_DATE + REQUEST_TIME as giveInspectionTime,\" +\n \" '' as inceptDepartment, \" +\n \" '' as inceptDoctor, \" +\n \" '' as inceptTime, \" +\n \" '' as inspectionTime, \" +\n \" '' as inspectionResult, \" +\n \" '' as resultUrl, \" +\n \" '' as resultStream, \" +\n \" REPORT_DOC_NAME as checkPerson, \" +\n \" VERIFICATION_DATE+VERIFICATION_TIME as checkTime, \" +\n \" findings as clinicalDiagnoses, \" +\n \" REPORT_END_DATE+REPORT_END_TIME as requisitionTime, \" +\n \" '1' as resultState, \" +\n \" PRINT_COUNT as printCount, \" +\n \" PATIENT_ID as patientID, \" +\n \" '' as sampleType, \" +\n \" '' as iDCode, \" +\n \" CLINICAL_INFOR as note, \" +\n \" PATIENT_SOURCE as source, \" +\n \" PATIENT_LOCATION as inHosNum, \" +\n \" accession_num as serialFlowNo, \" +\n \" '' as location \" +\n \" from VER_WORKLIST where accession_num = #{queryCode} \" +\n \" and VERIFICATION_DATE + VERIFICATION_TIME >= #{startTime} \" +\n \" and VERIFICATION_DATE + VERIFICATION_TIME <=#{endTime}\" )\n public List<DataRow> getReportByACCE(@Param(value = \"queryCode\") String queryCode,\n @Param(value = \"startTime\") String startTime,\n @Param(value = \"endTime\") String endTime);\n\n\n}", "title": "" }, { "docid": "729b48b0847e858e43f1321ae5f9bef3", "score": "0.47196665", "text": "public double getDelay_time() {\n return delay_time;\n }", "title": "" }, { "docid": "3571f967d9bd36d66d0cadee27f36e70", "score": "0.47154924", "text": "public void setDelay(long delay) {\n\t\t_delay = delay;\n\t}", "title": "" }, { "docid": "cf316d46665a8d82b9cb23650de6a2ad", "score": "0.4705087", "text": "public long delay() {\n return this.delay;\n }", "title": "" }, { "docid": "baf995a016fa3cac2b34d75540081300", "score": "0.47023347", "text": "int getDelay ();", "title": "" }, { "docid": "08231c2ce809cbe10d3d70b09c72ab24", "score": "0.46996626", "text": "Scheduling selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "2a32783885ad76ffb28880ae3d67ca82", "score": "0.46909624", "text": "public long getTimeDuration(String tableName, long duration);", "title": "" }, { "docid": "e2b6afb96c937e8c58be774fa7afaea8", "score": "0.46863592", "text": "public interface BraceletMapper {\n\n @Select(\"SELECT * FROM bracelet WHERE device_no=#{deviceNo};\")\n Bracelet getBraceletByDeviceNo(@Param(\"deviceNo\") String deviceNo);\n\n @Select(\"SELECT bracelet_no FROM bracelet WHERE device_no=#{deviceNo};\")\n String getBraceletNoByDeviceNo(@Param(\"deviceNo\") String deviceNo);\n\n @Delete(\"DELETE FROM bracelet WHERE device_no=#{deviceNo};\")\n void deleteByDeviceNo(@Param(\"deviceNo\") String deviceNo);\n\n @Delete(\"DELETE FROM bracelet WHERE bracelet_no=#{braceletNo};\")\n void deleteByBraceletNo(@Param(\"braceletNo\") String braceletNo);\n\n @Select(\"select * from bracelet where create_at=(select max(create_at) from (select * from bracelet where bracelet_no =#{braceletNo}) as a)\")\n Bracelet getByBraceletNo(@Param(\"braceletNo\") String braceletNo);\n\n @Update(\"UPDATE bracelet SET device_no=#{deviceNo},create_at=#{createAt} WHERE bracelet_no=#{braceletNo}\")\n void updateDeviceNoByBraceletNo(@Param(\"deviceNo\") String deviceNo,@Param(\"braceletNo\") String braceletNo,@Param(\"createAt\")String createAt);\n\n @Select(\"SELECT device_no FROM bracelet WHERE bracelet_no=#{braceletNo}\")\n String getDeviceNoByBraceletNo(@Param(\"braceletNo\")String braceletNo);\n\n\n\n /*@Update(\"UPDATE bracelet SET device_no=#{deviceNo},uid=#{uid},device_status=#{deviceStatus} WHERE bracelet_no =#{braceletNo};\")//@Param(\"deviceNo\")\n void updateDeviceNoAndUidByBraceletNo(@Param(\"deviceNo\") String deviceNo,\n @Param(\"uid\") String uid,\n @Param(\"deviceStatus\") Boolean deviceStatus,\n @Param(\"braceletNo\") String braceletNo);*/\n\n\n\n /*@Select(\"SELECT prisoner_id FROM bracelet WHERE uid=#{uid};\")\n String getPrisonerIdByUid(@Param(\"uid\") String uid);*/\n\n /*@Update(\"UPDATE bracelet SET prisoner_id=#{prisonerId} WHERE bracelet_no=#{braceletNo};\")\n void updatePrisonerIdByBraceletNo(@Param(\"braceletNo\") String braceletNo, @Param(\"prisonerId\") String prisonerId);*/\n\n @Insert(\"INSERT INTO bracelet(bracelet_no,device_no,create_at) \" +\n \"VALUES(#{braceletNo},#{deviceNo},#{createAt});\")\n void createBracelet(@Param(\"braceletNo\") String braceletNo, @Param(\"deviceNo\") String deviceNo, @Param(\"createAt\")String createAt);\n}", "title": "" }, { "docid": "5a2aceaf161472a367986d5029640780", "score": "0.4682119", "text": "public String setMailTimes() {\n/* 668 */ return \"UPDATE COINS SET MAILTIMES=? WHERE WURMID=?\";\n/* */ }", "title": "" }, { "docid": "7d4f726434d7fff2bf626aa17bf23d0c", "score": "0.46775937", "text": "private void loadRows() throws AccessException , SQLException{\n rows.clear();\n PreparedStatement ps = null;\n\t ResultSet rs = null;\n Date workDate = DateHelper.truncateToDays(new Date());\n List clocks = new ArrayList();\n Timestamp scheduleStartTime;\n Timestamp scheduleEndTime;\n Date firstInClock;\n Date lastOutClock;\n long timeDiff;\n \n try {\n if(logger.isDebugEnabled()) { logger.debug(constructSQL()); }\n \n \t ps = conn.prepareStatement( constructSQL() );\n \t int cnt = 1;\n \t ps.setTimestamp( cnt++, new Timestamp(workDate.getTime()) );\n \t ps.setTimestamp( cnt++, new Timestamp(taskDateTime.getTime()) );\n \t \n //If max age is set\n \t if( intMaxAge != 0 ) {\n \t Datetime birthThreshold = DateHelper.addDays(DateHelper.getCurrentDate(), -(365*intMaxAge));\n \t ps.setTimestamp( cnt++, new Timestamp(birthThreshold.getTime()) ); \n }\n \t //if Team selected. - current date is between empt_start_date and empt_end_date\n \t if( !StringHelper.isEmpty(team) ) {\n \t ps.setTimestamp( cnt++, new Timestamp(DateHelper.getCurrentDate().getTime()));\n \t }\n \t \n \t rs = ps.executeQuery();\n\t\t if(logger.isDebugEnabled()) { logger.debug(\"Query executed.\"); }\n\n while (rs.next()) {\n firstInClock = null;\n lastOutClock = null;\n timeDiff = 0;\n try {\n\t\t clocks = Clock.createClockListFromString(rs.getString(\"wrks_clocks\"));\n\t\t }catch (Exception e){\n\t\t if (logger.isEnabledFor(org.apache.log4j.Level.ERROR)) { \n\t\t logger.error(\"Can not create clock list from a String: \" + e.getMessage() , e);}\n\t\t throw new NestedRuntimeException(e);\n\t\t }\n\t\t if (clocks.size() > 0) {\n \t\t for (int i=0; i < clocks.size(); i ++) {\n \t\t Clock theClock = (Clock)clocks.get(i);\n \t\t int clkType = theClock.getClockType();\n \t\t Date clkTime = theClock.getClockDate();\n \t\t \n \t\t if( clkType == IN_CLOCK_TYPE){\n \t\t if(firstInClock == null) {\n \t\t \tfirstInClock = clkTime; \n \t\t }\n \t\t else if ( clkTime.before(firstInClock)) {\n \t\t \tfirstInClock = clkTime;\t\n \t\t }\n \t\t }\n \t\t else if( clkType == OUT_CLOCK_TYPE){\n\t\t if(lastOutClock == null) {\n\t\t \tlastOutClock = clkTime; \n\t\t }\n\t\t else if ( clkTime.after(lastOutClock)) {\n\t\t \tlastOutClock = clkTime;\t\n\t\t }\n\t\t } \n \t\t }\n \t\t\t scheduleStartTime = rs.getTimestamp(\"empskd_act_start_time\");\n \t\t scheduleEndTime = rs.getTimestamp(\"empskd_act_end_time\");\n \t\t \n \t\t if(LATE_TYPE.equalsIgnoreCase(earyLate)) {\n\t\t if(IN_CLOCK.equalsIgnoreCase(strClockType) && firstInClock != null) {\n\t\t timeDiff = DateHelper.getMinutesBetween(firstInClock, scheduleStartTime); \t\n\t\t }\n\t\t else if(OUT_CLOCK.equalsIgnoreCase(strClockType) && lastOutClock != null) {\n\t\t timeDiff = DateHelper.getMinutesBetween(lastOutClock, scheduleEndTime); \t\n\t\t } \n\t\t }\n\t\t else if(EARLY_TYPE.equalsIgnoreCase(earyLate)) {\n\t\t if(IN_CLOCK.equalsIgnoreCase(strClockType) && firstInClock != null ) {\n\t\t timeDiff = DateHelper.getMinutesBetween(scheduleStartTime, firstInClock); \t\n\t\t }\n\t\t else if(OUT_CLOCK.equalsIgnoreCase(strClockType) && lastOutClock != null) {\n\t\t \t timeDiff = DateHelper.getMinutesBetween(scheduleEndTime, lastOutClock); \t\n\t\t }\t\n\t\t }\n \t\t if(timeDiff > intXminutes) {\n Row r = new BasicRow(getRowDefinition());\n r.setValue(\"EMP_ID\" , rs.getString(\"emp_id\"));\n r.setValue(\"EMP_NAME\" , rs.getString(\"emp_name\") );\n r.setValue(\"EMP_FULLNAME\" , rs.getString(\"emp_fullname\"));\n r.setValue(\"WORK_DATE\" , rs.getDate(\"wrks_work_date\"));\n r.setValue(\"Early/Late\" , earyLate);\n r.setValue(\"Minutes\" , String.valueOf(timeDiff));\n rows.add(r);\t\n } \n \t\t } \n } \n } finally {\n if (rs != null) {\n rs.close();\n }\n if (ps != null) {\n ps.close();\n }\n }\n }", "title": "" }, { "docid": "adccca9f670ee0b82245a34c5b041164", "score": "0.46758175", "text": "public void setDelay_time(double delay_time) {\n this.delay_time = delay_time;\n }", "title": "" }, { "docid": "ae1268746b1f980079255215f5315621", "score": "0.46658617", "text": "private void setDelay() throws InvalidReminderException {\n long timeDelay = calculateDelay(reminderDateTime);\n if (timeDelay < 0) {\n if (!hasFired) {\n throw new InvalidReminderException();\n }\n } else {\n this.delay = timeDelay;\n }\n }", "title": "" }, { "docid": "8deed241769c7c3da7f3705343def037", "score": "0.46614274", "text": "@SqlQuery(\"SELECT jml_blm_sd FROM blm_tmt_sd\")\n List<String> getAllBlmTamatSd();", "title": "" }, { "docid": "4564795417b9babb0054215e4b92553d", "score": "0.4660584", "text": "void setDelay (int delay );", "title": "" }, { "docid": "e42c01a8c5910de1b429c54d15ab8f6f", "score": "0.46533006", "text": "public static int getDelayedTime(int service)\n {\n \treturn database.busDatabase.get_int(\"service\", service, \"delayedTime\");\n }", "title": "" }, { "docid": "ff6364040d61177f97c2b195fc3f6ad6", "score": "0.4650973", "text": "TriggersBean selectByPrimaryKey(TriggersBeanKey key);", "title": "" }, { "docid": "7f5aa5fe301066087a1aa6306a8d2391", "score": "0.46484998", "text": "public interface BusRouteMapper {\n @Select(\"SELECT * FROM bus_routes\")\n @Results({\n @Result(property = \"routeNumber\", column = \"route_number\"),\n @Result(property = \"firstDepartureTime\", column = \"first_departure_time\"),\n @Result(property = \"lastDepartureTime\", column = \"last_departure_time\"),\n @Result(property = \"passStation\", column = \"pass_station\"),\n @Result(property = \"createTime\", column = \"create_time\")\n })\n List<BusRouteModel> getAll();\n\n @Select(\"SELECT * FROM bus_routes WHERE route_number= #{routeNumber}\")\n @Results({\n @Result(property = \"routeNumber\", column = \"route_number\"),\n @Result(property = \"firstDepartureTime\", column = \"first_departure_time\"),\n @Result(property = \"lastDepartureTime\", column = \"last_departure_time\"),\n @Result(property = \"passStation\", column = \"pass_station\"),\n @Result(property = \"createTime\", column = \"create_time\")\n })\n BusRouteModel getOne(String routeNumber);\n\n @Insert(\"INSERT INTO bus_routes(route_number,first_departure_time,last_departure_time, pass_station,create_time) VALUES(#{routeNumber}, #{firstDepartureTime}, #{lastDepartureTime},#{passStation},#{createTime})\")\n Long save(BusRouteModel busRoute);\n\n @Update(\"UPDATE bus_routes SET first_departure_time=#{firstDepartureTime},last_departure_time=#{lastDepartureTime},pass_station=#{passStation},create_time=#{createTime} WHERE route_number =#{routeNumber}\")\n Long modify(BusRouteModel busRoute);\n\n @Delete(\"DELETE FROM bus_routes WHERE route_number =#{routeNumber}\")\n Long remove(String routeNumber);\n\n}", "title": "" }, { "docid": "4cbbd95e0d280d7476b7715a7ebe03b4", "score": "0.46214893", "text": "public void setPlantingEndDate (Timestamp PlantingEndDate);", "title": "" }, { "docid": "1870d206064fdd7c05fd4ca3003b826f", "score": "0.46166185", "text": "public Timer getDelayTimer(){\r\n\t\treturn tmrDelay;\r\n\t}", "title": "" }, { "docid": "136c15f9ca39cf4d15670184dd2c8d08", "score": "0.46136945", "text": "@Override\n\tpublic void applyTempCircuitDelayByID(String id) {\n\t\tTempCircuit tempCircuit = tempCircuitDao.findById(id);\n\t\tCalendar calendar = tempCircuit.getPlanEndTime();\n\t\tcalendar.add(Calendar.DATE, 15);\n\t\ttempCircuit.setPlanEndTime(calendar);\n\t\ttempCircuit.setCircuitExpireType(CircuitExpireType.NORMAL);\n\t\ttempCircuit.setApplyDelay(true);\n\t\ttempCircuit.setUpdateTime(Calendar.getInstance());\n\t\ttempCircuitDao.saveOrUpdate(tempCircuit);\n\t}", "title": "" }, { "docid": "51ad81f0b79f41ae8d7db4045e6dccf5", "score": "0.46042466", "text": "public int getDepartureTime() { return this.departure_time; }", "title": "" }, { "docid": "f96b32e12fefc7c51a36ee14fe1cb4a1", "score": "0.45967963", "text": "public static void setDelayedTime(int service, Object value)\n {\n \tdatabase.busDatabase.set_value(\"service\", service, \"delayedTime\", value);\n }", "title": "" }, { "docid": "30c6912c6d0f20812a51feff121ce02b", "score": "0.4590332", "text": "public float getDelay() {\t\t\n\t\treturn cp.getDelay();\n\t}", "title": "" }, { "docid": "fa5dc3c02a7898e01486ce666d788699", "score": "0.4583624", "text": "@Override\n public ObservableList<CountedTime> loadTimeForTask(int taskId) throws SQLException {\n\n Connection con = null;\n ObservableList<CountedTime> tasks = FXCollections.observableArrayList();\n\n try {\n con = DBSettings.getInstance().getConnection();\n String sql = \"SELECT * FROM Tasks WHERE Tasks.taskID = ? ORDER BY Tasks.startTime asc\";\n PreparedStatement stmt = con.prepareStatement(sql);\n\n stmt.setInt(1, taskId);\n ResultSet rs = stmt.executeQuery();\n\n while (rs.next()) {\n\n int id = rs.getInt(\"ID\");\n int time = rs.getInt(\"time\");\n Date startTime = TimeConverter.convertStringToDateDB(rs.getString(\"startTime\"));\n Date stopTime = TimeConverter.convertStringToDateDB(rs.getString(\"stopTime\"));\n boolean isBillable = rs.getBoolean(\"isBillable\");\n\n CountedTime countedTime = new CountedTime(time, startTime, stopTime);\n countedTime.setId(id);\n countedTime.setBillable(isBillable);\n tasks.add(countedTime);\n }\n return tasks;\n\n } finally {\n DBSettings.getInstance().releaseConnection(con);\n }\n }", "title": "" }, { "docid": "58595a5e2cb362ae0023900c172d28c4", "score": "0.45830587", "text": "@Column(name=\"EXECUTETIME\", nullable=true)\n/* */ public Date getExecutetime()\n/* */ {\n/* 88 */ return this.executetime;\n/* */ }", "title": "" }, { "docid": "af4e4bf61dfe74093a1253adcd5bfac6", "score": "0.45800453", "text": "public List<Patient> getPatientsWaitingConsultation() {\n List<Patient> pw = entityManager.createQuery(\"from Patient p WHERE p.readyForConsultation = 1 and p.active = 1\")\n .getResultList();\n\n return pw;\n }", "title": "" }, { "docid": "eb9e67ec77d03f0e74b00928148e014d", "score": "0.45782906", "text": "int getInitialDelay ();", "title": "" }, { "docid": "0647cfdb2eb9a53875ddaa6aed33978c", "score": "0.45722783", "text": "public List<DataRecord> getSqlForUpdateEquipmentPort() {\n\n // SELECT DOWNHILL_TABLE, DOWNHILL_KEY,CASE WHEN DOWNHILL_TABLE='pb' THEN DOWNHILL_POSITION\n // ELSE DOWNHILL_KEY END as DOWNHILL_VALUE,\n // UPHILL_TABLE, UPHILL_KEY, CASE WHEN UPHILL_TABLE='pb' THEN UPHILL_POSITION ELSE\n // UPHILL_KEY END as UPHILL_VALUE\n // FROM AFM_TCCN WHERE\n // UPHILL_TABLE NOT IN ('ca','cp','port')\n // AND DOWNHILL_TABLE IN ('ndport', 'eqport', 'cdport')\n\n final String eqPortUpdateSql = SELECT + LTRIM_RTRIM + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM\n + ALIAS + DOWNHILL_TABLE_FLD + FIELD_SEPARATOR + LTRIM_RTRIM + DOWNHILL_KEY_FLD\n + END_LTRIM_RTRIM + ALIAS + DOWNHILL_KEY_FLD + FIELD_SEPARATOR + CASE_WHEN\n + LTRIM_RTRIM + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM + EQUALS + SQL_QUOTE + PB_TABLE\n + SQL_QUOTE + THEN + LTRIM_RTRIM + DOWNHILL_POSITION_FLD + END_LTRIM_RTRIM + ELSE\n + LTRIM_RTRIM + DOWNHILL_KEY_FLD + END_LTRIM_RTRIM + END + ALIAS + DOWNHILL_VALUE\n + FIELD_SEPARATOR + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + ALIAS\n + UPHILL_TABLE_FLD + FIELD_SEPARATOR + LTRIM_RTRIM + UPHILL_KEY_FLD\n + END_LTRIM_RTRIM + ALIAS + UPHILL_KEY_FLD + FIELD_SEPARATOR + CASE_WHEN\n + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + EQUALS + SQL_QUOTE + PB_TABLE\n + SQL_QUOTE + THEN + LTRIM_RTRIM + UPHILL_POSITION_FLD + END_LTRIM_RTRIM + ELSE\n + LTRIM_RTRIM + UPHILL_KEY_FLD + END_LTRIM_RTRIM + END + ALIAS + UPHILL_VALUE + FROM\n + AFM_TCCN_TABLE + WHERE + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + NOT_IN\n + OPEN_PARENTHESIS + TABLES_NOT_MIGRATED + CLOSED_PARENTHESIS + AND + LTRIM_RTRIM\n + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM + IN_SQL + OPEN_PARENTHESIS + SQL_QUOTE\n + NDPORT_TABLE + SQL_QUOTE + FIELD_SEPARATOR + SQL_QUOTE + EQPORT_TABLE + SQL_QUOTE\n + FIELD_SEPARATOR + SQL_QUOTE + CDPORT_TABLE + SQL_QUOTE + CLOSED_PARENTHESIS;\n\n this.log.info(SELECT_STATEMENT_MESSAGE + \" for updating Equipment Ports Connections: \"\n + eqPortUpdateSql);\n\n final DataSource dsEquipmentPort = DataSourceFactory.createDataSource();\n\n dsEquipmentPort.addTable(AFM_TCCN_TABLE);\n dsEquipmentPort.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_TABLE_FLD,\n DataSource.DATA_TYPE_TEXT);\n dsEquipmentPort.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_KEY_FLD,\n DataSource.DATA_TYPE_TEXT);\n dsEquipmentPort.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_VALUE, DataSource.DATA_TYPE_TEXT);\n dsEquipmentPort.addVirtualField(AFM_TCCN_TABLE, UPHILL_TABLE_FLD,\n DataSource.DATA_TYPE_TEXT);\n dsEquipmentPort.addVirtualField(AFM_TCCN_TABLE, UPHILL_KEY_FLD, DataSource.DATA_TYPE_TEXT);\n dsEquipmentPort.addVirtualField(AFM_TCCN_TABLE, UPHILL_VALUE, DataSource.DATA_TYPE_TEXT);\n dsEquipmentPort.setApplyVpaRestrictions(false);\n dsEquipmentPort.setMaxRecords(0);\n dsEquipmentPort.addQuery(eqPortUpdateSql);\n\n this.log.info(\"Equipment PORT query: \" + eqPortUpdateSql);\n\n return dsEquipmentPort.getRecords();\n }", "title": "" }, { "docid": "ca0d3d63ac6f7d6dea1588de00f4af0f", "score": "0.4562381", "text": "int updateByExampleSelective(@Param(\"record\") CMeetingDelay record, @Param(\"example\") CMeetingDelayExample example);", "title": "" }, { "docid": "b38d7f442e532491f0efe0c350dbdf09", "score": "0.45606902", "text": "public long getDecideDeadline();", "title": "" }, { "docid": "8bc528261df86f3081c6c8847c6b94d6", "score": "0.45475024", "text": "public void setDelayTime(int delayTime) {\n this.delayTime = delayTime;\n }", "title": "" }, { "docid": "abf7b57f9b8ed55a6a671236d2ddf730", "score": "0.45464295", "text": "@Mapper\npublic interface TimingRepository extends DefaultMapper<Timing> {\n\n\n @Select(\"select * form timing where account_id = #{0} and is_deleted = 0 \")\n List<Timing> selectByAccountId(Long id);\n\n\n\n\n}", "title": "" }, { "docid": "b33357df3c1d0fbf374e1c943558de52", "score": "0.4545187", "text": "@Insert({\n \"insert into task_chain (chain_status, chain_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at, \",\n \"rules)\",\n \"values (#{chainStatus,jdbcType=INTEGER}, #{chainName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, \",\n \"#{rules,jdbcType=LONGVARCHAR})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(TaskChainPO record);", "title": "" }, { "docid": "33af2aafc75fb8bb6f2a5466a48a3d82", "score": "0.45402032", "text": "public final void schedule(long delay) {\n \t\tsuper.schedule(delay);\n \t}", "title": "" }, { "docid": "f105ddc00a01de2721c31ffa3471bad3", "score": "0.45381626", "text": "public interface DelinoteTransMapper {\n final class SqlProvider extends SQL{\n /**\n * 发货通知单物流查询SQL\n */\n private void selectDelinoteTransSQL(){\n SELECT(\"m.doc_no as docNo\");\n SELECT(\"ou.ou_name as ouName\");\n SELECT(\"so.so_no as soNo\");\n SELECT(\"cust.cust_name as custName\");\n SELECT(\"t.trans_company_addrno as transCompanyAddrno\");\n SELECT(\"t.cargo_no as cargoNo\");\n SELECT(\"t.cargo_pic as cargoPic\");\n SELECT(\" t.cargo_person as cargoPerson\");\n SELECT(\"t.fee1 as fee1\");\n SELECT(\"t.fee2 as fee2\");\n }\n\n /**\n * 表关联\n */\n private void selectConidtion(){\n FROM(\"T_DELINOTE_DELI t\");\n LEFT_OUTER_JOIN(\"t_delinote_prod d on t.delinote_prod_id = d.id\");\n LEFT_OUTER_JOIN(\"t_delinote m on d.delinote_id = m.id\");\n LEFT_OUTER_JOIN(\"t_ou ou on m.ou_id = ou.id\");\n LEFT_OUTER_JOIN(\"t_so so on d.so_id = so.id\");\n LEFT_OUTER_JOIN(\"t_cust cust on d.cust_id = cust.id\");\n }\n private void selectDelinoteTransWhere(@Param(\"deli\") DelinoteDeliCondition deli){\n if (!StringUtils.isEmpty(deli.getTransCompanyAddrno())) {\n WHERE(\"t.trans_company_addrno =#{deli.transCompanyAddrno}\");\n }\n if (!StringUtils.isEmpty(deli.getCargoPic())) {\n WHERE(\"t.cargo_pic =#{deli.cargoPic}\");\n }\n if (!StringUtils.isEmpty(deli.getCargoNo())) {\n WHERE(\"t.cargo_no =#{deli.cargoNo}\");\n }\n if (null != deli.getDemandDeliDateFrom()) {\n WHERE(\"t.deli_date >=#{deli.demandDeliDateFrom}\");\n }\n if (null != deli.getDemandDeliDateTo()) {\n WHERE(\"t.deli_date <=#{deli.demandDeliDateTo}\");\n }\n }\n private static final String SELECT_DELINOTETRANS = \"selectDelinoteTrans\";\n\n public String selectDelinoteTrans(@Param(\"deli\") DelinoteDeliCondition deli) {\n selectDelinoteTransSQL();\n selectConidtion();\n selectDelinoteTransWhere(deli);\n return SqlUtil.paging(toString(), deli);\n }\n\n /**\n * 分页总数量\n */\n private static final String SELECT_DELINOTETRANS_NUM = \"selectDelinoteTransNum\";\n public String selectDelinoteTransNum(@Param(\"deli\") DelinoteDeliCondition deli) {\n SELECT(\"count(1) as value\");\n selectConidtion();\n selectDelinoteTransWhere(deli);\n return toString();\n }\n }\n /**\n * 发货通知单物流查询\n * @param deli\n * @return\n */\n @SelectProvider(type = SqlProvider.class, method = SqlProvider.SELECT_DELINOTETRANS)\n List<DelinoteDeliDomain> selectDelinoteTrans(@Param(\"deli\") DelinoteDeliCondition deli);\n\n /**\n * 分页\n * @param deli\n * @return\n */\n @SelectProvider(type = SqlProvider.class, method = SqlProvider.SELECT_DELINOTETRANS_NUM)\n Integer selectDelinoteTransNum(@Param(\"deli\") DelinoteDeliCondition deli);\n}", "title": "" }, { "docid": "2b97430967a1c8f3d62950c374480360", "score": "0.45331535", "text": "public void delay(long delay) {\n this.delay = delay;\n }", "title": "" }, { "docid": "531442a758b136dda86192209a824d06", "score": "0.45307836", "text": "DelayLiteral createDelayLiteral();", "title": "" }, { "docid": "4f4d2514069a19c7b2212f0538e2fb21", "score": "0.45290053", "text": "@Mapper\npublic interface EventBannerMapper {\n @Select(\"select id, title, banner, start_date, end_date from event where end_date >= CURRENT_TIMESTAMP\")\n List<EventBanner> getAllEventBanner();\n\n}", "title": "" }, { "docid": "ee897d1f4cc0e1f92a7b9bcda04bc80e", "score": "0.45269394", "text": "public final void mWAIT_DELAY() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = WAIT_DELAY;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// /Users/myers/research/nobackup/workspace/BioSim/gui/src/lpn/parser/properties/Property.g:64:2: ( 'waitDelay' )\n\t\t\t// /Users/myers/research/nobackup/workspace/BioSim/gui/src/lpn/parser/properties/Property.g:64:2: 'waitDelay'\n\t\t\t{\n\t\t\tmatch(\"waitDelay\"); \n\n\t\t\t}\n\n\t\t\tstate.type = _type;\n\t\t\tstate.channel = _channel;\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t}", "title": "" }, { "docid": "7c84bade762e9e834647298766a4d9d6", "score": "0.44961917", "text": "public List<DataRecord> getSqlForUpdateEquipment() {\n\n // SELECT DOWNHILL_TABLE, DOWNHILL_KEY,CASE WHEN DOWNHILL_TABLE='pb' THEN DOWNHILL_POSITION\n // ELSE DOWNHILL_KEY END as DOWNHILL_VALUE,\n // UPHILL_TABLE, UPHILL_KEY, CASE WHEN UPHILL_TABLE='pb' THEN UPHILL_POSITION ELSE\n // UPHILL_KEY END as UPHILL_VALUE\n // FROM AFM_TCCN WHERE\n // UPHILL_TABLE NOT IN ('ca','cp','port')\n // AND DOWNHILL_TABLE IN ('netdev', 'eq', 'card')\n final String eqUpdateSql = SELECT + LTRIM_RTRIM + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM\n + ALIAS + DOWNHILL_TABLE_FLD + FIELD_SEPARATOR + LTRIM_RTRIM + DOWNHILL_KEY_FLD\n + END_LTRIM_RTRIM + ALIAS + DOWNHILL_KEY_FLD + FIELD_SEPARATOR + CASE_WHEN\n + LTRIM_RTRIM + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM + EQUALS + SQL_QUOTE + PB_TABLE\n + SQL_QUOTE + THEN + LTRIM_RTRIM + DOWNHILL_POSITION_FLD + END_LTRIM_RTRIM + ELSE\n + LTRIM_RTRIM + DOWNHILL_KEY_FLD + END_LTRIM_RTRIM + END + ALIAS + DOWNHILL_VALUE\n + FIELD_SEPARATOR + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + ALIAS\n + UPHILL_TABLE_FLD + FIELD_SEPARATOR + LTRIM_RTRIM + UPHILL_KEY_FLD\n + END_LTRIM_RTRIM + ALIAS + UPHILL_KEY_FLD + FIELD_SEPARATOR + CASE_WHEN\n + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + EQUALS + SQL_QUOTE + PB_TABLE\n + SQL_QUOTE + THEN + LTRIM_RTRIM + UPHILL_POSITION_FLD + END_LTRIM_RTRIM + ELSE\n + LTRIM_RTRIM + UPHILL_KEY_FLD + END_LTRIM_RTRIM + END + ALIAS + UPHILL_VALUE + FROM\n + AFM_TCCN_TABLE + WHERE + LTRIM_RTRIM + UPHILL_TABLE_FLD + END_LTRIM_RTRIM + NOT_IN\n + OPEN_PARENTHESIS + TABLES_NOT_MIGRATED + CLOSED_PARENTHESIS + AND + LTRIM_RTRIM\n + DOWNHILL_TABLE_FLD + END_LTRIM_RTRIM + IN_SQL + OPEN_PARENTHESIS + SQL_QUOTE\n + NETDEV_TABLE + SQL_QUOTE + FIELD_SEPARATOR + SQL_QUOTE + EQ_TABLE + SQL_QUOTE\n + FIELD_SEPARATOR + SQL_QUOTE + CARD_TABLE + SQL_QUOTE + CLOSED_PARENTHESIS;\n\n this.log\n .info(SELECT_STATEMENT_MESSAGE + \" for updating Equipment connections: \" + eqUpdateSql);\n\n final DataSource dsEquipment = DataSourceFactory.createDataSource();\n\n dsEquipment.addTable(AFM_TCCN_TABLE);\n dsEquipment.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_TABLE_FLD, DataSource.DATA_TYPE_TEXT);\n dsEquipment.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_KEY_FLD, DataSource.DATA_TYPE_TEXT);\n dsEquipment.addVirtualField(AFM_TCCN_TABLE, DOWNHILL_VALUE, DataSource.DATA_TYPE_TEXT);\n dsEquipment.addVirtualField(AFM_TCCN_TABLE, UPHILL_TABLE_FLD, DataSource.DATA_TYPE_TEXT);\n dsEquipment.addVirtualField(AFM_TCCN_TABLE, UPHILL_KEY_FLD, DataSource.DATA_TYPE_TEXT);\n dsEquipment.addVirtualField(AFM_TCCN_TABLE, UPHILL_VALUE, DataSource.DATA_TYPE_TEXT);\n\n dsEquipment.setApplyVpaRestrictions(false);\n dsEquipment.setMaxRecords(0);\n dsEquipment.addQuery(eqUpdateSql);\n\n return dsEquipment.getRecords();\n }", "title": "" }, { "docid": "b70fccee6dc1f1e892520212f4055706", "score": "0.4493649", "text": "public Builder setDelay(long value) {\n bitField0_ |= 0x00000004;\n delay_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "01537218c54153f79fdfa916d1266d6b", "score": "0.44871646", "text": "public double getDelays() {\n return delays;\n }", "title": "" }, { "docid": "05d4a73d6eaa2e9b5a5184ef6e4bb1f4", "score": "0.4486459", "text": "public scala.Option<java.lang.Object> processingDelay () { throw new RuntimeException(); }", "title": "" }, { "docid": "07f0530796d93dd931ce62b10ae6c846", "score": "0.4485078", "text": "public void setPeriod(int delay)\r\n\t{\r\n\t\tthis.delay = delay;\r\n\t\r\n\t}", "title": "" }, { "docid": "800f1c4399531101231782a2cd15778a", "score": "0.44845384", "text": "public short getDelayTimer(){\r\n return delayTimer;\r\n }", "title": "" }, { "docid": "156744cae0f5f497fed7e8ce6e31d605", "score": "0.4482012", "text": "@Test\n public void testSetDelay() {\n System.out.println(\"setDelay\");\n int delay = 10;\n JamDTO instance = new JamDTO();\n instance.setDelay(delay);\n assertEquals(delay,instance.getDelay());\n }", "title": "" }, { "docid": "161d9e700aad717c1762c14e97b09df0", "score": "0.4475171", "text": "@Mapper\npublic interface MachineMapper extends BaseMapper<Machine> {\n\n @Select(\"SELECT tc.coin_name AS coinTypeName, tm.mine_type AS mineType,tm.hashrate AS hashrate,tm.power AS POWER, tm.electricity AS electricity FROM t_merge tm ,t_cointype tc WHERE tm.coin_id = tc.id\")\n List<MachineWebModel> queryMachineAll();\n\n @Select(\"SELECT tc.coin_name AS coinTypeName, tm.mine_type AS mineType,tm.hashrate AS hashrate,tm.power AS POWER, tm.electricity AS electricity FROM t_merge tm ,t_cointype tc WHERE tm.coin_id = tc.id And tm.coin_id = #{coinId}\")\n List<MachineWebModel> queryMachineAllByCoin(@Param(value=\"coinId\")int coinId);\n\n}", "title": "" }, { "docid": "2b4a6d9fd41bb83273c29d8fafb16a74", "score": "0.44723567", "text": "void setWaitingDuration(long duration);", "title": "" }, { "docid": "eb34bf02af8232f5b69d678e7ed4c62d", "score": "0.4471423", "text": "public interface CircleCommentInfoAgreeMapperBase {\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param example CircleCommentInfoAgreeExample\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int countByExample(CircleCommentInfoAgreeExample example);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param example CircleCommentInfoAgreeExample\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int deleteByExample(CircleCommentInfoAgreeExample example);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param aid String\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int deleteByPrimaryKey(String aid);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param record CircleCommentInfoAgree\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int insert(CircleCommentInfoAgree record);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param record CircleCommentInfoAgree\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int insertSelective(CircleCommentInfoAgree record);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param example CircleCommentInfoAgreeExample\n *\n * @return the value of java.util.List<com.yizu.proj.sys.beans.CircleCommentInfoAgree>\n *\n * @mbggenerated\n */\n List<CircleCommentInfoAgree> selectByExample(CircleCommentInfoAgreeExample example);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param aid String\n *\n * @return the value of com.yizu.proj.sys.beans.CircleCommentInfoAgree\n *\n * @mbggenerated\n */\n CircleCommentInfoAgree selectByPrimaryKey(String aid);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param record CircleCommentInfoAgree\n * @param example CircleCommentInfoAgreeExample\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int updateByExampleSelective(@Param(\"record\") CircleCommentInfoAgree record, @Param(\"example\") CircleCommentInfoAgreeExample example);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param record CircleCommentInfoAgree\n * @param example CircleCommentInfoAgreeExample\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int updateByExample(@Param(\"record\") CircleCommentInfoAgree record, @Param(\"example\") CircleCommentInfoAgreeExample example);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param record CircleCommentInfoAgree\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int updateByPrimaryKeySelective(CircleCommentInfoAgree record);\n\n /**\n * This method was generated by MyBatis Generator.\n * This method corresponds to the database table circlecommentinfo_agree\n *\n * @param record CircleCommentInfoAgree\n *\n * @return the value of int\n *\n * @mbggenerated\n */\n int updateByPrimaryKey(CircleCommentInfoAgree record);\n}", "title": "" }, { "docid": "cd5f358fad1ca7aec65cefe2c394de2f", "score": "0.44686344", "text": "@Override\n public Integer retrieveBreakTime() {\n return getBreakTime();\n }", "title": "" }, { "docid": "6b1a3abc93065ed5a140745686bcae73", "score": "0.44609153", "text": "@Mapper\npublic interface NoticeMapper {\n @Select(\"select * from t_notice\")\n\n List<Notice> getnotice(Notice notice);\n @Select(\"select * from t_notice \" +\n \"LIMIT #{page},#{rows}\")\n List<Notice> querylistnotice(@Param(\"page\") Integer page, @Param(\"rows\") Integer rows, @Param(\"notice\") Notice notice);\n\n @Insert(\" insert into t_notice ( noticename, noticedate,noticebulletin )\" +\n \" values ( #{noticename}, #{noticedate}, #{noticebulletin})\")\n int addnotice(@Param(\"noticeid\") Integer noticeid,@Param(\"noticename\") String noticename, @Param(\"noticedate\") String noticedate,@Param(\"noticebulletin\") String noticebulletin);\n\n@Delete(\" delete from t_notice where noticeid= #{idss}\")\n void deletenotice(@Param(\"idss\")int idss);\n@Select(\"select * from t_notice where noticeid = #{noticeid}\")\n Notice upNotice(Integer noticeid);\n@Update(\"update t_notice set noticename = #{noticename},\" +\n \"noticedate = #{noticedate},noticebulletin = #{noticebulletin} where noticeid = #{noticeid}\")\n int updateNotice(Notice notice);\n@Select(\"select * from t_notice\")\n List<Notice> querynotices(Notice notice);\n\n @Select(\" SELECT * from t_notice where noticeid=#{noticeid} \")\n Notice noticesids(@Param(\"noticeid\") Integer noticeid);\n}", "title": "" }, { "docid": "d45ad3f5fbc91b1a524b8e357f37c190", "score": "0.44591922", "text": "public void setDelay(long delay) {\n\t\tif (delay > 0) {\n\t\t\tthis.delay = delay;\n\t\t} else {\n\t\t\tthis.delay = 1000;\n\t\t}\n\t}", "title": "" }, { "docid": "08ebad8550535f3ff8c839ebae935a5e", "score": "0.44569585", "text": "public long getCallDelay();", "title": "" }, { "docid": "e1fb4229bf4227f70fdd54032ffd5f65", "score": "0.44549602", "text": "public long getDeadline();", "title": "" }, { "docid": "9d4b084b25229a81175c1027f341c447", "score": "0.44513714", "text": "@Test\n public void testDelay() {\n System.out.println(\"delay\");\n int lamaWaktu = 0;\n Dunia instance = Dunia.getDunia();\n instance.delay(lamaWaktu);\n }", "title": "" }, { "docid": "61591a52a82b5381622fc226861fc824", "score": "0.44485435", "text": "@Mapper\n@Component\npublic interface SystemMessageDao {\n String TABLE_NAME=\" system_message \";\n String INSERT_FIELDS=\" from_id, to_id, content, has_read, create_time, entity_id, entity_type \";\n String SELECT_FIELDS=\" id, \" + INSERT_FIELDS;\n\n\n @Insert({\"insert into \",TABLE_NAME, \"(\", INSERT_FIELDS,\n \") values(#{fromId},#{toId},#{content},#{hasRead},#{createTime},#{entityId},#{entityType})\"})\n int addSystemMessage(SystemMessage systemMessage);\n\n @Select({\"select \", SELECT_FIELDS, \" from \", TABLE_NAME, \" where id=#{id}\"})\n SystemMessage selectSystemMessageById(int id);\n\n @Select({\"select \", SELECT_FIELDS, \" from \", TABLE_NAME, \" where to_id=#{toid} order by create_time desc limit #{limit},#{offset}\"})\n List<SystemMessage> selectSystemMessageByToId(@Param(\"toid\") int toid,\n @Param(\"limit\") int limit,\n @Param(\"offset\") int offset);\n\n @Select({\"select count(*) from \", TABLE_NAME, \" where to_id=#{toid}\"})\n int systemMessageAmount(int toid);\n\n @Update({\"update \",TABLE_NAME, \" set has_read = 1 where id=#{id}\"})\n void setMessagesRead(SystemMessage systemMessage);\n\n @Update({\"update \",TABLE_NAME, \" set head_url=#{headUrl} where id=#{id}\"})\n int updateHeadUrl(User user);\n}", "title": "" }, { "docid": "17cdbc8ea4e6f66060ffe3228e7c1ce2", "score": "0.44476452", "text": "private static long setDelayDuration(){\n long curTime = System.currentTimeMillis();\n long diff = curTime - lastRecordedTime;\n\n //Check if minimum time between recordings has elapsed\n if (diff > minTimeBtnRecordings ){\n setShouldConnect();\n return 0;\n }else{\n resetShouldConnect();\n\n if (ble != null){\n ble.reStartBleCallback();\n }\n\n return (minTimeBtnRecordings - diff); //return remaining time to try to connect ;\n }\n }", "title": "" } ]
d3ac542854b74f0c9152cce894ca845b
repeated .dstore.engine.MetaInformation meta_information = 2;
[ { "docid": "6087f7e4d7bf9c6c1263e9e3aad88710", "score": "0.0", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n if (metaInformationBuilder_ == null) {\n return metaInformation_.get(index); } else {\n return metaInformationBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" } ]
[ { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67633474", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67633474", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67633474", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67633474", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67633474", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "d04353ca9aa9352c82a3eada6ba5f135", "score": "0.6576437", "text": "void metadata(int i, Object meta);", "title": "" }, { "docid": "970612e346efdacb4d35d01439428ad1", "score": "0.60300744", "text": "MetaInfoManager metaInfo();", "title": "" }, { "docid": "c4f9536bcf02769c18b365080f05bd86", "score": "0.5878858", "text": "Object metadata();", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.58725345", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.58725345", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.58725345", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.58725345", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.58725345", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5843439", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5843439", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5843439", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5843439", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5843439", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "14df89a5c3bf5ecacbd43c46230b1ab9", "score": "0.5824506", "text": "public int getMetadata()\r\n/* 67: */ {\r\n/* 68: 68 */ return 3;\r\n/* 69: */ }", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.5685818", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.5685818", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.5685818", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.5685818", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.5685818", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "5222916c062a1fb607b697e96f89c932", "score": "0.5673522", "text": "MetaInfo getMetainfo();", "title": "" }, { "docid": "a58086f0fb2ff73a31c8e40ec29dc08b", "score": "0.5673191", "text": "@Override\n\tpublic void visit(MetaAdd n) {\n\n\t}", "title": "" }, { "docid": "e1b8d14ce7395242af03467d3ab04163", "score": "0.5624807", "text": "@Override\n\tpublic void visit(MetaMapAcces n) {\n\n\t}", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5602011", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5602011", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5602011", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5602011", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5602011", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "595f5ebb7e99ec6fda24cac2deffb5b4", "score": "0.5586672", "text": "@Override\n\tpublic void visit(MetaTyMeta n) {\n\n\t}", "title": "" }, { "docid": "d322bbfb2153717fc661cc8367a81535", "score": "0.5571897", "text": "@Override\n\tpublic void visit(MetaTyMap n) {\n\n\t}", "title": "" }, { "docid": "ae6bd6ff0d47aa32a12cd0ca46fbdf04", "score": "0.5538648", "text": "private void addMetaData() {\n\t\tString metashopName = LocalProperties.get(NexusDataWriter.GDA_NEXUS_METADATAPROVIDER_NAME,\"metashop\");\n\t\tNXMetaDataProvider metashop = Finder.find(metashopName);\n\t\tif (metashop != null) {\n\t\t\tString key = TimeResolvedExperimentParameters.class.getSimpleName();\n\t\t\tif (timeResolvedExperimentParameters != null) {\n\t\t\t\ttry {\n\t\t\t\t\tlogger.info(\"Adding {} to 'before_scan' metadata\", key);\n\t\t\t\t\tmetashop.add(key, timeResolvedExperimentParameters.toXML());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tlogger.error(\"Problem adding metadata\", e);\n\t\t\t\t\t// remove any previous entry\n\t\t\t\t\tmetashop.remove(key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// remove previous entry if parameters object has not been set for this scan\n\t\t\t\tmetashop.remove(key);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "402dd3b1dcd6dee124d06cde0329399f", "score": "0.55079585", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder() {\n return getMetaInformationFieldBuilder().addBuilder(\n io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "402dd3b1dcd6dee124d06cde0329399f", "score": "0.55079585", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder() {\n return getMetaInformationFieldBuilder().addBuilder(\n io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "402dd3b1dcd6dee124d06cde0329399f", "score": "0.55079585", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder() {\n return getMetaInformationFieldBuilder().addBuilder(\n io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "402dd3b1dcd6dee124d06cde0329399f", "score": "0.55079585", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder() {\n return getMetaInformationFieldBuilder().addBuilder(\n io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "402dd3b1dcd6dee124d06cde0329399f", "score": "0.55079585", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder() {\n return getMetaInformationFieldBuilder().addBuilder(\n io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "b0e6fa11c013c19347f18bb8d322d603", "score": "0.5502026", "text": "@Override\npublic void setMetadata(String arg0, MetadataValue arg1) {\n\t\n}", "title": "" }, { "docid": "ca5fd161c83346c6a8659c971023b04e", "score": "0.54590446", "text": "org.openarchives.www.oai._2_0.MetadataType addNewMetadata();", "title": "" }, { "docid": "816deccaf85488bd9048514a71cbc0c7", "score": "0.5456285", "text": "public void setMeta(Meta meta) {\n\tthis.meta = meta;\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.5409665", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.5409665", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.5409665", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.5409665", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.5409665", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "622b30d9053a5af7e3478bea1a67801f", "score": "0.54092467", "text": "public void setMeta(Map<String, String> meta) {\n this.meta = meta;\n }", "title": "" }, { "docid": "1904ece80aec5523bebdaca05ac66535", "score": "0.5396476", "text": "Meta getExampleMeta();", "title": "" }, { "docid": "36f29bc94e22612ee41f84ce68e7fc5c", "score": "0.5395699", "text": "Meta getFixedMeta();", "title": "" }, { "docid": "4745f707d8f8a1c0d2a889fead8e40c5", "score": "0.53849494", "text": "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-03-25 14:54:52.122 -0400\", hash_original_method = \"32A158239F64D8DE54FA17667F023524\", hash_generated_method = \"01F7F1A919C6AE433068D1E4252B151F\")\n \nprivate ExtendedMetadataParser(byte[] constraintData) {\n //Extract KeyValue Pair Info, till terminator occurs.\n int index = 0;\n\n while (index < constraintData.length) {\n //Parse Key Length\n int keyLength = readByte(constraintData, index);\n index++;\n\n //Parse Value Length\n int valueLength = readByte(constraintData, index);\n index++;\n\n //Fetch key\n String strKey = readMultipleBytes(constraintData, keyLength, index);\n index += keyLength;\n\n //Fetch Value\n String strValue = readMultipleBytes(constraintData, valueLength, index);\n if (strValue.equals(\" \")) {\n strValue = \"\";\n }\n index += valueLength;\n mMap.put(strKey, strValue);\n }\n }", "title": "" }, { "docid": "358f4bc6c8f70ae68ccdb9311c9dd6b9", "score": "0.5377531", "text": "@Override\n\tpublic void visit(MetaVar n) {\n\n\t}", "title": "" }, { "docid": "7ce80f26f2f3651c3dc0423ae490bd8a", "score": "0.53480804", "text": "@Override\n\tpublic void visit(MetaMapLit n) {\n\n\t}", "title": "" }, { "docid": "02ed5ed3716d7d1350ceffd32e4e8bc4", "score": "0.53463197", "text": "@Override\n\tpublic void visit(MetaUpdatePEG n) {\n\n\t}", "title": "" }, { "docid": "ae240dd1241cd391505b2991848e9af1", "score": "0.53350115", "text": "@Override\n\tpublic void visit(MetaMod n) {\n\n\t}", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.53262067", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.53262067", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.53262067", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.53262067", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.53262067", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "f6c278445b9fd2e065fb080079569007", "score": "0.53043675", "text": "@Override\n protected void postVisitMeta() {\n }", "title": "" }, { "docid": "1dde860a2f311b404ab6e9d7d6f4d11f", "score": "0.5303772", "text": "public int getMetadata()\r\n\t\t{\r\n\t\t\treturn this.meta;\r\n\t\t}", "title": "" }, { "docid": "c849fd5853415027a22962ec2064549e", "score": "0.52923363", "text": "@Override\n\tpublic void visit(MetaMapExtension n) {\n\n\t}", "title": "" }, { "docid": "068d3ef5c18fc9eb49ae993ddf7ee04d", "score": "0.5291734", "text": "public void setMeta(EnumResearchMeta[] meta) { this.meta = meta; }", "title": "" }, { "docid": "2859e8647e3812277ea9d546406a2e3e", "score": "0.52828467", "text": "int getMetaState();", "title": "" }, { "docid": "655a1b6448e9a6bc81ced920d77e5dc0", "score": "0.52814966", "text": "@Override\n protected void preVisitMeta() {\n }", "title": "" }, { "docid": "152883cd5805d5af5c91ae9fd44fb3b0", "score": "0.52490705", "text": "@Override\r\n\t/**\r\n\t * Returns the metadata\r\n\t */\r\n\tpublic Meta_data get_Meta_data() {\n\t\treturn md;\r\n\t\t\t\t}", "title": "" }, { "docid": "62d730243c814013e7c703b35d389d35", "score": "0.5246963", "text": "@Override\n\tpublic void visit(MetaPKleene n) {\n\n\t}", "title": "" }, { "docid": "2eb00d99208e5403524d9f3fb87597e3", "score": "0.5245516", "text": "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "title": "" }, { "docid": "2eb00d99208e5403524d9f3fb87597e3", "score": "0.5245516", "text": "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "title": "" }, { "docid": "2eb00d99208e5403524d9f3fb87597e3", "score": "0.5245516", "text": "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "title": "" }, { "docid": "2eb00d99208e5403524d9f3fb87597e3", "score": "0.5245516", "text": "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "title": "" }, { "docid": "2eb00d99208e5403524d9f3fb87597e3", "score": "0.5245516", "text": "java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList();", "title": "" }, { "docid": "d3c4c2651a8cf61ff15ad86c801cb881", "score": "0.52437913", "text": "@ImplementedBy(SimpleInstanceStore.class)\npublic interface InstancesStore extends Iterable<Vector> {\n\n Vector instance(int i);\n\n double value(int i, int j);\n\n int numInstances();\n\n int numFeatures();\n\n /**\n * @param i instance number\n * @return the metadata of the given instance number\n */\n Object metadata(int i);\n\n /**\n * sets the metadata of the given instance number\n *\n * @param i the instance number\n * @param meta the metadata to set\n */\n void metadata(int i, Object meta);\n\n @Override\n default Iterator<Vector> iterator() {\n return instancesStream().iterator();\n }\n\n default Stream<Vector> instancesStream() {\n return IntStream.range(0, numInstances())\n .mapToObj(this::instance);\n }\n}", "title": "" }, { "docid": "5e32f59e8e82307afc0ef876b1abb8cb", "score": "0.52255666", "text": "@Override\n\tpublic void processMetadata(MetaData metaData)\n\t{\n\t}", "title": "" }, { "docid": "c414a3945fc5b87fb904e1ec4e80e59b", "score": "0.52158266", "text": "public interface ISageCustomMetadataRW extends ISageMetadata {\n /**\n * MediaTitle is used ONLY for Fanart purposes\n *\n * @return\n */\n @SageProperty(\"MediaTitle\")\n public String getMediaTitle();\n\n @SageProperty(\"MediaTitle\")\n public void setMediaTitle(String title);\n\n @SageProperty(\"MediaType\")\n public String getMediaType();\n\n @SageProperty(\"MediaType\")\n public void setMediaType(String type);\n\n @SageProperty(\"SeasonNumber\")\n public int getSeasonNumber();\n\n @SageProperty(\"SeasonNumber\")\n public void setSeasonNumber(int num);\n\n @SageProperty(\"EpisodeNumber\")\n public int getEpisodeNumber();\n\n @SageProperty(\"EpisodeNumber\")\n public void setEpisodeNumber(int num);\n\n @SageProperty(\"IMDBID\")\n public String getIMDBID();\n\n @SageProperty(\"IMDBID\")\n public void setIMDBID(String id);\n\n @SageProperty(\"DiscNumber\")\n public int getDiscNumber();\n\n @SageProperty(\"DiscNumber\")\n public void setDiscNumber(int disc);\n\n @SageProperty(\"MediaProviderID\")\n public String getMediaProviderID();\n\n @SageProperty(\"MediaProviderID\")\n public void setMediaProviderID(String id);\n\n @SageProperty(\"MediaProviderDataID\")\n public String getMediaProviderDataID();\n\n @SageProperty(\"MediaProviderDataID\")\n public void setMediaProviderDataID(String id);\n\n /**\n * UserRating should be a value between 0 and 100, so a rating of \"9.5\"\n * would actually be \"95\"\n *\n * @return\n */\n @SageProperty(\"UserRating\")\n public int getUserRating();\n\n @SageProperty(\"UserRating\")\n public void setUserRating(int f);\n\n @SageProperty(value = \"Fanart\", listFactory = \"sagex.phoenix.metadata.proxy.MediaArtPropertyListFactory\")\n public List<IMediaArt> getFanart();\n\n @SageProperty(\"TrailerUrl\")\n public String getTrailerUrl();\n\n @SageProperty(\"TrailerUrl\")\n public void setTrailerUrl(String trailer);\n\n @SageProperty(\"SeriesInfoID\")\n public int getSeriesInfoID();\n\n @SageProperty(\"SeriesInfoID\")\n public void setSeriesInfoID(int id);\n\n /**\n * EpisodeCount is the count of episodes contained in the MediaFile\n * This will track situations where a pilot may contain 2 or more episodes in the single file\n * An unset value will be considered equal to 1 episode\n *\n * @return\n */\n @SageProperty(\"EpisodeCount\")\n public int getEpisodeCount();\n\n @SageProperty(\"EpisodeCount\")\n public void setEpisodeCount(int count);\n\n /**\n * CollectionName is the name/title of the optional Movie collection/group that a movie belongs to\n *\n * @return\n */\n @SageProperty(\"CollectionName\")\n public String getCollectionName();\n\n @SageProperty(\"CollectionName\")\n public void setCollectionName(String name);\n\n /**\n * CollectionID is the ID of the optional Movie collection/group that a movie belongs to\n * the ID can link back to the provider such as TMDB to get associated collection fanart\n *\n * @return\n */\n @SageProperty(\"CollectionID\")\n public int getCollectionID();\n\n @SageProperty(\"CollectionID\")\n public void setCollectionID(int id);\n\n /**\n * CollectionOverview is the overview/description of the optional Movie collection/group\n *\n * @return\n */\n @SageProperty(\"CollectionOverview\")\n public String getCollectionOverview();\n\n @SageProperty(\"CollectionOverview\")\n public void setCollectionOverview(String overview);\n\n /**\n * DefaultPoster, DefaultBackground, and DefaultBanner should ONLY set the\n * relative path of the poster, background, banner, relative to the\n * CentralFanart dir.\n *\n * @return\n */\n @SageProperty(FieldName.DEFAULT_POSTER)\n public String getDefaultPoster();\n\n @SageProperty(FieldName.DEFAULT_POSTER)\n public void setDefaultPoster(String poster);\n\n @SageProperty(FieldName.DEFAULT_BANNER)\n public String getDefaultBanner();\n\n @SageProperty(FieldName.DEFAULT_BANNER)\n public void setDefaultBanner(String banner);\n\n @SageProperty(FieldName.DEFAULT_BACKGROUND)\n public String getDefaultBackground();\n\n @SageProperty(FieldName.DEFAULT_BACKGROUND)\n public void setDefaultBackground(String background);\n\n @SageProperty(FieldName.SCRAPED_BY)\n public String getScrapedBy();\n\n @SageProperty(FieldName.SCRAPED_BY)\n public void setScrapedBy(String by);\n\n @SageProperty(FieldName.SCRAPED_DATE)\n public Date getScrapedDate();\n\n @SageProperty(FieldName.SCRAPED_DATE)\n public void setScrapedDate(Date date);\n\n @SageProperty(\"MediaUrl\")\n public String getMediaUrl();\n\n @SageProperty(\"MediaUrl\")\n public void setMediaUrl(String trailer);\n\n @SageProperty(FieldName.TRIVIA)\n public String getTrivia();\n\n @SageProperty(FieldName.TRIVIA)\n public void setTrivia(String trivia);\n\n @SageProperty(FieldName.QUOTES)\n public String getQuotes();\n\n @SageProperty(FieldName.QUOTES)\n public void setQuotes(String quotes);\n\n @SageProperty(FieldName.TAGLINE)\n public String getTagLine();\n\n @SageProperty(FieldName.TAGLINE)\n public void setTagLine(String tagline);\n\n // fields for custom metadata that are references in other locations\n public static interface FieldName {\n public static final String TAGLINE = \"TagLine\";\n public static final String QUOTES = \"Quotes\";\n public static final String TRIVIA = \"Trivia\";\n\n public static final String DEFAULT_POSTER = \"DefaultPoster\";\n public static final String DEFAULT_BANNER = \"DefaultBanner\";\n public static final String DEFAULT_BACKGROUND = \"DefaultBackground\";\n public static final String SCRAPED_BY = \"ScrapedBy\";\n public static final String SCRAPED_DATE = \"ScrapedDate\";\n }\n}", "title": "" }, { "docid": "fcaaaf82f73795782a82d4863e596030", "score": "0.5203764", "text": "public NCLMeta() {}", "title": "" }, { "docid": "3fe92240efd8d700f9df7ddc7b838450", "score": "0.51996213", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder(\n int index) {\n return getMetaInformationFieldBuilder().addBuilder(\n index, io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "3fe92240efd8d700f9df7ddc7b838450", "score": "0.51996213", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder(\n int index) {\n return getMetaInformationFieldBuilder().addBuilder(\n index, io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "3fe92240efd8d700f9df7ddc7b838450", "score": "0.51996213", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder(\n int index) {\n return getMetaInformationFieldBuilder().addBuilder(\n index, io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "3fe92240efd8d700f9df7ddc7b838450", "score": "0.51996213", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder(\n int index) {\n return getMetaInformationFieldBuilder().addBuilder(\n index, io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "3fe92240efd8d700f9df7ddc7b838450", "score": "0.51996213", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder(\n int index) {\n return getMetaInformationFieldBuilder().addBuilder(\n index, io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" }, { "docid": "e0cc7b24652a820f0dc91c0fc3ed52ec", "score": "0.51921076", "text": "public abstract Metadata getMetadata();", "title": "" }, { "docid": "df6484bcf133ac98e908245a40c43213", "score": "0.5167192", "text": "public void addAllMetadata(List<Metadata> metas);", "title": "" }, { "docid": "1bf8694d857d4fab911baebba1c679b7", "score": "0.5162497", "text": "public interface MetadataContainer {\n Long getId();\n String getName();\n}", "title": "" }, { "docid": "19062e574678d750a4db4748d2c292d4", "score": "0.51618475", "text": "private int getMetaFields() throws IOException\n\t{\n\t\treturn getMetaValue().getMetaFields();\n\t}", "title": "" }, { "docid": "e457ebbde02bf5ea8a6d9378de829066", "score": "0.5146794", "text": "Metadata getMetadata();", "title": "" }, { "docid": "a9a584dc9db5cc0394db75ded551dda3", "score": "0.51449275", "text": "@Override\n public void initStore() {\n }", "title": "" }, { "docid": "4b617a37d96f59371bf17b05daad9cd6", "score": "0.5144474", "text": "@Override\n\tpublic void visit(MetaSub n) {\n\n\t}", "title": "" }, { "docid": "5c614def4d6c6df2e60e696e4bb69fe9", "score": "0.51339865", "text": "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "title": "" }, { "docid": "5c614def4d6c6df2e60e696e4bb69fe9", "score": "0.51339865", "text": "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "title": "" }, { "docid": "5c614def4d6c6df2e60e696e4bb69fe9", "score": "0.51339865", "text": "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "title": "" }, { "docid": "5c614def4d6c6df2e60e696e4bb69fe9", "score": "0.51339865", "text": "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "title": "" }, { "docid": "5c614def4d6c6df2e60e696e4bb69fe9", "score": "0.51339865", "text": "public java.util.List<? extends io.dstore.engine.MetaInformationOrBuilder> \n getMetaInformationOrBuilderList() {\n return metaInformation_;\n }", "title": "" }, { "docid": "24ac1a032d75f0097049c42d18ac6d85", "score": "0.5124651", "text": "private void metaTypeReachable(DuringAnalysisAccess access) {\n register(REZ_NAME_DATA_TYPE_SINGLETONS, this::registerSingletonAccess, access);\n //Now register implementors of org.h2.mvstore.type.StatefulDataType.Factory\n register(REZ_NAME_STATEFUL_DATATYPES, this::registerForReflection, access);\n }", "title": "" }, { "docid": "c7edd06036001d948cded0b380d4e8db", "score": "0.5119019", "text": "@Override\n\tpublic void visit(MetaAndPEG n) {\n\n\t}", "title": "" }, { "docid": "0412112152a877f3ca45137c443a80ee", "score": "0.5116446", "text": "public abstract Map<String, Metadata> getMetadata();", "title": "" }, { "docid": "d041b0c103cc489f26cc9c7f7cf2e292", "score": "0.50894994", "text": "@Override\n\tpublic void visit(TyMeta n) {\n\t\tSystem.out.println(\"Meta\");\n\t}", "title": "" }, { "docid": "7c4b835e52d1d9925e7578d1b5607867", "score": "0.5085613", "text": "@Override\n\tpublic void visit(MetaOr n) {\n\n\t}", "title": "" }, { "docid": "18dad682ce52ccceb9921d30c35ba553", "score": "0.5070891", "text": "public FieldMeta() {\n // build meta\n }", "title": "" } ]
9c219dfd338718dea86f12ea562eafc9
Gets (as xml) the "productName" element
[ { "docid": "f6c5a41bc092239385d3336e5dbf7248", "score": "0.72608566", "text": "au.gov.asic.types.SoapSoftwareIdentifierType.ProductName xgetProductName();", "title": "" } ]
[ { "docid": "d5e8535ffc8c29d14c5be41711e9f5da", "score": "0.7655483", "text": "java.lang.String getProductName();", "title": "" }, { "docid": "2845f309e2ec5abc5a25e5f8052bab18", "score": "0.74217117", "text": "public String getProductName() {\n return driver.findElement(productName).getText();\n }", "title": "" }, { "docid": "30c68f58576d931c55b18a4dcf4cd972", "score": "0.7253715", "text": "String getProductName();", "title": "" }, { "docid": "361b22211cd99a4160bc2d7d65c9de5b", "score": "0.7253261", "text": "public String getProductName();", "title": "" }, { "docid": "31e43c6f393fd2db738f6583a0e493f1", "score": "0.7208092", "text": "public String getName()\n\t{\n\t\treturn this.productName;\n\t}", "title": "" }, { "docid": "b21578012bf17520fb3412f8f40eabd2", "score": "0.71719617", "text": "public ProductNameStruct getProductName()\n{\n\tProductNameStruct nameStruct = ProductStructBuilder.buildProductNameStruct();\n\tnameStruct.productSymbol = getSymbol();\n\tnameStruct.reportingClass = getReportingClass().getSymbol();\n\treturn nameStruct;\n}", "title": "" }, { "docid": "64bf52bd9f87488b9e544a30e3c3ba0c", "score": "0.7147851", "text": "public String getProductName() {\n return this.productName;\n }", "title": "" }, { "docid": "1ca8b4bde555e64e9b2e4c9aa1481c72", "score": "0.70777005", "text": "public String getProductName() {\n return productName;\n }", "title": "" }, { "docid": "1ca8b4bde555e64e9b2e4c9aa1481c72", "score": "0.70777005", "text": "public String getProductName() {\n return productName;\n }", "title": "" }, { "docid": "1ca8b4bde555e64e9b2e4c9aa1481c72", "score": "0.70777005", "text": "public String getProductName() {\n return productName;\n }", "title": "" }, { "docid": "1ca8b4bde555e64e9b2e4c9aa1481c72", "score": "0.70777005", "text": "public String getProductName() {\n return productName;\n }", "title": "" }, { "docid": "1ca8b4bde555e64e9b2e4c9aa1481c72", "score": "0.70777005", "text": "public String getProductName() {\n return productName;\n }", "title": "" }, { "docid": "89fb4a6415d5302a3ce62b1b8defca83", "score": "0.7064587", "text": "public String getProductName() {\n return productName;\n }", "title": "" }, { "docid": "340584715cb214e1efc1f15382634a19", "score": "0.70502084", "text": "public String getProductName() {return productName;}", "title": "" }, { "docid": "452dfa8576d583b350c3464b878340ff", "score": "0.7004688", "text": "public String getProductName() {\n\t\treturn productName;\n\t}", "title": "" }, { "docid": "452dfa8576d583b350c3464b878340ff", "score": "0.7004688", "text": "public String getProductName() {\n\t\treturn productName;\n\t}", "title": "" }, { "docid": "35b0223f5c8583ecc24a82f0a2eff723", "score": "0.69828415", "text": "ProductNameStruct getProductName();", "title": "" }, { "docid": "917041d28f9c838ca13ce90b274f9732", "score": "0.69554675", "text": "public String getProductName() {\r\n\t\treturn lblProductName.getText();\r\n\t}", "title": "" }, { "docid": "8409dd055e0c273002400a79a6a53063", "score": "0.6941849", "text": "public String getProductName() \n {\n return productName;\n }", "title": "" }, { "docid": "dc38de63d5679014e90c922842027c12", "score": "0.6941432", "text": "public String getProductname() {\r\n return productname;\r\n }", "title": "" }, { "docid": "1f61073be96b9010f4604e883a191d93", "score": "0.6677309", "text": "public String getName()\n {\n return this.names.get(0).getProductName();\n }", "title": "" }, { "docid": "f87dde1e2cbcc20ed0d172dd1beae565", "score": "0.659408", "text": "public String getProduct() {\r\n String result = stringWriter.toString();\r\n // LogWriter.debug(DefaultStampTreeXmlBuilder.class, result);\r\n // if (logger != null) {\r\n // logger.debug(result);\r\n // }\r\n return result;\r\n }", "title": "" }, { "docid": "d884a122a1fa19ca52b2f1452f10e7a7", "score": "0.65131646", "text": "void xsetProductName(au.gov.asic.types.SoapSoftwareIdentifierType.ProductName productName);", "title": "" }, { "docid": "9ca417309b85d0282cf620a86e395f6a", "score": "0.649165", "text": "org.apache.xmlbeans.XmlString xgetProductEan();", "title": "" }, { "docid": "9ca417309b85d0282cf620a86e395f6a", "score": "0.649165", "text": "org.apache.xmlbeans.XmlString xgetProductEan();", "title": "" }, { "docid": "6c73609d64f5091e60eaa1965f9ab503", "score": "0.64829105", "text": "org.apache.xmlbeans.XmlString xgetNombreProducto();", "title": "" }, { "docid": "a3ca6118d250a1126341ec797b83da51", "score": "0.6420204", "text": "org.apache.xmlbeans.XmlString xgetProductId();", "title": "" }, { "docid": "13acc594cc1fe626dde315c2c3337668", "score": "0.6396682", "text": "@ApiModelProperty(example = \"Ready Credit Account\", value = \"The name of the product\")\n public String getProductName() {\n return productName;\n }", "title": "" }, { "docid": "75010dcc7db385a603d894b743da1d0f", "score": "0.6381231", "text": "public\tString\t\tgetElementAsXML() {\n\t\tif (this.getName() == null || this.getName().length() <= 0)\n\t\t\treturn\t\"\";\n\t\t\n\t\tStringBuffer buf = new StringBuffer();\n\t\t\n\t\twriteElementXML(this, buf, 1);\n\n\t\treturn\tbuf.toString();\n\t}", "title": "" }, { "docid": "35b843eb74c3d5cecd3bfbaa3c455949", "score": "0.6367176", "text": "java.lang.String getProduct();", "title": "" }, { "docid": "f3667e4374daf441c9195f93659c3e29", "score": "0.63223994", "text": "public java.lang.String getXMLName()\r\n {\r\n return xmlName;\r\n }", "title": "" }, { "docid": "f3667e4374daf441c9195f93659c3e29", "score": "0.63223994", "text": "public java.lang.String getXMLName()\r\n {\r\n return xmlName;\r\n }", "title": "" }, { "docid": "f3667e4374daf441c9195f93659c3e29", "score": "0.63223994", "text": "public java.lang.String getXMLName()\r\n {\r\n return xmlName;\r\n }", "title": "" }, { "docid": "8bbae4bc8c34ebb572f4ac2bf8ea31f2", "score": "0.63158786", "text": "public String getProductName(String id) {\n return productName;\n }", "title": "" }, { "docid": "ed765e9214aed20b4b5d2a9abdac3b5c", "score": "0.6304772", "text": "java.lang.String getProductString();", "title": "" }, { "docid": "4b2a8cf958b9a113b1a123f0e052bafc", "score": "0.62926817", "text": "@Override\n public String name() {\n\t\treturn DriverProductName;\n\t}", "title": "" }, { "docid": "4203b87ad4fa492fb6b776c8d8d17f30", "score": "0.62722594", "text": "org.apache.xmlbeans.XmlString xgetSellerProductId();", "title": "" }, { "docid": "4203b87ad4fa492fb6b776c8d8d17f30", "score": "0.62722594", "text": "org.apache.xmlbeans.XmlString xgetSellerProductId();", "title": "" }, { "docid": "ae9c26731d14af2c344353ee586067c9", "score": "0.6264757", "text": "public String nameProduct() {\n return \"ChickenMeat\";\n }", "title": "" }, { "docid": "946afe3dcf1ea24dcb98cd28ca14efa9", "score": "0.6264284", "text": "void setProductName(java.lang.String productName);", "title": "" }, { "docid": "d962d8f19ef10125ee7a4de5c3d93b03", "score": "0.6239107", "text": "public String getXmlName() {\n return version;\n }", "title": "" }, { "docid": "303a34bfa52bf5ae27982f230bb5967b", "score": "0.62109107", "text": "private String getItemName(XmlElement xmlElement) {\n if (xmlElement == null) {\n return null;\n }\n return xmlElement.getItemName();\n }", "title": "" }, { "docid": "198bd98105f3504582dd7d9d0bd92e93", "score": "0.62058955", "text": "public void setProductName(String productName) {\n this.productName = productName;\n }", "title": "" }, { "docid": "e9de3c4b975a9a8dea1ffa1edbcb9acb", "score": "0.61682296", "text": "org.apache.xmlbeans.XmlString xgetSku();", "title": "" }, { "docid": "e9de3c4b975a9a8dea1ffa1edbcb9acb", "score": "0.61682296", "text": "org.apache.xmlbeans.XmlString xgetSku();", "title": "" }, { "docid": "cfda557ff17b6cdb07b55825c2d2be26", "score": "0.6097846", "text": "org.apache.xmlbeans.XmlString xgetName();", "title": "" }, { "docid": "2560e3ce9b8751d0857489dc606d8eba", "score": "0.6070876", "text": "String getProductNameArg();", "title": "" }, { "docid": "79d8ba60a5abbddacfc0b3626155d114", "score": "0.6068187", "text": "public static String getProductName() {\n String productName = Build.PRODUCT;\n if (null == productName) {\n return \"\";\n }\n return productName;\n }", "title": "" }, { "docid": "25178d9e5f24b21af3dc7b9cd6e1151d", "score": "0.6016639", "text": "public String getProductNameOfItemPage() {\r\n\t\tString name = pbIP.getNameOfProduct();\r\n\t\treturn name;\r\n\t}", "title": "" }, { "docid": "962ca015ba541a23802ff690a638d2fc", "score": "0.601088", "text": "public String getProductInfo() {\n\t\tif (this.results.isEmpty()) {\n\t\t\tparseProductInfo();\n\t\t}\n\t\treturn this.toString();\n\t}", "title": "" }, { "docid": "04a67bd56bd956690bee0fc62e828c72", "score": "0.60067403", "text": "public void setProductName(String productName) {\n\t\tthis.productName = productName;\n\t}", "title": "" }, { "docid": "04a67bd56bd956690bee0fc62e828c72", "score": "0.60067403", "text": "public void setProductName(String productName) {\n\t\tthis.productName = productName;\n\t}", "title": "" }, { "docid": "004be906213324f74ad5261fdd9f9472", "score": "0.59738946", "text": "public String getProduct() {\n Object ref = product_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n product_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "title": "" }, { "docid": "56742dc7bddff91b9290a04a33c76835", "score": "0.5945557", "text": "org.apache.xmlbeans.XmlString xgetDevicename();", "title": "" }, { "docid": "19e35156c3ce113f95b853394458d7a7", "score": "0.59291184", "text": "private String getName(String response) {\n try {\n ObjectMapper mapper = new ObjectMapper();\n JsonNode node = mapper.readTree(response);\n JsonNode productName = node.path(\"product\").path(\"item\").path(\"product_description\").path(\"title\");\n\n if(productName.isMissingNode())\n throw new ProductNotFoundException(\"Unable to find product in redsky API\");\n\n return productName.asText();\n } catch (IOException ex) {\n logger.error(\"Unable to parse the Json String\");\n throw new ServerException(\"Unable to Parse the response the external API\");\n }\n }", "title": "" }, { "docid": "2924bee7f3feb6927f19fdc97b2ca765", "score": "0.5923224", "text": "String getProduct();", "title": "" }, { "docid": "a17f8df8431f52c3ce9ebde44b03e0b8", "score": "0.59077513", "text": "public String getProduct() {\n Object ref = product_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n product_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "e96dc0f599b1a21a17d792aec1516b07", "score": "0.5901935", "text": "org.apache.xmlbeans.XmlString xgetDevicemanufacturer();", "title": "" }, { "docid": "1ccc00238fa57554fda4f6f994aff004", "score": "0.59009105", "text": "com.google.protobuf.ByteString\n getProductStringBytes();", "title": "" }, { "docid": "70c810466504a044cb8f7c11ab8166fb", "score": "0.5859106", "text": "ProductNameStruct getNewProductName();", "title": "" }, { "docid": "b0cfa4b8dc9ef378e669305ded3604f3", "score": "0.5855389", "text": "org.apache.xmlbeans.XmlString xgetPlanetName();", "title": "" }, { "docid": "c4b65ee50541f7cbd768ca5d5ba9e324", "score": "0.5853742", "text": "public org.apache.xmlbeans.XmlString xgetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$2, 0);\n return target;\n }\n }", "title": "" }, { "docid": "cbd91ebebdca02310d2a36549ea5f59e", "score": "0.58529973", "text": "private void setProductName() {\n\n\tproductName = \"\";\n\ttry {\n\t productName = getDmd().getDatabaseProductName();\n \t} catch (SQLException sqe) { \n\t logger.log(Level.WARNING,\"User \" + getUser() + \n\t\t \" throws Exception while reading ProductName from MetaData \" + \n\t\t \" |JDBC-Driver: \" + getDriverName() + \n\t\t \" |Database: \" + getDatabase() + \n\t\t \" |Error-Code: \" + sqe.getErrorCode() +\n\t\t \" |SQL-State: \" + sqe.getSQLState() +\n\t\t \" |Exception: \" + sqe.getMessage().toString()); \n\t} catch (Exception sqe) {\n\t logger.log(Level.SEVERE,\"User: \" + getUser() + \"unexpected exception: \" + \n\t\t sqe.getMessage().toString());\n\t} \n }", "title": "" }, { "docid": "83bfd6bf310c9fde604dc48e88dd0cf2", "score": "0.5841457", "text": "Product getProduct(String name);", "title": "" }, { "docid": "ee1b2725b21cfbf8d411b937afac85b5", "score": "0.5839101", "text": "public void setProductname(String productname) {\r\n this.productname = productname;\r\n }", "title": "" }, { "docid": "d5c5553aa572abd0c718758099fbf1d0", "score": "0.5831966", "text": "public org.apache.xmlbeans.XmlString xgetName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$2, 0);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "fb57a5c2da86ac6a924e519e43be35e7", "score": "0.5831943", "text": "@XML(ignore = true)\n public String getElementName();", "title": "" }, { "docid": "415d04fbaec3dd1dbe83537f1fc2e759", "score": "0.58153486", "text": "public static String getProduct()\n {\n return \"Xalan\";\n }", "title": "" }, { "docid": "fa946cec7bf8dbe4ecc5c5488ea54a97", "score": "0.58062416", "text": "public org.apache.xmlbeans.XmlString xgetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$10, 0);\n return target;\n }\n }", "title": "" }, { "docid": "a6702a835d12eb2720e920090438f544", "score": "0.57944906", "text": "private static synchronized Product retrieveProductByName (String productName) {\n int numProducts = products.length;\n if (false)\n System.out.println (\"retrieveByName (\" + productName + \") from \" +\n\t\t\tcom.gensym.core.DebugUtil.printArray(products));\n for (int i=0; i<numProducts; i++) {\n if (products[i] == null)\n\tbreak;\n if (products[i].getName ().equals (productName)) {\n //System.out.println(\"product found: \" + products[i].getName());\n\treturn products[i];\n }\n }\n throw new UnknownProductException (productName);\n }", "title": "" }, { "docid": "9417c9b7d5f5e4883c67901d0e512216", "score": "0.5778562", "text": "public org.apache.xmlbeans.XmlString xgetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$0, 0);\n return target;\n }\n }", "title": "" }, { "docid": "9417c9b7d5f5e4883c67901d0e512216", "score": "0.5778562", "text": "public org.apache.xmlbeans.XmlString xgetName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$0, 0);\n return target;\n }\n }", "title": "" }, { "docid": "414573a2cddfa69a2a4df29d62c64088", "score": "0.5776388", "text": "public NameDo getProductName(Integer productId) throws MyRetailBusinessException {\n\t\t\n\t\tNameDo name = null;\n\t\ttry {\n\t\t\tlogger.debug(nameServiceUrl + productId);\n\t\t\tname = restTemplate.getForObject(nameServiceUrl + productId, NameDo.class);\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(\"Exception while requesting the name service\" + e.getMessage());\n\t\t\tthrow new MyRetailBusinessException(\"Exception while requesting the name service\" + e.getMessage());\n\t\t}\n\t\treturn name;\n\t}", "title": "" }, { "docid": "7b95f3bceac65fd6eb9abcd6fe4fa03c", "score": "0.5773014", "text": "@Override\n\tpublic Product getProductByName(String name) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "57178a763fe039cc7f19521f2c6bfe89", "score": "0.57643723", "text": "@Override\n\t@XmlTransient\n\tpublic String getName() {\n\t\treturn super.getName();\n\t}", "title": "" }, { "docid": "598a3634a6356267cf86e3db8483b997", "score": "0.5763087", "text": "public com.google.protobuf.ByteString\n getProductBytes() {\n Object ref = product_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n product_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "29a461f27b4cf92ec0eba94af888724d", "score": "0.5757345", "text": "String getProductInfo(int productId);", "title": "" }, { "docid": "c9856404f62a93c44d6be9f33b7b853c", "score": "0.5726212", "text": "java.lang.String getProductNumber();", "title": "" }, { "docid": "c9856404f62a93c44d6be9f33b7b853c", "score": "0.5726212", "text": "java.lang.String getProductNumber();", "title": "" }, { "docid": "c9856404f62a93c44d6be9f33b7b853c", "score": "0.5726212", "text": "java.lang.String getProductNumber();", "title": "" }, { "docid": "43ab5859ee25f5223d9949f1c900c966", "score": "0.57210416", "text": "public String findStorageInfoByProductName(String productName) {\n\t\tSystem.out.println(this.getClass()+\" findStorageInfoByProductName\");\n\t\tJSONHelper json=new JSONHelper(); \n\t\tjson.setSuccess(true); \n\t\tfor(StorageInfo si:storageInfoDAO.findStorageInfoByProductName(productName)){\n\t\t\tjson.AddItem(\"storageInfoId\", String.valueOf(si.getStorageinfoid()));\n\t\t\tjson.AddItem(\"productId\", String.valueOf(si.getLProduct().getProductid()));\n\t\t\tjson.AddItem(\"warehouseName\", si.getLWarehouse().getWarehousename());\n\t\t\tjson.AddItem(\"productName\", si.getLProduct().getProductname());\n\t\t\tjson.AddItem(\"warningQuantity\",String.valueOf(si.getWarningquantity()) );\n\t\t\tjson.AddItem(\"maxQuantity\", String.valueOf(si.getMaxquantity()));\n\t\t\tjson.AddItem(\"remainQuantity\", String.valueOf(si.getRemainquantity()));\n\t\t\tjson.ItemOK();\n\t\t}\n\t\treturn json.toString();\n\t}", "title": "" }, { "docid": "74c9070a3934a4d57ddd9aae0488e4f3", "score": "0.57185644", "text": "public String getName() {\n return xmlAttrs[NAME].getValue();\n }", "title": "" }, { "docid": "3f794077156333519e0ab48117d11f71", "score": "0.5714114", "text": "public com.google.protobuf.ByteString\n getProductBytes() {\n Object ref = product_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n product_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "0ce5ba2b65ffed5aa96c5b695a280cb8", "score": "0.56886137", "text": "org.apache.xmlbeans.XmlString xgetProductCode();", "title": "" }, { "docid": "79588d56b0f7c48fc57340934cfd8a0d", "score": "0.56867427", "text": "org.apache.xmlbeans.XmlString xgetSkuParent();", "title": "" }, { "docid": "3540a4b9760510f1501bcda246e698dc", "score": "0.56716126", "text": "@Get(\"xml\")\r\n\tpublic DomRepresentation toXml() {\r\n\t\t// Generate the right representation according to its media type.\r\n\t\ttry {\r\n\t\t\tDomRepresentation representation = new DomRepresentation(\r\n\t\t\t\t\tMediaType.TEXT_XML);\r\n\r\n\t\t\t// Generate a DOM document representing the list of\r\n\t\t\t// items.\r\n\t\t\tDocument d = representation.getDocument();\r\n\t\t\tElement r = d.createElement(\"products\");\r\n\t\t\td.appendChild(r);\r\n\r\n\t\t\tProductBean[] productBean = productModel.getProducts();\r\n\t\t\tfor (int i = 0; i < productBean.length; i++) {\r\n\r\n\t\t\t\t// for (Item item : getItems().values()) {\r\n\t\t\t\tElement eltItem = d.createElement(\"product\");\r\n\r\n\t\t\t\tElement eltProductId = d.createElement(\"productId\");\r\n\t\t\t\teltProductId.appendChild(d.createTextNode(String\r\n\t\t\t\t\t\t.valueOf(productBean[i].getCount())));\r\n\t\t\t\teltItem.appendChild(eltProductId);\r\n\r\n\t\t\t\tElement eltName = d.createElement(\"productName\");\r\n\t\t\t\teltName.appendChild(d.createTextNode(productBean[i]\r\n\t\t\t\t\t\t.getProductName()));\r\n\t\t\t\teltItem.appendChild(eltName);\r\n\r\n\t\t\t\tElement eltDescription = d.createElement(\"productDesc\");\r\n\t\t\t\teltDescription.appendChild(d.createTextNode(productBean[i]\r\n\t\t\t\t\t\t.getProductdescription()));\r\n\t\t\t\teltItem.appendChild(eltDescription);\r\n\r\n\t\t\t\tElement eltPrice = d.createElement(\"proudctPrice\");\r\n\t\t\t\teltPrice.appendChild(d.createTextNode(String\r\n\t\t\t\t\t\t.valueOf(productBean[i].getPrice())));\r\n\t\t\t\teltItem.appendChild(eltPrice);\r\n\r\n\t\t\t\tr.appendChild(eltItem);\r\n\t\t\t}\r\n\t\t\td.normalizeDocument();\r\n\r\n\t\t\t// Returns the XML representation of this document.\r\n\t\t\treturn representation;\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "54e9e38d58bfa2591f065359f3259eda", "score": "0.5646301", "text": "public com.google.protobuf.ByteString\n getProductStringBytes() {\n java.lang.Object ref = productString_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n productString_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "95aa90a227aae896a2e92dab330a7c21", "score": "0.5617886", "text": "java.lang.String getElementName();", "title": "" }, { "docid": "6d446572854a37737b40bac5b89c5a38", "score": "0.5615002", "text": "java.lang.String getProductId();", "title": "" }, { "docid": "08f1e80b639e68f0c26f19ac0cc722fb", "score": "0.5613569", "text": "public String toString() {\r\n\t\t// it should returns all the product object info\r\n\t\treturn \"Product [ID = \" + id + \", Name = \" + name + \", Description = \"\r\n\t\t\t\t+ description + \", Price = $\" + price + \"]\";\r\n\t}", "title": "" }, { "docid": "765e14148f44d4c251cd1f2f989fdf95", "score": "0.5611327", "text": "private String getElementName(XmlElement xmlElement) {\n if (xmlElement == null) {\n return null;\n }\n return xmlElement.getElementName();\n }", "title": "" }, { "docid": "616c35c2315e6de451d781db0a69bcf1", "score": "0.561109", "text": "public String toString() {\n\t\treturn \"Product ID=\" + ProductID + \", price=\" + price + \", name=\" + name + \", description=\"\n\t\t\t\t+ description;\n\t}", "title": "" }, { "docid": "3bdde44de242215d95f8f52df0ac5629", "score": "0.5610378", "text": "public void setProductName(String productName) {\n this.productName = productName == null ? null : productName.trim();\n }", "title": "" }, { "docid": "3bdde44de242215d95f8f52df0ac5629", "score": "0.5610378", "text": "public void setProductName(String productName) {\n this.productName = productName == null ? null : productName.trim();\n }", "title": "" }, { "docid": "3bdde44de242215d95f8f52df0ac5629", "score": "0.5610378", "text": "public void setProductName(String productName) {\n this.productName = productName == null ? null : productName.trim();\n }", "title": "" }, { "docid": "48f08fb9c2dc3e5156da2ac8596aaea9", "score": "0.560349", "text": "QName getName();", "title": "" }, { "docid": "48f08fb9c2dc3e5156da2ac8596aaea9", "score": "0.560349", "text": "QName getName();", "title": "" }, { "docid": "17d1849f8d9f0e875a6232bae5847644", "score": "0.56006247", "text": "public ProductInfo getProductInfo();", "title": "" }, { "docid": "910ff02c665568150f4167833420c757", "score": "0.55958414", "text": "public com.google.protobuf.ByteString\n getProductStringBytes() {\n java.lang.Object ref = productString_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n productString_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "9eed4013336f035f8f12f95c79f02d25", "score": "0.5584266", "text": "public Element toXmlElement() {\n\t\tDefaultElement customerElem = new DefaultElement(\"item\");\n\t\t\n\t\tElement subElem = customerElem.addElement(\"manufacturerName\");\n\t\tsubElem.setText(manufacturerName);\n\t\t\n\t\tsubElem = customerElem.addElement(\"productType\");\n\t\tsubElem.setText(productType);\n\t\t\n\t\tsubElem = customerElem.addElement(\"unitPrice\");\n\t\tsubElem.setText(String.valueOf(unitPrice));\n\t\t\n\t\tsubElem = customerElem.addElement(\"quantity\");\n\t\tsubElem.setText(String.valueOf(quantity));\n\t\treturn customerElem;\n\t}", "title": "" } ]
15c18c4cbd9a95807a4719f300a92f66
load test data from a file
[ { "docid": "4cc1fc71554fff17306b519655884ee6", "score": "0.0", "text": "public void file(Data data) throws IOException {\n\t\tFile file = new File(\"/home/reggie/文档/ASDBExampleCycleComputerData.hrm\");\n FileReader fr = new FileReader(file);\n BufferedReader br = new BufferedReader(fr);\n String aline;\n int i=1;\n //load file data to TextArea\n while ((aline=br.readLine()) != null){\n \t//collect date to HashMap\n \tdata.allMap.put(i, aline);\n \t//collect header information\n \tPattern p=Pattern.compile(REGEX);\n \tMatcher m=p.matcher(aline);\n \tif(m.find()) {\n \t\t//record the line number of each line.\n \t\tdata.headerMap.put(m.group(1),i);\n \t}\n \ti++;\n }\n fr.close();\n br.close();\n\t}", "title": "" } ]
[ { "docid": "f294f8b3d50ac61842c7bb5bdff9882b", "score": "0.7452096", "text": "@Test\n void loadFile()\n {\n }", "title": "" }, { "docid": "2b8613e27389708f19c2d3cac03245ed", "score": "0.7412879", "text": "public static void loadTestData(String fileName) {\r\n\t\tdataMap = getParseData(fileName);\r\n\t}", "title": "" }, { "docid": "af56655c9c2b7b8ec97e05e3d16b9d28", "score": "0.7226119", "text": "@Test\n public void testLoadTestData() throws Exception {\n Reporter.println(\"LoadTestData\");\n //Validator.\n loadFile(\"test-data/cw-cs.ttl\");\n loadFile(\"test-data/cs-cm.ttl\");\n }", "title": "" }, { "docid": "5584c1345a90ee331c2ea6689f67ce62", "score": "0.6989221", "text": "public void readTestData(String filename) throws Exception {\n\t\tsentenceIndex = -1;\n\t\tnewSentence = false;\n\t\tambiguousLocations.add(new ArrayList<Integer>());\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new FileReader(filename));\n\t\t\tString line = br.readLine();\n\t\t\t//System.out.println(line);\n\t\t\twhile (line != null) {\n\t\t\t\tprocessLine(line);\n\t\t\t\tline = br.readLine();\n\t\t\t}\n\t\t\tbr.close();\n\t\t}catch(FileNotFoundException fnfe){\n\t\t\tfnfe.printStackTrace();\n\t\t}catch(IOException ioe){\n\t\t\tioe.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "49f7f54142614b14a7ed642b05de92e5", "score": "0.69739074", "text": "@Test\n public void testReadFromFile() {\n }", "title": "" }, { "docid": "a05f416b25cc3ca9f6eb97c57f540002", "score": "0.6927495", "text": "private void loadTestData(ServletConfig config) {\n\t\tEventSystem eventSystem = new EventSystem();\n\t\tString filename = config.getServletContext().getRealPath(\"/WEB-INF/classes/testdata.txt\");\n\t\tBufferedReader fileReader = null;\n\t\ttry {\n\t\t\tfileReader = new BufferedReader(new FileReader(filename));\n\t\t\ttry {\n\t\t\t\t// Assuming all events in the file are deaths for now\n\t\t\t\tString line;\n\t\t\t\twhile((line = fileReader.readLine()) != null) {\n\t\t\t\t\teventSystem.submitEvent(1, line);\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\t// If there was an issue reading the data ignore that line \n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// If the file is not found just don't load any default data.\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif(fileReader != null) {\n\t\t\t\ttry {\n\t\t\t\t\tfileReader.close();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "282d7ba0c1aa9a7585a402c26310f05b", "score": "0.6775124", "text": "public ReadTestData() {\n\t\ttestDataProperties= new Properties();\n\t\tString path=System.getProperty(\"user.dir\")+\"\\\\src\\\\main\\\\resources\\\\TestDataFiles\\\\AmazonShopping_TestCaseData\\\\TestData.properties\";;\n\t\ttry\n\t\t{\n\t\t\tFileInputStream fs=new FileInputStream(path);\n\t\t\ttestDataProperties.load(fs);\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tAssert.assertTrue(false, e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "fba0ed975fec1cae1974d8eeaed508fe", "score": "0.6734251", "text": "private void setTestData(){\n Utils.readPropertyFileToMap(working_directory + \"/test_data/configuration.properties\");\n Utils.readExcelFileToMap(working_directory + \"/test_data/TestData.xlsx\");\n }", "title": "" }, { "docid": "099d4c4038b5b95fc8d3fc73c67fe3e9", "score": "0.6722132", "text": "public static void loadTestFile(File file) throws Exception {\r\n\t\ttests = new ArrayList<ModelTest>();\r\n\r\n\t\t// Load xml document\r\n\t\tDocumentBuilder db = DocumentBuilderFactory.newInstance()\r\n\t\t\t\t.newDocumentBuilder();\r\n\t\tDocument xmlDoc = db.parse(file);\r\n\r\n\t\t// Get all test nodes\r\n\t\tNodeList list = xmlDoc.getElementsByTagName(\"test\");\r\n\t\tfor (int i = 0; i < list.getLength(); i++) {\r\n\t\t\tNode tmp = list.item(i);\r\n\t\t\ttry {\r\n\t\t\t\tModelTest test = new ModelTest(tmp);\r\n\t\t\t\ttests.add(test);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "68ff685647e908d2e4b7a17f42c80c2b", "score": "0.6708443", "text": "@Test\n public void testLoad() throws Exception {\n System.out.println(\"Testing load()...\");\n String filename = \"auctions.txt\";\n Auctions instance = new Auctions();\n instance.load(filename);\n }", "title": "" }, { "docid": "1d8a265a9e5d08d354e89815c0c2d859", "score": "0.6669298", "text": "@Test\r\n public void testLoadData_String() throws Exception {\r\n System.out.println(\"loadData\");\r\n String filePath = \"\";\r\n FileManager instance = new FileManager();\r\n instance.loadData(filePath);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "3c3e072cf754abd91fa8f5068425f8e0", "score": "0.6623307", "text": "private void load(String file) {\n // Init\n x = new double[INPUT_SIZE];\n y = new double[INPUT_SIZE];\n Scanner scan = new Scanner(new InputStreamReader(ClassLoader.getSystemResourceAsStream(file)));\n\n // Skip heading\n scan.nextLine(); // x y heading\n scan.nextLine(); // -----------\n\n // Read in data\n for (int i = 0; scan.hasNextDouble(); i++) {\n x[i] = scan.nextDouble();\n y[i] = scan.nextDouble();\n }\n }", "title": "" }, { "docid": "3ab16ea6c7fc8180e60f47f021254123", "score": "0.659697", "text": "@BeforeSuite\n public void loadData() throws IOException {\n\n config = new Properties();\n config.load(DataLoader.class.getClassLoader().getResourceAsStream(\"config.properties\"));\n locator = new Properties();\n locator.load(DataLoader.class.getClassLoader().getResourceAsStream(\"locator.properties\"));\n\n }", "title": "" }, { "docid": "aa525084fd9c2a2407eaec8c2b2f904f", "score": "0.65553737", "text": "protected void initDataFromFile() {\n }", "title": "" }, { "docid": "1f1826f63f33376666e0c125ce223ada", "score": "0.65501916", "text": "public void loadTestData() {\n\t\tProperties profileEdit = new Properties();\n\t\ttry {\n\t\t\tprofileEdit.load(new FileInputStream(profileEditData));\n\t\t} catch (Exception e) {}\n\t\tthis.properties.put(\"trackingOption\", profileEdit.getProperty(\"trackingOption\"));\n\t\tthis.properties.put(\"updateProfile\", profileEdit.getProperty(\"updateProfile\"));\n\t}", "title": "" }, { "docid": "04a0de96250f060e14050f8f4bcf73d2", "score": "0.65350634", "text": "public void loadData(String filePath) throws IOException {\n\r\n JsonObject json = loadJSONFile(filePath);\r\n\r\n JsonArray jsonItemArray = json.getJsonArray(\"uml\");\r\n for (int i = 0; i < jsonItemArray.size(); i++) {\r\n JsonObject jsonItem = jsonItemArray.getJsonObject(i);\r\n Item item = loadItemTest(jsonItem);\r\n// dataManager.addToWorkspace(item);\r\n }\r\n\r\n }", "title": "" }, { "docid": "06a12cbc45eb5cecf00a1f402cd1ac3c", "score": "0.6425935", "text": "@BeforeClass\r\n\tpublic static void readFile() {\n\t\tFile file = new File(\"kjv.atv\");\r\n\t\t// We read the file here so it isn't done before every test.\r\n\t\tversesFromFile = BibleIO.readBible(file);\r\n\t}", "title": "" }, { "docid": "eb080e5cfd60ab66380b593368da9661", "score": "0.6420608", "text": "@Test\n\tpublic void callTests() throws InvalidMidiDataException, IOException {\n\n\t\tthis.loadFromFile();\n\t}", "title": "" }, { "docid": "e4af3637e14e6ad92d3d3677134d0485", "score": "0.63379383", "text": "@BeforeClass\n\tpublic static void readFile() {\n\t\tFile file = new File(\"kjv.atv\");\n\t\t// We read the file here so it isn't done before every test.\n\t\tversesFromFile = BibleIO.readBible(file);\n\t}", "title": "" }, { "docid": "dd8178ad2e2f104ef8cfddbb52a6950f", "score": "0.63206834", "text": "protected TestSuite loadTestDataFromJson(String testPath) {\n TestSuite tSuite = new TestSuite();\n //JSONObject jsonObj = JsonHandler.getDataFile(getTestDataFolder() + testPath);\n JsonNode jsonObj = JsonHandler.readJsonFromFile(getTestDataFolder() + testPath);\n tSuite.set_name(JsonHandler.getTextValue(jsonObj,\"suiteName\"));\n tSuite.set_description(JsonHandler.getTextValue(jsonObj,\"suiteDescription\"));\n tSuite.set_note(JsonHandler.getTextValue(jsonObj,\"note\"));\n ArrayNode testCases= (ArrayNode)JsonHandler.getJsonNode(jsonObj,\"testCases\");\n if(testCases!= null) {\n for (int i = 1; i <= testCases.size(); i++) {\n JsonNode jsonTestCase = testCases.get(i - 1);\n tSuite.get_testCases().addAll(loadTestCasesFromJson(jsonTestCase));\n }\n }\n return tSuite;\n }", "title": "" }, { "docid": "a7cd14213dc6f17408b3ae2b6b84cfa6", "score": "0.63158643", "text": "@Test\n public void testGetDataSet() {\n File f = new File(\"Test/Hilbert/baselineTestDataset/t1.rect\");\n StatisticsParser instance = new StatisticsParser();\n String result = instance.getDataSet(f);\n assertEquals(\"TestDataset\", result);\n\n f = new File(\"Test/Hilbert/TestDataset/t1.rect\");\n result = instance.getDataSet(f);\n assertEquals(\"TestDataset\", result);\n\n f = new File(\"Test\\\\Hilbert\\\\baselineTestDataset\\\\t1.rect\");\n result = instance.getDataSet(f);\n assertEquals(\"TestDataset\", result);\n\n f = new File(\"Test\\\\Hilbert\\\\TestDataset\\\\t1.rect\");\n result = instance.getDataSet(f);\n assertEquals(\"TestDataset\", result);\n }", "title": "" }, { "docid": "b3398190723f6dd476ec88e6a88a7df0", "score": "0.62717074", "text": "@Test\r\n public void testLoadData_String_AppTemplate() throws Exception {\r\n System.out.println(\"loadData\");\r\n String filePath = \"\";\r\n AppTemplate initApp = null;\r\n FileManager instance = new FileManager();\r\n instance.loadData(filePath, initApp);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "50a50aef8e0dd6c64e5650cd1c999f48", "score": "0.6266145", "text": "public Test loadTest(String name) throws FileNotFoundException, IOException {\r\n Test test;\r\n\r\n TestCase testCase = loadTestCase(name);\r\n JavaFile javaFile = loadJavaFile(name);\r\n Result result = loadResult(name);\r\n loadMutants(result, name, javaFile);\r\n \r\n test = new Test(name, testCase, javaFile, result);\r\n \r\n return test; \r\n }", "title": "" }, { "docid": "7edc5ab4d4fd32eac36e9e6ac0fc8929", "score": "0.6261348", "text": "@Test\r\n public void testLoadData_3args() throws Exception {\r\n System.out.println(\"loadData\");\r\n AppDataComponent data = null;\r\n String filePath = \"\";\r\n AppTemplate initApp = null;\r\n FileManager instance = new FileManager();\r\n instance.loadData(data, filePath, initApp);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "4e09bcf6ebf4baa43709aa869ba5921e", "score": "0.62382156", "text": "public void loadTrainingFile(String filePath) throws FileNotFoundException, IOException{\n Instances dataset = new Instances(new BufferedReader(new FileReader(filePath))); // load the training file\n\n // Store training dataset into Learning Machine obj\n }", "title": "" }, { "docid": "ff7ae0e317ef03cc47e6c0cf903323b0", "score": "0.6198841", "text": "public static TestDataSet loadXML(String fileName) {\r\n\t\tTestDataSet testDataSet = null;\r\n\t\ttry {\r\n\t\t\tInputStream input = TestUtil.class.getClassLoader().getResourceAsStream(fileName);\r\n\t\t\tJAXBContext jaxbContext = JAXBContext.newInstance(TestDataSet.class);\r\n\t\t\tUnmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();\r\n\t\t\ttestDataSet = (TestDataSet) jaxbUnmarshaller.unmarshal(input);\r\n\t\t} catch (JAXBException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn testDataSet;\r\n\t}", "title": "" }, { "docid": "f8fc1ff21569389e34d87d0bd698a5e7", "score": "0.6197295", "text": "@Test\n\tpublic void testFromPodFile() throws FileLoadException {\n\t\tFile file = new File(ITestConfig.MTM2_DIR, \"alaska.pod\");\n\t\t\n\t\tAssert.assertTrue(\"Test POD file does not exist.\", file.exists() && file.isFile());\n\t\t\n\t\tPodFile podFile = new PodFile(file);\n\t\tLstData lstData = LstData.fromPodFile(podFile); // 684\n\t\tassertEquals(\"Entry count mismatch.\", 684, lstData.getEntryCount());\n\t}", "title": "" }, { "docid": "cb3defa4532bfc4b69409a35afe12acf", "score": "0.61889696", "text": "private void loadData() {\n try {\n // Read configuration.properties file\n properties.load(new FileInputStream(propertyFilePath));\n } catch (IOException e) {\n System.out.println(\"Configuration properties file cannot be found\");\n }\n }", "title": "" }, { "docid": "8118542363896ce66ba987b543978ec0", "score": "0.6186343", "text": "public abstract void loadModelData(String filename) throws IOException;", "title": "" }, { "docid": "f38b6442fc22a3e32cb66a9a3ce1704e", "score": "0.6186027", "text": "@Test\r\n public void testLoadData() throws Exception {\r\n System.out.println(\"loadData\");\r\n MatrixReader instance = new MatrixReader();\r\n try {\r\n instance.loadData(FILENAME);\r\n } catch(IOException ioe) {\r\n fail(\"Failed to load file \" + FILENAME);\r\n }\r\n assertEquals(instance.getRowHeaders().size(),150);\r\n assertEquals(instance.getColumnHeaders().size(),4);\r\n assertEquals(instance.getRawMatrix().length, 150);\r\n assertEquals(instance.getRawMatrix()[0].length, 4);\r\n }", "title": "" }, { "docid": "eaed433279c8fbc78407dda28b231d91", "score": "0.61526364", "text": "public void loadDataset(String filename) {\n\t\tScannerDataReader reader = new ScannerDataReader();\n\t\tmeasurements = reader.readFromFile(filename, 0.4);\n\t}", "title": "" }, { "docid": "3c47070b9ac4eb1985f809767b82b2f5", "score": "0.61278", "text": "public void loadFile(T file) {\n this.file = file;\n }", "title": "" }, { "docid": "2dd7204930b78fa6c744d57aceea39a0", "score": "0.611404", "text": "@Parameterized.Parameters\n public static Collection<Object[]> loadTests() {\n Collection<TestSpec> specs = TestSpec.readFromFile(\"beast-binary-test-cases.yaml\");\n return specs.stream()\n .map(s -> new Object[] { s, null })\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "6d9c81226432c16e320a4712ba6a2169", "score": "0.6098354", "text": "public static void loadDataSetFromFile() {\n File datasetFile = new File(Constants.EXAMPLE_RESOURCES + \"iris.data\");\n try {\n // to load a file we need the file, the index of the label and the separator character\n Dataset dataset = FileHandler.loadDataset(datasetFile, 4, \",\");\n System.out.println(\"Iris data set:\");\n System.out.println(dataset);\n } catch (IOException e) {\n System.out.println(\"Error opening the data set file.\");\n }\n }", "title": "" }, { "docid": "78c778012924a6df4d540127b24bf572", "score": "0.6098032", "text": "public static void readFile() {\n\n\t\ttry {\n\t\t\tFile file = new File(\"./Lunar.ser\");\n\t\t\tFileInputStream fis = new FileInputStream(\"./Lunar.ser\");\n\t\t\tObjectInputStream in = new ObjectInputStream(fis);\n\t\t\tdatabase = (HashMap<String, Student>)in.readObject();\n\t\t\tSystem.out.println(\"Successfully loaded contents of testfile\");\n\t\t\tin.close();\n\t\t\tfis.close();\n\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"File is not found. Using a new HashMap \");\n\n\t\t} catch (IOException e) {\n\n\t\t\tSystem.out.println(\"New HashMap has been created\");\n\t\t\t\n\t\t} catch (ClassNotFoundException e) {\n\n\t\t\tSystem.out.println(\"CLASS NOT FOUND\");\n\t\t\t// TODO Auto-generated catch block\n\t\t\t// e.printStackTrace();\n\t\t}\n\t\tif (database == null) {\n\t\t\tdatabase = new HashMap<String, Student>();\n\t\t}\n\n\t}", "title": "" }, { "docid": "5062a4385f454e150af964517b7d904f", "score": "0.60956573", "text": "private Main(String file) {\n load(file);\n }", "title": "" }, { "docid": "6ee1c38a4f994ee1308b9390b6aecd2d", "score": "0.6088254", "text": "public static LinkDatabase loadTestFile(String testfile) throws IOException {\n LinkDatabase linkdb = new InMemoryLinkDatabase();\n BufferedReader reader = new BufferedReader(new FileReader(testfile));\n String line = reader.readLine();\n while (line != null) {\n int pos = line.indexOf(',');\n \n String id1 = line.substring(1, pos);\n String id2 = line.substring(pos + 1, line.length());\n if (id1.compareTo(id2) < 0) {\n String tmp = id1;\n id1 = id2;\n id2 = tmp;\n }\n\n linkdb.assertLink(new Link(id1, id2, LinkStatus.ASSERTED,\n (line.charAt(0) == '+') ?\n LinkKind.SAME : LinkKind.DIFFERENT));\n \n line = reader.readLine();\n }\n\n reader.close();\n return linkdb;\n }", "title": "" }, { "docid": "d9027d652ac2b26b3897a3c2513da651", "score": "0.6087262", "text": "@Test\n public void testFromFile() throws Exception {\n System.out.println(\"fromFile\");\n }", "title": "" }, { "docid": "ffef5323215738a6ca0960147f717cad", "score": "0.606877", "text": "private void parseFile(String file) {\n try {\n Scanner sc = new Scanner(new FileInputStream(\"../\" + file));\n this.data = sc.nextLine();\n sc.close();\n } catch (IOException e) {\n System.out.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "d6aebf356ca6d5fe3fec162714aacf8e", "score": "0.60463566", "text": "public static void load() {\n load(\"iris.csv\");\n }", "title": "" }, { "docid": "52a72c8c9bd3046abe5f9b0210166c0d", "score": "0.60299975", "text": "public static void readDataTest() {\n\t\t// Cmale tempCmale = new Cmale(\"D:/data/simpleiris.arff\", 4, 1);\n\t\tCmale tempCmale = new Cmale(\"data/mliris.arff\", 4, 3);\n\t\tSystem.out.println(\"The data is:\\r\\n\" + tempCmale);\n\t}", "title": "" }, { "docid": "80a88f556d8ba70f548586871a3715a5", "score": "0.60117906", "text": "public void insertTestData() {\n\t\ttry {\n\t\t\texecuteTransaction(loadStreamData(\"/sql/tests.sql\"));\n\t\t} catch (SQLException e) {\n\t\t\tMessageClass.showError(\"Could not load SQL test data.\", e);\n\t\t\tSystem.exit(1);\n\t\t}\n\t}", "title": "" }, { "docid": "ee6d4f1c907e69d15a2fb07313cca673", "score": "0.59967434", "text": "public String getTestData(String fileName, String dataQuery) {\n\tproperties = new Properties();\n\n\ttry {\n\t properties.load(new FileInputStream(\"src/test/resources/TestDataFiles/\" + fileName));\n\t} catch (IOException e) {\n\t e.printStackTrace();\n\t}\n\n\treturn properties.getProperty(dataQuery);\n }", "title": "" }, { "docid": "8828d83669a1546f0c4dd2fb60a76ede", "score": "0.5995917", "text": "@Test\n void readFromFileTest() {\n String expectedStringFromReadFile = \"badger,badger,badger,badger,mushroom,mushroom,snake,badger,badger,badger,\";\n String actualStringFromReadFile = test.readFromFile();\n assertEquals(expectedStringFromReadFile,actualStringFromReadFile);\n }", "title": "" }, { "docid": "e244e632af1b9f4dad12091c55e3f1e2", "score": "0.5981875", "text": "@Test\n public void testReadFromText() {\n }", "title": "" }, { "docid": "f5709235a52a3138cb5cca52f287f6c6", "score": "0.5948858", "text": "public void readData() {\n parseInputFile();\n }", "title": "" }, { "docid": "a089272276926ede65e3364233cb2117", "score": "0.5939775", "text": "@Test\n public void testCellMiaFileParser() {\n\n File trackingFile = new File(CellMiaFileParserTest.class.getClassLoader().getResource(\"tracking.txt\").getPath());\n List<Track> trackList = cellMiaFileParser.parseTrackingFile(trackingFile);\n\n File bulkCellFile = new File(CellMiaFileParserTest.class.getClassLoader().getResource(\"bulkcell.txt\").getPath());\n List<TimeStep> timeStepList = cellMiaFileParser.parseBulkCellFile(bulkCellFile);\n\n Assert.assertTrue(!trackList.isEmpty());\n Assert.assertTrue(trackList.size() == 91);\n Assert.assertTrue(!timeStepList.isEmpty());\n Assert.assertTrue(timeStepList.size() == 108);\n }", "title": "" }, { "docid": "3155c9378df552bd178bf94ebbd29c3a", "score": "0.59300345", "text": "Data mo21457a(File file) throws FileNotFoundException;", "title": "" }, { "docid": "e1ba53b34ac4f0731e2f766e438cd112", "score": "0.59272003", "text": "public void load() {\n\t\ttry {\n\t\t\tScanner fileReader = new Scanner(filePath);\n\t\t\t\t\n\t\t\twhile (fileReader.hasNext()) {\n\t\t\t\tString s = fileReader.nextLine();\n\t\t\t\t\n\t\t\t\teList.add(Employee.readFromLine(s));\n\t\t\t}\n\t\t\t\t\n\t\t\tfileReader.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "904257857f9622afd15e1515de286a6a", "score": "0.59246475", "text": "@Test\n void loadList()\n {\n }", "title": "" }, { "docid": "40fc3904bde64af80a9d14eda7e7a94d", "score": "0.5921783", "text": "private void loadData() {\n if (!fileExists(filename)) {\n return;\n }\n\n // read from the file\n try {\n CsvReader data = new CsvReader(filename);\n data.readHeaders();\n\n // parse the data\n while (data.readRecord()) {\n crypto = data.get(\"crypto\");\n currency = data.get(\"currency\");\n timePeriod = data.get(\"time\");\n index = Integer.parseInt(data.get(\"index\"));\n }\n } catch (FileNotFoundException exception) {\n exception.printStackTrace();\n }\n catch (IOException exception) {\n exception.printStackTrace();\n }\n }", "title": "" }, { "docid": "37c9e3edbd118873b8161181a60099fc", "score": "0.59193903", "text": "@Test\n public void test01ReadFile() throws LibrecException {\n conf.set(CONF_DATA_INPUT_PATH, \"test/arfftest/data.arff\");\n ArffDataModel dataModel = new ArffDataModel(conf);\n dataModel.buildDataModel();\n Assert.assertEquals(6, dataModel.getItemMappingData().size());\n Assert.assertEquals(5, dataModel.getUserMappingData().size());\n }", "title": "" }, { "docid": "37420478c832f60bed5fac8bd596903c", "score": "0.5887433", "text": "public void loadFile() {\n\t\tArrayList<Task> mainList = new ArrayList<Task>();\n\t\tmainList = _storage.getMasterList();\n\t\t_listsManager.setUpLists(mainList);\n\t}", "title": "" }, { "docid": "19dd81942b43cc4ec3da27727900bee2", "score": "0.58798", "text": "@Override\n\t\tpublic void Load(String filename) {\n\t\t}", "title": "" }, { "docid": "8bf4c70fe358606c8ee4138015eb6df2", "score": "0.5877481", "text": "void load(String path);", "title": "" }, { "docid": "2a55429e63d1198bb3ef2e6ca9c50798", "score": "0.586973", "text": "public T load(File configFile) throws IOException;", "title": "" }, { "docid": "befa63ab861f402bf9044946d014e561", "score": "0.5865148", "text": "public void loadData() throws FileSystemException {\n\t\t//this.trainingSet = new VFSGroupDataset<FImage>(\"/Users/tangke/Desktop/data/training\",\n\t\t//\t\tImageUtilities.FIMAGE_READER);\n\t\t\n\t\t\n\t\t//this.testingSet = new VFSListDataset<FImage>(\"/Users/tangke/Desktop/data/testing\",\n\t\t//\t\tImageUtilities.FIMAGE_READER);\n\t\ttrainingSet = new VFSGroupDataset<FImage>(\"/Users/tangke/Desktop/data/training\",\n\t\t\t\tImageUtilities.FIMAGE_READER);\n\t\t//splits = new GroupedRandomSplitter<>(trainingSet, 70, 0, 30);\n\t\t\n\t}", "title": "" }, { "docid": "571d23264fb3d54e3fbbeeb235f97697", "score": "0.58635384", "text": "@Test\n public void givenStatesCensusCSVFileReturnsCorrectRecords() {\n try {\n //Creating object for censusAnalyser class\n CensusAnalyser censusAnalyser = new CensusAnalyser();\n //Calling loadIndiaCensusData method here\n int numOfRecords = censusAnalyser.loadIndiaCensusData(INDIA_CENSUS_CSV_FILE_PATH);\n Assert.assertEquals(29,numOfRecords);\n }\n catch (CensusAnalyserException e) {\n }\n }", "title": "" }, { "docid": "799d84a43b4f1ec0e5c6a96e31b8ffbc", "score": "0.5852177", "text": "private void importState(File file) {\r\n\t\ttry {\r\n\t\t\tFileInputStream streamIn = new FileInputStream(file);\r\n\t\t ObjectInputStream objectinputstream = new ObjectInputStream(streamIn);\r\n\t\t ArrayList<Object> readCase = (ArrayList<Object>) objectinputstream.readObject();\r\n\t\t treeNavigator.importData(readCase);\r\n\t\t objectinputstream.close();\r\n\t\t } catch (Exception e) {\r\n\t\t\t JOptionPane.showMessageDialog(this, \"File is corrupt! cannot load.\");\r\n\t\t }\r\n\t}", "title": "" }, { "docid": "fdf452bd4a123ab3d78b8589c7ab8123", "score": "0.5844662", "text": "@Test\n public void readFile() throws Exception {\n }", "title": "" }, { "docid": "c187087af1e3a3f50f14d288e5286ba3", "score": "0.58391374", "text": "private void loadContainerData(String filePath)\n\t{\n\t\ttry\n\t\t{\n\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder builder = factory.newDocumentBuilder();\n\t\t\tDocument doc = builder.parse(filePath);\n\t\t\t\n\t\t\tthis.extractTimeUnits(doc, XML_TAG_TIMEUNIT_MONTH, this.months);\n\t\t\tthis.extractTimeUnits(doc, XML_TAG_TIMEUNIT_DAY, this.days);\n\t\t\tthis.extractTimeUnits(doc, XML_TAG_TIMEUNIT_HOUR, this.hours);\n\t\t}\n\t\tcatch(Exception ex)\n\t\t{\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "2a23163f5e0fd3ee075ff9ebae986e1a", "score": "0.5837383", "text": "public static void dataLoad() throws FileNotFoundException, IOException {\n\t\tprop.load(new FileInputStream(Path_Properties));\n\t}", "title": "" }, { "docid": "1fc5dfdf46974600350c5026acc04505", "score": "0.5829678", "text": "@Test\n public void testReadMetadataFromFile() {\n MetaDataParser.readMetadataFromFile(\"src/main/resources/TestFiles/metadataTestFile.xlsx\");\n assertEquals(1, MetaDataParser.getMetadata().size());\n }", "title": "" }, { "docid": "e51b051d74deac2a0c7e6018de127bb9", "score": "0.5822957", "text": "public void loadData()\n {\n }", "title": "" }, { "docid": "08d8dabfec4adc50fd6b655ac718c7e5", "score": "0.58194673", "text": "@Factory\r\r\n @Parameters({ \"dataFile\" })\r\r\n public Object[] getTests(@Optional(\"\") String dataFile) throws Exception {\r\r\n return TestExecutionUtils.getTests(this.getClass().getName(), dataFile);\r\r\n }", "title": "" }, { "docid": "cc742da125bb72e7d566ea850c9874a3", "score": "0.5810592", "text": "public void enterTestData(){\r\n \r\n \r\n // enter the Strings of the test names \r\n // for(int i = 0; i < numberOfTests; i++){\r\n dataObject.testFileNames.add(\"HelloWorld.java\"); \r\n dataObject.testFileNames.add(\"TicTacToe.java\");\r\n dataObject.testFileNames.add(\"ArraySearch.java\");\r\n // } \r\n \r\n \r\n \r\n \r\n //enter integer values for pass/ fail, with a given fail percentage \r\n for(int i = 0; i < dataObject.numberOfTests; i++){\r\n int chanceToPass = (int) (Math.random() * 100) + 1;\r\n if(chanceToPass > 20){ // 20% chance to fail\r\n dataObject.testFileResults.add(0); // enter pass number\r\n }else{\r\n dataObject.testFileResults.add(1); // enter fail number \r\n }\r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }", "title": "" }, { "docid": "be36260432936185c3fc00280009e7c7", "score": "0.57961464", "text": "public void load(String file)\r\n/* 95: */ throws FileNotFoundException, IOException, InvalidConfigurationException\r\n/* 96: */ {\r\n/* 97:169 */ Preconditions.checkNotNull(file, \"File cannot be null\");\r\n/* 98: */ \r\n/* 99:171 */ load(new File(file));\r\n/* 100: */ }", "title": "" }, { "docid": "bf258d8df94fade589635a0e12e74be8", "score": "0.57955486", "text": "@Test\n void gameCsvReader()\n {\n }", "title": "" }, { "docid": "fc6480939293193eb1ed65524d08189f", "score": "0.5790903", "text": "public void testLoadData(AppDataComponent data, String filePath) throws IOException {\n CSGData dataManager = (CSGData) data;\n TAData taData = dataManager.getTaData();\n\n // LOAD THE JSON FILE WITH ALL THE DATA\n JsonObject json = loadJSONFile(filePath);\n\n // LOAD THE START AND END HOURS\n String startHour = json.getString(JSON_START_HOUR);\n String endHour = json.getString(JSON_END_HOUR);\n //taData.initHours(startHour, endHour);\n\n // NOW RELOAD THE WORKSPACE WITH THE LOADED DATA\n //app.getWorkspaceComponent().reloadWorkspace(app.getDataComponent());\n // NOW LOAD ALL THE UNDERGRAD TAs\n JsonArray jsonTAArray = json.getJsonArray(JSON_UNDERGRAD_TAS);\n for (int i = 0; i < jsonTAArray.size(); i++) {\n JsonObject jsonTA = jsonTAArray.getJsonObject(i);\n String name = jsonTA.getString(JSON_NAME);\n String email = jsonTA.getString(JSON_EMAIL);\n taData.addTA(name, email);\n }\n //Recitations\n RecitationData recitationData = dataManager.getRecitationData();\n ObservableList<Recitation> recitations = recitationData.getRecitations();\n JsonArray jsonRecitationArray = json.getJsonArray(JSON_RECITATION);\n for (int i = 0; i < jsonRecitationArray.size(); i++) {\n JsonObject jsonRecitation = jsonRecitationArray.getJsonObject(i);\n String section = jsonRecitation.getString(JSON_RECITATION_SECTION);\n String instructor = jsonRecitation.getString(JSON_RECITATION_INSTRUCTOR);\n String dayTime = jsonRecitation.getString(JSON_RECITATION_DAY_TIME);\n String location = jsonRecitation.getString(JSON_RECITATION_LOCATION);\n String ta1 = jsonRecitation.getString(JSON_RECITATION_TA1);\n String ta2 = jsonRecitation.getString(JSON_RECITATION_TA2);\n recitations.add(new Recitation(section, instructor, dayTime, location, ta1, ta2));\n }\n //Schedule Items\n ScheduleData scheduleData = dataManager.getScheduleData();\n ObservableList<ScheduleItem> scheduleItems = scheduleData.getScheduleItems();\n JsonArray jsonScheduleItemsArray = json.getJsonArray(JSON_SCHEDULE_ITEMS);\n for (int i = 0; i < jsonScheduleItemsArray.size(); i++) {\n JsonObject jsonScheduleItem = jsonScheduleItemsArray.getJsonObject(i);\n String type = jsonScheduleItem.getString(JSON_HOLIDAY_TYPE);\n String date = jsonScheduleItem.getString(JSON_HOLIDAY_DATE);\n String title = jsonScheduleItem.getString(JSON_HOLIDAY_TITLE);\n String topic = jsonScheduleItem.getString(JSON_HOLIDAY_TOPIC);\n scheduleItems.add(new ScheduleItem(type, date, title, topic, \"\", \"\"));\n }\n //ProjectData\n ProjectData projectData = dataManager.getProjectData();\n ObservableList<Student> students = projectData.getStudents();\n JsonArray jsonStudentsArray = json.getJsonArray(JSON_STUDENTS);\n for (int i = 0; i < jsonStudentsArray.size(); i++) {\n JsonObject jsonStudent = jsonStudentsArray.getJsonObject(i);\n String firstName = jsonStudent.getString(JSON_STUDENT_FIRST_NAME);\n String lastName = jsonStudent.getString(JSON_STUDENT_LAST_NAME);\n String role = jsonStudent.getString(JSON_STUDENT_ROLE);\n String team = jsonStudent.getString(JSON_STUDENT_TEAM);\n students.add(new Student(firstName, lastName, role, team));\n }\n ObservableList<Team> teams = projectData.getTeams();\n JsonArray jsonTeamsArray = json.getJsonArray(JSON_TEAMS);\n for (int i = 0; i < jsonTeamsArray.size(); i++) {\n JsonObject jsonTeam = jsonTeamsArray.getJsonObject(i);\n String color = jsonTeam.getString(JSON_TEAM_COLOR);\n String textColor = jsonTeam.getString(JSON_TEAM_TEXT_COLOR);\n String name = jsonTeam.getString(JSON_TEAM_NAME);\n String link = jsonTeam.getString(JSON_TEAM_LINK);\n teams.add(new Team(color, textColor, name, link));\n }\n //courseDetailsData\n CourseDetailsData courseDetailsData = dataManager.getCourseDetailsData();\n CourseInfo courseInfo = courseDetailsData.getCourseInfo();\n JsonArray jsonCourseInfoArray = json.getJsonArray(JSON_COURSE);\n for (int i = 0; i < jsonCourseInfoArray.size(); i++) {\n JsonObject jsonCourseInfo = jsonCourseInfoArray.getJsonObject(i);\n courseInfo.setExportDir(jsonCourseInfo.getString(JSON_COURSE_EXPORT_DIR));\n courseInfo.setInstrHome(jsonCourseInfo.getString(JSON_COURSE_INSTRUCTOR_HOME));\n courseInfo.setInstrName(jsonCourseInfo.getString(JSON_COURSE_INSTRUCTOR_NAME));\n courseInfo.setNumber(jsonCourseInfo.getString(JSON_COURSE_NUMBER));\n courseInfo.setSemester(jsonCourseInfo.getString(JSON_COURSE_SEMESTER));\n courseInfo.setSubject(jsonCourseInfo.getString(JSON_COURSE_SUBJECT));\n courseInfo.setTitle(jsonCourseInfo.getString(JSON_COURSE_TITLE));\n courseInfo.setYear(jsonCourseInfo.getString(JSON_COURSE_YEAR));\n }\n SiteTemplate siteTemplate = courseDetailsData.getSiteTemplate();\n String templateDirectory = json.getString(JSON_SITE_TEMPLATE_DIRECTORY);\n siteTemplate.setTemplateDirectory(templateDirectory);\n //\n ObservableList<SitePages> sitePages = siteTemplate.getSitePages();\n JsonArray jsonSitePagesArray = json.getJsonArray(JSON_SITE_PAGES);\n for (int i = 0; i < jsonSitePagesArray.size(); i++) {\n JsonObject jsonSitePage = jsonSitePagesArray.getJsonObject(i);\n Boolean use = jsonSitePage.getBoolean(JSON_SITE_USE);\n String script = jsonSitePage.getString(JSON_SITE_SCRIPT);\n String navbar = jsonSitePage.getString(JSON_SITE_NAVBAR);\n String fileName = jsonSitePage.getString(JSON_SITE_PAGE_FILE_NAME);\n sitePages.add(new SitePages(use, navbar, fileName, script));\n }\n //cour\n\n // AND THEN ALL THE OFFICE HOURS\n /*\n JsonArray jsonOfficeHoursArray = json.getJsonArray(JSON_OFFICE_HOURS);\n for (int i = 0; i < jsonOfficeHoursArray.size(); i++) {\n JsonObject jsonOfficeHours = jsonOfficeHoursArray.getJsonObject(i);\n String day = jsonOfficeHours.getString(JSON_DAY);\n String time = jsonOfficeHours.getString(JSON_TIME);\n String name = jsonOfficeHours.getString(JSON_NAME);\n dataManager.addOfficeHoursReservation(day, time, name);\n }\n */\n }", "title": "" }, { "docid": "cebe9eb7c1232269accaebc50d8c4e0e", "score": "0.57794166", "text": "@Override\n protected void loadData() {\n try {\n DocumentBuilder documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();\n rootDocument = documentBuilder.parse(filePath);\n NodeList nodeList = rootDocument.getDocumentElement().getChildNodes();\n List<E> entities = new ArrayList<>();\n IntStream\n .range(0, nodeList.getLength())\n .filter((i) -> nodeList.item(i) instanceof Element)\n .forEach((i) -> entities.add(extractEntity((Element) nodeList.item(i))));\n loadEntities(entities);\n } catch (ParserConfigurationException e) {\n throw new PetShopException(\"Parser Configuration Exception: \" + e.getMessage());\n } catch (SAXException e) {\n throw new PetShopException(\"SAXException: \" + e.getMessage());\n } catch (IOException ioException) {\n throw new PetShopException(\"IOException: \" + ioException.getMessage());\n }\n }", "title": "" }, { "docid": "54f0c4171b315ef459f09b9493f71239", "score": "0.57675713", "text": "public void loadTestData(){\n \tFile clickFile = new File(new File(\"\").getAbsolutePath().toString() + \"/static/analytics_csv/click_log.csv\");\n File impressionsFile = new File(new File(\"\").getAbsolutePath().toString() + \"/static/analytics_csv/impression_log.csv\");\n File serverFile = new File(new File(\"\").getAbsolutePath().toString() + \"/static/analytics_csv/server_log.csv\");\n\n \tDBHandler handler;\n \ttry{\n \t\t//loading data\n handler = DBHandler.getDBConnection();\n if (!DEBUG_ON) {\n handler.dropDatabase();\n handler.enableSharding();\n handler.shardCollection(\"impression_data\");\n Parser.parseCSV(impressionsFile);\n Parser.parseCSV(serverFile);\n Parser.parseCSV(clickFile);\n\n DBQuery.indexImpressions();\n DBQuery.makeBreakdown();\n }\n //getting data from database\n Map<DateTime, Double> clickCount = DBQuery.getNumClicks();\n \n //printing data\n for (Map.Entry<DateTime, Double> entryMap : clickCount.entrySet()){\n \tDateTime name = entryMap.getKey();\n \tDouble data = entryMap.getValue();\n System.out.println(\"Entry with name: \"+name+\" has key: \"+name+ \" and value: \" + data);\n }\n\n } catch (MongoAuthException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "ac58d84b1083f187230fa703c49ee97c", "score": "0.57628906", "text": "public void load(File file)\r\n/* 63: */ throws FileNotFoundException, IOException, InvalidConfigurationException\r\n/* 64: */ {\r\n/* 65:116 */ Preconditions.checkNotNull(file, \"File cannot be null\");\r\n/* 66: */ \r\n/* 67:118 */ load(new FileInputStream(file));\r\n/* 68: */ }", "title": "" }, { "docid": "2f5c93b96554c5517cc8e3457c96befd", "score": "0.5756776", "text": "void loadModel(String fileName);", "title": "" }, { "docid": "24f02b4cee0245cebbb5024deaae19ff", "score": "0.57513916", "text": "public void loadDataset(String fileName) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader(fileName));\n\t\t\tArffReader arff = new ArffReader(reader);\n\t\t\ttrainData = arff.getData();\n\t\t\tString temp=\"===== Loaded dataset: \" + fileName + \" =====\";\n\t\t\tSystem.out.println(temp);\n//\t\t\tpopup.appendTextToView(temp+\"\\n\");\n\t\t\tAllResult.append(temp);\n\t\t\treader.close();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tSystem.out.println(\"Problem found when reading: \" + fileName);\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "title": "" }, { "docid": "40dd4c65c9de17ab0247b400725248d3", "score": "0.57499456", "text": "@Test\r\n public void testImportData() throws Exception {\r\n System.out.println(\"importData\");\r\n AppDataComponent data = null;\r\n String filePath = \"\";\r\n FileManager instance = new FileManager();\r\n instance.importData(data, filePath);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "b61f27fb1397b9ad357020333e58152f", "score": "0.57458854", "text": "private void loadData() {\n\t Properties prop = new Properties();\n\t \n\t //Read configuration.properties file\n\t try {\n\t prop.load(new FileInputStream(propertyFilePath));\n\t } catch (IOException e) {\n\t System.err.println(\"Configuration properties file cannot be found!\");\n\t }\n\t \n\t //Get properties from configuration.properties\n\t url = prop.getProperty(\"Url\");\n\t browser = prop.getProperty(\"Browser\");\n\t }", "title": "" }, { "docid": "1d57cd71274bd8efe432feac8d957a4e", "score": "0.574332", "text": "@PostConstruct\r\n\tpublic void readFileInMemory() {\r\n\t\ttrie = new Trie();\r\n\t\tResource resource = resourceLoader.getResource(\"classpath:City-Names.csv\");\r\n\t\ttry (FileReader fileReader = new FileReader(resource.getFile());\r\n\t\t\t\tBufferedReader reader = new BufferedReader(fileReader)) {\r\n\t\t\t// reading header\r\n\t\t\tString currentLine = reader.readLine();\r\n\t\t\tcurrentLine = reader.readLine();\r\n\r\n\t\t\twhile (currentLine != null) {\r\n\t\t\t\tString[] words = currentLine.split(\",\");\r\n\t\t\t\ttrie.insert(words[0]);\r\n\t\t\t\tcurrentLine = reader.readLine();\r\n\t\t\t}\r\n\t\t} catch (IOException fileLoadException) {\r\n\t\t\tlogger.error(\"Error while loading file {}\", fileLoadException);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dc2ac5806b1de2b6b0d4c10e850378b7", "score": "0.5739157", "text": "public void loadData() {\n\t\tif (Main.APP_CONTEXT != null) {\n\t\t\tPath dataJson = Paths.get(Main.APP_CONTEXT.getVarFolder()).resolve(\"data.json\");\n\t\t\tMain.APP_CONTEXT.getSession().out().printf(\"reading from %s%n\",dataJson);\n\t\t\tif (Files.exists(dataJson)) {\n\t\t\t\tAlbum[] a = null;\n\t\t\t\ttry {\n\t\t\t\t\ta = Main.APP_CONTEXT.getWorkspace().elem()\n\t\t\t\t\t\t\t.setContentType(NutsContentType.JSON)\n\t\t\t\t\t\t\t.parse(dataJson, Album[].class);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (a != null) {\n\t\t\t\t\tallAlbums.addAll(Arrays.asList(a));\n\t\t\t\t}\n\t\t\t\tif (a != null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// create demonstration data whenever there is no previous configuration!\n\t\tCategory pop = new Category(\"Pop\",\n\t\t\t\t\"Pop is a genre of popular music that originated in its modern form during the mid-1950s in the United States and the United Kingdom\");\n\t\tCategory funk = new Category(\"Funk\",\n\t\t\t\t\"Funk music is an amalgam of soul music, soul jazz, R&B, and Afro-Cuban rhythms absorbed and reconstituted in New Orleans\");\n\t\tCategory rnb = new Category(\"R&B\",\n\t\t\t\t\"Rhythm and blues, often abbreviated as R&B or R'n'B, is a genre of popular music that originated in African-American communities in the 1940s\");\n\t\tCategory classical = new Category(\"Classical\",\n\t\t\t\t\"Classical music is a term that most commonly refers to the formal musical tradition of the Western world, considered to be distinct from Western folk music\");\n\n\t\tSinger aznavour = new Singer(\"Charles Aznavour\", \"image.png\");\n\t\tSinger fouler = new Singer(\"Adam Fouler\", \"image.png\");\n\n\t\tallAlbums.add(new Album(\"Fool\", \"Single Album\", \"image.png\", 2003, fouler,\n\t\t\t\tnew Song[] { new Song(\"Dot be Fool\", pop, 360), new Song(\"Don't Fool Me\", pop, 360),\n\t\t\t\t\t\tnew Song(\"Fool And Tamia\", rnb, 360), }));\n\t\tallAlbums.add(new Album(\"Non, je n'ai rien oublié\", \"Single Album\", \"image.png\", 1971, aznavour,\n\t\t\t\tnew Song[] { new Song(\"Non, je n'ai rien oublié\", pop, 360), new Song(\"Un par un\", pop, 360),\n\t\t\t\t\t\tnew Song(\"Partir\", pop, 360) }));\n\t\tallAlbums.add(new Album(\"Plus bleu...\", \"Single Album\", \"image.png\", 1997, aznavour,\n\t\t\t\tnew Song[] { new Song(\"Plus bleu que tes yeux\", pop, 360), new Song(\"Les enfants\", pop, 360),\n\t\t\t\t\t\tnew Song(\"Ce métier\", pop, 360) }));\n\n\t\t// try to save the configuration for the next execution\n\t\tif (Main.APP_CONTEXT != null) {\n\t\t\tPath dataJson = Paths.get(Main.APP_CONTEXT.getVarFolder()).resolve(\"data.json\");\n\t\t\tMain.APP_CONTEXT.getSession().out().printf(\"writing to %s%n\",dataJson);\n\t\t\ttry {\n\t\t\t\tdataJson.getParent().toFile().mkdirs();\n\t\t\t\tMain.APP_CONTEXT.getWorkspace().elem().setContentType(NutsContentType.JSON)\n\t\t\t\t.setValue(allAlbums).println(dataJson);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "3692f7fe4f4899b2d862e7a08f44eaf1", "score": "0.57373136", "text": "@Test\n\tpublic void testLoad() throws Exception {\n\t\texpect(this.reader.readLine()).andReturn(\"false\");\n\t\tthis.reader.close();\n\t\t//change the mode of our mock to production\n\t\treplay(this.reader);\n\t\t\n\t\t//invoke method to test\n\t\tBoardState actual = this.filePersistenceStrategy.load();\n\t\t\n\t\t//verify\n\t\tassertEquals(this.board.getState(), actual);\n\t\tverify(this.reader);\n\t}", "title": "" }, { "docid": "7a461035ebe7ac34c353403e7f945838", "score": "0.5725199", "text": "public void loadData(String dataPath) throws FileNotFoundException {\n\n Class<?>[] classes = new Class[]{Person.class};\n\n XStream xstream = new XStream();\n XStream.setupDefaultSecurity(xstream);\n xstream.allowTypes(classes);\n\n xstream.processAnnotations(Person.class);\n\n URL dataResource = getClass().getResource(dataPath);\n if (dataResource == null) {\n throw new FileNotFoundException(dataPath);\n }\n\n root = (Person) xstream.fromXML(dataResource);\n }", "title": "" }, { "docid": "af57ee314a4e1972b3c7cb18be743603", "score": "0.5713323", "text": "public void populateTrainData()\n\t{\n\t\ttry\n\t\t{\n\t\t\tFileReader fileReader = new FileReader(fileNameTrain); // file reader object\n\t\t\tBufferedReader bufferedReader = new BufferedReader(fileReader); // buffered Reader\n\t\t\tString line; // line by line reading\n\t\t\t// read the first line\n\t\t\tline = bufferedReader.readLine();\n\t\t\tString nameArr[] = line.split(SEPARATOR);\n\t\t\tfor(int i=0;i<nameArr.length;i++)\n\t\t\t{\n\t\t\t\tif(i==0)\n\t\t\t\t{\n\t\t\t\t\tclassName = nameArr[i];\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tlistOfFeatureName.add(nameArr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\twhile((line = bufferedReader.readLine()) != null)\n\t\t\t{\n\t\t\t\tString featureArr[] = line.split(SEPARATOR);\n\t\t\t\tAHTrainInstance newInstance = new AHTrainInstance();\n\t\t\t\tfor(int i=0;i<featureArr.length;i++)\n\t\t\t\t{\n\t\t\t\t\tif(i==0)\n\t\t\t\t\t{\n\t\t\t\t\t\tint bClass = Integer.valueOf(featureArr[i]);\n\t\t\t\t\t\tnewInstance.setBinaryClass(bClass);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tdouble featureValue = Double.valueOf(featureArr[i]);\n\t\t\t\t\t\tnewInstance.addFeature(featureValue);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlistOfTrainInstances.add(newInstance);\n\t\t\t}\n\t\t\tbufferedReader.close();\n\t\t\t\n\t\t}\n\t\tcatch(FileNotFoundException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcatch(IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "b531b6d2499a4ba10f1ff1d6feddfc11", "score": "0.5708965", "text": "public void load(String filename) throws FileNotFoundException, IOException, ClassNotFoundException {\n\n ObjectInputStream inob = new ObjectInputStream(new FileInputStream(filename));\n _trainCompany = (TrainCompany)inob.readObject();\n }", "title": "" }, { "docid": "9f5448fdc0a2a175cc72a1f35a29b7eb", "score": "0.5707308", "text": "void load() throws IOException;", "title": "" }, { "docid": "0e11051f7b7af1a655930ec4dbe01440", "score": "0.57004774", "text": "@Before\r\n public void setUp() {\r\n super.prepareDataFromClasspathScript(new String[] \r\n { \"com/baidu/beidou/api/internal/business/exporter/impl/NameServiceImplTest_data.sql\" });\r\n }", "title": "" }, { "docid": "785bdec8d87f82628245e2dd588ca1fc", "score": "0.56935054", "text": "public void readData(String fileName) throws FileNotFoundException\n {\n Scanner TicketData = new Scanner(new File(fileName));\n\n while (TicketData.hasNext())\n {\n addTicket(new Ticket(TicketData.next(), TicketData.next(), TicketData.nextLong(), TicketData.nextInt(), TicketData.nextInt(), TicketData.nextInt(), TicketData.nextInt()));\n }\n }", "title": "" }, { "docid": "44302646ea06d7f7c7b3b85375213452", "score": "0.56909996", "text": "public void readFromFile() {\r\n String s;\r\n planMap.clear();\r\n try {\r\n InputStreamReader ir = new InputStreamReader(ClassLoader\r\n .getSystemResourceAsStream(Settings\r\n .getFilePath(\"PlansDS.PlanDataFile\")));\r\n BufferedReader in = new BufferedReader(ir);\r\n if ((s = in.readLine()) == null) {\r\n return;\r\n } else if (!s.equalsIgnoreCase(\"<planList>\")) { \r\n throw new IOException(\"<planList> expected\"); \r\n }\r\n readPlans(in);\r\n in.close();\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "91f9a9ec192043c66b1d7501344ef6da", "score": "0.5689062", "text": "public void XMLLiveTest(String filename, String data) {\n\t\t\n\t\t// use default test name if the filename passed is not valid\n\t\tif(Validation.isValidString(filename)) {\n\t\t\tname = filename;\n\t\t}\n\t\t\n\t\tString filePath = pathToTests + name;\n\t\t\n\t\t//splitting data in case it is too large\n\t\t//String[] splitedData = data.split(\"\\\\s+\");\n\t\t//splitedData = generateStreamAlertFormat(splitedData);\n\t\t\n\t\t//for (String singularData : splitedData) {\n\t\t\t// create the test file to perform a live-test on\n\t\t\tcreateTest(filePath, data);\n\t\t\t\n\t\t\t// run the live test for the --cluster prod --rules xml_to_slack_2\n\t\t\texecuteLiveTest();\n\t\t//}\t\n\t}", "title": "" }, { "docid": "8ce6692ab9b22b263674960d8ef73b52", "score": "0.5678863", "text": "@Test\n public void dataTest() {\n // TODO: test data\n }", "title": "" }, { "docid": "1b8d278c745d834f2be7cd5288219b11", "score": "0.5677237", "text": "public void readData(String filePath) {\n\t\tString[] line = null; // hold current string read\n\t\tint addMode = 0; // read instructors, courses or students\n\t\ttry {\n\t\t\tFile file = new File(filePath);\n\t\t\tfile = new File(file.getAbsolutePath());\n\t\t\treader = new Scanner(file);\n\n\t\t\twhile (reader.hasNext()) {\n\t\t\t\t\n\t\t\t\tint amount = reader.nextInt();\n\n\t\t\t\tfor (int i = 0; i <= amount; i++) {\n\t\t\t\t\tline = reader.nextLine().split(\",\"); // split string by\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// commas\n\t\t\t\t\t// what objects are we adding?\n\t\t\t\t\toptionAddMode(line, addMode);\n\t\t\t\t}\n\t\t\t\taddMode += 1; // we're done adding a group of data, let's move\n\t\t\t\t\t\t\t\t// to the next\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7ca4b166e2da6bbe0021394753470391", "score": "0.5674814", "text": "@Test\r\n\tpublic void testRead() {\r\n\t\ttry {\r\n\t\t\t//File inputFile = new File(\"D:\\\\Montomery College\\\\CMSC 203\\\\ECLIPSE_FILES_CARLA\\\\CMSC204_A0Assigments\\\\src\\\\hw4_DataBasesCursesV2\\\\Test1.txt\");\r\n\t\t\tFile inputFile = new File(\"Test1Student.txt\"); //but creates the file outsite the package, however still is reached when we read it\r\n\r\n\t\t\tPrintWriter inFile = new PrintWriter(inputFile);\r\n\t\t\tinFile.println(\"MATH101 30200 3 SC202 Diana Torrez\");\r\n\t\t\tinFile.print(\"MATH103 30240 4 SC404 Isabelle Villca\");\r\n\t\t\t\r\n\t\t\tinFile.close();\r\n\t\t\tdataMgr.readFile(inputFile);\r\n\t\t\t//System.out.println(dataMgr.showAll());\r\n\t\t} catch (Exception e) {\r\n\t\t\tfail(\"Should not have thrown an exception\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d6366f680b72d178d43249a3d4c7bb7a", "score": "0.56720066", "text": "private void loadPlayerData() {\r\n\t\tFile playerdata_file = new File(getDataFolder() + File.separator + \"playerdata.yml\");\r\n\r\n\t\t/*\r\n\t\t * Make sure the file exists.\r\n\t\t */\r\n\t\tif (!playerdata_file.exists())\r\n\t\t\tsaveResource(\"playerdata.yml\", true);\r\n\t\tplayerdata = YamlConfiguration.loadConfiguration(playerdata_file);\r\n\t}", "title": "" }, { "docid": "c1e340e975d04386158f604954bd0bde", "score": "0.56687576", "text": "private void load() {\n\n try (InputStream input = new FileInputStream(FILENAME)) {\n\n // load a properties file\n prop.load(input);\n\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "d295ce1fafb20f4d963abb15c581f70e", "score": "0.56673765", "text": "public void loadFile( String fileName )\r\n {\r\n int index = 0;\r\n Scanner inFile;\r\n\r\n try\r\n {\r\n if ( new File( fileName ).isFile() )\r\n {\r\n inFile = new Scanner( new File( fileName ) );\r\n }\r\n else\r\n {\r\n inFile = new Scanner( fileName );\r\n }\r\n\r\n while ( inFile.hasNext() )\r\n {\r\n statsData[index] = inFile.nextInt();\r\n \r\n index++;\r\n }\r\n }\r\n catch ( IOException i )\r\n {\r\n System.out.println( \"Error: \" + i.getMessage() );\r\n }\r\n howMany = index;\r\n }", "title": "" }, { "docid": "e78e843182437e12f2845279dcada034", "score": "0.5662638", "text": "private void load() {\n }", "title": "" }, { "docid": "0ab5291f0ca54ae7f849638def427ae6", "score": "0.56620383", "text": "public static void load(String filename){\n\t\tentities = load(filename, Entity.class);\n\t}", "title": "" }, { "docid": "b114b49876543515b611d3e53c1530ef", "score": "0.5649542", "text": "private String readData() {\n try {\n File loadData = new File(\"byow/Core/load.txt\");\n Scanner myReader = new Scanner(loadData);\n if (myReader.hasNextLine()) {\n String data = myReader.nextLine();\n return data;\n }\n myReader.close();\n } catch (FileNotFoundException e) {\n System.out.println(\"No loads available\");\n }\n return \"\";\n }", "title": "" }, { "docid": "2ffcd66abf76f865a550a71e65774f75", "score": "0.56427324", "text": "private void load(String filename) {\r\n try {\r\n load(new FileInputStream(filename), filename);\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "116b7b58334f40ae1618555d1cedce69", "score": "0.5638112", "text": "public void load(String file) throws Exception{\n init();\n game.load(file);\n showArea();\n }", "title": "" }, { "docid": "cc17f095936f2d7cec70bee9c9503242", "score": "0.563515", "text": "private void setupScenario1( )\n {\n\n vehicleSales = new VehiclesSales( );\n loadVehicles( \"./test/data/vehicles1.dat\" );\n\n }", "title": "" }, { "docid": "140206ce3d6abd17b5983643cf3a1451", "score": "0.56318635", "text": "public void loadData(){\n Properties property = new Properties();\n try {\n property.load(new FileInputStream(\"D:\\\\Automation\\\\TestNGERListeners\\\\src\\\\main\\\\resources\\\\configuration.properties\"));\n } catch (IOException e) {\n e.printStackTrace();\n System.out.println(\"Configuration properties file cannot be found\");\n }\n //Get properties from configuration.properties\n baseURL = property.getProperty(\"url\");\n }", "title": "" }, { "docid": "aaf43739e09b944fbe3144521fb2ac25", "score": "0.5619184", "text": "@Test\n public void testLoadFromYaml() throws IOException{\n ClassLoader classLoader = getClass().getClassLoader();\n File file = new File(classLoader.getResource(\"sinkConfig.yaml\").getFile());\n String path = file.getAbsolutePath();\n HudiSinkConfig config = HudiSinkConfig.load(path);\n assertEquals(config.getTableName(), \"test-table\");\n assertEquals(config.getTableType(), \"MERGE_ON_READ\");\n }", "title": "" } ]
486b9bb21be2f74c55181c31e30c3e98
Restarts the animation and pauses its progress.
[ { "docid": "0e8016cf5547356c77f7160735b141d7", "score": "0.59589547", "text": "public TickAnimation cancel() {\n\t\treturn restart().pause();\n\t}", "title": "" } ]
[ { "docid": "f6f9efea5455cb12e78c2f452f59511c", "score": "0.7672129", "text": "public void restartAnimation()\n\t{\n\t\tif (iCurrentAnimation < vetAnimations.size())\n\t\t{\n\t\t\tvetAnimations.get(iCurrentAnimation).restart();\n\t\t}\n\t}", "title": "" }, { "docid": "041eddb2d90077420166ea4812769d37", "score": "0.7560568", "text": "public TickAnimation restart() {\n\t\tthis.progress = isForward ? 0 : 1;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "c1347abd2bc19d1bf37621020893ba07", "score": "0.7168382", "text": "public void restart() {\n logger.debug(\"enter restart paused={}\", paused); //$NON-NLS-1$\n if (paused) {\n unPause();\n } else {\n pause();\n start();\n }\n }", "title": "" }, { "docid": "cfb0980f7583899790d9d48b11a70782", "score": "0.702684", "text": "public void pause() {\r\n animation.pause();\r\n }", "title": "" }, { "docid": "f87ed133a8115d75448ba8b87d2f6751", "score": "0.70001835", "text": "public void restart() {\n\t\tstarted = true;\n\t\ttimeElapsedMili = 0;\n\t\tisPaused = false;\n\t}", "title": "" }, { "docid": "738dff8bbdb33b84da4cfa6e32d03420", "score": "0.68738043", "text": "private void restart() {\n this.model.mix(5, 10);\n this.pane.setDisable(false);\n this.model.startTimer();\n this.createPieces();\n this.solveButton.setDisable(false);\n }", "title": "" }, { "docid": "17538cd825640b387ce0f7898dd06c78", "score": "0.6827602", "text": "public void restart() {\r\n\t\tstop();\r\n\t\tstart();\r\n\t}", "title": "" }, { "docid": "6b1a702882f58a3142cc5d5386213595", "score": "0.6780293", "text": "public synchronized void restart() {\r\n\tpaused = false;\r\n\trestarted = true;\r\n\tnotifyAll();\r\n }", "title": "" }, { "docid": "2c6ebed9fcf7638b7a59824247672ae4", "score": "0.6764236", "text": "public void restart() {\n panel.indicator = 1;\n }", "title": "" }, { "docid": "ce2a3ce78e3768fc509699c1e6cdcb6a", "score": "0.66978717", "text": "public void restart() {\n stop();\n start();\n }", "title": "" }, { "docid": "7c6201e07d4fbcd4f0dce5ee42cfdc14", "score": "0.6642576", "text": "public TickAnimation pause() {\n\t\tthis.inProgress = false;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "b5a01030872740ed97ebb93194bf7cdb", "score": "0.66119707", "text": "public void restart() {\r\n timer.stop();\r\n timeRemaining = 5;\r\n score = 0;\r\n button.setVisible(false);\r\n timer.start();\r\n }", "title": "" }, { "docid": "7dc6db79fa34d1e8c4a0656ccdef88d0", "score": "0.6600245", "text": "public void restart()\n {\n board.init();\n curr_player =0;\n pause=false;\n invalidate();\n }", "title": "" }, { "docid": "4342632dd26d51bc564f145f42ab21d0", "score": "0.6443516", "text": "public void restart() {\n if (running) {\n stop();\n restartRequested = true;\n } else {\n start();\n }\n }", "title": "" }, { "docid": "0847e761271c4209fb2a2c4b349733c1", "score": "0.6413085", "text": "public void restart() {\n\t}", "title": "" }, { "docid": "94ffaff237c230541d0d04b967f67581", "score": "0.6399782", "text": "void restart(){\n bat.reset(screenX/2, screenY/2);\n\n\n }", "title": "" }, { "docid": "3671eff7da5dd8e1e92c4859c5c9bbfb", "score": "0.6360786", "text": "public void restart()\n {\n }", "title": "" }, { "docid": "405309de9a821e3912a6843380059397", "score": "0.63596183", "text": "public void resetProgress() {\n mProgressIncreasing = false;\n mProgressUpdater.run();\n }", "title": "" }, { "docid": "639ffc145c2137130f224bcbbe7da87d", "score": "0.63493323", "text": "public void pauseAnimations() {\r\n this.animationsPaused = true;\r\n }", "title": "" }, { "docid": "dfd96d4226848af362c06a0b451b4ec1", "score": "0.63029075", "text": "public void restart() {\n\t\t// We cannot restart a game that has not started yet.\n\t\tif (state == State.Starting) {\n\t\t\tnotifyError(new GameError(\"The game has not started yet, you cannot restart it.\"));\n\t\t}\n\n\t\tstate = State.Starting; // mark it as starting\n\t\tstart(pieces); // and use start again to restart teh game\n\t}", "title": "" }, { "docid": "1978c4499acb0ec78b7bba0457f2e6d5", "score": "0.62862957", "text": "public void playAndRestore()\n {\n _restoreOnDone = true;\n configure();\n getAnim(0).play();\n }", "title": "" }, { "docid": "ffaae4e1ce191cece2f92e2a4804a6c8", "score": "0.6269928", "text": "public void restart()\r\n {\r\n sequence.clear();\r\n }", "title": "" }, { "docid": "da065146e72909bb21a8119eb4feac6b", "score": "0.6268678", "text": "public void pauseAnim() {\n ObjectAnimator objectAnimator = this.mAnimator;\n if (objectAnimator != null) {\n objectAnimator.cancel();\n }\n synchronized (this) {\n this.isPaused = true;\n }\n }", "title": "" }, { "docid": "927b7bd52c8a5a6aceb426e5ac69028e", "score": "0.6254677", "text": "public void restart(){\n\t\tthis.cycles = 0;\n\t}", "title": "" }, { "docid": "51a94b1ca617737a88904f2fc5ab1681", "score": "0.6210477", "text": "public void play() {\r\n animation.play();\r\n }", "title": "" }, { "docid": "155be7a9cb557c9031b78521520b6705", "score": "0.6204573", "text": "private void restart() {\n gameLoop.setPaused(false);\n\n window.hideGameState();\n\n // Makes ability bar and score panel visible.\n window.showUI();\n\n // Setup new game\n game.restartLevel();\n\n // Register player controls to new player object.\n registerPlayerControls();\n }", "title": "" }, { "docid": "ddaecc764a3870bf926c24e9ecc5653c", "score": "0.6192576", "text": "private void runAnimation() {\n setRunState();\n \n // perform animation\n while(true) {\n synchronized (animationLock) {\n if (!running)\n return;\n \n animate();\n }\n \n JPTUtilities.pauseThread(delay);\n }\n}", "title": "" }, { "docid": "daaf49c160ccdbc8be476c350650f131", "score": "0.6170193", "text": "void restart();", "title": "" }, { "docid": "daaf49c160ccdbc8be476c350650f131", "score": "0.6170193", "text": "void restart();", "title": "" }, { "docid": "2e272acee59879d55038c3be3a4977b8", "score": "0.6163249", "text": "public synchronized void start() {\n animate = true;\n }", "title": "" }, { "docid": "fa5b71a367b5680472da25ace3da9997", "score": "0.61468834", "text": "void pause() {\n shouldRun = true;\n if (valueAnimator != null)\n valueAnimator.cancel();\n }", "title": "" }, { "docid": "648487f0fea8b18cfbe8bd785637093e", "score": "0.61354256", "text": "public void playAnimations() {\r\n this.animationsPaused = false;\r\n }", "title": "" }, { "docid": "99787426143e2d2702b68daed5f0f580", "score": "0.6109998", "text": "private void restart() throws IOException {\n\t\tframe = MordorFrame.newInstance();\n\t\tprintLine(\"Restarted succesfully\");\n\t}", "title": "" }, { "docid": "7d370b60fd9fd25057a6ae50abf0f053", "score": "0.6095745", "text": "public void restart() \r\n\t{\r\n\t\tpaused = false; //Unpauses\r\n\t\tstart = false; //Makes sure the game doesn't start\r\n\t\tgameOver = false; //Game is not over\r\n\t\tscore = 0; //Resets the score\r\n\t\tpause = 0; //Resets pause delay\r\n\t\trestart = 0; //Resets restart delay\r\n\t\tpipe = 0; //Resets pipe delay\r\n\t\tflappy = new Flappy(); //Created a new bird\r\n\t\tpipes = new ArrayList<Pipe>(); //Makes new pipes\r\n\t}", "title": "" }, { "docid": "612e6bf4e22857dcbc873c31fd2a4c7b", "score": "0.6092702", "text": "public void resume() {\n\t\tpaused = false;\n\t\tmodel.pause(paused);\n\t\tview.pause(paused);\n\t}", "title": "" }, { "docid": "b4232c6e157a0c25e203fabb1f9af3e7", "score": "0.60866594", "text": "public TickAnimation play() {\n\t\tthis.inProgress = true;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "0f33b2d880bc3a832c154f83131b6e68", "score": "0.6064378", "text": "public void pause() {\n panel.indicator = 2;\n }", "title": "" }, { "docid": "941f969306dc8a25ac95145912c48f08", "score": "0.6056916", "text": "public void restart(View view) {\n ziv.clearAnimation();\n restart();\n }", "title": "" }, { "docid": "818bd26a601fc6437050777510165bc3", "score": "0.6053922", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tSystem.out.println(\"restart\");\n\t\t\t\trepaint2();\n\t\t\t\tGame.restartgame = 1;\n\n\t\t\t}", "title": "" }, { "docid": "0554eae6c117591c0722abbbc33c6e4c", "score": "0.6052614", "text": "public void pause() {\n boolean retry = true;\n mRunning = false;\n while (retry) {\n try {\n mRenderThread.join();\n retry = false;\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "248aa59fada36f94128dc83092a8f776", "score": "0.6047131", "text": "@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\tstartAnim();\n\t}", "title": "" }, { "docid": "bf91c87fd1542590d6a9d3ec1384cd01", "score": "0.6031005", "text": "public void pause() {\n setPaused(true);\n }", "title": "" }, { "docid": "f1f2e17689b1a98d0673c365536b9688", "score": "0.6008531", "text": "public void restart()\n {\n int len = elements.size();\n for(int i = 0; i < len; i++)\n elements.get(i).restart();\n }", "title": "" }, { "docid": "f3781374910af28b736c6c148226ca8d", "score": "0.6005154", "text": "private void pause() {\r\n\t\tif(!this.isStarted) {\r\n\t\t\treturn;\r\n\t\t}// Ending bracket of if\r\n\t\tthis.isPaused = !this.isPaused;\r\n\t\tif(this.isPaused) {\r\n\t\t\tthis.timer.stop();\r\n\t\t\tthis.statusBar.setText(\" -— paused ——\");\r\n\t\t} else {\r\n\t\t\tthis.timer.start();\r\n\t\t\tthis.statusBar.setText(String.valueOf(this.numLinesRemoved));\r\n\t\t}// Ending bracket of if\r\n\t\tthis.repaint();\r\n\t}", "title": "" }, { "docid": "462a0df65a7fb4d8069e02d0bb16f040", "score": "0.60027045", "text": "public void resetAnimation() {\n ((BetterSpriterAnimation)this.animation).myPlayer.setAnimation(IdleAnim);\n }", "title": "" }, { "docid": "beae07ccbfc92a3ad243079dacbecc5f", "score": "0.59722966", "text": "@Override\n public void restart() {\n \n }", "title": "" }, { "docid": "36e8a6555a8e786fe0966d295402601b", "score": "0.596743", "text": "public void restart() {\n\tthis.nbMoves = 0;\n\tthis.generateGrid();\n\tthis.shuffle();\n\t// on dit aux listeners qu'il s'est passee quelque chose et donc il\n\t// fonts ce qu'ils ont a faire (par exemple s'actualiser pour le gui)\n\t// vient de observer.AbstractListenableModel qui est la classe abstrait\n\t// dont le Board herite\n\tthis.fireChange();\n }", "title": "" }, { "docid": "e7765805d1065f92aa85019e2460b11f", "score": "0.59655637", "text": "public void onRestart() {\n\t\tposition.y = originalY;\n\t\tposition.x = originalX;\n\t\tvelocity.x = MOVEMENT;\n\t\tvelocity.y = 0;\n\t\tacceleration.y = GRAVITY;\n\t\tisAlive = true;\n\t}", "title": "" }, { "docid": "2cdaeb927a566e5ab02047273dbcc517", "score": "0.5950546", "text": "public void pause() {\n \r\n }", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.59481466", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.59481466", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.59481466", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.59481466", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.59481466", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fbcd3eb749a8f600ecb2df5db7b9ca56", "score": "0.59481466", "text": "@Override\r\n\tpublic void pause() {\n\t\t\r\n\t}", "title": "" }, { "docid": "27c1a93d906e024256e788dff51ebf81", "score": "0.59473234", "text": "public void resume() {\n setPaused(false);\n }", "title": "" }, { "docid": "a6ffbd3e50aa64e7faee5a06efba1028", "score": "0.59377736", "text": "public void pause() {\r\n\t}", "title": "" }, { "docid": "f8989e474413c196bb5518d41816e357", "score": "0.5930193", "text": "void animate( long timeProgress );", "title": "" }, { "docid": "d72492721a09d8cb3aab5b2b7612e586", "score": "0.5926103", "text": "@Override\r\n public void pause() {\n }", "title": "" }, { "docid": "1aa6afbef86f93c5cab1e474594feb38", "score": "0.5924478", "text": "public void playAnim() {\n Log.d(TAG, \"playAnim: \");\n ObjectAnimator objectAnimator = this.mAnimator;\n if (objectAnimator != null) {\n objectAnimator.cancel();\n }\n this.mAnimator = ObjectAnimator.ofFloat(this, \"alpha\", CONTROL_Y_FIRST, 1.0f);\n this.mAnimator.setDuration(1400L);\n this.mAnimator.setInterpolator(this.mReverseInterpolator);\n this.mAnimator.addListener(new AnimatorListenerAdapter() {\n /* class com.huawei.server.fingerprint.fingerprintanimation.WaterEffectRender.AnonymousClass1 */\n\n @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener\n public void onAnimationEnd(Animator animation) {\n synchronized (WaterEffectRender.this) {\n WaterEffectRender.this.isPaused = true;\n WaterEffectRender.this.mAlpha = WaterEffectRender.CONTROL_Y_FIRST;\n WaterEffectRender.this.isShouldDrawNext = true;\n }\n }\n\n @Override // android.animation.AnimatorListenerAdapter, android.animation.Animator.AnimatorListener\n public void onAnimationCancel(Animator animation) {\n animation.removeAllListeners();\n }\n });\n this.mAnimator.start();\n synchronized (this) {\n this.mAlpha = CONTROL_Y_FIRST;\n this.mStartTime = SystemClock.elapsedRealtime();\n this.isPaused = false;\n }\n }", "title": "" }, { "docid": "cdbeaf03e22980e41bbe7b21155b6984", "score": "0.592053", "text": "public void onPause() {\n clearAnim();\n }", "title": "" }, { "docid": "cd6d022c6cb83eee6ec26be90de78060", "score": "0.59195447", "text": "public void resume(){\n\t\tthis.pause = false;\n\t}", "title": "" }, { "docid": "68e7bfc43e35f8e4b85347989be1d3af", "score": "0.59107053", "text": "@Override\n public void pauseGame() {\n if (animation != null) {\n animation.stop();\n }\n }", "title": "" }, { "docid": "774b9e81cb73aa0b38c5272fc3b3e8ac", "score": "0.59100395", "text": "Snail restart();", "title": "" }, { "docid": "3e41976c12cba82929284c385e9c0d0b", "score": "0.5900554", "text": "public void restartSong(){\n try{\n radioObj.filePath = allSubFiles[songNum % allSubFiles.length].getAbsolutePath();\n radioObj.restart();\n }catch(Exception e){\n System.out.println(e.getMessage()); \n }\n }", "title": "" }, { "docid": "06c64c4d18be3fbbc280beb880502475", "score": "0.5893103", "text": "public void runAnimation() {\n\t\tindex++;\n\t\tif (index > speed) {\n\t\t\tindex = 0;\n\t\t\tupdateScene();\n\t\t}\n\t}", "title": "" }, { "docid": "6e54cdc50f4c72d399190b2e17f2b49c", "score": "0.58907604", "text": "public void resetAnim()\n\t{\n\t\tanimFrame = 0;\n\t\tanimLastTick = System.currentTimeMillis();\n\t\tisAnimFinished = false;\n\t\timgFrame = anims.get(animIndex).frames[animFrame];\n\t}", "title": "" }, { "docid": "2e6557a2feaadd3711d480950ede5649", "score": "0.5885122", "text": "public final void restartMenu(final String animatedTitle) {\n\t\tregisterButtons();\n\t\tredraw();\n\n\t\tif (animatedTitle != null)\n\t\t\tanimateTitle(animatedTitle);\n\t}", "title": "" }, { "docid": "5f359ce255144d4c162a5108c08dcd02", "score": "0.5884145", "text": "public void startAnimation(){\n\t}", "title": "" }, { "docid": "e44b07f26b0aa6862bd7266caea2183b", "score": "0.58824617", "text": "public void pauseAnimation(boolean pause) {\n\t\tisAnimationPaused = pause;\n\t}", "title": "" }, { "docid": "90aea7c8cb94042f60a25176d628a8bb", "score": "0.58813125", "text": "public final void restart() {\n if (!this.isAppLauched) {\n esg.a().b();\n esg.a().c();\n this.isAppLauched = true;\n }\n }", "title": "" }, { "docid": "564f3029760620a4f1f39cf512c1fbc8", "score": "0.58788687", "text": "public void doAnimation(){\n\t\tif (pause) return;\n\t\tif ((System.currentTimeMillis() - beginTime) < mDurationMilliseconds)\n\t\t\tMatrix.scaleM(mObj.mModelMatrix, 0, mZoomSpeeds[0]*((System.currentTimeMillis() - beginTime)/1000L), mZoomSpeeds[1]*((System.currentTimeMillis() - beginTime)/1000L), mZoomSpeeds[2]*((System.currentTimeMillis() - beginTime)/1000L));\n\t\telse\n\t\t\tstopAndResetAnimation();\n\t\t\n\t}", "title": "" }, { "docid": "4d4f5cdb9feeefe5647311a44472e0a9", "score": "0.58786964", "text": "private void animate()\n {\n if(frame == 1)\n {\n setImage(frames [1]);\n frame++;\n }\n else if(frame == 2)\n {\n setImage(frames [2]);\n frame++;\n }\n else\n {\n frame = 1;\n }\n }", "title": "" }, { "docid": "202ba5fdbfc28993574348b6d59b1f65", "score": "0.5861711", "text": "public void resume() {\n isPaused = false;\n }", "title": "" }, { "docid": "9bb8b1c4b5de14644a5a1d8da752ca3e", "score": "0.58577305", "text": "public void pause(){\n\t\tthis.pause = true;\n\t}", "title": "" }, { "docid": "58913b386279951a496499b6df3c9096", "score": "0.5846867", "text": "public void pause() {\n }", "title": "" }, { "docid": "d2fd933e7a5481ac2575253f619a6d26", "score": "0.5846553", "text": "public void runAnimation()\n\t{\n\t\tanimationCycle();\n\t repaint();\n\t}", "title": "" }, { "docid": "549c60a20b112dc8acdc4d4aba9427b8", "score": "0.5834565", "text": "public final void resume() {\r\n \t\tpaused = false;\r\n \t}", "title": "" }, { "docid": "2f7162fbf146d0b9128f3c0f3c58a8f6", "score": "0.58327115", "text": "public void pause()\n\t{\n\t}", "title": "" }, { "docid": "3e215e79f621558cb76815f97d65b08b", "score": "0.5831545", "text": "public void onResume() {\n clearAnim();\n }", "title": "" }, { "docid": "cba5b8838df5e1d7c20bc25c6a7f166f", "score": "0.58307886", "text": "@Override\r\n\tpublic void pause() {\n\t}", "title": "" }, { "docid": "73c6051bd6308e3fc2ea9dc0cbeccc4e", "score": "0.5826025", "text": "private void restartGameButtonPressed(ActionEvent e) {\r\n\t\tdispose();\r\n\t\tnew Thread(() -> new BreakoutController().startController(BreakoutModel.level)).start();\r\n\t}", "title": "" }, { "docid": "91ccdd342e0aa1f8264385d25f1b2a06", "score": "0.58169436", "text": "@Override\n\tpublic void Pause() {\n\n\t}", "title": "" }, { "docid": "d188d653ee983b32ee58e8f94a9ddcf2", "score": "0.5813237", "text": "@Override\n \tpublic void pause() {\n \n \t}", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.5806805", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.5806805", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.5806805", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "a2f8953715584fabb32eb440ef99f29d", "score": "0.5806805", "text": "@Override\n public void pause() {\n }", "title": "" }, { "docid": "6cb5ee5a254d400f98157a1692954fea", "score": "0.5805929", "text": "public void resume()\n\t{\n\t\tisPaused = false;\n\t}", "title": "" }, { "docid": "db04d49d05b53cb19a67b285fac97363", "score": "0.5800791", "text": "public void playAdvance()\n {\n \tint frameToSet = mImage.mFrameNumber;\n \t\n \t++frameToSet;\n \tmFrameSpinner.setSelection(frameToSet);\n \tmImage.changeFrameNumber(frameToSet); \t\n \t// mAdvancePending is marked by ImageCanvas, once it's\n \t// actually done painting.\n }", "title": "" }, { "docid": "519fc87b153af62b801a69343bcdfd00", "score": "0.57988334", "text": "public void advance() {\n _current++;\n paintBar();\n }", "title": "" }, { "docid": "d571ab0e9fa1d233d75df83536d09225", "score": "0.57861185", "text": "public void onAnimationRepeat(Animation arg0) {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "7469b1830e95c92bbb2a9a242c4b9abc", "score": "0.5783964", "text": "private void continueGame() {\n game.nextLevel();\n\n gameLoop.setPaused(false);\n window.hideUI();\n\n restart();\n }", "title": "" }, { "docid": "b0083da82f9c449f105e62c8737ada0c", "score": "0.5781967", "text": "public void doPause() {\r\n }", "title": "" }, { "docid": "2259acf0e9838551751d3c32f9e43f87", "score": "0.5775416", "text": "@Override\n\tpublic void pause()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "ba095b1a8efbc4721c2ecbda57dff836", "score": "0.57687664", "text": "@Override\n\tpublic void pause()\n\t{\n\t}", "title": "" }, { "docid": "3908b7cb6911a6460c5a988ee0c7a5d6", "score": "0.57686424", "text": "private void doPause() {\n }", "title": "" }, { "docid": "7c19ca2c0bee772d0ff0e04de95d0034", "score": "0.5767232", "text": "@Override\n\tpublic void pause() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "09bd34c718b90ea889f0829b8820a0e4", "score": "0.5764751", "text": "public void onAnimationRepeat(Animation animation) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1225f1c95cb65f086b302cc0a0680cc2", "score": "0.5760003", "text": "public static void restartGame() {\n\t\tstopGame();\n\t\tstartGame();\n\t}", "title": "" } ]
925a78556c4b5dbf63a4cd053ba81dc7
Created by wgb on 2016/8/27.
[ { "docid": "e8acf2a95118d178436769521787892a", "score": "0.0", "text": "public interface SeqGenService {\n\n String getSeqCode(String type);\n}", "title": "" } ]
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.658661", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.6238755", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.6136406", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.61219597", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.61219597", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.60123414", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.60123414", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.60123414", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.60123414", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.60123414", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.59495723", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.5909042", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.59029675", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.59029675", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.5897613", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.5865123", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.5865123", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.5865123", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "f2fe8a59406298fe7e97b543f2bf8186", "score": "0.5840743", "text": "@Override\r\n \tpublic void init() {\r\n \t}", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.580119", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.5787634", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.577591", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "94fbc7cc462bcbd6ae350624f9fd7ce3", "score": "0.5720186", "text": "private void dextrose10() {\n\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57184964", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "32d0d506f2de2532fe4789f006c84da0", "score": "0.5717306", "text": "@Override\n\tpublic void bicar() {\n\t\t\n\t}", "title": "" }, { "docid": "292cbe61872dcad9d684e16a8054c962", "score": "0.57082534", "text": "private static void zmodyfikujPrzepis() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.57026416", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.57011986", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56973886", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56973886", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56973886", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56973886", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56973886", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56973886", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.56973886", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.5695999", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "ab92bad46db05153eb5c2eb626d0c4f9", "score": "0.5683165", "text": "@Override\n public void init() {\n\n \n }", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.5653327", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.5648187", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.5648187", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.5648187", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "a46e663abb8570c121174f3358771925", "score": "0.56467324", "text": "private void m13516b() {\n }", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.56460434", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b2775812be4cd009dca27a30c5ce78fa", "score": "0.56449395", "text": "@Override\n\tprotected void fouseChange() {\n\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.5644249", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.56356394", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.56356394", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.5634549", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "0ecc2b05fa1b3fe069983a07eba7914d", "score": "0.5625572", "text": "private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}", "title": "" }, { "docid": "a5600ed00582d8ca8d293829dcfd6c38", "score": "0.5623324", "text": "private void Syso() {\n\r\n\t}", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.5611727", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "c8f75a8f93bc20d4e8695ba99b470e1d", "score": "0.5588792", "text": "public void mo1684e() {\n }", "title": "" }, { "docid": "19b30f4f881d8f7b600c7c12f1c30963", "score": "0.55737835", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5572344", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5569578", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5557295", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5557295", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5557295", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5557295", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5557295", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5552072", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5552072", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5552072", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5552072", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.5551234", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.5551234", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.55478996", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.55478996", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.55451316", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "c16c8d1ea4a8c8572e4aa91460503742", "score": "0.5544653", "text": "private void Initalization() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.55349135", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.55349135", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.55349135", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a613dcce17453a8e1eed3b984b6b35b1", "score": "0.5515558", "text": "@Override\n\tpublic void composant() {\n\t}", "title": "" }, { "docid": "02699a98134693036160a045239bddba", "score": "0.5513486", "text": "@Override\r\n\tpublic void zwroc() {\n\r\n\t}", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.55104136", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.55104136", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.55104136", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5491028", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "e071ca9eec75058b3213adadf2f930b9", "score": "0.5488036", "text": "public final void mo8109b() {\n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.54859185", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "0d81c067c8001661f6cbaddca50d165a", "score": "0.54851276", "text": "public void mo6081a() {\n }", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54698575", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54698575", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "f4bb6df1d4514d8e75c0ae1b3c6a1092", "score": "0.54654986", "text": "@Override\n\tprotected void blackwhitemode() {\n\t}", "title": "" }, { "docid": "904676226260b50eb8e353eb1bf2fb3f", "score": "0.545594", "text": "@Override\n public void init() { /* ei toiminnallisuutta tässä */ }", "title": "" }, { "docid": "f275faa96cd04ca198a5a2d01888719f", "score": "0.5455637", "text": "@Override\n public void initialize() {\n \n }", "title": "" }, { "docid": "f275faa96cd04ca198a5a2d01888719f", "score": "0.5455637", "text": "@Override\n public void initialize() {\n \n }", "title": "" }, { "docid": "f275faa96cd04ca198a5a2d01888719f", "score": "0.5455637", "text": "@Override\n public void initialize() {\n \n }", "title": "" }, { "docid": "a8f4d3149e0f7a43b23b53ce69363fd6", "score": "0.54524714", "text": "public void mo5202b() {\n }", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.5447901", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" } ]
9f158483c24e12335040a83fe02b34b5
/ for test : localhost:8181/demo/all
[ { "docid": "829cfe0fc8dc68e59145fabab22dd24d", "score": "0.0", "text": "@GetMapping(path=\"/all\")\n public @ResponseBody Iterable<Book> getAllUsers() {\n // This returns a JSON or XML with the users\n return userRepository.findAll();\n }", "title": "" } ]
[ { "docid": "11898e8b5d943b2041edd327dae91023", "score": "0.77642405", "text": "@GetMapping(\"/GetAll\")\n\tpublic String getAll() {\n\t\tString p=rest.getForObject(\"http://localhost:101/get\", String.class);\n\t\treturn p;\n\t}", "title": "" }, { "docid": "7b4e0dbeb4cc49c4a161ab083d6e729b", "score": "0.72191805", "text": "@GET\n @Path(\"/\")\n Response list();", "title": "" }, { "docid": "589c3786d522f7b1ae5c5a4daf27ba93", "score": "0.702373", "text": "@Test\n public void contextLoads() {\n\n List list = restTemplate.getForObject(\"http://localhost:8080/user/findAll\", List.class);\n\n System.out.println(list);\n\n }", "title": "" }, { "docid": "da4ae9f813e77dd3d717aa1e33e2ed52", "score": "0.6703906", "text": "@GetMapping(value=\"findAll\")\n\tpublic List<Test> findAll() {\n//\t\tMap<String,String> map = new HashMap<>();\n//\t\tmap.put(\"one\", \"hello\");\n//\t\tmap.put(\"two\", \"world\");\n//\t\tList<Map<String,String>> list = new ArrayList<>();\n//\t\tlist.add(map);\n//\t\t\n\t\treturn testService.findAll();\n\t}", "title": "" }, { "docid": "65ac318e337d66d831e99f61c352583c", "score": "0.6646912", "text": "@GetMapping(\"/findAll\")\n public List<LogPasDto> findALLLogPas(){\n log.info(\"+++message by AdminController, method findALLLogPas+++\");\n return adminService.findAll();\n }", "title": "" }, { "docid": "454cf3aa318ef2489375ebd089325109", "score": "0.66371894", "text": "@GetMapping(\"/all\")\n Collection<Products> getAllProducts(){\n return productsRepository.findAll();\n }", "title": "" }, { "docid": "f1c5d6a6d6cb1a7e72eaa4df08986ae3", "score": "0.6602055", "text": "@GetMapping(\"/readAll\")\r\n\t@CrossOrigin\r\n\tpublic Iterable<Employee> findAll()\r\n\t{\t\t\r\n\t\treturn appservice.findAllService();\r\n\t}", "title": "" }, { "docid": "73be723f0642293d24211055c91e9514", "score": "0.65751165", "text": "public String getAllList();", "title": "" }, { "docid": "2cb501f6b5e1f8e2901cfc1e0285e901", "score": "0.6556238", "text": "@Test\n\t@DisplayName(\"GET all products test\")\n\tpublic void testGetAllProducts() {\n\t\tString url = \"http://localhost:\" + randomPort + \"/products\";\n\t\t// call get api\n\t\tResponseEntity<List> response = testRestTemplate.getForEntity(url, List.class);\n\t\t// test response\n\t\tassertEquals(200, response.getStatusCodeValue());\n\t\tassertEquals(false, response.getBody().isEmpty());\n\t}", "title": "" }, { "docid": "3224ead5fd392957dbdd31125e7e65bf", "score": "0.6551577", "text": "@GetMapping(\"/application\")\r\n\tpublic List<Application> viewAllDetails() {\r\n\t\tlogger.info(\"ApplicationDetails is viewed\");\r\n\t\treturn appService.viewAllApplicationDetails();\r\n\t}", "title": "" }, { "docid": "5567e93ab0dab1c98e2fee992988b27d", "score": "0.65347487", "text": "public void testLogAll()\n\t{\n\t\tgiven()\n\t\t.get(getURL).\n\t\tthen()\n\t\t.statusCode(200).log().all();\n\t}", "title": "" }, { "docid": "2cac0edd134bcbf2a77ff27b594faf12", "score": "0.65203", "text": "@RequestMapping(value = \"/home\", method = RequestMethod.GET)\n\tpublic String listAllCustomers() {\n\t\treturn \"/pages/test\";\n\t}", "title": "" }, { "docid": "7b20e67489ef5a8bb6030bd44303ecac", "score": "0.6488024", "text": "@GetMapping(\"/getAll\")\n public ResponseEntity<List<Demo>> getAllDemo(Demo demo) {\n\n List<Demo> demos = demoService.getAllDemo();\n return new ResponseEntity<List<Demo>>(demos, HttpStatus.OK);\n }", "title": "" }, { "docid": "26fdf241286702f566c70af5c34a933a", "score": "0.6477549", "text": "@RequestMapping(value = \"/all\", method = RequestMethod.GET, produces = { \"application/xml\",\"application/json\" })\r\n public EmployeeList getAllEmployees() \r\n {\r\n System.out.println(\"Getting all empoyee details\");\r\n\r\n EmployeeList employeeList = new EmployeeList();\r\n List<Employee> employees = new ArrayList<Employee>();\r\n Set<Integer> empIdKeys = empData.keySet();\r\n for (Integer i : empIdKeys) {\r\n \temployees.add(empData.get(i));\r\n }\r\n employeeList.setEmployee(employees);\r\n return employeeList;\r\n }", "title": "" }, { "docid": "ee3d6c5e8d871d6efe726a2910a76989", "score": "0.6459654", "text": "@GetMapping(value = \"/all\")\n public Object getAll(){\n try{\n return winnerServiceImpl.getWinnerListByCookie();\n } catch (Exception e){\n return null;\n }\n }", "title": "" }, { "docid": "0a03c63f75f53ce0306832f8564a72e8", "score": "0.64477676", "text": "private void listAll() {\n\r\n\t}", "title": "" }, { "docid": "b803795ed398e0a5284e55918e464bee", "score": "0.6444724", "text": "@RequestMapping(\"all\")\n public List<Measurement> getAll(){\n log.info(\"get all measurement data\");\n return repository.findAll();\n }", "title": "" }, { "docid": "a87c761d87ec5f5f0b0d27509e97ee38", "score": "0.64158636", "text": "@RequestMapping(value = { \"/\", \"/list\" }, method = RequestMethod.GET)\r\n public Response listQuestions() {\r\n\r\n List<Question> questions = service.findAll();\r\n\r\n return new Response(HttpStatus.OK, \"\", questions);\r\n }", "title": "" }, { "docid": "f1ff3a7f5b2ccd35f1ee53f82ed474c5", "score": "0.6379038", "text": "@Test\n void testNotesGetAllEndpoint() {\n given()\n .when()\n .get(getConnectionString(\"/notes\"))\n .then()\n .statusCode(200)\n .body(\n containsString(\"test note 1\"),\n containsString(\"test note 2\"),\n containsString(\"test note 3\"),\n containsString(\"test note 4\")\n );\n }", "title": "" }, { "docid": "a166dae895a94a9afe10618a1c98b69f", "score": "0.6374223", "text": "@GetMapping(\"\")\n public List<User> findall(){\n return userRepo.findAll();\n }", "title": "" }, { "docid": "03c9565f3200e038d1f210c027d1a326", "score": "0.63737017", "text": "@RequestMapping(value=\"list\", method=RequestMethod.GET, consumes=\"application/json\") \n\t public List<Movie> listAll (){\n\t\t List<Movie> movies = loadJsonFromFile();\n\t\t logger.info(\"List all the movies\");\n\t\t return movies;\n\t }", "title": "" }, { "docid": "72c486317183130aa5bfe152c893c44a", "score": "0.63677144", "text": "@GetMapping(\"/productsall\")\n\tpublic List<Product> retrieveAllProducts(){\n\t\treturn service.findAll();\n\t}", "title": "" }, { "docid": "0e9101a0d45d7156868cd360e4ed3b0e", "score": "0.6355875", "text": "@GetMapping(\"/users\")\n public List<Users> list(){\n return service.listAll();\n }", "title": "" }, { "docid": "ede5d76c8d99fad05e05602d28f1e82d", "score": "0.63518167", "text": "@GET\n @Path(\"crop_details/all\")\n @Produces(\"application/json\")\n public Response dashboard() {\n \tString msg = \"[\";\n \n \ttry {\n \n \t\tDBCollection collection = db.getCollection(\"crop_details\");\n \n \t\tDBCursor cursor = collection.find();\n \n \t\tif (cursor.hasNext() == false) {\n \t\t\tmsg = \"null\";\n \t\t}\n \n \t\twhile (cursor.hasNext()) {\n \t\t\tmsg += cursor.next() + \",\";\n \t\t}\n \n \t} catch (Exception e) {\n \t}\n \n \tmsg = msg.substring(0, msg.length() - 1);\n \tmsg += \"]\";\n \n \treturn Response.status(200).entity(msg).build();\n \n }", "title": "" }, { "docid": "b02505dc89e303935f2a638d5472a97b", "score": "0.6328984", "text": "@GetMapping(value=\"/show/all\")\n public ResponseEntity <List<Show>> getAllShows(){\n \t logger.trace(\"at getAllShows method \");\n \t List<Show> shows=showService.getAllShows();\n \t return new ResponseEntity<List<Show>> (shows,HttpStatus.OK);\n }", "title": "" }, { "docid": "1f658347a469fdc195defcd335abd588", "score": "0.6317843", "text": "@GET\n \t@Path(\"/user_details/all\")\n \t@Produces(\"application/json\")\n \tpublic Response showAllUserDetails() {\n \n \t\tString msg = \"[\";\n \n \t\ttry {\n \n \t\t\tDBCollection collection = db.getCollection(\"users\");\n \n \t\t\tDBCursor cursor = collection.find();\n \n \t\t\tif (cursor.hasNext() == false) {\n \t\t\t\tmsg = \"null\";\n \t\t\t}\n \n \t\t\twhile (cursor.hasNext()) {\n \t\t\t\tmsg += cursor.next() + \",\";\n \t\t\t}\n \n \t\t} catch (Exception e) {\n \t\t}\n \n \t\tmsg = msg.substring(0, msg.length() - 1);\n \t\tmsg += \"]\";\n \n \t\treturn Response.status(200).entity(msg).build();\n \n \t}", "title": "" }, { "docid": "440496e9b132ac826601a33940c07de9", "score": "0.6306746", "text": "@GET\n\t@Path(\"/list\")\n\t@Produces(value = \"application/json\")\n\tpublic Response getAll() {\n\t\treturn Response.status(200).entity(String.valueOf(poiBusiness.findAll())).build();\n\t}", "title": "" }, { "docid": "554f673afcf6cae1d060fe9d0a2f6cff", "score": "0.6296585", "text": "@Override\n\tpublic List<OnlineTest> getAll() {\n\t\treturn dao.findAll();\n\t}", "title": "" }, { "docid": "6190348bcf593b95cbf240832a44a06c", "score": "0.628036", "text": "@GetMapping(\"/admin/trip/list\")\n public String allRoutesPage() {\n return \"admin/trip_list\";\n }", "title": "" }, { "docid": "b624920f557780fbfa66cc4687bc5e3a", "score": "0.62787944", "text": "@GetMapping(\"/user/getAll\")\r\n public Resources<EmployeeEntity> getAll()\r\n {\r\n List<EmployeeEntity> employeeList = employeeService.getAll();\r\n \r\n if (employeeList.isEmpty())\r\n throw new UserNotFoundException(\"User Not Found\");\r\n\r\n for (EmployeeEntity employee : employeeList) {\r\n Link selfLink = linkTo(RootController.class).slash(\"user/\"+employee.getEmpId()).withRel(\"href\");\r\n employee.add(selfLink);\r\n }\r\n\r\n Link link = linkTo(methodOn(RootController.class).getAll()).withSelfRel();\r\n Resources<EmployeeEntity> result = new Resources<EmployeeEntity>(employeeList,link);\r\n return result;\r\n }", "title": "" }, { "docid": "9e0aa0076b5c3bbdf1c93a1664668389", "score": "0.62744796", "text": "@GetMapping(\"/estudiantes\")\n public List<Estudiante> getAllEstudiantes() {\n log.debug(\"REST request to get all Estudiantes\");\n return estudianteService.findAll();\n }", "title": "" }, { "docid": "cc33a5b68e9be7c1fa6e54e6a2e152f9", "score": "0.6272061", "text": "@GetMapping(\"/list-all\") // Show all Users from Database\n public ResponseEntity<?> getAll() {\n return new ResponseEntity<>(personsService.getAll(), HttpStatus.OK);\n }", "title": "" }, { "docid": "809bf617e845e1ed9ccac0f59001cfa4", "score": "0.6269791", "text": "@GET\r\n\t@Path(\"/testApi\")\r\n\tpublic String testGuest() {\r\n\t\treturn \"testing api for guest....\";\r\n\t}", "title": "" }, { "docid": "33a73fa21e09e4a6936c18436b4b536a", "score": "0.6258375", "text": "@RequestMapping(\"/all\")\n\tpublic String showAll(Model map) {\n\t\t//fetch data from DB\n\t\tList<Customer> cobs=service.getAllCustomers();\n\t\t//send data to UI\n\t\tmap.addAttribute(\"list\", cobs);\n\t\treturn \"Data\";\n\t}", "title": "" }, { "docid": "4478ca8d47805e89601619499412a900", "score": "0.62436277", "text": "@GetMapping(\"/users\")\n public List<User> retrieveAllUsers(){\n\n return userDaoService.findAll();\n }", "title": "" }, { "docid": "01385e41efcc0d566f097cab8988a9af", "score": "0.6235419", "text": "@GET\n @Path(\"/all\")\n public Response getAllProducts() {\n ProductCollection prod = dbc.runQueryProductsAll();\n Gson gson = new Gson();\n Response.ResponseBuilder b = Response.ok(gson.toJson(prod));\n return b.build();\n }", "title": "" }, { "docid": "46e433953ce893ef180e831b262ae37e", "score": "0.6230072", "text": "@Test\n\tpublic void mapperFindAllTest() {\n\t\t\n\t\tList<UserVO> list = mapper.findAll();\n\t\t\n\t\tlog.info(list);\n\t\t\n\t}", "title": "" }, { "docid": "2db650f085cd894d2bdc0fac9e0c8674", "score": "0.62189496", "text": "public static void main(String[] args) {\n\t\tClient client = ClientBuilder.newClient();\r\n\t\tHttpAuthenticationFeature feature = HttpAuthenticationFeature.basic(\"USER01\", \"123456789\");\r\n\t\tclient.register(feature);\r\n\t\t\r\n\t\tWebTarget webTarget = client.target(\"https://localhost:8181/DcWar/rest\");\r\n\t\tWebTarget stationAllWebTarget = webTarget.path(\"station\").path(\"all\");\r\n\t\tWebTarget resordAllWebTarget = webTarget.path(\"data\").path(\"sta\").queryParam(\"id\", 1);\r\n\t\t\r\n\t\tInvocation.Builder invocationBuilder=stationAllWebTarget.request();\t\t\t\r\n\t\tResponse response = invocationBuilder.accept(MediaType.APPLICATION_JSON).get();\t\t\t\r\n\t\tList<Station> list=response.readEntity(new GenericType<List<Station>>(){});\r\n\t\t\r\n\t\tfor(Station s:list){\r\n\t\t\tSystem.out.println(s.getName()+\" \"+s.getId()+\" \"+s.getIp());\r\n\t\t}\r\n\t\t\r\n\t\tresponse=resordAllWebTarget.request().accept(MediaType.APPLICATION_JSON).get();\t\t\t\t\r\n\t\tList<DeviceRecord> dList=response.readEntity(new GenericType<List<DeviceRecord>>(){});\r\n\t\tfor(DeviceRecord r:dList){\r\n\t\t\tSystem.out.println(r.getDeviceId()+\" \"+r.getStationId()+\" \"+r.getDHeartRate());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2291954ce36cdfa3e34ed5b568cb9e8b", "score": "0.621733", "text": "@Test\n void getAllSuccess() {\n List<Run> runs = dao.getAll();\n assertEquals(9, runs.size());\n }", "title": "" }, { "docid": "17145694681281a1415330de720c52ac", "score": "0.6208239", "text": "@Test\r\n public void testGetAll() {\r\n System.out.println(\"getAll\");\r\n DataOvertimeController instance = null;\r\n List<DataOvertime> expResult = null;\r\n List<DataOvertime> result = instance.getAll();\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "f6cdc4f90c502bb615f9e5e9f4301166", "score": "0.61879694", "text": "@RequestMapping(value = \"/questions\", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)\n\t@Timed\n\tpublic List<Question> getAll() {\n\t\tlog.debug(\"REST request to get all Questions\");\n\n\t\t// trier par numéro croissant\n\t\treturn questionRepository.findAll(new Sort(\"numero\"));\n\t}", "title": "" }, { "docid": "b1484fd71cbb0d42b40271e274281d4c", "score": "0.61799264", "text": "@GetMapping(\"/all\")\n public List<User> getAllUsers() {\n return userService.getAllUsers();\n }", "title": "" }, { "docid": "ce3df1312d70c847b5fc595219febd85", "score": "0.6171968", "text": "@RequestMapping(value = \"/\", method = RequestMethod.GET)\n\tpublic List<String> main(){\n\t\t\n\t\tList<Title> titles = titleService.findAll();\n\t\tSystem.out.println(titles.get(0).getEditorial().getEditorialName());\n\t\tSystem.out.println(titles.get(0).getIssues().size());\n\t\tSystem.out.println(titles.get(0).getAuthors().size());\n\t\tSystem.out.println(titles.get(0).getUsers().size());\n\t\t\n\t\t\n\t\tList<String> list = new ArrayList<String>();\n//\t\tInteger i = userService.findAll().size();\n//\t\tlist.add(i.toString());\n\t\tlist.add(\"Dragon Ball Z\");\n\t\tlist.add(\"Dragon Ball GT\");\n\t\tlist.add(\"Dragon Ball Super\");\n\t\treturn list;\n\t}", "title": "" }, { "docid": "05096c8a25fd62fb01a66ad8cd0237b0", "score": "0.61715335", "text": "@GetMapping(\"/api/users/\")\n public List<User> getAllUsers() {\n return userDao.getAllUsers();\n }", "title": "" }, { "docid": "ea499f7bcfd2c5bddae856f1f26f9844", "score": "0.61705685", "text": "public static void index() {\n \tWSRequest request = WS.url(\"http://www.thomas-bayer.com/sqlrest/CUSTOMER\");\n \tSystem.out.println(request);\n \t\n \t//Non blocking way async call\n \t//Promise<HttpResponse> futureResp = request.getAsync();\n \t//System.out.println(futureResp);\n\n \tHttpResponse res = request.get();\n \tint status = res.getStatus();\n \t\n \tString type = res.getContentType();\n \t\n \tString content = res.getString();\n \t//Document xml = res.getXml();\n \t//JsonElement json = res.getJson();\n \t//InputStream is = res.getStream();\n \tSystem.out.println(content);\n render(content);\n }", "title": "" }, { "docid": "e448f29ea1502d053dfda3616e762282", "score": "0.61544704", "text": "@GetMapping(\"/employees\")\n\tprivate List<Employee> getAllEmployees() {\n\t\tlog.info(\"getAllEmployees controller\");\n\t\treturn service.getAllEmployees();\n\t}", "title": "" }, { "docid": "4c505c2961b01850ac249380e70f4ea8", "score": "0.61534035", "text": "@Path(\"getall\")\r\n\t@GET\r\n\t@Produces(MediaType.APPLICATION_JSON)\r\n\tpublic Response getAll() {\r\n\r\n\t\treturn Response.ok(Book_Services.getAllBook())\r\n\t\t\t\t// .header(\"Access-Control-Allow-Origin\", \"*\")\r\n\t\t\t\t// whatever other CORS headers\r\n\t\t\t\t.build();\r\n\r\n\t}", "title": "" }, { "docid": "0f60efe2506c6fd9a6babf9426faa990", "score": "0.61407405", "text": "@GET\n @Path(\"simple\")\n public void service() {\n System.out.println(\"Service invoked\");\n }", "title": "" }, { "docid": "45eb43b7d64db4774b5d926141308cd2", "score": "0.61383235", "text": "@GetMapping(path=\"/all\")\n\tpublic @ResponseBody Iterable<Employee> getAllEmployees() {\n\t\t// This returns a JSON or XML with the employees\n\t\treturn employeeRepository.findAll();\n\t}", "title": "" }, { "docid": "82eb2b663fb8b11d89d778621e40f53d", "score": "0.6131386", "text": "@GetMapping(value = \"/api\")\n public List<User> getUsers(){\n return userService.getAllUsers();\n }", "title": "" }, { "docid": "054d1269afcc2c246329ff44b42f379e", "score": "0.61235607", "text": "@GetMapping(path = \"/base/all\")\r\n public @ResponseBody\r\n Iterable<Base> getAllBases(){\r\n return baseRepository.findAll();\r\n }", "title": "" }, { "docid": "dea4a601cb6129e28d36a44affa68cef", "score": "0.6113802", "text": "@Override\n\tpublic List<DiagnosticTest> getAllTest(){\n\t\tList<DiagnosticTest> tests=testRepository.findAll();\n\t\tLOGGER.info(\"getting all tests\");\n\t\treturn tests;\n\t}", "title": "" }, { "docid": "1742dbf887f6c241030d3db4dea699b5", "score": "0.6113244", "text": "@GetMapping(\"/farmers\") \r\n\tprivate List<Farmer> getAllFarmers() \r\n\t{ \r\n\t\tSystem.out.println(\" get Farmers : \");\r\n\t\treturn loginService.getAllFarmers(); \r\n\t}", "title": "" }, { "docid": "0cc0f8c4f5df947a3341956462b1ebe5", "score": "0.6091661", "text": "@Test\n public void GetWeatherDetails() {\n\t RestAssured.baseURI = \"https://reqres.in/api\";\n\t \n\t // Get the Request Specification of the Request that you want to sent\n\t // to the server. The Server is specified by the base uri that we have \n\t // specified is the above step \n\t \n\t RequestSpecification httpRequest = RestAssured.given();\n\t \n\t // Make a get request call directly by using requestspecification.get() Method \n\t // Make sure you specify the resource name \n\t Response response = httpRequest.get(\"/users?page=2\");\n\t \n\t // Response.asString method will directly return the content of the body \n\t // as String \n\t \n\t \n\t // System.out.println(\"\\n \\t Response Body is => \\t \"+response.asString());\n\t \n\t System.out.println(\"\\n \\t Response Body is => \\t \"+response.prettyPrint());\n\t \n }", "title": "" }, { "docid": "7239e33352c3d1d6fb26038278c563a2", "score": "0.60913295", "text": "@RequestMapping(value = \"/todo/\", method = RequestMethod.GET)\n\tpublic ResponseEntity<List<Todo>> listAllTodos() {\n\t\tList<Todo> todos = todoService.findAllTodos();\n\t\tif (todos.isEmpty()) {\n\t\t\treturn new ResponseEntity<List<Todo>>(HttpStatus.NO_CONTENT);\n\t\t\t// You many decide to return HttpStatus.NOT_FOUND\n\t\t}\n\t\treturn new ResponseEntity<List<Todo>>(todos, HttpStatus.OK);\n\t}", "title": "" }, { "docid": "78463d7af561b1f8409db5025c3b8c1b", "score": "0.6080514", "text": "@GetMapping(\"\")\n public Iterable<Book> showBooks(){\n return bookService.showBooks();\n }", "title": "" }, { "docid": "a18272c5aa7902c297f0b3c5d04114f8", "score": "0.60762453", "text": "@GET\n\t@Path(\"/all\")\n\t@Consumes(\"application/json\")\n\t@Produces(\"application/json\")\n\tpublic Response all() {\n\t\tResponseModel<List<Region>> rep = new ResponseModel<List<Region>>();\n\t\ttry {\n\t\t\tList<Region> listregion = regionBS.selectAll();\n\t\t\trep.setData(listregion);\n\t\t\tLOG.info(\"End all\");\n\t\t\treturn Response.ok(rep).build();\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\trep.setError(e.getMessage(), Status.INTERNAL_SERVER_ERROR.getStatusCode());\n\t\t\treturn Response.ok(rep).build();\n\t\t}\n\t}", "title": "" }, { "docid": "fa8295707f64183eaf6820691adbc708", "score": "0.60759735", "text": "@GetMapping(path = \"/all\")\n\n public @ResponseBody\n Iterable<PizzaDetails> getPizzaDetails() {\n return pizzaRepository.findAll();\n }", "title": "" }, { "docid": "b5565d9ad2b01d345cbd2361f5cd0db0", "score": "0.607393", "text": "List<Client> getAll();", "title": "" }, { "docid": "8546f41972421b2cb22b0080f1a674da", "score": "0.60701156", "text": "@GetMapping(\"/products\")\n public @NotNull Iterable<Product> getProducts() {\n \tlogger.info(\"Request to get all products...\");\n return productService.getAllProducts();\n }", "title": "" }, { "docid": "471d70f7dba0fd6e3ca5ccdf7092ff3f", "score": "0.6070018", "text": "@GetMapping(path)\n @ResponseBody\n @Override\n public List<FevFeedbackStatus> getAll() {\n // TODO Auto-generated method stub\n return (List<FevFeedbackStatus>) feedbackStatusRepository.findAll();\n }", "title": "" }, { "docid": "616f371361c50dd6392444e55143bacc", "score": "0.6069584", "text": "@GetMapping\n public RESTResponse<List<ThematicUnit>> getAll() {\n List<ThematicUnit> res;\n try {\n res = thematicUnitService.getAll();\n } catch (Exception e) {\n Logger.getLogger(null).log(null,\"F: \",e);\n return new RESTResponse<List<ThematicUnit>>(RESTResponse.DBFAIL, \"Inconsistencia en la base de datos.\",\n null);\n }\n if (!res.isEmpty()) {\n return new RESTResponse<List<ThematicUnit>>(RESTResponse.OK, \"\", res);\n } else {\n return new RESTResponse<List<ThematicUnit>>(RESTResponse.FAIL,\n \"Servicios no disponibles.\", null);\n }\n }", "title": "" }, { "docid": "5b9ebf088c3411272b9b097aac64dfda", "score": "0.606702", "text": "@GET\r\n @Produces(MediaType.APPLICATION_JSON)\r\n public Response findAll() {\r\n try {\r\n anyResponse = documentTypeFacade.findAll();\r\n json = mapper.writeValueAsString(anyResponse);\r\n httpStatus = Response.Status.OK;\r\n } catch (JsonProcessingException ex) {\r\n httpStatus = Response.Status.INTERNAL_SERVER_ERROR;\r\n // Logger.getLogger(CourseRest.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return Response\r\n .status(httpStatus)\r\n .entity(json)\r\n .build();\r\n }", "title": "" }, { "docid": "5dd94e2ccff1c82603df6c452c5e2b61", "score": "0.6063791", "text": "@GetMapping(path=\"/all\")\n public @ResponseBody Iterable<DataModel> getAllUsers() {\n return dataRepository.findAll();\n }", "title": "" }, { "docid": "c07ce49f87b382c990c09c0277a79dd3", "score": "0.606054", "text": "@GetMapping(\"/firestation\")\n\tpublic List<FireStationModel> findAll() {\n\t\tlogger.info(\"Appel de l'api GET sur '/firestation' sans parametre\");\n\t\treturn fireStationService.findAll();\n\t}", "title": "" }, { "docid": "5bb6ae1eb8a0aee72100b1a95a9ad236", "score": "0.605131", "text": "@RequestMapping(value=\"/dubbo\",method=RequestMethod.GET)\n\t@ApiOperation(\"测试dubbo远程调用\")\n\tpublic Object getDubboServer(){\n Object hello =demoServiceTest.sayHello(\"tom\"); \n System.out.println(hello); \n Object list =demoServiceTest.getUsers();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "9f4de9a94d1f2c7d2fa21c2faa311215", "score": "0.60485524", "text": "public void findAll() {\n\t\t\n\t}", "title": "" }, { "docid": "8ca2b80f970b39877fb86388c32f4bbd", "score": "0.60478777", "text": "@GetMapping(\"/\")\n public ResponseEntity<List<UserDTO>> listAllUsers() {\n // JPA method to get all users userJpaRepository.findAll();\n //List<UserDTO> allUsers =\n return null;\n }", "title": "" }, { "docid": "a95ca2bafae0b16fc4787ebcd5eb53fb", "score": "0.6043736", "text": "@GetMapping(\n\t\t\t\tvalue=\"/display\"\n\t\t\t)\n\tpublic ResponseEntity<List<Product>> displayAll(){\n\t\tList<Product> products=productRepo.findAll();\n\t\treturn new ResponseEntity<List<Product>>(products,HttpStatus.OK);\n\t}", "title": "" }, { "docid": "c740dca736a81a0ccd41f1f6f9f81acc", "score": "0.60394925", "text": "@Test\n public void findAllRequestMappings() throws Exception {\n mockMvc.perform(get(\"/treenodes\"));\n }", "title": "" }, { "docid": "35eb57f60ccf8c3e75a39e48bd15cff7", "score": "0.6037942", "text": "@Test\n public void test3(){\n\n Response response = given().accept(ContentType.JSON)\n .and().queryParam(\"q\",\"{\\\"region_id\\\":3}\")\n .when().get(\"/countries\");\n\n //response.prettyPrint();\n\n assertEquals(response.statusCode(),200);\n\n List<Integer> RegionIds = response.path(\"items.region_id\");\n\n for (int regionId : RegionIds) {\n\n assertEquals(regionId,3);\n }\n\n int count = response.path(\"count\");\n assertEquals(count,6);\n\n boolean hasMore=response.path(\"hasMore\");\n assertEquals(hasMore,false);\n\n String [] countries ={\"Australia\",\"China\",\"India\",\"Japan\",\"Malaysia\",\"Singapore\"};\n\n System.out.println(Arrays.toString(countries));\n\n List<String> countryNames = response.path(\"items.country_name\");\n for (String countryName : countryNames) {\n\n System.out.println(countryName);\n assertTrue(Arrays.toString(countries).contains(countryName));\n\n\n }\n\n\n }", "title": "" }, { "docid": "be9ce04fe3957ecf5ac027c52612e6ce", "score": "0.60369617", "text": "@GetMapping(\"/all\")\n\t//@RolesAllowed({\"kiosk-terminal\",\"kiosk-admin\"})\n\t@ResponseBody\n\tpublic List<Food> getAllFood(){\n\t\treturn foodService.getAllFood();\n\t}", "title": "" }, { "docid": "1b8f434d70789d210e49f81493fa9129", "score": "0.603567", "text": "List<Store> findAllDemo();", "title": "" }, { "docid": "fae22a643b37a4b36e13f94209d0c440", "score": "0.60290164", "text": "@GetMapping(\"/all\")\n\tpublic ResponseEntity<List<StajalisteDTO>> getAll(){\n\t\t\n\t\tList<Stajaliste> stajalista = stajalisteSer.getAll();\n\n\t\tList<StajalisteDTO> stajalistaDTO = new ArrayList<>();\n\t\tfor (Stajaliste s : stajalista) {\n\t\t\tstajalistaDTO.add(new StajalisteDTO(s));\n\t\t}\n\t\treturn new ResponseEntity<>(stajalistaDTO, HttpStatus.OK);\n\t\t\n\t}", "title": "" }, { "docid": "4dbde8f339600770f119b1422466bd8b", "score": "0.6027417", "text": "@GetMapping(\"/tvas\")\n @Timed\n public List<TvaDTO> getAllTvas() {\n log.debug(\"REST request to get all Tvas\");\n return tvaService.findAll();\n }", "title": "" }, { "docid": "5ad58bfe1bac7573f668e1fddfbda335", "score": "0.60247666", "text": "@GetMapping\n public List<TableRes> getAllTable(){\n return tableservice.getAllTables();\n }", "title": "" }, { "docid": "55bb04653faac1fd0608fbaa82fd1d43", "score": "0.60228807", "text": "@RequestMapping(\"qq\")\n public Object aa(){\n return startHttpMethod(\"http://127.0.0.1:8087/api/admin/v1/bid/list?pageIndex=0&pageSize=10\",null,\"post\");\n }", "title": "" }, { "docid": "028dd97a8601ce3de24641cddbb7f9fc", "score": "0.6022631", "text": "@RequestMapping(method = RequestMethod.GET, value = \"/first/allfirst\")\n\n @ResponseBody\n public List<First> getAllFirsts(){\n Iterable<First> result = FirstRepo.findAll();\n List<First> resultList = new ArrayList<First>();\n for(First first:result){\n resultList.add(first);\n if(DEBUG) System.out.println(\"/first/allfirst: \" + first.toString());\n }\n return resultList;\n }", "title": "" }, { "docid": "5efa8ea0d835c67f4cf17b5a9f4500f2", "score": "0.6016363", "text": "List<UserDetailsResponseDTO> viewAllHumanResource() throws ResourceNotFoundException;", "title": "" }, { "docid": "7b48230ad267fa1c066454049a600e40", "score": "0.60155815", "text": "@Test\n public void testGetAllOrders() {\n System.out.println(\"getAllOrders\");\n OrderController instance = OrderController.getInstance();\n List expResult = instance.getAllOrders();\n List result = instance.getAllOrders();\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "e0b0eea049ebf8a19b6a8230fe1bac79", "score": "0.60150766", "text": "@RequestMapping(value = \"/employee/\", method = RequestMethod.GET)\n public ResponseEntity<List<Employee>> listAllEmployees() {\n List<Employee> employees = employeeService.findAllEmployees();\n if(employees.isEmpty()){\n return new ResponseEntity<List<Employee>>(HttpStatus.NO_CONTENT);//You many decide to return HttpStatus.NOT_FOUND\n }\n return new ResponseEntity<List<Employee>>(employees, HttpStatus.OK);\n }", "title": "" }, { "docid": "62b5ea0fc2d8aedcc37f1aeb763c613b", "score": "0.60096407", "text": "@GetMapping(\"/test\")\n public ResultMsg test(Integer id){\n return ResultUtil.success(previousSaleMapper.selectAll());\n }", "title": "" }, { "docid": "0e6540930e325b2c95f19d7aa260d6ef", "score": "0.59998", "text": "@GetMapping(\"/all\")\r\n\tpublic ResponseEntity<List<OrderMethod>> getAll(){\r\n\t\tList<OrderMethod> list=null;\r\n\t\t\r\n\t\ttry {\r\n\t\t\tlog.info(\"Enter into ResponseEntity getAll method Of OrderMethod\");\r\n\t\t\tlist=service.getAllOrderMethods();\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tlog.error(\"Enable to process ResponseEntity \"+e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t//Return ResponseEntity.ok(list)\r\n\t\tlog.info(\"Return Response Entity Object\");\r\n\t\treturn new ResponseEntity<List<OrderMethod>>(list,\r\n\t\t\t\t\t\t\t\t\t\tHttpStatus.OK);\r\n\t}", "title": "" }, { "docid": "ea03afae65201520f7a2c0ee70431d53", "score": "0.5997311", "text": "@GetMapping(value=\"/\")\n public String home(Model model){\n List<Project> projects=projectService.findAllBy();\n System.out.println(\"**************\");\n projects.forEach((x)-> System.out.println(x));\n model.addAttribute(\"projects\", projects);\n return \"/home\";\n }", "title": "" }, { "docid": "d81dc446582552ecc91a6c8c58cee27f", "score": "0.5997166", "text": "@GetMapping(path=\"/all\")\n public @ResponseBody Iterable<User> getAllUsers() {\n return userRepository.findAll();\n }", "title": "" }, { "docid": "a39b8946ab88e99a758ae59d29ab6174", "score": "0.59910727", "text": "@GetMapping(path = \"/all\")\n public @ResponseBody\n Iterable<Customer> getAllCustomers() {\n // This returns a JSON or XML with the users\n return customerRepository.findAll();\n }", "title": "" }, { "docid": "95a0cd4e2a7f6c12630bb8dbfb26981b", "score": "0.59908533", "text": "@GetMapping(path=\"/all\")\n public @ResponseBody Iterable<Users> getAllUsers() {\n // This returns a JSON or XML with the users\n return usersRepository.findAll();\n }", "title": "" }, { "docid": "7a57f482991d5eff24d9a232e090be8e", "score": "0.5985067", "text": "List<String> getAll();", "title": "" }, { "docid": "25d092a031953b4997797354c6d266cc", "score": "0.59765327", "text": "@Test\n @DisplayName(\"GET all can filter by color\")\n void getAll_canFilterByColor_returnsBlue() throws Exception {\n List<Automobile> autosList = new ArrayList<>();\n for(int i = 0; i < 6; i++){\n autosList.add(new Automobile(\"Toyota\", 1994, \"Camry\", \"44444\"));\n }\n AutosList actual = new AutosList(autosList);\n when(autosService.getAutosByColor(anyString())).thenReturn(actual);\n mockMvc.perform(MockMvcRequestBuilders.get(\"/api/autos?color=blue\"))\n .andDo(print())\n .andExpect(status().isOk())\n .andExpect(jsonPath(\"$.automobiles\", hasSize(6)));\n }", "title": "" }, { "docid": "9dc567ffbe93723b40a7fa955cc275ce", "score": "0.597307", "text": "@GET\n @Path(\"all\")\n @Produces(MediaType.APPLICATION_JSON)\n public Response listNotes() {\n EventStore.getEventBus().post(new LoggingEvent(\"List all notes\"));\n\n List<Note> notes = Note.list(em);\n GenericEntity<List<Note>> entity = new GenericEntity<List<Note>>(notes) {\n };\n return Response.ok(entity).build();\n }", "title": "" }, { "docid": "1c82e58b828f36fff945a515cc716353", "score": "0.597299", "text": "@GetMapping({\"/resthomepage\"})\n\tpublic String showRestHomepage(Model model) {\n\t\tmodel.addAttribute(\"surveys\", surveyRepository.findAll());\n\t\treturn \"resthomepage\";\n\t}", "title": "" }, { "docid": "954078e1d858ea70f040c767bd35564e", "score": "0.5960664", "text": "@RequestMapping(value = \"/fetch\")\n public String fetchAll() {\n List<BzbTraceplan> bzbplans = bzbTraceplanRepo.findAll();\n\n for (BzbTraceplan plan : bzbplans) {\n try {\n doFetchById(plan.getBzbTraceID());\n } catch (Exception e) {\n log.debug(\"BzbTraceplan fetch : {}\", e.getMessage());\n }\n }\n return \"SUCCESS\";\n }", "title": "" }, { "docid": "c9e29cec07f3620474fff8d2dca625f4", "score": "0.59588635", "text": "@RequestMapping(value = \"/all\", method = RequestMethod.GET)\n\tpublic Hashtable<String, Student> getAll() {\n\t\treturn ss.getAll();\n\t}", "title": "" }, { "docid": "d80e89d841ddc8b29c7c6d23b3b7d1af", "score": "0.5952134", "text": "@GetMapping(\"/getallcustomers\")\n public List<Customer> getallcustomers() {\n return customerService.getcustomers();\n }", "title": "" }, { "docid": "d4ea82110aa645df20fa713c1f1e4cea", "score": "0.59491867", "text": "public void findAll() throws IOException {\n String uri = PILIER_CLIENT_BASE_URI+PILIER_CLIENT_GET_URI;\n\n // pour les requetes de type get\n HttpGet getRequest = new HttpGet(uri);\n\n getRequest.addHeader(\"accept\", \"application/json\");\n // executer la requetes\n try {\n HttpResponse response = httpClient.execute(getRequest);\n if (response.getStatusLine().getStatusCode() != 200) {\n throw new RuntimeException(\"Failed : HTTP error code : \"\n + response.getStatusLine().getStatusCode());\n\n }\n final GsonBuilder builder = new GsonBuilder();\n final Gson gson = builder.create();\n //postRequest.setEntity((HttpEntity) ben);\n StringEntity result = new StringEntity(gson.toJson(response));\n //String result = parseResppnse(response);\n System.out.println(result);\n\n } catch (Exception e) {\n }\n\n\n }", "title": "" }, { "docid": "edcd8d4eb0023cc2690cf742bef15d5c", "score": "0.5946112", "text": "@GetMapping(path = \"/all\")\n public @ResponseBody\n Iterable<User> getAllUsers() {\n return userRepository.findAll();\n }", "title": "" }, { "docid": "f28c9bb297656e99cb11f687473ae5d3", "score": "0.5941304", "text": "@GetMapping(path=\"/all\")\n public @ResponseBody Iterable<User> getAllUsers() {\n return userRepository.findAll();\n }", "title": "" }, { "docid": "61fa9e2c1ca47cfaa0a18024f871bda9", "score": "0.5939743", "text": "@GetMapping(path = \"/all\")\n public @ResponseBody\n Iterable<Friend> getAllFriends() {\n // This returns a JSON list with all the friends.\n return friendDAO.findAll();\n\n }", "title": "" }, { "docid": "afa0d8c41f94e0ab1e80cdacfe5f2a58", "score": "0.5938712", "text": "@Test\n public void testList() throws Exception {\n ReservationsEndpoint instance = new ReservationsEndpoint();\n List<Reservation> result = instance.list(user, location, \"20140201\");\n //assertEquals(1, result.size());\n }", "title": "" }, { "docid": "e9b7764b22d77615b166c2ede899acf5", "score": "0.5936251", "text": "@RequestMapping(\"/sampleReport\")\n\tpublic String lanesList() {\n\t\t\n\t\treturn \"sample_report\";\n\t}", "title": "" }, { "docid": "66182f808fbd51a954f5c92e9b91e09e", "score": "0.5935482", "text": "@GetMapping(path=\"/\")\n public @ResponseBody Iterable<House> getAll() {\n return houseRepository.findAll();\n }", "title": "" } ]
a7449fd1b7628632b742ad38536dee3d
repeated .SideChainBlockData side_chain_block_data = 1;
[ { "docid": "0f5aa6cc1ccd45a11bebd37d78b6acbf", "score": "0.5400967", "text": "public Builder addAllSideChainBlockData(\n java.lang.Iterable<? extends io.aelf.protobuf.generated.Client.SideChainBlockData> values) {\n if (sideChainBlockDataBuilder_ == null) {\n ensureSideChainBlockDataIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, sideChainBlockData_);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" } ]
[ { "docid": "871c16fa967d740c3229d6550678f30f", "score": "0.6440554", "text": "int getSideChainBlockDataCount();", "title": "" }, { "docid": "871c16fa967d740c3229d6550678f30f", "score": "0.6440554", "text": "int getSideChainBlockDataCount();", "title": "" }, { "docid": "36aaeb6f59f61596dd5ce2878ebd2503", "score": "0.63028646", "text": "protected void _loadBlockchainData(){\n\t}", "title": "" }, { "docid": "dd02d5cfd5564b2ebd11c621543583e4", "score": "0.6248305", "text": "private SideChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "0026cdae5cea310e0b29abfc26f2ba42", "score": "0.6211463", "text": "io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index);", "title": "" }, { "docid": "0026cdae5cea310e0b29abfc26f2ba42", "score": "0.6208935", "text": "io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index);", "title": "" }, { "docid": "c5683a65c947d208ed2ae4a9711190a7", "score": "0.6166937", "text": "@Override\n public int getBlockLength(){ return 8*8 ; }", "title": "" }, { "docid": "b0d7ec2a30c657964cb508f406ea8eb1", "score": "0.61657536", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder() {\n return getSideChainBlockDataFieldBuilder().addBuilder(\n io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance());\n }", "title": "" }, { "docid": "b0d7ec2a30c657964cb508f406ea8eb1", "score": "0.61657536", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder() {\n return getSideChainBlockDataFieldBuilder().addBuilder(\n io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance());\n }", "title": "" }, { "docid": "27096e0702cd958e991f3c7cf0d5be89", "score": "0.6127274", "text": "public int getSideChainBlockDataCount() {\n return sideChainBlockData_.size();\n }", "title": "" }, { "docid": "27096e0702cd958e991f3c7cf0d5be89", "score": "0.6127274", "text": "public int getSideChainBlockDataCount() {\n return sideChainBlockData_.size();\n }", "title": "" }, { "docid": "48abad47093eced3f1d05380da482fcd", "score": "0.60938007", "text": "public void getBlock94() {}", "title": "" }, { "docid": "2ecfb679eed8d20df5f17830e0606a2e", "score": "0.60922575", "text": "public Chain() {\n\t\tblockChain = new ArrayList<Block>();\n\t}", "title": "" }, { "docid": "66812ddb4814cb2ebb2e7892b6c46809", "score": "0.60848844", "text": "private IndexedSideChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "207f86fa2492306fec80ec28d3a190b1", "score": "0.5940915", "text": "java.util.List<? extends io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> \n getSideChainBlockDataOrBuilderList();", "title": "" }, { "docid": "207f86fa2492306fec80ec28d3a190b1", "score": "0.5939078", "text": "java.util.List<? extends io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> \n getSideChainBlockDataOrBuilderList();", "title": "" }, { "docid": "65049bc3f3dd8b20a1a553ded7f5e5fc", "score": "0.5917142", "text": "public java.util.List<? extends io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> \n getSideChainBlockDataOrBuilderList() {\n return sideChainBlockData_;\n }", "title": "" }, { "docid": "65049bc3f3dd8b20a1a553ded7f5e5fc", "score": "0.5917142", "text": "public java.util.List<? extends io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> \n getSideChainBlockDataOrBuilderList() {\n return sideChainBlockData_;\n }", "title": "" }, { "docid": "005397d8bb5435d647aa189bbbbd6ece", "score": "0.5895294", "text": "private CrossChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "da074284525d09d5f7b853acf906e9e7", "score": "0.584023", "text": "@Override\n protected void processBlock() {\n\n }", "title": "" }, { "docid": "47f930dacd068d550e8f99487140016d", "score": "0.58023655", "text": "public java.util.List<? extends io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> \n getSideChainBlockDataOrBuilderList() {\n if (sideChainBlockDataBuilder_ != null) {\n return sideChainBlockDataBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(sideChainBlockData_);\n }\n }", "title": "" }, { "docid": "47f930dacd068d550e8f99487140016d", "score": "0.57999897", "text": "public java.util.List<? extends io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder> \n getSideChainBlockDataOrBuilderList() {\n if (sideChainBlockDataBuilder_ != null) {\n return sideChainBlockDataBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(sideChainBlockData_);\n }\n }", "title": "" }, { "docid": "b08c3c7f87215385e292df143ed2d0af", "score": "0.57670784", "text": "public BlockSand()\r\n/* 9: */ {\r\n/* 10:18 */ j(this.L.b().setData(a, bac.a));\r\n/* 11: */ }", "title": "" }, { "docid": "93d6b97bb003a2c3f3db7df0034f4e53", "score": "0.5755857", "text": "java.util.List<io.aelf.protobuf.generated.Client.SideChainBlockData> \n getSideChainBlockDataList();", "title": "" }, { "docid": "93d6b97bb003a2c3f3db7df0034f4e53", "score": "0.5755857", "text": "java.util.List<io.aelf.protobuf.generated.Client.SideChainBlockData> \n getSideChainBlockDataList();", "title": "" }, { "docid": "6c577d0fa27669aa8149102af5f67a45", "score": "0.5735088", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder(\n int index) {\n return sideChainBlockData_.get(index);\n }", "title": "" }, { "docid": "6c577d0fa27669aa8149102af5f67a45", "score": "0.5735088", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder(\n int index) {\n return sideChainBlockData_.get(index);\n }", "title": "" }, { "docid": "db94051d6c1c01907cd30cfd24dfed89", "score": "0.5712111", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) {\n return sideChainBlockData_.get(index);\n }", "title": "" }, { "docid": "db94051d6c1c01907cd30cfd24dfed89", "score": "0.5712111", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) {\n return sideChainBlockData_.get(index);\n }", "title": "" }, { "docid": "fb3bb741d9609e736fa7006d709255d9", "score": "0.5685926", "text": "private Block() {\n initFields();\n }", "title": "" }, { "docid": "b6734fdd220a8a442ee740e72acef7d9", "score": "0.5685398", "text": "public Builder clearSideChainBlockData() {\n if (sideChainBlockDataBuilder_ == null) {\n sideChainBlockData_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "b6734fdd220a8a442ee740e72acef7d9", "score": "0.56847847", "text": "public Builder clearSideChainBlockData() {\n if (sideChainBlockDataBuilder_ == null) {\n sideChainBlockData_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "41d841d1654a16af12da1378c629710f", "score": "0.5644694", "text": "public String getBlockChain() {\n\treturn \"TODO\";\n }", "title": "" }, { "docid": "7dfb3214ca66d3b2dce9f0482d20d3f4", "score": "0.5641973", "text": "io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder(\n int index);", "title": "" }, { "docid": "7dfb3214ca66d3b2dce9f0482d20d3f4", "score": "0.5641973", "text": "io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder(\n int index);", "title": "" }, { "docid": "fd3207ab17148202501c409d86105b56", "score": "0.5583767", "text": "public int getSideChainBlockDataCount() {\n if (sideChainBlockDataBuilder_ == null) {\n return sideChainBlockData_.size();\n } else {\n return sideChainBlockDataBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "fd3207ab17148202501c409d86105b56", "score": "0.5583767", "text": "public int getSideChainBlockDataCount() {\n if (sideChainBlockDataBuilder_ == null) {\n return sideChainBlockData_.size();\n } else {\n return sideChainBlockDataBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "2d288cb04aacc8bd63b5889e056c9f20", "score": "0.5573864", "text": "public Builder addSideChainBlockData(io.aelf.protobuf.generated.Client.SideChainBlockData value) {\n if (sideChainBlockDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSideChainBlockDataIsMutable();\n sideChainBlockData_.add(value);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "2d288cb04aacc8bd63b5889e056c9f20", "score": "0.5573864", "text": "public Builder addSideChainBlockData(io.aelf.protobuf.generated.Client.SideChainBlockData value) {\n if (sideChainBlockDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSideChainBlockDataIsMutable();\n sideChainBlockData_.add(value);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "41e395676cb6fc990d446d29961e123c", "score": "0.55602", "text": "int getParentChainBlockDataCount();", "title": "" }, { "docid": "4eb21b804831f5e735afb84213858699", "score": "0.5558441", "text": "public Block(double data, String prevHash) {//block creates a hash but must also have a link to prevHash\n\t\tthis.data = data;\n\t\tthis .prevHash = prevHash;\n\t\tthis.timeStamp = dtf.format(currentTime);\n\t\tthis.hash = calculatedHash();\n\t}", "title": "" }, { "docid": "58e31f20140cecccd928d3357d5cb09c", "score": "0.5553705", "text": "private ParentChainBlockData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "9dbaefad3792387f865bdd255d2d3452", "score": "0.5552189", "text": "public java.util.List<io.aelf.protobuf.generated.Client.SideChainBlockData> getSideChainBlockDataList() {\n return sideChainBlockData_;\n }", "title": "" }, { "docid": "9dbaefad3792387f865bdd255d2d3452", "score": "0.5552189", "text": "public java.util.List<io.aelf.protobuf.generated.Client.SideChainBlockData> getSideChainBlockDataList() {\n return sideChainBlockData_;\n }", "title": "" }, { "docid": "6d7082ae581f805cdae81fba5f4be452", "score": "0.5519823", "text": "public interface CBlkQuantDataSrcEnc extends ForwWTDataProps {\n\n /**\n * Returns the next code-block in the current tile for the specified\n * component, as a copy (see below). The order in which code-blocks are\n * returned is not specified. However each code-block is returned only\n * once and all code-blocks will be returned if the method is called 'N'\n * times, where 'N' is the number of code-blocks in the tile. After all\n * the code-blocks have been returned for the current tile calls to this\n * method will return 'null'.\n *\n * <p>When changing the current tile (through 'setTile()' or 'nextTile()')\n * this method will always return the first code-block, as if this method\n * was never called before for the new current tile.</p>\n *\n * <p>The data returned by this method is always a copy of the internal\n * data of this object, if any, and it can be modified \"in place\" without\n * any problems after being returned. The 'offset' of the returned data is\n * 0, and the 'scanw' is the same as the code-block width. See the\n * 'CBlkWTData' class.</p>\n *\n * <p>The 'ulx' and 'uly' members of the returned 'CBlkWTData' object\n * contain the coordinates of the top-left corner of the block, with\n * respect to the tile, not the subband.</p>\n *\n * @param c The component for which to return the next code-block.\n *\n * @param cblk If non-null this object will be used to return the new\n * code-block. If null a new one will be allocated and returned. If the\n * \"data\" array of the object is non-null it will be reused, if possible,\n * to return the data.\n *\n * @return The next code-block in the current tile for component 'c', or\n * null if all code-blocks for the current tile have been returned.\n *\n * @see CBlkWTData\n * */\n public CBlkWTData getNextCodeBlock(int c,CBlkWTData cblk);\n\n /**\n * Returns the next code-block in the current tile for the specified\n * component. The order in which code-blocks are returned is not\n * specified. However each code-block is returned only once and all\n * code-blocks will be returned if the method is called 'N' times, where\n * 'N' is the number of code-blocks in the tile. After all the code-blocks\n * have been returned for the current tile calls to this method will\n * return 'null'.\n *\n * <p>When changing the current tile (through 'setTile()' or 'nextTile()')\n * this method will always return the first code-block, as if this method\n * was never called before for the new current tile.</p>\n *\n * <p>The data returned by this method can be the data in the internal\n * buffer of this object, if any, and thus can not be modified by the\n * caller. The 'offset' and 'scanw' of the returned data can be\n * arbitrary. See the 'CBlkWTData' class.</p>\n *\n * <p>The 'ulx' and 'uly' members of the returned 'CBlkWTData' object\n * contain the coordinates of the top-left corner of the block, with\n * respect to the tile, not the subband.</p>\n *\n * @param c The component for which to return the next code-block.\n *\n * @param cblk If non-null this object will be used to return the new\n * code-block. If null a new one will be allocated and returned. If the\n * \"data\" array of the object is non-null it will be reused, if possible,\n * to return the data.\n *\n * @return The next code-block in the current tile for component 'n', or\n * null if all code-blocks for the current tile have been returned.\n *\n * @see CBlkWTData\n * */\n public CBlkWTData getNextInternCodeBlock(int c,CBlkWTData cblk);\n}", "title": "" }, { "docid": "176f1042e672310429565d73d65c2855", "score": "0.5513427", "text": "@Test\n public void testControlBlockDemoAllDirectly()\n {\n assertEquals(\"incorrect number of motion blocks\", 17,\n s4dData.countMotionBlocks());\n assertEquals(\"incorrect number of look blocks\", 19,\n s4dData.countLooksBlocks());\n assertEquals(\"incorrect number of sound blocks\", 13,\n s4dData.countSoundBlocks());\n assertEquals(\"incorrect number of pen blocks\", 12,\n s4dData.countPenBlocks());\n assertEquals(\"incorrect number of data blocks\", 40,\n s4dData.countDataBlocks());\n // NOTE: there are other events blocks in almost every script\n assertEquals(\"incorrect number of cvent blocks\", 18,\n s4dData.countEventBlocks());\n assertEquals(\"incorrect number of control blocks\", 11,\n s4dData.countControlBlocks());\n assertEquals(\"incorrect number of sense blocks\", 16,\n s4dData.countSenseBlocks());\n //22 in apple and 1 in bass\n assertEquals(\"incorrect number of more blocks\", 22 + 1,\n s4dData.countMoreSectionBlocks());\n //s4dData.verbose = true;\n //note: the more blocks sections has operators built in\n assertEquals(\"incorrect number of operator blocks\", 17 + 4,\n s4dData.countOperatorBlocks());\n }", "title": "" }, { "docid": "a94790834abac71d0c978606eab69699", "score": "0.5512848", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder(\n int index) {\n if (sideChainBlockDataBuilder_ == null) {\n return sideChainBlockData_.get(index); } else {\n return sideChainBlockDataBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "a94790834abac71d0c978606eab69699", "score": "0.5512848", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockDataOrBuilder getSideChainBlockDataOrBuilder(\n int index) {\n if (sideChainBlockDataBuilder_ == null) {\n return sideChainBlockData_.get(index); } else {\n return sideChainBlockDataBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "e7b0bd81e7b7ad82b53b53f60d59faa6", "score": "0.5492924", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) {\n if (sideChainBlockDataBuilder_ == null) {\n return sideChainBlockData_.get(index);\n } else {\n return sideChainBlockDataBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "e7b0bd81e7b7ad82b53b53f60d59faa6", "score": "0.5492078", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData getSideChainBlockData(int index) {\n if (sideChainBlockDataBuilder_ == null) {\n return sideChainBlockData_.get(index);\n } else {\n return sideChainBlockDataBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "294a64b8a3b8934c225ab635a2bdf75b", "score": "0.5485066", "text": "@Override\n\tpublic int getBlockPower() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "a6c7ca356e9b6c40437864cdcf693136", "score": "0.5474092", "text": "public Block instance(int paramInt)\r\n/* 31: */ {\r\n/* 32:40 */ return instance().setData(a, bac.a(paramInt));\r\n/* 33: */ }", "title": "" }, { "docid": "96040276bdccb9874f8c92978958f62e", "score": "0.5470213", "text": "@Override\r public String getName() {\r return \"block\";\r }", "title": "" }, { "docid": "52e7499fd0bdfef4c0513105a3204a8b", "score": "0.54521024", "text": "public Builder setSideChainBlockData(\n int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) {\n if (sideChainBlockDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSideChainBlockDataIsMutable();\n sideChainBlockData_.set(index, value);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "52e7499fd0bdfef4c0513105a3204a8b", "score": "0.54521024", "text": "public Builder setSideChainBlockData(\n int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) {\n if (sideChainBlockDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSideChainBlockDataIsMutable();\n sideChainBlockData_.set(index, value);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "d3cf01e22bfa543f9e1a2e4eccf1d4ed", "score": "0.5449281", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder(\n int index) {\n return getSideChainBlockDataFieldBuilder().addBuilder(\n index, io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance());\n }", "title": "" }, { "docid": "d3cf01e22bfa543f9e1a2e4eccf1d4ed", "score": "0.544684", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder addSideChainBlockDataBuilder(\n int index) {\n return getSideChainBlockDataFieldBuilder().addBuilder(\n index, io.aelf.protobuf.generated.Client.SideChainBlockData.getDefaultInstance());\n }", "title": "" }, { "docid": "24a39542fcf3c035b150586d4baeab5e", "score": "0.5445628", "text": "public String createBlock(String data, int prevHash, int nonce, int hash) {\n\treturn \"TODO\";\n }", "title": "" }, { "docid": "b05c009f7bee1e50a90c13264f47f560", "score": "0.5440027", "text": "private Block(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "14a32a3db85148f82283e055e6718db2", "score": "0.5439336", "text": "public java.util.List<io.aelf.protobuf.generated.Client.SideChainBlockData> getSideChainBlockDataList() {\n if (sideChainBlockDataBuilder_ == null) {\n return java.util.Collections.unmodifiableList(sideChainBlockData_);\n } else {\n return sideChainBlockDataBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "14a32a3db85148f82283e055e6718db2", "score": "0.54377294", "text": "public java.util.List<io.aelf.protobuf.generated.Client.SideChainBlockData> getSideChainBlockDataList() {\n if (sideChainBlockDataBuilder_ == null) {\n return java.util.Collections.unmodifiableList(sideChainBlockData_);\n } else {\n return sideChainBlockDataBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "7f036b5e112d41b0dea5bc4b3f9d3149", "score": "0.5434587", "text": "@Test public void testChainBuilderByIndex() {\n\n\t\tBlock b0 = new Block();\n\t\tb0.setIndex(0);\n\t\tb0.setHash(\"hb0\");\n\t\tb0.setPreviousHash(null);\t\t\n\t\t\n\t\tBlock b1 = new Block();\n\t\tb1.setIndex(1);\n\t\tb1.setHash(\"hb1\");\n\t\tb1.setPreviousHash(\"hb0\");\n\t\t\n\t\tBlock b2 = new Block();\n\t\tb2.setIndex(2);\n\t\tb2.setHash(\"hb2\");\n\t\tb2.setPreviousHash(\"hb1\");\n\t\t\n\t\tBlock b3 = new Block();\n\t\tb3.setIndex(3);\n\t\tb3.setHash(\"hb3\");\n\t\tb3.setPreviousHash(\"hb2\");\n\t\t\n\t\tBlock b4 = new Block();\n\t\tb4.setIndex(4);\n\t\tb4.setHash(\"hb4\");\n\t\tb4.setPreviousHash(\"hb3\");\n\t\t\n\t\tBlock b5 = new Block();\n\t\tb5.setIndex(3);\n\t\tb5.setHash(\"hb5\");\n\t\tb5.setPreviousHash(\"hb2\");\n\t\t\n\t\tBlock b6 = new Block();\t\n\t\tb6.setIndex(4);\n\t\tb6.setHash(\"hb6\");\n\t\tb6.setPreviousHash(\"hb5\");\n\t\t\n\t\tBlock b7 = new Block();\t\n\t\tb7.setIndex(5);\n\t\tb7.setHash(\"hb7\");\n\t\tb7.setPreviousHash(\"hb6\");\n\t\t\n\t\tBlock b8 = new Block();\t\n\t\tb8.setIndex(2);\n\t\tb8.setHash(\"hb8\");\n\t\tb8.setPreviousHash(\"hb1\");\n\t\t\n\t\tBlock b9 = new Block();\t\n\t\tb9.setIndex(3);\n\t\tb9.setHash(\"hb9\");\n\t\tb9.setPreviousHash(\"hb8\");\n\t\t\n\t\tBlock b10 = new Block();\t\n\t\tb10.setIndex(4);\n\t\tb10.setHash(\"hb10\");\n\t\tb10.setPreviousHash(\"hb9\");\n\t\t\n\t\tBlock b11 = new Block();\t\n\t\tb11.setIndex(5);\n\t\tb11.setHash(\"hb11\");\n\t\tb11.setPreviousHash(\"hb10\");\n\t\t\n\t\tBlock b12 = new Block();\t\n\t\tb12.setIndex(6);\n\t\tb12.setHash(\"hb12\");\n\t\tb12.setPreviousHash(\"hb11\");\n\t\t\n\t\tChainBuilder builder = new ChainBuilder();\n\t\tbuilder.addPendingBlock(b1);\n\t\tbuilder.addPendingBlock(b2);\n\t\tbuilder.addPendingBlock(b3);\n\t\tbuilder.addPendingBlock(b4);\n\t\tbuilder.addPendingBlock(b5);\n\t\tbuilder.addPendingBlock(b6);\n\t\tbuilder.addPendingBlock(b7);\n\t\tbuilder.addPendingBlock(b8);\n\t\tbuilder.addPendingBlock(b9);\n\t\tbuilder.addPendingBlock(b10);\n\t\tbuilder.addPendingBlock(b11);\n\t\tbuilder.addPendingBlock(b12);\n\t\t\n\t\tChainPart chain = new ChainPart();\n\t\tchain.addBlock(b0);\n\t\t\n\t\tChainPart result = builder.buildLongestChain(chain);\n\t\tSystem.out.println(\"=== Result ===\");\n\t\tresult.debugDisplay();\n\t\t\n\t\tassertNotNull(result);\n\t\tassertEquals(result.size(), 7);\n\t\tassertEquals(result.getLastBlock().getHash(), b12.getHash());\n\t}", "title": "" }, { "docid": "7b3b2f8f36f6bfb0324b9a16fc9e3640", "score": "0.5410182", "text": "public Block() {\n\t\t\n\t\tthis.nonce = 0;\n\t\tthis.longtime = new Date().getTime();\n\t\tthis.timestamp = convertTime(longtime);\n\t\tthis.numtransactions = random.nextInt(10) + 1;\n\t\tthis.transaction_list = new ArrayList<Transaction>(); //list of transactions\n\t}", "title": "" }, { "docid": "e0816acdb57e92d419131c653f1f4dfa", "score": "0.5386801", "text": "public Builder addSideChainBlockData(\n int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) {\n if (sideChainBlockDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSideChainBlockDataIsMutable();\n sideChainBlockData_.add(index, value);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "e0816acdb57e92d419131c653f1f4dfa", "score": "0.5386472", "text": "public Builder addSideChainBlockData(\n int index, io.aelf.protobuf.generated.Client.SideChainBlockData value) {\n if (sideChainBlockDataBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSideChainBlockDataIsMutable();\n sideChainBlockData_.add(index, value);\n onChanged();\n } else {\n sideChainBlockDataBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "418ee7591411b8a44f3dccd4a6caab14", "score": "0.536083", "text": "public final void run() {\n block109: {\n block108: {\n block107: {\n block106: {\n block110: {\n block103: {\n block105: {\n block104: {\n block102: {\n block101: {\n block100: {\n var1_1 = this.zze;\n var2_2 = this.zza;\n var3_3 = this.zzb;\n var4_4 = this.zzc;\n var5_5 = this.zzd;\n var6_6 = var1_1.zza;\n var6_6.zzg();\n var6_6 = var1_1.zza;\n var6_6 = var6_6.zzx;\n var6_6 = var6_6.zzc();\n var7_7 = zzdw.zzac;\n var8_8 = null;\n var9_9 = var6_6.zzn(null, (zzdv)var7_7);\n var10_10 = \"Activity created with data 'referrer' without required params\";\n var11_11 = \"_cis\";\n var12_12 = \"utm_medium\";\n var13_13 = \"utm_source\";\n var14_14 = \"utm_campaign\";\n var15_15 = \"gclid\";\n if (var9_9) break block100;\n var6_6 = var1_1.zza;\n var6_6 = var6_6.zzx;\n var6_6 = var6_6.zzc();\n var16_16 = zzdw.zzae;\n var9_9 = var6_6.zzn(null, (zzdv)var16_16);\n if (var9_9) break block100;\n var6_6 = var1_1.zza;\n var6_6 = var6_6.zzx;\n var6_6 = var6_6.zzc();\n var16_16 = zzdw.zzad;\n var9_9 = var6_6.zzn(null, (zzdv)var16_16);\n if (!var9_9) break block101;\n }\n var6_6 = var1_1.zza;\n var6_6 = var6_6.zzx;\n var6_6 = var6_6.zzl();\n var17_17 = TextUtils.isEmpty((CharSequence)var5_5);\n if (!var17_17) break block102;\n }\nlbl59:\n // 2 sources\n\n while (true) {\n var9_9 = false;\n var6_6 = null;\n break block103;\n break;\n }\n }\n try {\n var17_17 = var5_5.contains(var15_15);\n if (var17_17) break block104;\n }\n catch (Exception var19_20) {\n var1_1.zza.zzx.zzat().zzb().zzb(\"Throwable caught in handleReferrerForOnActivityCreated\", var19_20);\n return;\n }\n var17_17 = var5_5.contains(var14_14);\n if (var17_17) break block104;\n var17_17 = var5_5.contains(var13_13);\n if (var17_17) break block104;\n var17_17 = var5_5.contains(var12_12);\n if (var17_17) break block104;\n var6_6 = var6_6.zzx;\n var6_6 = var6_6.zzat();\n var6_6 = var6_6.zzj();\n var6_6.zza(var10_10);\n ** continue;\n }\n var16_16 = \"https://google.com/search?\";\n var8_8 = String.valueOf(var5_5);\n var18_18 = var8_8.length();\n if (var18_18 == 0) break block105;\n var8_8 = var16_16.concat(var8_8);\n ** GOTO lbl101\n }\n var8_8 = new String((String)var16_16);\nlbl101:\n // 2 sources\n\n var8_8 = Uri.parse((String)var8_8);\n var6_6 = var6_6.zzi((Uri)var8_8);\n if (var6_6 == null) break block103;\n var8_8 = \"referrer\";\n var6_6.putString((String)var11_11, var8_8);\n }\n var8_8 = \"_cmp\";\n var17_17 = true;\n if (!var2_2) break block110;\n var19_19 = var1_1.zza;\n var19_19 = var19_19.zzx;\n var19_19 = var19_19.zzl();\n var19_19 = var19_19.zzi((Uri)var3_3);\n if (var19_19 == null) break block106;\n var3_3 = \"intent\";\n var19_19.putString((String)var11_11, (String)var3_3);\n var3_3 = var1_1.zza;\n var3_3 = var3_3.zzx;\n var3_3 = var3_3.zzc();\n var11_11 = null;\n var20_21 = var3_3.zzn(null, (zzdv)var7_7);\n if (!var20_21) ** GOTO lbl152\n var20_21 = var19_19.containsKey(var15_15);\n if (var20_21 || var6_6 == null) ** GOTO lbl152\n var20_21 = var6_6.containsKey(var15_15);\n if (!var20_21) ** GOTO lbl152\n var3_3 = new Object[var17_17];\n var7_7 = null;\n var11_11 = var6_6.getString(var15_15);\n var3_3[0] = var11_11;\n var7_7 = \"_cer\";\n var11_11 = \"gclid=%s\";\n var3_3 = String.format((String)var11_11, (Object[])var3_3);\n var19_19.putString((String)var7_7, (String)var3_3);\nlbl152:\n // 4 sources\n\n var3_3 = var1_1.zza;\n var3_3.zzs(var4_4, var8_8, (Bundle)var19_19);\n var3_3 = var1_1.zza;\n var3_3 = var3_3.zzb;\n var3_3.zzb(var4_4, (Bundle)var19_19);\n break block106;\n }\n var2_2 = false;\n var19_19 = null;\n }\n var3_3 = var1_1.zza;\n var3_3 = var3_3.zzx;\n var3_3 = var3_3.zzc();\n var7_7 = zzdw.zzae;\n var11_11 = null;\n var20_21 = var3_3.zzn(null, (zzdv)var7_7);\n var7_7 = \"auto\";\n if (!var20_21) ** GOTO lbl207\n var3_3 = var1_1.zza;\n var3_3 = var3_3.zzx;\n var3_3 = var3_3.zzc();\n var11_11 = zzdw.zzad;\n var17_17 = false;\n var16_16 = null;\n var20_21 = var3_3.zzn(null, (zzdv)var11_11);\n if (var20_21 || var6_6 == null) ** GOTO lbl207\n var20_21 = var6_6.containsKey(var15_15);\n if (!var20_21) ** GOTO lbl207\n if (var19_19 == null) break block107;\n var2_2 = var19_19.containsKey(var15_15);\n if (var2_2) ** GOTO lbl207\n }\n var19_19 = var1_1.zza;\n var3_3 = \"_lgclid\";\n var11_11 = var6_6.getString(var15_15);\n var17_17 = true;\n var19_19.zzy((String)var7_7, (String)var3_3, var11_11, var17_17);\nlbl207:\n // 5 sources\n\n if (var2_2 = TextUtils.isEmpty((CharSequence)var5_5)) ** GOTO lbl288\n var19_19 = var1_1.zza;\n var19_19 = var19_19.zzx;\n var19_19 = var19_19.zzat();\n var19_19 = var19_19.zzj();\n var3_3 = \"Activity created with referrer\";\n var19_19.zzb((String)var3_3, var5_5);\n var19_19 = var1_1.zza;\n var19_19 = var19_19.zzx;\n var19_19 = var19_19.zzc();\n var3_3 = zzdw.zzad;\n var11_11 = null;\n var2_2 = var19_19.zzn(null, (zzdv)var3_3);\n var3_3 = \"_ldl\";\n if (!var2_2) break block108;\n if (var6_6 == null) ** GOTO lbl242\n var19_19 = var1_1.zza;\n var19_19.zzs(var4_4, var8_8, (Bundle)var6_6);\n var19_19 = var1_1.zza;\n var19_19 = var19_19.zzb;\n var19_19.zzb(var4_4, (Bundle)var6_6);\n ** GOTO lbl252\nlbl242:\n // 1 sources\n\n var19_19 = var1_1.zza;\n var19_19 = var19_19.zzx;\n var19_19 = var19_19.zzat();\n var19_19 = var19_19.zzj();\n var4_4 = \"Referrer does not contain valid parameters\";\n var19_19.zzb(var4_4, var5_5);\nlbl252:\n // 2 sources\n\n var19_19 = var1_1.zza;\n var21_22 = true;\n var5_5 = null;\n var19_19.zzy((String)var7_7, (String)var3_3, null, var21_22);\n return;\n }\n var2_2 = var5_5.contains(var15_15);\n if (!var2_2) ** GOTO lbl289\n var2_2 = var5_5.contains(var14_14);\n if (var2_2) break block109;\n var2_2 = var5_5.contains(var13_13);\n if (var2_2) break block109;\n var2_2 = var5_5.contains(var12_12);\n if (var2_2) break block109;\n var19_19 = \"utm_term\";\n var2_2 = var5_5.contains((CharSequence)var19_19);\n if (var2_2) break block109;\n var19_19 = \"utm_content\";\n var2_2 = var5_5.contains((CharSequence)var19_19);\n if (!var2_2) ** GOTO lbl289\n }\n var2_2 = TextUtils.isEmpty((CharSequence)var5_5);\n if (var2_2) ** GOTO lbl288\n var19_19 = var1_1.zza;\n var21_23 = true;\n var19_19.zzy((String)var7_7, (String)var3_3, var5_5, var21_23);\nlbl288:\n // 3 sources\n\n return;\nlbl289:\n // 2 sources\n\n var19_19 = var1_1.zza;\n var19_19 = var19_19.zzx;\n var19_19 = var19_19.zzat();\n var19_19 = var19_19.zzj();\n var19_19.zza(var10_10);\n }", "title": "" }, { "docid": "2e3022f74b98d5b077a15b8ddc20f1e2", "score": "0.53564686", "text": "public int getRenderBlockPass()\n {\n return 1;\n }", "title": "" }, { "docid": "ad17aaaf34df5c1cd26c335774c88a4c", "score": "0.5344021", "text": "private void setBlockIds() {\n\t\tbambooId = makeBlockId(\"bamboo\");\n\t\tbambooBlockId = makeBlockId(\"bambooBlock\");\n\t\tbambooFenceBlockId = makeBlockId(\"bambooFence\");\n\t\tbambooFenceGateBlockId = makeBlockId(\"bambooFenceGate\");\t\t\n\t\tbambooStairId = makeBlockId(\"bambooStair\");\n\t\tcoconutBlockId = makeBlockId(\"coconut\");\n\t\ttikiTorchId = makeBlockId(\"tikiTorch\");\n\t\toreEudialyteId = makeBlockId(\"oreEudialyte\");\n\t\toreZirconId = makeBlockId(\"oreZircon\");\n\t\toreAzuriteId = makeBlockId(\"oreAzurite\");\n\t\tcoralId1 = makeBlockId(\"coral1\");\n\t\tflowerId1 = makeBlockId(\"flower1\");\n\t\tthatchBlockId = makeBlockId(\"thatchBlock\");\n\t\tthatchStairsId = makeBlockId(\"thatchStairs\");\n\t\ttropicalWoodId = makeBlockId(\"tropicalWood\");\n\t\tpalmStairsId = makeBlockId(\"palmStairs\");\n\t\tpalmPlanksId = makeBlockId(\"palmPlanks\");\n\t\ttropicLeavesId = makeBlockId(\"tropicLeaves\");\n\t\tchunkBlockId = makeBlockId(\"chunkOHead\");\n\t\tchunkStairsId = makeBlockId(\"chunkStairs\");\n\t\tportalId = makeBlockId(\"portal\");\n\t\tportalWallId = makeBlockId(\"portalWall\");\n\t\tsaplingsId = makeBlockId(\"saplings\");\n\t\tfruitLeavesId = makeBlockId(\"fruitLeaves\");\n\t\tirisId = makeBlockId(\"iris\");\n\t\tpineappleId = makeBlockId(\"pineapple\");\n\t\tsifterId = makeBlockId(\"sifter\");\n\t\tstationaryWaterId = makeBlockId(\"stationaryWaterTropics\");\n\t\tflowingWaterId = makeBlockId(\"flowingWaterTropics\");\n\t\ttempLavaId = makeBlockId(\"tempLava\");\n\t\tvolcanoHelperId = makeBlockId(\"volcanoHelper\");\n\t\tsingleSlabId = makeBlockId(\"tropicalSlabSingle\");\n\t\tdoubleSlabId = makeBlockId(\"tropicalSlabDouble\");\n\t\tbambooChestId = makeBlockId(\"bambooChest\");\n\t\tpurifiedSandId = makeBlockId(\"pufifiedSand\");\n\t\tkoaChestId = makeBlockId(\"koaChest\");\n\t\twallShellId = makeBlockId(\"walLShell\");\n\t\tbambooDoorId = makeBlockId(\"bambooDoor\");\n\t\tlemonSqueezerId = makeBlockId(\"lemonSqueezer\");\n\t\teihMixerId = makeBlockId(\"eihMixer\");\n\t\tbambooMugId = makeBlockId(\"bambooMug\");\n\t\tflowerPotId = makeBlockId(\"flowerPot\");\n\t\tcoffeePlantId = makeBlockId(\"coffeePlant\");\n\t\tfountainId = makeBlockId(\"fountain\");\n\t\tfountainFlowId = makeBlockId(\"fountainFlow\");\n\t\tfountainStationaryId = makeBlockId(\"fountainStationary\");\n\t\tcurareBowlId = makeBlockId(\"curareBowl\");\n\t\ttradeBlockId = makeBlockId(\"tradeBlock\");\t}", "title": "" }, { "docid": "4b9bb66025b5dfe6275ec5210b652bd5", "score": "0.5326352", "text": "private void run() throws Exception {\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 1. net_peerCount ***\");\n testNetPeerCount();\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 2. cita_blockNumber ***\");\n EthBlockNumber ethBlockNumber = web3j.ethBlockNumber().send();\n BigInteger validBlockNumber;\n if(ethBlockNumber.isEmpty() == true){\n System.out.println(\"the result is null\");\n return;\n } else {\n System.out.println(\"cita_blockNumber:\" + ethBlockNumber.getBlockNumber());\n validBlockNumber = ethBlockNumber.getBlockNumber();\n }\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 3. cita_getBlockByNumber ***\");\n boolean isfullTranobj = true;\n String validBlockHash;\n EthBlock ethBlock = web3j.ethGetBlockByNumber(\n DefaultBlockParameter.valueOf(validBlockNumber), isfullTranobj).send();\n\n if(ethBlock.isEmpty() == true){\n System.out.println(\"the result is null\");\n return;\n }\n else{\n EthBlock.Block block = ethBlock.getBlock();\n System.out.println(\"hash(blockhash):\" + block.getHash());\n validBlockHash = block.getHash();\n System.out.println(\"version:\" + block.getVersion());\n //System.out.println(\"header.timestamp:\" + block.getHeader().getTimeStamp());\n System.out.println(\"header.prevHash:\" + block.getHeader().getPrevHash());\n System.out.println(\"header.number(hex):\" + block.getHeader().getNumber());\n System.out.println(\"header.number(dec):\" + block.getHeader().getNumberDec());\n System.out.println(\"header.stateRoot:\" + block.getHeader().getStateRoot());\n System.out.println(\"header.transactionsRoot:\" + block.getHeader().getTransactionsRoot());\n System.out.println(\"header.receiptsRoot:\" + block.getHeader().getReceiptsRoot());\n System.out.println(\"header.gasUsed:\" + block.getHeader().getGasUsed());\n System.out.println(\"header.proof.proposal:\" + block.getHeader().getProof().getProposal());\n System.out.println(\"header.proof.height:\" + block.getHeader().getProof().getHeight());\n System.out.println(\"header.proof.round:\" + block.getHeader().getProof().getRound());\n\n if(!block.getBody().getTransactions().isEmpty()) {\n System.out.println(\"number of transaction:\" + block.getBody().getTransactions().size());\n\n int i;\n for(i=0; i < block.getBody().getTransactions().size(); i++ ){\n org.web3j.protocol.core.methods.response.Transaction tran = (org.web3j.protocol.core.methods.response.Transaction) block.getBody().getTransactions().get(i).get();\n System.out.println(\"body.transactions.tranhash:\" + tran.getHash());\n System.out.println(\"body.transactions.content:\" + tran.getContent());\n }\n }else{\n System.out.println(\"the block transactions is null\");\n }\n }\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 4. cita_getBlockByHash ***\");\n boolean isfullTran = true;\n testEthGetBlockByHashReturnFullTransactionObjects(validBlockHash, isfullTran);\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 5. cita_sendTransaction ***\");\n String code = \"6060604052341561000f57600080fd5b5b6103558061001f6000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680635537f99e1461005f57806360fe47b1146100bc5780636d4ce63c146100df578063e2f5cc0d14610108575b600080fd5b341561006a57600080fd5b6100ba600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050610197565b005b34156100c757600080fd5b6100dd60048080359060200190919050506101b2565b005b34156100ea57600080fd5b6100f26101bd565b6040518082815260200191505060405180910390f35b341561011357600080fd5b61011b6101c7565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561015c5780820151818401525b602081019050610140565b50505050905090810190601f1680156101895780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b80600190805190602001906101ad929190610270565b505b50565b806000819055505b50565b6000805490505b90565b6101cf6102f0565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102655780601f1061023a57610100808354040283529160200191610265565b820191906000526020600020905b81548152906001019060200180831161024857829003601f168201915b505050505090505b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106102b157805160ff19168380011785556102df565b828001600101855582156102df579182015b828111156102de5782518255916020019190600101906102c3565b5b5090506102ec9190610304565b5090565b602060405190810160405280600081525090565b61032691905b8082111561032257600081600090555060010161030a565b5090565b905600a165627a7a7230582059b58c613b38589c882547b0ac070977b9e3fc6629d05bc219ede6de115470590029\";\n Random r = new Random(System.currentTimeMillis());\n long nonce = Math.abs(r.nextLong());\n System.out.println(\"nonce = \" + nonce);\n Transaction rtx = Transaction.createContractTransaction(BigInteger.valueOf(nonce), 1000000, validBlockNumber.longValue() + 88, code);\n String privateKey = \"80762b900f072d199e35ea9b1ee0e2e631a87762f8855b32d4ec13e37a3a65c1\";\n EthSendTransaction ethSendTx = web3j.ethSendRawTransaction(rtx.sign(privateKey)).send();\n if(ethSendTx.isEmpty() == true){\n System.out.println(\"the result is null\");\n return;\n }\n else {\n System.out.println(\"hash(Transaction):\" + ethSendTx.getSendTransactionReult().getHash());\n System.out.println(\"status:\" + ethSendTx.getSendTransactionReult().getStatus());\n }\n\n System.out.println(\"waiting for tx into chain ...\");\n Thread.sleep(8000);\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 6. cita_getTransaction ***\");\n String validTransactionHash = ethSendTx.getSendTransactionReult().getHash();\n testEthGetTransactionByHash(validTransactionHash);\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 7. eth_getTransactionCount ***\");\n Credentials credentials = Credentials.create(privateKey); \n String validAccount = credentials.getAddress();\n DefaultBlockParameter param = DefaultBlockParameter.valueOf(\"latest\");\n testEthGetTransactionCount(validAccount, param);\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 8. eth_getTransactionReceipt ***\");\n String validContractAddress;\n EthGetTransactionReceipt ethGetTransactionReceipt = web3j.ethGetTransactionReceipt(\n validTransactionHash).send();\n\n if(!ethGetTransactionReceipt.getTransactionReceipt().isPresent())\n {\n System.out.println(\"the result is null\");\n return;\n } else {\n //is option_value is null return NoSuchElementException, else return option_value\n TransactionReceipt transactionReceipt =\n ethGetTransactionReceipt.getTransactionReceipt().get();\n\n System.out.println(\"transactionHash:\" + transactionReceipt.getTransactionHash());\n System.out.println(\"transactionIndex:\" + transactionReceipt.getTransactionIndex());\n System.out.println(\"blockHash:\" + transactionReceipt.getBlockHash());\n System.out.println(\"blockNumber:\" + transactionReceipt.getBlockNumber());\n System.out.println(\"cumulativeGasUsed:\" + transactionReceipt.getCumulativeGasUsed());\n System.out.println(\"gasUsed:\" + transactionReceipt.getGasUsed());\n System.out.println(\"contractAddress:\" + transactionReceipt.getContractAddress());\n validContractAddress = transactionReceipt.getContractAddress();\n System.out.println(\"logs.size:\" + transactionReceipt.getLogs().size());\n System.out.println(\"root:\" + transactionReceipt.getRoot());\n System.out.println(\"logsBloom:\" + transactionReceipt.getLogsBloom());\n //System.out.println(transactionReceipt.getFrom());\n //System.out.println(transactionReceipt.getTo());\n //System.out.println(transactionReceipt.getLogs().get(0).getData());\n }\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 9. eth_getCode ***\");\n \n //DefaultBlockParameter parameter = DefaultBlockParameter.valueOf(\"latest\");\n DefaultBlockParameter parameter = DefaultBlockParameter.valueOf(\"latest\");\n testEthGetCode(validContractAddress, parameter);\n\n System.out.println(\"======================================\");\n System.out.println(\"*** 10. eth_call ***\");\n String fromaddress = \"1ed2f5d9eabfef6ab0a1b48237029310f538d05f\";\n String contractAddress = validContractAddress;\n String encodedFunction = \"6d4ce63c\";\n DefaultBlockParameter paramete = DefaultBlockParameter.valueOf(\"latest\");\n testEthCall(fromaddress, contractAddress, encodedFunction, paramete);\n }", "title": "" }, { "docid": "f75df1fa451758bfb632f4fce5baa68a", "score": "0.5322248", "text": "Block(NetworkParameters params, long setVersion) {\n super(params);\n // Set up a few basic things. We are not complete after this though.\n version = setVersion;\n time = System.currentTimeMillis() / 1000;\n prevBlockHash = Sha256Hash.ZERO_HASH;\n contractHash = new byte[32];\n Arrays.fill( contractHash, (byte) 0 );\n attestationHash = new byte[32];\n Arrays.fill( attestationHash, (byte) 0 );\n mappingHash = new byte[32];\n Arrays.fill( mappingHash, (byte) 0 );\n\n length = HEADER_SIZE_FULL;\n }", "title": "" }, { "docid": "1295e704c7fdfad515e434e8a3816889", "score": "0.5315976", "text": "public BlockFrame(BlockFrame f)\r\n/* 114: */ {\r\n/* 115:111 */ this.blockRelation = ((Relation)f.getThing().clone());\r\n/* 116: */ }", "title": "" }, { "docid": "85928974e437421011cf846f4c93e917", "score": "0.5309075", "text": "public synchronized ByteBlock getDummyBlock() { return dummyBlock; }", "title": "" }, { "docid": "7c66c3a24477e7c30146866ce44e44ed", "score": "0.53067017", "text": "public TritonBlock(int index, long timestamp, TritonData data, \n String prev_hash){\n \n this.index = index;\n\t this.timestamp = timestamp;\n\t this.data = data;\n\t this.prev_hash = prev_hash;\n }", "title": "" }, { "docid": "578902038697bf688cf6ca6ff18b6e22", "score": "0.5286274", "text": "public SmartBlock newBlock(SmartBlock block) {\r\n\r\n\r\n this.chaines.add(block);\r\n\r\n return block;\r\n }", "title": "" }, { "docid": "396a90fe8dff2af8cbb4e36e5b33786e", "score": "0.52825654", "text": "public BptBlock(int blockId)\r\n/* 18: */ {\r\n/* 19: 49 */ this.blockId = blockId;\r\n/* 20: */ \r\n/* 21: 51 */ BlueprintManager.blockBptProps[blockId] = this;\r\n/* 22: */ }", "title": "" }, { "docid": "6af7a9195ddef4debe728c7664742d06", "score": "0.527476", "text": "public Block_t()\n\t{\n\t\tthis.id = new ID_t();\n\t\tthis.tv = new TV_t();\n\t\tthis.time = new Time_t();\n\t\tthis.hash_prev = new String();\n\t\tthis.sig = new Sig_t();\n\t\tthis.pk = new PK_t();\n\t\t\n\t\tthis.merkle_task = new MerkleTree();\n\t\tthis.merkle_bid = new MerkleTree();\n\t\tthis.merkle_worker = new MerkleTree();\n\t\tthis.merkle_data =new MerkleTree();\n\t\tthis.merkle_feedback = new MerkleTree();\n\t\tthis.merkle_state = new MerkleTree();\n\t}", "title": "" }, { "docid": "d9c8291ae3b39b56a60792c8b1dddcc9", "score": "0.5269866", "text": "public static final class <init> extends com.google.protobuf.ardData.Builder\n{\n\n private List accountId_;\n private List barcodeId_;\n private int bitField0_;\n private bitField0_ discoverableProgramId_;\n private bitField0_ merchantName_;\n private Object ocrSystemId_;\n private bitField0_ programName_;\n\n private void ensureAccountIdIsMutable()\n {\n if ((bitField0_ & 4) != 4)\n {\n accountId_ = new ArrayList(accountId_);\n bitField0_ = bitField0_ | 4;\n }\n }", "title": "" }, { "docid": "565a5905e01f19a9d1f49a9a5e03adf6", "score": "0.52571225", "text": "@Override\n\tpublic void build(FrameBlock in) {\n\t}", "title": "" }, { "docid": "565a5905e01f19a9d1f49a9a5e03adf6", "score": "0.52571225", "text": "@Override\n\tpublic void build(FrameBlock in) {\n\t}", "title": "" }, { "docid": "ff7264729836f5760c7a2460c8afb0d4", "score": "0.5235649", "text": "@GET(\"api/v1/block\")\n Call<List<BlockSchema>> block(\n @retrofit2.http.Query(\"hash\") String hash, @retrofit2.http.Query(\"seq\") Integer seq\n );", "title": "" }, { "docid": "49433419582ac930a46474230f54a17a", "score": "0.5234794", "text": "void bloom() {\n _bloom = BLOOM_STEPS;\n }", "title": "" }, { "docid": "6c1a1e7c98dda16b1e63a036c9feff45", "score": "0.52328867", "text": "public void setBlock(Block node) {\n setChild(node, 2);\n }", "title": "" }, { "docid": "430fe36ead0406a9083130bac868a4df", "score": "0.5209608", "text": "public ByteBlock(String data)\n {\n this(data.getBytes());\n }", "title": "" }, { "docid": "6597396289f7bfc82712d4b5646d7425", "score": "0.5204676", "text": "public BlockDirective ()\n {\n }", "title": "" }, { "docid": "6aa1dc4fc0468b8bc240d44d124d649e", "score": "0.52030647", "text": "public static void main(String[] args) {\n\n Transaction transaction1 = new Transaction(\"Peter\", \"Surya\", 100L);\n Transaction transaction2 = new Transaction(\"Surya\", \"Ryan\", 1000L);\n Transaction transaction3 = new Transaction(\"Surya\", \"Ryan\", 1000L);\n Transaction transaction4 = new Transaction(\"Ryan\", \"Peter\", 150L);\n\n Block firstBlock = new Block(0, Arrays.asList(transaction1, transaction2));\n System.out.println(firstBlock.hashCode());\n Block secondBlock = new Block(firstBlock.hashCode(), Arrays.asList(transaction3));\n System.out.println(secondBlock.hashCode());\n Block thirdBlock = new Block(secondBlock.hashCode(), Arrays.asList(transaction4));\n System.out.println(thirdBlock.hashCode());\n\n }", "title": "" }, { "docid": "86d7a1517ede426b01c101455d079706", "score": "0.5195842", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder getSideChainBlockDataBuilder(\n int index) {\n return getSideChainBlockDataFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "86d7a1517ede426b01c101455d079706", "score": "0.51941776", "text": "public io.aelf.protobuf.generated.Client.SideChainBlockData.Builder getSideChainBlockDataBuilder(\n int index) {\n return getSideChainBlockDataFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "c6e6eecf21defa818c231942600451fe", "score": "0.5171163", "text": "public void setData(int type, List<BlockData> data) {\n /*List<BlockData> field;\n\n try{\n field = (List<BlockData>) this.getClass().getField(type.trim()).get(null);\n } catch (NoSuchFieldException | IllegalAccessException e){\n e.printStackTrace();\n return;\n }\n\n field.addAll(data);*/\n\n blocks.get(type).addAll(data);\n }", "title": "" }, { "docid": "548f2aef4f1731507d566f038438825f", "score": "0.5169562", "text": "public void getBlock88() {\r\n super();\r\n this.field_2469 = -1;\r\n }", "title": "" }, { "docid": "c49c9ee22faff7d1a1257cba9e063a11", "score": "0.5166942", "text": "public BlockList()\n {\n blocks = new ArrayList();\n freeBlocks = new ArrayList();\n }", "title": "" }, { "docid": "9879378b3277aeb706ea2d4c4b00c220", "score": "0.5164927", "text": "private void selfmutate() {\n\t\t\n\t}", "title": "" }, { "docid": "894156329e124707a5155234f57031c9", "score": "0.51493716", "text": "public interface BlockDataManager {\n}", "title": "" }, { "docid": "cb2ac994f72af181171e431d65a44c1e", "score": "0.5133089", "text": "private ChainInitializationData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "ce43c96ab24fcc429403e13940f7e277", "score": "0.51279545", "text": "public int getBlockID()\r\n/* 118: */ {\r\n/* 119:110 */ return RedPowerMachine.blockMachine.cm;\r\n/* 120: */ }", "title": "" }, { "docid": "0a67d5cca4d6d7ab956520ab17f91f8e", "score": "0.51187027", "text": "@Test\n public void testBlockCreation() {\n // Create a block traffic token bucket\n TokenBucket tokenBucket = DefaultTokenBucket.builder()\n .withBurstSize(0)\n .withAction(DROP)\n .withType(COMMITTED)\n .build();\n // Create a policer with above token bucket\n Policer policer = DefaultPolicer.builder()\n .forDeviceId(DID1)\n .fromApp(FOO_APP_ID)\n .withId(ID1)\n .withTokenBuckets(ImmutableList.of(tokenBucket))\n .build();\n // Assert on device id\n assertThat(policer.deviceId(), is(DID1));\n // Assert on app id\n assertThat(policer.applicationId(), is(FOO_APP_ID));\n // Assert on policer id\n assertThat(policer.policerId(), is(ID1));\n // It is not color aware\n assertFalse(policer.isColorAware());\n // Unit is Mbps\n assertThat(policer.unit(), is(MB_PER_SEC));\n // One token bucket\n assertThat(policer.tokenBuckets().size(), is(1));\n // One token bucket equals to tokenBucket\n assertTrue(policer.tokenBuckets().contains(tokenBucket));\n }", "title": "" }, { "docid": "6d89bb93f5577054b53e27ab40cb90f4", "score": "0.5113755", "text": "public CurveBuildingBlockBundle() {\n _bundle = new LinkedHashMap<String, Pair<CurveBuildingBlock, DoubleMatrix2D>>();\n }", "title": "" }, { "docid": "ebc2b8d763a4fb92702f499a1cf09ab2", "score": "0.5113718", "text": "protected DetectedBlock() {\n\t\t/* intentionally empty block */}", "title": "" }, { "docid": "c9739736182bd73d46a9373a0ece78ec", "score": "0.51064825", "text": "io.aelf.protobuf.generated.Client.CrossChainExtraData getCrossChainExtraData();", "title": "" }, { "docid": "c71d0d1341aa218638b4f45a6634fdf8", "score": "0.51048696", "text": "private List<CramFsBlock> getDataBlocks() {\n\t\tCramFsBlockFactory blockFactory =\n\t\t\tnew CramFsBlockFactory(iNode, byteProvider, blockPointerList, blockExtensionEnabled);\n\t\treturn blockFactory.produceBlocks();\n\t}", "title": "" } ]
d43e56931c91f1cd131919d822731dec
$ANTLR end "J" $ANTLR start "K"
[ { "docid": "760e93c2cbebfddb5a8dffdca1011305", "score": "0.598135", "text": "public final void mK() throws RecognitionException {\n try {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:537:11: ( ( 'k' | 'K' ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:537:13: ( 'k' | 'K' )\n {\n if ( input.LA(1)=='K'||input.LA(1)=='k' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }", "title": "" } ]
[ { "docid": "3b6f1bfdb527944fa130de9d4f776007", "score": "0.57776076", "text": "public interface ParserASTConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int KW_CLASS = 8;\n /** RegularExpression Id. */\n int KW_PUBLIC = 9;\n /** RegularExpression Id. */\n int KW_STATIC = 10;\n /** RegularExpression Id. */\n int KW_VOID = 11;\n /** RegularExpression Id. */\n int KW_MAIN = 12;\n /** RegularExpression Id. */\n int KW_STRING = 13;\n /** RegularExpression Id. */\n int KW_EXTENDS = 14;\n /** RegularExpression Id. */\n int KW_RETURN = 15;\n /** RegularExpression Id. */\n int KW_INT = 16;\n /** RegularExpression Id. */\n int KW_BOOLEAN = 17;\n /** RegularExpression Id. */\n int KW_IF = 18;\n /** RegularExpression Id. */\n int KW_ELSE = 19;\n /** RegularExpression Id. */\n int KW_WHILE = 20;\n /** RegularExpression Id. */\n int KW_TRUE = 21;\n /** RegularExpression Id. */\n int KW_FALSE = 22;\n /** RegularExpression Id. */\n int KW_THIS = 23;\n /** RegularExpression Id. */\n int KW_NEW = 24;\n /** RegularExpression Id. */\n int KW_PRINT = 25;\n /** RegularExpression Id. */\n int SYM_LBRACE = 26;\n /** RegularExpression Id. */\n int SYM_RBRACE = 27;\n /** RegularExpression Id. */\n int SYM_LPAREN = 28;\n /** RegularExpression Id. */\n int SYM_RPAREN = 29;\n /** RegularExpression Id. */\n int SYM_LSQPAREN = 30;\n /** RegularExpression Id. */\n int SYM_RSQPAREN = 31;\n /** RegularExpression Id. */\n int SYM_SEMICOLON = 32;\n /** RegularExpression Id. */\n int SYM_EQUAL = 33;\n /** RegularExpression Id. */\n int SYM_AMPAMP = 34;\n /** RegularExpression Id. */\n int SYM_BARBAR = 35;\n /** RegularExpression Id. */\n int SYM_LESS = 36;\n /** RegularExpression Id. */\n int SYM_LESSEQUAL = 37;\n /** RegularExpression Id. */\n int SYM_EQUALEQUAL = 38;\n /** RegularExpression Id. */\n int SYM_EXCLEQUAL = 39;\n /** RegularExpression Id. */\n int SYM_MORE = 40;\n /** RegularExpression Id. */\n int SYM_MOREEQUAL = 41;\n /** RegularExpression Id. */\n int SYM_PLUS = 42;\n /** RegularExpression Id. */\n int SYM_MINUS = 43;\n /** RegularExpression Id. */\n int SYM_STAR = 44;\n /** RegularExpression Id. */\n int SYM_SLASH = 45;\n /** RegularExpression Id. */\n int SYM_PERCENT = 46;\n /** RegularExpression Id. */\n int SYM_EXCL = 47;\n /** RegularExpression Id. */\n int SYM_DOT = 48;\n /** RegularExpression Id. */\n int SYM_COMMA = 49;\n /** RegularExpression Id. */\n int IDENTIFIER = 50;\n /** RegularExpression Id. */\n int INT_LITERAL = 51;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"\\\\r\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"class\\\"\",\n \"\\\"public\\\"\",\n \"\\\"static\\\"\",\n \"\\\"void\\\"\",\n \"\\\"main\\\"\",\n \"\\\"String\\\"\",\n \"\\\"extends\\\"\",\n \"\\\"return\\\"\",\n \"\\\"int\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"while\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"this\\\"\",\n \"\\\"new\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"||\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\".\\\"\",\n \"\\\",\\\"\",\n \"<IDENTIFIER>\",\n \"<INT_LITERAL>\",\n };\n\n}", "title": "" }, { "docid": "ae31b3b67f9647e146bf24b7cdd24f5e", "score": "0.57072425", "text": "public interface JavaGrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int PLUS = 5;\n /** RegularExpression Id. */\n int MINUS = 6;\n /** RegularExpression Id. */\n int MULTIPLY = 7;\n /** RegularExpression Id. */\n int DIVIDE = 8;\n /** RegularExpression Id. */\n int OPEN_PARENTHESIS = 9;\n /** RegularExpression Id. */\n int CLOSED_PARENTHESIS = 10;\n /** RegularExpression Id. */\n int OPEN_BRACKET = 11;\n /** RegularExpression Id. */\n int CLOSED_BRACKET = 12;\n /** RegularExpression Id. */\n int OPEN_BRACE = 13;\n /** RegularExpression Id. */\n int CLOSED_BRACE = 14;\n /** RegularExpression Id. */\n int SEMICOLON = 15;\n /** RegularExpression Id. */\n int EQUALS = 16;\n /** RegularExpression Id. */\n int COMPARISON = 17;\n /** RegularExpression Id. */\n int LESS = 18;\n /** RegularExpression Id. */\n int GREATER = 19;\n /** RegularExpression Id. */\n int NUMBER = 20;\n /** RegularExpression Id. */\n int DIGIT = 21;\n /** RegularExpression Id. */\n int LETTER = 22;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\"=\\\"\",\n \"<COMPARISON>\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"<NUMBER>\",\n \"<DIGIT>\",\n \"<LETTER>\",\n \"\\\"new\\\"\",\n \"\\\",\\\"\",\n \"\\\"System.out.println\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"for\\\"\",\n \"\\\"int\\\"\",\n \"\\\"++\\\"\",\n \"\\\"--\\\"\",\n };\n\n}", "title": "" }, { "docid": "ec517cfa38b1946950756897fa6081d5", "score": "0.56880796", "text": "public final void mK() throws RecognitionException {\n try {\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:404:11: ( ( 'k' | 'K' ) )\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:404:12: ( 'k' | 'K' )\n {\n if ( input.LA(1)=='K'||input.LA(1)=='k' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }", "title": "" }, { "docid": "821f8633eab0830b43d895e0e06ba3e8", "score": "0.5230735", "text": "public final void mJ() throws RecognitionException {\n try {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:536:11: ( ( 'j' | 'J' ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:536:13: ( 'j' | 'J' )\n {\n if ( input.LA(1)=='J'||input.LA(1)=='j' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }", "title": "" }, { "docid": "4b495f0a5ccbdb55aa7846c1c87fec83", "score": "0.513548", "text": "public interface LTLParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int KAS = 9;\n /** RegularExpression Id. */\n int KATE = 10;\n /** RegularExpression Id. */\n int KDATE = 11;\n /** RegularExpression Id. */\n int KEXISTS = 12;\n /** RegularExpression Id. */\n int KFORALL = 13;\n /** RegularExpression Id. */\n int KFORMULA = 14;\n /** RegularExpression Id. */\n int KIN = 15;\n /** RegularExpression Id. */\n int KNUMBER = 16;\n /** RegularExpression Id. */\n int KPI = 17;\n /** RegularExpression Id. */\n int KRENAME = 18;\n /** RegularExpression Id. */\n int KSET = 19;\n /** RegularExpression Id. */\n int KSTRING = 20;\n /** RegularExpression Id. */\n int KSUBFORMULA = 21;\n /** RegularExpression Id. */\n int INTEGER_LITERAL = 22;\n /** RegularExpression Id. */\n int REAL_LITERAL = 23;\n /** RegularExpression Id. */\n int EXPONENT = 24;\n /** RegularExpression Id. */\n int STRING_LITERAL = 25;\n /** RegularExpression Id. */\n int DESC_LITERAL = 26;\n /** RegularExpression Id. */\n int PIID = 27;\n /** RegularExpression Id. */\n int ATEID = 28;\n /** RegularExpression Id. */\n int ID = 29;\n /** RegularExpression Id. */\n int IDENTIFIER = 30;\n /** RegularExpression Id. */\n int STARTLETTER = 31;\n /** RegularExpression Id. */\n int LETTER = 32;\n /** RegularExpression Id. */\n int DIGIT = 33;\n /** RegularExpression Id. */\n int LPAREN = 34;\n /** RegularExpression Id. */\n int RPAREN = 35;\n /** RegularExpression Id. */\n int LBRACE = 36;\n /** RegularExpression Id. */\n int RBRACE = 37;\n /** RegularExpression Id. */\n int LBRACKET = 38;\n /** RegularExpression Id. */\n int RBRACKET = 39;\n /** RegularExpression Id. */\n int BAR = 40;\n /** RegularExpression Id. */\n int SEMICOLON = 41;\n /** RegularExpression Id. */\n int COMMA = 42;\n /** RegularExpression Id. */\n int DOT = 43;\n /** RegularExpression Id. */\n int COLON = 44;\n /** RegularExpression Id. */\n int ASSIGN = 45;\n /** RegularExpression Id. */\n int GT = 46;\n /** RegularExpression Id. */\n int LT = 47;\n /** RegularExpression Id. */\n int PNOT = 48;\n /** RegularExpression Id. */\n int SLASH = 49;\n /** RegularExpression Id. */\n int PLUS = 50;\n /** RegularExpression Id. */\n int MINUS = 51;\n /** RegularExpression Id. */\n int STAR = 52;\n /** RegularExpression Id. */\n int EQ = 53;\n /** RegularExpression Id. */\n int LE = 54;\n /** RegularExpression Id. */\n int GE = 55;\n /** RegularExpression Id. */\n int NE = 56;\n /** RegularExpression Id. */\n int REQ = 57;\n /** RegularExpression Id. */\n int POR = 58;\n /** RegularExpression Id. */\n int PAND = 59;\n /** RegularExpression Id. */\n int PIMPLIES = 60;\n /** RegularExpression Id. */\n int PBIIMPLIES = 61;\n /** RegularExpression Id. */\n int LALWAYS = 62;\n /** RegularExpression Id. */\n int LEVENTUALLY = 63;\n /** RegularExpression Id. */\n int LNEXTTIME = 64;\n /** RegularExpression Id. */\n int LUNTIL = 65;\n /** RegularExpression Id. */\n int URI = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_SINGLE_LINE_COMMENT = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"#\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"<token of kind 8>\",\n \"\\\"as\\\"\",\n \"\\\"ate\\\"\",\n \"\\\"date\\\"\",\n \"\\\"exists\\\"\",\n \"\\\"forall\\\"\",\n \"\\\"formula\\\"\",\n \"\\\"in\\\"\",\n \"\\\"number\\\"\",\n \"\\\"pi\\\"\",\n \"\\\"rename\\\"\",\n \"\\\"set\\\"\",\n \"\\\"string\\\"\",\n \"\\\"subformula\\\"\",\n \"<INTEGER_LITERAL>\",\n \"<REAL_LITERAL>\",\n \"<EXPONENT>\",\n \"<STRING_LITERAL>\",\n \"<DESC_LITERAL>\",\n \"<PIID>\",\n \"<ATEID>\",\n \"<ID>\",\n \"<IDENTIFIER>\",\n \"<STARTLETTER>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"|\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\":=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"!\\\"\",\n \"\\\"/\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"~=\\\"\",\n \"\\\"\\\\\\\\/\\\"\",\n \"\\\"/\\\\\\\\\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<->\\\"\",\n \"\\\"[]\\\"\",\n \"\\\"<>\\\"\",\n \"\\\"_O\\\"\",\n \"\\\"_U\\\"\",\n \"<URI>\",\n };\n\n}", "title": "" }, { "docid": "07b3524f9675a61859394c052500e09e", "score": "0.50577873", "text": "public interface GrammarConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int SINGLE_LINE_COMMENT = 7;\n /** RegularExpression Id. */\n int FORMAL_COMMENT = 8;\n /** RegularExpression Id. */\n int MULTI_LINE_COMMENT = 9;\n /** RegularExpression Id. */\n int PLUS = 11;\n /** RegularExpression Id. */\n int MINUS = 12;\n /** RegularExpression Id. */\n int MULTIPLY = 13;\n /** RegularExpression Id. */\n int DIVIDE = 14;\n /** RegularExpression Id. */\n int MOD = 15;\n /** RegularExpression Id. */\n int UBANG = 16;\n /** RegularExpression Id. */\n int LESS_OP = 17;\n /** RegularExpression Id. */\n int MORE_OP = 18;\n /** RegularExpression Id. */\n int WHILE = 19;\n /** RegularExpression Id. */\n int IF = 20;\n /** RegularExpression Id. */\n int ELSE = 21;\n /** RegularExpression Id. */\n int BREAK = 22;\n /** RegularExpression Id. */\n int RETURN = 23;\n /** RegularExpression Id. */\n int CONTINUE = 24;\n /** RegularExpression Id. */\n int ID = 25;\n /** RegularExpression Id. */\n int LETTER = 26;\n /** RegularExpression Id. */\n int INT = 27;\n /** RegularExpression Id. */\n int SEMICOLON = 28;\n /** RegularExpression Id. */\n int LPAREN = 29;\n /** RegularExpression Id. */\n int RPAREN = 30;\n /** RegularExpression Id. */\n int LBRACKET = 31;\n /** RegularExpression Id. */\n int RBRACKET = 32;\n /** RegularExpression Id. */\n int EQUAL = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int IN_FORMAL_COMMENT = 1;\n /** Lexical state. */\n int IN_MULTI_LINE_COMMENT = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"\\\"/*\\\"\",\n \"<SINGLE_LINE_COMMENT>\",\n \"\\\"*/\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"!\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"while\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"break\\\"\",\n \"\\\"return\\\"\",\n \"\\\"continue\\\"\",\n \"<ID>\",\n \"<LETTER>\",\n \"<INT>\",\n \"\\\";\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"=\\\"\",\n \"\\\"?\\\"\",\n \"\\\":\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"\\\"==\\\"\",\n \"\\\">=\\\"\",\n \"\\\"<=\\\"\",\n };\n\n}", "title": "" }, { "docid": "17286f77010e2df9840e88bf38adae9f", "score": "0.49910814", "text": "public final void mK_KEYSPACE() throws RecognitionException {\n try {\n int _type = K_KEYSPACE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:510:11: ( ( K E Y S P A C E | S C H E M A ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:510:16: ( K E Y S P A C E | S C H E M A )\n {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:510:16: ( K E Y S P A C E | S C H E M A )\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0=='K'||LA2_0=='k') ) {\n alt2=1;\n }\n else if ( (LA2_0=='S'||LA2_0=='s') ) {\n alt2=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 2, 0, input);\n\n throw nvae;\n }\n switch (alt2) {\n case 1 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:510:18: K E Y S P A C E\n {\n mK(); \n mE(); \n mY(); \n mS(); \n mP(); \n mA(); \n mC(); \n mE(); \n\n }\n break;\n case 2 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:511:20: S C H E M A\n {\n mS(); \n mC(); \n mH(); \n mE(); \n mM(); \n mA(); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "202845bde3e66b97cce1debdfab48f9a", "score": "0.49806136", "text": "public void a(eq ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public int k() {\r\n/* 55 */ return 9;\r\n/* */ }", "title": "" }, { "docid": "88933d39bfe09d54a9c6f6d5e976afa7", "score": "0.4960621", "text": "final public void ClassName() throws ParseException {\n jj_consume_token(IDENTIFIER);\n label_24:\n while (true) {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n case 98:\n ;\n break;\n default:\n jj_la1[104] = jj_gen;\n break label_24;\n }\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case 88:\n jj_consume_token(88);\n jj_consume_token(IDENTIFIER);\n break;\n case 98:\n jj_consume_token(98);\n jj_consume_token(IDENTIFIER);\n break;\n default:\n jj_la1[105] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n }", "title": "" }, { "docid": "f2d835dc34f4c51ec9157c953e0fe684", "score": "0.49294737", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return lexer.nextToken(); \n }", "title": "" }, { "docid": "19e5c00c56fdddd83996f4ac0b86697c", "score": "0.49075723", "text": "public aql k()\r\n/* 114: */ {\r\n/* 115:126 */ return aql.b;\r\n/* 116: */ }", "title": "" }, { "docid": "4e6abacdc7667567d93004d55c7d2b6f", "score": "0.48993325", "text": "public final void mKEY() throws RecognitionException {\n try {\n int _type = KEY;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:363:5: ( K E Y )\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:363:7: K E Y\n {\n mK(); \n mE(); \n mY(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "b631d66833ec1ca05ce1bc07bba08ccb", "score": "0.4882523", "text": "public final void mJ() throws RecognitionException {\n try {\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:403:11: ( ( 'j' | 'J' ) )\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:403:12: ( 'j' | 'J' )\n {\n if ( input.LA(1)=='J'||input.LA(1)=='j' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }", "title": "" }, { "docid": "afd6c33116be91e181c1694cf85408f1", "score": "0.4872257", "text": "public final void mKEYWORD_30() throws RecognitionException {\n try {\n int _type = KEYWORD_30;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:25:12: ( ( 'P' | 'p' ) ( 'A' | 'a' ) ( 'C' | 'c' ) ( 'K' | 'k' ) ( 'A' | 'a' ) ( 'G' | 'g' ) ( 'E' | 'e' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:25:14: ( 'P' | 'p' ) ( 'A' | 'a' ) ( 'C' | 'c' ) ( 'K' | 'k' ) ( 'A' | 'a' ) ( 'G' | 'g' ) ( 'E' | 'e' )\n {\n if ( input.LA(1)=='P'||input.LA(1)=='p' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='A'||input.LA(1)=='a' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='C'||input.LA(1)=='c' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='K'||input.LA(1)=='k' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='A'||input.LA(1)=='a' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='G'||input.LA(1)=='g' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='E'||input.LA(1)=='e' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "fc8f12503e8bbe94ace45411997ee862", "score": "0.48171952", "text": "public interface LLkGrammarAnalyzer extends GrammarAnalyzer {\n\n\n public boolean deterministic(AlternativeBlock blk);\n\n public boolean deterministic(OneOrMoreBlock blk);\n\n public boolean deterministic(ZeroOrMoreBlock blk);\n\n public Lookahead FOLLOW(int k, RuleEndElement end);\n\n public Lookahead look(int k, ActionElement action);\n\n public Lookahead look(int k, AlternativeBlock blk);\n\n public Lookahead look(int k, BlockEndElement end);\n\n public Lookahead look(int k, CharLiteralElement atom);\n\n public Lookahead look(int k, CharRangeElement end);\n\n public Lookahead look(int k, GrammarAtom atom);\n\n public Lookahead look(int k, OneOrMoreBlock blk);\n\n public Lookahead look(int k, RuleBlock blk);\n\n public Lookahead look(int k, RuleEndElement end);\n\n public Lookahead look(int k, RuleRefElement rr);\n\n public Lookahead look(int k, StringLiteralElement atom);\n\n public Lookahead look(int k, SynPredBlock blk);\n\n public Lookahead look(int k, TokenRangeElement end);\n\n public Lookahead look(int k, TreeElement end);\n\n public Lookahead look(int k, WildcardElement wc);\n\n public Lookahead look(int k, ZeroOrMoreBlock blk);\n\n public Lookahead look(int k, String rule);\n\n public void setGrammar(Grammar g);\n\n public boolean subruleCanBeInverted(AlternativeBlock blk, boolean forLexer);\n}", "title": "" }, { "docid": "697ac03d1cc27686a7cd65bb9bf42f9a", "score": "0.48158947", "text": "public final void mK_TYPE() throws RecognitionException {\n try {\n int _type = K_TYPE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:524:7: ( T Y P E )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:524:16: T Y P E\n {\n mT(); \n mY(); \n mP(); \n mE(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "49b5e6350fcf1bc32b2bca3d61892bb3", "score": "0.47754654", "text": "public ParseTreeDebugParser(int k_) {\n\t\tsuper(k_);\n\t}", "title": "" }, { "docid": "37269e76f833eae28bde1f59d522f578", "score": "0.4762012", "text": "private Token scanKeywordOrIdentifier() {\n Token tok;\n Pair<Integer, Integer> pos = new Pair<>(in.line(), in.pos());\n while ((Character.isLetterOrDigit(c) || c == '_') && c != -1) {\n buffer.add(c);\n c = in.read();\n }\n\n String st = buffer.toString();\n TokenType type;\n buffer.flush();\n\n if ((type = Token.KEYWORD_TABLE.get(st)) != null) {\n tok = new Token(st, type, pos);\n } else {\n tok = new Token(st, TokenType.IDENTIFIER, pos);\n }\n return tok;\n }", "title": "" }, { "docid": "4cb9f7eb0938d43fe3bf6f9ec492250f", "score": "0.4738712", "text": "static void parse() {\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n varList.add(\"0\");\r\n\r\n // Find the first lexeme\r\n lex();\r\n\r\n // Check if the tokens form a statement\r\n if(checkStatement()) {\r\n System.out.println(\"\\nGRAMMAR IS CORRECT!\");\r\n //System.out.println(grammar);\r\n }\r\n else\r\n System.out.println(\"\\nERROR - UNEXPECTED LEXEME: \\\"\" + lexeme + \"\\\"\");\r\n\r\n i = 0;\r\n j = 0;\r\n k = 0;\r\n index = 0;\r\n lex();\r\n translate();\r\n }", "title": "" }, { "docid": "a5326c742e33bc4ba965ceec4c2703c4", "score": "0.4714924", "text": "final public IASTLiteralTextNode Argument() throws ParseException {\r\n IASTLiteralTextNode node = null;\r\n Token lastToken = null;\r\n Token equalToken = null;\r\n Token firstToken = null;\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case INT:\r\n firstToken = jj_consume_token(INT);\r\n if (jj_2_3(2147483647)) {\r\n equalToken = jj_consume_token(EQUAL);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case MINUS:\r\n jj_consume_token(MINUS);\r\n break;\r\n default:\r\n jj_la1[16] = jj_gen;\r\n ;\r\n }\r\n lastToken = jj_consume_token(INT);\r\n } else {\r\n ;\r\n }\r\n if (equalToken == null) {\r\n lastToken = firstToken;\r\n }\r\n break;\r\n case ASTERISK:\r\n case WORD:\r\n case STRING:\r\n case PACKAGE_OPTION:\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ASTERISK:\r\n firstToken = jj_consume_token(ASTERISK);\r\n break;\r\n case PACKAGE_OPTION:\r\n firstToken = jj_consume_token(PACKAGE_OPTION);\r\n break;\r\n case WORD:\r\n firstToken = jj_consume_token(WORD);\r\n break;\r\n case STRING:\r\n firstToken = jj_consume_token(STRING);\r\n break;\r\n default:\r\n jj_la1[17] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n lastToken = firstToken;\r\n break;\r\n default:\r\n jj_la1[18] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n node = getRawLiteralTextNodeSpanning(firstToken, lastToken);\r\n {if (true) return node;}\r\n throw new Error(\"Missing return statement in function\");\r\n }", "title": "" }, { "docid": "c6de9018827fba005583e2bae72ae4fd", "score": "0.47073513", "text": "public final void mK_FROM() throws RecognitionException {\n try {\n int _type = K_FROM;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:480:7: ( F R O M )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:480:16: F R O M\n {\n mF(); \n mR(); \n mO(); \n mM(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "29772c5d589f687b42a740a0e5006ab2", "score": "0.46912935", "text": "Token next();", "title": "" }, { "docid": "73502adabbfd3086af4c2e4737107230", "score": "0.46739832", "text": "@Override\n\tpublic void visit(RegExpMatchOperator arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "110c30252b66c6436e2a5b25fe30d718", "score": "0.46473125", "text": "public final void mK_LEVEL() throws RecognitionException {\n try {\n int _type = K_LEVEL;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:490:8: ( ( O N E | Q U O R U M | A L L | A N Y | L O C A L '_' Q U O R U M | E A C H '_' Q U O R U M ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:490:16: ( O N E | Q U O R U M | A L L | A N Y | L O C A L '_' Q U O R U M | E A C H '_' Q U O R U M )\n {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:490:16: ( O N E | Q U O R U M | A L L | A N Y | L O C A L '_' Q U O R U M | E A C H '_' Q U O R U M )\n int alt1=6;\n switch ( input.LA(1) ) {\n case 'O':\n case 'o':\n {\n alt1=1;\n }\n break;\n case 'Q':\n case 'q':\n {\n alt1=2;\n }\n break;\n case 'A':\n case 'a':\n {\n int LA1_3 = input.LA(2);\n\n if ( (LA1_3=='L'||LA1_3=='l') ) {\n alt1=3;\n }\n else if ( (LA1_3=='N'||LA1_3=='n') ) {\n alt1=4;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 3, input);\n\n throw nvae;\n }\n }\n break;\n case 'L':\n case 'l':\n {\n alt1=5;\n }\n break;\n case 'E':\n case 'e':\n {\n alt1=6;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 1, 0, input);\n\n throw nvae;\n }\n\n switch (alt1) {\n case 1 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:490:18: O N E\n {\n mO(); \n mN(); \n mE(); \n\n }\n break;\n case 2 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:491:18: Q U O R U M\n {\n mQ(); \n mU(); \n mO(); \n mR(); \n mU(); \n mM(); \n\n }\n break;\n case 3 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:492:18: A L L\n {\n mA(); \n mL(); \n mL(); \n\n }\n break;\n case 4 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:493:18: A N Y\n {\n mA(); \n mN(); \n mY(); \n\n }\n break;\n case 5 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:494:18: L O C A L '_' Q U O R U M\n {\n mL(); \n mO(); \n mC(); \n mA(); \n mL(); \n match('_'); \n mQ(); \n mU(); \n mO(); \n mR(); \n mU(); \n mM(); \n\n }\n break;\n case 6 :\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:495:18: E A C H '_' Q U O R U M\n {\n mE(); \n mA(); \n mC(); \n mH(); \n match('_'); \n mQ(); \n mU(); \n mO(); \n mR(); \n mU(); \n mM(); \n\n }\n break;\n\n }\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "58f2c25077a617d225f4eb04829ea106", "score": "0.46300098", "text": "public final void mK_INDEX() throws RecognitionException {\n try {\n int _type = K_INDEX;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:514:8: ( I N D E X )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:514:16: I N D E X\n {\n mI(); \n mN(); \n mD(); \n mE(); \n mX(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "05ac9d3764c04cbeed24b530af737cc7", "score": "0.4627629", "text": "@Test\r\n\tpublic void test3() throws IOException, LexerException, ParserException {\r\n\t\tStringReader ex = new StringReader(\"(lam^s f.\\n\\t(lam^s x.x) (f 1))\\n(lam^c y.\\n\\t(lam^s z.z) y)\");\r\n\r\n\t\tParser parser = new Parser();\r\n\t\tTerm result = parser.Parsing(ex);\r\n\t}", "title": "" }, { "docid": "c9ed9e58c039650aeeb183d6364e5272", "score": "0.46214852", "text": "@Override\n public R visit(PrefixDecl n, A argu) {\n R _ret = null;\n n.nodeToken.accept(this, argu);\n n.nodeToken1.accept(this, argu);\n n.nodeToken2.accept(this, argu);\n return _ret;\n }", "title": "" }, { "docid": "1aff05d61b260ac265241daa8a878356", "score": "0.46043524", "text": "public final void mK_USING() throws RecognitionException {\n try {\n int _type = K_USING;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:488:8: ( U S I N G )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:488:16: U S I N G\n {\n mU(); \n mS(); \n mI(); \n mN(); \n mG(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "41d06737eea6ea925351e32fd4dfa40c", "score": "0.45728755", "text": "private String tokenToGrammar(Token v) {\n\n if(v.getChVals().equals(\"$\")){\n return \"$\";\n }\n\n String type = v.getType();\n\n if(type.equals(\"keyword\")) {\n type = v.getChVals();\n }\n\n switch (type) {\n case \"begin\":\n return \"b\";\n case \"halt\":\n return \"t\";\n case \"cat\":\n return \"c\";\n case \"mouse\":\n return \"m\";\n case \"clockwise\":\n return \"l\";\n case \"move\":\n return \"o\";\n case \"north\":\n return \"n\";\n case \"south\":\n return \"s\";\n case \"east\":\n return \"e\";\n case \"west\":\n return \"w\";\n case \"hole\":\n return \"h\";\n case \"repeat\":\n return \"r\";\n case \"size\":\n return \"z\";\n case \"end\":\n return \"d\";\n case \"integer\":\n return \"i\";\n case \"variable\":\n return \"v\";\n default:\n return type;\n }\n }", "title": "" }, { "docid": "2c56a64ac6222a7935e4a3f6dbd39ac6", "score": "0.45676696", "text": "public List<ScoredObject<Tree>> getKGoodParses(int k);", "title": "" }, { "docid": "2ffed6ed7fd345ae8ff4c679993324d8", "score": "0.4566957", "text": "public interface LuaTokenTypes extends LuaDocElementTypes {\n //IFileElementType FILE = new IFileElementType(Language.findInstance(LuaLanguage.class));\n /**\n * Wrong token. Use for debugger needs\n */\n IElementType WRONG = TokenType.BAD_CHARACTER;\n\n\n /* **************************************************************************************************\n * Whitespaces & NewLines\n * ****************************************************************************************************/\n\n IElementType NL_BEFORE_LONGSTRING = new LuaElementType(\"newline after longstring stert bracket\");\n IElementType WS = TokenType.WHITE_SPACE;\n IElementType NEWLINE = new LuaElementType(\"new line\");\n\n TokenSet WHITE_SPACES_SET = TokenSet.create(WS, NEWLINE, TokenType.WHITE_SPACE, LDOC_WHITESPACE, NL_BEFORE_LONGSTRING);\n\n /* **************************************************************************************************\n * Comments\n * ****************************************************************************************************/\n\n IElementType SHEBANG = new LuaElementType(\"shebang - should ignore\");\n\n IElementType LONGCOMMENT = new LuaElementType(\"long comment\");\n IElementType SHORTCOMMENT = new LuaElementType(\"short comment\");\n\n IElementType LONGCOMMENT_BEGIN = new LuaElementType(\"long comment start bracket\");\n IElementType LONGCOMMENT_END = new LuaElementType(\"long comment end bracket\");\n\n TokenSet COMMENT_SET = TokenSet.create(SHORTCOMMENT, LONGCOMMENT, SHEBANG, LUADOC_COMMENT, LONGCOMMENT_BEGIN,\n LONGCOMMENT_END);\n\n TokenSet COMMENT_AND_WHITESPACE_SET = TokenSet.orSet(COMMENT_SET, WHITE_SPACES_SET);\n /* **************************************************************************************************\n * Identifiers\n * ****************************************************************************************************/\n\n IElementType NAME = new LuaElementType(\"identifier\");\n\n /* **************************************************************************************************\n * Integers & floats\n * ****************************************************************************************************/\n\n IElementType NUMBER = new LuaElementType(\"number\");\n\n /* **************************************************************************************************\n * Strings & regular expressions\n * ****************************************************************************************************/\n\n IElementType STRING = new LuaElementType(\"string\");\n IElementType LONGSTRING = new LuaElementType(\"long string\");\n\n IElementType LONGSTRING_BEGIN = new LuaElementType(\"long string start bracket\");\n IElementType LONGSTRING_END = new LuaElementType(\"long string end bracket\");\n\n\n\n TokenSet STRING_LITERAL_SET = TokenSet.create(STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n\n IElementType UNTERMINATED_STRING = new LuaElementType(\"unterminated string\");\n\n\n /* **************************************************************************************************\n * Common tokens: operators, braces etc.\n * ****************************************************************************************************/\n\n\n IElementType DIV = new LuaElementType(\"/\");\n IElementType MULT = new LuaElementType(\"*\");\n IElementType LPAREN = new LuaElementType(\"(\");\n IElementType RPAREN = new LuaElementType(\")\");\n IElementType LBRACK = new LuaElementType(\"[\");\n IElementType RBRACK = new LuaElementType(\"]\");\n IElementType LCURLY = new LuaElementType(\"{\");\n IElementType RCURLY = new LuaElementType(\"}\");\n IElementType COLON = new LuaElementType(\":\");\n IElementType COMMA = new LuaElementType(\",\");\n IElementType DOT = new LuaElementType(\".\");\n IElementType ASSIGN = new LuaElementType(\"=\");\n IElementType SEMI = new LuaElementType(\";\");\n IElementType EQ = new LuaElementType(\"==\");\n IElementType NE = new LuaElementType(\"~=\");\n IElementType PLUS = new LuaElementType(\"+\");\n IElementType MINUS = new LuaElementType(\"-\");\n IElementType GE = new LuaElementType(\">=\");\n IElementType GT = new LuaElementType(\">\");\n IElementType EXP = new LuaElementType(\"^\");\n IElementType LE = new LuaElementType(\"<=\");\n IElementType LT = new LuaElementType(\"<\");\n IElementType ELLIPSIS = new LuaElementType(\"...\");\n IElementType CONCAT = new LuaElementType(\"..\");\n IElementType GETN = new LuaElementType(\"#\");\n IElementType MOD = new LuaElementType(\"%\");\n\n /* **************************************************************************************************\n * Keywords\n * ****************************************************************************************************/\n\n\n IElementType IF = new LuaElementType(\"if\");\n IElementType ELSE = new LuaElementType(\"else\");\n IElementType ELSEIF = new LuaElementType(\"elseif\");\n IElementType WHILE = new LuaElementType(\"while\");\n IElementType WITH = new LuaElementType(\"with\");\n\n IElementType THEN = new LuaElementType(\"then\");\n IElementType FOR = new LuaElementType(\"for\");\n IElementType IN = new LuaElementType(\"in\");\n IElementType RETURN = new LuaElementType(\"return\");\n IElementType BREAK = new LuaElementType(\"break\");\n\n IElementType CONTINUE = new LuaElementType(\"continue\");\n IElementType TRUE = new LuaElementType(\"true\");\n IElementType FALSE = new LuaElementType(\"false\");\n IElementType NIL = new LuaElementType(\"nil\");\n IElementType FUNCTION = new LuaElementType(\"function\");\n\n IElementType DO = new LuaElementType(\"do\");\n IElementType NOT = new LuaElementType(\"not\");\n IElementType AND = new LuaElementType(\"and\");\n IElementType OR = new LuaElementType(\"or\");\n IElementType LOCAL = new LuaElementType(\"local\");\n\n IElementType REPEAT = new LuaElementType(\"repeat\");\n IElementType UNTIL = new LuaElementType(\"until\");\n IElementType END = new LuaElementType(\"end\");\n\n /*\n IElementType MODULE = new LuaElementType(\"module\");\n IElementType REQUIRE = new LuaElementType(\"require\");\n */\n\n\n\n TokenSet KEYWORDS = TokenSet.create(DO, FUNCTION, NOT, AND, OR,\n WITH, IF, THEN, ELSEIF, THEN, ELSE,\n WHILE, FOR, IN, RETURN, BREAK,\n CONTINUE, LOCAL,\n REPEAT, UNTIL, END/*, MODULE, REQUIRE */);\n\n TokenSet BRACES = TokenSet.create(LCURLY, RCURLY);\n TokenSet PARENS = TokenSet.create(LPAREN, RPAREN);\n TokenSet BRACKS = TokenSet.create(LBRACK, RBRACK);\n\n TokenSet BAD_INPUT = TokenSet.create(WRONG, UNTERMINATED_STRING);\n \n TokenSet DEFINED_CONSTANTS = TokenSet.create(NIL, TRUE, FALSE);\n\n TokenSet UNARY_OP_SET = TokenSet.create(MINUS, GETN);\n\n TokenSet BINARY_OP_SET = TokenSet.create(\n MINUS, PLUS, DIV, MULT, EXP, MOD,\n CONCAT);\n\n TokenSet BLOCK_OPEN_SET = TokenSet.create(THEN, RPAREN, DO, ELSE, ELSEIF);\n TokenSet BLOCK_CLOSE_SET = TokenSet.create(END, ELSE, ELSEIF, UNTIL);\n\n TokenSet COMPARE_OPS = TokenSet.create(EQ, GE, GT, LT, LE, NE);\n TokenSet LOGICAL_OPS = TokenSet.create(AND, OR, NOT);\n TokenSet ARITHMETIC_OPS = TokenSet.create(MINUS, PLUS, DIV, EXP, MOD);\n\n TokenSet TABLE_ACCESS = TokenSet.create(DOT, COLON, LBRACK);\n\n TokenSet LITERALS_SET = TokenSet.create(NUMBER, NIL, TRUE, FALSE, STRING, LONGSTRING, LONGSTRING_BEGIN, LONGSTRING_END);\n\n TokenSet IDENTIFIERS_SET = TokenSet.create(NAME);\n\n TokenSet WHITE_SPACES_OR_COMMENTS = TokenSet.orSet(WHITE_SPACES_SET, COMMENT_SET);\n\n TokenSet OPERATORS_SET = TokenSet.orSet(BINARY_OP_SET, UNARY_OP_SET, COMPARE_OPS, TokenSet.create(ASSIGN));\n}", "title": "" }, { "docid": "623c173b38c0a15f565b44dd4f3b548e", "score": "0.45649377", "text": "public interface QuotedL1Node {\n\n}", "title": "" }, { "docid": "dfb0d08a3ca97d38ef1b45eea9bbe9f9", "score": "0.45615554", "text": "public KotlinLanguage() {\n super(\"Kotlin\", \"kotlin\", new KotlinTokenizer(), \".kt\");\n }", "title": "" }, { "docid": "d55929706a376adcebb3850d76ad008d", "score": "0.45497298", "text": "public interface SimpleGrParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int NumberLit = 6;\n /** RegularExpression Id. */\n int BooleanLit = 7;\n /** RegularExpression Id. */\n int StringLit = 8;\n /** RegularExpression Id. */\n int Null = 9;\n /** RegularExpression Id. */\n int And = 10;\n /** RegularExpression Id. */\n int Or = 11;\n /** RegularExpression Id. */\n int Not = 12;\n /** RegularExpression Id. */\n int Identifier = 13;\n /** RegularExpression Id. */\n int Equal = 14;\n /** RegularExpression Id. */\n int NotEqual = 15;\n /** RegularExpression Id. */\n int LessThan = 16;\n /** RegularExpression Id. */\n int LessEqualThan = 17;\n /** RegularExpression Id. */\n int GreaterThan = 18;\n /** RegularExpression Id. */\n int GreaterEqualThan = 19;\n /** RegularExpression Id. */\n int Plus = 20;\n /** RegularExpression Id. */\n int Minus = 21;\n /** RegularExpression Id. */\n int Div = 22;\n /** RegularExpression Id. */\n int Mult = 23;\n /** RegularExpression Id. */\n int Open = 24;\n /** RegularExpression Id. */\n int Close = 25;\n /** RegularExpression Id. */\n int Comma = 26;\n /** RegularExpression Id. */\n int Letter = 27;\n /** RegularExpression Id. */\n int Digit = 28;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"<NumberLit>\",\n \"<BooleanLit>\",\n \"<StringLit>\",\n \"\\\"NULL\\\"\",\n \"\\\"AND\\\"\",\n \"\\\"OR\\\"\",\n \"\\\"NOT\\\"\",\n \"<Identifier>\",\n \"\\\"==\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"<\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">\\\"\",\n \"\\\">=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"/\\\"\",\n \"\\\"*\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\",\\\"\",\n \"<Letter>\",\n \"<Digit>\",\n };\n\n}", "title": "" }, { "docid": "99d5e84187e3cff101b7713781e6d590", "score": "0.45362028", "text": "public java_cup.runtime.Symbol scan()\n throws java.lang.Exception\n {\n return s.next_token(); \n }", "title": "" }, { "docid": "188d6377aa200bdf28a0b41fdf4297f2", "score": "0.45351815", "text": "private void kk12() {\n\n\t}", "title": "" }, { "docid": "a58722e95f32c195aa78ab065d46f7b2", "score": "0.45264888", "text": "public final void jsonfile() throws RecognitionException {\n KeyNode kvpair1 = null;\n\n ObjectNode object2 = null;\n\n\n ArrayList<JSONNode> children = new ArrayList<JSONNode>();\n try {\n // C:\\\\Users\\\\Lyle\\\\BitTorrent Sync\\\\workspace\\\\SIDSL\\\\src\\\\JSONHandler\\\\JSONTreeConstruct.g:25:3: ( ^( JSONFILE ( kvpair )+ ) | ^( JSONFILE ( object )+ ) )\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0==JSONFILE) ) {\n int LA3_1 = input.LA(2);\n\n if ( (LA3_1==DOWN) ) {\n int LA3_2 = input.LA(3);\n\n if ( (LA3_2==COLON) ) {\n alt3=1;\n }\n else if ( (LA3_2==OBJECT) ) {\n alt3=2;\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 3, 2, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 3, 1, input);\n\n throw nvae;\n }\n }\n else {\n NoViableAltException nvae =\n new NoViableAltException(\"\", 3, 0, input);\n\n throw nvae;\n }\n switch (alt3) {\n case 1 :\n // C:\\\\Users\\\\Lyle\\\\BitTorrent Sync\\\\workspace\\\\SIDSL\\\\src\\\\JSONHandler\\\\JSONTreeConstruct.g:25:5: ^( JSONFILE ( kvpair )+ )\n {\n match(input,JSONFILE,FOLLOW_JSONFILE_in_jsonfile69); \n\n match(input, Token.DOWN, null); \n // C:\\\\Users\\\\Lyle\\\\BitTorrent Sync\\\\workspace\\\\SIDSL\\\\src\\\\JSONHandler\\\\JSONTreeConstruct.g:25:16: ( kvpair )+\n int cnt1=0;\n loop1:\n do {\n int alt1=2;\n int LA1_0 = input.LA(1);\n\n if ( (LA1_0==COLON) ) {\n alt1=1;\n }\n\n\n switch (alt1) {\n \tcase 1 :\n \t // C:\\\\Users\\\\Lyle\\\\BitTorrent Sync\\\\workspace\\\\SIDSL\\\\src\\\\JSONHandler\\\\JSONTreeConstruct.g:25:17: kvpair\n \t {\n \t pushFollow(FOLLOW_kvpair_in_jsonfile72);\n \t kvpair1=kvpair();\n\n \t state._fsp--;\n\n \t children.add(kvpair1);\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt1 >= 1 ) break loop1;\n EarlyExitException eee =\n new EarlyExitException(1, input);\n throw eee;\n }\n cnt1++;\n } while (true);\n\n\n match(input, Token.UP, null); \n\n }\n break;\n case 2 :\n // C:\\\\Users\\\\Lyle\\\\BitTorrent Sync\\\\workspace\\\\SIDSL\\\\src\\\\JSONHandler\\\\JSONTreeConstruct.g:26:5: ^( JSONFILE ( object )+ )\n {\n match(input,JSONFILE,FOLLOW_JSONFILE_in_jsonfile84); \n\n match(input, Token.DOWN, null); \n // C:\\\\Users\\\\Lyle\\\\BitTorrent Sync\\\\workspace\\\\SIDSL\\\\src\\\\JSONHandler\\\\JSONTreeConstruct.g:26:16: ( object )+\n int cnt2=0;\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0==OBJECT) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // C:\\\\Users\\\\Lyle\\\\BitTorrent Sync\\\\workspace\\\\SIDSL\\\\src\\\\JSONHandler\\\\JSONTreeConstruct.g:26:17: object\n \t {\n \t pushFollow(FOLLOW_object_in_jsonfile87);\n \t object2=object();\n\n \t state._fsp--;\n\n \t children.add(object2);\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt2 >= 1 ) break loop2;\n EarlyExitException eee =\n new EarlyExitException(2, input);\n throw eee;\n }\n cnt2++;\n } while (true);\n\n\n match(input, Token.UP, null); \n\n }\n break;\n\n }\n tree.setRoot(new JSONNode(\"root\", children));\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "a15849b8bbb2504ad39f5cbf42dd174a", "score": "0.45203805", "text": "java_cup.runtime.Symbol TOKEN(int code) { return TOKEN(code, yytext()); }", "title": "" }, { "docid": "463c909080c277db483c20e709709c1c", "score": "0.45086506", "text": "private void nextKwId() {\n\t\tint old=pos;\n\t\tmany(letters);\n\t\tmany(legits);\n\t\tString lexeme=program.substring(old,pos);\n\t\ttoken=new Token((keywords.contains(lexeme) ? lexeme : \"id\"),lexeme);\n }", "title": "" }, { "docid": "a605806228bcebab5d5709ff85492134", "score": "0.44998252", "text": "public final void mK_ON() throws RecognitionException {\n try {\n int _type = K_ON;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:515:5: ( O N )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:515:16: O N\n {\n mO(); \n mN(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "3b118c9e951c19bb852fe0b7cac845b5", "score": "0.44966778", "text": "public interface PhpTokenTypes extends TokenType\n{\n\tIElementType PHP_OPENING_TAG = new PhpElementType(\"php opening tag\"); // <?php or <?\n\tIElementType PHP_ECHO_OPENING_TAG = new PhpElementType(\"php echo opening tag\"); // <?=\n\tIElementType PHP_CLOSING_TAG = new PhpElementType(\"php closing tag\"); // ?>\n\tIElementType UNKNOWN_SYMBOL = new PhpElementType(\"dunno what's that\");\n\tIElementType SYNTAX_ERROR = new PhpElementType(\"syntax error\");\n\n\tIElementType HTML = new PhpElementType(\"html\");\n\n\tIElementType kwIF = new PhpElementType(\"if\");\n\tIElementType kwELSEIF = new PhpElementType(\"elseif\");\n\tIElementType kwELSE = new PhpElementType(\"else\");\n\tIElementType kwFOR = new PhpElementType(\"for\");\n\tIElementType kwFOREACH = new PhpElementType(\"foreach keyword\");\n\tIElementType kwWHILE = new PhpElementType(\"while\");\n\tIElementType kwDO = new PhpElementType(\"do\");\n\tIElementType kwSWITCH = new PhpElementType(\"switch\");\n\tIElementType kwCASE = new PhpElementType(\"case\");\n\tIElementType kwDEFAULT = new PhpElementType(\"default keyword\");\n\tIElementType kwTRY = new PhpElementType(\"try\");\n\tIElementType kwCATCH = new PhpElementType(\"catch\");\n\tIElementType FINALLY_KEYWORD = new PhpElementType(\"FINALLY_KEYWORD\");\n\tIElementType kwDECLARE = new PhpElementType(\"declare\");\n\tIElementType kwBREAK = new PhpElementType(\"break\");\n\tIElementType kwENDIF = new PhpElementType(\"endif\");\n\tIElementType kwENDFOR = new PhpElementType(\"endfor\");\n\tIElementType kwENDFOREACH = new PhpElementType(\"endforeach\");\n\tIElementType kwENDWHILE = new PhpElementType(\"endwhile\");\n\tIElementType kwENDSWITCH = new PhpElementType(\"endswitch\");\n\tIElementType kwENDDECLARE = new PhpElementType(\"enddeclare\");\n\n\tIElementType kwEXIT = new PhpElementType(\"exit\");\n\tIElementType NAMESPACE_KEYWORD = new PhpElementType(\"NAMESPACE_KEYWORD\");\n\tIElementType USE_KEYWORD = new PhpElementType(\"USE_KEYWORD\");\n\tIElementType PRIVATE_KEYWORD = new PhpElementType(\"PRIVATE_KEYWORD\");\n\tIElementType kwFUNCTION = new PhpElementType(\"FUNCTION_KEYWORD\");\n\tIElementType kwNEW = new PhpElementType(\"new\");\n\tIElementType kwINSTANCEOF = new PhpElementType(\"instanceof\");\n\tIElementType kwCONST = new PhpElementType(\"CONST_KEYWORD\");\n\tIElementType kwLIST = new PhpElementType(\"list\");\n\tIElementType kwIMPLEMENTS = new PhpElementType(\"implements\");\n\tIElementType kwEVAL = new PhpElementType(\"eval\");\n\tIElementType FINAL_KEYWORD = new PhpElementType(\"final\");\n\tIElementType kwAS = new PhpElementType(\"as\");\n\tIElementType kwTHROW = new PhpElementType(\"throw\");\n\tIElementType kwEXCEPTION = new PhpElementType(\"exception\");\n\tIElementType kwINCLUDE_ONCE = new PhpElementType(\"include once\");\n\tIElementType kwCLASS = new PhpElementType(\"class\");\n\tIElementType ABSTRACT_KEYWORD = new PhpElementType(\"ABSTRACT_KEYWORD\");\n\tIElementType INTERFACE_KEYWORD = new PhpElementType(\"INTERFACE_KEYWORD\");\n\tIElementType TRAIT_KEYWORD = new PhpElementType(\"TRAIT_KEYWORD\");\n\tIElementType PUBLIC_KEYWORD = new PhpElementType(\"PUBLIC_KEYWORD\");\n\tIElementType STATIC_KEYWORD = new PhpElementType(\"STATIC_KEYWORD\");\n\tIElementType YIELD_KEYWORD = new PhpElementType(\"YIELD_KEYWORD\");\n\tIElementType FROM_KEYWORD = new PhpElementType(\"FROM_KEYWORD\");\n\tIElementType kwCLONE = new PhpElementType(\"clone keyword\");\n\tIElementType kwISSET = new PhpElementType(\"isset keyword\");\n\tIElementType kwEMPTY = new PhpElementType(\"empty keyword\");\n\tIElementType kwRETURN = new PhpElementType(\"return\");\n\tIElementType kwVAR = new PhpElementType(\"var\");\n\tIElementType kwPHP_USER_FILTER = new PhpElementType(\"php user filter\");\n\tIElementType kwCONTINUE = new PhpElementType(\"continue\");\n\tIElementType kwDIE = new PhpElementType(\"die\");\n\tIElementType PROTECTED_KEYWORD = new PhpElementType(\"PROTECTED_KEYWORD\");\n\tIElementType kwPRINT = new PhpElementType(\"print\");\n\tIElementType kwECHO = new PhpElementType(\"echo\");\n\tIElementType kwINCLUDE = new PhpElementType(\"include\");\n\tIElementType kwGLOBAL = new PhpElementType(\"global\");\n\tIElementType kwEXTENDS = new PhpElementType(\"extends\");\n\tIElementType kwUNSET = new PhpElementType(\"unset\");\n\tIElementType kwREQUIRE_ONCE = new PhpElementType(\"require once\");\n\tIElementType kwARRAY = new PhpElementType(\"array\");\n\tIElementType kwREQUIRE = new PhpElementType(\"require\");\n\n\n\tIElementType LINE_COMMENT = new PhpElementType(\"line comment\");\n\t//\tIElementType DOC_COMMENT = new PhpElementType(\"doc comment\");\n\tIElementType C_STYLE_COMMENT = new PhpElementType(\"C style comment\");\n\tIElementType VARIABLE = new PhpElementType(\"variable\");\n\tIElementType VARIABLE_NAME = new PhpElementType(\"variable name\"); // ???\n\tIElementType VARIABLE_OFFSET_NUMBER = new PhpElementType(\"array index\"); // ???\n\tIElementType DOLLAR_LBRACE = new PhpElementType(\"${\"); // ???\n\tIElementType IDENTIFIER = new PhpElementType(\"identifier\");\n\tIElementType ARROW = new PhpElementType(\"arrow\");\n\tIElementType SCOPE_RESOLUTION = new PhpElementType(\"scope resolution\");\n\tIElementType FLOAT_LITERAL = new PhpElementType(\"float\");\n\tIElementType INTEGER_LITERAL = new PhpElementType(\"integer\");\n\tIElementType BINARY_LITERAL = new PhpElementType(\"BINARY_LITERAL\");\n\tIElementType STRING_LITERAL = new PhpElementType(\"string\");\n\tIElementType STRING_LITERAL_SINGLE_QUOTE = new PhpElementType(\"single quoted string\");\n\tIElementType EXEC_COMMAND = new PhpElementType(\"exec command\");\n\tIElementType ESCAPE_SEQUENCE = new PhpElementType(\"escape sequence\");\n\tIElementType HEREDOC_START = new PhpElementType(\"HEREDOC_START\");\n\tIElementType HEREDOC_CONTENTS = new PhpElementType(\"HEREDOC_CONTENTS\");\n\tIElementType HEREDOC_END = new PhpElementType(\"HEREDOC_END\");\n\n\n\tIElementType chDOUBLE_QUOTE = new PhpElementType(\"double quote\");\n\tIElementType chSINGLE_QUOTE = new PhpElementType(\"single quote\");\n\tIElementType chBACKTRICK = new PhpElementType(\"backtrick\");\n\tIElementType LBRACE = new PhpElementType(\"{\");\n\tIElementType RBRACE = new PhpElementType(\"}\");\n\tIElementType LPAREN = new PhpElementType(\"(\");\n\tIElementType RPAREN = new PhpElementType(\")\");\n\tIElementType LBRACKET = new PhpElementType(\"[\");\n\tIElementType RBRACKET = new PhpElementType(\"]\");\n\tIElementType ELVIS = new PhpElementType(\"ELVIS\");\n\n\n\tIElementType opPLUS = new PhpElementType(\"plus\"); //+\n\tIElementType opUNARY_PLUS = new PhpElementType(\"unary plus\"); //+\n\tIElementType opMINUS = new PhpElementType(\"minus\"); //-\n\tIElementType opNEGATE = new PhpElementType(\"negate\"); //-\n\tIElementType opINCREMENT = new PhpElementType(\"increment\"); //++\n\tIElementType opDECREMENT = new PhpElementType(\"decrement\"); //--\n\tIElementType opASGN = new PhpElementType(\"assign\"); //=\n\tIElementType opNOT = new PhpElementType(\"not\"); //!\n\tIElementType opQUEST = new PhpElementType(\"ternary\"); //?\n\tIElementType opCOMMA = new PhpElementType(\"comma\"); //,\n\tIElementType opCONCAT = new PhpElementType(\"dot\"); //.\n\tIElementType opCOLON = new PhpElementType(\"colon\"); //:\n\tIElementType opSEMICOLON = new PhpElementType(\"semicolon\"); //;\n\tIElementType opBIT_AND = new PhpElementType(\"bit and\"); //&\n\tIElementType opBIT_OR = new PhpElementType(\"bit or\"); //|\n\tIElementType opBIT_XOR = new PhpElementType(\"bit xor\"); //^\n\tIElementType opBIT_NOT = new PhpElementType(\"bit not\"); //~\n\tIElementType opLIT_AND = new PhpElementType(\"literal and\"); //and\n\tIElementType opLIT_OR = new PhpElementType(\"literal or\"); //or\n\tIElementType opLIT_XOR = new PhpElementType(\"literal xor\"); //xor\n\tIElementType opEQUAL = new PhpElementType(\"equals\"); //==\n\tIElementType opNOT_EQUAL = new PhpElementType(\"not equals\"); //!=\n\tIElementType opIDENTICAL = new PhpElementType(\"identical\"); //===\n\tIElementType opNOT_IDENTICAL = new PhpElementType(\"not identical\"); //!==\n\tIElementType opPLUS_ASGN = new PhpElementType(\"plus assign\"); //+=\n\tIElementType opMINUS_ASGN = new PhpElementType(\"minus assign\"); //-=\n\tIElementType opMUL_ASGN = new PhpElementType(\"multiply assign\"); //*=\n\tIElementType opDIV_ASGN = new PhpElementType(\"division assign\"); ///=\n\tIElementType opREM_ASGN = new PhpElementType(\"division remainder assign\"); //%=\n\tIElementType opSHIFT_RIGHT = new PhpElementType(\"shift right\"); //>>\n\tIElementType opSHIFT_RIGHT_ASGN = new PhpElementType(\"shift right assign\"); //>>=\n\tIElementType opSHIFT_LEFT = new PhpElementType(\"shift left\"); //<<\n\tIElementType opSHIFT_LEFT_ASGN = new PhpElementType(\"shift left assign\"); //<<=\n\tIElementType opAND_ASGN = new PhpElementType(\"and assign\"); //&&=\n\tIElementType opOR_ASGN = new PhpElementType(\"or assign\"); //||=\n\tIElementType opBIT_AND_ASGN = new PhpElementType(\"bit and assign\"); //&=\n\tIElementType opBIT_OR_ASGN = new PhpElementType(\"bit or assign\"); //|=\n\tIElementType opBIT_XOR_ASGN = new PhpElementType(\"bit xor assign\"); //^=\n\tIElementType opAND = new PhpElementType(\"and\"); //&&\n\tIElementType opOR = new PhpElementType(\"or\"); //||\n\tIElementType opLESS = new PhpElementType(\"less than\"); //<\n\tIElementType opLESS_OR_EQUAL = new PhpElementType(\"less than or equal\"); //<=\n\tIElementType opGREATER = new PhpElementType(\"greater than\"); //>\n\tIElementType opGREATER_OR_EQUAL = new PhpElementType(\"greater than or equal\"); //>=\n\tIElementType opCONCAT_ASGN = new PhpElementType(\"concatenation assign\"); //.=\n\tIElementType opSILENCE = new PhpElementType(\"error silence\"); //@\n\tIElementType opDIV = new PhpElementType(\"division\"); ///\n\tIElementType SLASH = new PhpElementType(\"SLASH\"); // \\\n\tIElementType opMUL = new PhpElementType(\"multiply\"); //*\n\tIElementType opREM = new PhpElementType(\"remainder\"); //%\n\tIElementType HASH_ARRAY = new PhpElementType(\"HASH_ARRAY\"); //=>\n\tIElementType ELLIPSIS = new PhpElementType(\"ELLIPSIS\"); //...\n\n\t//casting\n\tIElementType opINTEGER_CAST = new PhpElementType(\"integer cast\");\n\tIElementType opFLOAT_CAST = new PhpElementType(\"float cast\");\n\tIElementType opBOOLEAN_CAST = new PhpElementType(\"boolean cast\");\n\tIElementType opSTRING_CAST = new PhpElementType(\"string cast\");\n\tIElementType opARRAY_CAST = new PhpElementType(\"array cast\");\n\tIElementType opOBJECT_CAST = new PhpElementType(\"object cast\");\n\tIElementType opUNSET_CAST = new PhpElementType(\"unset cast\");\n\n\tIElementType DOLLAR = new PhpElementType(\"dollar\");\n\n\tIElementType EXPR_SUBST_BEGIN = new PhpElementType(\"expression substitution begin\");\n\tIElementType EXPR_SUBST_END = new PhpElementType(\"expression substitution end\");\n\n\n\tTokenSet tsPHP_OPENING_TAGS = TokenSet.create(PHP_OPENING_TAG, PHP_ECHO_OPENING_TAG);\n\n\tTokenSet tsSTATEMENT_PRIMARY = TokenSet.create(kwIF, kwFOR, kwFOREACH, kwWHILE, kwDO, kwBREAK, kwCONTINUE, kwECHO, kwGLOBAL, kwFUNCTION, kwUNSET, kwSWITCH, kwTRY\n\n\t);\n\n\tTokenSet SOFT_KEYWORDS = TokenSet.create(FROM_KEYWORD);\n\n\tTokenSet KEYWORDS = TokenSet.orSet(tsSTATEMENT_PRIMARY, TokenSet.create(ABSTRACT_KEYWORD, kwARRAY, kwAS, kwBREAK, kwCASE, kwCATCH, kwCLASS, TRAIT_KEYWORD, kwCLONE, kwCONST, kwCONTINUE,\n\t\t\tkwDEFAULT, kwDIE, kwECHO, kwELSE, kwELSEIF, kwEMPTY, kwENDDECLARE, kwENDFOR, kwENDFOREACH, kwENDIF, kwENDSWITCH, kwENDWHILE, kwEVAL, kwEXCEPTION, kwEXIT, kwEXTENDS, FINAL_KEYWORD,\n\t\t\tkwFUNCTION, kwGLOBAL, kwIMPLEMENTS, kwINCLUDE, kwINCLUDE_ONCE, INTERFACE_KEYWORD, kwISSET, kwLIST, kwPHP_USER_FILTER, kwPRINT, PRIVATE_KEYWORD, PROTECTED_KEYWORD, PUBLIC_KEYWORD,\n\t\t\tkwREQUIRE, kwREQUIRE_ONCE, kwRETURN, STATIC_KEYWORD, kwTHROW, kwUNSET, kwVAR, kwNEW, kwINSTANCEOF, NAMESPACE_KEYWORD, USE_KEYWORD, FINALLY_KEYWORD, YIELD_KEYWORD));\n\n\tTokenSet tsMATH_OPS = TokenSet.create(opPLUS, opMINUS, opMUL, opDIV, opNEGATE, opREM);\n\n\tTokenSet tsBIT_OPS = TokenSet.create(opBIT_AND, opBIT_NOT, opBIT_OR, opBIT_XOR, opSHIFT_LEFT, opSHIFT_RIGHT);\n\n\tTokenSet tsASGN_OPS = TokenSet.create(opAND_ASGN, opBIT_AND_ASGN, opBIT_OR_ASGN, opBIT_XOR_ASGN, opCONCAT_ASGN, opMINUS_ASGN, opMUL_ASGN, opOR_ASGN, opPLUS_ASGN, opSHIFT_RIGHT_ASGN,\n\t\t\topSHIFT_LEFT_ASGN, opREM_ASGN, opASGN);\n\n\tTokenSet tsCAST_OPS = TokenSet.create(opINTEGER_CAST, opFLOAT_CAST, opBOOLEAN_CAST, opSTRING_CAST, opARRAY_CAST, opOBJECT_CAST, opUNSET_CAST);\n\n\tTokenSet tsUNARY_PREFIX_OPS = TokenSet.orSet(TokenSet.create(opNOT, opDECREMENT, opINCREMENT, opNEGATE, opBIT_NOT, opSILENCE, opUNARY_PLUS, kwNEW, kwPRINT), tsCAST_OPS);\n\n\tTokenSet tsUNARY_POSTFIX_OPS = TokenSet.create(opDECREMENT, opINCREMENT);\n\n\tTokenSet tsUNARY_OPS = TokenSet.orSet(tsUNARY_PREFIX_OPS, tsUNARY_POSTFIX_OPS);\n\n\tTokenSet tsCOMPARE_OPS = TokenSet.create(opEQUAL, opNOT_EQUAL, opIDENTICAL, opNOT_IDENTICAL, opGREATER, opLESS, opGREATER_OR_EQUAL, opLESS_OR_EQUAL);\n\n\tTokenSet tsLOGICAL_OPS = TokenSet.create(opAND, opOR);\n\n\tTokenSet tsTERNARY_OPS = TokenSet.create(opQUEST/*, opCOLON*/);\n\n\tTokenSet tsBINARY_OPS = TokenSet.orSet(TokenSet.create(opLIT_AND, opLIT_OR, opLIT_XOR, opCONCAT, kwINSTANCEOF), tsASGN_OPS, tsBIT_OPS, tsCOMPARE_OPS, tsMATH_OPS, tsLOGICAL_OPS, tsTERNARY_OPS);\n\n\tTokenSet tsOPERATORS = TokenSet.orSet(tsBINARY_OPS, tsUNARY_OPS);\n\n\tTokenSet tsNUMBERS = TokenSet.create(INTEGER_LITERAL, BINARY_LITERAL, FLOAT_LITERAL);\n\n\tTokenSet tsSTRINGS = TokenSet.create(STRING_LITERAL, STRING_LITERAL_SINGLE_QUOTE);\n\n\tTokenSet tsSTRING_EDGE = TokenSet.create(chDOUBLE_QUOTE, chSINGLE_QUOTE, chBACKTRICK);\n\n\tTokenSet tsEXPR_SUBST_MARKS = TokenSet.create(EXPR_SUBST_BEGIN, EXPR_SUBST_END);\n\n\tTokenSet tsOPENING_BRACKETS = TokenSet.create(LBRACE, LBRACKET, LPAREN);\n\n\tTokenSet tsCLOSING_BRACKETS = TokenSet.create(RBRACE, RBRACKET, RPAREN);\n\n\tTokenSet tsBRACKETS = TokenSet.orSet(tsOPENING_BRACKETS, tsCLOSING_BRACKETS);\n\n\tTokenSet tsREFERENCE_FIRST_TOKENS = TokenSet.create(VARIABLE, IDENTIFIER, DOLLAR);\n\n\tTokenSet tsOPERAND_FIRST_TOKENS = TokenSet.orSet(tsREFERENCE_FIRST_TOKENS, tsNUMBERS, tsSTRING_EDGE, TokenSet.create(kwARRAY, kwEMPTY, kwEXIT, kwISSET));\n\n\tTokenSet tsPRIMARY_TOKENS = TokenSet.orSet(tsOPERAND_FIRST_TOKENS, tsUNARY_OPS, TokenSet.create(LPAREN));\n\n\tTokenSet tsTERMINATOR = TokenSet.create(opSEMICOLON, PHP_CLOSING_TAG);\n\n\tTokenSet tsHEREDOC_IDS = TokenSet.create(HEREDOC_START, HEREDOC_END);\n\n\tTokenSet tsCOMMON_SCALARS = TokenSet.orSet(tsNUMBERS, TokenSet.create(STRING_LITERAL, STRING_LITERAL_SINGLE_QUOTE));\n\n\tTokenSet tsJUNKS = TokenSet.create(HTML, PHP_OPENING_TAG, PHP_ECHO_OPENING_TAG);\n\n\tTokenSet tsMODIFIERS = TokenSet.create(PRIVATE_KEYWORD, PROTECTED_KEYWORD, PUBLIC_KEYWORD, ABSTRACT_KEYWORD, FINAL_KEYWORD, STATIC_KEYWORD);\n\n\tTokenSet tsVARIABLE_MODIFIERS = TokenSet.orSet(tsMODIFIERS, TokenSet.create(kwVAR));\n\n\tTokenSet tsEXPRESSION_FIRST_TOKENS = TokenSet.orSet(tsCOMMON_SCALARS, tsCAST_OPS, TokenSet.create(kwPRINT, kwARRAY, kwEXIT, kwREQUIRE, kwREQUIRE_ONCE, kwINCLUDE, kwINCLUDE_ONCE, kwEVAL, kwEMPTY,\n\t\t\tkwISSET, kwNEW, kwCLONE, kwLIST), TokenSet.create(VARIABLE, VARIABLE_NAME, DOLLAR, IDENTIFIER, opINCREMENT, opDECREMENT, opPLUS, opMINUS, opNOT, opBIT_NOT, opSILENCE, LPAREN,\n\t\t\tchDOUBLE_QUOTE, chBACKTRICK, HEREDOC_START));\n\n\tTokenSet tsSTATEMENT_FIRST_TOKENS = TokenSet.create(kwIF, kwWHILE, kwDO, kwFOR, kwSWITCH, kwBREAK, kwCONTINUE, kwRETURN, kwGLOBAL, STATIC_KEYWORD, kwECHO, kwUNSET, kwFOREACH, kwDECLARE, kwTRY,\n\t\t\tkwTHROW);\n}", "title": "" }, { "docid": "d72179b578ccd189f79864eaca86b554", "score": "0.44918478", "text": "public final void mKEYWORD_12() throws RecognitionException {\n try {\n int _type = KEYWORD_12;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:73:12: ( '>' )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:73:14: '>'\n {\n match('>'); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "cb5287668d9b886f08126d2c39eec69b", "score": "0.448931", "text": "final public ASTModel Model() throws ParseException {\r\n /*@bgen(jjtree) Model */\r\n ASTModel jjtn000 = new ASTModel(JJTMODEL);\r\n boolean jjtc000 = true;\r\n jjtree.openNodeScope(jjtn000);\r\n try {\r\n if (jj_2_1(2)) {\r\n jj_consume_token(BEGIN);\r\n jj_consume_token(MODEL);\r\n label_1:\r\n while (true) {\r\n jj_consume_token(BEGIN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case COMPARTMENTS:\r\n CompartmentsBlock();\r\n break;\r\n case PARAMETERS:\r\n ParameterBlock();\r\n break;\r\n case MOLECULE:\r\n MolecularDefinitionBlock();\r\n break;\r\n case ANCHORS:\r\n AnchorsBlock();\r\n break;\r\n case SEED:\r\n SeedSpeciesBlock();\r\n break;\r\n case REACTION:\r\n ReactionRulesBlock();\r\n break;\r\n case OBSERVABLES:\r\n ObservablesBlock();\r\n break;\r\n case FUNCTIONS:\r\n FunctionsBlock();\r\n break;\r\n default:\r\n jj_la1[0] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case BEGIN:\r\n ;\r\n break;\r\n default:\r\n jj_la1[1] = jj_gen;\r\n break label_1;\r\n }\r\n }\r\n jj_consume_token(END);\r\n jj_consume_token(MODEL);\r\n label_2:\r\n while (true) {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ACTION:\r\n ;\r\n break;\r\n default:\r\n jj_la1[2] = jj_gen;\r\n break label_2;\r\n }\r\n Action();\r\n }\r\n jjtree.closeNodeScope(jjtn000, true);\r\n jjtc000 = false;\r\n {if (true) return jjtn000;}\r\n } else if (jj_2_2(2)) {\r\n label_3:\r\n while (true) {\r\n jj_consume_token(BEGIN);\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case COMPARTMENTS:\r\n CompartmentsBlock();\r\n break;\r\n case PARAMETERS:\r\n ParameterBlock();\r\n break;\r\n case MOLECULE:\r\n MolecularDefinitionBlock();\r\n break;\r\n case ANCHORS:\r\n AnchorsBlock();\r\n break;\r\n case SEED:\r\n SeedSpeciesBlock();\r\n break;\r\n case REACTION:\r\n ReactionRulesBlock();\r\n break;\r\n case OBSERVABLES:\r\n ObservablesBlock();\r\n break;\r\n case FUNCTIONS:\r\n FunctionsBlock();\r\n break;\r\n default:\r\n jj_la1[3] = jj_gen;\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case BEGIN:\r\n ;\r\n break;\r\n default:\r\n jj_la1[4] = jj_gen;\r\n break label_3;\r\n }\r\n }\r\n label_4:\r\n while (true) {\r\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\r\n case ACTION:\r\n ;\r\n break;\r\n default:\r\n jj_la1[5] = jj_gen;\r\n break label_4;\r\n }\r\n Action();\r\n }\r\n jjtree.closeNodeScope(jjtn000, true);\r\n jjtc000 = false;\r\n {if (true) return jjtn000;}\r\n } else {\r\n jj_consume_token(-1);\r\n throw new ParseException();\r\n }\r\n } catch (Throwable jjte000) {\r\n if (jjtc000) {\r\n jjtree.clearNodeScope(jjtn000);\r\n jjtc000 = false;\r\n } else {\r\n jjtree.popNode();\r\n }\r\n if (jjte000 instanceof RuntimeException) {\r\n {if (true) throw (RuntimeException)jjte000;}\r\n }\r\n if (jjte000 instanceof ParseException) {\r\n {if (true) throw (ParseException)jjte000;}\r\n }\r\n {if (true) throw (Error)jjte000;}\r\n } finally {\r\n if (jjtc000) {\r\n jjtree.closeNodeScope(jjtn000, true);\r\n }\r\n }\r\n throw new Error(\"Missing return statement in function\");\r\n }", "title": "" }, { "docid": "295e1217172380d1f0a8b718e387a30c", "score": "0.44853374", "text": "public interface ParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int IMPLIES = 1;\n /** RegularExpression Id. */\n int EQUIVALENT = 2;\n /** RegularExpression Id. */\n int AND = 3;\n /** RegularExpression Id. */\n int OR = 4;\n /** RegularExpression Id. */\n int LBRACKET = 5;\n /** RegularExpression Id. */\n int RBRACKET = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int EQUALS = 8;\n /** RegularExpression Id. */\n int FORALL = 9;\n /** RegularExpression Id. */\n int THEREEXISTS = 10;\n /** RegularExpression Id. */\n int VARIABLE = 11;\n /** RegularExpression Id. */\n int PREDICATE = 12;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<IMPLIES>\",\n \"<EQUIVALENT>\",\n \"<AND>\",\n \"<OR>\",\n \"<LBRACKET>\",\n \"<RBRACKET>\",\n \"<NOT>\",\n \"<EQUALS>\",\n \"<FORALL>\",\n \"<THEREEXISTS>\",\n \"<VARIABLE>\",\n \"<PREDICATE>\",\n };\n\n}", "title": "" }, { "docid": "663f0d4aa1651965cb07f54fad952ca6", "score": "0.4471454", "text": "public ExpressionParser(ExpressionParserTokenManager tm) {\r\n token_source = tm;\r\n token = new Token();\r\n jj_ntk = -1;\r\n jj_gen = 0;\r\n for (int i = 0; i < 22; i++) jj_la1[i] = -1;\r\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\r\n }", "title": "" }, { "docid": "46448997a6fe94a3dd076d765431e3b7", "score": "0.4470922", "text": "public Element compileTerm() {\n\t\tElement ele = null;\n\t\tString token, tokenType;\n\t\tString varName;\n\n\t\tElement termParent = document.createElement(\"term\");\n\n\t\ttoken = jTokenizer.returnTokenVal();\n\t\ttokenType = jTokenizer.tokenType();\n\n\t\t// Case 1: ( expression )\n\n\t\tif (token.equals(\"(\")) {\n\t\t\t// (\n\t\t\tele = createXMLnode(tokenType);\n\t\t\ttermParent.appendChild(ele);\n\n\t\t\t// exp\n\t\t\tjTokenizer.advance();\n\t\t\ttermParent.appendChild(compileExpression());\n\n\t\t\t// )\n\t\t\tjTokenizer.advance();\n\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\tele = createXMLnode(tokenType);\n\t\t\ttermParent.appendChild(ele);\n\n\t\t}\n\n\t\t// Case 2: unaryOp term\n\t\telse if (token.matches(\"\\\\-|~\")) {\n\n\t\t\t// unary op\n\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\tString op = jTokenizer.returnTokenVal();\n\t\t\tele = createXMLnode(tokenType);\n\t\t\ttermParent.appendChild(ele);\n\t\t\t\n\t\t\t\n\t\t\t//Since it is postfix, the term comes first\n\t\t\t\n\t\t\t// term\n\t\t\tjTokenizer.advance();\n\t\t\ttermParent.appendChild(compileTerm());\n\n\t\t\t// appending the op\n\t\t\tif (op.equals(\"~\")) {\n\t\t\t\twriter.writeArithmetic(\"not\");\n\t\t\t} else {\n\t\t\t\twriter.writeArithmetic(\"neg\");\n\t\t\t}\n\n\t\t}\n\t\t\n\t\t// Any constant or keyword\n\t\telse if (tokenType.matches(\"keyword|integerConstant|stringConstant\")) {\n\t\t\tele = createXMLnode(tokenType);\n\t\t\ttermParent.appendChild(ele);\n\t\t\t\n\t\t\t//pushing an integer constant\n\t\t\tif (tokenType.equals(\"integerConstant\")) {\n\t\t\t\twriter.writePush(\"constant\", Integer.parseInt(token));\t\n\t\t\t}\n\t\t\t//For string, have to iterate along the length of the string and call string.append\n\t\t\telse if (tokenType.equals(\"stringConstant\")) {\n\t\t\t\twriter.writePush(\"constant\", token.length());\n\t\t\t\twriter.writeCall(\"String.new\", 1);\n\n\t\t\t\tfor (int i = 0; i < token.length(); i++) {\n\t\t\t\t\twriter.writePush(\"constant\", (int) token.charAt(i));\n\t\t\t\t\twriter.writeCall(\"String.appendChar\", 2);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} \n\t\t\t//Pushing the keyword onto the stack, depending on what it is\n\t\t\telse if (tokenType.equals(\"keyword\")) {\n\t\t\t\tif (token.equals(\"true\")) {\n\t\t\t\t\twriter.writePush(\"constant\", 0);\n\t\t\t\t\twriter.writeArithmetic(\"not\");\n\t\t\t\t} else if (token.equals(\"this\")) {\n\t\t\t\t\twriter.writePush(\"pointer\", 0);\n\t\t\t\t} else if (token.equals(\"false\") || token.equals(\"null\")) {\n\t\t\t\t\twriter.writePush(\"constant\", 0);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Variable, Variable[expression] or subroutineCall\n\t\telse if (tokenType.equals(\"identifier\")) {\n\t\t\tele = createXMLnode(tokenType);\n\t\t\ttermParent.appendChild(ele);\n\t\t\tvarName = jTokenizer.returnTokenVal();\n\t\t\tjackTokenizer clone = new jackTokenizer(jTokenizer);\n\t\t\tclone.advance();\n\t\t\ttoken = clone.returnTokenVal();\n\n\t\t\t// Case 1: Array dereferencing\n\t\t\tif (token.equals(\"[\")) {\n\t\t\t\tjTokenizer.advance();\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\n\t\t\t\t// push base id\n\t\t\t\twriter.writePush(symTable.lookup(varName).kind, symTable.lookup(varName).index);\n\n\t\t\t\t// Exp\n\t\t\t\tjTokenizer.advance();\n\t\t\t\ttermParent.appendChild(compileExpression());\n\n\t\t\t\t// ]\n\t\t\t\tjTokenizer.advance();\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\n\t\t\t\t// base + offset\n\t\t\t\twriter.writeArithmetic(\"add\");\n\n\t\t\t\t// pop into that\n\t\t\t\twriter.writePop(\"pointer\", 1);\n\t\t\t\t// push value into stack\n\t\t\t\twriter.writePush(\"that\", 0);\n\t\t\t}\n\n\t\t\t// Case 2: variable/class.subroutine call\n\t\t\telse if (token.equals(\".\")) {\n\n\t\t\t\tboolean method = false;\n\n\t\t\t\t// .\n\t\t\t\tjTokenizer.advance();\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\n\t\t\t\t// subroutine name\n\t\t\t\tjTokenizer.advance();\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tString subName = jTokenizer.returnTokenVal();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\n\t\t\t\t// (\n\t\t\t\tjTokenizer.advance();\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\n\t\t\t\tString firstName = varName;\n\t\t\t\t//Similar to the compileDo method, have to distinguish between\n\t\t\t\t//method and function\n\t\t\t\tif (symTable.lookup(firstName) != null) {\n\t\t\t\t\tmethod = true;\n\t\t\t\t\twriter.writePush(symTable.lookup(firstName).kind, symTable.lookup(firstName).index);\n\t\t\t\t\tvarName = symTable.lookup(firstName).type;\n\t\t\t\t}\n\t\t\t\t// expressionList\n\t\t\t\tjTokenizer.advance();\n\t\t\t\tElement compileExpression = compileExpressionList();\n\t\t\t\tint nArgs = compileExpression.getChildNodes().getLength();\n\t\t\t\ttermParent.appendChild(compileExpression);\n\n\t\t\t\t// Checking if method or function\n\t\t\t\tif (method) {\n\t\t\t\t\tnArgs++;\n\t\t\t\t}\n\t\t\t\twriter.writeCall(varName + \".\" + subName, nArgs);\n\n\t\t\t\t// )\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\t\t\t}\n\n\t\t\t// Case 3: function call\n\t\t\telse if (token.equals(\"(\")) {\n\t\t\t\t// (\n\t\t\t\tjTokenizer.advance();\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\n\t\t\t\t// expression list\n\t\t\t\tjTokenizer.advance();\n\t\t\t\tElement node = compileExpressionList();\n\t\t\t\tint nArgs = node.getChildNodes().getLength();\n\t\t\t\ttermParent.appendChild(node);\n\n\t\t\t\t// )\n\t\t\t\ttokenType = jTokenizer.tokenType();\n\t\t\t\tele = createXMLnode(tokenType);\n\t\t\t\ttermParent.appendChild(ele);\n\n\t\t\t\t// Writing the VML for a method call\n\t\t\t\twriter.writePush(\"pointer\", 0);\n\t\t\t\twriter.writeCall(className + \".\" + varName, ++nArgs);\n\t\t\t}\n\t\t\t// Case 4: Variable name.\n\t\t\telse {\n\t\t\t\twriter.writePush(symTable.lookup(varName).kind, symTable.lookup(varName).index);\n\t\t\t}\n\t\t}\n\t\treturn termParent;\n\t}", "title": "" }, { "docid": "e4acc4bab73414207810a516011cc757", "score": "0.44656673", "text": "final public LogicalPlan Parse() throws ParseException {\n /*@bgen(jjtree) Parse */\n SimpleNode jjtn000 = new SimpleNode(JJTPARSE);\n boolean jjtc000 = true;\n jjtree.openNodeScope(jjtn000);LogicalOperator root = null;\n Token t1;\n Token t2;\n LogicalPlan lp = new LogicalPlan();\n log.trace(\"Entering Parse\");\n try {\n if (jj_2_1(3)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n t2 = jj_consume_token(IDENTIFIER);\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case AS:\n jj_consume_token(AS);\n jj_consume_token(80);\n TupleSchema();\n jj_consume_token(81);\n break;\n default:\n jj_la1[0] = jj_gen;\n ;\n }\n jj_consume_token(82);\n {if (true) throw new ParseException(\n \"Currently PIG does not support assigning an existing relation (\" + t1.image + \") to another alias (\" + t2.image + \")\");}\n } else if (jj_2_2(2)) {\n t1 = jj_consume_token(IDENTIFIER);\n jj_consume_token(79);\n root = Expr(lp);\n jj_consume_token(82);\n root.setAlias(t1.image);\n addAlias(t1.image, root);\n pigContext.setLastAlias(t1.image);\n } else {\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case DEFINE:\n case LOAD:\n case FILTER:\n case FOREACH:\n case ORDER:\n case DISTINCT:\n case COGROUP:\n case JOIN:\n case CROSS:\n case UNION:\n case GROUP:\n case STREAM:\n case STORE:\n case LIMIT:\n case SAMPLE:\n case IDENTIFIER:\n case 80:\n root = Expr(lp);\n jj_consume_token(82);\n break;\n case SPLIT:\n jj_consume_token(SPLIT);\n root = SplitClause(lp);\n jj_consume_token(82);\n break;\n default:\n jj_la1[1] = jj_gen;\n jj_consume_token(-1);\n throw new ParseException();\n }\n }\n jjtree.closeNodeScope(jjtn000, true);\n jjtc000 = false;\n if(null != root) {\n log.debug(\"Adding \" + root.getAlias() + \" \" + root + \" to the lookup table \" + aliases);\n\n //Translate all the project(*) leaves in the plan to a sequence of projections\n ProjectStarTranslator translate = new ProjectStarTranslator(lp);\n translate.visit();\n\n addLogicalPlan(root, lp);\n\n try {\n log.debug(\"Root: \" + root.getClass().getName() + \" schema: \" + root.getSchema());\n } catch(FrontendException fee) {\n ParseException pe = new ParseException(fee.getMessage());\n pe.initCause(fee);\n {if (true) throw pe;}\n }\n }\n\n ArrayList<LogicalOperator> roots = new ArrayList<LogicalOperator>(lp.getRoots().size());\n for(LogicalOperator op: lp.getRoots()) {\n roots.add(op);\n }\n\n Map<LogicalOperator, Boolean> rootProcessed = new HashMap<LogicalOperator, Boolean>();\n for(LogicalOperator op: roots) {\n //At this point we have a logical plan for the pig statement\n //In order to construct the entire logical plan we need to traverse\n //each root and get the logical plan it belongs to. From each of those\n //plans we need the predecessors of the root of the current logical plan\n //and so on. This is a computationally intensive operatton but should\n //be fine as its restricted to the parser\n\n LogicalPlan rootPlan = aliases.get(op);\n if(null != rootPlan) {\n attachPlan(lp, op, rootPlan, rootProcessed);\n rootProcessed.put(op, true);\n }\n }\n\n log.trace(\"Exiting Parse\");\n {if (true) return lp;}\n } catch (Throwable jjte000) {\n if (jjtc000) {\n jjtree.clearNodeScope(jjtn000);\n jjtc000 = false;\n } else {\n jjtree.popNode();\n }\n if (jjte000 instanceof RuntimeException) {\n {if (true) throw (RuntimeException)jjte000;}\n }\n if (jjte000 instanceof ParseException) {\n {if (true) throw (ParseException)jjte000;}\n }\n {if (true) throw (Error)jjte000;}\n } finally {\n if (jjtc000) {\n jjtree.closeNodeScope(jjtn000, true);\n }\n }\n throw new Error(\"Missing return statement in function\");\n }", "title": "" }, { "docid": "599a8577bd772cf57439acb6439c2200", "score": "0.44648528", "text": "@Override\r\n\tpublic JavaToken nextToken() {\r\n\t\tif (!ready())\r\n\t\t\treturn null;\r\n\t\tint oldPos = this.pos;\r\n\t\tint type = PLAIN;\r\n\t\tif (LL(0) == ' ' || LL(0) == '\\t' || LL(0) == '\\n' || LL(0) == '\\r') {\r\n\t\t\tconsumeWhiteSpace();\r\n\t\t\ttype = WHITESPACE;\r\n\t\t} else if (Character.isJavaIdentifierStart(LL(0))) {\r\n\t\t\tconsumeIdentifier();\r\n\t\t} else if (LL(0) == '#') {\r\n\t\t\tconsumeSingleLineComment();\r\n\t\t\ttype = COMMENT;\r\n\t\t} else if (LL(0) == '\\\"') {\r\n\t\t\tif (LL(1) == '\\\"' && LL(2) == '\\\"') {\r\n\t\t\t\tconsumeMultiLineComment();\r\n\t\t\t\ttype = COMMENT;\r\n\t\t\t} else {\r\n\t\t\t\tconsumeStringLiteral();\r\n\t\t\t\ttype = LITERAL;\r\n\t\t\t}\r\n\t\t} else if (LL(0) == '\\'') {\r\n\t\t\tconsumeCharacterLiteral();\r\n\t\t\ttype = LITERAL;\r\n\t\t} else {\r\n\t\t\tconsumeCharacter();\r\n\t\t}\r\n\t\tString t = text.substring(oldPos, pos);\r\n\t\tif (type == PLAIN) {\r\n\t\t\tif (keywords.get(t) != null)\r\n\t\t\t\ttype = KEYWORD;\r\n\t\t}\r\n\t\treturn new JavaToken(t, off + oldPos, type);\r\n\t}", "title": "" }, { "docid": "071831f9e11b3adb604a7f64286a74b5", "score": "0.44614205", "text": "V build(K input);", "title": "" }, { "docid": "6d1a0ed910beac9d2a9eb0a1a7c6678a", "score": "0.44578454", "text": "public interface langBConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int BREAK = 12;\n /** RegularExpression Id. */\n int CLASS = 13;\n /** RegularExpression Id. */\n int CONSTRUCTOR = 14;\n /** RegularExpression Id. */\n int ELSE = 15;\n /** RegularExpression Id. */\n int EXTENDS = 16;\n /** RegularExpression Id. */\n int FOR = 17;\n /** RegularExpression Id. */\n int IF = 18;\n /** RegularExpression Id. */\n int THEN = 19;\n /** RegularExpression Id. */\n int INT = 20;\n /** RegularExpression Id. */\n int NEW = 21;\n /** RegularExpression Id. */\n int PRINT = 22;\n /** RegularExpression Id. */\n int READ = 23;\n /** RegularExpression Id. */\n int RETURN = 24;\n /** RegularExpression Id. */\n int STRING = 25;\n /** RegularExpression Id. */\n int SUPER = 26;\n /** RegularExpression Id. */\n int BOOLEAN = 27;\n /** RegularExpression Id. */\n int TRUE = 28;\n /** RegularExpression Id. */\n int FALSE = 29;\n /** RegularExpression Id. */\n int WHILE = 30;\n /** RegularExpression Id. */\n int SWITCH = 31;\n /** RegularExpression Id. */\n int CASE = 32;\n /** RegularExpression Id. */\n int int_constant = 33;\n /** RegularExpression Id. */\n int string_constant = 34;\n /** RegularExpression Id. */\n int null_constant = 35;\n /** RegularExpression Id. */\n int IDENT = 36;\n /** RegularExpression Id. */\n int LETTER = 37;\n /** RegularExpression Id. */\n int DIGIT = 38;\n /** RegularExpression Id. */\n int UNDERSCORE = 39;\n /** RegularExpression Id. */\n int LPAREN = 40;\n /** RegularExpression Id. */\n int RPAREN = 41;\n /** RegularExpression Id. */\n int LBRACE = 42;\n /** RegularExpression Id. */\n int RBRACE = 43;\n /** RegularExpression Id. */\n int LBRACKET = 44;\n /** RegularExpression Id. */\n int RBRACKET = 45;\n /** RegularExpression Id. */\n int SEMICOLON = 46;\n /** RegularExpression Id. */\n int COMMA = 47;\n /** RegularExpression Id. */\n int DOT = 48;\n /** RegularExpression Id. */\n int DDOT = 49;\n /** RegularExpression Id. */\n int QUESTIONMARK = 50;\n /** RegularExpression Id. */\n int ASSIGN = 51;\n /** RegularExpression Id. */\n int GT = 52;\n /** RegularExpression Id. */\n int LT = 53;\n /** RegularExpression Id. */\n int EQ = 54;\n /** RegularExpression Id. */\n int LE = 55;\n /** RegularExpression Id. */\n int GE = 56;\n /** RegularExpression Id. */\n int NEQ = 57;\n /** RegularExpression Id. */\n int PLUS = 58;\n /** RegularExpression Id. */\n int MINUS = 59;\n /** RegularExpression Id. */\n int STAR = 60;\n /** RegularExpression Id. */\n int SLASH = 61;\n /** RegularExpression Id. */\n int REM = 62;\n /** RegularExpression Id. */\n int OR = 63;\n /** RegularExpression Id. */\n int AND = 64;\n /** RegularExpression Id. */\n int INVALID_LEXICAL = 65;\n /** RegularExpression Id. */\n int INVALID_CONST = 66;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int multilinecomment = 1;\n /** Lexical state. */\n int singlelinecomment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\f\\\"\",\n \"\\\"/*\\\"\",\n \"\\\"//\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 9>\",\n \"<token of kind 10>\",\n \"<token of kind 11>\",\n \"\\\"parar\\\"\",\n \"\\\"classe\\\"\",\n \"\\\"construtor\\\"\",\n \"\\\"senao\\\"\",\n \"\\\"herda\\\"\",\n \"\\\"para\\\"\",\n \"\\\"se\\\"\",\n \"\\\"entao\\\"\",\n \"\\\"inteiro\\\"\",\n \"\\\"novo\\\"\",\n \"\\\"imprimir\\\"\",\n \"\\\"ler\\\"\",\n \"\\\"retornar\\\"\",\n \"\\\"texto\\\"\",\n \"\\\"super\\\"\",\n \"\\\"cara_coroa\\\"\",\n \"\\\"cara\\\"\",\n \"\\\"coroa\\\"\",\n \"\\\"enquanto\\\"\",\n \"\\\"trocar\\\"\",\n \"\\\"caso\\\"\",\n \"<int_constant>\",\n \"<string_constant>\",\n \"\\\"nulo\\\"\",\n \"<IDENT>\",\n \"<LETTER>\",\n \"<DIGIT>\",\n \"<UNDERSCORE>\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\":\\\"\",\n \"\\\"?\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"<\\\"\",\n \"\\\"==\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"!=\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"*\\\"\",\n \"\\\"/\\\"\",\n \"\\\"%\\\"\",\n \"\\\"|\\\"\",\n \"\\\"&\\\"\",\n \"<INVALID_LEXICAL>\",\n \"<INVALID_CONST>\",\n };\n\n}", "title": "" }, { "docid": "f6c04617211746629787d28b666ea1a1", "score": "0.44539222", "text": "public void visit(Literal literal) {}", "title": "" }, { "docid": "a965e26eda8c32b929c68a5f7ea5c211", "score": "0.44438416", "text": "public final void mK_REVERSED() throws RecognitionException {\n try {\n int _type = K_REVERSED;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:500:11: ( R E V E R S E D )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:500:16: R E V E R S E D\n {\n mR(); \n mE(); \n mV(); \n mE(); \n mR(); \n mS(); \n mE(); \n mD(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "7cfcc4f5342a5773a1debd676d9eec56", "score": "0.44161767", "text": "@Override\n public String visit(JumpStmt n) {\n String _ret = null;\n Global.outputString += \"j \" + n.f1.f0.tokenImage + '\\n';\n return _ret;\n }", "title": "" }, { "docid": "cfea6e44cbcffc47169a0933d18f4360", "score": "0.44159722", "text": "K()//k class constructer not available in L as initializlers do not involve in inheritance\n\t{\n\t\t//super(); by default compiler will create super()\n\t\tSystem.out.println(\"K()\");\n\t}", "title": "" }, { "docid": "cd17f15e9e7f71a190a3e54c50782fcb", "score": "0.4401285", "text": "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t//Scanner scanner = new Scanner(System.in);\r\n\t\t\tSyntax syntax = new Syntax();\r\n\t\t\tsyntax.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tsyntax.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tsyntax.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tsyntax.addTerminal(\"DIVIDE\", TokenType.OPERATOR, OperatorType.DIVIDE);\r\n\t\t\tsyntax.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tsyntax.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tsyntax.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tsyntax.addNonTerminal(\"E\");\r\n\t\t\tsyntax.addNonTerminal(\"T\");\r\n\t\t\tsyntax.addNonTerminal(\"F\");\r\n\t\t\tsyntax.addErrorHandler(\"sample\", null);\r\n\t\t\t//syntax.infer(\"E -> T `PLUS`<+> E | T `MINUS`<-> E | T\");\r\n\t\t\t//syntax.infer(\"T -> F `TIMES`<*> T | F `DIVIDE`</> T | F\");\r\n\t\t\t//syntax.infer(\"F -> `LPA`<(> E `RPA`<)> | `SYMBOL`<i>\");\r\n\t\t\tsyntax.infer(\"E -> E @PLUS<+> T\");\r\n\t\t\tsyntax.infer(\"E -> E @MINUS<-> T\");\r\n\t\t\tsyntax.infer(\"E -> T\");\r\n\t\t\tsyntax.infer(\"T -> T @TIMES<*> F\");\r\n\t\t\tsyntax.infer(\"T -> T @DIVIDE</> F\");\r\n\t\t\tsyntax.infer(\"T -> F\");\r\n\t\t\tsyntax.infer(\"F -> @LPA<(> E @RPA<)>\");\r\n\t\t\tsyntax.infer(\"F -> @SYMBOL<i>\");\r\n\t\t\tsyntax.initialize(\"E\");\r\n\t\t\tSystem.out.println(syntax.toString());\r\n\t\t\tSystem.out.println(syntax.getNGAString());\r\n\t\t\tSystem.out.println(syntax.getNPAString());\r\n\t\t\t//scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \" + e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0fde23e01a49cf0bac7e1ea99c68d26e", "score": "0.4393955", "text": "public interface DefccConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int MODULE_TKN = 11;\n /** RegularExpression Id. */\n int CLASS_TKN = 12;\n /** RegularExpression Id. */\n int INCLUDE_TKN = 13;\n /** RegularExpression Id. */\n int BYTE_TKN = 14;\n /** RegularExpression Id. */\n int BOOLEAN_TKN = 15;\n /** RegularExpression Id. */\n int INT_TKN = 16;\n /** RegularExpression Id. */\n int LONG_TKN = 17;\n /** RegularExpression Id. */\n int FLOAT_TKN = 18;\n /** RegularExpression Id. */\n int DOUBLE_TKN = 19;\n /** RegularExpression Id. */\n int STRING_TKN = 20;\n /** RegularExpression Id. */\n int BUFFER_TKN = 21;\n /** RegularExpression Id. */\n int VECTOR_TKN = 22;\n /** RegularExpression Id. */\n int MAP_TKN = 23;\n /** RegularExpression Id. */\n int LBRACE_TKN = 24;\n /** RegularExpression Id. */\n int RBRACE_TKN = 25;\n /** RegularExpression Id. */\n int LT_TKN = 26;\n /** RegularExpression Id. */\n int GT_TKN = 27;\n /** RegularExpression Id. */\n int SEMICOLON_TKN = 28;\n /** RegularExpression Id. */\n int COMMA_TKN = 29;\n /** RegularExpression Id. */\n int DOT_TKN = 30;\n /** RegularExpression Id. */\n int CSTRING_TKN = 31;\n /** RegularExpression Id. */\n int IDENT_TKN = 32;\n /** RegularExpression Id. */\n int IDENT_TKN_W_DOT = 33;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int WithinOneLineComment = 1;\n /** Lexical state. */\n int WithinMultiLineComment = 2;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"//\\\"\",\n \"<token of kind 6>\",\n \"<token of kind 7>\",\n \"\\\"/*\\\"\",\n \"\\\"*/\\\"\",\n \"<token of kind 10>\",\n \"\\\"module\\\"\",\n \"\\\"class\\\"\",\n \"\\\"include\\\"\",\n \"\\\"byte\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"int\\\"\",\n \"\\\"long\\\"\",\n \"\\\"float\\\"\",\n \"\\\"double\\\"\",\n \"\\\"string\\\"\",\n \"\\\"buffer\\\"\",\n \"\\\"vector\\\"\",\n \"\\\"map\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\";\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"<CSTRING_TKN>\",\n \"<IDENT_TKN>\",\n \"<IDENT_TKN_W_DOT>\",\n };\n\n}", "title": "" }, { "docid": "3290b5ea8898dd16933a46856e025552", "score": "0.4393142", "text": "@Override\n\tpublic void forward(String k, Value v)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "3290b5ea8898dd16933a46856e025552", "score": "0.4393142", "text": "@Override\n\tpublic void forward(String k, Value v)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "521a8d07bcc460557cb6d1c1d89456dd", "score": "0.4381991", "text": "public BindingLexer() {;}", "title": "" }, { "docid": "0a724345f1504724f686b3a51dae947f", "score": "0.43812957", "text": "public interface ForteLangConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int COMPARATOR_OP = 1;\n /** RegularExpression Id. */\n int BOOLEAN_OP = 2;\n /** RegularExpression Id. */\n int SET_OP = 3;\n /** RegularExpression Id. */\n int OP = 4;\n /** RegularExpression Id. */\n int CONCAT = 5;\n /** RegularExpression Id. */\n int SELECT = 6;\n /** RegularExpression Id. */\n int CONTAINS = 7;\n /** RegularExpression Id. */\n int NUMBER = 8;\n /** RegularExpression Id. */\n int FLOATING_POINT_NUMBER = 9;\n /** RegularExpression Id. */\n int BOOLEAN = 10;\n /** RegularExpression Id. */\n int STRING = 11;\n /** RegularExpression Id. */\n int REGEX_STRING = 12;\n /** RegularExpression Id. */\n int INCLUDE = 13;\n /** RegularExpression Id. */\n int IN = 14;\n /** RegularExpression Id. */\n int MATCH = 15;\n /** RegularExpression Id. */\n int OPENBRACKET = 16;\n /** RegularExpression Id. */\n int CLOSEBRACKET = 17;\n /** RegularExpression Id. */\n int OPENSBRACKET = 18;\n /** RegularExpression Id. */\n int CLOSESBRACKET = 19;\n /** RegularExpression Id. */\n int COMMA = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int SEMICOLON = 22;\n /** RegularExpression Id. */\n int OPENCBRACKET = 23;\n /** RegularExpression Id. */\n int CLOSECBRACKET = 24;\n /** RegularExpression Id. */\n int NUM = 25;\n /** RegularExpression Id. */\n int LST = 26;\n /** RegularExpression Id. */\n int SET = 27;\n /** RegularExpression Id. */\n int FUN = 28;\n /** RegularExpression Id. */\n int BOO = 29;\n /** RegularExpression Id. */\n int STR = 30;\n /** RegularExpression Id. */\n int COLON = 31;\n /** RegularExpression Id. */\n int VAR_NAME = 32;\n /** RegularExpression Id. */\n int FUNCTION_ARROW = 33;\n /** RegularExpression Id. */\n int GUARD_START = 34;\n /** RegularExpression Id. */\n int GUARD = 35;\n /** RegularExpression Id. */\n int GUARD_ARROW = 36;\n\n /** Lexical state. */\n int DEFAULT = 0;\n /** Lexical state. */\n int BlockComment = 1;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"<COMPARATOR_OP>\",\n \"<BOOLEAN_OP>\",\n \"<SET_OP>\",\n \"<OP>\",\n \"\\\"++\\\"\",\n \"\\\".\\\"\",\n \"\\\"?\\\"\",\n \"<NUMBER>\",\n \"<FLOATING_POINT_NUMBER>\",\n \"<BOOLEAN>\",\n \"<STRING>\",\n \"<REGEX_STRING>\",\n \"\\\"include\\\"\",\n \"\\\"in\\\"\",\n \"\\\"match\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\",\\\"\",\n \"\\\"=\\\"\",\n \"\\\";\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"num\\\"\",\n \"\\\"list\\\"\",\n \"\\\"set\\\"\",\n \"\\\"func\\\"\",\n \"\\\"bool\\\"\",\n \"\\\"str\\\"\",\n \"\\\":\\\"\",\n \"<VAR_NAME>\",\n \"\\\"->\\\"\",\n \"\\\"|>\\\"\",\n \"\\\"|\\\"\",\n \"\\\"->>\\\"\",\n \"<token of kind 37>\",\n \"<token of kind 38>\",\n \"\\\"#[\\\"\",\n \"\\\"#[\\\"\",\n \"<token of kind 41>\",\n \"\\\"]#\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n };\n\n}", "title": "" }, { "docid": "8e7fcecaf74715b98ee13fe3e3444a2b", "score": "0.43701184", "text": "@Override\n public String visit(Label n) {\n // 注意进入这里的只会有开头的标识 Label\n // 屏蔽 Procedure/CJUMP/JUMP/SimpleExp\n String _ret = null;\n Global.outputString += n.f0.tokenImage + \":\";\n return _ret;\n }", "title": "" }, { "docid": "0aad90dc4e1078c3ec31fa82049f9d11", "score": "0.43698213", "text": "public static void main(String[] args) {\n\t\ttry {\r\n\t\t\t// Scanner scanner = new Scanner(System.in);\r\n\t\t\t//Grammar grammar = new Grammar(\"(i * i) * (i + i) - i\");\r\n\t\t\tGrammar grammar = new Grammar(\"i + i * i\");\r\n\t\t\tgrammar.addTerminal(\"SYMBOL\", TokenType.ID, \"i\");\r\n\t\t\tgrammar.addTerminal(\"PLUS\", TokenType.OPERATOR, OperatorType.PLUS);\r\n\t\t\tgrammar.addTerminal(\"MINUS\", TokenType.OPERATOR, OperatorType.MINUS);\r\n\t\t\tgrammar.addTerminal(\"TIMES\", TokenType.OPERATOR, OperatorType.TIMES);\r\n\t\t\tgrammar.addTerminal(\"DIVIDE\", TokenType.OPERATOR,\r\n\t\t\t\t\tOperatorType.DIVIDE);\r\n\t\t\tgrammar.addTerminal(\"LPA\", TokenType.OPERATOR, OperatorType.LPARAN);\r\n\t\t\tgrammar.addTerminal(\"RPA\", TokenType.OPERATOR, OperatorType.RPARAN);\r\n\t\t\tgrammar.setEpsilonName(\"epsilon\");\r\n\t\t\tString[] nons = new String[] {\r\n\t\t\t\t\t\"E\", \"E1\", \"T\", \"T1\", \"F\", \"A\", \"M\"\r\n\t\t\t};\r\n\t\t\tfor (String non : nons){\r\n\t\t\t\tgrammar.addNonTerminal(non);\r\n\t\t\t}\r\n\t\t\tgrammar.infer(\"E -> T E1\");\r\n\t\t\tgrammar.infer(\"E1 -> A T E1 | @epsilon\");\r\n\t\t\tgrammar.infer(\"T -> F T1\");\r\n\t\t\tgrammar.infer(\"T1 -> M F T1 | @epsilon\");\r\n\t\t\tgrammar.infer(\"F -> @LPA E @RPA | @SYMBOL\");\r\n\t\t\tgrammar.infer(\"A -> @PLUS | @MINUS\");\r\n\t\t\tgrammar.infer(\"M -> @TIMES | @DIVIDE\");\r\n\t\t\tgrammar.initialize(\"E\");\r\n\t\t\tSystem.out.println(grammar.toString());\r\n\t\t\tSystem.out.println(grammar.getPredictionString());\r\n\t\t\tgrammar.run();\r\n\t\t\tSystem.out.println(grammar.getTokenString());\r\n\t\t\t// scanner.close();\r\n\t\t} catch (RegexException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (SyntaxException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \"\r\n\t\t\t\t\t+ e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (GrammarException e) {\r\n\t\t\tSystem.err.println(e.getPosition() + \",\" + e.getMessage() + \" \"\r\n\t\t\t\t\t+ e.getInfo());\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a9c222da252a0cd04dc9390c8a87809e", "score": "0.4367464", "text": "public boolean k_()\r\n/* 450: */ {\r\n/* 451:464 */ return false;\r\n/* 452: */ }", "title": "" }, { "docid": "f0997823c3adf78c1fff61865423c6a4", "score": "0.4361245", "text": "public final void mK_FIRST() throws RecognitionException {\n try {\n int _type = K_FIRST;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:499:8: ( F I R S T )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:499:16: F I R S T\n {\n mF(); \n mI(); \n mR(); \n mS(); \n mT(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "af83cd29d2662ebc3545b95c97c85089", "score": "0.4354988", "text": "public final void mK_IN() throws RecognitionException {\n try {\n int _type = K_IN;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:508:5: ( I N )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:508:16: I N\n {\n mI(); \n mN(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "b530c5bb34987bbb48b85f4b6bfabe59", "score": "0.43466544", "text": "public BSJRuleJavaOperators(IToken token) {\n\t\tfToken= token;\n\t}", "title": "" }, { "docid": "837e05f115604e80da5a3edeb96ea5ae", "score": "0.4344737", "text": "public interface ParserMASConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int SINGLE_LINE_COMMENT = 9;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 10;\r\n /** RegularExpression Id. */\r\n int MULTI_LINE_COMMENT = 11;\r\n /** RegularExpression Id. */\r\n int COLON = 13;\r\n /** RegularExpression Id. */\r\n int AT = 14;\r\n /** RegularExpression Id. */\r\n int COMMA = 15;\r\n /** RegularExpression Id. */\r\n int NRAGENTS = 16;\r\n /** RegularExpression Id. */\r\n int IDENTIFIER = 17;\r\n /** RegularExpression Id. */\r\n int FILENAME = 18;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_SINGLE_LINE_COMMENT = 1;\r\n /** Lexical state. */\r\n int IN_FORMAL_COMMENT = 2;\r\n /** Lexical state. */\r\n int IN_MULTI_LINE_COMMENT = 3;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"%\\\"\",\r\n \"\\\"//\\\"\",\r\n \"<token of kind 7>\",\r\n \"\\\"/*\\\"\",\r\n \"<SINGLE_LINE_COMMENT>\",\r\n \"\\\"*/\\\"\",\r\n \"\\\"*/\\\"\",\r\n \"<token of kind 12>\",\r\n \"\\\":\\\"\",\r\n \"\\\"@\\\"\",\r\n \"\\\",\\\"\",\r\n \"<NRAGENTS>\",\r\n \"<IDENTIFIER>\",\r\n \"<FILENAME>\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "3456e375be97f6622c8799575170b5cb", "score": "0.43405092", "text": "V mo9789a(K k, C1449a<? extends V> aVar);", "title": "" }, { "docid": "9e803b90f8a89578f98ff1844b54ae64", "score": "0.4339179", "text": "public final void mKEYWORD_24() throws RecognitionException {\n try {\n int _type = KEYWORD_24;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:33:12: ( ( 'N' | 'n' ) ( 'U' | 'u' ) ( 'L' | 'l' ) ( 'L' | 'l' ) )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:33:14: ( 'N' | 'n' ) ( 'U' | 'u' ) ( 'L' | 'l' ) ( 'L' | 'l' )\n {\n if ( input.LA(1)=='N'||input.LA(1)=='n' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='U'||input.LA(1)=='u' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='L'||input.LA(1)=='l' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n if ( input.LA(1)=='L'||input.LA(1)=='l' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "6d2c37eb3af7ab3c2e6ead31fedf955c", "score": "0.43378463", "text": "public interface KClass<T> extends KDeclarationContainer, KAnnotatedElement {\n}", "title": "" }, { "docid": "5f8e6a91d8de1145488268045c682047", "score": "0.43359032", "text": "public interface InputParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int TRUE = 5;\n /** RegularExpression Id. */\n int FALSE = 6;\n /** RegularExpression Id. */\n int NOT = 7;\n /** RegularExpression Id. */\n int INTEGER = 8;\n /** RegularExpression Id. */\n int STRING = 9;\n /** RegularExpression Id. */\n int CHARACTER = 10;\n /** RegularExpression Id. */\n int BOOLEAN = 11;\n /** RegularExpression Id. */\n int ASTERIX = 12;\n /** RegularExpression Id. */\n int COLON = 13;\n /** RegularExpression Id. */\n int ADT = 14;\n /** RegularExpression Id. */\n int SIGNATURES = 15;\n /** RegularExpression Id. */\n int EQUATIONS = 16;\n /** RegularExpression Id. */\n int PLUS = 17;\n /** RegularExpression Id. */\n int MINUS = 18;\n /** RegularExpression Id. */\n int ARROW = 19;\n /** RegularExpression Id. */\n int LESS_THAN = 20;\n /** RegularExpression Id. */\n int EQUALS = 21;\n /** RegularExpression Id. */\n int GREATER_THAN = 22;\n /** RegularExpression Id. */\n int HEX_ESCAPE = 23;\n /** RegularExpression Id. */\n int LEFT_PAREN = 24;\n /** RegularExpression Id. */\n int RIGHT_PAREN = 25;\n /** RegularExpression Id. */\n int UINT10 = 26;\n /** RegularExpression Id. */\n int ND = 27;\n /** RegularExpression Id. */\n int MC = 28;\n /** RegularExpression Id. */\n int ME = 29;\n /** RegularExpression Id. */\n int LU = 30;\n /** RegularExpression Id. */\n int LL = 31;\n /** RegularExpression Id. */\n int LT = 32;\n /** RegularExpression Id. */\n int LM = 33;\n /** RegularExpression Id. */\n int LO = 34;\n /** RegularExpression Id. */\n int MN = 35;\n /** RegularExpression Id. */\n int NL = 36;\n /** RegularExpression Id. */\n int NO = 37;\n /** RegularExpression Id. */\n int PD = 38;\n /** RegularExpression Id. */\n int PC = 39;\n /** RegularExpression Id. */\n int PO = 40;\n /** RegularExpression Id. */\n int SC = 41;\n /** RegularExpression Id. */\n int SM = 42;\n /** RegularExpression Id. */\n int SK = 43;\n /** RegularExpression Id. */\n int SO = 44;\n /** RegularExpression Id. */\n int CO = 45;\n /** RegularExpression Id. */\n int ID = 46;\n /** RegularExpression Id. */\n int PECULIAR_ID = 47;\n /** RegularExpression Id. */\n int INITIAL = 48;\n /** RegularExpression Id. */\n int SPECIAL_INITIAL = 49;\n /** RegularExpression Id. */\n int CONSTITUENT = 50;\n /** RegularExpression Id. */\n int SUBSEQUENT = 51;\n /** RegularExpression Id. */\n int SPECIAL_SUBSEQUENT = 52;\n /** RegularExpression Id. */\n int INLINE_HEX_ESCAPE = 53;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"#t\\\"\",\n \"\\\"#f\\\"\",\n \"\\\"not\\\"\",\n \"\\\"int\\\"\",\n \"\\\"string\\\"\",\n \"\\\"character\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"*\\\"\",\n \"\\\":\\\"\",\n \"\\\"ADT:\\\"\",\n \"\\\"Signatures:\\\"\",\n \"\\\"Equations:\\\"\",\n \"\\\"+\\\"\",\n \"\\\"-\\\"\",\n \"\\\"->\\\"\",\n \"\\\"<\\\"\",\n \"\\\"=\\\"\",\n \"\\\">\\\"\",\n \"\\\"\\\\\\\\x\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"<UINT10>\",\n \"<ND>\",\n \"<MC>\",\n \"<ME>\",\n \"<LU>\",\n \"<LL>\",\n \"<LT>\",\n \"<LM>\",\n \"<LO>\",\n \"<MN>\",\n \"<NL>\",\n \"<NO>\",\n \"<PD>\",\n \"<PC>\",\n \"<PO>\",\n \"<SC>\",\n \"<SM>\",\n \"<SK>\",\n \"<SO>\",\n \"<CO>\",\n \"<ID>\",\n \"<PECULIAR_ID>\",\n \"<INITIAL>\",\n \"<SPECIAL_INITIAL>\",\n \"<CONSTITUENT>\",\n \"<SUBSEQUENT>\",\n \"<SPECIAL_SUBSEQUENT>\",\n \"<INLINE_HEX_ESCAPE>\",\n };\n\n}", "title": "" }, { "docid": "ecd78ce9eccb1ea13b8594c091d21779", "score": "0.43292293", "text": "public final void mK_BEGIN() throws RecognitionException {\n try {\n int _type = K_BEGIN;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:503:8: ( B E G I N )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:503:16: B E G I N\n {\n mB(); \n mE(); \n mG(); \n mI(); \n mN(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "748e7e7ec641ee4686e142075b90f6db", "score": "0.4328358", "text": "public Iterable<String> matches(String prefix, int k) {\n\t\tmatchesList = new ArrayList<String>();\n\t\t\n\t\tif(prefix != null){\n\t\t\tfor(Term term : data.getRawList()){\n\t\t\t\tif((term.getWord().startsWith(prefix))&&(matchesList.size() < k)){\n\t\t\t\t\tmatchesList.add(term.getWord());\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn matchesList;\n\t\t}\n\t\telse{\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "e4087a1f603a87275235a23d6e9d011f", "score": "0.43217254", "text": "dkj mo4367a(dkk dkk);", "title": "" }, { "docid": "19f7d9057fed5af476f343027ce406b7", "score": "0.43162885", "text": "public interface TypeScriptParserConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int DIGIT = 6;\n /** RegularExpression Id. */\n int ONE_TO_NINE = 7;\n /** RegularExpression Id. */\n int LETTER = 8;\n /** RegularExpression Id. */\n int SPACE = 9;\n /** RegularExpression Id. */\n int VAR = 10;\n /** RegularExpression Id. */\n int IF = 11;\n /** RegularExpression Id. */\n int ELSE_IF = 12;\n /** RegularExpression Id. */\n int ELSE = 13;\n /** RegularExpression Id. */\n int FUNCTION = 14;\n /** RegularExpression Id. */\n int BOOLEAN = 15;\n /** RegularExpression Id. */\n int NUMBER = 16;\n /** RegularExpression Id. */\n int STRING = 17;\n /** RegularExpression Id. */\n int ENUM = 18;\n /** RegularExpression Id. */\n int INTERFACE = 19;\n /** RegularExpression Id. */\n int RETURN = 20;\n /** RegularExpression Id. */\n int VOID = 21;\n /** RegularExpression Id. */\n int WHILE = 22;\n /** RegularExpression Id. */\n int PRINTLN = 23;\n /** RegularExpression Id. */\n int TRUE = 24;\n /** RegularExpression Id. */\n int FALSE = 25;\n /** RegularExpression Id. */\n int NOT = 26;\n /** RegularExpression Id. */\n int AMPRSAND = 27;\n /** RegularExpression Id. */\n int MUL = 28;\n /** RegularExpression Id. */\n int MINUS = 29;\n /** RegularExpression Id. */\n int PLUS = 30;\n /** RegularExpression Id. */\n int EQ = 31;\n /** RegularExpression Id. */\n int BAR = 32;\n /** RegularExpression Id. */\n int DIV = 33;\n /** RegularExpression Id. */\n int COLON = 34;\n /** RegularExpression Id. */\n int SEMICOLON = 35;\n /** RegularExpression Id. */\n int QM = 36;\n /** RegularExpression Id. */\n int COMMA = 37;\n /** RegularExpression Id. */\n int DOT = 38;\n /** RegularExpression Id. */\n int SINGLE_QUOTE = 39;\n /** RegularExpression Id. */\n int QUOTE = 40;\n /** RegularExpression Id. */\n int LEFT_PARAN = 41;\n /** RegularExpression Id. */\n int RIGHT_PARAN = 42;\n /** RegularExpression Id. */\n int LEFT_BRAKET = 43;\n /** RegularExpression Id. */\n int RIGHT_BRAKET = 44;\n /** RegularExpression Id. */\n int LEFT_BRACE = 45;\n /** RegularExpression Id. */\n int RIGHT_BRACE = 46;\n /** RegularExpression Id. */\n int UNDER_SCORE = 47;\n /** RegularExpression Id. */\n int LT = 48;\n /** RegularExpression Id. */\n int GT = 49;\n /** RegularExpression Id. */\n int LE = 50;\n /** RegularExpression Id. */\n int GE = 51;\n /** RegularExpression Id. */\n int DOUBLE_EQ = 52;\n /** RegularExpression Id. */\n int OR = 53;\n /** RegularExpression Id. */\n int AND = 54;\n /** RegularExpression Id. */\n int NOT_EQ = 55;\n /** RegularExpression Id. */\n int MATH_OP = 56;\n /** RegularExpression Id. */\n int STRING_LITERAL = 57;\n /** RegularExpression Id. */\n int IDENTIFIER = 58;\n /** RegularExpression Id. */\n int NUM = 59;\n /** RegularExpression Id. */\n int INTEGER = 60;\n /** RegularExpression Id. */\n int REAL = 61;\n /** RegularExpression Id. */\n int SIGN = 62;\n /** RegularExpression Id. */\n int ERROR = 63;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<token of kind 5>\",\n \"<DIGIT>\",\n \"<ONE_TO_NINE>\",\n \"<LETTER>\",\n \"<SPACE>\",\n \"\\\"var\\\"\",\n \"\\\"if\\\"\",\n \"\\\"else if\\\"\",\n \"\\\"else\\\"\",\n \"\\\"function\\\"\",\n \"\\\"boolean\\\"\",\n \"\\\"number\\\"\",\n \"\\\"char\\\"\",\n \"\\\"enum\\\"\",\n \"\\\"interface\\\"\",\n \"\\\"return\\\"\",\n \"\\\"void\\\"\",\n \"\\\"while\\\"\",\n \"\\\"println\\\"\",\n \"\\\"true\\\"\",\n \"\\\"false\\\"\",\n \"\\\"!\\\"\",\n \"\\\"&\\\"\",\n \"\\\"*\\\"\",\n \"\\\"-\\\"\",\n \"\\\"+\\\"\",\n \"\\\"=\\\"\",\n \"\\\"|\\\"\",\n \"\\\"/\\\"\",\n \"\\\":\\\"\",\n \"\\\";\\\"\",\n \"\\\"?\\\"\",\n \"\\\",\\\"\",\n \"\\\".\\\"\",\n \"\\\"\\\\\\'\\\"\",\n \"\\\"\\\\\\\"\\\"\",\n \"\\\"(\\\"\",\n \"\\\")\\\"\",\n \"\\\"[\\\"\",\n \"\\\"]\\\"\",\n \"\\\"{\\\"\",\n \"\\\"}\\\"\",\n \"\\\"_\\\"\",\n \"\\\"<\\\"\",\n \"\\\">\\\"\",\n \"\\\"<=\\\"\",\n \"\\\">=\\\"\",\n \"\\\"==\\\"\",\n \"\\\"||\\\"\",\n \"\\\"&&\\\"\",\n \"\\\"!=\\\"\",\n \"<MATH_OP>\",\n \"<STRING_LITERAL>\",\n \"<IDENTIFIER>\",\n \"<NUM>\",\n \"<INTEGER>\",\n \"<REAL>\",\n \"\\\"\\\"\",\n \"<ERROR>\",\n };\n\n}", "title": "" }, { "docid": "9da27dd2863fb21a9d317422cf8e3851", "score": "0.43116847", "text": "public String visit(TypeDeclaration n, String argu) {\n n.f0.accept(this, null);\n return null; \n }", "title": "" }, { "docid": "d8a7db8d285b17271ba00fbbb01ba9c3", "score": "0.43115452", "text": "public interface ASTPath\n{\n\tvoid debugSelf(IndentPrinter destination);\n\tvoid setParent(ASTChildList.ListKey key, ASTParent newParent);\n\tvoid compileSelf(LangCompiler compiler);\n\tASTBase getDeclaration();\n\tString getName();\n\tString getEnd();\n\tSpiritType getExpressionType();\n\n}", "title": "" }, { "docid": "5f3f16bdf66b1330bb04013ed15d6d62", "score": "0.43086857", "text": "private void parse() {\n try {\n SimpleNode rootNode = jmm.parseClass(sourcefile);\n assert rootNode.is(JJTPROGRAM);\n\n SimpleNode classNode = rootNode.jjtGetChild(0);\n assert classNode.is(JJTCLASSDECLARATION);\n\n data.classNode = classNode;\n } catch (FileNotFoundException e) {\n throw new CompilationException(e);\n } catch (ParseException e) {\n throw new CompilationException(\"Parsing Error: \" + e.getMessage(), e);\n }\n }", "title": "" }, { "docid": "83e51c614bb588014448694fa4adf607", "score": "0.43037125", "text": "@Test\n\tpublic void test_ClassDeclarationNested_Dec_1_Ref_0() {\n\t\tconfigureParser(\"public class Other { public class Foo {} }\", \"Other.Foo\", 1, 0);\n\t}", "title": "" }, { "docid": "a36582a8e70d5450db212b03165ace7c", "score": "0.43022403", "text": "public interface Token {\n public String getValue();\n}", "title": "" }, { "docid": "bb9500418ff4acfb69dbe377d0b3b752", "score": "0.43006656", "text": "public interface Symbols {\n /* terminals */\n public static final int BAG = 68;\n public static final int RETRIEVE = 93;\n public static final int AS = 34;\n public static final int TIMES = 13;\n public static final int LCURLY = 54;\n public static final int TYPE = 58;\n public static final int LEAVESBY = 91;\n public static final int LOWEREQUALS = 33;\n public static final int LAZY_FAILURE = 97;\n public static final int CLOSEUNIQUEBY = 90;\n public static final int NAME = 7;\n public static final int ENUM = 70;\n public static final int FORSOME = 41;\n public static final int CATCH = 114;\n public static final int DATEPREC = 109;\n public static final int COMMA = 29;\n public static final int VIRTUAL = 99;\n public static final int RANDOM = 110;\n public static final int DOUBLE_LITERAL = 4;\n public static final int SUM = 48;\n public static final int THROW = 116;\n public static final int JOIN = 28;\n public static final int RPAREN = 19;\n public static final int ON_NAVIGATE = 106;\n public static final int STRUCT = 69;\n public static final int NOT_MATCH_STRING = 23;\n public static final int LPAREN = 18;\n public static final int NOW = 108;\n public static final int INTEGER_LITERAL = 2;\n public static final int NOT = 24;\n public static final int VIEW = 98;\n public static final int INSTANCE = 73;\n public static final int DIFFERENT = 21;\n public static final int DATE_LITERAL = 6;\n public static final int MIN = 43;\n public static final int THEN = 65;\n public static final int EXTERNAL = 67;\n public static final int RECORD = 57;\n public static final int SEROID = 120;\n public static final int REVERSE = 107;\n public static final int ON_UPDATE = 103;\n public static final int LOWER = 31;\n public static final int INSERTCOPY = 83;\n public static final int BOOLEAN_LITERAL = 5;\n public static final int TEMPORAL = 80;\n public static final int CLASS = 71;\n public static final int SEED = 101;\n public static final int IMPLEMENT = 95;\n public static final int MODULO = 17;\n public static final int UNIQUEREF = 47;\n public static final int PLUS = 10;\n public static final int FORALL = 42;\n public static final int DIVIDE = 14;\n public static final int EXISTS = 49;\n public static final int GREATEREQUALS = 32;\n public static final int WHILE = 84;\n public static final int UNION = 16;\n public static final int DELETE = 77;\n public static final int EXTENDS = 72;\n public static final int MODULE = 53;\n public static final int INTERFACE = 117;\n public static final int ASSIGN = 61;\n public static final int RSQUARE = 52;\n public static final int FOR = 86;\n public static final int DO = 85;\n public static final int SCHEMADEF = 96;\n public static final int MATCH_STRING = 22;\n public static final int GREATER = 30;\n public static final int RANGEAS = 119;\n public static final int MAX = 44;\n public static final int RETURN = 60;\n public static final int TRY = 113;\n public static final int ELSE = 66;\n public static final int DOTDOT = 50;\n public static final int BREAK = 87;\n public static final int DOT = 26;\n public static final int PERMANENT = 79;\n public static final int AVG = 45;\n public static final int TRANSACTION_ABORT = 112;\n public static final int STRING_LITERAL = 3;\n public static final int EOF = 0;\n public static final int SEMICOLON = 8;\n public static final int INTERSECT = 15;\n public static final int LSQUARE = 51;\n public static final int WHERE = 27;\n public static final int COUNT = 25;\n public static final int LOCAL = 81;\n public static final int IMPORT = 56;\n public static final int IS = 59;\n public static final int UNIQUE = 46;\n public static final int IN = 36;\n public static final int OR = 39;\n public static final int error = 1;\n public static final int HYPHEN = 11;\n public static final int LEAVESUNIQUEBY = 92;\n public static final int FINALLY = 115;\n public static final int CONTINUE = 88;\n public static final int INSTANCEOF = 74;\n public static final int IF = 64;\n public static final int CONTAINS = 37;\n public static final int COLON = 9;\n public static final int SUBTRACT = 12;\n public static final int CREATE = 78;\n public static final int DEREF = 62;\n public static final int FOREACH = 63;\n public static final int REF = 75;\n public static final int ON_DELETE = 104;\n public static final int DESEROID = 121;\n public static final int CLOSEBY = 89;\n public static final int RENAME = 122;\n public static final int UPDATE = 94;\n public static final int INSERT = 82;\n public static final int OBJECTS = 100;\n public static final int AND = 40;\n public static final int SESSION = 76;\n public static final int ON_RETRIEVE = 102;\n public static final int GROUPAS = 35;\n public static final int ON_NEW = 105;\n public static final int ORDERBY = 38;\n public static final int DISTINCT = 118;\n public static final int RCURLY = 55;\n public static final int EQUALS = 20;\n public static final int TRANSACTION_CAPABLE = 111;\n}", "title": "" }, { "docid": "b74d3d801cf613096a46067400d89f40", "score": "0.42946598", "text": "public interface RecursiveDescentParser\n{\n\n /**\n * Parses a regular expression and returns an NFA that describes that regular expression.\n * @return an NFA describing the regular expression that was parsed\n * @throws ParseException\n */\n public NFA parse() throws ParseException;\n\n}", "title": "" }, { "docid": "d90ebb43c7d0ad6fe4f55c82ba33fd16", "score": "0.4290792", "text": "protected LR1_Grammar() {\n\t\tSet follow = new Set(1);\n\t\tfollow.append(END_OF_SOURCE);\n\t\tthis.start.follow = follow;\n\t}", "title": "" }, { "docid": "1690e117d07b28fd852edb87299af753", "score": "0.42871785", "text": "public interface UATokenizerConstants {\n\n /** End of File. */\n int EOF = 0;\n /** RegularExpression Id. */\n int WHITESPACE = 1;\n /** RegularExpression Id. */\n int CHAR = 5;\n /** RegularExpression Id. */\n int PICTURES = 6;\n /** RegularExpression Id. */\n int FILLERWORDS = 7;\n /** RegularExpression Id. */\n int THREELETTERWORDS = 8;\n /** RegularExpression Id. */\n int EMAIL = 9;\n /** RegularExpression Id. */\n int PRICES = 10;\n /** RegularExpression Id. */\n int DOMAIN = 11;\n /** RegularExpression Id. */\n int PHONE = 12;\n /** RegularExpression Id. */\n int PHONE2 = 13;\n /** RegularExpression Id. */\n int PHONE3 = 14;\n /** RegularExpression Id. */\n int WORD = 15;\n /** RegularExpression Id. */\n int HTML = 16;\n /** RegularExpression Id. */\n int HTML2 = 17;\n /** RegularExpression Id. */\n int HTMLCOMMENTS = 18;\n /** RegularExpression Id. */\n int NUMBER = 19;\n /** RegularExpression Id. */\n int TOPLEVELDOMAINS = 20;\n /** RegularExpression Id. */\n int SYMBOLS = 21;\n /** RegularExpression Id. */\n int OTHER = 22;\n /** RegularExpression Id. */\n int CHARACTERS = 23;\n\n /** Lexical state. */\n int DEFAULT = 0;\n\n /** Literal token values. */\n String[] tokenImage = {\n \"<EOF>\",\n \"\\\" \\\"\",\n \"\\\"\\\\r\\\"\",\n \"\\\"\\\\t\\\"\",\n \"\\\"\\\\n\\\"\",\n \"<CHAR>\",\n \"<PICTURES>\",\n \"<FILLERWORDS>\",\n \"<THREELETTERWORDS>\",\n \"<EMAIL>\",\n \"<PRICES>\",\n \"<DOMAIN>\",\n \"<PHONE>\",\n \"<PHONE2>\",\n \"<PHONE3>\",\n \"<WORD>\",\n \"<HTML>\",\n \"<HTML2>\",\n \"<HTMLCOMMENTS>\",\n \"<NUMBER>\",\n \"<TOPLEVELDOMAINS>\",\n \"<SYMBOLS>\",\n \"<OTHER>\",\n \"<CHARACTERS>\",\n };\n\n}", "title": "" }, { "docid": "94d220f941339674bc8df3c078dd0529", "score": "0.42862236", "text": "public interface BiomedicalParseSym {\n /* terminals */\n public static final int OR_OP = 6;\n public static final int String = 4;\n public static final int RPAREN = 3;\n public static final int error = 1;\n public static final int AND_OP = 5;\n public static final int NOT_OP = 7;\n public static final int LPAREN = 2;\n public static final int EOF = 0;\n}", "title": "" }, { "docid": "e017c22e99fecf5baf060418a30011c8", "score": "0.4285066", "text": "public void j() {\n }", "title": "" }, { "docid": "b94b5f76d363d79c8191189cc894c0eb", "score": "0.4283382", "text": "public final void mKEYWORD_2() throws RecognitionException {\n try {\n int _type = KEYWORD_2;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:53:11: ( '(' )\n // ../org.leta.plugin.ui/src-gen/org/ui/contentassist/antlr/lexer/InternalLetaLexer.g:53:13: '('\n {\n match('('); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "64e24a7cfaad5e52762833c54fb76ea3", "score": "0.42792115", "text": "public R visit(CJumpStmt n) {\n R _ret=null;\n n.f0.accept(this);\n String s1 =(String) n.f1.accept(this);\n String s2 =(String)n.f2.accept(this);\n String s = (\"CJUMP \"+s1+\" \"+s2);\n return (R)s;\n }", "title": "" }, { "docid": "a29c3af68e8d4aebe9973baff91f9c7b", "score": "0.4277089", "text": "@Test(timeout = 4000)\n public void test112() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer(\"ji{:[5xw96\");\n Token token0 = xPathLexer0.rightParen();\n assertEquals(2, token0.getTokenType());\n assertEquals(\"j\", token0.getTokenText());\n \n Token token1 = xPathLexer0.dollar();\n assertEquals(26, token1.getTokenType());\n assertEquals(\"i\", token1.getTokenText());\n \n Token token2 = xPathLexer0.notEquals();\n assertEquals(\"{:\", token2.getTokenText());\n assertEquals(22, token2.getTokenType());\n \n Token token3 = xPathLexer0.nextToken();\n assertEquals(3, token3.getTokenType());\n assertEquals(\"[\", token3.getTokenText());\n \n Token token4 = xPathLexer0.identifierOrOperatorName();\n assertEquals(15, token4.getTokenType());\n assertEquals(\"5xw96\", token4.getTokenText());\n }", "title": "" }, { "docid": "ca67e61ab5dce6d94e547ee9da55569c", "score": "0.42714626", "text": "public final void mID() throws RecognitionException {\r\n try {\r\n int _type = ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:292:4: ( LETTER ( DIGIT | LETTER )* )\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:292:6: LETTER ( DIGIT | LETTER )*\r\n {\r\n mLETTER(); \r\n\r\n\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:292:13: ( DIGIT | LETTER )*\r\n loop5:\r\n do {\r\n int alt5=2;\r\n int LA5_0 = input.LA(1);\r\n\r\n if ( ((LA5_0 >= '0' && LA5_0 <= '9')||(LA5_0 >= 'A' && LA5_0 <= 'Z')||LA5_0=='_'||(LA5_0 >= 'a' && LA5_0 <= 'z')) ) {\r\n alt5=1;\r\n }\r\n\r\n\r\n switch (alt5) {\r\n \tcase 1 :\r\n \t // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:\r\n \t {\r\n \t if ( (input.LA(1) >= '0' && input.LA(1) <= '9')||(input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {\r\n \t input.consume();\r\n \t }\r\n \t else {\r\n \t MismatchedSetException mse = new MismatchedSetException(null,input);\r\n \t recover(mse);\r\n \t throw mse;\r\n \t }\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop5;\r\n }\r\n } while (true);\r\n\r\n\r\n }\r\n\r\n state.type = _type;\r\n state.channel = _channel;\r\n }\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n }", "title": "" }, { "docid": "cbd3941b7082ca21e249000db4004b92", "score": "0.42695203", "text": "public interface BibtexConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int COMMENT = 5;\r\n /** RegularExpression Id. */\r\n int COMMENT_START = 6;\r\n /** RegularExpression Id. */\r\n int PREAMBLE_START = 7;\r\n /** RegularExpression Id. */\r\n int STRING_START = 8;\r\n /** RegularExpression Id. */\r\n int COMMENT_ENTRY = 9;\r\n /** RegularExpression Id. */\r\n int OPEN_ENTRY = 11;\r\n /** RegularExpression Id. */\r\n int CLOSE_ENTRY = 12;\r\n /** RegularExpression Id. */\r\n int START_B_CONTENT = 14;\r\n /** RegularExpression Id. */\r\n int CLOSE_B_CONTENT = 15;\r\n /** RegularExpression Id. */\r\n int START_Q_CONTENT = 18;\r\n /** RegularExpression Id. */\r\n int CLOSE_Q_CONTENT = 19;\r\n /** RegularExpression Id. */\r\n int CONTENT_TEXT = 20;\r\n /** RegularExpression Id. */\r\n int ID = 21;\r\n /** RegularExpression Id. */\r\n int SEPARATOR = 22;\r\n /** RegularExpression Id. */\r\n int EQUALS = 23;\r\n /** RegularExpression Id. */\r\n int NUMBER = 24;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n /** Lexical state. */\r\n int IN_ENTRY = 1;\r\n /** Lexical state. */\r\n int IN_ENTRY_TYPE = 2;\r\n /** Lexical state. */\r\n int IN_COMMENT_ENTRY = 3;\r\n /** Lexical state. */\r\n int IN_PREAMBLE = 4;\r\n /** Lexical state. */\r\n int IN_BRACED_CONTENT = 5;\r\n /** Lexical state. */\r\n int IN_BRACED_NESTED_CONTENT = 6;\r\n /** Lexical state. */\r\n int IN_QUOTED_CONTENT = 7;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"<COMMENT>\",\r\n \"\\\"comment\\\"\",\r\n \"\\\"preamble\\\"\",\r\n \"\\\"string\\\"\",\r\n \"<COMMENT_ENTRY>\",\r\n \"<token of kind 10>\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"<token of kind 13>\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\"\\\\\\\"\\\"\",\r\n \"\\\"\\\\\\\"\\\"\",\r\n \"<CONTENT_TEXT>\",\r\n \"<ID>\",\r\n \"\\\",\\\"\",\r\n \"\\\"=\\\"\",\r\n \"<NUMBER>\",\r\n \"\\\"#\\\"\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "6c88e223317dd2b4b008cb51cf2dd508", "score": "0.42656857", "text": "public Go(GoTokenManager tm) {\n token_source = tm;\n token = new Token();\n token.next = jj_nt = token_source.getNextToken();\n jj_gen = 0;\n for (int i = 0; i < 43; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }", "title": "" }, { "docid": "6be8f55ae52ea7f76246d63a2b9a6d4a", "score": "0.42647415", "text": "static interface kk$a\n{\n\n\tpublic abstract void a(kk kk1);\n\n\tpublic abstract void b(kk kk1);\n\n\tpublic abstract void c(kk kk1);\n}", "title": "" }, { "docid": "38b83b7c7b6bf600139fc934d27123ad", "score": "0.42596334", "text": "public Keyword() {\n\t}", "title": "" }, { "docid": "dd5d9cad41454c57200df76d94789770", "score": "0.42581627", "text": "@Test\n void testExample1() {\n List<Token> input = Arrays.asList(\n new Token(Token.Type.IDENTIFIER, \"LET\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \":\", -1),\n new Token(Token.Type.IDENTIFIER, \"INTEGER\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"WHILE\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"!=\", -1),\n new Token(Token.Type.INTEGER, \"10\", -1),\n new Token(Token.Type.IDENTIFIER, \"DO\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"PRINT\", -1),\n new Token(Token.Type.OPERATOR, \"(\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \")\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"=\", -1),\n new Token(Token.Type.IDENTIFIER, \"first\", -1),\n new Token(Token.Type.OPERATOR, \"+\", -1),\n new Token(Token.Type.INTEGER, \"1\", -1),\n new Token(Token.Type.OPERATOR, \";\", -1),\n\n new Token(Token.Type.IDENTIFIER, \"END\", -1)\n );\n Ast.Source expected = new Ast.Source(Arrays.asList(\n new Ast.Statement.Declaration(\"first\", \"INTEGER\",\n Optional.of(new Ast.Expression.Literal(BigInteger.valueOf(1)))),\n new Ast.Statement.While(\n new Ast.Expression.Binary(\"!=\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(10))\n ),\n Arrays.asList(\n new Ast.Statement.Expression(\n new Ast.Expression.Function(\"PRINT\", Arrays.asList(\n new Ast.Expression.Variable(\"first\"))\n )\n ),\n new Ast.Statement.Assignment(\"first\",\n new Ast.Expression.Binary(\"+\",\n new Ast.Expression.Variable(\"first\"),\n new Ast.Expression.Literal(BigInteger.valueOf(1))\n )\n )\n )\n )\n ));\n test(input, expected, Parser::parseSource);\n }", "title": "" }, { "docid": "3b121645715f21ad6375d05f3de0fc14", "score": "0.4256809", "text": "public void syntax_error(Symbol current_token){}", "title": "" }, { "docid": "12fc9d459d7591ccdf4282d225c89d2f", "score": "0.42547223", "text": "public interface ParserConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LINE_COMMENT = 6;\r\n /** RegularExpression Id. */\r\n int FORMAL_COMMENT = 7;\r\n /** RegularExpression Id. */\r\n int MULTILINE_COMMENT = 8;\r\n /** RegularExpression Id. */\r\n int INT = 9;\r\n /** RegularExpression Id. */\r\n int VOID = 10;\r\n /** RegularExpression Id. */\r\n int STRING = 11;\r\n /** RegularExpression Id. */\r\n int BOOLEAN = 12;\r\n /** RegularExpression Id. */\r\n int NULL = 13;\r\n /** RegularExpression Id. */\r\n int THIS = 14;\r\n /** RegularExpression Id. */\r\n int TRUE = 15;\r\n /** RegularExpression Id. */\r\n int FALSE = 16;\r\n /** RegularExpression Id. */\r\n int MAIN = 17;\r\n /** RegularExpression Id. */\r\n int LENGTH = 18;\r\n /** RegularExpression Id. */\r\n int PRINT = 19;\r\n /** RegularExpression Id. */\r\n int IF = 20;\r\n /** RegularExpression Id. */\r\n int NEW = 21;\r\n /** RegularExpression Id. */\r\n int ELSE = 22;\r\n /** RegularExpression Id. */\r\n int CLASS = 23;\r\n /** RegularExpression Id. */\r\n int WHILE = 24;\r\n /** RegularExpression Id. */\r\n int PUBLIC = 25;\r\n /** RegularExpression Id. */\r\n int RETURN = 26;\r\n /** RegularExpression Id. */\r\n int STATIC = 27;\r\n /** RegularExpression Id. */\r\n int EXTENDS = 28;\r\n /** RegularExpression Id. */\r\n int INTERFACE = 29;\r\n /** RegularExpression Id. */\r\n int ADD = 30;\r\n /** RegularExpression Id. */\r\n int SUB = 31;\r\n /** RegularExpression Id. */\r\n int MULT = 32;\r\n /** RegularExpression Id. */\r\n int AND = 33;\r\n /** RegularExpression Id. */\r\n int NOT = 34;\r\n /** RegularExpression Id. */\r\n int LESS = 35;\r\n /** RegularExpression Id. */\r\n int ASSIGN = 36;\r\n /** RegularExpression Id. */\r\n int LPARENS = 37;\r\n /** RegularExpression Id. */\r\n int RPARENS = 38;\r\n /** RegularExpression Id. */\r\n int LBRACKET = 39;\r\n /** RegularExpression Id. */\r\n int RBRACKET = 40;\r\n /** RegularExpression Id. */\r\n int LBRACE = 41;\r\n /** RegularExpression Id. */\r\n int RBRACE = 42;\r\n /** RegularExpression Id. */\r\n int COMMA = 43;\r\n /** RegularExpression Id. */\r\n int DOT = 44;\r\n /** RegularExpression Id. */\r\n int SEMI = 45;\r\n /** RegularExpression Id. */\r\n int NUM = 46;\r\n /** RegularExpression Id. */\r\n int ID = 47;\r\n /** RegularExpression Id. */\r\n int LETTER = 48;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\f\\\"\",\r\n \"<LINE_COMMENT>\",\r\n \"<FORMAL_COMMENT>\",\r\n \"<MULTILINE_COMMENT>\",\r\n \"\\\"int\\\"\",\r\n \"\\\"void\\\"\",\r\n \"\\\"String\\\"\",\r\n \"\\\"boolean\\\"\",\r\n \"\\\"null\\\"\",\r\n \"\\\"this\\\"\",\r\n \"\\\"true\\\"\",\r\n \"\\\"false\\\"\",\r\n \"\\\"main\\\"\",\r\n \"\\\"length\\\"\",\r\n \"\\\"System.out.println\\\"\",\r\n \"\\\"if\\\"\",\r\n \"\\\"new\\\"\",\r\n \"\\\"else\\\"\",\r\n \"\\\"class\\\"\",\r\n \"\\\"while\\\"\",\r\n \"\\\"public\\\"\",\r\n \"\\\"return\\\"\",\r\n \"\\\"static\\\"\",\r\n \"\\\"extends\\\"\",\r\n \"\\\"interface\\\"\",\r\n \"\\\"+\\\"\",\r\n \"\\\"-\\\"\",\r\n \"\\\"*\\\"\",\r\n \"\\\"&&\\\"\",\r\n \"\\\"!\\\"\",\r\n \"\\\"<\\\"\",\r\n \"\\\"=\\\"\",\r\n \"\\\"(\\\"\",\r\n \"\\\")\\\"\",\r\n \"\\\"[\\\"\",\r\n \"\\\"]\\\"\",\r\n \"\\\"{\\\"\",\r\n \"\\\"}\\\"\",\r\n \"\\\",\\\"\",\r\n \"\\\".\\\"\",\r\n \"\\\";\\\"\",\r\n \"<NUM>\",\r\n \"<ID>\",\r\n \"<LETTER>\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "ebe0376e32efe4ada843cca97e9e0b40", "score": "0.42543215", "text": "@Override\n\tpublic void visit(KeepExpression arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "f1d0deafc1ae156260bef57d0aeecb84", "score": "0.4252909", "text": "public SQLParser(SQLParserTokenManager tm) {\n\t token_source = tm;\n\t token = new Token();\n\t jj_ntk = -1;\n\t jj_gen = 0;\n\t for (int i = 0; i < 132; i++) jj_la1[i] = -1;\n\t for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }", "title": "" }, { "docid": "631b7dd014e9995483110fd922ffbcd8", "score": "0.42287928", "text": "public QueryParser(QueryParserTokenManager tm) {\n token_source = tm;\n token = new Token();\n jj_ntk = -1;\n jj_gen = 0;\n for (int i = 0; i < 117; i++) jj_la1[i] = -1;\n for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();\n }", "title": "" } ]
04d6c90051173012fa0a76a427fa817d
Sets the geometry information (required by the Modeler).
[ { "docid": "4cd8dc837fe86817b3dd6124215deb8e", "score": "0.7421519", "text": "public void setGeometry(String geometry);", "title": "" } ]
[ { "docid": "d981fec68e3fd69ae25bf9e0dbeb1aba", "score": "0.76634", "text": "public void setGeometry(Geometry geometry) {\n this.geometry = geometry;\n }", "title": "" }, { "docid": "c525d8f5408b55356413a84282875c9a", "score": "0.7251809", "text": "public final void setGeometry(Model geometry) {\r\n\t\tcharacterModel = geometry;\r\n\t}", "title": "" }, { "docid": "9839bd5d9927680d46e3ece48faafc14", "score": "0.7141168", "text": "public void setGeometry(final AbstractGeometry geometry) {\n this.geometry = geometry;\n }", "title": "" }, { "docid": "048f8f732be880aeee72efe221af0446", "score": "0.70614976", "text": "public void setGeometry(ViewGeometryObject newGeometryObj) {\n \n // Detach any previous geometry object\n if (geometryObj != null) {\n geometryObj.cleanup();\n baseNode.detachChild(geometryObj);\n }\n \n geometryObj = newGeometryObj;\n geometryObj.updateSize();\n geometryObj.updateTexture();\n \n baseNode.attachChild(newGeometryObj);\n }", "title": "" }, { "docid": "a2a5059951c1a755e45191d7c069f3aa", "score": "0.6577047", "text": "@Override\n\tpublic void setGeometry(double left, double top, double right, double bottom) {\n\t\tthis.left=left;\n \tthis.right=right;\n \tthis.top=top;\n \tthis.bottom=bottom;\n\t}", "title": "" }, { "docid": "5e76e7c72e5f25af3eb8d4068008d2e0", "score": "0.6429406", "text": "public void set__1(Geometry value) {\n setValue(_1, value);\n }", "title": "" }, { "docid": "7bdeb051f93928abbe9e7c9968b23110", "score": "0.6369456", "text": "private void updateGeometry() {\n\t\tModel.wireFrameModel.createFromBluePrints(getBluePrintDrawing());\n\t}", "title": "" }, { "docid": "0065da1625fde2a7e12745837ba05048", "score": "0.6330311", "text": "public void setModel(BaseGeometry target) {\n this.target = target;\n }", "title": "" }, { "docid": "c7234d736058279707e22d2f7f63f1a0", "score": "0.61564976", "text": "@Override\n\tprotected void setGeometry() {\n\t\tVector3f p1 = new Vector3f(0,1,0);\n\t\tVector3f p2 = new Vector3f(1,-1,1);\n\t\tVector3f p3 = new Vector3f(1,-1,-1);\n\t\tVector3f p4 = new Vector3f(-1,-1,-1);\n\t\tVector3f p5 = new Vector3f(-1,-1,1);\n\t\tVector3f normal; \n\n\t\tglBegin(GL_TRIANGLES);\n\t\t\n\t\t\t//4 pyramiden seiten\n\t\t\tnormal = VectorUtil.createNormal(p1,p2,p3);\n\t\t\tglNormal3f(normal.x,normal.y,normal.z);\n\t\t\tglVertex3f(0,1,0);\n\t\t\tglVertex3f(1,-1,1);\n\t\t\tglVertex3f(1,-1,-1);\n\t\n\t\t\tnormal = VectorUtil.createNormal(p1,p3,p4);\n\t\t\tglNormal3f(normal.x,normal.y,normal.z);\n\t\t\tglVertex3f(0,1,0);\n\t\t\tglVertex3f(1,-1,-1);\n\t\t\tglVertex3f(-1,-1,-1);\n\t\n\t\t\tnormal = VectorUtil.createNormal(p1,p4,p5);\n\t\t\tglNormal3f(normal.x,normal.y,normal.z);\n\t\t\tglVertex3f(0,1,0);\n\t\t\tglVertex3f(-1,-1,-1);\n\t\t\tglVertex3f(-1,-1,1);\n\t\n\t\t\tnormal = VectorUtil.createNormal(p1,p5,p2);\n\t\t\tglNormal3f(normal.x,normal.y,normal.z);\n\t\t\tglVertex3f(0,1,0);\n\t\t\tglVertex3f(-1,-1,1);\n\t\t\tglVertex3f(1,-1,1);\n\t\n\t\t\t//grundfläche\n\t\t\tnormal = VectorUtil.createNormal(p2,p3,p4);\n\t\t\tglNormal3f(normal.x,normal.y,normal.z);\n\t\t\tglVertex3f(1,-1,1);\n\t\t\tglVertex3f(-1,-1,-1);\n\t\t\tglVertex3f(1,-1,-1);\n\t\t\t\n\t\n\t\t\tnormal = VectorUtil.createNormal(p4,p5,p2);\n\t\t\tglNormal3f(normal.x,normal.y,normal.z);\n\t\t\tglVertex3f(-1,-1,-1);\n\t\t\tglVertex3f(1,-1,1);\n\t\t\tglVertex3f(-1,-1,1);\n\t\tglEnd();\n\t}", "title": "" }, { "docid": "1e7b721d22ebba866d096fbd1474fe4c", "score": "0.59839326", "text": "public void setInputGeometryType(ZEGeometryType type) { if (type != null) inputGeometry = type; }", "title": "" }, { "docid": "5fc8b5c4efa7b1ccbed207e609a18c76", "score": "0.59548855", "text": "public HE_Mesh() {\r\n\t\tsuper();\r\n\t\t_center = new WB_Point3d();\r\n\t\t_centerUpdated = false;\r\n\t\tlabel = -1;\r\n\t}", "title": "" }, { "docid": "1a777b87a9893cc9e4b5d7a59f2a207c", "score": "0.5858136", "text": "public void settings(){\r\n\t\tsize(worldw, worldh);\r\n\t\tshape = PointShape.Basic(this);\r\n\t\tshapeLen = (float) (shape.size + (1.3 * shape.size));\r\n\t}", "title": "" }, { "docid": "3a8749f59ee0c689b9be1134d458ff1d", "score": "0.57990813", "text": "public void setGeometryObjects(ArrayList<GeometryObject> geometryObjects) {\n this.geometryObjects = geometryObjects;\n }", "title": "" }, { "docid": "72d6793d2f7e4084cecc19900bd0aecc", "score": "0.5769123", "text": "public void setLoadingGeometry(Mesh mesh) {\n mLoadingGeometry = mesh;\n if (mRenderScript != null) {\n mRenderScript.setLoadingGeometry(mesh);\n }\n }", "title": "" }, { "docid": "2e31bfbf15d91dbc7f5ca735fe236293", "score": "0.57031703", "text": "protected TerrainModel() {\n setCapability( Shape3D.ALLOW_GEOMETRY_WRITE );\n setAppearance( createDefaultApperance() );\n }", "title": "" }, { "docid": "d09ece220876df392adf56e017c00411", "score": "0.56931233", "text": "private void updateGeomagneticField() {\n this.mGeomagneticField = new GeomagneticField((float) this.mCurrentLocation.getLatitude(),\n \t\t(float) mCurrentLocation.getLongitude(), (float) mCurrentLocation.getAltitude(),\n \t\tmCurrentLocation.getTime());\n }", "title": "" }, { "docid": "58ec3db33f549adc732e89f0f9a63504", "score": "0.5676087", "text": "protected void updateTexture() {\n if (geometryObj != null) {\n geometryObj.updateTexture();\n }\n }", "title": "" }, { "docid": "cbb60d55a573eb14075d09a8a7d0b413", "score": "0.5670057", "text": "public void setGeometryService(String geometryService) {\n this.geometryService = Val.chkStr(geometryService);\n}", "title": "" }, { "docid": "c27e2f4bc0b6513634a4995f8b179443", "score": "0.5613944", "text": "public final void setGridGeometry(GridGeometry gridGeometry) throws FactoryException {\n ArgumentChecks.ensureNonNull(\"gridGeometry\", gridGeometry);\n if (this.gridGeometry.equals(gridGeometry)) return;\n // Before updating and notifying users, we must ensure that user provided a 2D geometry\n gridGeometry2d = reduceTo2D(gridGeometry)\n .orElseThrow(() -> new IllegalArgumentException(\"Not enough information in given geometry to ensure it's 2D: \"+gridGeometry));\n\n final GridGeometry old = this.gridGeometry;\n this.gridGeometry = gridGeometry;\n firePropertyChange(GRIDGEOMETRY_KEY, old, gridGeometry);\n\n repaintIfAuto();\n }", "title": "" }, { "docid": "8179b9f47d19de02cdcb98616e534830", "score": "0.5612262", "text": "public void calculateGeometry();", "title": "" }, { "docid": "83ab898071052c85a97d44f8fff30f2b", "score": "0.5569223", "text": "@Override\n public void setSpatial(Spatial spatial) {\n super.setSpatial(spatial);\n // spatial.setUserData(\"index\", i); // example\n }", "title": "" }, { "docid": "44a592e4b146eefdfc33182d2d8470af", "score": "0.55486923", "text": "public void setPosition(final Position pos) {\n if (pos != null) {\n geometry = new Point(pos);\n }\n }", "title": "" }, { "docid": "6dd4b01e957ed518fa8f23b90c315bd8", "score": "0.5542639", "text": "@Override\n public void setDimensions(float x, float y, float width, float height) {\n if (this.x != x || this.y != y || this.width != width || this.height != height) {\n meshVertices[0 * VERTEX_SIZE + VC_X] = x;\n meshVertices[0 * VERTEX_SIZE + VC_Y] = y;\n\n meshVertices[1 * VERTEX_SIZE + VC_X] = x + width;\n meshVertices[1 * VERTEX_SIZE + VC_Y] = y;\n\n meshVertices[2 * VERTEX_SIZE + VC_X] = x + width;\n meshVertices[2 * VERTEX_SIZE + VC_Y] = y + height;\n\n meshVertices[3 * VERTEX_SIZE + VC_X] = x;\n meshVertices[3 * VERTEX_SIZE + VC_Y] = y + height;\n\n mesh.setVertices(meshVertices);\n }\n }", "title": "" }, { "docid": "4cd523c32c8119983d5fe9b21d9f3a17", "score": "0.55353916", "text": "protected void updateGeometrySize() throws InstantiationException {\n \n // Calculate view size appropriate for the current Hud mode\n if (onHud) {\n width = (float) getHUDWidth();\n height = (float) getHUDHeight();\n } else {\n Window2D window2D = (Window2D) window;\n Vector2f pixelScale = window2D.getPixelScale();\n width = pixelScale.x * (float) window2D.getWidth();\n height = pixelScale.y * (float) window2D.getHeight();\n }\n \n if (geometryObj == null) {\n \n // Geometry first time creation\n setGeometry(new ViewGeometryObjectDefault(this));\n \n } else {\n \n // Geometry resize\n geometryObj.updateSize();\n }\n \n if (worldFrame != null) {\n worldFrame.update();\n }\n }", "title": "" }, { "docid": "e0cac4ed479841b3a5e896202b7d5be0", "score": "0.54818565", "text": "public final void setAsBox(final float hx, final float hy) {\n\t\tm_vertexCount = 4;\n\t\tm_vertices[0].set(-hx, -hy);\n\t\tm_vertices[1].set(hx, -hy);\n\t\tm_vertices[2].set(hx, hy);\n\t\tm_vertices[3].set(-hx, hy);\n\t\tm_normals[0].set(0.0f, -1.0f);\n\t\tm_normals[1].set(1.0f, 0.0f);\n\t\tm_normals[2].set(0.0f, 1.0f);\n\t\tm_normals[3].set(-1.0f, 0.0f);\n\t\tm_centroid.setZero();\n\t}", "title": "" }, { "docid": "5ebb1fb255d163ff15e20bd646e7252c", "score": "0.5473513", "text": "void setLightingGeometry(VertexGeometry geom, int attrib) {\n lightManager.setLightingGeomerty(geom, attrib);\n }", "title": "" }, { "docid": "e44f3757c6d502d6b4ef6b338e0e8945", "score": "0.5463687", "text": "public void setGeometryForItem(int n, Mesh mesh) {\n if (mRenderScript != null) {\n mRenderScript.setGeometry(n, mesh);\n }\n }", "title": "" }, { "docid": "04f5d7a95d75d8db79cc86f882429604", "score": "0.54439616", "text": "public static String getGeometryInformation () {\n return geometry;\n }", "title": "" }, { "docid": "599a1bf53619dd10227c84202d8aa992", "score": "0.54418164", "text": "public Mesh(){\n\t\tvao = new VertexArray();\n\t\tgeometry = new Geometry();\n\t}", "title": "" }, { "docid": "17734345cd5467e7a03cc3a16be28b34", "score": "0.54377425", "text": "public void setDefaultGeometryAttributeName(String name);", "title": "" }, { "docid": "8caab07c08c5814446dd4ecdb2d360d8", "score": "0.5414496", "text": "public Geometry() {\n }", "title": "" }, { "docid": "0a26572747d39ceb0caaebc298abae59", "score": "0.5398278", "text": "public void setDefaultGeometry(Mesh mesh) {\n mDefaultGeometry = mesh;\n if (mRenderScript != null) {\n mRenderScript.setDefaultGeometry(mesh);\n }\n }", "title": "" }, { "docid": "f97e4982c8a2c713d6cd7c54586ccca0", "score": "0.5390728", "text": "void setObjectAt( Geometry gmo, int index )\n throws GeometryException;", "title": "" }, { "docid": "82cd7f4719526e2395fa92ce581d8bd2", "score": "0.53772473", "text": "public Geometry getGeometry(){\n\t\treturn geometry;\n\t}", "title": "" }, { "docid": "70ae3f51bc63cd53a800a368c363716f", "score": "0.5374154", "text": "@Override\n public void setGeometry(final Geometry g) {\n super.setGeometry(g);\n\n //change iterator only if necessary\n if(iterator != null && geometry != null){\n if (this.geometry.isEmpty() && iterator instanceof JTSEmptyIterator) {\n //nothing to do\n }else if (this.geometry instanceof Point && iterator instanceof JTSPointIterator) {\n ((JTSPointIterator)iterator).setGeometry((Point)geometry);\n } else if (this.geometry instanceof Polygon && iterator instanceof JTSPolygonIterator) {\n ((JTSPolygonIterator)iterator).setGeometry((Polygon)geometry);\n } else if (this.geometry instanceof LineString && iterator instanceof JTSLineIterator) {\n ((JTSLineIterator)iterator).setGeometry((LineString)geometry);\n } else if (this.geometry instanceof GeometryCollection && iterator instanceof JTSGeomCollectionIterator) {\n ((JTSGeomCollectionIterator)iterator).setGeometry((GeometryCollection)geometry);\n }else{\n //iterator does not match the new geometry type\n iterator = null;\n }\n }\n\n }", "title": "" }, { "docid": "ab13a42b9a0c3cc0ba43b4d11649e751", "score": "0.5312243", "text": "public void setGeometryType(String gtype){\n\t\tgetJSObject().setProperty(\"geometryType\", gtype);\n\t}", "title": "" }, { "docid": "fdca72bb803a0e73f7e0233b71f93d52", "score": "0.5285257", "text": "void setMesh() {\n/* 271 */ this.mesh = new PathMesh(this.startX, this.startY, this.endX, this.endY, this.surfaced, this.areaSize);\n/* */ \n/* */ \n/* 274 */ this.current = this.mesh.getStart();\n/* 275 */ this.start = this.mesh.getStart();\n/* 276 */ this.finish = this.mesh.getFinish();\n/* 277 */ if (logger.isLoggable(Level.FINEST))\n/* */ {\n/* 279 */ logger.finest(\"Start is \" + this.start.toString() + \", finish \" + this.finish.toString());\n/* */ }\n/* */ }", "title": "" }, { "docid": "3da0978278844b88c89b8e0431720861", "score": "0.5262643", "text": "@Override\n\tpublic void setBoundingBox() \n\t{\t\n\t\t // we did not implement because it was a bonus to write a function that finds \n\t\t // intersectons- and we did not write it!!\n\t}", "title": "" }, { "docid": "9b3e98ba7a10afa62f48987de3377449", "score": "0.52522725", "text": "@Override\n public void componentOpened() { // TODO add custom code on component opening\n newGeometrySettings.open();\n }", "title": "" }, { "docid": "40fed7fdc5f093ec5e5a687bb95c2b42", "score": "0.52375567", "text": "public void setToSetupPose () {\n\t\tBoneData data = this.data;\n\t\tx = data.x;\n\t\ty = data.y;\n\t\trotation = data.rotation;\n\t\tscaleX = data.scaleX;\n\t\tscaleY = data.scaleY;\n\t\tshearX = data.shearX;\n\t\tshearY = data.shearY;\n\t}", "title": "" }, { "docid": "cc1e3f638a1c41f20b1c8f118c863c99", "score": "0.523593", "text": "public JGeometryUpdater(double[] pts)\n {\n this.pts = pts;\n }", "title": "" }, { "docid": "f35cd75a76198c715fcac14212ab2ad2", "score": "0.5217967", "text": "public void setup() {\n\t\t// setup and enable perspective\n\t\tsetPerspective();\n\n\t\t// Create a white light\n\t\tsetLight(GL11.GL_LIGHT1, new float[] { 1f, 1f, 1f, 1f }, // diffuse\n\t\t\t\tnew float[] { .8f, .8f, .8f, 1f }, // ambient\n\t\t\t\tnew float[] { 1f, 1f, 1f, 1f }, // specular\n\t\t\t\tlightPosition);\n\n\t\t// off-white material, very shiny\n\t\tsetMaterial(new float[] { .6f, .6f, .45f, 1 }, 1f);\n\n\t\t// lighten up the shadows a bit\n\t\tsetAmbientLight(new float[] { .35f, .45f, .5f, 1f });\n\n\t\t// make a sphere display list\n\t\tsphereDL = beginDisplayList();\n\t\t{\n\t\t\trenderSphere();\n\t\t}\n\t\tendDisplayList();\n\n\t\t// Make a font object to render text\n\t\tfont = new GLFont(new Font(\"Trebuchet\", Font.BOLD, 18));\n\t}", "title": "" }, { "docid": "1859c07c6cb37649146f14439c3e5bcc", "score": "0.52044386", "text": "public ViewGeometryObject(ViewWorldDefault view) {\n super(\"ViewGeometryObject\");\n this.view = view;\n }", "title": "" }, { "docid": "92996303741ae51c631b47b532ca3ea9", "score": "0.51955676", "text": "public void setShape(Shape s) {\n/* 64 */ this.shape = s;\n/* */ }", "title": "" }, { "docid": "75815ea8c2bf036e288bf3854b718fb3", "score": "0.5188407", "text": "public Geometry getGeometry() {\n return geometry;\n }", "title": "" }, { "docid": "1fb634e6bd3846915e843642d6b0f1f6", "score": "0.5181345", "text": "public abstract void setModel(Layer layer) throws IOException;", "title": "" }, { "docid": "b9dc398cef936154426645924760bcb4", "score": "0.51805115", "text": "public void initializePackageContents() {\n\t\tif (isInitialized) return;\n\t\tisInitialized = true;\n\n\t\t// Initialize package\n\t\tsetName(eNAME);\n\t\tsetNsPrefix(eNS_PREFIX);\n\t\tsetNsURI(eNS_URI);\n\n\t\t// Create type parameters\n\n\t\t// Set bounds for type parameters\n\n\t\t// Add supertypes to classes\n\t\ttrackEClass.getESuperTypes().add(this.getGeometryObject());\n\t\tsimplePositionEClass.getESuperTypes().add(this.getGeometryObject());\n\t\ttrackPositionEClass.getESuperTypes().add(this.getGeometryObject());\n\n\t\t// Initialize classes and features; add operations and parameters\n\t\tinitEClass(geometryEClass, Geometry.class, \"Geometry\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getGeometry_GeoObjects(), this.getGeometryObject(), null, \"geoObjects\", null, 0, -1, Geometry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(geometryObjectEClass, GeometryObject.class, \"GeometryObject\", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\n\t\tinitEClass(trackEClass, Track.class, \"Track\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTrack_StartPosition(), this.getTrackPosition(), null, \"startPosition\", null, 1, 1, Track.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTrack_EndPosition(), this.getTrackPosition(), null, \"endPosition\", null, 1, 1, Track.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEReference(getTrack_IntermediatePositions(), this.getPosition(), null, \"intermediatePositions\", null, 0, -1, Track.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrack_AppearanceLabel(), ecorePackage.getEString(), \"appearanceLabel\", null, 0, 1, Track.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getTrack_Label(), ecorePackage.getEString(), \"label\", null, 0, 1, Track.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(positionEClass, Position.class, \"Position\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEAttribute(getPosition_X(), ecorePackage.getEDouble(), \"x\", null, 0, 1, Position.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getPosition_Y(), ecorePackage.getEDouble(), \"y\", null, 0, 1, Position.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(simplePositionEClass, SimplePosition.class, \"SimplePosition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getSimplePosition_Position(), this.getPosition(), null, \"position\", null, 1, 1, SimplePosition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSimplePosition_AppearanceLabel(), ecorePackage.getEString(), \"appearanceLabel\", null, 0, 1, SimplePosition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\t\tinitEAttribute(getSimplePosition_Label(), ecorePackage.getEString(), \"label\", null, 0, 1, SimplePosition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\tinitEClass(trackPositionEClass, TrackPosition.class, \"TrackPosition\", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);\n\t\tinitEReference(getTrackPosition_Position(), this.getPosition(), null, \"position\", null, 0, 1, TrackPosition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);\n\n\t\t// Create resource\n\t\tcreateResource(eNS_URI);\n\t}", "title": "" }, { "docid": "f6542e868d2f84677151da8d4e8fa467", "score": "0.51658577", "text": "public ChainGeometry( )\n\t{\n\t}", "title": "" }, { "docid": "0bb9b0b0770a971e53b4808d5f624f7a", "score": "0.515649", "text": "public void setBladeGeometry(byte value) {\n this.bladeGeometry = value;\n }", "title": "" }, { "docid": "f7978bb210cceef4be0b7e05eee49990", "score": "0.5139575", "text": "@Override\r\n\tpublic void setAttributes() {\r\n\t\tArrayList<Point> vertices = getVertices();\r\n\t\ta = edgeLength(vertices.get(0),vertices.get(1));\r\n\t\tb = edgeLength(vertices.get(2),vertices.get(3));\r\n\t\th = Math.sqrt(Math.pow(edgeLength(vertices.get(0),vertices.get(3)),2) - \r\n\t\t\t\tMath.pow(Math.abs(a - b),2));\r\n\t}", "title": "" }, { "docid": "857242de628146a3adaed3c86bd408d8", "score": "0.5129071", "text": "@Override\n public void setPolygon(){\n int xPoly[] = {0,38,44,52,58,96,94,70,60,34,26,0};\n int yPoly[] = {56,14,0,0,14,56,64,64,74,74,62,64};\n shape = new Polygon(xPoly, yPoly, xPoly.length);\n }", "title": "" }, { "docid": "1d911f23ebb9867b9c636df235cb9b58", "score": "0.50972056", "text": "public GeometryInfo(double area, double feret) {\r\n Preconditions.checkArgument(area > 0, \"Area must be greater than zero\");\r\n Preconditions.checkArgument(feret > 0, \"Feret must be greater than zero\");\r\n mArea = area;\r\n mFeret = feret;\r\n }", "title": "" }, { "docid": "2eacf4d48aee8154334253a9487c355d", "score": "0.5090979", "text": "@Override\r\n\tpublic void setMesh(int mesh) {\n\r\n\t}", "title": "" }, { "docid": "6bc77861425187a36d39d4c1127c6793", "score": "0.50789225", "text": "CElement setShape(Shape sh);", "title": "" }, { "docid": "1d1efcc646f3d925426066f6163d71fa", "score": "0.507209", "text": "abstract void geometryMethod();", "title": "" }, { "docid": "1b95b6a2023ed0bd3bacc2cb5552f8b0", "score": "0.5061192", "text": "public String getGeometry();", "title": "" }, { "docid": "997cc9dc27e40dac3b1a86a7088775d5", "score": "0.50440705", "text": "private ViewGeometryObjectDefault(ViewWorldDefault view) {\n super(view);\n \n quad = new TexturedQuad(null, \"ViewWorldDefault-TexturedQuad\");\n quad.setModelBound(new BoundingBox());\n attachChild(quad);\n \n updateSize();\n quad.updateModelBound();\n \n /* TODO: debug\n quad.printRenderState();\n quad.printGeometry();\n */\n }", "title": "" }, { "docid": "33f5bccc4ae6ce72d54da1dcdebb7417", "score": "0.50395054", "text": "public void setPolygon()\n\t{\n\t\tArrayList<Point2D> corners = hullvertexpoints;\n\t\tif(obs_map_outline)\n\t\t\tcorners = poly_vertices;\n\n\t\tint[] xcorners = new int[corners.size()];\n\t\tint[] yCorners = new int[corners.size()];\n\n\t\tfor(int i=0; i<corners.size(); i++)\n\t\t{\n\t\t\tint xCorner = (int)(corners.get(i).getX()*check_bias);\n\t\t\tint yCorner = (int)(corners.get(i).getY()*check_bias);\n\t\t\txcorners[i] = xCorner;\n\t\t\tyCorners[i] = yCorner;\n\t\t\talteredhullnodes.add(new Point2D.Double(xCorner, yCorner));\n\t\t}\n\n\t\talteredPolygon = new Polygon(xcorners, yCorners, corners.size());\n\t}", "title": "" }, { "docid": "27f72433917c5fc6c2fc602c1edfd501", "score": "0.5038533", "text": "public static void setGeometryConstructionTypeHint( GeometryType hint )\n {\n switch ( hint )\n {\n case INDEXED_TRIANGLE_STRIP_ARRAY:\n case INDEXED_TRIANGLE_ARRAY:\n case TRIANGLE_STRIP_ARRAY:\n case TRIANGLE_ARRAY:\n geomConstructTypeHint = hint;\n break;\n \n default:\n throw new UnsupportedOperationException( \"Currently \" + Cylinder.class.getSimpleName() + \" does not support \" + hint );\n }\n }", "title": "" }, { "docid": "8b7e5f85ce32964067c5855a9dcd96e3", "score": "0.5026724", "text": "public void setCoords(Coordinate coords);", "title": "" }, { "docid": "50389b56440bafadde3524db7d107f36", "score": "0.5016193", "text": "public ViewerManager() \n {\n viewerData = new SpatialInfoStore();\n \n \n }", "title": "" }, { "docid": "fdf3b544be9b8ec03c98e2a84656ed3c", "score": "0.50102746", "text": "private void setUpGeometry() {\n\t\t// The bottom panel will have Submit, Cancel buttons\n\t\tpnlBtn.setLayout(new FlowLayout());\n\t\tpnlBtn.add(btnSubmit);\n\t\tpnlBtn.add(btnCancel);\n\n\t\t// Put together the main panel\n\t\tpnlMain.setLayout(new BorderLayout());\n\t\tpnlMain.add(pnlBtn, BorderLayout.SOUTH);\n\t\tsetUpInfo();\t\t\n\t\tpnlMain.add(pnlInfo, BorderLayout.CENTER);\n\t\t\n\t\t// Set defaults for hybrid/electric and tier\n\t\tcboTier.setSelectedIndex(this.tier);\n\t\t//ckbxKind.setSelected(false);\n\t\taddActionListeners();\n\t}", "title": "" }, { "docid": "4dcaf6b6aa9527ba4e510282525b2c08", "score": "0.50091124", "text": "public void initMesh(){\n dmesh.init();\n }", "title": "" }, { "docid": "16f042468deed238b68825683a3eefbb", "score": "0.5007083", "text": "@Override\n\tpublic void renderGeometry(SvgRenderContext state) {\n\t}", "title": "" }, { "docid": "5c3b3d392590ebbf0045357347de123c", "score": "0.5006556", "text": "public void setBounds(GeoRect geoRect);", "title": "" }, { "docid": "870d3e4c4dcce3e8a8599e4b201d7a3a", "score": "0.50008667", "text": "public void setBoundingBox() {\n setLeft(Math.min(x1, x2));\n setTop(Math.min(y1, y2));\n setWidth(Math.abs(x1 - x2));\n setHeight(height = Math.abs(y1 - y2));\n }", "title": "" }, { "docid": "713267963f95cf14d4113c25b1598586", "score": "0.49994317", "text": "public JSONBuilder writeGeom(Geometry geometry) throws JSONException {\n this.object();\n this.key(\"type\");\n this.value(getGeometryName(geometry));\n \n int geometryType = getGeometryType(geometry);\n \n if (geometryType != MULTIGEOMETRY) {\n this.key(\"coordinates\");\n \n switch (geometryType) {\n case POINT:\n writeCoordinate(geometry.getCoordinate());\n \n break;\n \n case LINESTRING:\n case MULTIPOINT:\n writeCoordinates(geometry.getCoordinates());\n \n break;\n \n case POLYGON:\n writePolygon((Polygon) geometry);\n \n break;\n \n case MULTILINESTRING:\n this.array();\n \n for (int i = 0, n = geometry.getNumGeometries(); i < n; i++) {\n writeCoordinates(geometry.getGeometryN(i).getCoordinates());\n }\n \n this.endArray();\n \n break;\n \n case MULTIPOLYGON:\n this.array();\n \n for (int i = 0, n = geometry.getNumGeometries(); i < n; i++) {\n writePolygon((Polygon) geometry.getGeometryN(i));\n }\n \n this.endArray();\n \n break;\n }\n } else {\n writeGeomCollection((GeometryCollection) geometry);\n }\n \n return this.endObject();\n }", "title": "" }, { "docid": "73953f97948ed67e7129b8dd374e05c6", "score": "0.49793977", "text": "void setLocation(Vector3D pos);", "title": "" }, { "docid": "88c5b0ba3fde0d2f884a85c49ff3ab53", "score": "0.49750403", "text": "public void setNewCentroid() {\n double x=0, y=0, z=0;\n double[] extraParams = new double[dim];\n \n for (DataPoint newPt: data) {\n x += newPt.getX();\n y += newPt.getY();\n z += newPt.getZ();\n \n double[] list = newPt.getExtraParams();\n int i = 0;\n \n for(double p : list){\n extraParams[i] += p;\n i++;\n }\n }\n \n for(int i = 0; i < extraParams.length; i++) {\n extraParams[i] /= data.size();\n }\n \n x /= data.size();\n y /= data.size();\n z /= data.size();\n \n DataPoint newPoint = new DataPoint(x, y, z, extraParams);\n \n point = newPoint;\n }", "title": "" }, { "docid": "48937661341bbcef21c15a82e46b6d38", "score": "0.4962005", "text": "public void setPosition(Vector position) { center = position; }", "title": "" }, { "docid": "c43752a62264a660317cd1933722c556", "score": "0.49606723", "text": "private void init() throws FileNotFoundException {\n InputStream in = new FileInputStream(\"models/sphere.obj\");\n util.PolygonMesh mesh = util.ObjImporter.importFile(new VertexAttribProducer(), in, true);\n\n Map<String, String> shaderToVertexAttribute = new HashMap<>();\n shaderToVertexAttribute.put(\"vPosition\", \"position\");\n\n meshObjList.add(new util.ObjectInstance(gl, program, shaderLocations,\n shaderToVertexAttribute,\n mesh, name));\n }", "title": "" }, { "docid": "4d8725122e0bb383c43fdeeb42d01cc5", "score": "0.495927", "text": "public BaseGeometry getModel() {\n return target;\n }", "title": "" }, { "docid": "de1ed7d6ec9df8ff230e48b8c19012cd", "score": "0.49548602", "text": "void setLocation(KreisVererb k) {\r\n this.x = k.x;\r\n this.y = k.y;\r\n this.r = k.r;\r\n }", "title": "" }, { "docid": "9cfd200204d3b101af3536d66318a569", "score": "0.49474904", "text": "protected void setGeos(ArrayList<GeoElement> geos) {\n\t\tthis.geos = geos;\n\t}", "title": "" }, { "docid": "0df1e8674ac18fb4d2a95da7ee71af17", "score": "0.49457526", "text": "@Override\n\tpublic void drawGeometryPicked(Renderer renderer) {\n\t\t\n\t}", "title": "" }, { "docid": "d3bd5e45113cda49dee5ad1331acf8b6", "score": "0.49421808", "text": "public void setPosition(Vector3d position) {\n this.position = position;\n lines = new CompositeShape();\n calculate();\n }", "title": "" }, { "docid": "42433027b54dfb2d1c98e8d8276dc55c", "score": "0.49373725", "text": "private void setFeatures() {\n\t\tmodelBuilder.setBasicFeatures(true);\n\t\tmodelBuilder.setKeyphrasenessFeature(true);\n\t\tmodelBuilder.setFrequencyFeatures(true);\n\t\tmodelBuilder.setPositionsFeatures(true);\n\t\tmodelBuilder.setLengthFeature(true);\n\t\tmodelBuilder.setThesaurusFeatures(true);\n\t}", "title": "" }, { "docid": "4bb6ac71197d953fa55c3e0794af4e26", "score": "0.4937063", "text": "public void set(double x, double y) {\n this.xcoord = x;\n this.ycoord = y;\n }", "title": "" }, { "docid": "01bb265cea96e55c4449acafeebaa348", "score": "0.49368867", "text": "private void setupProperties(Model data, ModelBase model, String name)\n {\n data.name = name;\n data.texture = new int[] {model.textureWidth, model.textureHeight};\n }", "title": "" }, { "docid": "54ccacb2109b20ee27d75cc866478e16", "score": "0.49341547", "text": "public synchronized void set( double x, double y, double z )\r\n {\r\n this.x = x;\r\n this.y = y;\r\n this.z = z;\r\n }", "title": "" }, { "docid": "73fd6121fd9e0a4d22536ec16ebb3f12", "score": "0.4930206", "text": "public String getGeometryService() {\n return geometryService;\n}", "title": "" }, { "docid": "d7be19ad39da87918c27cc6b74f21f6f", "score": "0.49293476", "text": "public void settings() {\n\t\tsize(500, 500, P3D);\r\n\t}", "title": "" }, { "docid": "2e6b1507d9dfdcf6edad14bc6bbf7cbc", "score": "0.49160227", "text": "public void setLocation(double x, double y, double z) {\n\t\t\tlocation = new Vector3D();\n\t\t\tlocation.x = (float)x;\n\t\t\tlocation.y = (float)y;\n\t\t\tlocation.z = (float)z;\n\t\t}", "title": "" }, { "docid": "8917806c5c4c9903115adbc6fc593d66", "score": "0.49019095", "text": "public Scene(){\n meshMap = new HashMap<>();\n instancedMeshMap = new HashMap<>();\n fog = Fog.NOFOG;\n renderShadows = true;\n items = new ArrayList<>();\n }", "title": "" }, { "docid": "2a150e299c0aa43f326363d9818bb389", "score": "0.48997614", "text": "public void settings() {\n\t\t// Setting up the map dimensions\n\t\tsize(768, 512);\n\t}", "title": "" }, { "docid": "8f2080b8b88fd77b9a8d87a1d17bd9aa", "score": "0.4893139", "text": "public abstract void set( Bounds boundsObject);", "title": "" }, { "docid": "46850f3256624bb399960c9cb7b90808", "score": "0.48898223", "text": "public void setModel(IStructuredModel model, IAnnotationModel annotationModel) {due to various forms of init, sometimes\n \t\t// the same variable is set more than once\n \t\t// with the same data, causing unneccesary updates, so\n \t\t// we do nothing if someones' trying to set the same\n \t\t// model we already have\n \t\t// \n \t\tif ((fModel != null) && (fModel == model) && (getDocument() == model.getStructuredDocument())) {\n \t\t\treturn;\n \t\t}\n \t\tfModel = model;\n \t\tsetDocument(model.getStructuredDocument(), annotationModel);\n \n \t\t// CaretEvent is not sent to ViewerSelectionManager after Save As.\n \t\t// Need to notify ViewerSelectionManager here.\n \t\tnotifyViewerSelectionManager(getSelectedRange().x, getSelectedRange().y);\n \t}", "title": "" }, { "docid": "f75089d53a24d934fe5d6722b1f33d6b", "score": "0.488979", "text": "protected Geometry(int clientHeight, int clientWidth) {\n initialiseDistribution();\n \n setFactor(Math.max(\n 1,\n (Math.min((clientHeight - TOP_OFFSET - BOTTOM_OFFSET)\n / getBaseHeight(), (clientWidth - X_OFFSET)\n / getBaseWidth()))));\n \n drawing = false;\n definingStep = false;\n \n createCanvas(clientHeight, clientWidth);\n \n // Draw the outline of the walls and the drawing canvas. Then clip the\n // drawing area.\n drawWalls();\n drawGeometryOutline();\n clipGeometryOutline();\n \n // Initialise drawing colour to black\n setColor(Colour.BLACK);\n \n // Surrounded with try-catch for testing purposes\n try {\n // Initialise drawing tool to a square with radius 3\n setDrawingTool(new SquareDrawingTool(3));\n } catch (Exception e) {\n e.printStackTrace();\n }\n \n initialiseNativeHandlers(canvas.getElement());\n }", "title": "" }, { "docid": "a06cca1fd5f9cee05e379b7ff96d34db", "score": "0.4868384", "text": "public void setGeometry(double outer,double exit_radius,double entry_radius)\n\t\t{\n\t\t\tGrid grid = (Grid)getProjection(\"grid\");\n\t\t\tGridValueLayer geometrylayer = (GridValueLayer)getValueLayer(\"Geometry\");\t\n\t\t\tdouble exit_height = (0.75 * outer) + half_world; //75% of the height of the node\n\t\t\t for (int i =0; i < gridWidth; i++){\n\t\t\t\tfor (int j = 0; j < gridHeight; j++){\n\t\t\t\t\tfor (int k = 0; k < gridz; k++){\n\t\t\t\t\n\t\t\t\t\t\tGridPoint centre = new GridPoint(centreX,centreP,centreP);\n\t\t\t\t\t\tGridPoint otherPoint= new GridPoint(i,j,k);\n\t\t\t\t\t\t//boundary\n\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < outer)//outer_radius\n\t\t\t\t\t\t{geometrylayer.set(15,i, j,k);}\n\t\t\t\t\t\t//outside\n\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) > outer) //outside node\n\t\t\t\t\t\t{geometrylayer.set(0,i, j,k);}\n\t\t\t\t\t\t//then exit /entry\n\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < new_inner) \n\t\t\t\t\t\t{geometrylayer.set(20,i, j,k);}\n\t\t\t\t\t\t// then exit area \n\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < new_inner && j < exit_height) \n\t\t\t\t\t\t{geometrylayer.set(18,i, j,k);}\n\t\t\t\t\t\t//then normal area\n\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < exit_radius )\n\t\t\t\t\t\t{geometrylayer.set(20,i, j,k);}\n\t\t\t\t\t\t//then the inside\n\t\t\t\t\t\tif (grid.getDistance(otherPoint,centre) < entry_radius) //inner_radius\n\t\t\t\t\t\t{geometrylayer.set(24,i, j,k);}\n\t\t\t\t\t}}}\n\t\t}", "title": "" }, { "docid": "23bd5a15fcd543d21699c2b728f45498", "score": "0.4864599", "text": "protected abstract void onGeometryTouched(IGeometry geometry);", "title": "" }, { "docid": "8d14e76032ea1c617424be935cefd738", "score": "0.48630252", "text": "public QuadInformation() {\n initComponents();\n }", "title": "" }, { "docid": "c2fdd6ba9300ba8d8696bb98a9bcacfe", "score": "0.48599187", "text": "public void initialize() {\n // define material for the Box object\n PhongMaterial boxMaterial = new PhongMaterial();\n boxMaterial.setDiffuseColor(Color.CYAN);\n box.setMaterial(boxMaterial);\n // define material for the Cylinder object\n PhongMaterial cylinderMaterial = new PhongMaterial();\n cylinderMaterial.setDiffuseMap(new Image(\"yellowflowers.jpg\"));\n cylinder.setMaterial(cylinderMaterial);\n // define material for the Sphere object\n PhongMaterial sphereMaterial = new PhongMaterial();\n sphereMaterial.setDiffuseColor(Color.RED);\n sphereMaterial.setSpecularColor(Color.WHITE);\n sphereMaterial.setSpecularPower(32);\n sphere.setMaterial(sphereMaterial);\n }", "title": "" }, { "docid": "cbe4690e7eeb71fb7befe074fdfe4ccf", "score": "0.4859362", "text": "public Sphere(int userDiameter, double userWeight)\n {\n // initialise instance variables\n diameter = userDiameter;\n weight = userWeight;\n }", "title": "" }, { "docid": "c25ce10ec5fe1930c408c770be5ce590", "score": "0.48539928", "text": "public void setModelData() {\n\n\t\tCustomer customer = BikeContract.getCustomer();\n\n\t\tmodel.setAllowFireTableDataChanged(Boolean.FALSE);\n\n\t\tmodel.setValueAt(customer.getCustomerName(), 0, 1);\n\t\tmodel.setValueAt(customer.getPrename(), 1, 1);\n\t\tmodel.setValueAt(customer.getStreet(), 2, 1);\n\t\tmodel.setValueAt(customer.getNumber(), 3, 1);\n\t\tmodel.setValueAt(customer.getPostalCode(), 4, 1);\n\t\tmodel.setValueAt(customer.getPlace(), 5, 1);\n\t\tmodel.setValueAt(customer.getMobile(), 6, 1);\n\t\tmodel.setValueAt(customer.getEmail(), 7, 1);\n\n\t\tmodel.setAllowFireTableDataChanged(Boolean.TRUE);\n\n\t}", "title": "" }, { "docid": "558eed4af8dee83eee2b46405e8d5f21", "score": "0.48502496", "text": "public void setPhysicalModel( IPhysicalModel physicalModel );", "title": "" }, { "docid": "19f7fce42a61e8e25da95d6edae126d1", "score": "0.48481", "text": "public void setPosition(double x, double y, double z){\n posX = x;\n posY = y;\n posZ = z;\n }", "title": "" }, { "docid": "b3262a3206dbeb6fbf4d69dd6f36995d", "score": "0.48480254", "text": "public void setCoordinatesSystem( CoordinateSystem crs ) throws Exception {\n if ( !cs.equals( crs ) ) {\n this.cs = crs;\n init( fc );\n }\n }", "title": "" }, { "docid": "fcd2a0427b471103bf9bcc3eb6f491e8", "score": "0.4843674", "text": "protected static void setBoundsForFrame(Frame frame, String geometry) {\n frame.setBounds(parseBounds(geometry));\n }", "title": "" }, { "docid": "bb75b2108ea7a4eb09f1e1a7fbe714ae", "score": "0.48417953", "text": "abstract public void updateVertices();", "title": "" }, { "docid": "bf70c4891595b3c7d1fb3b8521160e39", "score": "0.48264107", "text": "public Geometries() {\n _intersectables = new LinkedList<>();\n }", "title": "" } ]
f658c4ef63132cf9863911a9c3a3caa2
A path with a scheme
[ { "docid": "b29b72850950a2ef3dbc606ec391550a", "score": "0.6623249", "text": "@Test()\n public void pathAbsoluteWithScheme() throws URISyntaxException {\n\n URI pathUri = new URI(\"sftp\", null, null, -1, \"/relativePath\", null, null);\n // An absolute URI specifies a scheme\n assertEquals(\"This test must fail because the path is relative and that we have a scheme\", \"sftp:/relativePath\", pathUri.toString());\n\n\n }", "title": "" } ]
[ { "docid": "dc9465b4e84d80add16fba183f0ce092", "score": "0.6598755", "text": "String getScheme();", "title": "" }, { "docid": "60f414f3e543dde6b631d691f554ed15", "score": "0.6543086", "text": "@Test()\n public void pathAbsoluteWithSchemeAndHost() throws URISyntaxException {\n\n URI pathUri = new URI(\"sftp\", null, \"localhost\", -1, \"/relativePath\", null, null);\n // An absolute URI specifies a scheme\n assertEquals(\"This test must fail because the path is relative and that we have a scheme\", \"sftp://localhost/relativePath\", pathUri.toString());\n\n\n }", "title": "" }, { "docid": "0edaa50044233c0531bded8aeeea03a2", "score": "0.64491814", "text": "public void setScheme(String scheme) {\n this.scheme = scheme;\n }", "title": "" }, { "docid": "0edaa50044233c0531bded8aeeea03a2", "score": "0.64491814", "text": "public void setScheme(String scheme) {\n this.scheme = scheme;\n }", "title": "" }, { "docid": "4b96ebeff3efff9f661c2c588376059b", "score": "0.64023405", "text": "private static void checkPath(String s, String scheme, String path)\n\t\tthrows URISyntaxException {\n\t\tif (scheme != null) {\n\t\t\tif ((path != null)\n\t\t\t\t&& ((path.length() > 0) && (path.charAt(0) != '/')))\n\t\t\t\tthrow new URISyntaxException(s,\n\t\t\t\t\t\"Relative path in absolute URI\");\n\t\t}\n\t}", "title": "" }, { "docid": "a84186fc212cb80df8254cfea925d9cb", "score": "0.6371846", "text": "public abstract String getScheme();", "title": "" }, { "docid": "aac6c3a6f398c7c8a265bead6897363a", "score": "0.63704485", "text": "public Uri normalizeScheme() {\n/* 398 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "123b60a4f68746354aadbc54df609883", "score": "0.6360779", "text": "public String getScheme() {\n return scheme;\n }", "title": "" }, { "docid": "96fece1231d73a94426ebd258c7f521d", "score": "0.6338838", "text": "public String getScheme() {\n return this.scheme;\n }", "title": "" }, { "docid": "1c0e559d0847b92686d70880ab5afceb", "score": "0.6319503", "text": "@Test(expected = java.net.URISyntaxException.class)\n public void pathMustBeAbsoluteWithScheme() throws URISyntaxException {\n\n URI pathUri = new URI(\"sftp\", null, null, -1, \"relativePath\", null, null);\n // An absolute URI specifies a scheme\n assertEquals(\"This test must fail because the path is relative and that we have a scheme\", \"sftp://host:re\", pathUri.toString());\n\n\n }", "title": "" }, { "docid": "63f9646b2a505361873875d1fbb13cab", "score": "0.61664945", "text": "public String getScheme() {\n return this.Scheme;\n }", "title": "" }, { "docid": "a1812311da265c26335d66da69b009c6", "score": "0.6125774", "text": "AbsolutePath getPath();", "title": "" }, { "docid": "018e4a8705a2e1d0c8151f53baaf2d60", "score": "0.6107012", "text": "public CmsPath getPath();", "title": "" }, { "docid": "a3585344477681ed9cc378bcaf7ff6fc", "score": "0.60710603", "text": "private URIBuilder buildURI(String scheme, String host, Integer port, \n String path) {\n URIBuilder builder = new URIBuilder();\n builder.setScheme(scheme)\n .setHost(host)\n .setPath(path);\n\n if (port != null) {\n builder.setPort(port);\n }\n\n return builder;\n }", "title": "" }, { "docid": "1553d482f09f6abd7d2ef1da5594bb9d", "score": "0.60512835", "text": "public void setScheme(String Scheme) {\n this.Scheme = Scheme;\n }", "title": "" }, { "docid": "4aa24714cf5d35244f036aaad55bfc49", "score": "0.6047089", "text": "protected void setScheme(String scheme) {\n\t\tthis.scheme = scheme;\n\t}", "title": "" }, { "docid": "6e0f3f24d4f88384ac0efc2ac893105f", "score": "0.6019917", "text": "protected static Path getFullPathWithSchemeAndAuthority(Path relativePath) {\n return relativePath.makeQualified(defaultStorageUri, relativePath);\n }", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.60103315", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.60103315", "text": "java.lang.String getPath();", "title": "" }, { "docid": "d5b4febb69af752a4c927e4b0080e800", "score": "0.59352446", "text": "String getUrlPath();", "title": "" }, { "docid": "11e3145a79ec2f7aa75889bb2d1e5366", "score": "0.5894338", "text": "protected abstract String getPath();", "title": "" }, { "docid": "f236a8b29acaac47845b3dc8380a5060", "score": "0.58505446", "text": "public URIMatcher setScheme(String scheme) {\n\t\tthis.scheme = scheme==null?null:Pattern.compile(scheme);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "d840d5ade3196ab8926b785cfbb5aa26", "score": "0.5848293", "text": "abstract String getUri();", "title": "" }, { "docid": "f3b6ff6d6178188e5b9992a76aed76b4", "score": "0.5846993", "text": "@Override\r\n\tpublic String getScheme() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "55549651b067f6b811e48f8b8da4c120", "score": "0.5844983", "text": "String getSchemaUri();", "title": "" }, { "docid": "3350b89caf9c0075ec117d61555f6a77", "score": "0.5825907", "text": "public ExternalScheme getScheme() {\n return _scheme;\n }", "title": "" }, { "docid": "6a2e9982f3794ee8fd56e4b6b95df4c6", "score": "0.58206534", "text": "String getUri();", "title": "" }, { "docid": "6a2e9982f3794ee8fd56e4b6b95df4c6", "score": "0.58206534", "text": "String getUri();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5806274", "text": "String getPath();", "title": "" }, { "docid": "058ed687b374c1faa38abd81b4f407be", "score": "0.57766277", "text": "String getScheme() {\n\t\treturn getElement().getAttribute(\"scheme\").trim();\n\t}", "title": "" }, { "docid": "ce88c77739fb5eb09cf82cb504700a9a", "score": "0.5771173", "text": "java.lang.String getUri();", "title": "" }, { "docid": "ce88c77739fb5eb09cf82cb504700a9a", "score": "0.5771173", "text": "java.lang.String getUri();", "title": "" }, { "docid": "ea3c8b471fc471f186d600bd5b3e89e6", "score": "0.57672364", "text": "public String getScheme() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4188f22056e0df13f8761167041b3625", "score": "0.57311493", "text": "protected String getPath() {\r\n\t\t\treturn getServerURI()+path;\r\n\t\t}", "title": "" }, { "docid": "097967d3e9862a34b83ac782a71d5005", "score": "0.5720947", "text": "java.lang.String getURI();", "title": "" }, { "docid": "75373e2af8aa45131ad2a62ff0a0e690", "score": "0.5718098", "text": "String getURI();", "title": "" }, { "docid": "198549d3332c8187979edbffcdbb2f45", "score": "0.57146615", "text": "public abstract boolean hasScheme(String scheme);", "title": "" }, { "docid": "1634bd75db52881314495a8e5c280563", "score": "0.57024646", "text": "public void setScheme(String value) {\n value.getClass();\n this.scheme_ = value;\n }", "title": "" }, { "docid": "369282d41439c0beca7a759a4dd31be0", "score": "0.57001084", "text": "public String getUrlPath();", "title": "" }, { "docid": "076d82e30a0abba63b52e5222f4d0ca0", "score": "0.56817275", "text": "IPath getPath();", "title": "" }, { "docid": "c8f2cf2fb2f4ba2db7643bc5739935fb", "score": "0.56717", "text": "@Test()\n public void pathCanBeRelativeWithoutScheme() throws URISyntaxException {\n\n String relativePath = \"../relativePath\";\n URI pathUri = new URI(null, null, null, -1, relativePath, null, null);\n // An absolute URI specifies a scheme\n assertEquals(\"Relative to current directory, point to the parent, without scheme\", relativePath, pathUri.toString());\n\n relativePath = \"relativePath\";\n pathUri = new URI(null, null, null, -1, relativePath, null, null);\n // An absolute URI specifies a scheme\n assertEquals(\"Relative to current directory, point to the working dir, without scheme\", relativePath, pathUri.toString());\n\n relativePath = \"./relativePath\";\n pathUri = new URI(null, null, null, -1, relativePath, null, null);\n // An absolute URI specifies a scheme\n assertEquals(\"Relative to current directory, point to the working dir, without scheme\", relativePath, pathUri.toString());\n\n }", "title": "" }, { "docid": "84b63f52ada510bf65c712944335aa0d", "score": "0.56509715", "text": "public URI resolveBase(String path) {\n return URI.create(uriInfo.getBaseUri() + path);\n }", "title": "" }, { "docid": "797f1b370392ff05c8977e4d43a86f8b", "score": "0.5645919", "text": "public String getUri();", "title": "" }, { "docid": "92bbb8ddeba4cfb2003fcd65bfc3cc8e", "score": "0.5641788", "text": "URI getUri();", "title": "" }, { "docid": "4377b44872fcb7831384a7f26ae00383", "score": "0.5626088", "text": "protected abstract URI getFilesystemURI()\n throws URISyntaxException, IOException;", "title": "" }, { "docid": "17d04dd41b6cf5794ab15f693864e3c2", "score": "0.56173486", "text": "private void makePath() {\n }", "title": "" }, { "docid": "f650f4d8b6058c8e43357612c6b9a5cf", "score": "0.5612358", "text": "public static String createSinglyURL(String path) {\n\n // create the formatted UTF-8 url\n try {\n return URLUtils.createURL(SINGLY_SCHEME, SINGLY_HOST, path, null);\n }\n catch (URISyntaxException e) {\n return null;\n }\n }", "title": "" }, { "docid": "edcef666123fefaabc1e31b088964f69", "score": "0.5600484", "text": "public static String resolvePath (String href, String base) throws Exception {\r\n \r\n if (base==null) {\r\n System.err.println(\"JarURIResolver.resolvePath> ERROR href=\"+href+\" base=\"+base);\r\n throw new Exception(\"JarURIResolver: missing system Id for base. href=\"+href+\" base=\"+base);\r\n }\r\n \r\n if (base.startsWith(\"file:///\") ) {\r\n System.err.println(\"JarURIResolver.resolvePath> ERROR href=\"+href+\" base=\"+base);\r\n System.err.println(\" Please set Source system Id using jar:// locator to avoid conversion to file:///C:/myPath\");\r\n throw new Exception(\"JarURIResolver: wrong system Id for base. href=\"+href+\" base=\"+base);\r\n }\r\n \r\n if (href==null) {\r\n System.err.println(\"JarURIResolver.resolvePath> ERROR href=\"+href+\" base=\"+base);\r\n throw new Exception(\"JarURIResolver: incorrect href. href=\"+href+\" base=\"+base);\r\n }\r\n \r\n if ( base.endsWith(\"/\") ) {\r\n String baseWithoutFinalSlash = substringBefore(base,\"/\");\r\n return resolvePath(href,baseWithoutFinalSlash);\r\n }\r\n \r\n if ( base.startsWith(\"jar://\") ) {\r\n String baseWithoutLocator = substringAfter(base,\"jar://\");\r\n return resolvePath(href,baseWithoutLocator);\r\n }\r\n \r\n if ( base.startsWith(\"http://\") ) {\r\n String baseWithoutLocator = substringAfter(base,\"http://\");\r\n return resolvePath(href,baseWithoutLocator);\r\n }\r\n \r\n if ( !base.startsWith(\"/\") ) {\r\n return resolvePath(href,\"/\"+base);\r\n }\r\n \r\n if ( href.startsWith(\"../\") ) \r\n {\r\n String parentBase = substringBefore(base,\"/\");\r\n String hrefParentRelative = substringAfter(href,\"../\");\r\n return resolvePath(hrefParentRelative,parentBase);\r\n } \r\n \r\n if ( href.startsWith(\"./\") ) \r\n {\r\n String hrefParentRelative = substringAfter(href,\"./\");\r\n return resolvePath(hrefParentRelative,base);\r\n }\r\n \r\n return base+\"/\"+href;\r\n }", "title": "" }, { "docid": "7c1fc9d164f935e87ba98c0e256dfb1d", "score": "0.5586776", "text": "URI httpsURI();", "title": "" }, { "docid": "14dece71cbefb01f05c9c0d1dbdc8095", "score": "0.5568795", "text": "@NotNull\n\tString getPath();", "title": "" }, { "docid": "118a8b35ed46e3c9e1f1ec091b2a14da", "score": "0.5566698", "text": "public void setScheme(final ExternalScheme scheme) {\n _scheme = scheme;\n }", "title": "" }, { "docid": "bc6a58bf361f257a3ed71e679679b033", "score": "0.555741", "text": "URI getURI();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.5531445", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.5531445", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.5531445", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.5531445", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.5531445", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.5531445", "text": "public String getPath();", "title": "" }, { "docid": "0d411adcd2af5852b15e74ed4431d701", "score": "0.55143434", "text": "public String getUri() {\n return getFtp().getUrl()+path;\n }", "title": "" }, { "docid": "6c38ffb5c61f2b44926670afa6019f0f", "score": "0.5503837", "text": "private Uri buildUri(String scheme, String authority) {\n Uri.Builder uriBuilder = new Uri.Builder();\n uriBuilder.authority(authority);\n uriBuilder.scheme(scheme);\n return uriBuilder.build();\n }", "title": "" }, { "docid": "6c38ffb5c61f2b44926670afa6019f0f", "score": "0.5503837", "text": "private Uri buildUri(String scheme, String authority) {\n Uri.Builder uriBuilder = new Uri.Builder();\n uriBuilder.authority(authority);\n uriBuilder.scheme(scheme);\n return uriBuilder.build();\n }", "title": "" }, { "docid": "94bcf7f9cd21b31199671a3afc221c4a", "score": "0.54990005", "text": "public static Uri fromParts(String scheme, String ssp, String fragment) {\n/* 325 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "e1b41be46502acbb11fa0201c19ceb77", "score": "0.54978895", "text": "public IPath getPath();", "title": "" }, { "docid": "fd58e55aaa32b98ce869a8cdf606ab45", "score": "0.5495516", "text": "private static void getPath() {\n\t\n }", "title": "" }, { "docid": "4ecd04eadbe7ca4ff7dc8565c6ce61f7", "score": "0.5482118", "text": "String path();", "title": "" }, { "docid": "acef57de031d03fcdf6e93ba24bdf19c", "score": "0.54420954", "text": "public String getEndpointScheme() {\n return endpointScheme;\n }", "title": "" }, { "docid": "50d22105fc4301ff8999ada9da94e0e7", "score": "0.54185873", "text": "public URI getURI();", "title": "" }, { "docid": "50d22105fc4301ff8999ada9da94e0e7", "score": "0.54185873", "text": "public URI getURI();", "title": "" }, { "docid": "0f9783cbc26cf3c40f71c5917764b1bb", "score": "0.54064095", "text": "public abstract URI getURI();", "title": "" }, { "docid": "dc74405e76bd08c6b89856c2aaead399", "score": "0.5403448", "text": "private Path getPath(URI fileSystemUri) {\n Path pathFromUri;\n\n if (fileSystemUri.getScheme() != null) {\n pathFromUri = Paths.get(fileSystemUri);\n } else {\n pathFromUri = Paths.get(fileSystemUri.getPath());\n }\n return pathFromUri;\n }", "title": "" }, { "docid": "ba93063a49b16c938477e5f52f6bb960", "score": "0.5401947", "text": "public interface IProtocolParser {\n\n /**\n * parse router path\n *\n * @param protocol\n * @return\n */\n String parsePath(Uri protocol);\n\n}", "title": "" }, { "docid": "e025d3e94595bc52bc45d5fb5167efee", "score": "0.5399708", "text": "String getAbsolutePath();", "title": "" }, { "docid": "d59a0e885b92ba7c7f3502ea1919e400", "score": "0.53602844", "text": "public abstract Path home();", "title": "" }, { "docid": "fb2d93c46dc380207b327684708ad8de", "score": "0.5343313", "text": "URI httpURI();", "title": "" }, { "docid": "c0124c0f4d099fb9cc2afdc4c7e8d92d", "score": "0.53417337", "text": "public String getRealPath(String path) {\n return null;\n }", "title": "" }, { "docid": "9685e63b9ab706d93a9815bbf0dc84af", "score": "0.5340371", "text": "public static String getResolverPath(){\r\n\t\treturn \"http://\" + PlanetsServerConfig.getHostname() + \":\"\r\n\t\t+ PlanetsServerConfig.getPort() + CONTENT_RESOLVER_URI;\r\n\t}", "title": "" }, { "docid": "ad89d14dd653b7809b560013bf6b58a6", "score": "0.5333369", "text": "String getPathInContext ();", "title": "" }, { "docid": "409a48c326a4638a1c70b29f3780d63c", "score": "0.5329914", "text": "public String getPath() {\n return getQualifiedName().replace(':', File.separatorChar);\n }", "title": "" }, { "docid": "020edd3cf0089ab2c39f460d6cf12ea7", "score": "0.53266865", "text": "private ISourceLocation buildSourceLocation(String scheme, String path) {\n\t\ttry {\n\t\t\treturn valueFactory.sourceLocation(scheme, \"\", path);\n\t\t} \n\t\tcatch (URISyntaxException e) {\n\t\t\tthrow new RuntimeException(\"Error while building the source location from: \" + scheme + \" - \" + path);\n\t\t}\n\t}", "title": "" }, { "docid": "23f8d52240136d5643237d793fbfd044", "score": "0.5318374", "text": "public void setPath(URI path) {\n\n this.path = path;\n }", "title": "" }, { "docid": "1432723ce1422bbe726ff30006175f03", "score": "0.5302274", "text": "@Parameter(name = \"path\", displayName = \"Path\")\n String getPath();", "title": "" }, { "docid": "32c63b1248b532471de6ea87b0ab6688", "score": "0.5298535", "text": "public synchronized void addPath(HistoryReference ref, HttpMessage msg) {\r\n \r\n \r\n URI uri = msg.getRequestHeader().getURI();\r\n \r\n String scheme = null;\r\n String host = null;\r\n String path = null;\r\n int port = 80;\r\n SiteNode parent = (SiteNode) getRoot();\r\n StringTokenizer tokenizer = null;\r\n String folder = \"\";\r\n \r\n try {\r\n \r\n scheme = uri.getScheme();\r\n host = scheme + \"://\" + uri.getHost();\r\n port = uri.getPort();\r\n if (port != -1) {\r\n host = host + \":\" + port;\r\n }\r\n \r\n // add host\r\n parent = findAndAddChild(parent, host, ref, msg);\r\n path = uri.getPath();\r\n \r\n if (path == null) {\r\n path = \"\";\r\n }\r\n \r\n tokenizer = new StringTokenizer(path, \"/\");\r\n while (tokenizer.hasMoreTokens()) {\r\n \r\n folder = tokenizer.nextToken();\r\n if (folder != null && !folder.equals(\"\")) {\r\n if (tokenizer.countTokens() == 0) {\r\n // leaf - path name\r\n findAndAddLeaf(parent, folder, ref, msg);\r\n } else {\r\n parent = findAndAddChild(parent, folder, ref, msg);\r\n }\r\n \r\n }\r\n \r\n }\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n \r\n }", "title": "" }, { "docid": "680c176e79307ebf171f52e4082005a3", "score": "0.52925885", "text": "public ClassUri(Class clazz, boolean withScheme) {\n this.clazz = clazz;\n try {\n uri = new URI(withScheme ? SCHEME : null,\n clazz.getName().replace('.', '/'), null);\n } catch (URISyntaxException e) {\n throw new OdinRuntimeException(\"Cannot create URI for \" + clazz, e);\n }\n }", "title": "" }, { "docid": "fdec1260786b28f392ef8582fa6b0c50", "score": "0.52825314", "text": "public URI getUri(String path) {\n return getPrefixer().mergeUris(path);\n }", "title": "" }, { "docid": "ffd04ccfa11bff61e6bc240dca18d178", "score": "0.52810985", "text": "XmlPath getPath();", "title": "" }, { "docid": "b22e7b0fd703869eb55c5e3e4934481d", "score": "0.52742374", "text": "public String getFullPath();", "title": "" }, { "docid": "def781aa9b1906700c86701e8716086c", "score": "0.52680594", "text": "org.hl7.fhir.Uri getSystem();", "title": "" }, { "docid": "af6c883eee9f69204f54fd4b1d571ea4", "score": "0.52655363", "text": "public void setPath(String value) {\r\n explicit = true;\r\n super.setPath(value);\r\n }", "title": "" }, { "docid": "441547d7f7ec195e28150b61475c6159", "score": "0.5251781", "text": "public void setScheme(String scheme) {\n requestHandler.setScheme(scheme);\n }", "title": "" }, { "docid": "3391cb9b0f72db2371315467852aa442", "score": "0.52363837", "text": "public static URI makeURI(String pathname) {\n String userdir = System.getProperty(\"user.dir\");\n userdir = userdir.replace('\\\\', '/');\n\n String sep = \"/\";\n if (userdir.endsWith(\"/\")) {\n sep = \"\";\n }\n\n try {\n if (pathname.startsWith(\"/\")) {\n return new URI(\"file://\" + pathname);\n }\n\n URI file = null;\n\n if (userdir.startsWith(\"/\")) {\n file = new URI(\"file://\" + userdir + sep + pathname);\n } else {\n file = new URI(\"file:///\" + userdir + sep + pathname);\n }\n\n return file;\n } catch (URISyntaxException use) {\n logger.warn(\"Invalid URI syntax in base URI: \" + pathname + \" (in \" + userdir + \" with \\\"\" + sep + \"\\\")\");\n return null;\n }\n\n }", "title": "" }, { "docid": "3d3b733cacba48e9bdb33d47b1b97550", "score": "0.52247304", "text": "URI toUri();", "title": "" }, { "docid": "77878947619efb0137ba9ad8e7cac6e8", "score": "0.5223969", "text": "protected URI getFileSystemURI(int grid) {\n try {\n return new URI(\"igfs://[email protected]:\" + (IpcSharedMemoryServerEndpoint.DFLT_IPC_PORT + grid));\n }\n catch (URISyntaxException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "b2cc9fdf70611f643abf23c8dc02d550", "score": "0.52237004", "text": "@DISPID(291)\r\n @PropGet\r\n java.lang.String getPath();", "title": "" } ]
e10279f74a95487e549c90ad01c147a6
required int32 s2c_code = 1;
[ { "docid": "bf6063c55502e2cdb6dde94ae2c14dc4", "score": "0.6275139", "text": "public boolean hasS2CCode() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.8325193", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.8325193", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.8325193", "text": "int getS2CCode();", "title": "" }, { "docid": "11e6e5d497304a73eb34f7e7f9cc4c39", "score": "0.8325193", "text": "int getS2CCode();", "title": "" }, { "docid": "fe3b582301ed26d3b7b815b258b2a0e2", "score": "0.7423167", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "fe3b582301ed26d3b7b815b258b2a0e2", "score": "0.7423167", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "fe3b582301ed26d3b7b815b258b2a0e2", "score": "0.7423167", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "fe3b582301ed26d3b7b815b258b2a0e2", "score": "0.7423167", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "da71fcad35bba5265d2395de935c6097", "score": "0.7271506", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "da71fcad35bba5265d2395de935c6097", "score": "0.7271506", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "da71fcad35bba5265d2395de935c6097", "score": "0.7271506", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "da71fcad35bba5265d2395de935c6097", "score": "0.7271506", "text": "public int getS2CCode() {\n return s2CCode_;\n }", "title": "" }, { "docid": "46b67b1a1d1caa80fece81211d7fcd5b", "score": "0.68655837", "text": "boolean hasS2CCode();", "title": "" }, { "docid": "46b67b1a1d1caa80fece81211d7fcd5b", "score": "0.68655837", "text": "boolean hasS2CCode();", "title": "" }, { "docid": "46b67b1a1d1caa80fece81211d7fcd5b", "score": "0.68655837", "text": "boolean hasS2CCode();", "title": "" }, { "docid": "46b67b1a1d1caa80fece81211d7fcd5b", "score": "0.68655837", "text": "boolean hasS2CCode();", "title": "" }, { "docid": "770525a52a8712d56adf43282e00ef64", "score": "0.685608", "text": "public Builder setS2CCode(int value) {\n bitField0_ |= 0x00000001;\n s2CCode_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "770525a52a8712d56adf43282e00ef64", "score": "0.685608", "text": "public Builder setS2CCode(int value) {\n bitField0_ |= 0x00000001;\n s2CCode_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "770525a52a8712d56adf43282e00ef64", "score": "0.685608", "text": "public Builder setS2CCode(int value) {\n bitField0_ |= 0x00000001;\n s2CCode_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "770525a52a8712d56adf43282e00ef64", "score": "0.685608", "text": "public Builder setS2CCode(int value) {\n bitField0_ |= 0x00000001;\n s2CCode_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "cb7d870adcb7e1e1f3e16dfa2203a8bb", "score": "0.6589336", "text": "public static final int SCODE_CODE(int sc) {\n\t\treturn sc & 0xFFFF;\n\t}", "title": "" }, { "docid": "fe4f6a81a1dbd494cee7268c1b6d7b00", "score": "0.65142107", "text": "int getSeqNumC2S();", "title": "" }, { "docid": "fe4f6a81a1dbd494cee7268c1b6d7b00", "score": "0.65142107", "text": "int getSeqNumC2S();", "title": "" }, { "docid": "c9dd002734bf6a40e75f49149cd372f1", "score": "0.6499785", "text": "int getSeqNumS2C();", "title": "" }, { "docid": "c9dd002734bf6a40e75f49149cd372f1", "score": "0.6499785", "text": "int getSeqNumS2C();", "title": "" }, { "docid": "e1d689961a411ba90316a346e96c8ba1", "score": "0.62731", "text": "public boolean hasS2CCode() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "e1d689961a411ba90316a346e96c8ba1", "score": "0.62731", "text": "public boolean hasS2CCode() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "e1d689961a411ba90316a346e96c8ba1", "score": "0.62731", "text": "public boolean hasS2CCode() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "e1d689961a411ba90316a346e96c8ba1", "score": "0.62731", "text": "public boolean hasS2CCode() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "9f228fe1ece6e5d5cd946d83b6470e47", "score": "0.62287647", "text": "C1672c mo6829c();", "title": "" }, { "docid": "999d080e737a064abe327a6cec459e1d", "score": "0.6207618", "text": "void mo43394a(C8803c c8803c);", "title": "" }, { "docid": "ad30a4cd3e01524948962c68102f6011", "score": "0.60912097", "text": "boolean hasS2C();", "title": "" }, { "docid": "ad30a4cd3e01524948962c68102f6011", "score": "0.60912097", "text": "boolean hasS2C();", "title": "" }, { "docid": "0b04804e64c613e9fb2120a771783d4c", "score": "0.6086843", "text": "public interface C2438f8 {\n}", "title": "" }, { "docid": "509839b38cf6dff894ebb40c956aa2bb", "score": "0.60656124", "text": "boolean hasC2S();", "title": "" }, { "docid": "509839b38cf6dff894ebb40c956aa2bb", "score": "0.60656124", "text": "boolean hasC2S();", "title": "" }, { "docid": "4a7bcf633e311cd4e0d309cc468175b7", "score": "0.6055626", "text": "@Test public void testOpCode0x2C_2() {\n mem.init(0x2C);\n cpu.setRegL(0xff);\n StepCPU_AssertPcValueAndCycles(1, 4);\n assertEquals(0x00, cpu.getRegL());\n assertFalse(cpu.getN());\n assertTrue(cpu.getH());\n assertTrue(cpu.getZ());\n }", "title": "" }, { "docid": "1bda53a552d4a71cdcb4a7cb30bec071", "score": "0.6010454", "text": "java.lang.String getS2CMsg();", "title": "" }, { "docid": "1bda53a552d4a71cdcb4a7cb30bec071", "score": "0.6010454", "text": "java.lang.String getS2CMsg();", "title": "" }, { "docid": "1bda53a552d4a71cdcb4a7cb30bec071", "score": "0.6010454", "text": "java.lang.String getS2CMsg();", "title": "" }, { "docid": "1bda53a552d4a71cdcb4a7cb30bec071", "score": "0.6010454", "text": "java.lang.String getS2CMsg();", "title": "" }, { "docid": "d0d74beb4b669e5f4b0bca40db57ff9a", "score": "0.6005899", "text": "void mo21554a(C10167a c10167a);", "title": "" }, { "docid": "8e073f03141ea89e8955f45d76f36b6b", "score": "0.59974945", "text": "void mo1108a(C1074o c1074o);", "title": "" }, { "docid": "e52af748dbe8867adf5bd8292113533f", "score": "0.5990147", "text": "C5281j mo4083a(C5274c c5274c);", "title": "" }, { "docid": "964ff2f04e2616317a295c4cdee7f496", "score": "0.59849495", "text": "public interface C12512i {\n}", "title": "" }, { "docid": "09d5fae0623797752af329afd93efedd", "score": "0.59837556", "text": "@Test public void testOpCode0x2C_1() {\n mem.init(0x2C);\n cpu.setRegL(0x0f);\n StepCPU_AssertPcValueAndCycles(1, 4);\n assertEquals(0x10, cpu.getRegL());\n assertFalse(cpu.getN());\n assertTrue(cpu.getH());\n assertFalse(cpu.getZ());\n }", "title": "" }, { "docid": "b90031cec60d6be305225fdc0c682895", "score": "0.5940772", "text": "void mo43395a(C37369l c37369l);", "title": "" }, { "docid": "6962ab0ffb00ad8651d75ef6ccf230e3", "score": "0.59230644", "text": "C7321c mo10181a();", "title": "" }, { "docid": "14472791a31f153163d1fb32af5e8e6e", "score": "0.59078133", "text": "@java.lang.Override\n public int getSeqNumS2C() {\n return seqNumS2C_;\n }", "title": "" }, { "docid": "14472791a31f153163d1fb32af5e8e6e", "score": "0.59065497", "text": "@java.lang.Override\n public int getSeqNumS2C() {\n return seqNumS2C_;\n }", "title": "" }, { "docid": "df2eb705e51b364e59d9488357d69762", "score": "0.59049386", "text": "void mo8320c();", "title": "" }, { "docid": "3615757d66b2974912d300e6abb18239", "score": "0.5880268", "text": "@java.lang.Override\n public int getSeqNumS2C() {\n return seqNumS2C_;\n }", "title": "" }, { "docid": "3615757d66b2974912d300e6abb18239", "score": "0.587957", "text": "@java.lang.Override\n public int getSeqNumS2C() {\n return seqNumS2C_;\n }", "title": "" }, { "docid": "2470b8f66096919c6d5953a783dee61a", "score": "0.58789134", "text": "void mo5400a(C5367c c5367c, C6669c c6669c);", "title": "" }, { "docid": "d4594cd48c865ea6a387405837d07650", "score": "0.5872722", "text": "@Test public void testOpCode0xa2() {\n test8BitAnd(new SourceRegSetter() {\n @Override\n void setReg(int s) {\n cpu.setRegD(s);\n }\n }, 0xa2, 4);\n }", "title": "" }, { "docid": "58ef7b9c347e3d7709c65806af3a418a", "score": "0.5870739", "text": "int getCode();", "title": "" }, { "docid": "58ef7b9c347e3d7709c65806af3a418a", "score": "0.5870739", "text": "int getCode();", "title": "" }, { "docid": "58ef7b9c347e3d7709c65806af3a418a", "score": "0.5870739", "text": "int getCode();", "title": "" }, { "docid": "58ef7b9c347e3d7709c65806af3a418a", "score": "0.5870739", "text": "int getCode();", "title": "" }, { "docid": "58ef7b9c347e3d7709c65806af3a418a", "score": "0.5870739", "text": "int getCode();", "title": "" }, { "docid": "58ef7b9c347e3d7709c65806af3a418a", "score": "0.5870739", "text": "int getCode();", "title": "" }, { "docid": "58ef7b9c347e3d7709c65806af3a418a", "score": "0.5870739", "text": "int getCode();", "title": "" }, { "docid": "8ed6507843e940aa8703152362ed9b69", "score": "0.5856326", "text": "void mo48956a(C40750b c40750b);", "title": "" }, { "docid": "15f89a2646f8afa98330ec3464978fea", "score": "0.58263505", "text": "void mo1110b(C1074o c1074o);", "title": "" }, { "docid": "9794844dcc67941d0690c154e7d7db04", "score": "0.5795474", "text": "@java.lang.Override\n public int getSeqNumC2S() {\n return seqNumC2S_;\n }", "title": "" }, { "docid": "9794844dcc67941d0690c154e7d7db04", "score": "0.5795212", "text": "@java.lang.Override\n public int getSeqNumC2S() {\n return seqNumC2S_;\n }", "title": "" }, { "docid": "2988c7160d07acea9bcea34ffc7ebdad", "score": "0.57670456", "text": "int getSeqNumR2C();", "title": "" }, { "docid": "d1f7347a93a800989a1193c6bf2f354e", "score": "0.5760919", "text": "C1675d mo6832c(byte[] bArr, int i, int i2) throws IOException;", "title": "" }, { "docid": "f84cf7f48935500df0a4a76cbd36d0ab", "score": "0.57577145", "text": "@java.lang.Override\n public int getSeqNumC2S() {\n return seqNumC2S_;\n }", "title": "" }, { "docid": "f84cf7f48935500df0a4a76cbd36d0ab", "score": "0.57548827", "text": "@java.lang.Override\n public int getSeqNumC2S() {\n return seqNumC2S_;\n }", "title": "" }, { "docid": "50345bc34c72026ee33277751a3a69fc", "score": "0.57508767", "text": "public int getCsecond() {\n\treturn C2;\n }", "title": "" }, { "docid": "aaccf040c9d815e8ea3b6040cdfa07c1", "score": "0.5734811", "text": "public Builder setSeqNumS2C(int value) {\n bitField0_ |= 0x00000008;\n seqNumS2C_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b35a7095b3588c380a7585dcfa690871", "score": "0.5730957", "text": "void mo1111b(C1074o c1074o, bi biVar);", "title": "" }, { "docid": "ea920755204d8e003f90c1be19af8e80", "score": "0.5714369", "text": "public Builder setSeqNumC2S(int value) {\n bitField0_ |= 0x00000020;\n seqNumC2S_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ea920755204d8e003f90c1be19af8e80", "score": "0.5713342", "text": "public Builder setSeqNumC2S(int value) {\n bitField0_ |= 0x00000020;\n seqNumC2S_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f01f3fca687dda4a29a2fee6ef361de5", "score": "0.5699564", "text": "public Builder setSeqNumS2C(int value) {\n bitField0_ |= 0x00000100;\n seqNumS2C_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "29e707b3e461f4dadab80342fc5fce76", "score": "0.5698587", "text": "void mo5342a(C32765b c32765b);", "title": "" }, { "docid": "c60dab791211401e2f082417f83fe3eb", "score": "0.56921405", "text": "int getCode()\n {\n return code;\n }", "title": "" }, { "docid": "7f7a7312d2b9656763e6da7992421ea8", "score": "0.5678797", "text": "@Test public void testOpCode0x0C_2() {\n mem.init(0x0C);\n cpu.setRegC(0xff);\n StepCPU_AssertPcValueAndCycles(1, 4);\n assertEquals(0x00, cpu.getRegC());\n assertFalse(cpu.getN());\n assertTrue(cpu.getH());\n assertTrue(cpu.getZ());\n }", "title": "" }, { "docid": "fb2efa6579dcde38b4a26c53b773a0dd", "score": "0.56783324", "text": "boolean hasS2CMsg();", "title": "" }, { "docid": "fb2efa6579dcde38b4a26c53b773a0dd", "score": "0.56783324", "text": "boolean hasS2CMsg();", "title": "" }, { "docid": "fb2efa6579dcde38b4a26c53b773a0dd", "score": "0.56783324", "text": "boolean hasS2CMsg();", "title": "" }, { "docid": "fb2efa6579dcde38b4a26c53b773a0dd", "score": "0.56783324", "text": "boolean hasS2CMsg();", "title": "" }, { "docid": "dfb29adb5ba84e454aec93384b49781a", "score": "0.5676203", "text": "void mo34394a(int i, int i2, String str, C7472b c7472b);", "title": "" }, { "docid": "1d072164c07c1dac097bedea198d2a7c", "score": "0.56725454", "text": "void mo9299a(C2128c1 c1Var, CBError cBError);", "title": "" }, { "docid": "a357d8b41b2512d5ae64ca181bce8125", "score": "0.56709063", "text": "public int code() { return code; }", "title": "" }, { "docid": "0601c0d719851ea4e0899c898929bb7e", "score": "0.56692165", "text": "void mo946a(C0506l c0506l);", "title": "" }, { "docid": "86719c7d099b047392176365f9251905", "score": "0.56622237", "text": "void mo27405a(C11384c cVar, String str, String str2, int i);", "title": "" }, { "docid": "c96960c3719d03a0013b9b8a5675815d", "score": "0.5654039", "text": "int getSeqNumC2R();", "title": "" }, { "docid": "f7a0c55f2e3af981359c0f59109fc6db", "score": "0.565178", "text": "public Builder setS2CMsg(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n s2CMsg_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f7a0c55f2e3af981359c0f59109fc6db", "score": "0.565178", "text": "public Builder setS2CMsg(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n s2CMsg_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f7a0c55f2e3af981359c0f59109fc6db", "score": "0.565178", "text": "public Builder setS2CMsg(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n s2CMsg_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f7a0c55f2e3af981359c0f59109fc6db", "score": "0.565178", "text": "public Builder setS2CMsg(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n s2CMsg_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9fd2eceae105ba0da6d4990627b498ee", "score": "0.56507653", "text": "public interface C0647xx {\n}", "title": "" }, { "docid": "44c9100826003e498da12e05ced351c9", "score": "0.56466967", "text": "private static int m16322c(int i, char[] cArr, int i2) {\n int i3 = i << 2;\n int i4 = i3 + 1;\n char c = f12031i[i3];\n if (c != 0) {\n int i5 = i2 + 1;\n cArr[i2] = c;\n i2 = i5;\n }\n int i6 = i4 + 1;\n char c2 = f12031i[i4];\n if (c2 != 0) {\n int i7 = i2 + 1;\n cArr[i2] = c2;\n i2 = i7;\n }\n int i8 = i2 + 1;\n cArr[i2] = f12031i[i6];\n return i8;\n }", "title": "" }, { "docid": "402d02dbd86f7b89be202fce470f17df", "score": "0.5634469", "text": "void mo41974a(@C5937f C12314c cVar);", "title": "" }, { "docid": "c6736154e88d211b3f9a940997fd2fd6", "score": "0.5624014", "text": "@Test public void testOpCode0x1C_2() {\n mem.init(0x1C);\n cpu.setRegE(0xff);\n StepCPU_AssertPcValueAndCycles(1, 4);\n assertEquals(0x00, cpu.getRegE());\n assertFalse(cpu.getN());\n assertTrue(cpu.getH());\n assertTrue(cpu.getZ());\n }", "title": "" } ]
4b33defa222a7f3d803670a5d29d0f02
Used for populating the year address combo box on the total yearly amount report
[ { "docid": "1695087d050074ff98fad4ef2943d4fd", "score": "0.0", "text": "public String[] getReceiptYearsArr() {\n Set<String> receiptYears = new TreeSet<String>(\n new Comparator<String>() {\n // Sort descending with newest year at the top\n public int compare(String s1, String s2) {\n return Integer.valueOf(s2) - Integer.valueOf(s1);\n }\n }\n );\n List<Receipt> receipts = receiptFetch.fetchReceipts();\n for (Receipt receipt : receipts) {\n receiptYears.add(receipt.getReceiptDate().substring(6)); // Dates are in MM/DD/YYYY format so the year starts at index 6\n }\n if (receiptYears.size() == 0) {\n return new String[] { \"\" };\n } else {\n return receiptYears.toArray(new String[0]);\n }\n }", "title": "" } ]
[ { "docid": "26284c409d6d63ef36fa609fe0564a6c", "score": "0.71197313", "text": "private void fillYearComboBox(){ \n try{\n years.clear();\n connect.setAutoCommit(false);\n cb_ms_year.getSelectionModel().clearSelection();\n cb_ms_year.getItems().clear();\n String query=\"SELECT EXTRACT(YEAR FROM sold_vinyls.date) AS year FROM `sold_vinyls` GROUP BY year ORDER BY year DESC LIMIT 5\"; \n statement = connect.createStatement();\n resultSet = statement.executeQuery(query);\n while(resultSet.next()){\n years.add(resultSet.getString(\"year\"));\n }\n resultSet.close();\n connect.commit(); \n cb_ms_year.getItems().addAll(years);\n } catch (SQLException ex) { \n if (connect != null) {\n try {\n System.out.println(ex.getMessage());\n System.out.println(\"Transaction is roller back...\");\n connect.rollback();\n\n } catch (SQLException ex1) {\n Logger.getLogger(StatisticsController.class.getName()).log(Level.SEVERE, null, ex1);\n }\n }\n } finally {\n if(statement != null) try {\n statement.close();\n } catch (SQLException ex) {\n Logger.getLogger(StatisticsController.class.getName()).log(Level.SEVERE, null, ex);\n } \n } \n }", "title": "" }, { "docid": "5876a0190b217be8a50a51791bfd9be5", "score": "0.6582387", "text": "public JComboBox<String> initYearCombo() {\n\t\tJComboBox<String> temp = new JComboBox<String>();\n\t\tfor (int i = 0; i < 120; i++) {\n\t\t\ttemp.addItem(Integer.toString(LocalDate.now().getYear() - i));\n\t\t}\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "d1cc950c05cda27a0dbef985d059d935", "score": "0.6450603", "text": "private void fillComboBox(){\n \n for (int i = 2018; i < 2026; i++){\n yearPrompt.getItems().add(\"\" + i);\n }\n \n int year = Calendar.getInstance().get(Calendar.YEAR);\n yearPrompt.getSelectionModel().select(year - 2018);\n \n seasonPrompt.getItems().add(\"Winter\");\n seasonPrompt.getItems().add(\"Summer\");\n \n seasonPrompt.getSelectionModel().select(0);\n }", "title": "" }, { "docid": "1d465821ee47de67c257ee5f85f9e692", "score": "0.6433922", "text": "private void displayYearSum(final int year) {\n displaySum(F.readDeductYear(year), F.readDeposYear(year));\n }", "title": "" }, { "docid": "e6f9a63baa0d0ea08e8b823256d4f8de", "score": "0.6269837", "text": "public static ListBox PayYourBillNow_DropDown_CreditCardExp_Year() \n\t{\n\t\treturn new ListBox(\"name=creditCardAccount.expirationYear\");\n\t}", "title": "" }, { "docid": "89eeaacf85a5871f40627917c6df32b9", "score": "0.6267921", "text": "public JComboBox<String> initYearComboForward() {\n\t\tLocalDate date3MonthsAway = LocalDate.now().plusMonths(3);\n\t\tLocalDate now = LocalDate.now();\n\n\t\tJComboBox<String> temp = new JComboBox<String>();\n\t\ttemp.addItem(Integer.toString(now.getYear()));\n\t\twhile (now.isBefore(date3MonthsAway)) {\n\t\t\tif (now.getYear() == date3MonthsAway.getYear())\n\t\t\t\tnow = now.plusDays(1);\n\t\t\telse {\n\t\t\t\ttemp.addItem(Integer.toString(now.getYear()));\n\t\t\t\tnow = now.plusDays(1);\n\t\t\t}\n\t\t}\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "15d3b9f4cb866e0f86caf096c629effd", "score": "0.61477244", "text": "private void doTotalAmountYear() {\r\n System.out.println(\"Enter year in digits\");\r\n int year = input.nextInt();\r\n\r\n System.out.println(\"Total: $\" + log.totalTransactionAmount(year));\r\n }", "title": "" }, { "docid": "a17e426c328ffa21f3fe49003fa06c76", "score": "0.61387444", "text": "void setYearOfStudy() {\n int year = tblPayments.getRowCount();\n\n switch (year) {\n case 0:\n txtYoS.setText(\"1 st Year\");\n break;\n case 1:\n txtYoS.setText(\"1 st Year\");\n break;\n case 2:\n txtYoS.setText(\"1 st Year\");\n break;\n case 3:\n txtYoS.setText(\"2 nd Year\");\n break;\n case 4:\n txtYoS.setText(\"2 nd Year\");\n break;\n case 5:\n txtYoS.setText(\"3 rd Year\");\n break;\n case 6:\n txtYoS.setText(\"3 rd Year\");\n break;\n case 7:\n txtYoS.setText(\"4 th Year\");\n break;\n case 8:\n txtYoS.setText(\"4 th Year\");\n break;\n default:\n txtYoS.setText(\"Out of the Faculty\");\n }\n\n }", "title": "" }, { "docid": "bf34ca34312767078830e337c1b810a5", "score": "0.60862565", "text": "private void displayDate(){\n //Get dates since the year 1930\n int thisYear = Calendar.getInstance().get(Calendar.YEAR);\n for (int i = 1930; i <= thisYear; i++)\n {\n this.years.add(Integer.toString(i));\n }\n\n //Get date field\n Spinner spinner1 = (Spinner) findViewById(R.id.start_date);\n Spinner spinner2 = (Spinner) findViewById(R.id.end_date);\n\n //Create an adapter for dropdown list with the list of years\n this.adapter = new ArrayAdapter<String>(this,\n android.R.layout.simple_spinner_item, this.years);\n\n //Populate dropdown list with the adapter\n spinner1.setAdapter(adapter);\n spinner2.setAdapter(adapter);\n spinner2.setSelection(adapter.getPosition(\"\"+thisYear));\n }", "title": "" }, { "docid": "f26d6a67d2dcecadbab691291d190149", "score": "0.60721475", "text": "public void setYear(int year){\n this.year = year;\n \n }", "title": "" }, { "docid": "38006f2959f52f31bdb2b6456eaeb011", "score": "0.59787005", "text": "public void setYear(int year) {\n this.year = year;\n }", "title": "" }, { "docid": "350c0cc5454b4f46e1c42d78911d0c24", "score": "0.5930827", "text": "public void setYear(String year) {\r\n this.year = year;\r\n }", "title": "" }, { "docid": "f38d2e96157171bd58c2d925e52d8e1a", "score": "0.59096295", "text": "public void setYear(int yr) {\n year = yr;\n }", "title": "" }, { "docid": "cce4f6b94fac964de203aacbe1cf9ac8", "score": "0.5845965", "text": "protected void addValues() {\n for (int i = 0; i < 31; i++)\n date_range[i] = String.valueOf(i + 1);\n\n for (int i = 0; i < 100; i++) {\n tempYear = tempYear + 1;\n year_range[i] = String.valueOf(tempYear);\n }\n\n //Initialize the adapter and attach it to the spinner\n dateAdapter = new ArrayAdapter<String>(this,\n android.R.layout.simple_spinner_item, date_range);\n date_of_birth.setAdapter(dateAdapter);\n monthAdapter = new ArrayAdapter<String>(this,\n android.R.layout.simple_spinner_item, getResources().getStringArray(R.array.months));\n month_of_birth.setAdapter(monthAdapter);\n yearAdapter = new ArrayAdapter<String>(this,\n android.R.layout.simple_spinner_item, year_range);\n year_of_birth.setAdapter(yearAdapter);\n }", "title": "" }, { "docid": "40e5f048907a2cab4c14ff7d9bfc8b4f", "score": "0.5796533", "text": "public void setYear(int year) {\n\t\tthis.year = year;\n\t}", "title": "" }, { "docid": "40e5f048907a2cab4c14ff7d9bfc8b4f", "score": "0.5796533", "text": "public void setYear(int year) {\n\t\tthis.year = year;\n\t}", "title": "" }, { "docid": "26bec42a72042ecdbfde3da708419bce", "score": "0.578781", "text": "public void setYear(String year) {\r\n\t\tthis.year = year;\r\n\t}", "title": "" }, { "docid": "0efd54ed5cbc4eea1e5226297fd60c48", "score": "0.57782406", "text": "public void setYear( int year){\r\n\t\tif(year >2019) {\r\n\t\t\tthis.year = 1990;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.year = year;\r\n\t\t}\r\n\t\tSystem.out.printf(\"Title '%s' added to the library\",bookName);\r\n\t}", "title": "" }, { "docid": "885bfe5adec056c1c448558190e958d8", "score": "0.57522756", "text": "public void setYear(Integer year) {\n this.year = year;\n }", "title": "" }, { "docid": "885bfe5adec056c1c448558190e958d8", "score": "0.57522756", "text": "public void setYear(Integer year) {\n this.year = year;\n }", "title": "" }, { "docid": "8c7a4add88a0406cffc8ec9f4c18dff0", "score": "0.57445246", "text": "public void setYear_of_birth(int year_of_birth) {this.year_of_birth=year_of_birth;}", "title": "" }, { "docid": "59bf1b6594249efa1c2694c1123b808a", "score": "0.5702842", "text": "public void setYear(Short year) {\n this.year = year;\n }", "title": "" }, { "docid": "456eba31c7b106a7d94b97b57c031a5d", "score": "0.5691135", "text": "public void setYear(int year) {\r\n setYear(year, true);\r\n }", "title": "" }, { "docid": "61d73dcc8585fa1e49802bee9887cba0", "score": "0.5675305", "text": "public void setYear(Integer year) {\r\n\t\tthis.year = year;\r\n\t}", "title": "" }, { "docid": "44a38f10d369f26f7223428466bf317c", "score": "0.56570345", "text": "public String getYearString() {\n\treturn _yearString;\n}", "title": "" }, { "docid": "481916d71986fa9660dcd913a3a20e4a", "score": "0.563775", "text": "private void setNumberOfYears( int numberOfYears )\r\n {\r\n this.numberOfYears = numberOfYears;\r\n }", "title": "" }, { "docid": "42f9eaa2e48af6368d46886bac23b6cb", "score": "0.56290686", "text": "public void addYear(final String request) {\n inputField.sendKeys(request);\n buttonAddYear.click();\n }", "title": "" }, { "docid": "e1781f5219b18519c9c5b6fc62b759b9", "score": "0.5619918", "text": "public void setYear(Integer year) {\n\t\tthis.year = year;\n\t}", "title": "" }, { "docid": "5ba513e85c4477f32f0dc34a0967e694", "score": "0.55841106", "text": "public void enterYear(String year)\n\t{\n\t\ttry\n\t\t{\n\t\t\telementhandler.getElement(PropertiesRepository.getString(\"com.trgr.maf.\" + BaseTest.productUnderTest+\".newsyear\")).sendKeys(year);\n\t\t\n\t\t}catch(Exception exc){\n\t\t\textentLogger.log(LogStatus.INFO, \"Error in : enterYear <br>\"+displayErrorMessage(exc));\n\t\t}\n\t}", "title": "" }, { "docid": "6755c0e64c1b289cb6b5c10c3c316e4a", "score": "0.5580747", "text": "public void setYearsOfService(int YearsOfServiceText)\n {\n yearsOfService = YearsOfServiceText;\n }", "title": "" }, { "docid": "6b4a13c92a071e50520b0beafcd27903", "score": "0.5574374", "text": "private void isicmbthn(){\n java.util.Calendar cal = java.util.Calendar.getInstance();\n int awal = cal.get(Calendar.YEAR);\n Integer[] isi = new Integer[60];\n for(int i = 0; i<60; i++){\n isi[i]= awal - i;\n }\n DefaultComboBoxModel dcm = new DefaultComboBoxModel (isi);\n cbY.setModel(dcm);\n }", "title": "" }, { "docid": "806ba78b4a14d3c94d1784d2e3bd6970", "score": "0.557185", "text": "public void setKardexDetailYear(int inventory_DetailYear) { this.inventory_DetailYear = inventory_DetailYear; }", "title": "" }, { "docid": "e48a49a9f976d6396eda312968ada821", "score": "0.5571211", "text": "public void setDobYear(Integer dobYear) {\r\n this.dobYear = dobYear;\r\n }", "title": "" }, { "docid": "d2709bb8e26eeff6072ef1898341128d", "score": "0.5561183", "text": "public paymentStatsForm() {//creates the constructor for the current class\n initComponents();\n this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);//sets the default close operation of the current class to dispose\n populateComboBoxes pop = new populateComboBoxes();//creates an objec t for the populateComboBoxes class\n DefaultComboBoxModel namesModel = new DefaultComboBoxModel(pop.correctStudentsAccordingToGrade(this.addStudentGradeComboBox.getSelectedItem().toString()));//creates a combo box model for the students\n this.addStudentNameComboBox.setModel(namesModel);//sets the model of the tsudents combo box to the namesModel model\n \n paymentsArray pa = new paymentsArray();//creates an object for the paymentsArray class\n this.ProjectedThisMonthLabel.setText(\"\"+pa.totalForCurrentMonth());//sets the projected string text to the amount projected\n this.outstandingThisMonthLabel.setText(\"\"+pa.totalOutstandingForCurrentMonth());//sets the outstanding string text to the amount outstanding\n this.totalPayedThisMonthLabel.setText(\"\"+pa.totalPaidForCurrentMonth());//sets the total string text to the amount total\n }", "title": "" }, { "docid": "4245bbcabd913d867ac7bb04d9a3504d", "score": "0.5548238", "text": "public void selectYearDropdown(String year) {\n\t\twaitForElementVisible(driver, RegisterPageUI.YEAR_DROPDOWN);\r\n\t\tselectDropdownByText(driver, RegisterPageUI.YEAR_DROPDOWN, year);\r\n\t}", "title": "" }, { "docid": "85ab8a8f0a20defcd1ccf74f07fe21b2", "score": "0.55330116", "text": "public void setYearData() {\r\n \r\n Vector<DCPair> yearVolume = CacheManager.instance().getFilterYearlyStat(\r\n SSM.manufactureAttrib.selected, \r\n SSM.makeAttrib.selected, \r\n SSM.modelAttrib.selected,\r\n SSM.yearAttrib.selected);\r\n \r\n Vector<DCPair> c_yearVolume = CacheManager.instance().getFilterYearlyStat(\r\n SSM.c_manufactureAttrib.selected, \r\n SSM.c_makeAttrib.selected, \r\n SSM.c_modelAttrib.selected,\r\n SSM.c_yearAttrib.selected);\r\n \r\n // Sanity check, the year time lines should always have the same size\r\n // regardless of selection criterion\r\n if (yearVolume.size() != c_yearVolume.size()) {\r\n System.err.println(\"Failed regular_year vs compare_year sanity check\");\r\n System.exit(0);\r\n }\r\n \r\n \r\n yearData = new DCPair[ yearVolume.size()];\r\n double max = 0;\r\n \r\n // When in comparison mode, sum up the regular year volume and the comparison year volume\r\n // otherwise just use the regular year volume\r\n if (SSM.useComparisonMode == false) {\r\n for (int i=0; i < yearVolume.size(); i++) {\r\n double volume = yearVolume.elementAt(i).value;\r\n yearData[i] = new DCPair( yearVolume.elementAt(i).key, volume);\r\n if (max < volume) max = volume;\r\n }\r\n } else {\r\n for (int i=0; i < yearVolume.size(); i++) {\r\n double volume = yearVolume.elementAt(i).value + c_yearVolume.elementAt(i).value;\r\n yearData[i] = new DCPair( yearVolume.elementAt(i).key, volume);\r\n if (max < volume) max = volume;\r\n }\r\n }\r\n \r\n yearBarHeight = new double[ yearVolume.size()];\r\n for (int i=0; i < yearVolume.size(); i++) {\r\n yearBarHeight[i] = yearData[i].value / max * yearSlider.height; \r\n }\r\n \r\n yearSlider.tempMaxValue = max;\r\n yearSlider.tempData = yearData;\r\n \r\n if (yearSlider.data != null) {\r\n if (yearAnimator != null) yearAnimator.stop();\r\n yearAnimator = PropertySetter.createAnimator(SSM.TIME_CHANGE_DURATION, yearSlider, \"barHeight\", new DoubleArrayEval(), yearSlider.barHeight, yearBarHeight);\r\n yearAnimator.start();\r\n yearSlider.maxValue = max;\r\n yearSlider.data = yearData;\r\n } else {\r\n yearSlider.maxValue = max;\r\n yearSlider.data = yearData;\r\n yearSlider.barHeight = yearBarHeight;\r\n }\r\n }", "title": "" }, { "docid": "2be5ae43ad11a46bafab2eddca17e3db", "score": "0.5531538", "text": "public synchronized void setYear(int year) {\r\n\t\tcalendar.set(Calendar.YEAR,year);\r\n\t\tpaint(getGraphics());\r\n\t}", "title": "" }, { "docid": "badf3a682116c6fc6a1163de56b192a5", "score": "0.5531076", "text": "public void setAccountYear (java.lang.String accountYear) {\n\t\tthis.accountYear = accountYear;\n\t}", "title": "" }, { "docid": "a5c3afdfaeac5fb3b057655d08708e4d", "score": "0.5529241", "text": "public void setTotalYears(double ty) {\r\n\t\tthis.totalYears = ty;\r\n\t}", "title": "" }, { "docid": "428f111fabfef242b232e1f222e1b1f0", "score": "0.552424", "text": "public void setEndYear(Integer year) {\r\n\t\tthis.endYear = year;\r\n\t}", "title": "" }, { "docid": "b2ffc86f9a98369be603f80f7112eb59", "score": "0.5524069", "text": "public void setYearRange(String start, String end)\r\n\t{\r\n\t\tstartYear = start; endYear = end;\r\n\t}", "title": "" }, { "docid": "30426170ceac13a904dc76af45e40462", "score": "0.55165774", "text": "public void addNextYear() {\n buttonAddNextYear.click();\n }", "title": "" }, { "docid": "b1e27fdbc2270445a927714910d15160", "score": "0.5500038", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jScrollPane1 = new javax.swing.JScrollPane();\n jTable1 = new javax.swing.JTable();\n txtYearSearch = new com.toedter.calendar.JYearChooser();\n jLabel3 = new javax.swing.JLabel();\n txtMonthSearch = new javax.swing.JComboBox<>();\n jButtonCusReportPrint = new javax.swing.JButton();\n txtCusTotal = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n jPanel2 = new javax.swing.JPanel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setSize(new java.awt.Dimension(1920, 1080));\n\n jPanel1.setBackground(new java.awt.Color(255, 255, 255));\n\n jLabel1.setFont(new java.awt.Font(\"Calibri\", 0, 48)); // NOI18N\n jLabel1.setText(\"Monthly Loyal Customer Report\");\n\n jTable1.setFont(new java.awt.Font(\"Calibri\", 0, 18)); // NOI18N\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n\n },\n new String [] {\n \"Customer ID\", \"Customer Name\", \"Contact Number\", \"Total Amount\"\n }\n ) {\n boolean[] canEdit = new boolean [] {\n false, false, false, false\n };\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n jTable1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jTable1MouseClicked(evt);\n }\n });\n jScrollPane1.setViewportView(jTable1);\n\n txtYearSearch.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));\n\n jLabel3.setFont(new java.awt.Font(\"Calibri\", 0, 18)); // NOI18N\n jLabel3.setText(\"Year\");\n\n txtMonthSearch.setFont(new java.awt.Font(\"Calibri\", 0, 18)); // NOI18N\n txtMonthSearch.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\" }));\n\n jButtonCusReportPrint.setBackground(new java.awt.Color(0, 102, 204));\n jButtonCusReportPrint.setFont(new java.awt.Font(\"Calibri\", 1, 18)); // NOI18N\n jButtonCusReportPrint.setForeground(new java.awt.Color(255, 255, 255));\n jButtonCusReportPrint.setText(\"Print Report\");\n jButtonCusReportPrint.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonCusReportPrintActionPerformed(evt);\n }\n });\n\n txtCusTotal.setFont(new java.awt.Font(\"Calibri\", 1, 18)); // NOI18N\n txtCusTotal.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));\n\n jLabel4.setFont(new java.awt.Font(\"Calibri\", 0, 18)); // NOI18N\n jLabel4.setText(\"Total Purchase of Loyal Customers\");\n\n jButton1.setBackground(new java.awt.Color(0, 102, 204));\n jButton1.setFont(new java.awt.Font(\"Calibri\", 1, 18)); // NOI18N\n jButton1.setForeground(new java.awt.Color(255, 255, 255));\n jButton1.setText(\"SEARCH\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jLabel2.setFont(new java.awt.Font(\"Calibri\", 0, 18)); // NOI18N\n jLabel2.setText(\"Month\");\n\n jPanel2.setBackground(new java.awt.Color(0, 102, 204));\n\n jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/images/customerReport.png\"))); // NOI18N\n\n jLabel6.setFont(new java.awt.Font(\"Calibri\", 1, 24)); // NOI18N\n jLabel6.setForeground(new java.awt.Color(255, 255, 255));\n jLabel6.setText(\"Monthly Loyal Customer\");\n\n jLabel7.setFont(new java.awt.Font(\"Calibri\", 1, 24)); // NOI18N\n jLabel7.setForeground(new java.awt.Color(255, 255, 255));\n jLabel7.setText(\"Report\");\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel5)\n .addGap(84, 84, 84))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(32, 32, 32)\n .addComponent(jLabel6))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(108, 108, 108)\n .addComponent(jLabel7)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(406, 406, 406)\n .addComponent(jLabel5)\n .addGap(36, 36, 36)\n .addComponent(jLabel6)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jLabel7)\n .addContainerGap(424, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtYearSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(65, 65, 65)\n .addComponent(jLabel2)\n .addGap(44, 44, 44)\n .addComponent(txtMonthSearch, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(75, 75, 75)\n .addComponent(jButton1)\n .addGap(613, 613, 613))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()\n .addGap(373, 373, 373)\n .addComponent(jLabel1)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 268, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel4)\n .addGap(55, 55, 55)\n .addComponent(txtCusTotal, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jButtonCusReportPrint)\n .addGap(446, 446, 446))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 775, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(565, 565, 565))))))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addGap(59, 59, 59)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(txtMonthSearch, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3)\n .addComponent(jButton1)\n .addComponent(txtYearSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 577, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtCusTotal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButtonCusReportPrint)\n .addComponent(jLabel4))\n .addGap(161, 161, 161))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(3, 3, 3))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "4873b4547732ec9aa6c0bafb33e203c7", "score": "0.549913", "text": "public void setTblAcadYear(TblAcadYearImpl value) {\r\n setAttributeInternal(TBLACADYEAR, value);\r\n }", "title": "" }, { "docid": "5029917c7040366b17adab3e87c636a7", "score": "0.54967827", "text": "public String getLastYear() {\n return firstYear.getText();\n }", "title": "" }, { "docid": "b03b98dc25c0ddb7b40ddf854ff460de", "score": "0.54921395", "text": "public String getYear() {\n return Year;\n }", "title": "" }, { "docid": "b78eb7737bff148e83574f9cd2e6b2c9", "score": "0.5489901", "text": "private void initialise_Spinner_Age() {\r\n\t\ttry {\r\n\t\t\tArrayList<String> yearsTitle = new ArrayList<>();\r\n\t\t\tyearsTitle.add(\"Select Your Birth Year\");\r\n\t\t\tArrayList<String> years = new ArrayList<>();\r\n\t\t\tint thisYear = Calendar.getInstance().get(Calendar.YEAR);\r\n\r\n\t\t\t/*for (int i = 1900; i <= thisYear; i++) {\r\n\t\t\t\tyears.add(Integer.toString(i));\r\n\t\t\t}*/\r\n\r\n\t\t\tfor(int i = thisYear; i >= 1900;i--){\r\n\t\t\t\tyears.add(Integer.toString(i));\r\n\t\t\t}\r\n\t\t\tyearsTitle.addAll(years);\r\n\t\t\tArrayAdapter<String> adapter = new ArrayAdapter<>(this,\r\n\t\t\t\t\tR.layout.spinner_items, yearsTitle);\r\n\t\t\tmYearOfBirthSpinner.setAdapter(adapter);\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "fb7e449d008fc8a219437702949ac460", "score": "0.54859334", "text": "public String getYear() {\r\n return year;\r\n }", "title": "" }, { "docid": "fb7e449d008fc8a219437702949ac460", "score": "0.54859334", "text": "public String getYear() {\r\n return year;\r\n }", "title": "" }, { "docid": "00f66e9a66e31f388296d83e315eaae9", "score": "0.5482817", "text": "public Builder setYear(int value) {\n \n year_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "94c8041704c511709d0d50a8f7138186", "score": "0.54638445", "text": "void onYearChanged(YearPickerView view, int year);", "title": "" }, { "docid": "0b7b666451ff5103d88dbf522ec7da5b", "score": "0.54511607", "text": "public void setYear(String year) {\r\n\t\tif (year != null) {\r\n\t\t\ttry {\r\n\t\t\t\tthis.year = Integer.valueOf(year);\r\n\t\t\t\tdecrementYear();\r\n\t\t\t\tincrementYear();\r\n\t\t\t} catch (NumberFormatException ex) {\r\n\t\t\t\tUtils.console(\"Wrong number format \" + year);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "209674d66c1ba9928944592f986ea11f", "score": "0.5437009", "text": "public void setYearOfFounding(int y) {\r\n\t\tassert (y > 0);\r\n\t\tcompanyYear = y;\r\n\t}", "title": "" }, { "docid": "a31a25a9043dac58b0be7e278d431a36", "score": "0.5433894", "text": "public void setYear(short value) {\r\n this.year = value;\r\n }", "title": "" }, { "docid": "a31a25a9043dac58b0be7e278d431a36", "score": "0.5433894", "text": "public void setYear(short value) {\r\n this.year = value;\r\n }", "title": "" }, { "docid": "ece49daf5c80fbf152c5be441f9a5b0f", "score": "0.54307693", "text": "@Override\n public OptionMakeBO yearDepartFigure(PersonTO to) throws SerException {\n Integer year = to.getYear();\n if (null == year) {\n year = LocalDate.now().getYear();\n }\n String startDate = DateUtil.dateToString(LocalDate.of(year, 1, 1));\n String endDate = DateUtil.dateToString(LocalDate.of(year, 12, DateUtil.getDayByDate(year, 12)));\n String text_1 = \"部门合同立项总金额图表年汇总\" + startDate + \"-\" + endDate;\n return null;\n }", "title": "" }, { "docid": "bbbac56742a02c83f4d16374f9b5629b", "score": "0.54274696", "text": "private void sekarang(){\n java.util.Calendar cal = java.util.Calendar.getInstance();\n int d = cal.get(Calendar.DAY_OF_MONTH);\n int m = cal.get(Calendar.MONTH);\n int y = cal.get(Calendar.YEAR);\n cbD.setSelectedItem(d);\n cbM.setSelectedIndex(m);\n cbY.setSelectedItem(y);\n }", "title": "" }, { "docid": "2c7dd0ee38ddc55e9b04c9032f198d3d", "score": "0.54231215", "text": "public void changeMonthYearLabel(YearMonth yearMonth) {\n calendarDate = new CalendarDate(yearMonth.atEndOfMonth());\n monthYear.setText(calendarDate.getMonthName() + \", \" + calendarDate.getYear());\n }", "title": "" }, { "docid": "999fe46a75c100e89deef77ae1280dc4", "score": "0.5401122", "text": "public String getYear() {\n return year;\n }", "title": "" }, { "docid": "c759aa4f94a19be49e96dd9fc0433ae8", "score": "0.53988445", "text": "public void addSubscriptionYear(int addYear, double data) {\r\n\t\t// System.out.println(addYear + \",\" + data); //For Debugging\r\n\t\tSubscriptionYear newYear = new SubscriptionYear(addYear, data);\r\n\t\tthis.subscriptions.add(newYear);\r\n\t\tif (newYear.getYear() > maxYear) {\r\n\t\t\tmaxYear = newYear.getYear();\r\n\t\t}\r\n\t\tif (newYear.getYear() < minYear) {\r\n\t\t\tminYear = newYear.getYear();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cacf27b10324d2066c6bd7d9fa1a0955", "score": "0.53916574", "text": "void setYear(java.util.Calendar year);", "title": "" }, { "docid": "fc79f27048d74343c22ba3e966c39221", "score": "0.5389368", "text": "public int getYear(){\n\t\treturn _year;\n\t}", "title": "" }, { "docid": "4f8e0e384d2436a12a62385e75e2002c", "score": "0.53805983", "text": "public int getYearSelected(){\n return this.yearSelected;\n }", "title": "" }, { "docid": "ade668016b98a7d70947022c45a2946c", "score": "0.5377179", "text": "public Builder setYear(int value) {\n bitField0_ |= 0x00000020;\n year_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "df27d0de8cae7e36f05ea065a41fe5c3", "score": "0.53688574", "text": "public void setYear(String year) {\r\n this.year = year == null ? null : year.trim();\r\n }", "title": "" }, { "docid": "4a11891e6c1b224ec5c11f889aa034f8", "score": "0.5366376", "text": "public String getYear() {\r\n\t\treturn year;\r\n\t}", "title": "" }, { "docid": "d684d351d9fd8b2cf30df5c5c9f8e709", "score": "0.53655607", "text": "public Year(int year) {\r\n\t\tthis.year = year;\r\n\t}", "title": "" }, { "docid": "fa3f001a61ed8e223d6779b4fd287ed7", "score": "0.53647095", "text": "public Builder clearYear() {\n bitField0_ = (bitField0_ & ~0x00000020);\n year_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "bf1fffb3281e3d1cf777c07655bd11bd", "score": "0.5363176", "text": "public int getYear() {\n return this.year;\n }", "title": "" }, { "docid": "574ce9f2f0b889b5c98d01c7d6e0c79a", "score": "0.5344651", "text": "public Builder clearYear() {\n \n year_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "62f1735644170507cdc6e6f7de0655c8", "score": "0.53424627", "text": "public int getYear(){\n\t\treturn this.year;\n\t}", "title": "" }, { "docid": "b6f1d2409ede35984f0aa36d26407dff", "score": "0.53340876", "text": "public void setYear(final int year) {\n mAdapter.setSelection(year);\n\n post(new Runnable() {\n @Override\n public void run() {\n final int position = mAdapter.getPositionForYear(year);\n if (position >= 0 && position < getCount()) {\n setSelectionCentered(position);\n }\n }\n });\n }", "title": "" }, { "docid": "d622eb2d64fa2b169d53363b31a9f13b", "score": "0.5331672", "text": "public java.lang.String getAccountYear () {\n\t\treturn accountYear;\n\t}", "title": "" }, { "docid": "dd72dfd83001145b4b78a2051e2436bb", "score": "0.5328779", "text": "public int getYear(){\n\t\treturn year;\r\n\t}", "title": "" }, { "docid": "06cb08162484ef5267535255173b2d1c", "score": "0.5325451", "text": "public Year(int year) {\r\n Calendar cal = Calendar.getInstance();\r\n cal.clear();\r\n cal.set(Calendar.YEAR, year);\r\n setCalendar(cal);\r\n }", "title": "" }, { "docid": "6a701e524dac225ad99d86b078494845", "score": "0.5314225", "text": "public void setLC_YEAR(BigDecimal LC_YEAR) {\r\n this.LC_YEAR = LC_YEAR;\r\n }", "title": "" }, { "docid": "8fef7a96af6abb38541064937db24ca6", "score": "0.53097796", "text": "public String getYear() {\n\t\treturn year;\n\t}", "title": "" }, { "docid": "8fef7a96af6abb38541064937db24ca6", "score": "0.53097796", "text": "public String getYear() {\n\t\treturn year;\n\t}", "title": "" }, { "docid": "b31d6f3591d2f046c02ead7e9c452601", "score": "0.53043187", "text": "public final void setYear(final Integer newYear) {\n this.year = newYear;\n }", "title": "" }, { "docid": "60398bed71f304108a225aec18bd183a", "score": "0.5299697", "text": "public void showYear(PApplet app) {\n\t\tfloat[] pos = Main.mmap(this);\n\t\tapp.pushStyle();\n\t\tif(this.yearO==2008)\n\t\tapp.stroke(117,0,176);\n\t\tif(this.yearO==2009)\n\t\tapp.stroke(55,38,214);\n\t\tif(this.yearO==2010)\n\t\tapp.stroke(113,158,248);\n\t\tif(this.yearO==2011)\n\t\tapp.stroke(255,240,0);\n\t\tif(this.yearO==2012)\n\t\tapp.stroke(150,199,38);\n\t\tif(this.yearO==2013)\n\t\tapp.stroke(214,90,19);\n\t\tif(this.yearO==2014)\n\t\tapp.stroke(255,255,255);\n\t\t\n\t\tapp.strokeWeight(2f);\n\t\tapp.point(pos[0], pos[1]);\n\n\t\tapp.popStyle();\n\n\t}", "title": "" }, { "docid": "32a496cf20ff8422834ff3213d6efac9", "score": "0.5299607", "text": "public void setStudentYear(int studentYear){\n\t\tthis.studentYear = studentYear;\n\t}", "title": "" }, { "docid": "5e40430687b2af362d406f2704ca0c36", "score": "0.52957773", "text": "private void nextYear()\n \t{\n \t\tCalendar cal = calendarView.getCalendar();\n \t\tcal.add(Calendar.YEAR, +1);\n \t\tcalendarView.setFirstDisplayedDay(cal.getTime());\n \t}", "title": "" }, { "docid": "51b6c25b2efda34ebb82cdcbe0bbf9cb", "score": "0.52921414", "text": "public void setComboBoxValues() {\n String sql = \"select bNumber from billing where bOk=? group by bNumber\";\n \n cbo_bNumber.removeAllItems();\n try {\n pst = conn.prepareStatement(sql);\n pst.setString(1,\"Yes\");\n rs = pst.executeQuery();\n \n while (rs.next()) {\n cbo_bNumber.addItem(rs.getString(1));\n }\n \n }catch(Exception e) {\n JOptionPane.showMessageDialog(null,\"Billing list cannot be loaded\");\n }finally {\n try{\n rs.close();\n pst.close();\n \n }catch(Exception e) {}\n }\n }", "title": "" }, { "docid": "dd9a4da19f1e131a74fde69ae97baf67", "score": "0.52907884", "text": "public int getYear() {\n return year_;\n }", "title": "" }, { "docid": "dd9a4da19f1e131a74fde69ae97baf67", "score": "0.52907884", "text": "public int getYear() {\n return year_;\n }", "title": "" }, { "docid": "9d53e321e9a8f2523712ebdc184c5456", "score": "0.52831894", "text": "public static Year getBudgetYear(EFINFundsReq fundsReq) {\n final List<Object> parameters = new ArrayList<Object>();\n Year yearObj = null;\n List<Year> yearList = new ArrayList<Year>();\n\n try {\n OBContext.setAdminMode();\n OBQuery<Year> yearQueryObj = OBDal.getInstance().createQuery(Year.class,\n \" as e where e.id in ( \"\n + \" select per.year.id from FinancialMgmtPeriod per where per.client.id= ? and to_date(?,'yyyy-MM-dd') \"\n + \" between to_date(to_char(per.startingDate,'yyyy-MM-dd'),'yyyy-MM-dd') and to_date(to_char(per.endingDate,'yyyy-MM-dd'),'yyyy-MM-dd') )\"\n + \" and e.client.id=?\");\n parameters.add(fundsReq.getClient().getId());\n parameters.add(fundsReq.getAccountingDate());\n parameters.add(fundsReq.getClient().getId());\n yearQueryObj.setParameters(parameters);\n log.debug(\"getParameters:\" + yearQueryObj.getParameters());\n log.debug(\"calendarObj:\" + yearQueryObj.getWhereAndOrderBy());\n log.debug(\"list:\" + yearQueryObj.list().size());\n if (yearQueryObj.list().size() > 0) {\n yearList = yearQueryObj.list();\n yearObj = yearList.get(0);\n return yearObj;\n }\n } catch (Exception e) {\n OBDal.getInstance().rollbackAndClose();\n log.error(\"Exception in getBudgetYear \" + e.getMessage());\n } finally {\n OBContext.restorePreviousMode();\n }\n return yearObj;\n }", "title": "" }, { "docid": "859caaf0a7a83eeff14f8b16e41e1095", "score": "0.5278834", "text": "public int getYear() {\r\n return year;\r\n }", "title": "" }, { "docid": "859caaf0a7a83eeff14f8b16e41e1095", "score": "0.5278834", "text": "public int getYear() {\r\n return year;\r\n }", "title": "" }, { "docid": "ef47f0ba998396a62692a1fecd6a1da3", "score": "0.52760714", "text": "public double getYearEarn(){\n double total = 0;\n\n // for all transactions, check if they occured this year and are credit to add to total\n for (Transaction t : transactions) {\n if(t.getDateTime().getYear() == ZonedDateTime.now().getYear()\n && t.getCredit()){\n total = t.getAmount() + total;\n }\n }\n return total;\n }", "title": "" }, { "docid": "e76b639d9b5f3bad66ffb1ad5880c621", "score": "0.5274888", "text": "public int getYear() {\n return this.year;\n }", "title": "" }, { "docid": "dbdac963ff530248dea7b904f8f99a91", "score": "0.5273181", "text": "public int getYear() { \n return year;\n }", "title": "" }, { "docid": "6240236761c661392b46d2f77a47c14a", "score": "0.5270416", "text": "public static void yearIncrease(){\n year++;\n return;\n }", "title": "" }, { "docid": "53c26b62956ba292548aace7b5272d84", "score": "0.5269749", "text": "public void setYear(int year) {\n if (year < 0) {\n error(\"year must be >= 0, does not handle B.C., not changed\");\n }\n else {\n this.year = year;\n } \n }", "title": "" }, { "docid": "b330e243f1619e3c9ab067ede300887e", "score": "0.5266869", "text": "public int getYear() {\n return year;\n }", "title": "" }, { "docid": "cc42cf2a88023ed58dce82a42cd80218", "score": "0.52644265", "text": "public int getYear()\n {\n return this.productYear;\n }", "title": "" }, { "docid": "9599c02662595ef9ebdce9ebdb8d4a3b", "score": "0.5259512", "text": "public String getTotalFourYearCost()\r\n\t{\r\n\t\ttotalFourYearStr = NumberFormat.getNumberInstance(Locale.US).format(totalFourYearCost);\r\n\t\treturn totalFourYearStr;\r\n\t}", "title": "" }, { "docid": "734eb885f85e1478627b87236ef0af2e", "score": "0.52564186", "text": "String getYear();", "title": "" }, { "docid": "012d875f28e927c19a0a4aae533ad1cd", "score": "0.5255822", "text": "public int getYear() {\n\n return this.year;\n\n }", "title": "" }, { "docid": "6795dfd529abf631e3d63e47edc9d9cc", "score": "0.52546006", "text": "public int YearInput() {\r\n\t\tint year = -1;\r\n\t\tboolean done = false;\r\n\t\twhile (!done) {\r\n\t\t\tString choice = JOptionPane.showInputDialog(null, \"Enter a year. Above 1900\");\r\n\t\t\ttry\t{\r\n\t\t\t\tyear = Integer.parseInt(choice);\r\n\t\t\t} catch (NumberFormatException nfe) {\r\n\t\t\t\tyear = -1;\r\n\t\t\t}\r\n\t\t\tif (year <= 1900) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"You did not enter a valid number for the year. \");\r\n\t\t\t}else {\r\n\t\t\t\tdone = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.year = year;\r\n\t\treturn year;\r\n\t}", "title": "" }, { "docid": "b0fef31c61f1afb76e9a01d0a796d7a3", "score": "0.5242602", "text": "public int getStartYear() {\n return startYear;\n }", "title": "" }, { "docid": "fefda440b28c8281e0d73d119d45a674", "score": "0.5241096", "text": "public int getYear(){\n return this.year;\n }", "title": "" } ]
fa79a8947bee8ed326d89af10ebdd4ab
Dependency inject this bean.
[ { "docid": "dd79b946059d2b31c9fa4b9808ea7c27", "score": "0.63107634", "text": "BeanElementBuilder inject();", "title": "" } ]
[ { "docid": "cb9eb296073a6f4167576eb97cb23b3e", "score": "0.69716233", "text": "@CallSuper\n protected void onInject() {\n getApplicationComponent().inject(this);\n }", "title": "" }, { "docid": "36afcc7ae7f4da7308c5ec7d8f76a302", "score": "0.6756201", "text": "private void injectDependency(){\n ActivityComponent listcomponent = DaggerActivityComponent.builder()\n .activityModule(new ActivityModule(this))\n .build();\n\n listcomponent.inject(this);\n }", "title": "" }, { "docid": "a22e1b6db37b865969b341eda619be2c", "score": "0.66734093", "text": "private void inject() {\n SampleApplication app = ((SampleApplication) getActivity().getApplication());\n mCurrencyProvider = app.getCurrencyProvider();\n }", "title": "" }, { "docid": "86fc6ac9ac491aa46fac189238ef8a3b", "score": "0.6635203", "text": "@Override\n\tpublic void inject(ControllerIntf dep) {\n\t}", "title": "" }, { "docid": "bddc6da73e6a7c744de843d2b6b3885c", "score": "0.6437583", "text": "@PostConstruct\n\tpublic void init() {\n\t SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);\n\t}", "title": "" }, { "docid": "1cda70458d4f004bea71e87609b0297c", "score": "0.6198265", "text": "@Override\n\tpublic void inject(Component parent) {\n\t}", "title": "" }, { "docid": "d477727732d361b2052eb72348ec1403", "score": "0.61878735", "text": "@Override\n protected void initializeInjector() {\n }", "title": "" }, { "docid": "acf5e82941220ef499fd8d85d1d166e6", "score": "0.6169362", "text": "private void injectDependencies() {\n PopularMoviesApplication popularMoviesApplication = (PopularMoviesApplication) getApplication();\n List<Object> activityScopeModules = getModules();\n activityScopeModules.add(new ActivityModule(this));\n activityScopeGraph = popularMoviesApplication.plus(activityScopeModules);\n inject(this);\n }", "title": "" }, { "docid": "d04b6ec1fc9afa229d506261cc4d071a", "score": "0.61617523", "text": "@Override\n protected void inject(Object bean, String requestingBeanName, PropertyValues pvs) throws Throwable {\n\n Class<?> type = field.getType();\n Object o = type.newInstance();\n Object proxy = CglibProxy.getProxy(o, myScan);\n ReflectionUtils.makeAccessible(field);\n field.set(bean, proxy);\n }", "title": "" }, { "docid": "072981c27b4dcef7378fefc079fb69a7", "score": "0.60343415", "text": "@PostConstruct\n private void injected() {\n ((RequestContext) serviceLocator.getService(RequestContext.class)).startRequest();\n }", "title": "" }, { "docid": "66bce0813e9300f4d429fb2c7cd8c718", "score": "0.59756875", "text": "@PostConstruct\n private void init() {\n instance = this;\n }", "title": "" }, { "docid": "4a9ee9436aca38ba886ed8179e016f00", "score": "0.5967446", "text": "@Inject\n public final void injectApplicationScopeAwareInjector() {\n }", "title": "" }, { "docid": "31d6bed37007efb75125ace5b219f087", "score": "0.59632486", "text": "@Override\n @Inject\n public void setCtx(@SpringContext ApplicationContext context) {\n super.setCtx(context);\n }", "title": "" }, { "docid": "4c3f9651df799e0a5075b43145f044a2", "score": "0.5917447", "text": "@ApplicationScope\n@Component(dependencies = SDKDataComponent.class)\npublic interface ApplicationComponent {\n void inject(CloverGoConnectorImpl cloverGoConnectorImpl);\n}", "title": "" }, { "docid": "fff741ca8811b6189e655bbb37867366", "score": "0.58501005", "text": "private void injectSelf(Context context) {\n if (isInEditMode()) {\n return;\n }\n DaggerService.<NewVisitScreen.Component>getDaggerComponent(context,\n DaggerService.DAGGER_SERVICE).inject(this);\n }", "title": "" }, { "docid": "f8ceb06d8db9dc23a5f41af4d4fc0e85", "score": "0.58196616", "text": "@Component\npublic interface CarComponent {\n void inject(Car car);\n}", "title": "" }, { "docid": "9cbca3d95e81582b67e6e87ee9179d1f", "score": "0.57844985", "text": "void injectBusiness(IBusiness business);", "title": "" }, { "docid": "c8bdbbd8aaf2376e9593cbfe6380f182", "score": "0.57594573", "text": "private void initDI(){\n ApplicationComponent component = ((NoteApplication)getApplication()).getApplicationComponent();\n DaggerListComponent.builder()\n .activityModule(new ActivityModule(this))\n .applicationComponent(component)\n .build().inject(this);\n }", "title": "" }, { "docid": "2eb00cb3243948eb010282e11aba7019", "score": "0.5752179", "text": "@Inject\n public void setPersonService() {\n super.setBaseService(personService);\n }", "title": "" }, { "docid": "c406e0b6de5855a92b8822d56d6128a7", "score": "0.5741436", "text": "@AddTodo\n@Component(dependencies = {TodoComponent.class},modules = {AddTodoModule.class})\npublic interface AddTodoWearComponent {\n void inject(AddTodoActivity addTodoActivity);\n}", "title": "" }, { "docid": "1065ac0a57d0b8bad01add759af847a6", "score": "0.56987625", "text": "@Component(modules = PakhsheAzanModule.class)\npublic interface PakhsheAzanComponent {\n\n\n void injectPakhsheAzan(PakhshAzanActiviy pakhshAzanActiviy);\n}", "title": "" }, { "docid": "8cd7642154eed2cf00e6c21a10aeb2a4", "score": "0.5695855", "text": "public PluggingOnlyBean() {\n registration = new Registration();\n registration.setMasterCustomer(new MasterCustomer());\n registration.setMasterService(new MasterService());\n serviceReefer = new ServiceReefer();\n serviceReefer.setMasterContainerType(new MasterContainerType());\n serviceReefer.setMasterPluggingReefer(new MasterPluggingReefer());\n reeferMonitoring = new ReeferMonitoring();\n reeferMonitoring.setServiceReefer(new ServiceReefer());\n }", "title": "" }, { "docid": "8ecc4d9d1b4a53efc248d01b93f39d94", "score": "0.5669099", "text": "@PostConstruct\n public void init() {\n }", "title": "" }, { "docid": "75b2cde79f90d1210014deac97975df6", "score": "0.56604797", "text": "@PostConstruct\n public void init(){\n }", "title": "" }, { "docid": "7532fa88e1ec813b500d53c831c13618", "score": "0.565602", "text": "@PostConstruct\r\n\tprivate void init() {\r\n\t}", "title": "" }, { "docid": "a41cef24923ed306b1abefa650aca2f0", "score": "0.5653669", "text": "@AfterInject\n void initAdapter() {\n orderService.setRestErrorHandler(errorHandler);\n orderAdminService.setRestErrorHandler(errorHandler);\n loadData();\n\n }", "title": "" }, { "docid": "3ddcca87aea4536378d2f20b53f39d33", "score": "0.56049466", "text": "@Override\n public final void init() {\n ensureThatState(serviceList, is(notNullValue()));\n\n // a bit of a workaround, but required if anything in the metamodel (for\n // example, a\n // ValueSemanticsProvider for a date value type) needs to use the Clock\n // singleton\n // we do this after loading the services to allow a service to prime a\n // different clock\n // implementation (eg to use an NTP time service).\n if (!deploymentType.isProduction() && !Clock.isInitialized()) {\n FixtureClock.initialize();\n }\n\n pojoRecreator = persistenceSessionFactoryDelegate.createPojoRecreator(getConfiguration());\n adapterFactory = persistenceSessionFactoryDelegate.createAdapterFactory(getConfiguration());\n objectFactory = persistenceSessionFactoryDelegate.createObjectFactory(getConfiguration());\n identifierGenerator = persistenceSessionFactoryDelegate.createIdentifierGenerator(getConfiguration());\n\n ensureThatState(pojoRecreator, is(not(nullValue())));\n ensureThatState(adapterFactory, is(not(nullValue())));\n ensureThatState(objectFactory, is(not(nullValue())));\n ensureThatState(identifierGenerator, is(not(nullValue())));\n\n servicesInjector = persistenceSessionFactoryDelegate.createServicesInjector(getConfiguration());\n container = persistenceSessionFactoryDelegate.createContainer(getConfiguration());\n\n ensureThatState(servicesInjector, is(not(nullValue())));\n ensureThatState(container, is(not(nullValue())));\n\n runtimeContext = persistenceSessionFactoryDelegate.createRuntimeContext(getConfiguration());\n ensureThatState(runtimeContext, is(not(nullValue())));\n\n \n // wire up components\n\n getSpecificationLoader().injectInto(runtimeContext);\n runtimeContext.injectInto(container);\n runtimeContext.setContainer(container);\n for (Object service : serviceList) {\n runtimeContext.injectInto(service);\n }\n\n servicesInjector.setContainer(container);\n servicesInjector.setServices(serviceList);\n servicesInjector.init();\n }", "title": "" }, { "docid": "cab6ff8f7ba81ebf948c6278206fb211", "score": "0.5590866", "text": "@PostConstruct\n private void construct() {\n }", "title": "" }, { "docid": "d2d0972ee98eecbf9a37e0243d64a941", "score": "0.55824274", "text": "@PostConstruct\n\t@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "e78dff5cb5e6280dfca2e91ee0729889", "score": "0.5571616", "text": "@Component(dependencies = ApplicationComponent.class, modules = ActivityModule.class)\npublic interface ActivityComponent {\n void inject(FirstActivity activity);\n}", "title": "" }, { "docid": "8031e1a63fe5d9ad74e7b4dbf8062fc8", "score": "0.5541675", "text": "@Component(dependencies = AppComponent.class, modules = {NetworkModule.class, LocalModule.class})\n@Singleton\npublic interface DataManagerComponent {\n\n void inject(DataManager dataManager);\n\n}", "title": "" }, { "docid": "cac349d8a9f3d8a1f43301202a29941b", "score": "0.55398977", "text": "@PostConstruct\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "db1d968b100e90657ffa2e25e5fdbff9", "score": "0.5528447", "text": "public Dependency getDependency()\n {\n return _dependency;\n }", "title": "" }, { "docid": "aed2631e815ab72ff51dcf2ef967eecd", "score": "0.5527146", "text": "void injectOn(final Object injectable);", "title": "" }, { "docid": "c44c4e1c138530a01bb428b00aa4eb78", "score": "0.5523713", "text": "@PostConstruct\r\n\tpublic void init() {\n\t\tlazyAcessorio = new LazyAcessorioDataModelo(acessorioDAO);\r\n\t}", "title": "" }, { "docid": "60e6dbdadffb8dd627f65805d0be0fce", "score": "0.5519621", "text": "@PostConstruct\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "920bc51715be912cc4ef90aaad0ea530", "score": "0.55091923", "text": "public void registerDependencies()\n throws ClassNotFoundException {\n \n //Inject PersonServiceProvider\n IPersonDatalayer personDataLayer = new PersonDataLayer();\n IPersonServiceProvider personServiceProvider = new PersonServiceProvider(personDataLayer);\n \n DependencyManager.registerInstance(IPersonDatalayer.class, personDataLayer);\n DependencyManager.registerInstance(IPersonServiceProvider.class, personServiceProvider);\n \n }", "title": "" }, { "docid": "42a32ed62cfd5344616075ac6610514f", "score": "0.5497349", "text": "@Override\n public void inject() {\n Field serverFramePrepender =\n ReflectionUtils.getField(PipelineUtils.class, \"serverFramePrepender\");\n if (serverFramePrepender != null) {\n BungeeCustomServerPrepender customServerPrepender = new BungeeCustomServerPrepender(\n this, ReflectionUtils.castedStaticValue(serverFramePrepender)\n );\n BungeeReflectionUtils.setFieldValue(null, serverFramePrepender, customServerPrepender);\n }\n\n Field framePrepender = ReflectionUtils.getField(PipelineUtils.class, \"framePrepender\");\n\n // Required in order to inject into both Geyser <-> proxy AND proxy <-> server\n // (Instead of just replacing the ChannelInitializer which is only called for\n // player <-> proxy)\n BungeeCustomPrepender customPrepender = new BungeeCustomPrepender(\n this, ReflectionUtils.castedStaticValue(framePrepender)\n );\n\n BungeeReflectionUtils.setFieldValue(null, framePrepender, customPrepender);\n\n injected = true;\n }", "title": "" }, { "docid": "f03cdd1053695ba0c83cc051868df81a", "score": "0.5495781", "text": "@Component(dependencies = INetCompoent.class, modules = PreRegisterModule.class)\npublic interface IPreRegisterComponent {\n void inject(PreRegisterFragment preRegisterFragment);\n}", "title": "" }, { "docid": "261bbe0929513126d7a72c154bf23927", "score": "0.54931504", "text": "@Override public void injectMembers(T t) {\n }", "title": "" }, { "docid": "674855e63156f1c599d651901bc69986", "score": "0.5487585", "text": "@FeatureScope\n@Component(dependencies = {AppApi.class}, modules = {SearchModule.class})\npublic interface SearchComponent {\n void inject(SearchFragment fragment);\n}", "title": "" }, { "docid": "d62d8c4dba591ddd828a2e2b9dfa1d31", "score": "0.5471199", "text": "@Singleton\n@Component(modules = DIModule.class)\npublic interface DIComponent {\n void inject(POCListFragment content);\n\n}", "title": "" }, { "docid": "2451daa4a8417224f3746d4803ce2c22", "score": "0.5468163", "text": "void inject(StardroidApplication app);", "title": "" }, { "docid": "2451daa4a8417224f3746d4803ce2c22", "score": "0.5468163", "text": "void inject(StardroidApplication app);", "title": "" }, { "docid": "2fccbb08bc681972ceb6f637e171e5cf", "score": "0.54657376", "text": "@PostConstruct\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "26441b0929a9397008a627d02495d928", "score": "0.54510933", "text": "@PostConstruct\n public void initialize() {\n }", "title": "" }, { "docid": "27e1a1561d32277e7648ad13f4896ff0", "score": "0.5438655", "text": "@PostConstruct\n\tpublic void initialize(){\n\t}", "title": "" }, { "docid": "133e64b5cdd4f8f9501d69ea7c388627", "score": "0.54257816", "text": "@Singleton\n@Component(modules = {CommonModule.class, WebserviceModule.class})\npublic interface WeatherComponent {\n\n WeatherService getWeatherService();\n\n Bus getBus();\n\n void inject(WeatherService weatherService);\n}", "title": "" }, { "docid": "bdaabff47da9af59f04d4221b90ac4f6", "score": "0.5412686", "text": "void inject(RoutingContext routingContext);", "title": "" }, { "docid": "50d67eb6249ee4b9a9e647019bae4236", "score": "0.5408391", "text": "@PostConstruct\r\n public void init(){\n setAge(45);\r\n }", "title": "" }, { "docid": "65dc5c62064600f50d29f30a64a92193", "score": "0.5394374", "text": "@Override\r\n\tpublic void init() throws ServletException {\n\t\tpartidoService = new PartidoService();\r\n\t}", "title": "" }, { "docid": "50bdc5e7ca42472e7a52bcf374260b92", "score": "0.5388549", "text": "@Singleton\n@Component(modules = {\n KupershotModule.class\n})\npublic interface KupershotComponent {\n void inject(MainActivity activity);\n\n void inject(ImageUploadJob job);\n}", "title": "" }, { "docid": "3d11ab07c910ea80fc9ba7ef1e31ed2c", "score": "0.5386667", "text": "@Singleton\n@Component(modules = {AppModule.class, DataModule.class})\npublic interface IAppComponent {\n\n void inject(RemoteDataBase remoteDataBase);\n\n void inject(VenuesListPresenter venuesListPresenter);\n\n}", "title": "" }, { "docid": "eff76bce684c4d20b86e443c4e724291", "score": "0.5383418", "text": "void init() {\n protectedSelf = protect(ServiceListener.class, this);\n this.subservice.addListener(protectedSelf);\n }", "title": "" }, { "docid": "f631ba91c60f23ac036ae0c8596e7bf1", "score": "0.5376462", "text": "@Singleton\n@Component(modules = {\n ModuleAppMealDeal.class,\n ModuleGson.class,\n ModuleRESTClient.class,\n ModuleSharedPrefs.class\n})\npublic interface ComponentMealDeal {\n\n Context provideContext();\n AppMealDeal provideApplication();\n Gson provideGson();\n RESTClientRetrofit2 provideRestClientRetrofit2();\n SharedPreferences provideSharedPrefs();\n SharedPrefsAPI provideSharedPrefsAPI();\n // LayoutInflater provideLayoutInflater();\n\n void inject(AppMealDeal app);\n void inject(ActivityMain activityMain);\n void inject(ViewModelDealsFeed viewModelDealsFeed);\n void inject(ViewModelMap viewModelMap);\n void inject(ViewModelMain viewModelMain);\n void inject(FragmentDealsMap fragmentDealsMap);\n\n final class Initializer {\n public static ComponentMealDeal init(AppMealDeal app) {\n return DaggerComponentMealDeal.builder()\n .moduleAppMealDeal(new ModuleAppMealDeal(app))\n .moduleGson(new ModuleGson())\n .moduleRESTClient(new ModuleRESTClient())\n .moduleSharedPrefs(new ModuleSharedPrefs())\n .build();\n }\n }\n\n}", "title": "" }, { "docid": "6dea43e9f635ece0fe9b7e5431ce7998", "score": "0.5375161", "text": "@Component(modules = {AppModule.class, UtilsModule.class})\n@Singleton\npublic interface AppComponent {\n\n void doInjection(DuplicateAudio duplicateAudio);\n\n void doInjection(DuplicateDocuments duplicateDocuments);\n\n void doInjection(DuplicateVideo duplicateVideo);\n\n void doInjection(DuplicateImage duplicateImage);\n}", "title": "" }, { "docid": "5709958017ebbc47329f251cfdb70222", "score": "0.53718436", "text": "@ActivityScope\n@Component(modules = SettingsModule.class, dependencies = AppComponent.class)\npublic interface SettingsComponent {\n\n void inject(SettingsActivity activity);\n\n}", "title": "" }, { "docid": "28519bdcc16164c6d59638c6c375be5a", "score": "0.5367955", "text": "@PostConstruct\n @Override\n public void init() {\n super.setFacade(ejbFacade);\n }", "title": "" }, { "docid": "28519bdcc16164c6d59638c6c375be5a", "score": "0.5367955", "text": "@PostConstruct\n @Override\n public void init() {\n super.setFacade(ejbFacade);\n }", "title": "" }, { "docid": "28519bdcc16164c6d59638c6c375be5a", "score": "0.5367955", "text": "@PostConstruct\n @Override\n public void init() {\n super.setFacade(ejbFacade);\n }", "title": "" }, { "docid": "a0be623fa5f5a3322d1a5a51e1755e07", "score": "0.53652275", "text": "@Singleton\r\n@Component(modules = {ApplicationModule.class})\r\npublic interface ApplicationComponent {\r\n void inject(AppApplication app);\r\n void inject(BaseActionbarActivity activity);\r\n\r\n// void inject(LocalDataSource localDataSource);\r\n}", "title": "" }, { "docid": "749e91d4a262262acf8e5482d60388b4", "score": "0.5359544", "text": "@AfterInject\n void initializeDependencies() {\n itemViewModel.setOnItemViewModelsModified((expenses) -> expensesItems.setValue(expensesItems.getValue()));\n }", "title": "" }, { "docid": "80edfd17d9e440d77aeffdcb5fde7cd2", "score": "0.5359403", "text": "public ProcedenciaArticuloBean() {\n this.init();\n }", "title": "" }, { "docid": "7489cf86f179e40a0cf46a5f250d41c9", "score": "0.5355816", "text": "@Inject\n public SuperHeroDatabase() { }", "title": "" }, { "docid": "996302d4b746739f73828cec19c159e8", "score": "0.5355255", "text": "public void init() {\n\t\tbookService = new BookServiceImpl(this.getPortletContext());\n\t}", "title": "" }, { "docid": "600a9f1e0fe8741deb241c6eddb1d668", "score": "0.5349047", "text": "public ServiceAware() {\n\t\tsuper();\n\t\tlogger.info(\"ServiceAware instantiated..\");\n\t}", "title": "" }, { "docid": "e673d1550f042ddbcc9041f82a17909d", "score": "0.53337425", "text": "@Component(modules = {WeatherPresenterModule.class, AppModule.class})\npublic interface WeatherComponent {\n\n void inject(WeatherFragment fragment);\n}", "title": "" }, { "docid": "e5e014eff9e2b2da015921eac0c970d1", "score": "0.5328188", "text": "@Component(modules = FruitModule.class)\npublic interface FruitComponent {\n void inject(Demo7Activity demo7Activity);\n}", "title": "" }, { "docid": "657092d57f5ae9bfe7d3888140a40201", "score": "0.5325348", "text": "@Component(modules = {SaladModle.class})\npublic interface SaladComponent {\n\n void inject(Salad salad);\n}", "title": "" }, { "docid": "f5f7be3177e95840ff455a5090941de2", "score": "0.53253245", "text": "@Singleton\n@Component(modules ={ ApplicationModule.class ,LibsModule.class})\npublic interface ApplicationComponent {\n\n void inject(NewsListApp app);\n\n\n @ApplicationContext\n Context context();\n Application application();\n DataManager getDataManager();\n Retrofit getRetrofit();\n EventBus getEventBus();\n ImageLoader getImageLoader();\n PrefrencesHelper getPreferencesHelper();\n\n}", "title": "" }, { "docid": "d195c5cd172168068c1c22ad5233b8bd", "score": "0.53184235", "text": "public void eagerInitAllBeans() {\n dependencyDescriptors.stream().forEach(dependencyDescriptor -> getBean(convertToQuery(dependencyDescriptor)));\n }", "title": "" }, { "docid": "651e3d3da72356e90377e04b6cd3d34e", "score": "0.53183734", "text": "@Autowired\n public FileService(Container container) {this.container = container;}", "title": "" }, { "docid": "e9b7d3a408dff8b5de135e058c2ef5d7", "score": "0.5314977", "text": "@Autowired\n public PostController(PostService postService) {\n\n this.postService = postService;\n// this.commentService = commentService;\n }", "title": "" }, { "docid": "abef6bf53b9068bd6aa56c2390f55b17", "score": "0.5314191", "text": "@Component(modules = BindsDataModule.class)\npublic interface InjectDataComponent {\n void inject(InjectData injectData);\n}", "title": "" }, { "docid": "66bbb980b6d621a1e3365b2746d80bf9", "score": "0.53138065", "text": "protected void configureComponents() {\n startupContext.getExtensions().forEach(extension -> {\n LOGGER.debug(\"Apply extension beforeInjector: {}\", extension.getClass());\n extension.beforeInjector(startupContext);\n });\n }", "title": "" }, { "docid": "5273d7d387317cc70aa9a5392474c9a6", "score": "0.53086066", "text": "@HacklistApplicationScope\n@Component(modules = {AppModule.class, NetModule.class})\npublic interface AppComponent {\n void inject(HomePresenter homePresenter);\n void inject(BookmarksPresenter bookmarksPresenter);\n}", "title": "" }, { "docid": "1c65667bbd58f31cc4393205e81afe7c", "score": "0.5308354", "text": "@Autowired\n\tpublic CourseOOP(DepartmentOOP departmentOOP) {\n\t\tthis.departmentOOP = departmentOOP;\n\t}", "title": "" }, { "docid": "64340cd234675d3d5c4e15c7e277b563", "score": "0.5299588", "text": "@Singleton\n@Component(modules = {AppModule.class, NetModule.class, BattleRepositoryModule.class})\npublic interface AppComponent {\n\n void inject(BattleRepository battleRepository);\n\n void inject(BattleLocalRepository battleLocalRepository);\n\n void inject(BattleRemoteRepository battleRemoteRepository);\n\n void inject(AllKingsActivity allKingsActivity);\n\n void inject(KingDetails kingDetails);\n}", "title": "" }, { "docid": "f8c6da230aba46f687b41331f5b7a98f", "score": "0.52986467", "text": "public void injectMainController(MainController mainController){this.mainController = mainController;}", "title": "" }, { "docid": "f6464c19220a044d1e7555f9f8891ff9", "score": "0.5297806", "text": "@Singleton\n@Component(modules = {WeatherModule.class, ContextModule.class})\npublic interface ApplicationComponent {\n Context getContext();\n WeatherService getWeatherService();\n\n void inject(MainActivity mainActivity);\n void inject(WeatherService weatherService);\n}", "title": "" }, { "docid": "b4717665a2e89b0cdb933bc70a208e2e", "score": "0.5289819", "text": "@Component(modules = CourseModule.class)\npublic interface CourseComponent {\n void inject(ImplActivity activity);\n}", "title": "" }, { "docid": "53851a7374e6ab12881b640159d41bd5", "score": "0.5285849", "text": "public void init() {\n String[] beanNames = blankcontext.getBeanDefinitionNames();\n ConfigurableListableBeanFactory factory = blankcontext.getBeanFactory();\n // prepare our list of dependencies.\n \n rbimap = new HashMap();\n \n for (int i = 0; i < beanNames.length; i++) {\n String beanname = beanNames[i];\n RSACBeanInfo rbi = new RSACBeanInfo();\n BeanDefinition def = factory.getBeanDefinition(beanname);\n MutablePropertyValues pvs = def.getPropertyValues();\n PropertyValue[] values = pvs.getPropertyValues();\n for (int j = 0; j < values.length; ++j) {\n PropertyValue thispv = values[j];\n Object beannames = propertyValueToBeanName(thispv.getValue());\n boolean skip = false;\n // skip recording the dependency if it was unresolvable (some\n // unrecognised\n // type) or was a single-valued type referring to a static dependency.\n // NB - we now record ALL dependencies - bean-copying strategy\n // discontinued.\n if (beannames == null\n // || beannames instanceof String\n // && !blankcontext.containsBean((String) beannames)\n ) {\n skip = true;\n }\n if (!skip) {\n rbi.recordDependency(thispv.getName(), beannames);\n }\n }\n // yes, I am PERFECTLY aware this is a deprecated method, but it is the\n // only\n // visible way to determine ahead of time whether this will be a factory\n // bean.\n Class beanclass = def.getBeanClass();\n rbi.beanclass = beanclass;\n \n rbi.isfactorybean = FactoryBean.class.isAssignableFrom(beanclass);\n AbstractBeanDefinition abd = (AbstractBeanDefinition) def;\n rbi.initmethod = abd.getInitMethodName();\n rbi.destroymethod = abd.getDestroyMethodName();\n rbi.factorybean = abd.getFactoryBeanName();\n rbi.factorymethod = abd.getFactoryMethodName();\n rbimap.put(beanname, rbi);\n }\n }", "title": "" }, { "docid": "c0a3c81ddc92964c13ebb006c71697e9", "score": "0.52834815", "text": "@PerFragment\n@Component(dependencies = ApplicationComponent.class,modules = PhotoNewsModule.class)\npublic interface PhotoNewsComponent {\n void inject(PhotoNewsFragment fragment);\n}", "title": "" }, { "docid": "1c3f844bfd390221685f9d3b8aef03ca", "score": "0.5281491", "text": "@ActivityScope\n@Component(modules = AppDataModule.class, dependencies = AppComponent.class)\npublic interface AppDataComponent {\n void inject(AppDataActivity activity);\n}", "title": "" }, { "docid": "db2d0c310e0406ad4447a35e8ee4e734", "score": "0.5280389", "text": "public ExampleBean() {\n super();\n }", "title": "" }, { "docid": "68d8b3c5ab1695b7dcd6683813d6db5a", "score": "0.52793175", "text": "@PerActivity\n@Component(dependencies = ApplicationComponent.class, modules = {ActivityModule.class, MeiTuModule.class})\npublic interface MeiTuComponent {\n\n void inject(MeiTuFragment meiTuFragment);\n}", "title": "" }, { "docid": "145c767f8de7532663e8c42b7eb90c41", "score": "0.5274649", "text": "public void inject(T x);", "title": "" }, { "docid": "db502a548e3c7fc175457d2510e2fb3f", "score": "0.5274477", "text": "@Singleton\n@Component(modules = {ApplicationModule.class, ActivityBindingModule.class, ServiceModule.class, RepoServiceModule.class})\npublic interface ApplicationComponent {\n\n\n void inject(MyApplication myApplication);\n}", "title": "" }, { "docid": "8c08c7599dd5bc2fb6d3fce7d9eaecba", "score": "0.5273881", "text": "@SuppressWarnings(\"unused\")\n public CamundaSlueuthContextInjectingAspect() {\n }", "title": "" }, { "docid": "bfa20f582462c4689b362e117443ad39", "score": "0.52642405", "text": "@ActivityScope\n@Component(modules = FundDetailModule.class,dependencies = AppComponent.class)\npublic interface FundDetailComponent {\n void inject(FundDetailActivity activity);\n}", "title": "" }, { "docid": "0e88fcec18bf4d4c6c57565e689afd75", "score": "0.5262942", "text": "@PresenterScope\r\n@Component(dependencies = ServiceComponent.class, modules = ServiceModule.class)\r\npublic interface AppComponent {\r\n\r\n void inject(PlaceDetailPresenter presenter);\r\n void inject(MapPresenter presenter);\r\n}", "title": "" }, { "docid": "f6f359b867050aefd2497acdcf74f93a", "score": "0.52593404", "text": "public AccountServiceImp(AccountRepo accountRepository) { \r\n\t\tsuper();\r\n\t\tthis.accountRepository = accountRepository; // assign the reference of accountRepository into accountRepository object of interface.\r\n\t}", "title": "" }, { "docid": "3ddde0b3ca58615f59cc20a06904f0ff", "score": "0.52570444", "text": "@Autowired\r\n public EmployeeController(@Qualifier(\"employeeServiceIMPL\")EmployeeService employeeService) {\r\n this.employeeService = employeeService;\r\n }", "title": "" }, { "docid": "d72006c54bf2b113e442f3161b3366d4", "score": "0.52521074", "text": "@PostConstruct\n\tpublic void init() {\n\t\t// log.info(\"Iniciado correctamente\");\n\t}", "title": "" }, { "docid": "8b3d86fe6c90a20db982595dc9c672c8", "score": "0.52511066", "text": "@Singleton\n@Component(modules = {LibsModule.class, MessageModule.class})\npublic interface MessageComponent {\n void inject(MessagesFragment fragment);\n}", "title": "" }, { "docid": "c1f677b3b13edb3c591a59033ff3e6b8", "score": "0.5245094", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n // Inject views\n ButterKnife.bind(this);\n initUI();\n mActivityComponent.inject(this);\n notifyPresenter();\n }", "title": "" }, { "docid": "a195fea612726d62da8789b576c9b2ce", "score": "0.5245009", "text": "public void processAutowireTo(Object instance) {\n this.autowireSupportUtil.autowireFieldsTo(instance);\n }", "title": "" }, { "docid": "bb1fe09f1123a756517fddff89787dd0", "score": "0.5239859", "text": "@Override\n\tpublic void onDependencyChanged() {\n\n\t}", "title": "" }, { "docid": "ffe235e727184a34fe6289f027e8e9a3", "score": "0.52397114", "text": "@FragmentScope\n@Component(modules = BookLibraryModule.class,dependencies = AppComponent.class)\npublic interface BookLibraryComponent {\n void inject(BookLibraryFragment fragment);\n}", "title": "" }, { "docid": "2f2e325ba15ecc04fd76ee33ca3b9851", "score": "0.52395546", "text": "public void init(){\n setCrudDao(this.serviceManagerDao);\n }", "title": "" } ]
b7ea30c6823c5b73ca873eace1e8c2aa
Choose the layout type
[ { "docid": "9bdefb3ddd082859fadb0c4b8cc3b16c", "score": "0.0", "text": "@Override\n public View newView(Context context, Cursor cursor, ViewGroup parent) {\n int viewType = getItemViewType(cursor.getPosition());\n int layoutId = -1;\n switch (viewType) {\n case VIEW_TYPE_FIRST: {\n layoutId = R.layout.list_item_first_newz;\n break;\n }\n case VIEW_TYPE_OTHER: {\n if (mTwoPane) {\n layoutId = R.layout.list_item_newz;\n }\n else {\n layoutId = R.layout.list_item_newz_img;\n }\n break;\n }\n }\n\n View view = LayoutInflater.from(context).inflate(layoutId, parent, false);\n\n ViewHolder viewHolder = new ViewHolder(view);\n view.setTag(viewHolder);\n\n return view;\n }", "title": "" } ]
[ { "docid": "c7d3fbd70fb723c274d9892895ffb74a", "score": "0.6942608", "text": "@LayoutRes public abstract int getLayout(int viewType);", "title": "" }, { "docid": "8679fcab9ff15ff5404f4dc2a9856b53", "score": "0.6851925", "text": "public void setLayout(String layoutType) {\n\t\tthis.layout.setValue( layoutType );\n\t}", "title": "" }, { "docid": "b08db8c1999903135a2020ca9d6c5475", "score": "0.68084407", "text": "@LayoutRes\n public abstract int setLayoutId(int viewType);", "title": "" }, { "docid": "95da39089a88b87ada8b46dd04ebb247", "score": "0.6748423", "text": "@NonNull\n public @SearchLayoutType String getLayoutType() {\n return mLayoutType;\n }", "title": "" }, { "docid": "e16951f1ed71ccb4298457b9162c73f9", "score": "0.65461856", "text": "protected abstract int getLayout();", "title": "" }, { "docid": "e16951f1ed71ccb4298457b9162c73f9", "score": "0.65461856", "text": "protected abstract int getLayout();", "title": "" }, { "docid": "59c338d3e63120aef5dabb6fbf4a0e5c", "score": "0.63765717", "text": "private SwitchLayoutMode() { \r\n }", "title": "" }, { "docid": "da484217ceca8771eee4e08aa38dbadd", "score": "0.62631243", "text": "int getViewType();", "title": "" }, { "docid": "52417931f00c12d9d22b3158a0ffa4bd", "score": "0.62533057", "text": "public boolean isLayout() {\n\t\treturn fileType == FileType.LAYOUT;\n\t}", "title": "" }, { "docid": "15a5c5a61d48bbee5f79041cc0b3ec45", "score": "0.62277526", "text": "protected abstract LayoutType[] getExpectedLayout();", "title": "" }, { "docid": "ea68275e855ddc64505870bb8b19d4af", "score": "0.6186789", "text": "public abstract int setLayout();", "title": "" }, { "docid": "c3852272043c22e81ea4e610f6338b15", "score": "0.6176845", "text": "public void setLayout(java.lang.Object layout) {\n this.layout = layout;\n }", "title": "" }, { "docid": "6d525df649a616d5ef1f7b89795ce582", "score": "0.61207986", "text": "public T caseLayoutType(LayoutType object) {\n return null;\n }", "title": "" }, { "docid": "af0f3ab0f533b8df802d6b25012ba8f6", "score": "0.6096357", "text": "protected abstract int getLayoutResId(int viewType);", "title": "" }, { "docid": "25a7d94ebd92d305475c7acb1cad152e", "score": "0.59992915", "text": "public abstract void setLayout();", "title": "" }, { "docid": "5a84ee5c6966a6875058f9eb7247b3b0", "score": "0.59700704", "text": "public LayoutTypeElements getLayoutTypeAccess() {\n\t\treturn eLayoutType;\n\t}", "title": "" }, { "docid": "87cee5c1363f55971301dca33cc92ede", "score": "0.596634", "text": "protected abstract int getLayoutID();", "title": "" }, { "docid": "1ec05fb5e039f8cbfd6253478ba3b560", "score": "0.5957658", "text": "public abstract int getLayoutId();", "title": "" }, { "docid": "1ec05fb5e039f8cbfd6253478ba3b560", "score": "0.5957658", "text": "public abstract int getLayoutId();", "title": "" }, { "docid": "1ec05fb5e039f8cbfd6253478ba3b560", "score": "0.5957658", "text": "public abstract int getLayoutId();", "title": "" }, { "docid": "1ec05fb5e039f8cbfd6253478ba3b560", "score": "0.5957658", "text": "public abstract int getLayoutId();", "title": "" }, { "docid": "ee6da9d97d627c5327e58067931b153e", "score": "0.59314984", "text": "public String getLayout()\n {\n return layout;\n }", "title": "" }, { "docid": "4d1b10d248c8ec07fb958a4b43889adb", "score": "0.59246385", "text": "protected abstract int getLayoutId();", "title": "" }, { "docid": "1756d3f19a2940d112abb0aafc9a1e48", "score": "0.590465", "text": "public void setLayout( LayoutComponent layout );", "title": "" }, { "docid": "cf594ddd33296aeeffb417ee32e5f073", "score": "0.5903071", "text": "void setupLayout(Layout layout);", "title": "" }, { "docid": "5df22a7b4079253f51c8e0def4f1aae7", "score": "0.58984315", "text": "@Override\n public int getViewTypeCount() {\n return 2; // Count of different layouts\n }", "title": "" }, { "docid": "ee53ede5495a0a78a7b8698777739054", "score": "0.5871525", "text": "protected String getViewTypePreference() {\r\n\t\treturn \"viewType\";\r\n\t}", "title": "" }, { "docid": "6a13e5b4aed1580e1703843d3aa19e2d", "score": "0.58543223", "text": "protected abstract int getViewType(int pos);", "title": "" }, { "docid": "9c2754ae4709178640618d4a475eac9f", "score": "0.58322096", "text": "public T caseLayoutDef(LayoutDef object) {\n return null;\n }", "title": "" }, { "docid": "2466c1947595f72f8db837b8f2467c02", "score": "0.5821359", "text": "public LayoutTypeElements getLayoutTypeAccess() {\n return pLayoutType;\n }", "title": "" }, { "docid": "8521b20938bcd566975e43f042d85af8", "score": "0.5784031", "text": "private boolean parseLayoutType(){\n int rows, cols, colSpacing, rowSpacing;\n \n if(tokenList.get(currentIndex).equalsIgnoreCase(\"Flow\")){\n if(isFrame){\n mainFrame.setLayout(new FlowLayout());\n }\n else{\n panel.setLayout(new FlowLayout());\n }\n currentIndex++;\n System.out.println(\"***Successfully Parsed a Flow Layout***\");\n return true;\n }\n else if(tokenList.get(currentIndex).equalsIgnoreCase(\"Grid\")){\n currentIndex++;\n \n //Start parsing Grid Layout parameters:\n if(tokenList.get(currentIndex).equals(\"(\")){\n currentIndex++;\n try{\n rows = Integer.parseInt(tokenList.get(currentIndex));\n System.out.println(\"***Successfully parsed Grid Layout Rows***\");\n }\n catch(NumberFormatException e){\n System.out.println(\"Error with syntax. \" + tokenList.get(currentIndex) + \" is an invalid Grid Layout Row Value.\");\n return false;\n }\n currentIndex++;\n if(tokenList.get(currentIndex).equals(\",\")){\n currentIndex++;\n try{\n cols = Integer.parseInt(tokenList.get(currentIndex));\n System.out.println(\"***Successfully parsed Grid Layout Columns***\");\n }\n catch(NumberFormatException e){\n System.out.println(\"Error with syntax. \" + tokenList.get(currentIndex) + \" is an invalid Grid Layout Column Value.\");\n return false;\n }\n currentIndex++;\n \n //End parameter parsing if only two parameters are given:\n if(tokenList.get(currentIndex).equals(\")\")){\n if(isFrame){\n mainFrame.setLayout(new GridLayout(rows,cols)); \n }\n else{\n panel.setLayout(new GridLayout(rows,cols));\n }\n System.out.println(\"***Successfully parsed GridLayout(rows,cols)***\");\n currentIndex++;\n return true;\n }\n \n //Continue parameter parsing for Grid Layout if more are given:\n else if(tokenList.get(currentIndex).equals(\",\")){\n currentIndex++;\n try{\n colSpacing = Integer.parseInt(tokenList.get(currentIndex));\n System.out.println(\"***Successfully parsed Grid Layout Column Spacing***\");\n }\n catch(NumberFormatException e){\n System.out.println(\"Error with syntax. \" + tokenList.get(currentIndex) + \" is an invalid Grid Layout Column Spacing Value.\");\n return false;\n }\n currentIndex++;\n if(tokenList.get(currentIndex).equals(\",\")){\n currentIndex++;\n try{\n rowSpacing = Integer.parseInt(tokenList.get(currentIndex));\n System.out.println(\"***Successfully parsed Grid Layout Row Spacing***\");\n }\n catch(NumberFormatException e){\n System.out.println(\"Error with syntax. \" + tokenList.get(currentIndex) + \" is an invalid Grid Layout Row Spacing Value.\");\n return false;\n }\n currentIndex++;\n if(tokenList.get(currentIndex).equals(\")\")){\n if(isFrame){\n mainFrame.setLayout(new GridLayout(rows, cols, colSpacing, rowSpacing));\n }\n else{\n panel.setLayout(new GridLayout(rows, cols, colSpacing, rowSpacing));\n }\n currentIndex++;\n System.out.println(\"***Successfully parsed GridLayout(rows,cols,colSpacing,rowSpacing)***\");\n return true;\n }\n }\n }\n }\n }\n }\n System.out.println(\"Problem with Layout syntax detected. Layout was unable to be parsed.\");\n return false;\n }", "title": "" }, { "docid": "b9b9b0296a9d5ecd50ae633f6599c80e", "score": "0.5776335", "text": "public java.lang.Object getLayout() {\n return layout;\n }", "title": "" }, { "docid": "d1598874fa31a55cf2dbdf3680f41282", "score": "0.5699041", "text": "Layout layout(int nodeID);", "title": "" }, { "docid": "c01e0d19ca1989ff6114c7ce8454d2a3", "score": "0.5694236", "text": "public void setViewType(String viewType) {\n this.viewType = viewType;\n }", "title": "" }, { "docid": "5de5fd367756cf2366a3263301a15432", "score": "0.56942046", "text": "protected abstract void layout();", "title": "" }, { "docid": "6a3cd20137d4d002d14b41bb1315764b", "score": "0.56804097", "text": "VisualType getVisualType();", "title": "" }, { "docid": "5961e135f79e5fa69c2debd37a1a5ec6", "score": "0.5672519", "text": "public String getViewType() {\n return viewType;\n }", "title": "" }, { "docid": "e5ccd61d860c5f002e5c2f52b4c43311", "score": "0.5662053", "text": "@Override\n\t\t\tpublic int onCreateViewLayoutID(int viewType) {\n\t\t\t\treturn R.layout.item_for_recyclerview_kucun;\n\t\t\t}", "title": "" }, { "docid": "a03b701956134f082e01fa23a0111529", "score": "0.56619996", "text": "public abstract String getViewType(String database, String node);", "title": "" }, { "docid": "c752dc98eb406f89c390a760065ef5ad", "score": "0.5658435", "text": "public int getLayoutRes() {\n return R.layout.fragment_choose_rent_type;\n }", "title": "" }, { "docid": "9e57237cc798dbf01634d499bd8c90c9", "score": "0.5655228", "text": "Layout layout(String nodeID);", "title": "" }, { "docid": "5c81a98d016fe7afb1a54a555052fae6", "score": "0.56411725", "text": "Layout getMainLayout();", "title": "" }, { "docid": "6847292d488e53eec115be585a7a2a7e", "score": "0.56370586", "text": "public void setDefaultViewTypeLayout(@LayoutRes int layoutResId) {\n addItemType(DEFAULT_VIEW_TYPE, layoutResId);\n }", "title": "" }, { "docid": "23dd6c21731c2f50180cb3dedd84457c", "score": "0.56341493", "text": "public Layout[] getSelectedLayout();", "title": "" }, { "docid": "f667c2f96c3180763f4bd068dbf2b87b", "score": "0.5629787", "text": "public String getLayout() {\n\t\treturn layout.getValue();\n\t}", "title": "" }, { "docid": "616a5a0143d248ad9df70ff62a7d1227", "score": "0.56251645", "text": "public void selectLayout(String layout) throws MalformedURLException, XPathExpressionException {\n getDriver().findElement(By.cssSelector(\"#ues-page-layouts > div[data-id='\" + layout + \"']\")).click();\n }", "title": "" }, { "docid": "c3c7cfbb9277ec21eaf24f03a848ed5b", "score": "0.56248426", "text": "public void setLayout(int Layout)\r\n\t{\r\n\t\t_layout = Layout;\r\n\t\tresetLayout();\r\n\t}", "title": "" }, { "docid": "bb059d07c5456b68e2e8c78742c380b2", "score": "0.558301", "text": "public void selectViewLayout(String layout) throws MalformedURLException, XPathExpressionException {\n getDriver().findElement(By.cssSelector(\"#ues-view-layouts > div[data-id='\" + layout + \"']\")).click();\n }", "title": "" }, { "docid": "41b24e9e54592308f885eaa4c88a02cc", "score": "0.5582736", "text": "public final String getViewType()\n {\n String viewType4a = this.viewType4a;\n if (!this.viewType4aSet)\n {\n // viewType has no pre constraints\n viewType4a = handleGetViewType();\n // viewType has no post constraints\n this.viewType4a = viewType4a;\n if (isMetafacadePropertyCachingEnabled())\n {\n this.viewType4aSet = true;\n }\n }\n return viewType4a;\n }", "title": "" }, { "docid": "cc904cfb741e3c45ab73cd92f0edc9ca", "score": "0.5571728", "text": "java.lang.String getWidgetType();", "title": "" }, { "docid": "94e549c13a82149fa165535471abdd99", "score": "0.55472016", "text": "IMObjectLayoutStrategyFactory getLayoutStrategyFactory();", "title": "" }, { "docid": "8294a4ffe566bb530184102842eb3753", "score": "0.5493621", "text": "public void checkType()\n\t{\n\t\tif(questionInfo.get(0).contains(\"Diagram\"))\n\t\t{\n\t\t\tsetDiagram(false);\n\t\t\tisDiagramPanel();\n\t\t}\n\t\telse if(questionInfo.get(0).contains(\"Code\"))\n\t\t{\n\t\t\tsetDiagram(true);\n\t\t\tisCodePanel();\n\t\t}\n\t}", "title": "" }, { "docid": "e368476adcaafe8088db70e7c57a5890", "score": "0.54926693", "text": "public interface TypeFactory {\n /**\n * 返回每个布局的viewType\n *\n * @param visitable\n * @param resId\n * @return\n */\n int type(Visitable visitable, int resId);\n\n /**\n * 根据不同的type来加载不同的布局\n *\n * @param type\n * @param itemView\n * @return\n */\n BaseViewHolder createViewHolder(int type, View itemView);\n}", "title": "" }, { "docid": "b426742d943ded7db1e0c0e16dcb4eb2", "score": "0.5492111", "text": "private boolean parseLayout(){\n if(tokenList.get(currentIndex).equalsIgnoreCase(\"Layout\")){\n currentIndex++;\n if(parseLayoutType()){\n if(tokenList.get(currentIndex).equals(\":\")){\n currentIndex++;\n System.out.println(\"***Successfully Parsed Layout***\");\n return true;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "5fbbfa59d0092aec2b215ea4650a95b6", "score": "0.54709506", "text": "private void setLayout(com.google.mediapipe.formats.proto.MatrixDataProto.MatrixData.Layout value) {\n layout_ = value.getNumber();\n bitField0_ |= 0x00000004;\n }", "title": "" }, { "docid": "a65ca32695018a2efb519a49998390bc", "score": "0.5459366", "text": "@Override\n\tpublic int setLayout() {\n\t\treturn R.layout.activity_syn_pingjia;\n\t}", "title": "" }, { "docid": "2de49a98c98200916568f3d5498eb5ac", "score": "0.5423194", "text": "protected abstract int getResourceLayoutId();", "title": "" }, { "docid": "7df3d30d041af2d9f608f1094f5e424f", "score": "0.54146516", "text": "public interface Layout {\n String getFormat();\n\n}", "title": "" }, { "docid": "0995238b2f067611bd8c0197f58f8132", "score": "0.5357185", "text": "public abstract void layout(LayoutPartition partition);", "title": "" }, { "docid": "c28233216f59821062852879dd1b0f41", "score": "0.5330956", "text": "public interface Item {\n /**\n * returns Item's viewType, witch usually should be layout id\n */\n int getViewType();\n}", "title": "" }, { "docid": "34d15a080794a2849b027601b0b3e2b7", "score": "0.53285456", "text": "private void setLayout(FlowLayout flowLayout) {\n\t\n}", "title": "" }, { "docid": "7da647e49d37f51e30ad02f193d454b9", "score": "0.5324979", "text": "@Override\n\tpublic int GetLayoutId() {\n\t\treturn R.layout.jmsinfo_layout;\n\t}", "title": "" }, { "docid": "122c8b5e8f36d367778dcf7bdc4d6bab", "score": "0.53241056", "text": "private void setType(int type) {\n if (mType != -1 && mType < views.size()) {\n views.get(mType).hiddenView();\n }\n\n //show use , this is Voice , Image or Text View\n if (type < views.size()) {\n views.get(type).showView();\n }\n //save message type\n mType = type >= 0 && type < views.size() ? type : 0;\n }", "title": "" }, { "docid": "b9c6c862e7ae1b0e131d02ee8169f81f", "score": "0.53182137", "text": "public void setCompactLayout( LayoutComponent layout );", "title": "" }, { "docid": "cc83d680b8a32f5175b28fe2e40ff1a4", "score": "0.531187", "text": "public void doCatLayout(IPageLayout layout) {\r\n\r\n // By default, IPageLayout comes with an editor area. Since we don't want\r\n // it for these perspective, we need to deactivate it\r\n layout.setEditorAreaVisible(false);\r\n\r\n // We want users to be able to customize this perspective\r\n layout.setFixed(false);\r\n\r\n // Create a 2/3 width frame for the left column view parts\r\n String editorArea = layout.getEditorArea();\r\n IFolderLayout topLeft = layout.createFolder(\"topLeft\", IPageLayout.LEFT, this.leftRatio, editorArea);\r\n\r\n // Add the view parts to the left frame\r\n if (leftSideViewIds != null) {\r\n for (int i = 0; i < this.leftSideViewIds.length; i++) {\r\n topLeft.addView(leftSideViewIds[i]);\r\n }\r\n }\r\n\r\n // adding placeholders for when user selects 'open in new tab'\r\n if (leftSidePlaceHolderViewIds != null) {\r\n for (int i = 0; i < this.leftSidePlaceHolderViewIds.length; i++) {\r\n topLeft.addPlaceholder(leftSidePlaceHolderViewIds[i] + \":CAT*\");\r\n }\r\n }\r\n\r\n // create a 1/3 width frame for right column view parts\r\n if (rightSideViewIds != null && rightSideViewIds.length > 0 ) {\r\n \tIFolderLayout topRight = layout.createFolder(\"topRight\", IPageLayout.RIGHT, this.rightRatio, editorArea);\r\n for (int i = 0; i < this.rightSideViewIds.length; i++) {\r\n topRight.addView(rightSideViewIds[i]);\r\n }\r\n }\r\n\r\n // only do something if the left side is split\r\n if (leftSplitSideViewIds != null && leftSplitSideViewIds.length >0) {\r\n // create a 3/4 width frame for right column (of left side) view parts\r\n IFolderLayout topCenter = layout.createFolder(\"topCenter\", IPageLayout.RIGHT, 0.46f, \"topLeft\");\r\n for (int i = 0; i < this.leftSplitSideViewIds.length; i++) {\r\n topCenter.addView(leftSplitSideViewIds[i]);\r\n }\r\n }\r\n\r\n // just placeholders\r\n IPlaceholderFolderLayout bottom = layout.createPlaceholderFolder(\"bottom\", IPageLayout.BOTTOM, 0.75f, \"topLeft\");\r\n bottom.addPlaceholder(CatViewIDs.PROGRESS_MONITOR_VIEW);\r\n\r\n this.bottomCenter = layout.createFolder(\"bottomCenter\", IPageLayout.BOTTOM, 0.67f, \"topLeft\");\r\n bottomCenter.addView(bottomViewId);\r\n \r\n \r\n // Add shortcuts to the Window->Show View menu\r\n if (showViewShortcutViewIds != null) {\r\n for (int i = 0; i < this.showViewShortcutViewIds.length; i++) {\r\n layout.addShowViewShortcut(showViewShortcutViewIds[i]);\r\n }\r\n }\r\n\r\n // Add shortcuts to the Window->Open Perspective menu\r\n if(this.perspectiveShortcuts == null){\r\n //use defaults \r\n layout.addPerspectiveShortcut(CatPerspectiveIDs.ADMIN_DATA_BROWSER);\r\n layout.addPerspectiveShortcut(CatPerspectiveIDs.SEARCH);\r\n layout.addPerspectiveShortcut(CatPerspectiveIDs.USER_PERSPECTIVE);\r\n layout.addPerspectiveShortcut(CatPerspectiveIDs.TEAM_PERSPECTIVE);\r\n }else{\r\n for (String perspectiveShortcutId : this.perspectiveShortcuts) {\r\n layout.addPerspectiveShortcut(perspectiveShortcutId);\r\n }\r\n }\r\n\r\n // add shortcuts to File->new menu\r\n if(this.newWizardShortcuts == null){\r\n layout.addNewWizardShortcut(CatWizardIDs.NEW_FOLDER);\r\n layout.addNewWizardShortcut(CatWizardIDs.NEW_TAXONOMY);\r\n layout.addNewWizardShortcut(CatWizardIDs.NEW_PROJECT);\r\n layout.addNewWizardShortcut(CatWizardIDs.NEW_COMMENT);\r\n }else{\r\n for (String newWizardId : this.newWizardShortcuts) {\r\n layout.addNewWizardShortcut(newWizardId);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "af1036872fc24c719317855ce5f9dd28", "score": "0.5307824", "text": "public void loadLayout(){\r\n\r\n if (dropLayout.getValue() == null){\r\n labelBott.setText(\"Layout not selected.\");\r\n return;\r\n }\r\n\r\n CollectionType javaType = mapper.getTypeFactory().constructCollectionType(List.class, Shelf.class);\r\n try {\r\n shelfData.setShelves(mapper.readValue(new File(\"data/\" + dropLayout.getValue() + \".yml\"), javaType));\r\n }\r\n catch (Exception e){\r\n labelBott.setText(\"Error! File \"+ dropLayout.getValue() +\" doesn't exist.\");\r\n }\r\n }", "title": "" }, { "docid": "010fe3fd929c46f9e8af160ee49ae79c", "score": "0.53077495", "text": "@Override\n public int getItemViewType(int position) {\n int layoutType = 0;\n switch (getItem(position).getType()) {\n case COMMENT: layoutType = 0; break;\n case VARIABLE: layoutType = 1; break;\n case INPUT: layoutType = 2; break;\n case OUTPUT: layoutType = 2; break;\n case WHILE_LOOP: layoutType = 3; break;\n case WHILE_LOOP_END: layoutType = 4; break;\n case FOR_LOOP: layoutType = 5; break;\n case FOR_LOOP_END: layoutType = 4; break;\n case IF_STATEMENT: layoutType = 6; break;\n case IF_STATEMENT_END: layoutType = 4; break;\n case ELSE_STATEMENT: layoutType = 4; break;\n case ELSE_STATEMENT_END: layoutType = 4; break;\n default: layoutType = 0; break;\n }\n return layoutType;\n }", "title": "" }, { "docid": "64f7547440ee50cf494162c99d72bafd", "score": "0.52889836", "text": "@Override\r\n\tpublic void createInitialLayout(IPageLayout layout) {\n\t\t\r\n\t}", "title": "" }, { "docid": "65e79523d90bf9f035c0ce7bdb00f0e6", "score": "0.5288068", "text": "public void setLayout(StateModelLayout layoutinfo) {\r\n\t\tthis.layout = layoutinfo;\r\n\t}", "title": "" }, { "docid": "50a26b49f00e2b51b28ea96ab9e3cd06", "score": "0.5277091", "text": "public int getLayout() {\n return R.layout.n2_recommendation_card;\n }", "title": "" }, { "docid": "d15ae795eb0ca401979228dba19ef23f", "score": "0.5265014", "text": "@SuppressWarnings(\"deprecation\")\n\tpublic void defineLayout(IPageLayout layout) {\n String editorArea = layout.getEditorArea();\n\n // Place navigator and outline to left of editor area.\n IFolderLayout left = layout.createFolder(\"left\", IPageLayout.LEFT, (float) 0.26, editorArea);\n left.addView(IPageLayout.ID_RES_NAV);\n //left.addView(IPageLayout.ID_OUTLINE);\n IFolderLayout right = layout.createFolder(\"right\", IPageLayout.RIGHT, (float) 0.72, editorArea);\n right.addView(IPageLayout.ID_OUTLINE);\n }", "title": "" }, { "docid": "637b6c62c20a416aaddad0b3b697354e", "score": "0.52645737", "text": "@Override\r\n public void setLayout(final Layout layout)\r\n {\r\n checkWidget();\r\n return;\r\n }", "title": "" }, { "docid": "b97078e9e639f4bce390cb9b13ef6b6d", "score": "0.5263934", "text": "public ILayout getLayoutAlgorithm() {\n\t\treturn layoutAlgorithms[selectedLayout];\n\t}", "title": "" }, { "docid": "454fe1c9f93a81ead57cba8b9e8e7a7e", "score": "0.52583647", "text": "@objid (\"643d9656-a0f5-462a-a92a-b4885ea942c1\")\n @Override\n public void setLayout(Layout layout) {\n checkWidget();\n return;\n }", "title": "" }, { "docid": "0ede5e216cb5cfe5a5030614f8487593", "score": "0.5251613", "text": "void onLayoutSwitch(int model,int firstPosition);", "title": "" }, { "docid": "dae826e815828a533d78fc78eb70283d", "score": "0.5249708", "text": "protected abstract void setLayoutFeatures();", "title": "" }, { "docid": "3aa215497cd838a647ab1fdd70a234c6", "score": "0.524503", "text": "void populateLayout ();", "title": "" }, { "docid": "a81318eb8223f51b4e9baa00aedccd4a", "score": "0.5220023", "text": "public void doLayout ();", "title": "" }, { "docid": "92424171af3ad3c14aa2f71210e29689", "score": "0.521606", "text": "public static void setLayouat(EObject t) {\n\n\t\tICommandService commandService = (ICommandService) PlatformUI.getWorkbench().getService(ICommandService.class);\n\t\tCommand command = commandService.getCommand(\"de.cau.cs.kieler.kiml.ui.command.layout\");\n\n\t\ttry {\n\t\t\tcommand.executeWithChecks(new ExecutionEvent());\n\t\t} catch (ExecutionException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (NotDefinedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (NotEnabledException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (NotHandledException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "title": "" }, { "docid": "6c25b92974bdad9d747e7d0f7f4586cb", "score": "0.5213243", "text": "private void showLocationTypeOptions() {\n\t\tLinearLayout layout = (LinearLayout)findViewById(R.id.mainLayout);\n\t\t\n\t\tRadioGroup radioGroup = new RadioGroup(this);\n\t\t\n\t\t//Shows only location types chosen in preference screen\n\t\tList<LocationTypeEnum> warningTypes = bos.getPreferencesBO().getWarningTypes();\n\t\tfor (LocationTypeEnum value : warningTypes)\n\t\t\taddOption(radioGroup, getString(value.resourceId), value.intValue);\n\t\t\n\t\tView separator = new View(this);\n\t\tseparator.setVisibility(View.VISIBLE);\n\t\tseparator.setBackgroundColor(Color.BLACK);\n\t\tradioGroup.addView(separator, radioGroup.getChildCount() /*last view on the layout*/, \n\t\t\t\tnew LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 2));\n\t\t\n\t\tlayout.addView(radioGroup, 1/*as the second layout, after layoutBasicInfo */);\n\t\t\n\t}", "title": "" }, { "docid": "a63023cbc64cfcc08a0d20de1a9c4451", "score": "0.5206801", "text": "@Override\n\tpublic void setLayout() {\n\t\tlayout = R.layout.four_times_four_layout;\n\t}", "title": "" }, { "docid": "66ed01d0ae559b3ab3e9d2665e3b8c85", "score": "0.5202499", "text": "public boolean isLayoutSelected(int layout) {\n\t\treturn selectedLayout == layout;\n\t}", "title": "" }, { "docid": "13159f710a32b29e913969dcd714709e", "score": "0.51984847", "text": "public interface ViewType {\n\t\tfinal int DETAIL = -1;\n\t\tfinal int CURRENT = 0;\n\t\tfinal int AGENDA = 1;\n\t\tfinal int DAY = 2;\n\t\tfinal int WEEK = 3;\n\t\tfinal int MONTH = 4;\n\t\tfinal int EDIT = 5;\n\t}", "title": "" }, { "docid": "aa4eae9c37b289c6b9812cfbea2e0d76", "score": "0.5197173", "text": "public final int getLayout() {\n return 2130970724;\n }", "title": "" }, { "docid": "667e4ab3348894540915742cf682ba43", "score": "0.5196628", "text": "public void setLayout() throws SyntaxException {\r\n cleanToken();\r\n if (token.equalsIgnoreCase(\"Layout\")) {\r\n if (scanLine.hasNext()) {\r\n tokenLayout();\r\n }\r\n }\r\n parseWidget();\r\n }", "title": "" }, { "docid": "4a5bd24d2d49ff577e50501786985333", "score": "0.5189634", "text": "@Override\n protected int layoutId() {\n return R.layout.activity_personinfo_setting;\n }", "title": "" }, { "docid": "16b90f1679bfe92cfd562c649109513f", "score": "0.5185566", "text": "@Override\r\n protected IMObjectLayoutStrategy createLayoutStrategy() {\r\n return new PatientDocumentActLayoutStrategy(getDocumentEditor(), getVersionsEditor());\r\n }", "title": "" }, { "docid": "423b17aafaea276918c6da06aa9d5440", "score": "0.5181692", "text": "private void determinePaneLayout() {\n View detailFrameView = findViewById(R.id.article_frame_view);\n if (detailFrameView != null) {\n isTwoPane = true;\n } else {\n isTwoPane = false;\n }\n }", "title": "" }, { "docid": "82226b22e295b19007003724a1227200", "score": "0.5172675", "text": "public String getType()\n {\n // return type of menu option node view\n Node node = getNode();\n if (node instanceof Page)\n {\n return PAGE_OPTION_TYPE;\n }\n else if (node instanceof Link)\n {\n return LINK_OPTION_TYPE;\n }\n else if (node instanceof Folder)\n {\n return FOLDER_OPTION_TYPE;\n }\n return null;\n }", "title": "" }, { "docid": "52942c05edd1f774b3e8682c586b9e2b", "score": "0.51636386", "text": "public int getLayout() {\n return R.layout.a_7;\n }", "title": "" }, { "docid": "9f8602d9fa809cdbff4e4e720ce0be61", "score": "0.51618016", "text": "@Override\n\tpublic int setLayout() {\n\t\treturn R.layout.activity_change_person_info;\n\t}", "title": "" }, { "docid": "cf5aa94fffa4d8fcd202f644ea338fb6", "score": "0.5161751", "text": "public VBox setLayoutOption(){\r\n VBox options = new VBox();\r\n //set toggle group\r\n Label header = new Label(\"Data View\");\r\n patientTBtn = new ToggleButton(\"Patient Records\");\r\n patientTBtn.setToggleGroup(dataViews);\r\n employeeTBtn = new ToggleButton(\"Employee Records\");\r\n employeeTBtn.setToggleGroup(dataViews);\r\n doctorTBtn = new ToggleButton(\"Doctor Records\");\r\n doctorTBtn.setToggleGroup(dataViews);\r\n apptViewTBtn = new ToggleButton(\"Appointment Records\");\r\n apptViewTBtn.setToggleGroup(dataViews);\r\n dayViewTBtn = new ToggleButton(\"Day View\");\r\n dayViewTBtn.setToggleGroup(dataViews);\r\n //default on start up\r\n dayViewTBtn.setSelected(true);\r\n\r\n if(sessionType == \"Doctor\"){\r\n doctorApptTBtn = new ToggleButton(\"View Appointments\");\r\n options.getChildren().addAll(header, dayViewTBtn,patientTBtn, doctorApptTBtn);\r\n }else{\r\n options.getChildren().addAll(header,dayViewTBtn, patientTBtn, employeeTBtn, doctorTBtn);\r\n if(sessionType == \"Receptionist\")\r\n options.getChildren().add(apptViewTBtn);\r\n }\r\n return options;\r\n }", "title": "" }, { "docid": "de8b497119b4bd817f9c7a7d1c31dc8d", "score": "0.5157034", "text": "private JMenu getLayoutMenu() {\r\n\t\tJMenu menu = new JMenu(\"Layout\");\r\n//\t\t\tLayoutStorageAction store = new LayoutStorageAction(\"Save Current Graph Layout\", \r\n//\t\t\t\t\t\"Restore Saved Graph Layout\");\t\t\t\r\n//\t\t\tmenu.add(store);\t\t\t\r\n//\t\t\tmenu.add(store.getRestoreAction());\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tJMenu viewMenu, subMenu;\r\n\t\t\tviewMenu = new JMenu(\"Move Vertices\");\r\n\t\t\tsubMenu = new JMenu(\"Reflect Across Line...\");\r\n\t\t\tsubMenu.add(new LayoutAlgorithmAction(\"Horizontal Line Through Center\", VertexMover.HORIZONTAL_CENTER));\r\n\t\t\tsubMenu.add(new LayoutAlgorithmAction(\"Vertical Line Through Center\", VertexMover.VERTICAL_CENTER));\r\n\t\t\tsubMenu.add(new LayoutAlgorithmAction(\"Diagonal From Upper-Left To Lower-Right\", VertexMover.POSITIVE_SLOPE_DIAGONAL));\r\n\t\t\tsubMenu.add(new LayoutAlgorithmAction(\"Diagonal From Lower-Left To Upper-Right\", VertexMover.NEGATIVE_SLOPE_DIAGONAL));\r\n\t\t\tviewMenu.add(subMenu);\r\n\t\t\tviewMenu.add(new LayoutAlgorithmAction(\"Rotate The Graph\", VertexMover.ROTATE));\r\n\t\t\tviewMenu.add(new LayoutAlgorithmAction(\"Fill Screen With Graph\", VertexMover.FILL));\r\n\t\t\tmenu.add(viewMenu);\r\n\t\t\t\r\n\t\t\tmenu.add(new LayoutAlgorithmAction(\"Apply A Random Layout Algorithm\", LayoutAlgorithmFactory.RANDOM_CHOICE));\r\n\t\t\tviewMenu = new JMenu(\"Apply A Specific Layout Algorithm\");\r\n\t\t\tviewMenu.add(new LayoutAlgorithmAction(\"Circle\", LayoutAlgorithmFactory.CIRCLE));\r\n\t\t\tviewMenu.add(new LayoutAlgorithmAction(\"GEM\", LayoutAlgorithmFactory.GEM));\r\n\t\t\tviewMenu.add(new LayoutAlgorithmAction(\"Random\", LayoutAlgorithmFactory.RANDOM));\r\n\t\t\tviewMenu.add(new LayoutAlgorithmAction(\"Spiral\", LayoutAlgorithmFactory.SPIRAL));\r\n\t\t\tsubMenu = new JMenu(\"Tree\");\r\n\t\t\tsubMenu.add(new LayoutAlgorithmAction(\"Degree\", LayoutAlgorithmFactory.TREE_DEGREE));\r\n\t\t\tsubMenu.add(new LayoutAlgorithmAction(\"Hierarchy\", LayoutAlgorithmFactory.TREE_HIERARCHY));\r\n\t\t\tviewMenu.add(subMenu);\r\n\t\t\tviewMenu.add(new LayoutAlgorithmAction(\"Two Circle\", LayoutAlgorithmFactory.TWO_CIRCLE));\r\n\t\t\tmenu.add(viewMenu);\r\n//\t\t\tmenu.add(new StateColorSelector(automaton,environment,menu));\r\n\t\treturn menu;\r\n\t}", "title": "" }, { "docid": "1d40cff89f842e1718237e2aca8184c6", "score": "0.5150972", "text": "@java.lang.Override\n public com.google.mediapipe.formats.proto.MatrixDataProto.MatrixData.Layout getLayout() {\n com.google.mediapipe.formats.proto.MatrixDataProto.MatrixData.Layout result = com.google.mediapipe.formats.proto.MatrixDataProto.MatrixData.Layout.forNumber(layout_);\n return result == null ? com.google.mediapipe.formats.proto.MatrixDataProto.MatrixData.Layout.COLUMN_MAJOR : result;\n }", "title": "" }, { "docid": "c1d6514e7f6a0f423f9d34422833b4b9", "score": "0.5148813", "text": "@Override\n public int getItemViewType(int position) {\n\n if(mExampleList.get(position).getDataType().equalsIgnoreCase(\"action\")) {\n return LAYOUT_ONE;\n }\n if(mExampleList.get(position).getDataType().equalsIgnoreCase(\"repeat\")) {\n return LAYOUT_TWO;\n }\n if(mExampleList.get(position).getDataType().equalsIgnoreCase(\"nested\")){\n return LAYOUT_THREE;\n }\n else{\n return LAYOUT_FOUR;\n }\n }", "title": "" }, { "docid": "4895dbda6763b74828128ea82adec8e9", "score": "0.51480675", "text": "@Override\n\tprotected int layoutId() {\n\t\treturn R.layout.peosonalinfo;\n\t}", "title": "" }, { "docid": "8afa1ead38a5a9ee556a747574a216a6", "score": "0.51384026", "text": "private static ImageLayout layout(final RenderedImage source, ImageLayout layout) {\n if (layout == null) {\n layout = new ImageLayout();\n } else if ((layout.getValidMask() & (SAMPLE_MODEL_MASK | COLOR_MODEL_MASK)) == 0) {\n layout = (ImageLayout) layout.clone();\n } else {\n return layout;\n }\n final ColorModel cm = ColorUtilities.BINARY_COLOR_MODEL;\n return layout.setColorModel(cm).setSampleModel(cm.createCompatibleSampleModel(\n layout.getWidth(source), layout.getHeight(source)));\n }", "title": "" }, { "docid": "116a3c2b0f28108955205fa4bf782d36", "score": "0.5128792", "text": "public void resetLayoutAndParams(String type) {\n if (type.equals(\"picture\")) {\n clearAnswerView(\"text\");\n clearAnswerView(\"voice\");\n } else if (type.equals(\"text\")) {\n clearAnswerView(\"picture\");\n clearAnswerView(\"voice\");\n } else if (type.equals(\"voice\")) {\n clearAnswerView(\"text\");\n clearAnswerView(\"picture\");\n }\n rltUploadProgress.setVisibility(View.GONE);\n setDefaultPictureAnswerParams();\n }", "title": "" }, { "docid": "9529b4589958fdb9de4b0358a39beba4", "score": "0.51220053", "text": "@Override\n public int getViewTypeCount() {\n return 1;\n\n }", "title": "" }, { "docid": "17f08ce2bab65c02b0d5aeb92bb28a96", "score": "0.5120937", "text": "void setLayoutStrategyFactory(IMObjectLayoutStrategyFactory factory);", "title": "" }, { "docid": "5e3dfa47ee2687fbd26cc5285eeb8b8b", "score": "0.51165456", "text": "UsuarioLayout findUsuarioLayout(Integer idUsuarioLayout) throws GeneralException;", "title": "" } ]
d229b9733fc414e840ee933a94030b90
Authenticate with Firebase, and request location updates
[ { "docid": "0a43f911362c62e81738ac2c45fff5b6", "score": "0.7201141", "text": "private void loginToFirebase() {\n String email = \"[email protected]\";\n String password = \"Ogh@0211\";\n FirebaseAuth.getInstance().signInWithEmailAndPassword(\n email, password).addOnCompleteListener(new OnCompleteListener<AuthResult>(){\n @Override\n public void onComplete(Task<AuthResult> task) {\n if (task.isSuccessful()) {\n Log.d(TAG, \"firebase auth success\");\n // Log.e(TAG, \"onComplete: Failed=\" + task.getException().getMessage());\n requestLocationUpdates();\n } else {\n Log.d(TAG, \"firebase auth failed\");\n Log.e(TAG, \"onComplete: Failed=\" + task.getException().getMessage());\n }\n }\n });\n }", "title": "" } ]
[ { "docid": "d02b64215b857cb439a9b6146352f3ce", "score": "0.6484286", "text": "@Override\n public void onLocationChanged(Location location) {\n gpsEnabled = false;\n latitude = location.getLatitude();\n longitude = location.getLongitude();\n geoFire.setLocation(user1.getUid().toString(), new GeoLocation(latitude, longitude), new GeoFire.CompletionListener() {\n @Override\n public void onComplete(String key, DatabaseError error) {\n if (error != null) {\n System.err.println(\"There was an error saving the location to GeoFire: \" + error);\n } else {\n System.out.println(\"Location saved on server successfully!\");\n gpsEnabled = true;\n }\n }\n });\n }", "title": "" }, { "docid": "189896e95073ca77ed69bf21b0d34a2a", "score": "0.64821374", "text": "private void requestLocationUpdates() {\n\n LocationRequest request = new LocationRequest();\n request.setInterval(3000);\n request.setFastestInterval(1000);\n request.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n FusedLocationProviderClient client = LocationServices.getFusedLocationProviderClient(this);\n\n mLocationClient = Configuration.sendLocation();\n int permission = ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION);\n if (permission == PackageManager.PERMISSION_GRANTED) {\n // Request location updates and when an update is\n // received, store the location in Firebase\n client.requestLocationUpdates(request, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n final String path = getString(R.string.firebase_path) + \"/\" + getString(R.string.bus_id);\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference(path);\n Location location = locationResult.getLastLocation();\n if (location != null && location.getAccuracy() != 0){\n Log.d(TAG, \"location update \" + location);\n ref.setValue(location);\n BusLocation busLocation = new BusLocation();\n\n busLocation.setAccuracy(location.getAccuracy());\n busLocation.setProvider(location.getProvider());\n busLocation.setAltitude(location.getAltitude());\n busLocation.setLatitude(location.getLatitude());\n busLocation.setLongitude(location.getLongitude());\n busLocation.setCurrentTime(location.getTime());\n busLocation.setSpeed(location.getSpeed());\n\n Log.d(TAG,\"bus location object\" + busLocation);\n\n if (busLocation == null) {\n\n }\n\n mLocationClient.sendCurrentBusLocation(busLocation)\n .enqueue(new Callback<BusLocation>() {\n @Override\n public void onResponse(Call<BusLocation> call, Response<BusLocation> response) {\n\n if (response.isSuccessful()) {\n\n Log.i(TAG, \"post submitted to API.\" + response.body().toString());\n\n }\n }\n\n @Override\n public void onFailure(Call<BusLocation> call, Throwable t) {\n\n Log.e(TAG, \"Unable to submit post to API.\");\n }\n });\n }\n }\n }, null);\n }\n\n\n }", "title": "" }, { "docid": "cef5deac446414245736d4985662249a", "score": "0.6426484", "text": "private void getLocation() {\n LocationRequest mLocationRequestHighAccuracy = new LocationRequest();\n mLocationRequestHighAccuracy.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequestHighAccuracy.setInterval(UPDATE_INTERVAL);\n mLocationRequestHighAccuracy.setFastestInterval(FASTEST_INTERVAL);\n\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"getLocation: stopping the location service.\");\n stopSelf();\n return;\n }\n// Log.d(TAG, \"getLocation: getting location information.\");\n mLocationCallback = new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n\n Location location = locationResult.getLastLocation();\n\n if (location != null) {\n LocationHelper helper = new LocationHelper(location.getLongitude(), location.getLatitude());\n\n String msg = \"update Location: \" +\n Double.toString(location.getLatitude()) + \",\" +\n Double.toString(location.getLongitude());\n\n Log.d(TAG, msg);\n\n SharedPreferences sharedPreferences\n = getSharedPreferences(\"Preferences\", MODE_PRIVATE);\n username = sharedPreferences.getString(\"username\", \"\");\n if(username!= null){\n databaseReference.child(username).setValue(helper)\n .addOnCompleteListener(new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n if(task.isSuccessful()){\n Log.d(TAG, \"Location Saved\");\n Log.d(TAG, \"username:\"+username);\n }else {\n Log.d(TAG, \"not Location data\");\n }\n }\n });\n }\n else {\n mFusedLocationClient.removeLocationUpdates(this);\n stopSelf();\n }\n }\n }\n };\n\n mFusedLocationClient.requestLocationUpdates(mLocationRequestHighAccuracy, mLocationCallback,\n Looper.myLooper()); // Looper.myLooper tells this to repeat forever until thread is destroyed\n }", "title": "" }, { "docid": "21bc046131e8ccb64982413a2644b171", "score": "0.6380219", "text": "@Override\n public void onLocationChanged(Location location) {\n mCurrentLocation = location;\n String mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n final LatLng latLng = new LatLng(mCurrentLocation.getLatitude(), mCurrentLocation.getLongitude());\n agregarMarcador();\n\n //Sybir a firebase la ubicacion\n\n mAuthListener = new FirebaseAuth.AuthStateListener() {\n @Override\n public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) {\n user = firebaseAuth.getCurrentUser();\n if (user != null) {\n // User is signed in\n Log.d(\"FI777\", \"onAuthStateChanged:signed_in:\" + user.getUid());\n uuidUser = user.getUid();\n\n //////////\n\n PositionLL p = new PositionLL();\n p.setUid(uuidUser);\n //Se debe cambiar a arreglo.\n p.setUbication(latLng.toString());\n\n databaseReference.child(\"Ubication\").child(p.getUid()).setValue(p);\n /////////\n\n Log.d(\"FI888\", \"onAuthStateChanged:signed_in:\" + uuidUser);\n } else {\n // User is signed out\n Log.d(\"Nfb\", \"onAuthStateChanged:signed_out\");\n }\n // ...\n }\n\n };\n\n Log.d(\"mLastUpdateTime\",mLastUpdateTime);\n Log.d(\"mlatLng\", String.valueOf(latLng));\n }", "title": "" }, { "docid": "4441cf8f2361f15c474d01d817e830a8", "score": "0.6370351", "text": "public void handleLocation() {\n mLocationManager = (LocationManager) getActivity().getSystemService(Context.LOCATION_SERVICE);\n\n // Define a listener that responds to location updates\n LocationListener locationListener = new LocationListener() {\n public void onLocationChanged(Location location) {\n // Called when a new location is found by the network location provider.\n mlatitude =location.getLatitude();\n mlongitude = location.getLongitude();\n databaseLogic.makeUseOfNewLocation(location.getLongitude(), location.getLatitude(), new OnCompleteListener<DocumentSnapshot>() {\n @Override\n public void onComplete(@NonNull Task<DocumentSnapshot> task) {\n addUserData(task);\n }\n });\n }\n\n public void onStatusChanged(String provider, int status, Bundle extras) {}\n\n public void onProviderEnabled(String provider) {}\n\n public void onProviderDisabled(String provider) {}\n };\n\n if (ContextCompat.checkSelfPermission(getActivity(),\n Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);\n } else {\n Log.d(\"permission\", \"no permission for accessing location\");\n }\n\n //HARDCODED FOR USE ON EMULATOR.\n databaseLogic.makeUseOfNewLocation(-0.1268, 51.5407, new OnCompleteListener<DocumentSnapshot>() {\n @Override\n public void onComplete(@NonNull Task<DocumentSnapshot> task) {\n addUserData(task);\n }\n });\n mlatitude = 51.5407;\n mlongitude = -0.1268;\n }", "title": "" }, { "docid": "3ac35c71ced563a656f099c29cc22271", "score": "0.6231665", "text": "@Override\n public void run() {\n mFusedLocationClient = LocationServices.getFusedLocationProviderClient(getContext());\n if (checkLocationPermission())\n\n mFusedLocationClient.getLastLocation()\n .addOnSuccessListener(getActivity(), new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(Location location) {\n // Got last known location. In some rare situations this can be null.\n if (location != null) {\n Log.e(\"biswa\", String.valueOf(location));\n databaseReference.child(\"tracking\").child(id).child(\"\" + i).setValue(new LatLong(String.valueOf(location.getLatitude()), String.valueOf(location.getLongitude())));\n i++;\n // ...\n }\n }\n });\n handler.postDelayed(this, 30000);\n }", "title": "" }, { "docid": "2c8a0f507e331eafd3bcdda2ba40a070", "score": "0.6105952", "text": "@Override\n public void onComplete(@NonNull Task<Void> task) {\n if (!task.isSuccessful()) {\n startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en\")));\n } else {\n\n //asks for permission for location access at the start\n ActivityCompat.requestPermissions(MainActivity.this , new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION}, 1);\n mAuth.addAuthStateListener(mAuthListner); //checks for the authentication status (if user is already signed in)\n mLoginerrorLabel.setText(\"\"); //clears the label at the start so no login errors are still shown\n\n }\n }", "title": "" }, { "docid": "c7ec804a1c965349fa113a0fd8eed8f9", "score": "0.60919476", "text": "@Override\n public void onConnected(Bundle bundle) {\n createLocationRequest();\n\n }", "title": "" }, { "docid": "f32e9f8eac95d7977dba7bd287368325", "score": "0.60500073", "text": "@Override\n public void onConnected(Bundle bundle) {\n if (ActivityCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n\n mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(5000); //5 seconds\n mLocationRequest.setFastestInterval(3000); //3 seconds\n mLocationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);\n\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n }", "title": "" }, { "docid": "b39ac4aa0f82c2ff1fbed33b2ab9fc2b", "score": "0.6013424", "text": "private void getLocation() {\n if (ActivityCompat.checkSelfPermission(getContext(), Manifest.permission.ACCESS_FINE_LOCATION) !=\n PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(getContext(),\n Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n fusedLocationProviderClient.getLastLocation().addOnCompleteListener(new OnCompleteListener<Location>() {\n @Override\n public void onComplete(@NonNull Task<Location> task) {\n\n Location location = task.getResult();\n if (location != null)\n {\n Geocoder geocoder = new Geocoder(getContext(),Locale.getDefault());\n try {\n List<Address> addresses = geocoder.getFromLocation(\n location.getLatitude(),location.getLongitude(),1\n );\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference(\"Contacts\");\n ref.addValueEventListener(new ValueEventListener() {\n String SMS = String.valueOf(\"Emergency SOS, I need you help.My coordinates are \" +\n \"http://www.google.com/maps/place/\"+\n addresses.get(0).getLatitude()+\",\"+addresses.get(0).getLongitude());\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n for (DataSnapshot ds : snapshot.getChildren())\n {\n if(ds.child(\"uid\").getValue().toString().equals(uId))\n {\n String phoneNo = ds.child(\"number\").getValue().toString();\n try {\n SmsManager smsManager = SmsManager.getDefault();\n smsManager.sendTextMessage(phoneNo,null,SMS,null,null);;\n Toast.makeText(getActivity().getApplicationContext(), \"Message Sent\", Toast.LENGTH_SHORT).show();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n Toast.makeText(getActivity().getApplicationContext(), \"\"+ error.getMessage(), Toast.LENGTH_LONG).show();\n }\n });\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n }\n });\n }", "title": "" }, { "docid": "da8429d45a7326e4b1517b89ffcbb94a", "score": "0.5998417", "text": "private void getLocation(){\n if(ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED){\n ActivityCompat.requestPermissions(this, new String[] {Manifest.permission.ACCESS_FINE_LOCATION}, 1);\n return;\n }\n locationManager.requestSingleUpdate(LocationManager.NETWORK_PROVIDER, this, getMainLooper());\n }", "title": "" }, { "docid": "570a75e46a2bbea6c88a574aa7f4bf2e", "score": "0.594629", "text": "private void getCurrentLocation()\n {\n if(isServicesOk()){\n //isServiceOk checks if google play services are OK\n getLocationPermission();\n }\n\n //getAddress();\n\n\n }", "title": "" }, { "docid": "249679554ff87e82d1e9a0e072b45c2f", "score": "0.59381217", "text": "@Override\n public void onConnected(Bundle connectionHint)\n {\n // Connected to Google Play services! The good stuff goes here.\n if (moGoogleApiClient != null)\n {\n Location oLocation = LocationServices.FusedLocationApi.getLastLocation(moGoogleApiClient);\n if (oLocation != null)\n moCurrentLocation = oLocation;\n else\n LocationServices.FusedLocationApi.requestLocationUpdates(moGoogleApiClient, moLocationRequest, this);\n }\n }", "title": "" }, { "docid": "e7e61bedfab8559e88b1688ea9676341", "score": "0.5886223", "text": "private void getUserLocation(){\n mFusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(this);\n\n try{\n Task location = mFusedLocationProviderClient.getLastLocation();\n location.addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) {\n if(task.isSuccessful()) {\n Location currentLocation = (Location) task.getResult();\n if (currentLocation == null) {\n Location sfu = new Location(\"\");\n sfu.setLatitude(49.27);\n sfu.setLongitude(-122.98);\n moveCamera(new LatLng(sfu.getLatitude(), sfu.getLongitude()), DEFAULT_ZOOM);\n } else{\n moveCamera(new LatLng(currentLocation.getLatitude(), currentLocation.getLongitude()), DEFAULT_ZOOM);\n\n }\n }\n }\n });\n }catch (SecurityException exception){\n Log.e(\"MapsActivity\",\"Security Exception: \"+exception.getMessage());\n }\n }", "title": "" }, { "docid": "a2a70eccaafcd16ef85cb252df3c4df8", "score": "0.58727574", "text": "@Override\n public void onConnected(Bundle bundle) {\n Log.e(TAG, \"Connected to Google Location Services\");\n\n locationRequest = LocationRequest.create();\n locationRequest.setInterval(60000); // milliseconds\n locationRequest.setFastestInterval(30000); // the fastest rate in milliseconds at which your app can handle location updates\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n LocationServices.FusedLocationApi.requestLocationUpdates(\n googleApiClient, locationRequest, this);\n }", "title": "" }, { "docid": "2a0f7403b6fd9a17dc410d6fd0bec6a9", "score": "0.5868564", "text": "private void fetchLocation() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &&\n ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n\n LocationManager locationManager = (LocationManager) getSystemService(LOCATION_SERVICE);\n\n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, GlobalConfig.LOCATION_REFRESH_TIME,\n GlobalConfig.LOCATION_REFRESH_DISTANCE, locationListener);\n locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, GlobalConfig.LOCATION_REFRESH_TIME,\n GlobalConfig.LOCATION_REFRESH_DISTANCE, locationListener);\n }", "title": "" }, { "docid": "bf2c75d233ffcdb5956981318db32de8", "score": "0.58643055", "text": "@Override\n public void onConnected(@Nullable Bundle bundle) {\n Log.v(TAG, \"Google Api Client onConnected\");\n //Check to see if there is location available and assign it to the mMyLocation object\n Location mLastLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n if (mLastLocation != null) {\n mMyLocation = mLastLocation;\n //Make a LatLng object from myLocation data\n mMyLatLng = new LatLng(mMyLocation.getLatitude(), mMyLocation.getLongitude());\n //Check to see if the user's location is within bounds\n if (VANCOUVER_BOUND.contains(mMyLatLng)) {\n //Move the camera to user's location\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(mMyLatLng, 16.0f));\n } else {\n //If the user is outside the bounds, show a Toast message\n Toast.makeText(this, \"You are currently outside of supported area\",\n Toast.LENGTH_SHORT).show();\n }//if\n }//if\n }", "title": "" }, { "docid": "417943a5043eb8339e4739fb3b43020c", "score": "0.58482885", "text": "public void getLocation() {\n\n /*\n * 1. Initialize the LocationAdapter class with Context & your developer Token\n */\n\n final LocationAdapter locationAdapter = new LocationAdapter(this,mToken);\n\n /*\n * 2. Set the priority or accuracy level for your location\n */\n\n locationAdapter.setPriority(LocationAdapter.PRIORITY_BALANCED_POWER_ACCURACY);\n\n /*\n * 3. Initialize your Location listener; you can do it once at a global level, or each time\n * To set it once at global-level, use this function function: locationAdapter.setLocationListener(YOUR_LISTENER);\n * To specify a new listner each time while calling getLocation function, do this:\n */\n UnwiredLocationListener unwiredLocationListener = new UnwiredLocationListener() {\n @Override\n public void onLocationChanged(Location location) {\n //Call the function that will handle the location once returned\n handleLocation(location);\n }\n };\n\n /*\n * 4. Finally just call getLocation method to get location\n */\n locationAdapter.getLocation(unwiredLocationListener);\n\n }", "title": "" }, { "docid": "23ad4ad0417c74911e35dfaa93879433", "score": "0.584681", "text": "@Override\n public void onConnected(Bundle bundle) {\n mLastLocation = LocationServices.FusedLocationApi.getLastLocation(\n gApiClient);\n\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(10000);\n mLocationRequest.setFastestInterval(5000);\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n LocationServices.FusedLocationApi.requestLocationUpdates(gApiClient, mLocationRequest, this);\n\n LocationServices.GeofencingApi.addGeofences(\n gApiClient,\n getGeofencingRequest(),\n getGeofencePendingIntent()\n ).setResultCallback(this);\n\n\n //<editor-fold desc=\"Code to update distances from current location\">\n /*updateThoseDistances(new LatLng(mLastLocation.getLatitude(), mLastLocation.getLongitude()));\n sortGeofenceInfosDistance();*/\n //</editor-fold>\n }", "title": "" }, { "docid": "d7b753e96c7a69286c29eb41abc7d476", "score": "0.5831515", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n double latitude = location.getLatitude();\n double longitude = location.getLongitude();\n\n net = getNetInstance();\n System.out.println(\"Shake Shake Shake\");\n String url =\"http://10.0.0.240:8080/api/emergency/patient/\"\n + HelloActivity.prop.getProperty(\"userToken\")\n + \"?latitude=\" + latitude + \"&longitude=\" + longitude;\n\n System.out.println(\"My URL ---->\" + url);\n net.sendRequest(url);\n }\n }", "title": "" }, { "docid": "980cb622e880b3d82985cdf053e64bb1", "score": "0.5824715", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n // Logic to handle location object\n keyListAdapter.setLat(location.getLatitude(), which);\n keyListAdapter.setLng(location.getLongitude(), which);\n Log.d(\"Location\", \"Lat: \" + location.getLatitude() + \" Lng: \" + location.getLongitude());\n service.setGeofence(location, which);\n }\n }", "title": "" }, { "docid": "1130ab98629061725a78e53457d0cc96", "score": "0.58126", "text": "public interface ILocationClient {\n void onLocationUpdated(LocationResult locationResult);\n}", "title": "" }, { "docid": "7e0a52da961c2ebc443928fe19f76cbb", "score": "0.57979393", "text": "@Override\n public void onConnected(Bundle bundle) {\n location = LocationUtilities.enableMyLocation(getActivity(), mGoogleApiClient);\n if (location != null) {\n //get the longitude and the latitude from the location object\n userLongitude = location.getLongitude();\n userLatitude = location.getLatitude();\n\n userConnected = 1;\n }\n mLocationRequest = new LocationRequest();\n mLocationRequest.setInterval(5000);\n mLocationRequest.setFastestInterval(3000);\n mLocationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);\n\n LocationUtilities.enableUpdateMyLocation(getActivity(), mGoogleApiClient, mLocationRequest, this);\n }", "title": "" }, { "docid": "256cb8e4af0a9621045ca938b0fc7289", "score": "0.5783698", "text": "@Override\n public void onConnected(@Nullable Bundle bundle) {\n locationRequest = new LocationRequest();\n locationRequest.setInterval(1100);\n locationRequest.setFastestInterval(1100);\n locationRequest.setPriority(LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);\n\n\n if (ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED){\n LocationServices.FusedLocationApi.requestLocationUpdates(client,locationRequest,this);\n\n }\n }", "title": "" }, { "docid": "88411c87f0d06ff16ffc11d64bcb3560", "score": "0.5781769", "text": "private void getLocation() {\n if (ContextCompat.checkSelfPermission(ActivitySendPresence.this,\n Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED &&\n ContextCompat.checkSelfPermission(ActivitySendPresence.this,\n Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n // permission is already granted. Get the Location\n final LocationRequest locationRequest = new LocationRequest();\n locationRequest.setInterval(10000);\n locationRequest.setFastestInterval(2000);\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n\n LocationServices.getFusedLocationProviderClient(ActivitySendPresence.this)\n .requestLocationUpdates(locationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n super.onLocationResult(locationResult);\n\n LocationServices.getFusedLocationProviderClient(ActivitySendPresence.this)\n .removeLocationUpdates(this);\n if (locationResult != null && locationResult.getLocations().size() > 0) {\n int lastLocIndex = locationResult.getLocations().size() - 1;\n double f_latitude = locationResult.getLocations().get(lastLocIndex)\n .getLatitude();\n double f_longitude = locationResult.getLocations().get(lastLocIndex)\n .getLongitude();\n\n latitude = String.valueOf(f_latitude);\n longitude = String.valueOf(f_longitude);\n Log.i(\n TAG + \" Location\",\n \"lat: \" + latitude\n + \"long: \" + longitude\n );\n\n Toast.makeText(\n ActivitySendPresence.this,\n \"Latitude: \" + latitude +\n \" Longitude: \" + longitude,\n Toast.LENGTH_LONG\n ).show();\n }\n// loadingDialogLoc.dismissLoadingDialog();\n }\n }, Looper.getMainLooper());\n } else {\n// loadingDialogLoc.dismissLoadingDialog();\n //permission is not granted. Ask for permission\n showDialog(\"Permission not granted\", \"Permission to read Location is not \" +\n \"granted. Please log in again with granting the permissions.\");\n }\n }", "title": "" }, { "docid": "761927d4fac792ea6d7d99b369b888d8", "score": "0.57573515", "text": "private void listenToMe() {\n docRef.addSnapshotListener(new EventListener<DocumentSnapshot>() {\n @Override\n public void onEvent(DocumentSnapshot documentSnapshot, FirebaseFirestoreException e) {\n if (e != null) {\n Log.w(\"onStart\", \"Listen failed.\", e);\n return;\n }\n if (documentSnapshot.exists()) {\n Double Latitude = Double.valueOf(documentSnapshot.getDouble(\"latitude\"));\n Double Longitude = Double.valueOf(documentSnapshot.getDouble(\"longitude\"));\n userName = documentSnapshot.getString(\"first\");\n if (documentSnapshot.get(\"photoUrl\") != null) {\n photoUrl = documentSnapshot.get(\"photoUrl\").toString();\n Glide.with(getApplicationContext()).load(photoUrl).into(image);\n }\n Log.d(\"my username is \" + userName + photoUrl, \"onEvent: \");\n\n LatLng latLng = new LatLng(Latitude, Longitude);\n userLatLng = latLng;\n myLocation = new Location(\"myLocation\");\n myLocation.setLatitude(Latitude);\n myLocation.setLongitude(Longitude);\n //draw new position\n drawMyPosition(latLng, userName);\n }\n }\n });\n }", "title": "" }, { "docid": "c29209871572b5fa62efda13f2b76e71", "score": "0.575357", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n // Logic to handle location object\n userLocation= new LatLng(location.getLatitude (),location.getLongitude ());\n\n //System.out.println (\"NEw user location\" +userLocation);\n }\n }", "title": "" }, { "docid": "944a1f1b66120a8eb0f8d73d541d9952", "score": "0.575023", "text": "private void getLocation() {\n\n if (isPermissionGranted) {\n\n try\n {\n mLastLocation = LocationServices.FusedLocationApi\n .getLastLocation(mGoogleApiClient);\n }\n catch (SecurityException e)\n {\n e.printStackTrace();\n }\n\n }\n\n }", "title": "" }, { "docid": "71af8d5da3af7abe6d2c9bfbe460f810", "score": "0.5749376", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n currentLocation = location;\n Toast.makeText(context, \"Location received\", Toast.LENGTH_LONG).show();\n\n\n } else {\n // Maybe a toast saying cannot get location\n Toast.makeText(context, \"Could not get location\", Toast.LENGTH_LONG).show();\n }\n }", "title": "" }, { "docid": "d0212ef1eee2fe4dfa66e724d9cf7e95", "score": "0.5749092", "text": "@Override\n public void onConnected(Bundle connectionHint) {\n if (ContextCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n /* Allows Location Updates */\n mRequestingLocationUpdates = true;\n mLocationRequest = new LocationRequest();\n if (mRequestingLocationUpdates) {\n startLocationUpdates();\n }\n }\n }", "title": "" }, { "docid": "edc41913e4316f5733225ebf94e59f6e", "score": "0.574847", "text": "private void getDeviceLocation() {\n fusedLocationProviderClient.getLastLocation()\n .addOnCompleteListener(task -> {\n if (task.isSuccessful()) {\n lastKnownLocation = task.getResult();\n if (lastKnownLocation != null) {\n //moves the camera to current loc of the user\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(lastKnownLocation.getLatitude(), lastKnownLocation.getLongitude()), DEFAULT_ZOOM));\n } else {\n LocationRequest locationRequest = createLocationRequest();\n locationCallback = new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n super.onLocationResult(locationResult);\n\n if (locationResult == null) {\n return;\n }\n lastKnownLocation = locationResult.getLastLocation();\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(lastKnownLocation.getLatitude(), lastKnownLocation.getLongitude()), DEFAULT_ZOOM));\n fusedLocationProviderClient.removeLocationUpdates(locationCallback);\n }\n };\n fusedLocationProviderClient.requestLocationUpdates(locationRequest, locationCallback, null);\n\n }\n } else {\n Toast.makeText(context, context.getString(R.string.unable_to_get_last_location), Toast.LENGTH_SHORT).show();\n }\n });\n }", "title": "" }, { "docid": "244993e2dc39936a844ab3ca9b043e51", "score": "0.5744232", "text": "public void updateLocation() {\n mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n\n mFusedLocationClient.getLastLocation()\n .addOnSuccessListener(this, new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(@Nullable Location location) {\n // Got last known location. In some rare situations this can be null.\n if (location != null) {\n // Logic to handle location object\n setLatLng(location);\n } else {\n //Location not available\n onGpsAutomatic();\n }\n }\n });\n\n }", "title": "" }, { "docid": "a4481ae55e16b59985c29ce3a802a0b2", "score": "0.5736548", "text": "@Override\n public void onConnected(@Nullable Bundle bundle) {\n\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED\n && ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n\n // If permissions are set, we can get last location\n location = LocationServices.FusedLocationApi.getLastLocation(googleApiClient);\n\n deviceLat = location.getLatitude();\n deviceLong = location.getLongitude();\n\n startLocationUpdates();\n }", "title": "" }, { "docid": "ef08add1a00f75ccd89c129840e27056", "score": "0.57087815", "text": "@SuppressLint(\"MissingPermission\")\n @Override\n public void onConnected(Bundle bundle) {\n Location location = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n\n if (location == null) {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n\n } else {\n //If everything went fine lets get latitude and longitude\n currentLatitude = location.getLatitude();\n currentLongitude = location.getLongitude();\n Log.d(\"Lat Lon = \", String.valueOf(currentLatitude) + \" \" + String.valueOf(currentLongitude));\n\n try {\n JSONObject jsonObj1=null;\n jsonObj1 =new JSONObject();\n jsonObj1.put(\"latitude\", String.valueOf(currentLatitude));\n jsonObj1.put(\"longitude\", String.valueOf(currentLongitude));\n\n Log.d(\"Data = \", jsonObj1.toString());\n final JSONObject finalJsonObj = jsonObj1;\n getData(finalJsonObj);\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "55614ae3599bea54a619c68e603d24e5", "score": "0.5707483", "text": "protected void startLocationUpdates()\n {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, REQUEST_PERMISSION_LOCATION);\n } else {\n goAndDetectLocation();\n }\n\n }", "title": "" }, { "docid": "208bc8a128873c206031f2c7c272dd19", "score": "0.569962", "text": "public void getMyLocation() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) !=\n PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n\n ActivityCompat.requestPermissions(this, new String []{\n Manifest.permission.ACCESS_FINE_LOCATION},REQUEST_CODE);\n return;\n }\n Task<Location> task = client.getLastLocation(); // get the last location the device was in (current location)\n task.addOnSuccessListener(new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(final Location location) {\n if (location != null){\n currentLocation = location;\n\n //show the latitude and longitude for the current location and display it as toast\n Toast.makeText(getApplicationContext(),currentLocation.getLatitude()\n + \"---\" + currentLocation.getLongitude(), Toast.LENGTH_SHORT).show();\n// System.out.println(currentLocation.getLatitude()\n// + \"---\" + currentLocation.getLongitude());\n // get the map when everything is ready\n mapFragment.getMapAsync(LocationAlarm.this);\n\n }\n }\n });\n }", "title": "" }, { "docid": "6072fa30630e4bffd86429be22e8a662", "score": "0.56995857", "text": "@Override \npublic void onConnected(Bundle connectionHint) {\n // Provides a simple way of getting a device's location and is well suited for \n // applications that do not require a fine-grained location and that do not need location \n // updates. Gets the best and most recent location currently available, which may be null \n // in rare cases when a location is not available. \n mLastLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n}", "title": "" }, { "docid": "e3c0e29a0a78bf54bf11b64f2f563951", "score": "0.5696815", "text": "@Override\n public void onLocationChanged(Location location) {\n\n Log.d(\"Clima\", \"onLocationChanged() callback received\");\n\n String longitude = String.valueOf(location.getLongitude()); // extracting longitude location data\n // from LOCATION OBJECT using getLongitude() AND representing it as a String\n\n String latitude = String.valueOf(location.getLatitude());\n\n Log.d(\"Clima\", \"longitude is: \" + longitude);\n Log.d(\"Clima\", \"latitude is: \" + latitude);\n\n // taking APP ID together with latitude and longitude\n RequestParams params = new RequestParams(); // new variable holds the query parameters for openwhethermap\n // the way to add those parameters is with put() method, it requires the 'key'\n // and the 'value'\n params.put(\"lat\", latitude); // we store 3 parameters in the 'params' object\n params.put(\"lon\", longitude);\n params.put(\"appid\", APP_ID);\n\n //REQUESTING THE WEATHER BY LATITUDE AND LONGITUDE\n // we will put actual networking call into separate method, and give 'params' as an input\n letsDoSomeNetworking(params);\n\n\n }", "title": "" }, { "docid": "eb2b5d858be0f4603934e61e8d369d11", "score": "0.5693524", "text": "@Override\n public void onConnected(Bundle connectionHint) {\n Log.d(TAG, \"Connected to Google API for Location Management\");\n if (mRequestingLocationUpdates) {\n LocationRequest mLocationRequest = createLocationRequest();\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n initializePolyline();\n }\n }", "title": "" }, { "docid": "32392bf4d437189e2f022a229b80eed5", "score": "0.5692817", "text": "protected void startLocationUpdates() {\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettingsRequest object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Check whether location settings are satisfied\n // https://developers.google.com/android/reference/com/google/android/gms/location/SettingsClient\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if(ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED)\n return;\n Log.e(\"\",\"message\");\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n getFusedLocationProviderClient(this).requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n // do work here\n onLocationChanged(locationResult.getLastLocation());\n getLastLocation();\n }\n },\n Looper.myLooper());\n }", "title": "" }, { "docid": "3475563129767d50afb14b779d5203e9", "score": "0.5684039", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n Log.e(\"biswa\", String.valueOf(location));\n databaseReference.child(\"tracking\").child(id).child(\"\" + i).setValue(new LatLong(String.valueOf(location.getLatitude()), String.valueOf(location.getLongitude())));\n i++;\n // ...\n }\n }", "title": "" }, { "docid": "69d351463e9a99520e28fa5e3dc7b370", "score": "0.5661444", "text": "@Override\n public void onAuthenticated(AuthData authData) {\n Map<String, Object> map = new HashMap<String, Object>();\n map.put(\"email\", emailAddress);\n map.put(\"username\", username);\n map.put(\"name\", fullname);\n map.put(\"serviceName\", servicename);\n map.put(\"serviceDescription\", servicedescription);\n map.put(\"servicePhone\", servicephone);\n map.put(\"category\", category);\n map.put(\"highwayNumber\", highwayNumber);\n map.put(\"latitude\", latitudeSS);\n map.put(\"longitude\", longitudeSS);\n ref.child(\"services\").child(authData.getUid()).setValue(map);\n\n Intent intent = new Intent(ServiceProviderPostSignUp.this, ServiceProviderLanding.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);\n startActivity(intent);\n }", "title": "" }, { "docid": "610698cabd305090cb13f678e6da63d9", "score": "0.5654151", "text": "private void startLocation(){\n if ( mGoogleApiClient == null && checkPlayServices() ) {\n buildGoogleApiClient();\n createLocationRequest();\n if(!mGoogleApiClient.isConnected()){\n mGoogleApiClient.connect();\n }\n }\n }", "title": "" }, { "docid": "403ebbe09a8c034ef23970a4ec18f63a", "score": "0.56534314", "text": "private void pushToFirestore()\n {\n LocationHelper helper = new LocationHelper(currentLocation.getLatitude() ,\n currentLocation.getLongitude() , serverFilePath);\n mLocationData.push().setValue(helper).addOnFailureListener(\n new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n Log.e(TAG, \"onFailure: \",e );\n }\n }\n );\n }", "title": "" }, { "docid": "13ac64efd8bac6435dde9fb03e156fb8", "score": "0.5649267", "text": "private Location fetchLocation(Context context) { \n\t\tif(locationService == null) { \n\t\t\tlocationService = new LocationService(context); \n\t\t}\n\t\tLocation userLocation = new Location(\"user\"); \n\t\t\n if(locationService.canGetLocation() && locationService.getLocation() != null) {\n userLocation = new Location(locationService.getLocation()); \n Log.d(\"Manager\", \"userLocation=\" + locationService.getLatitude() + \" \" \n \t\t\t+ locationService.getLongitude());\n }\n\n \t\t\n\t\treturn userLocation; \n\t}", "title": "" }, { "docid": "764547f0e9765770621c71c8d6f2b887", "score": "0.56442916", "text": "void reauthentication(String email, String password, FirebaseCallback callback);", "title": "" }, { "docid": "e65eafcff06ad61a33feedff473e6ac5", "score": "0.56313235", "text": "@Override\n public void onMapReady(GoogleMap googleMap) {\n try {\n mMap = googleMap;\n mFragment = (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map);\n mFragment.getMapAsync(this);\n\n // push local GPS to server\n followPwd = (EditText) findViewById(R.id.follow_pwd);\n followMe = (CheckBox) findViewById(R.id.follow_me);\n followMe.setOnClickListener(new View.OnClickListener() {\n @Override\n public synchronized void onClick(View view) {\n if (followMe.isChecked()) {\n followPwd.setFocusable(false);\n //clean key object\n String pushPwd = followPwd.getText().toString();\n try {\n pushKeyObject = new KeyObject(pushPwd);\n } catch (NoSuchAlgorithmException e) {\n e.printStackTrace();\n pushKeyObject = null;\n }\n // fetch GPS every second\n followMeTask = scheduler.scheduleAtFixedRate(new Runnable() {\n @Override\n public void run() {\n try {\n // publish publish key encrypted by shared secret\n byte[] httpResponseByteArr = Utils.sendByteArrAsFileViaHTTP(pushKeyObject.generateKeyExchangeMsg(), cookieManager, Utils.SERVER_DOMAIN + \"/key\", \"keyUpload\", mapsActivity);\n //decrypt public keys of followers\n\n pushKeyObject.parseKeyExchangeMsg(httpResponseByteArr);\n // generate GPS transfer object\n GpsTransfer gpsTransfer = new GpsTransfer(lastkLocation);\n // encrypt GPS with DH-EKE session key between clients\n Map<String, String> pushGPSObjectMap = new LinkedHashMap<>();\n for (String followerId : pushKeyObject.getSecretKeyMap().keySet()) {\n byte[] encryptedGpsByteArr = Utils.encryptJsonObject(gpsTransfer, pushKeyObject.getSecretKeyMap().get(followerId));\n pushGPSObjectMap.put(followerId, Base64.encodeToString(encryptedGpsByteArr, Base64.DEFAULT));\n }\n byte[] tempJson = Utils.encodeObjectToJson(pushGPSObjectMap);\n byte[] rsp = Utils.sendByteArrAsFileViaHTTP(tempJson, cookieManager, Utils.SERVER_DOMAIN + \"/push\", \"dataUpload\", mapsActivity);\n } catch (Exception e) {\n Log.e(APP_LABEL, \"exception\", e);\n e.printStackTrace();\n }\n }\n }, 0, 5, TimeUnit.SECONDS);\n } else {\n // stop scheduled push task\n if (followMeTask != null) {\n followMeTask.cancel(false);\n }\n followPwd.setFocusableInTouchMode(true);\n followPwd.setFocusable(true);\n }\n }\n });\n\n\n // fetch GPS from server with ID\n followSecrect = (EditText) findViewById(R.id.follow_secrect);\n followID = (EditText) findViewById(R.id.follow_id);\n follow = (CheckBox) findViewById(R.id.follow);\n follow.setOnClickListener(new View.OnClickListener() {\n @Override\n public synchronized void onClick(View view) {\n if (follow.isChecked()) {\n followSecrect.setFocusable(false);\n followID.setFocusable(false);\n String secret = followSecrect.getText().toString();\n try {\n followKeyObject = new KeyObject(secret);\n } catch (NoSuchAlgorithmException e) {\n e.printStackTrace();\n followKeyObject = null;\n }\n // fetch GPS every second\n followTask = scheduler.scheduleAtFixedRate(new Runnable() {\n @Override\n public void run() {\n try {\n //pull task and draw map trace\n String followIdStr = followID.getText().toString();\n\n // send encrypted follow key\n Map<String, String> followKeyMap = new LinkedHashMap<>();\n followKeyMap.put(followIdStr, Base64.encodeToString(followKeyObject.generateKeyExchangeMsg(), Base64.DEFAULT));\n byte[] tempJson = Utils.encodeObjectToJson(followKeyMap);\n byte[] httpResponseByteArr = Utils.sendByteArrAsFileViaHTTP(tempJson, cookieManager, Utils.SERVER_DOMAIN + \"/follow\", \"followUpload\", mapsActivity);\n // fetch out published key\n followKeyObject.parseKeyExchangeMsg(httpResponseByteArr);\n //pull location information from server\n\n byte[] GPSObjectMap = Utils.sendHTTPSWithNameValuePair(Utils.SERVER_DOMAIN + \"/pull\", new ArrayList<NameValuePair>(), cookieManager, mapsActivity);\n Map<String, String> jsonGPSObjectMap = (Map<String, String>) Utils.decodeJsonToObject(GPSObjectMap, Map.class);\n GpsTransfer gpsTransfer = null;\n if (jsonGPSObjectMap != null && !jsonGPSObjectMap.isEmpty()) {\n // using existing DH-EKE key to decrypt GPS objects (can be extended to follow multiple targets)\n Map<String, GpsTransfer> gpsTransferMap = new LinkedHashMap<>();\n for (String followId : followKeyObject.getSecretKeyMap().keySet()) {\n if (StringUtils.isNotEmpty(jsonGPSObjectMap.get(followId))) {\n gpsTransferMap.put(followId,\n Utils.decryptJsonObject(Base64.decode(jsonGPSObjectMap.get(followId), Base64.DEFAULT), followKeyObject.getSecretKeyMap().get(followId), GpsTransfer.class));\n }\n }\n gpsTransfer = gpsTransferMap.get(followIdStr);\n }\n if (gpsTransfer != null) {\n // refresh counter\n errorCounter.set(0);\n if (!isTargetOnline.get()) {\n mapsActivity.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n AlertDialog.Builder builder = new AlertDialog.Builder(findViewById(R.id.map).getContext());\n builder.setMessage(R.string.msg_pullSucceeded);\n builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dialog.dismiss();\n }\n });\n final AlertDialog dialog = builder.create();\n dialog.show();\n // Hide after 10 seconds\n final Handler handler = new Handler();\n final Runnable runnable = new Runnable() {\n @Override\n public void run() {\n if (dialog.isShowing()) {\n dialog.dismiss();\n }\n }\n };\n\n dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {\n @Override\n public void onDismiss(DialogInterface dialog) {\n handler.removeCallbacks(runnable);\n }\n });\n handler.postDelayed(runnable, 10000); // auto-close alert dialog after 10 seconds\n }\n });\n }\n\n //place marker at target position\n final LatLng latLng = new LatLng(gpsTransfer.getLat(), gpsTransfer.getLng());\n final MarkerOptions markerOptions = new MarkerOptions();\n markerOptions.position(latLng);\n markerOptions.title(\"Target Position\");\n markerOptions.icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_ROSE));\n mapsActivity.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n // first marker or back online\n if (targetLocationMarker == null || !isTargetOnline.get()) {\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, mMap.getCameraPosition().zoom));\n isTargetOnline.set(true); // mark target online\n }\n if (targetLocationMarker != null) {\n targetLocationMarker.remove();\n // draw target moving trace\n mMap.addPolyline(new PolylineOptions()\n .add(targetLocationMarker.getPosition(), latLng)\n .width(5)\n .color(Color.RED));\n }\n targetLocationMarker = mMap.addMarker(markerOptions);\n }\n });\n } else {\n //check counter\n if (errorCounter.incrementAndGet() > 5) {\n if (isTargetOnline.get()) {\n isTargetOnline.set(false); // mark target offline\n mapsActivity.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n AlertDialog.Builder builder = new AlertDialog.Builder(findViewById(R.id.map).getContext());\n builder.setMessage(R.string.msg_pullFailed);\n builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // if user is offline, do nothing and clean edittext\n dialog.dismiss();\n }\n });\n final AlertDialog dialog = builder.create();\n dialog.show();\n // Hide after 10 seconds\n final Handler handler = new Handler();\n final Runnable runnable = new Runnable() {\n @Override\n public void run() {\n if (dialog.isShowing()) {\n dialog.dismiss();\n }\n }\n };\n\n dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {\n @Override\n public void onDismiss(DialogInterface dialog) {\n handler.removeCallbacks(runnable);\n }\n });\n handler.postDelayed(runnable, 10000); // auto-close alert dialog after 10 seconds\n }\n });\n }\n }\n }\n } catch (Exception e) {\n Log.e(APP_LABEL, \"exception\", e);\n e.printStackTrace();\n }\n }\n }, 5, 5, TimeUnit.SECONDS); //delay 5s , interval 5s\n } else {\n //reset counter\n errorCounter.set(0);\n isTargetOnline.set(true);\n targetLocationMarker = null;\n // stop scheduled pull task\n followSecrect.setFocusableInTouchMode(true);\n followSecrect.setFocusable(true);\n followID.setFocusableInTouchMode(true);\n followID.setFocusable(true);\n if (followTask != null) {\n followTask.cancel(false);\n }\n mapsActivity.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n mMap.clear();\n MarkerOptions markerOptions = new MarkerOptions();\n markerOptions.position(currLocationMarker.getPosition());\n markerOptions.title(\"Current Position\");\n markerOptions.icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_GREEN));\n currLocationMarker = mMap.addMarker(markerOptions);\n }\n });\n }\n }\n });\n } catch (Exception e) {\n Log.e(APP_LABEL, \"exception\", e);\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "7c1e9204be160ea37383e435ce63eb3b", "score": "0.56226933", "text": "private void startLocationUpdates() {\n try {\n if (mLocationPermissionGranted) {\n // Create the location request to start receiving updates\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(UPDATE_INTERVAL);\n mLocationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n // Create LocationSettingsRequest object using location request\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n // Check whether location settings are satisfied\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n // new Google API SDK v11 uses getFusedLocationProviderClient(this)\n mFusedLocationProviderClient.requestLocationUpdates(mLocationRequest, new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n onLocationChanged(locationResult.getLastLocation());\n }\n },\n Looper.myLooper());\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "title": "" }, { "docid": "69e50251d926644e4bf39561e1c2aeb9", "score": "0.56158894", "text": "public void getDeviceLocation(){\n Log.d(TAG, \"getDeviceLocation: Getting current device location\");\n fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(this);\n try{\n if(LocationPermissionGranted){\n final Task[] location = {fusedLocationProviderClient.getLastLocation()};\n location[0].addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) {\n if(task.isSuccessful()){\n Log.d(TAG, \"onComplete: Found Location\");\n Location currentLocation = (Location) task.getResult();\n latitude = currentLocation.getLatitude();\n longitude = currentLocation.getLongitude();\n editor.putString(\"userLocation\",latitude+\",\"+longitude);\n editor.apply();\n moveCamera(new LatLng(currentLocation.getLatitude(),currentLocation.getLongitude()),DEFAULT_ZOOM, \"My Location\");\n }else{\n Log.d(TAG, \"onComplete: current location is null\");\n Toast.makeText(DoctorLocationMap.this, \"Unable to get current location\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n }\n }catch (SecurityException exc){\n Log.e(TAG, \"getDeviceLocation: Security Exception:\"+ exc.getMessage());\n }\n\n }", "title": "" }, { "docid": "f3c0aef8a0e815b11679ff3085b191c4", "score": "0.56083", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n lat = location.getLatitude();\n lng = location.getLongitude();\n Toast.makeText(getActivity(), location.getLatitude() + \" : \" + location.getLongitude(), Toast.LENGTH_SHORT).show();\n }\n else {\n Toast.makeText(getActivity(), \"Can not access current location.\", Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "0011b463ceb4cc7a048ae39b9f504584", "score": "0.56082404", "text": "@SuppressLint(\"ClickableViewAccessibility\")\n private void inintthisactivity() {\n dialogHelper=new DialogHelper(MainDashBoard.this);\n if(haveNetworkConnection()){\n if(!locationServicesEnabled(MainDashBoard.this)){\n Log.d(\"\", \"onKey: \");\n }\n }else {\n\n showsnackmessage(\"You don't have internet connection\");\n }\n\n\n firebaseAnalytics = FirebaseAnalytics.getInstance(this);\n FirebaseHelper food = new FirebaseHelper();\n food.setId(1);\n // choose random food name from the list\n food.setName(\"Imran\");\n Bundle bundle = new Bundle();\n bundle.putInt(FirebaseAnalytics.Param.ITEM_ID, food.getId());\n bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, food.getName());\n //Logs an app event.\n firebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);\n //Sets whether analytics collection is enabled for this app on this device.\n firebaseAnalytics.setAnalyticsCollectionEnabled(true);\n //Sets the minimum engagement time required before starting a session. The default value is 10000 (10 seconds). Let's make it 20 seconds just for the fun\n firebaseAnalytics.setMinimumSessionDuration(20000);\n //Sets the duration of inactivity that terminates the current session. The default value is 1800000 (30 minutes).\n firebaseAnalytics.setSessionTimeoutDuration(500);\n //Sets the user ID property.\n firebaseAnalytics.setUserId(String.valueOf(food.getId()));\n //Sets a user property to a given value.\n firebaseAnalytics.setUserProperty(\"FirebaseHelper\", food.getName());\n\n int hasPermission = ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION);\n if (hasPermission == PackageManager.PERMISSION_GRANTED) {\n\n isLocationPermssionAllowed=true;\n }else {\n isLocationPermssionAllowed=false;\n showsnackmessage(\"Location Permission is not granted\");\n\n }\n\n dialogHelper=new DialogHelper(MainDashBoard.this);\n // dialogHelper.showDialog(String.valueOf(getScreenDimension()));\n progressbar =new Progressbar(MainDashBoard.this);\n LocationCorrdinates = new HashMap< >();\n LocationCorrdinates.put(\"lat\",String.valueOf(gpsTracker.getLatitude()));\n LocationCorrdinates.put(\"long\",String.valueOf(gpsTracker.getLongitude()));\n\n ImageView imageViewCoupan = findViewById(R.id.coupans_main_dash);\n ImageView imageViewHome = findViewById(R.id.home_main_dash);\n ImageView imageViewSearchReferal = findViewById(R.id.search_refrence_bottomsheet);\n ImageView imageViewPerson = findViewById(R.id.person_main_dash);\n RelativeLayout relativeLayoutFooter = findViewById(R.id.layout_footer);\n RelativeLayout relativeLayoutMain = findViewById(R.id.layout_main_board);\n\n Fragment f =getSupportFragmentManager().findFragmentById(R.id.container);\n if(f instanceof SubBrandFragment){\n relativeLayoutFooter.setBackgroundResource(R.drawable.footer_b);\n relativeLayoutMain.setBackgroundResource(R.color.white);\n }else {\n relativeLayoutFooter.setBackgroundResource(R.drawable.footer);\n relativeLayoutMain.setBackgroundResource(R.color.main_dash_board_color);\n }\n ImageView buttonSearch = findViewById(R.id.search_main_dashboard);\n\n buttonSearch.setOnClickListener(view -> {\n /*Search Using SearchBox*/\n\n Dialog dialog=new Dialog(MainDashBoard.this);\n // dialog.setCancelable(false);\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);\n dialog.setContentView(R.layout.custom_dialog_box);\n BtnSearchVendor=dialog.findViewById(R.id.btn_search_vendor_dlg);\n layout_ProdcutName_dlg=dialog.findViewById(R.id.layout_product_name_dlg);\n layout_location_dlg=dialog.findViewById(R.id.layout_location_name_dlg);\n layout_category_dlg=dialog.findViewById(R.id.layout_category_name_dlg);\n et_p_name_dlg=dialog.findViewById(R.id.et_p_name_dlg);\n et_location_dlg=dialog.findViewById(R.id.et_location_dlg);\n et_category_dlg=dialog.findViewById(R.id.et_category_dlg);\n ImgClearQuery=dialog.findViewById(R.id.img_cancel_pname_dlg);\n ImgClearLocation=dialog.findViewById(R.id.img_cancel_location_dlg);\n ImgClearCategory=dialog.findViewById(R.id.img_cancel_category_dlg);\n TvHintProduct_dlg=dialog.findViewById(R.id.search_hint_dlg);\n TvHintLocation_dlg=dialog.findViewById(R.id.location_hint_dlg);\n TvHintCategory_dlg=dialog.findViewById(R.id.hint_category_dlg);\n\n ImgClearQuery.setOnClickListener(view16 -> {\n if(!TextUtils.isEmpty(et_p_name_dlg.getText().toString())){\n et_p_name_dlg.getText().clear();\n }\n });\n ImgClearLocation.setOnClickListener(view17 -> {\n if(!TextUtils.isEmpty(et_location_dlg.getText().toString())){\n et_location_dlg.getText().clear();\n }\n });\n ImgClearCategory.setOnClickListener(view18 -> {\n if(!TextUtils.isEmpty(et_category_dlg.getText().toString())){\n et_category_dlg.getText().clear();\n }\n });\n\n\n et_p_name_dlg.setOnFocusChangeListener((view13, hasFocus) -> {\n if (hasFocus) {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n\n } else {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n\n }\n });\n\n et_location_dlg.setOnFocusChangeListener((view12, hasFocus) -> {\n if (hasFocus) {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n\n } else {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n }\n });\n et_category_dlg.setInputType(InputType.TYPE_NULL);\n et_category_dlg.requestFocus();\n et_category_dlg.setOnClickListener(view110 -> {\n et_category_dlg.setFocusableInTouchMode(true);\n et_category_dlg.setFocusable(true);\n et_category_dlg.requestFocus();\n addcategorylist();\n\n });\n et_category_dlg.setOnFocusChangeListener((view1, hasFocus) -> {\n if (hasFocus) {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n\n addcategorylist();\n } else {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n }\n });\n\n et_location_dlg.setOnKeyListener(new View.OnKeyListener() {\n @Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n // You can identify which key pressed buy checking keyCode value\n // with KeyEvent.KEYCODE_\n if (keyCode == KeyEvent.KEYCODE_DEL) {\n // this is for backspace\n et_location_dlg.getText().clear();\n }\n return false;\n }\n });\n et_category_dlg.setOnKeyListener(new View.OnKeyListener() {\n @Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n // You can identify which key pressed buy checking keyCode value\n // with KeyEvent.KEYCODE_\n if (keyCode == KeyEvent.KEYCODE_DEL) {\n // this is for backspace\n et_category_dlg.getText().clear();\n }\n return false;\n }\n });\n /* et_p_name_dlg.setOnKeyListener(new View.OnKeyListener() {\n @Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n // You can identify which key pressed buy checking keyCode value\n // with KeyEvent.KEYCODE_\n if (keyCode == KeyEvent.KEYCODE_DEL) {\n // this is for backspace\n et_p_name_dlg.getText().clear();\n }else {\n Log.d(\"\", \"onKey: \");\n // Toast.makeText(MainDashBoard.this, String.valueOf(KeyEvent.KEYCODE_DEL), Toast.LENGTH_SHORT).show();\n }\n return false;\n }\n });*/\n BtnSearchVendor.setOnClickListener(view19 -> {\n\n SelectedQuery=et_p_name_dlg.getText().toString().trim();\n SelectedLocation=et_location_dlg.getText().toString().trim();\n SelcedCategory=et_category_dlg.getText().toString().trim();\n\n\n if(isEmptyString(SelectedQuery)&&isEmptyString(SelectedLocation)&&isEmptyString(SelcedCategory)){\n showsnackmessage(\"Enter Query For Search\");\n }else {\n\n\n QueryString=\"city=\"+SelectedLocation+\"&\"+\"category=\"+SelcedCategory+\"&\"+\"query=\"+SelectedQuery;\n params.add(new BasicNameValuePair(\"city\", SelectedLocation));\n params.add(new BasicNameValuePair(\"category\", SelcedCategory));\n params.add(new BasicNameValuePair(\"query\", SelectedQuery));\n\n GetSearch();\n dialog.dismiss();\n }\n\n });\n dialog.setOnKeyListener((arg0, keyCode, event) -> {\n // TODO Auto-generated method stub\n if (keyCode == KeyEvent.KEYCODE_BACK) {\n dialog.dismiss();\n }\n return true;\n });\n dialog.show();\n });\n\n imageViewSearchReferal.setOnClickListener(view -> {\n\n Dialog dialog=new Dialog(MainDashBoard.this);\n // dialog.setCancelable(false);\n dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);\n dialog.setContentView(R.layout.custom_dialog_box);\n BtnSearchVendor=dialog.findViewById(R.id.btn_search_vendor_dlg);\n layout_ProdcutName_dlg=dialog.findViewById(R.id.layout_product_name_dlg);\n layout_location_dlg=dialog.findViewById(R.id.layout_location_name_dlg);\n layout_category_dlg=dialog.findViewById(R.id.layout_category_name_dlg);\n et_p_name_dlg=dialog.findViewById(R.id.et_p_name_dlg);\n et_location_dlg=dialog.findViewById(R.id.et_location_dlg);\n et_category_dlg=dialog.findViewById(R.id.et_category_dlg);\n ImgClearQuery=dialog.findViewById(R.id.img_cancel_pname_dlg);\n ImgClearLocation=dialog.findViewById(R.id.img_cancel_location_dlg);\n ImgClearCategory=dialog.findViewById(R.id.img_cancel_category_dlg);\n TvHintProduct_dlg=dialog.findViewById(R.id.search_hint_dlg);\n TvHintLocation_dlg=dialog.findViewById(R.id.location_hint_dlg);\n TvHintCategory_dlg=dialog.findViewById(R.id.hint_category_dlg);\n\n ImgClearQuery.setOnClickListener(view16 -> {\n if(!TextUtils.isEmpty(et_p_name_dlg.getText().toString())){\n et_p_name_dlg.getText().clear();\n }\n });\n ImgClearLocation.setOnClickListener(view17 -> {\n if(!TextUtils.isEmpty(et_location_dlg.getText().toString())){\n et_location_dlg.getText().clear();\n }\n });\n ImgClearCategory.setOnClickListener(view18 -> {\n if(!TextUtils.isEmpty(et_category_dlg.getText().toString())){\n et_category_dlg.getText().clear();\n }\n });\n et_p_name_dlg.setOnFocusChangeListener((view13, hasFocus) -> {\n if (hasFocus) {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n\n } else {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n\n }\n });\n\n et_location_dlg.setOnFocusChangeListener((view12, hasFocus) -> {\n if (hasFocus) {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n\n } else {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n }\n });\n et_category_dlg.setInputType(InputType.TYPE_NULL);\n et_category_dlg.requestFocus();\n et_category_dlg.setOnClickListener(view110 -> {\n et_category_dlg.setFocusableInTouchMode(true);\n et_category_dlg.setFocusable(true);\n et_category_dlg.requestFocus();\n addcategorylist();\n\n });\n et_category_dlg.setOnFocusChangeListener((view1, hasFocus) -> {\n if (hasFocus) {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n\n addcategorylist();\n } else {\n layout_ProdcutName_dlg.setBackgroundResource(R.drawable.rectangle_edittext_selcetr);\n layout_location_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n layout_category_dlg.setBackgroundResource(R.drawable.rectangle_edittext_unselcetr);\n\n TvHintProduct_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.color_custom));\n TvHintLocation_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n TvHintCategory_dlg.setTextColor(ContextCompat.getColor(MainDashBoard.this, R.color.black));\n }\n });\n\n et_location_dlg.setOnKeyListener(new View.OnKeyListener() {\n @Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n // You can identify which key pressed buy checking keyCode value\n // with KeyEvent.KEYCODE_\n if (keyCode == KeyEvent.KEYCODE_DEL) {\n // this is for backspace\n et_location_dlg.getText().clear();\n }\n return false;\n }\n });\n et_category_dlg.setOnKeyListener(new View.OnKeyListener() {\n @Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n\n if (keyCode == KeyEvent.KEYCODE_DEL) {\n // this is for backspace\n et_category_dlg.getText().clear();\n }\n return false;\n }\n });\n et_p_name_dlg.setOnKeyListener(new View.OnKeyListener() {\n @Override\n public boolean onKey(View v, int keyCode, KeyEvent event) {\n\n if (keyCode == KeyEvent.KEYCODE_DEL) {\n // this is for backspace\n et_p_name_dlg.getText().clear();\n }else {\n // Toast.makeText(MainDashBoard.this, String.valueOf(KeyEvent.KEYCODE_DEL), Toast.LENGTH_SHORT).show();\n }\n return false;\n }\n });\n BtnSearchVendor.setOnClickListener(view19 -> {\n\n SelectedQuery=et_p_name_dlg.getText().toString().trim();\n SelectedLocation=et_location_dlg.getText().toString().trim();\n SelcedCategory=et_category_dlg.getText().toString().trim();\n\n if(isEmptyString(SelectedQuery)&&isEmptyString(SelectedLocation)&&isEmptyString(SelcedCategory)){\n showsnackmessage(\"Enter Query For Search\");\n }else {\n QueryString=\"city=\"+SelectedLocation+\"&\"+\"category=\"+SelcedCategory+\"&\"+\"query=\"+SelectedQuery;\n params.add(new BasicNameValuePair(\"city\", SelectedLocation));\n params.add(new BasicNameValuePair(\"category\", SelcedCategory));\n params.add(new BasicNameValuePair(\"query\", SelectedQuery));\n\n\n GetSearch();\n\n dialog.dismiss();\n }\n\n });\n dialog.setOnKeyListener((arg0, keyCode, event) -> {\n // TODO Auto-generated method stub\n if (keyCode == KeyEvent.KEYCODE_BACK) {\n dialog.dismiss();\n }\n return true;\n });\n dialog.show();\n\n\n });\n imageViewHome.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n IsFromMainMenu=true;\n // isFromSettings=true;\n isfromHomeButton=true;\n\n getSupportFragmentManager().beginTransaction()\n .replace(R.id.container, MainDashBoardFragment.newInstance())\n .commitNow();\n\n // OpenFragment(new MainDashBoardFragment(),\"MainDashBoardFragment\",null,\"MainDashBoardFragment\");\n\n\n }\n });\n\n imageViewPerson.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n\n boolean strStatus =SharedPref.readBol(SharedPref.IsLoginUser, false);\n\n if(strStatus){\n Fragment fragment = new ProfileFragment();\n getSupportFragmentManager().beginTransaction().replace(R.id.container, fragment, \"ProfileFragment\")\n .commitAllowingStateLoss();\n\n // OpenFragment(new ProfileFragment(),\"ProfileFragment\",null,\"ProfileFragment\");\n\n\n\n }else {\n\n dialogHelper.showWarningDIalog(getResources().getString(R.string.no_login_alert_msg),\"Login\",getResources().getString(R.string.dialog_cancel));\n\n }\n\n }\n });\n imageViewCoupan.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n boolean strStatus =SharedPref.readBol(SharedPref.IsLoginUser, false);\n if(strStatus){\n\n Fragment fragment = new CoupanFragment();\n getSupportFragmentManager().beginTransaction().replace(R.id.container, fragment, \"Coupon_Frag\")\n .commit();\n // OpenFragment(new CoupanFragment(),\"CoupanFragment\",null,\"CoupanFragment\");\n\n\n\n }else {\n dialogHelper.showWarningDIalog(getResources().getString(R.string.no_login_alert_msg),\"Login\",getResources().getString(R.string.dialog_cancel));\n\n }\n }\n });\n\n\n }", "title": "" }, { "docid": "12bd3eaef8d93dec0bdf7cd3c88bef61", "score": "0.5601571", "text": "@Override\n\tpublic void onConnected(Bundle bundle) {\n\t\tLog.i(TAG, \"Location Client is connected to GooglePlayService.\");\n\n\t\tLocation currentLoc = mLocationClient.getLastLocation();\n\t\twhile (currentLoc == null) {\n\t\t\tcurrentLoc = mLocationClient.getLastLocation();\n\t\t}\n\t\tcurLocGlobal = currentLoc;\n\n\t\tLatLng locationNew = new LatLng(currentLoc.getLatitude(),\n\t\t\t\tcurrentLoc.getLongitude());\n\t\tCameraUpdate cameraup = CameraUpdateFactory.newLatLngZoom(locationNew,\n\t\t\t\t15);\n\t\tLocationUtils.mMap.animateCamera(cameraup);\n\n\n\t\tLocationUtils.getAddress(this, currentLoc);\n\t}", "title": "" }, { "docid": "aa8fcf21f1ec228a41ec92e69fb3f279", "score": "0.5593934", "text": "public void getLocation() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n checkPermissionForLocation();\n } else {\n Task<Location> locationTask = fusedLocationProviderClient.getLastLocation();\n locationTask.addOnSuccessListener(new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(Location location) {\n if (location != null) {\n\n Log.d(TAG, \"onSuccess: Location : \" + location.toString());\n Log.d(TAG, \"onSuccess: Latitude: \" + location.getLatitude());\n Log.d(TAG, \"onSuccess: Longitude: \" + location.getLongitude());\n Log.d(TAG, \"onSuccess: Time: \" + location.getTime());\n userLat = location.getLatitude();\n userLong = location.getLongitude();\n String address = getCompleteAddressString(userLat, userLong);\n userAddress.setText(address);\n }\n }\n });\n\n locationTask.addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n e.printStackTrace();\n }\n });\n }\n }", "title": "" }, { "docid": "f48a0652306787d82ae57345a530e5b4", "score": "0.5593617", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n // Logic to handle location object\n mLastKnownLocation = location;\n Constants.setmLastKownLocation(mLastKnownLocation);\n new GeoCode().execute();\n System.out.println(\"miles1 all clear\");\n } else {\n System.out.println(\"miles2 errror\");\n\n hideProgressLayout();\n showErrorLayout();\n retryButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n hideErrorLayout();\n showProgressLayout();\n getDeviceLocation();\n\n }\n });\n // Toast.makeText(getActivity(), \"An error occured when getting location\", Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "ae2bccca15961a6f38ebeaedcc0f1715", "score": "0.5582921", "text": "@Override\n protected void onPreExecute() {\n buildGoogleLocationApi(context);\n }", "title": "" }, { "docid": "2fd24223d2d9733d8228b5e89b576933", "score": "0.5581188", "text": "private void startLocationUpdates() {\r\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED\r\n && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\r\n return;\r\n }\r\n LocationServices.getFusedLocationProviderClient(this).requestLocationUpdates(lr, mLocationCallback, Looper.myLooper());\r\n }", "title": "" }, { "docid": "8fbf81e29c41739cc1898fc1069e388f", "score": "0.55742973", "text": "@SuppressLint(\"MissingPermission\")\n @Override\n public void onReceive(Context context, Intent intent) {\n\n locationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);\n\n\n locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000000, 0, new LocationListener() {\n @Override\n public void onLocationChanged(Location location) {\n Log.e(\"Location\", Double.toString(location.getLatitude()));\n Calendar mycalender = Calendar.getInstance();\n DatabaseReference mDatabase = FirebaseDatabase.getInstance().getReference();\n DatabaseReference mChildReference = mDatabase.child(\"Location\").push();\n mChildReference.child(\"Lattitude\").setValue(location.getLatitude());\n mChildReference.child(\"Longitude\").setValue(location.getLongitude());\n mChildReference.child(\"Time\").setValue(mycalender.getTime());\n }\n\n @Override\n public void onStatusChanged(String provider, int status, Bundle extras) {\n\n }\n\n @Override\n public void onProviderEnabled(String provider) {\n\n }\n\n @Override\n public void onProviderDisabled(String provider) {\n\n }\n });\n\n }", "title": "" }, { "docid": "9d054450b737d98e400825ba3be9a5d6", "score": "0.5572655", "text": "@Override\n public void onConnected(Bundle dataBundle) {\n\n // Get the current location\n Location currentLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n\n if (currentLocation != null) {\n\n // Get the current lat/lng\n LatLng currentLatLng = new LatLng(currentLocation.getLatitude(), currentLocation.getLongitude());\n\n // Zoom map to current location\n communicator.passCurrentLocation(currentLatLng);\n\n // Construct the Places API request URL\n String url = LocationUtils.getPlacesApiRequest(this, currentLatLng);\n\n // Get nearby places\n getNearbyPlaces(url);\n\n } else {\n Toast.makeText(this, R.string.no_location_detected, Toast.LENGTH_LONG).show();\n }\n\n }", "title": "" }, { "docid": "304d18eecc2d18469517f9cc89466f34", "score": "0.5570222", "text": "@Override\n public void onConnected(Bundle connectionHint) {\n Log.i(TAG, \"Connected to GoogleApiClient\");\n\n\n if (mCurrentLocation == null) {\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n\n return;\n }\n mCurrentLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n mLastUpdateTime = DateFormat.getTimeInstance().format(new Date());\n // updateUI();\n }\n\n\n if (mRequestingLocationUpdates) {\n startLocationUpdates();\n }\n }", "title": "" }, { "docid": "57af9a630863d14374f91782b51b5df0", "score": "0.5567368", "text": "public void buildLocationCallBack() {\n\n locationCallback = new com.google.android.gms.location.LocationCallback() {\n @Override\n public void onLocationResult(final LocationResult locationResult) {\n GeoFire geoFire = new GeoFire(mDataGeoFire);\n\n if (mMap != null) {\n GeoQuery geoQuery = null;\n if (geoQuery == null) {\n geoQuery = geoFire.queryAtLocation(new GeoLocation(locationResult.getLastLocation().getLatitude(),\n locationResult.getLastLocation().getLongitude()), 0.1f);\n } else {\n geoQuery.setCenter(new GeoLocation(locationResult.getLastLocation().getLatitude(),\n locationResult.getLastLocation().getLongitude()));\n }\n\n geoQuery.addGeoQueryEventListener(MapActivity.this);\n\n getEventsInRadiusUpdate(new GeoLocation(locationResult.getLastLocation().getLatitude(),\n locationResult.getLastLocation().getLongitude()));\n\n }\n }\n };\n }", "title": "" }, { "docid": "bd537a4753963bc07039ed1672ae0b02", "score": "0.5565409", "text": "@SuppressLint(\"MissingPermission\")\n private void requestNewLocationData(){\n LocationRequest mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5);\n mLocationRequest.setFastestInterval(0);\n mLocationRequest.setNumUpdates(1);\n\n // setting LocationRequest\n // on FusedLocationClient\n providerClient = LocationServices.getFusedLocationProviderClient(this);\n\n providerClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }", "title": "" }, { "docid": "e9c31fb8e2caef17140b51a7c33adb77", "score": "0.5556062", "text": "@Override\n public void onConnected(@Nullable Bundle bundle) {\n if(!checkPermission()) //Se, tramite il metodo di controllo dei permessi, verifico che i permessi non sono garantiti effettuo la return\n return;\n\n Toast.makeText(this, R.string.toast_connected, Toast.LENGTH_SHORT).show(); //Se vado avanti nel metodo, stampo messaggio \"Connesso\"\n\n LocationServices.FusedLocationApi.getLastLocation(googleApiClient); //Restituisce la migliore e più recente posizione attualmente disponibile\n\n locationRequest.setPriority(priority[1]) //Settaggio priorità della richiesta (vettore di priorità impostato in alto -> priority[])\n .setInterval(updateTime) //Settaggio dell'intervallo desiderato per gli aggiornamenti di posizione (variabile aggiornamento tempo)\n .setFastestInterval(updateTime) //Settaggio dell'intervallo più veloce per gli aggiornamenti di posizione (variabile aggiornamento tempo)\n .setSmallestDisplacement(updateGap); //Settaggio dello spostamento minimo tra gli aggiornamenti di posizione (variabile aggiornamento spostamento)\n\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n }", "title": "" }, { "docid": "a16333c23c7fb2c000e0c45e609b943e", "score": "0.5551218", "text": "@Override\n public void onConnected(Bundle connectionHint) {\n\n if (ContextCompat.checkSelfPermission(MainActivity.this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n\n // used if user wants to see explanation for accessing location\n if (ActivityCompat.shouldShowRequestPermissionRationale(MainActivity.this,\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n\n } else {\n\n // Get permission for accessing location\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n\n }\n }\n mLastLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n if (mLastLocation != null) {\n // This will get the latitude and longitude of the device. If location is null, the latitude\n // and longitude has been declared with set location.\n mLatitude = mLastLocation.getLatitude();\n mLongitude = mLastLocation.getLongitude();\n Toast.makeText(this, \"Location Detected\", Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(this, \"No Location Detected\", Toast.LENGTH_LONG).show();\n }\n }", "title": "" }, { "docid": "87fa594de44d69fef411a5ee5a229d48", "score": "0.5550085", "text": "@Override\n public void onConnected(Bundle connectionHint) {\n Log.i(TAG, \"Connected to GoogleApiClient\");\n\n if (mCurrentLocation == null) {\n mCurrentLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n updateUI();\n }\n \n if (locationManager != null){\n \tlocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 0, this);\n }\n \t\n if (mRequestingLocationUpdates) {\n startLocationUpdates();\n }\n \n \n }", "title": "" }, { "docid": "e746440730dee32c32faf0fffda4b969", "score": "0.5548891", "text": "private void startLocationUpdates() {\n\n if( ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED &&\n ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED )\n {\n return;\n }\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest,this); //careful, 3rd param was \"this\"\n }", "title": "" }, { "docid": "e128f92bb252a86a38eec8b03e29d1c4", "score": "0.5548141", "text": "private void checklocationSetting() {\n buildGoogleApiClient();\n createLocationRequest();\n buildLocationSettingsRequest();\n checkLocationSettings();\n }", "title": "" }, { "docid": "9402f95d6e4dc551b9d090e3fd090c01", "score": "0.5542282", "text": "private void callCloudLogicFmwLocationApi(LocationEvent lEvent) {\n // Create components of api request\n final String method = \"POST\";\n final String path = \"/api/locations\";\n //construct the POST body from LocationEvent and also form logged in user\n final String body = getJsonForPostBody(lEvent);\n\n MobileApiUtils.makeApiCall(apiLocationClient, method, path, body, null);\n }", "title": "" }, { "docid": "1fa9371be3d90ef4b93ac491ce8048fb", "score": "0.55371976", "text": "@Override\n public void onConnected(@Nullable Bundle bundle) {\n try {\n mLastLocation = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n if (mLastLocation != null) {\n double latitude = mLastLocation.getLatitude();\n double longitude = mLastLocation.getLongitude();\n L.m(\"latitude = \" + latitude);\n L.m(\"longitude = \" + longitude);\n listener.onTaskComplete(mLastLocation, Constants.TAG_LOCATION_OBJECT);\n } else {\n listener.onTaskComplete(\"No location detected\", Constants.TAG_LOCATION_FAILED);\n }\n } catch (SecurityException se){\n se.printStackTrace();\n }\n }", "title": "" }, { "docid": "50ded53e10d4ed00e5480a1ff19298ce", "score": "0.5535153", "text": "@SuppressLint(\"MissingPermission\")\n @Override\n public void onSuccess(LocationSettingsResponse locationSettingsResponse) {\n mFusedLocationClient.requestLocationUpdates(mLocationRequest,\n locationCallback, Looper.myLooper());\n\n updateLocationUI();\n }", "title": "" }, { "docid": "973048732cf622bdfcd1632ce0d12b85", "score": "0.5532846", "text": "public void startLocationUpdates() {\n mLocationCallback = new LocationCallback() {\n @Override\n public void onLocationResult(LocationResult locationResult) {\n if (locationResult != null) {\n for (Location location : locationResult.getLocations()) {\n onLocationChanged(location);\n }\n }\n }\n };\n\n mLocationRequest = new LocationRequest();\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n mLocationRequest.setInterval(5 * 1000); //long UPDATE_INTERVAL = 10 * 1000; /* 5 secs */\n mLocationRequest.setFastestInterval(2000); //long FASTEST_INTERVAL = 2000; /* 2 sec */\n\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\n }\n }", "title": "" }, { "docid": "17b9c29cedc861949827d9c842e185e3", "score": "0.55209166", "text": "@SuppressLint(\"MissingPermission\")\r\n private void requestNewLocationData() {\n LocationRequest mLocationRequest = LocationRequest.create();\r\n mLocationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\r\n mLocationRequest.setInterval(5);\r\n mLocationRequest.setFastestInterval(0);\r\n mLocationRequest.setNumUpdates(1);\r\n\r\n // setting LocationRequest\r\n // on FusedLocationClient\r\n mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);\r\n mFusedLocationClient.requestLocationUpdates(mLocationRequest, mLocationCallback, Looper.myLooper());\r\n }", "title": "" }, { "docid": "b6c3e5730243511ea90de543246260d4", "score": "0.5519966", "text": "private void startLocationUpdates() {\n locationRequest = new LocationRequest();\n locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);\n locationRequest.setInterval(UPDATE_INTERVAL);\n locationRequest.setFastestInterval(FASTEST_INTERVAL);\n\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED\n && ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n Toast.makeText(this, \"You need to enable permissions to display location !\", Toast.LENGTH_SHORT).show();\n }\n\n LocationServices.FusedLocationApi.requestLocationUpdates(googleApiClient, locationRequest, this);\n }", "title": "" }, { "docid": "288c2feecc977748dc6d528972586a5e", "score": "0.5517776", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n onLocationChanged(location);\n }\n }", "title": "" }, { "docid": "288c2feecc977748dc6d528972586a5e", "score": "0.5517776", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n onLocationChanged(location);\n }\n }", "title": "" }, { "docid": "288c2feecc977748dc6d528972586a5e", "score": "0.5517776", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n onLocationChanged(location);\n }\n }", "title": "" }, { "docid": "47d4c064cee24fb8b02a182134ca44d9", "score": "0.55163264", "text": "private void getDeviceLocation() {\n try {\n if (locationPermissionGranted) {\n Task<Location> locationResult = fusedLocationProviderClient.getLastLocation();\n locationResult.addOnCompleteListener(getActivity(), new OnCompleteListener<Location>() {\n @Override\n public void onComplete(@NonNull Task<Location> task) {\n if (task.isSuccessful()) {\n Log.d(TAG, \"Current location is successful.\");\n // Set the map's camera position to the current location of the device.\n lastKnownLocation = task.getResult();\n if (lastKnownLocation != null) {\n myMap.moveCamera(CameraUpdateFactory.newLatLngZoom(\n new LatLng(lastKnownLocation.getLatitude(),\n lastKnownLocation.getLongitude()), GLOBAL_ZOOM));\n }\n } else {\n Log.d(TAG, \"Current location is null. Using defaults.\");\n Log.e(TAG, \"Exception: %s\", task.getException());\n myMap.moveCamera(CameraUpdateFactory\n .newLatLngZoom(defaultLocation, GLOBAL_ZOOM));\n myMap.getUiSettings().setMyLocationButtonEnabled(false);\n }\n }\n });\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage(), e);\n }\n }", "title": "" }, { "docid": "5ab1d59fc5596dc61e5166a0a608bde5", "score": "0.5514627", "text": "protected void startLocationUpdates() {\n LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);\n }", "title": "" }, { "docid": "1bc75d6ebdf8759493539535d749f27a", "score": "0.5511851", "text": "protected void updateCustomLocation() {\n\n\t\tmActivity.showProgress();\n\t\tJSONRequestResponse mJsonRequestResponse = new JSONRequestResponse();\n\n\t\tBundle mBundle = new Bundle();\n\t\tmBundle.putString(\"user_id\",\n\t\t\t\tuserDetails.getString(\"Loggedin_userid\", \"\"));\n\t\tmBundle.putString(\"user_latitude\", sharedLatitude + \"\");\n\t\tmBundle.putString(\"user_longitude\", sharedLongitude + \"\");\n\t\t\n\t\tLog.e(\"Custom Lat & Long\", sharedLatitude +\" \" +sharedLongitude+\"\");\n\n\t\tmJsonRequestResponse\n\t\t\t\t.getResponse(Webservices.encodeUrl(\n\t\t\t\t\t\tWebservices.UPDATE_USERLOCATION, mBundle),\n\t\t\t\t\t\tUSER_LOCATION, this);\n\n\t}", "title": "" }, { "docid": "5a6512c53abcf97ed8fd28e7e222aa76", "score": "0.5510542", "text": "@Override\n public void onConnected(Bundle bundle) {\n // Display the connection status\n Toast.makeText(this, \"Connected\", Toast.LENGTH_SHORT).show();\n Location location = LocationServices.FusedLocationApi.getLastLocation(\n mGoogleApiClient);\n if (location != null) {\n LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude());\n CameraUpdate cameraUpdate = CameraUpdateFactory.newLatLngZoom(latLng, 17.0F);\n map.animateCamera(cameraUpdate);\n }\n }", "title": "" }, { "docid": "dd867a1640741df08ad0c1429236f013", "score": "0.55087346", "text": "@SuppressLint(\"MissingPermission\")\n private void startLocationUpdates() {\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(locationRequest);\n LocationSettingsRequest locationSettingsRequest = builder.build();\n\n SettingsClient settingsClient = LocationServices.getSettingsClient(this);\n settingsClient.checkLocationSettings(locationSettingsRequest);\n\n fusedLocationProviderClient.requestLocationUpdates(locationRequest, locationCallback, Looper.myLooper());\n }", "title": "" }, { "docid": "5a1e9ded42367bdad182ea1bd34efe8b", "score": "0.5505764", "text": "public void updateCurrentLocation(View view) {\n if (ActivityCompat.checkSelfPermission(MainMapActivity.this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) {\n //initialize task location\n Task<Location> task = client.getLastLocation();\n //add listener when task get a value(lastLocation)\n task.addOnSuccessListener(new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(Location location) {\n //when success\n if (location != null) {\n //here we remove marker of user if exists\n if (markerUserSelection != null) {\n markerUserSelection.remove();\n selectionMarkers.remove(\"User\");\n }\n markerGPS.remove();\n selectionMarkers.remove(\"GPS\");\n LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude());\n //create marker options\n markerGPS = refMap.addMarker(new MarkerOptions().position(latLng).snippet(\"Marker selection\"));\n selectionMarkers.put(\"GPS\", markerGPS);\n //zoom map\n refMap.animateCamera(CameraUpdateFactory.newLatLngZoom(latLng, 15));\n //add marker on map\n //set current latlng to this latlng\n currentLatLngOnMap = latLng;\n }\n }\n });\n } else {\n //when permission denied --> request permission\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 44);\n }\n }", "title": "" }, { "docid": "93de48d3aa05eda14d3ead8814467489", "score": "0.5504902", "text": "private void initializeLocationListener() throws JSONException {\n \t\tlocationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);\n \n \t\tlocationListener = new LocationListener() {\n \t\t\t@Override\n \t\t\tpublic void onStatusChanged(String provider, int status, Bundle extras) {\n \t\t\t}\n \n \t\t\t@Override\n \t\t\tpublic void onProviderEnabled(String provider) {\n \t\t\t}\n \n \t\t\t@Override\n \t\t\tpublic void onProviderDisabled(String provider) {\n \t\t\t}\n \n \t\t\t@Override\n \t\t\tpublic void onLocationChanged(Location location) {\n \t\t\t\tcurrentLocation = new GeoPoint((int)(location.getLatitude() * 1E6), (int)(location.getLongitude() * 1E6));\n \t\t\t\tif (!receivedLocationUpdate) {\n \t\t\t\t\ttry {\n \t\t\t\t\t\tupdateLocationInfo();\n \t\t\t\t\t} catch (JSONException e) {\n \t\t\t\t\t\t// TODO Auto-generated catch block\n \t\t\t\t\t\te.printStackTrace();\n \t\t\t\t\t}\n \t\t\t\t\tupdateSpinner();\n \t\t\t\t\treceivedLocationUpdate = true;\n \t\t\t\t}\n \t\t\t}\n \t\t};\n \n \t\tlocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);\n \t\tlocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener);\n \t\tLocation temp = null;\n \t\tif (locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER) != null) {\n \t\t\ttemp = locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);\n \t\t\tcurrentLocation = new GeoPoint((int)(temp.getLatitude() * 1E6), (int)(temp.getLongitude() * 1E6));\n \t\t\tif (currentLocationName == null) {\n \t\t\t\tupdateLocationInfo();\n \t\t\t\tupdateSpinner();\n \t\t\t\treceivedLastLocationUpdate = true;\n \t\t\t}\n \t\t}\n \t\tif (locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER) != null) {\n \t\t\ttemp = locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);\n \t\t\tcurrentLocation = new GeoPoint((int)(temp.getLatitude() * 1E6), (int)(temp.getLongitude() * 1E6));\n \t\t\tif (currentLocationName == null)\n \t\t\t\tupdateLocationInfo();\n \t\t\t\tupdateSpinner();\n \t\t\t\treceivedLastLocationUpdate = true;\n \t\t}\n \t\t\n \t\tlocationRegistered = true;\n \t\t\n \t}", "title": "" }, { "docid": "6b3dd340778fe1f57e401189154a493c", "score": "0.55038494", "text": "@Override\n public void onConnected(Bundle bundle) {\n Toast.makeText(getActivity(), \"GoogleApiClient Connected\", Toast.LENGTH_SHORT).show();\n lastLocation = LocationServices.FusedLocationApi.getLastLocation(googleApiClient);\n String lastLocationMessage;\n if (lastLocation == null) {\n lastLocationMessage = \"Last Location is NULL\";\n moveToLocation(home);\n } else {\n lastLocationMessage = String.format(\"Last Location (%1$s, %2$s)\", lastLocation.getLatitude(), lastLocation.getLongitude());\n moveToLocation(new MyPlaces(\"Last Location\", \"I am here.\", lastLocation.getLatitude() , lastLocation.getLongitude() ,new LatLng(lastLocation.getLatitude(), lastLocation.getLongitude()), 0, 13, 0));\n }\n Toast.makeText(getActivity(), lastLocationMessage, Toast.LENGTH_SHORT).show();\n // PRES 3\n geofencePendingIntent = getRequestPendingIntent();\n PendingResult<Status> result = LocationServices.GeofencingApi.addGeofences(googleApiClient, myFences, geofencePendingIntent);\n result.setResultCallback(this);\n }", "title": "" }, { "docid": "d653f3fa415b92760fcdd5ae7f64d38a", "score": "0.5498665", "text": "@Override\n public void onConnected(Bundle bundle) {\n Log.i(TAG, \"location service connected\");\n }", "title": "" }, { "docid": "daf32d2bda5a8e32dfed9336fd3eeaf0", "score": "0.5497844", "text": "public void onLocationChanged(final Location location) {\n locationNew=location;\n Toast.makeText(this,\"CURRENT LOCATION ON :\"+String.valueOf(location.getLatitude())+String.valueOf(location.getLongitude()),Toast.LENGTH_LONG).show();\n\n ////////GEOQUERY\n DatabaseReference db1= FirebaseDatabase.getInstance().getReference(\"USER DETAILS/\"+user_id+\"/Locations\");\n geoFire=new GeoFire(db1);\n //////\n\n GeoQuery geoQuery = geoFire.queryAtLocation(new GeoLocation(location.getLatitude(),location.getLongitude()),0.4f);\n geoQuery.addGeoQueryEventListener(new GeoQueryEventListener() {\n @Override\n public void onKeyEntered(String key, GeoLocation location) {\n //sendNotification(\"SomeOne|+1\",String.format(\"User you have entered near your %s\",key));\n //Toast.makeText(getApplicationContext(),\"Sending broadcAST\",Toast.LENGTH_LONG).show();\n Intent intent2 = new Intent(getApplicationContext(), BRC.class);\n intent2 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent2 .addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK);\n String taskList=getTaskList(key);\n intent2.putExtra(\"areaName\",key);\n intent2.putExtra(\"value\", taskList);\n //intent2.putExtra(\"value\", String.format(\"User you have entered near your %s\",key));\n sendBroadcast(intent2);\n }\n\n @Override\n public void onKeyExited(String key) {\n //sendNotification(\"SomeOne|+1\",String.format(\"User you have exited from your %s boundary\",key));\n }\n\n @Override\n public void onKeyMoved(String key, GeoLocation location) {\n //sendNotification(\"SomeOne|+1\",String.format(\"User you have moving near your %s\",key));\n }\n\n @Override\n public void onGeoQueryReady() {\n Toast.makeText(getApplicationContext(),\"on query ready\",Toast.LENGTH_LONG).show();\n\n }\n\n @Override\n public void onGeoQueryError(DatabaseError error) {\n\n Toast.makeText(getApplicationContext(),\"Database Error\",Toast.LENGTH_LONG).show();\n }\n });\n }", "title": "" }, { "docid": "9bec07862146aa50a06bcea02e1bf425", "score": "0.54950774", "text": "@Override\n public void onMyLocationChange(Location arg0) {\n \n }", "title": "" }, { "docid": "10c0c9a3aaba72e14b04823eef36981f", "score": "0.5494012", "text": "@Override\n public void onConnected(@Nullable Bundle bundle) {\n if (ContextCompat.checkSelfPermission(mActivity, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n if (mRequestingLocationUpdates)\n askPermission();\n } else {\n Location loc = LocationServices.FusedLocationApi.getLastLocation(mGoogleApiClient);\n if (loc == null) {\n if (mRequestingLocationUpdates) {\n startLocationUpdates();\n }\n } else {\n ArrayList<Errand> userAcceptedErrands = ErrandStateService.getUserAcceptedErrands();\n location = loc;\n for (Errand e : userAcceptedErrands) {\n e.setDistanceFromUser(SearchResultsFragment.calculateDistanceFromUser(e, location.getLatitude(), location.getLongitude()));\n }\n\n ErrandStateService.acceptedAdapter.updateArrayList(userAcceptedErrands);\n }\n }\n }", "title": "" }, { "docid": "223473c292a0b825e81bb20ae763ee7e", "score": "0.5493621", "text": "void init() {\n fusedLocationClient = LocationServices.getFusedLocationProviderClient(getActivity());\n LatLng homeDefault = new LatLng(60.206723, 24.667192);\n googleMap.moveCamera(CameraUpdateFactory.zoomTo(14));\n googleMap.moveCamera(CameraUpdateFactory.newLatLng(homeDefault));\n fusedLocationClient.getLastLocation().addOnSuccessListener(getActivity(), location -> {\n if (location != null) {\n LatLng home = new LatLng(location.getLatitude(), location.getLongitude());\n googleMap.moveCamera(CameraUpdateFactory.zoomTo(14));\n googleMap.moveCamera(CameraUpdateFactory.newLatLng(home));\n } else {\n LatLng home = new LatLng(60.206723, 24.667192);\n googleMap.moveCamera(CameraUpdateFactory.zoomTo(14));\n googleMap.moveCamera(CameraUpdateFactory.newLatLng(home));\n }\n });\n }", "title": "" }, { "docid": "c637686896d50b616a2e3f04ab657205", "score": "0.54916775", "text": "@Override\n public void onMyLocationChange(Location location) {\n\n }", "title": "" }, { "docid": "1033a46f078933f85f71546089ed392a", "score": "0.54882395", "text": "protected void startLocationUpdates() {\n if (ContextCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED) {\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, this);\n }\n\n }", "title": "" }, { "docid": "677b51f95cccd5e834eff2fe1815b40a", "score": "0.54859895", "text": "@Override\n public void onSuccess(Location location)\n {\n if (location != null)\n {\n final String builder_n2yo_visual_passes_url;\n\n if(sharedPreferences.getBoolean(\"use_fake_location\", false))\n {\n builder_n2yo_visual_passes_url = n2yo_visual_passes_url +\n fakeLatitude + \"/\" +\n fakeLongitude + \"/\" +\n fakeAltitude + \"/\" +\n n2yo_visual_passes_days + \"/\" +\n n2yo_visual_passes_min_visibility + \"/\" +\n \"&apiKey=\" + n2yo_apikey;\n }\n else\n {\n builder_n2yo_visual_passes_url = n2yo_visual_passes_url +\n location.getLatitude() + \"/\" +\n location.getLongitude() + \"/\" +\n location.getAltitude() + \"/\" +\n n2yo_visual_passes_days + \"/\" +\n n2yo_visual_passes_min_visibility + \"/\" +\n \"&apiKey=\" + n2yo_apikey;\n }\n\n Log.e(TAG, builder_n2yo_visual_passes_url);\n\n addToRequestQueue(new JsonObjectRequest(GET, builder_n2yo_visual_passes_url, null,\n new Response.Listener<JSONObject>()\n {\n @Override\n public void onResponse(JSONObject response)\n {\n n2yoVisualPasses = new N2yoVisualPasses(response);\n\n // Create the adapter that will return a fragment for each of the three\n // primary sections of the activity.\n mSectionsPagerAdapter = new SectionsPagerAdapter(getSupportFragmentManager());\n\n // Set up the ViewPager with the sections adapter.\n mViewPager = findViewById(R.id.container);\n mViewPager.setAdapter(mSectionsPagerAdapter);\n\n //Set up tabs\n TabLayout tabLayout = findViewById(R.id.tabs);\n mViewPager.addOnPageChangeListener(new TabLayout.TabLayoutOnPageChangeListener(tabLayout));\n tabLayout.addOnTabSelectedListener(new TabLayout.ViewPagerOnTabSelectedListener(mViewPager));\n }\n }, new Response.ErrorListener()\n {\n @Override\n public void onErrorResponse(VolleyError error)\n {\n Log.e(TAG, error.getMessage());\n }\n }\n ));\n }\n else\n {\n Toast.makeText(PassesActivity.this, \"Unable to retrieve your location\", Toast.LENGTH_SHORT).show();\n finish();\n }\n }", "title": "" }, { "docid": "72b884f1f30706554355f4ce3e2e67f6", "score": "0.5485763", "text": "protected void startLocationUpdates() {\n\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission\n (this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n\n // Check Permissions Now\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n 1);\n } else {\n LocationServices.FusedLocationApi.requestLocationUpdates(\n mGoogleApiClient, mLocationRequest, (com.google.android.gms.location.LocationListener) this);\n }\n }", "title": "" }, { "docid": "870e797205c5f40aea9d6c8ba2d64d96", "score": "0.5472736", "text": "@Override\n public void onLocationChanged(Location location) {\n userLat = location.getLatitude();\n userLon = location.getLongitude();\n }", "title": "" }, { "docid": "7ac61c523aea8c9bade67771bb1c2a65", "score": "0.5469398", "text": "@SuppressLint(\"MissingPermission\")\n private void getLocation() {\n LocationManager locationManager=(LocationManager)getSystemService(Context.LOCATION_SERVICE);\n\n //Check condition\n if (locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) || locationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER)){\n //when location service is enabled\n // Get last location\n fusedLocationProviderClient.getLastLocation().addOnCompleteListener(new OnCompleteListener<Location>() {\n @Override\n public void onComplete(@NonNull Task<Location> task) {\n //Initialise the location\n Location location=task.getResult();\n if (location!=null){\n tvLatitude.setText(String.valueOf(location.getLatitude()));\n tvLongitude.setText(String.valueOf(location.getLongitude()));\n }else {\n //When location is null\n //Initialize the location request\n LocationRequest locationRequest=new LocationRequest()\n .setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY)\n .setInterval(10000)\n .setFastestInterval(1000)\n .setNumUpdates(1);\n\n //Initialise the location call back\n LocationCallback locationCallback=new LocationCallback(){\n @Override\n public void onLocationResult(LocationResult locationResult) {\n //Initialise the location\n Location location1=locationResult.getLastLocation();\n //set latitude and longitude\n tvLatitude.setText(String.valueOf(location1.getLatitude()));\n tvLongitude.setText(String.valueOf(location1.getLongitude()));\n }\n };\n //Request location updates\n fusedLocationProviderClient.requestLocationUpdates(locationRequest,locationCallback, Looper.myLooper());\n }\n }\n });\n }else{\n //when location service is not enabled\n //Open Location settings\n startActivity(new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS).setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));\n }\n }", "title": "" }, { "docid": "ef3ab630de945fe4d4757946eaebb8f7", "score": "0.5462423", "text": "@Override\n public void onSuccess(Location location) {\n if (location != null) {\n double latitude = location.getLatitude();\n double longitude = location.getLongitude();\n Mualab.currentLocation.lat = latitude;\n Mualab.currentLocation.lng = longitude;\n\n Mualab.currentLocationForBooking.lat = latitude;\n Mualab.currentLocationForBooking.lng = longitude;\n\n\n }\n }", "title": "" }, { "docid": "8dee49e6020c3c8d0062f04f023606d0", "score": "0.5455724", "text": "private void getDeviceChangedLocation() {\n try {\n if (mLocationPermissionGranted) {\n Task<Location> locationResult = mFusedLocationProviderClient.getLastLocation();\n locationResult.addOnCompleteListener(this, new OnCompleteListener<Location>() {\n @Override\n public void onComplete(@NonNull Task<Location> task) {\n if (task.isSuccessful()) {\n // Set the map's camera position to the current location of the device.\n mLastKnownLocation = task.getResult();\n\n geoLat = mLastKnownLocation.getLatitude();\n geoLong = mLastKnownLocation.getLongitude();\n InsertPosToDb insertPosToDb = new InsertPosToDb();\n insertPosToDb.execute(\"\");\n\n textView.setText(\"Aktualne położenie: \"+geoLat+ \" , \" +geoLong);\n\n dodajNowyMarker(geoLat,geoLong, BitmapDescriptorFactory.fromResource(R.drawable.emoji));\n\n markerNumber++;\n\n }\n else {\n Log.d(TAG, \"Current location is null. Using defaults.\");\n Log.e(TAG, \"Exception: %s\", task.getException());\n mMap.moveCamera(CameraUpdateFactory\n .newLatLngZoom(bauty, DEFAULT_ZOOM));\n mMap.getUiSettings().setMyLocationButtonEnabled(false);\n }\n }\n });\n }\n } catch (SecurityException e) {\n Log.e(\"Exception: %s\", e.getMessage());\n }\n }", "title": "" }, { "docid": "996bcfc13f7ed350e5240e0e303b2bcf", "score": "0.54556394", "text": "private void authWithFirebase(final String provider, Map<String, String> options) {\n if (options.containsKey(\"error\")) {\n showErrorDialog(options.get(\"error\"));\n } else {\n mAuthProgressDialog.show();\n if (provider.equals(\"twitter\")) {\n // if the provider is twitter, we pust pass in additional options, so use the options endpoint\n firebaseRef.authWithOAuthToken(provider, options, new AuthResultHandler(provider));\n } else {\n // if the provider is not twitter, we just need to pass in the oauth_token\n firebaseRef.authWithOAuthToken(provider, options.get(\"oauth_token\"), new AuthResultHandler(provider));\n }\n }\n }", "title": "" }, { "docid": "a8d6428b417ccfd013061b98ea1a32f0", "score": "0.5454559", "text": "private void getDeviceLocation() {\n /*\n GitHub: Mitchtabian Repository: https://github.com/mitchtabian/Google-Maps-Google-Places\n */\n Log.d(TAG,\"getDeviceLocation: getting the device's current location\");\n //vars\n FusedLocationProviderClient mFusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(getActivity());\n\n try {\n if((ContextCompat.checkSelfPermission(getActivity(),Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) &&mLocationPermissionsGranted && mGPSPermissionsGranted) {\n Task location = mFusedLocationProviderClient.getLastLocation();\n location.addOnCompleteListener(new OnCompleteListener() {\n @Override\n public void onComplete(@NonNull Task task) {\n if(task.isSuccessful()) {\n Log.d(TAG,\"onComplete: found location\");\n Location currentLocation = (Location) task.getResult();\n\n if (currentLocation == null){\n Log.d(TAG,\"onComplete: location services is turned off\");\n Toast.makeText(getActivity(), \"Please enable location to use this feature\", Toast.LENGTH_SHORT).show();\n }\n else {\n moveCamera(new LatLng(currentLocation.getLatitude(), currentLocation.getLongitude()), DEFAULT_ZOOM);\n }\n }\n else {\n Log.d(TAG,\"onComplete: current location is null\");\n Toast.makeText(getActivity(), \"Unable to get location\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n }\n }\n catch (SecurityException e) {\n Log.e(TAG, \"getDeviceLocation: SecurityException: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "be78bd80b467d2f0bc38c9422288dc34", "score": "0.54388076", "text": "@Override\n\tpublic void onConnected(Bundle arg0){\n\t\tif (ContextCompat.checkSelfPermission(this,\n\t\t\t\tManifest.permission.ACCESS_FINE_LOCATION)\n\t\t\t\t!= PackageManager.PERMISSION_GRANTED) {\n\n\t\t\tActivityCompat.requestPermissions(this,\n\t\t\t\t\tnew String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n\t\t\t\t\tMY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n\t\t}\n\t\telse {\n\t\t\t//if permission already exists then go to next step\n\t\t\tgetLocation();\n\t\t}\n\n\t}", "title": "" }, { "docid": "6c778cd74e781f7b226d1800c91649a1", "score": "0.5438318", "text": "@Override\n public void onPermissionGranted(PermissionGrantedResponse response) {\n SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()\n .findFragmentById(R.id.map);\n mapFragment.getMapAsync(LocationOfCustomer.this::onMapReady);\n\n fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(LocationOfCustomer.this);\n if (ActivityCompat.checkSelfPermission(LocationOfCustomer.this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(LocationOfCustomer.this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n fusedLocationProviderClient.requestLocationUpdates(locationRequest, locationCallback, Looper.myLooper());\n }", "title": "" } ]
445c599053a28b39a657b02391676cfd
Authorizes a Twitter request. See for authorization requirements and methods.
[ { "docid": "26a053ec3f5e053e445dd7fddeaf8827", "score": "0.74383754", "text": "@Override\n\tpublic void authorize(Request request) {\n\n\t\tMap<String, String> oauthParams = new HashMap<String, String>();\n\n\t\toauthParams.put(\"oauth_consumer_key\", TWITTER_API_KEY);\n\t\toauthParams.put(\"oauth_nonce\", mTwitterApi.getTimestampService().getNonce());\n\t\toauthParams.put(\"oauth_signature_method\", mTwitterApi.getSignatureService()\n\t\t\t\t.getSignatureMethod());\n\t\toauthParams.put(\"oauth_timestamp\", mTwitterApi.getTimestampService()\n\t\t\t\t.getTimestampInSeconds());\n\t\toauthParams.put(\"oauth_token\", getAccessToken().getToken());\n\t\toauthParams.put(\"oauth_version\", \"1.0\");\n\n\t\tString verb = URLUtils.percentEncode(request.getMethod().name());\n\t\tString url = URLUtils\n\t\t\t\t.percentEncode(getSanitizedUrl(request.getRequestUri().toASCIIString()));\n\t\tString params = getSortedAndEncodedParams(request, oauthParams);\n\t\tString baseString = String.format(AMPERSAND_SEPARATED_STRING, verb, url, params);\n\n\t\tString signature = mTwitterApi.getSignatureService().getSignature(baseString,\n\t\t\t\tTWITTER_API_SECRET, getAccessToken().getSecret());\n\n\t\toauthParams.put(\"oauth_signature\", signature);\n\n\t\tList<String> oauthHeaderValue = getAuthorizationHeaderValue(oauthParams);\n\n\t\trequest.addHeader(\"Authorization\", oauthHeaderValue);\n\n\t}", "title": "" } ]
[ { "docid": "aab48e1191b6d0ee770ccc9bd21cee10", "score": "0.5909113", "text": "@Override\n public void authenticateRequest(IHttpRequest request) {\n // Add the access token in the Authorization header\n request.addHeader(\"Authorization\", \"Bearer \" + mAccessToken);\n }", "title": "" }, { "docid": "aab48e1191b6d0ee770ccc9bd21cee10", "score": "0.5909113", "text": "@Override\n public void authenticateRequest(IHttpRequest request) {\n // Add the access token in the Authorization header\n request.addHeader(\"Authorization\", \"Bearer \" + mAccessToken);\n }", "title": "" }, { "docid": "bd4b4a5051bca72625bc2bcd22eb738a", "score": "0.58429825", "text": "public void thaw(Authorization authorization);", "title": "" }, { "docid": "bd4b4a5051bca72625bc2bcd22eb738a", "score": "0.58429825", "text": "public void thaw(Authorization authorization);", "title": "" }, { "docid": "baf2feaa1bca19eb77eef7a6bdd4e192", "score": "0.57906765", "text": "protected void doAuth() {\n\t\tHttpUtils\n\t\t\t\t.startHttpPostRequestWithSignature(authUrl, null, authRL, null);\n\t}", "title": "" }, { "docid": "0b708432279471e522a2d888e8bb00f2", "score": "0.5758866", "text": "public abstract void authorize();", "title": "" }, { "docid": "5feded9d888bcf418697a311fd9d0278", "score": "0.5684267", "text": "Tweet postTweet(String[] args) throws URISyntaxException, OAuthExpectationFailedException, IOException, JSONException, OAuthMessageSignerException, OAuthCommunicationException;", "title": "" }, { "docid": "44c0fa068baf37c4aec043d1e7d7b245", "score": "0.5677562", "text": "public static void httpAuthoriazation(AbstractHttpMessage httpRequest , String authToken) {\n\t\thttpRequest.setHeader(HttpHeaders.AUTHORIZATION, authToken);\r\n\t\thttpRequest.setHeader(HttpHeaders.CONTENT_TYPE, \"application/json\");\r\n\t\t\t\t\r\n\t\t\r\n//\t\tif (authorizationHeader == null) {\r\n// System.out.println(\"Authorization Header should be provided\");\r\n// return;\r\n// }\r\n\t\t\r\n\t}", "title": "" }, { "docid": "daf3c6d4472b35da3bb6370c4e1c44ed", "score": "0.56723565", "text": "public void requestAuth(Callback<Session> cb) {\n cb.failure(new TwitterAuthException(\"Twitter login required.\"));\n }", "title": "" }, { "docid": "e1ba00166fed05ad2bdd76d8eb6ab259", "score": "0.56662977", "text": "@Override\n public String buildAuthorizationUrl() {\n TwitterConnectionFactory connectionFactory = new TwitterConnectionFactory(twitterConsumerKey, twitterConsumerSecret);\n OAuth1Operations oauthOperations = connectionFactory.getOAuthOperations();\n OAuthToken requestToken = oauthOperations.fetchRequestToken(twitterAuthUri, null);\n String authorizeUrl = oauthOperations.buildAuthorizeUrl(requestToken.getValue(), OAuth1Parameters.NONE);\n return authorizeUrl;\n }", "title": "" }, { "docid": "a8bb9228479f11063d1a26e15b9bdba0", "score": "0.56236774", "text": "public void setTwitterOauth(String oauthUser, String oauthSecret, String oauthToken);", "title": "" }, { "docid": "8904b0c8aa4d89099fd4a2c0f2768abb", "score": "0.5593589", "text": "@RequestMapping(\"/twitter_oauth/oauth_callback\")\n public void twitterCallback(@RequestParam(value=\"oauth_verifier\", required=false) String oauthVerifier,\n @RequestParam(value=\"denied\", required=false) String denied,\n HttpServletRequest request, HttpServletResponse response, Model model) throws IOException {\n\n if (denied != null) {\n //if we get here, the user didn't authorize the app\n request.getSession().setAttribute(\"denied\", true);\n response.sendRedirect(request.getContextPath() + \"/organisation\");\n return;\n }\n\n Twitter twitter = (Twitter) request.getSession().getAttribute(\"twitter\");\n RequestToken requestToken = (RequestToken) request.getSession().getAttribute(\"requestToken\");\n String verifier = request.getParameter(\"oauth_verifier\");\n\n try {\n AccessToken token = twitter.getOAuthAccessToken(requestToken, verifier);\n organisationService.setTwitterData(\n Methods.getLoggedInUser(userService).getOrganisation(),\n token.getScreenName(),\n twitter.showUser(token.getUserId()).getDescription(),\n token.getUserId(),\n token.getToken(),\n token.getToken()\n );\n request.getSession().removeAttribute(\"requestToken\");\n } catch (Exception e) {\n request.getSession().setAttribute(\"twitter_error\", true);\n }\n response.sendRedirect(request.getContextPath() + \"/organisation\");\n }", "title": "" }, { "docid": "7fb7b8cb4f41bbe3a98c50b50752b2cb", "score": "0.55712146", "text": "Tweet showTweet(String[] args) throws URISyntaxException, OAuthExpectationFailedException, IOException, JSONException, OAuthMessageSignerException, OAuthCommunicationException;", "title": "" }, { "docid": "72916b9ef00017251a96fd9fae0ee2c3", "score": "0.5521829", "text": "public interface OAuth {\n void authorize(RequestQuery query);\n}", "title": "" }, { "docid": "74378966b7efb1a6e910353ec958c9ca", "score": "0.5495529", "text": "private void loginToTwitter() {\n // Check if already logged in\n if (!isTwitterLoggedInAlready()) {\n ConfigurationBuilder builder = new ConfigurationBuilder();\n builder.setOAuthConsumerKey(TWITTER_CONSUMER_KEY);\n builder.setOAuthConsumerSecret(TWITTER_CONSUMER_SECRET);\n twitter4j.conf.Configuration configuration = builder.build();\n\n TwitterFactory factory = new TwitterFactory(configuration);\n twitter = factory.getInstance();\n\n Thread thread = new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n\n requestToken = twitter\n .getOAuthRequestToken(TWITTER_CALLBACK_URL);\n Login_Activity.this.startActivity(new Intent(\n Intent.ACTION_VIEW, Uri.parse(requestToken\n .getAuthenticationURL())));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n thread.start();\n\n\n } else {\n // user already logged into twitter\n Toast.makeText(context, \"already logged in 2222\", Toast.LENGTH_SHORT).show();\n\n }\n\n }", "title": "" }, { "docid": "900490b712ce74c387ef1fe5e8b339e2", "score": "0.54862833", "text": "private OktaTokenResponse doAuthRequest(DefaultUsernamePasswordRequest request) {\n OktaTokenRequest tokenRequest = this.dataStore.instantiate(OktaTokenRequest.class)\n .setPassword(new String(request.getCredentials()))\n .setUsername(request.getPrincipals())\n .setGrantType(\"password\")\n .setScope(\"offline_access\");\n\n try {\n return this.dataStore.create(tokenUrl, tokenRequest, OktaTokenResponse.class, getHeaders());\n }\n catch (final ResourceException e) {\n\n log.debug(\"Exception thrown while requesting token, assuming this is an Invalid username or password\", e);\n\n // TODO: i18n? This String is also hard coded in the Spring Controller\n String errorMessage = \"Invalid username or password.\";\n\n // wrap Error so we can set the Message so it is handled correctly on the front end.\n throw new ResourceException(\n new DefaultError()\n .setMessage(errorMessage)\n .setCode(e.getCode())\n .setDeveloperMessage(e.getDeveloperMessage())\n .setMoreInfo(e.getMoreInfo())\n .setRequestId(e.getRequestId())\n .setStatus(e.getStatus())\n );\n }\n }", "title": "" }, { "docid": "64890d5da6aebd58c70b5a35d3e34661", "score": "0.5484539", "text": "@Override\r\n\tpublic void logInToTwitter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fe00f020d38c75646583180f7e9bdf40", "score": "0.5436656", "text": "public void userAcceptedAuthorization(String url)\n {\n IToken oldToken = getUserSupplier().getUser().getToken();\n\n IToken token = new Token(Token.extractToken(url),oldToken.getTokenSecret());\n\n getUserSupplier().getUser().setToken(token);\n getUserSupplier().getUser().setLoggedIn(true);\n\n GoodReadsEngine.provideOAuthConsumer().setTokenWithSecret(token.getToken(), token.getTokenSecret());\n\n //Groovy, we are now authenticated!\n mLoginCallback.userLoggedIn();\n }", "title": "" }, { "docid": "78c438ced76d469e3e191f67f7a24d84", "score": "0.53535175", "text": "@ActionMapping\n protected void handleActionRequestInternal(ActionRequest request, ActionResponse response)\n throws Exception {\n if (request.getParameter(\"tweettext\") != null && !request.getParameter(\"tweettext\").isEmpty()) {\n\n User u = ControllerUtil.getUser(request);\n\n twitterService.getTwitter(u.getUserId()).updateStatus(request.getParameter(\"tweettext\"));\n }\n }", "title": "" }, { "docid": "766e30f883a4b7eded97b0ad90c0478d", "score": "0.5286934", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n Twitter twitter = newTwitter();\n\n\n try {\n RequestToken requestToken = twitter.getOAuthRequestToken();\n req.getSession().setAttribute(REQUEST_TOKEN_ATTRIBUTE, requestToken);\n req.setAttribute(AUTH_URL_ATTRIBUTE, requestToken.getAuthorizationURL());\n req.getRequestDispatcher(AUTH_FORM_VIEW).forward(req, resp);\n } catch (TwitterException e) {\n\n req.setAttribute(\"errorMsg\", ERROR_STRING);\n\n req.getRequestDispatcher(AUTH_FORM_VIEW).forward(req, resp);\n\n }\n }", "title": "" }, { "docid": "7222cf9af81749de648d71bae536c274", "score": "0.522528", "text": "public boolean checkAuthorization(HttpServletRequest request);", "title": "" }, { "docid": "73add40dabb2069b865e24559652f77d", "score": "0.5222002", "text": "@Override\n public void intercept(RequestFacade request) {\n String credentials = Const.USERNAME + \":\" + Const.PASSWORD;\n // create Base64 encodet string\n final String basic =\n \"Basic \" + Base64.encodeToString(credentials.getBytes(), Base64.NO_WRAP);\n request.addHeader(\"Authorization\", basic);\n request.addHeader(\"Accept\", \"application/json\");\n }", "title": "" }, { "docid": "1d9a1fa25c3a69d0524839a65476a29d", "score": "0.5218739", "text": "private void twitterOnActivityResult(int requestCode, int resultCode, Intent data) {\n\t\t//FIXME the app crashes in this method for unknown reasons\n\t\tif (resultCode == TwitterLoginActivity.RESULT_OK) {\n\t\t\tBundle extras = data.getExtras();\n\t\t\tfinal String accessToken = extras.getString(TwitterLoginActivity.RESULT_EXTRA_ACCESS_TOKEN);\n\t\t\tfinal String tokenSecret = extras.getString(TwitterLoginActivity.RESULT_EXTRA_TOKEN_SECRET);\n\t\t\tfinal long userId = extras.getLong(TwitterLoginActivity.RESULT_EXTRA_USER_ID);\n\t\t\tfinal String screenName = extras.getString(TwitterLoginActivity.RESULT_EXTRA_SCREEN_NAME);\n\t\t\t\n\t\t\tstoreAccessToken(accessToken);\n\t\t\t\n\t\t\t\n\t\t\tPreferenceUtil.getPreferences(mAppContext).edit()\n\t\t\t\t.putString(getString(R.string.ibs_pref_KEY_SIGNIN_ACCESS_TOKEN_SECRET), tokenSecret)\n\t\t\t\t.commit();\n\t\t\n\t\t\tsetLoginType(REQUEST_MODE_TWITTER);\t\n\t\t\t\n\t\t\ttwitterProcessUserId(userId, accessToken);\n\t\t\t\t\n\t\t} else if (requestCode == TwitterLoginActivity.RESULT_FAILED) {\n\t\t\tmOnResultsListener.onSocialSigninError(REQUEST_MODE_TWITTER, \n\t\t\t\t\tgetString(R.string.ibs_error_cannotConnect));\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "c4cac2b1ea7505cf4ce7a9650af01231", "score": "0.5199694", "text": "public void validateCredentials(TwitterOAuthCredentials twitterOAuthCredentials) throws IOException;", "title": "" }, { "docid": "12a2cb9cbc85314b3a74bc532eaba346", "score": "0.5169992", "text": "private void performPersonAuthorization(final Principal inUser, final ActivityDTO inActivity)\n {\n try\n {\n // Check to see if the stream is locked down and if they have permission to post to it.\n String targetStreamOwnerAccountId = inActivity.getDestinationStream().getUniqueIdentifier();\n \n boolean isActorTheStreamOwner = actorRetrievalStrategy.getActorAccountId(inUser, inActivity).equals(\n targetStreamOwnerAccountId);\n \n // Test if the user is the owner of the stream being posted to\n if (isActorTheStreamOwner)\n {\n return;\n }\n \n PersonModelView targetStreamOwner = getPersonModelViewByAccountIdMapper.execute(targetStreamOwnerAccountId);\n // or the stream has been authorized for this type of interaction.\n if (isStreamInteractionAuthorized(targetStreamOwner, type))\n {\n return;\n }\n }\n catch (Exception ex)\n {\n logger.error(\"Error occurred authorizing the activity post.\", ex);\n }\n throw new AuthorizationException(\"Current user does not have access rights to modify activity.\");\n }", "title": "" }, { "docid": "fb030f4a5e1a110ea4f7bf9528f50663", "score": "0.51343465", "text": "@Override\n protected void accessTokenRequest(List<Term> terms) {\n //prepare the parameters for the request\n Request r;\n Map<String, String> resultRequest;\n String parameters = \"grant_type=\"+terms.get(1).getName()+\";\"+\n \"client_id=\"+terms.get(0).getName()+\";\"+\n \"client_secret=\"+terms.get(2).getName()+\";\"+\n \"scope=\"+terms.get(4).getName()+\";\"+\n \"username=\"+username+\";password=\"+password;\n\n try {\n r = new Request(terms.get(3).getName(),\"POST\",\"\",parameters);\n resultRequest = StringUtils.jsonStringToMap(r.doRequest());\n long newExpireDate = Long.parseLong(resultRequest.get(\"expires_in\")) + System.currentTimeMillis()/1000;\n\n //Set the arguments for the next task\n ((MPILogicInputTask) flows.get(currentNode).get(0)).setArguments(\n new Object[]{\n resultRequest.get(\"token_type\"),\n newExpireDate,\n resultRequest.get(\"access_token\"),\n resultRequest.get(\"refresh_token\")\n }\n );\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "154a0787e9b56ce1fcc72383511ca401", "score": "0.5124632", "text": "protected void authorizeHttpMethod(HttpRequestBase reqBase)\n {\n }", "title": "" }, { "docid": "662d9ddf75faba61e2e2000430821d9e", "score": "0.510559", "text": "@SuppressWarnings(\"unchecked\")\n @Override\n public void authorize(final ServiceActionContext inActionContext)\n {\n ActivityDTO activity = null;\n try\n {\n activity = activityDTOStrategy.execute(inActionContext.getPrincipal(), inActionContext.getParams());\n }\n catch (Exception ex)\n {\n logger.error(\"Error occurred retrieving the activity dto params.\", ex);\n throw new AuthorizationException(\n \"This action could not authorize the request due to failure retrieving parameters.\", ex);\n }\n \n if (activity != null)\n {\n switch (activity.getDestinationStream().getType())\n {\n case PERSON:\n performPersonAuthorization(inActionContext.getPrincipal(), activity);\n break;\n case GROUP:\n performGroupAuthorization(inActionContext.getPrincipal(), activity);\n break;\n case RESOURCE:\n // anyone can post comment to resource stream activity.\n break;\n default:\n throw new AuthorizationException(\"This Action only accepts activities for accepted destination types.\");\n }\n }\n \n }", "title": "" }, { "docid": "e757732a75917331bda092e003c87688", "score": "0.5088315", "text": "public void setBasicAuthorizationCredentials(String uname, String password);", "title": "" }, { "docid": "6d1db9f2170b14bb300f178cdfecc21e", "score": "0.50764143", "text": "@Override\n\tpublic void filter(ContainerRequestContext req) throws IOException {\n\t\tList<String> authList=header.getRequestHeader(\"Authorization\");\n\t\tif(authList==null || authList.isEmpty()) {\n\t\t\treq.abortWith(Response.status(Status.BAD_REQUEST)\n\t\t\t\t\t\t\t\t\t.entity(\"Enter Authentication Code\").build());\n\t\t\treturn;\n\t\t}else {\n\t\t\tString auth=authList.get(0);\n\t\t\tauth=auth.replace(\"Basic \",\"\");\n\t\t\t//convert encoded data to byte[] format\n\t\t\tbyte[] arr=Base64.getDecoder().decode(auth.getBytes());\n\t\t\t//convert to String\n\t\t\tauth=new String(arr);\n\t\t\t//Read Username and Pwd\n\t\t\tStringTokenizer str=new StringTokenizer(auth,\":\");\n\t\t\t\n\t\t\tString userName=str.nextToken();\n\t\t\tString pwd=str.nextToken();\n\t\t\tif(!(userName.equals(\"Biss1244\") && pwd.equals(\"DjBravo\"))) {\n\t\t\t\treq.abortWith(Response.status(Status.UNAUTHORIZED)\n\t\t\t\t\t\t\t\t\t\t.entity(\"Enter Valid UserName and Password\").build());\n\t\t\t}\n \t\t}\n\t}", "title": "" }, { "docid": "277a60b136c24fef328a6c6a8db77e66", "score": "0.50570816", "text": "@NotNull\n @Override\n public Response intercept(@NotNull Chain chain) throws IOException {\n Request newRequest = chain.request().newBuilder()\n .header(\"Authorization\", \"Bearer \" + authToken)\n .build();\n return chain.proceed(newRequest);\n }", "title": "" }, { "docid": "45e42a29df489c0c9a2122c495863e3a", "score": "0.50486225", "text": "protected abstract AuthorizationEvent doAuthorize(SignedContent content, Object context);", "title": "" }, { "docid": "2f40260bc6ae5c6b1b3301cec14ed869", "score": "0.50255567", "text": "private AuthorizationManager(Context context) {\n\n\t\tprefs = PreferenceManager.getDefaultSharedPreferences(context.getApplicationContext());\n\n\t\tmOAuthService = new ServiceBuilder().provider(TwitterApi.class).apiKey(TWITTER_API_KEY)\n\t\t\t\t.apiSecret(TWITTER_API_SECRET).callback(TWITTER_CALLBACK_URL).build();\n\n\t\tmTwitterApi = new TwitterApi();\n\n\t}", "title": "" }, { "docid": "f7cd155883be8f6f3b94703dfa91bcec", "score": "0.5020697", "text": "public void authorizeFlow() {\n\t\tfinal List<String> scopes = Arrays.asList(\"user-read-private\", \"user-read-email\");\n\n\t\t/* Set a state. This is used to prevent cross site request forgeries. */\n\t\tfinal String state = \"commLuckuba\";\n\n\t\tString authorizeURL = api.createAuthorizeURL(scopes, state);\n\n\t\t/* Continue by sending the user to the authorizeURL, which will look something like\n\t\t\t\t https://accounts.spotify.com:443/authorize?client_id=5fe01282e44241328a84e7c5cc169165&response_type=code&redirect_uri=https://example.com/callback&scope=user-read-private%20user-read-email&state=some-state-of-my-choice\n\t\t */\n\t\t\n\t\ttry {\n\t\t\topenWebpage(new URL(authorizeURL));\n\t\t} catch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tCODE = MainUI.requestAuthorizationCode();\n\t\tgenerateTokens(CODE);\n\t}", "title": "" }, { "docid": "c12df0309bf87784d431bb1fa27cc87c", "score": "0.49826866", "text": "public void doAuth(String host, String authzid, String user, String passwd) throws IOException {\n String err = \"\";\n if (this.resp.data != null) {\n err = new String(BASE64DecoderStream.decode(this.resp.data.getBytes(StandardCharsets.UTF_8)), StandardCharsets.UTF_8);\n }\n throw new EOFException(\"OAUTH2 authentication failed: \" + err);\n }", "title": "" }, { "docid": "06eee1f7ef5715cf6372b7f6006ca7a8", "score": "0.4965789", "text": "public void authenticate(View view) {\n if (! twitterService.checkForSavedLogin(this) ) {\n LogIt.d(this, \"Solicitando autenticacion...\");\n twitterService.requestOAuthAccessToken(this);\n } else {\n LogIt.d(this, \"Datos de autenticacion previa, existente, iniciando aplicacion con normalidad\");\n startActivityByClass(DashboardActivity.class);\n finish();\n }\n }", "title": "" }, { "docid": "4a2b76ad51e76588ae761c3b8304ac02", "score": "0.49598673", "text": "public OmhAuthenticateRequest(\n \t\t\tfinal HttpServletRequest httpRequest)\n \t\t\tthrows IOException, InvalidRequestException {\n \t\t\n \t\tsuper(httpRequest, null);\n \t\t\n \t\tAuthTokenRequest tAuthTokenRequest = null;\n \t\t\n \t\tif(! isFailed()) {\n \t\t\tLOGGER.info(\"Creating an OMH authenticate request.\");\n \t\t\t\n \t\t\ttAuthTokenRequest = \n \t\t\t\tnew AuthTokenRequest(\n \t\t\t\t\thttpRequest, \n \t\t\t\t\tgetParameters(),\n \t\t\t\t\ttrue,\n \t\t\t\t\tnull);\n \t\t}\n \t\t\n \t\tauthTokenRequest = tAuthTokenRequest;\n \t}", "title": "" }, { "docid": "7640eea2e42393c07166e0a5405872bb", "score": "0.49550214", "text": "public void authenticate(io.etcd.jetcd.api.AuthenticateRequest request,\n io.grpc.stub.StreamObserver<io.etcd.jetcd.api.AuthenticateResponse> responseObserver) {\n asyncUnaryCall(\n getChannel().newCall(getAuthenticateMethod(), getCallOptions()), request, responseObserver);\n }", "title": "" }, { "docid": "9c3c70a42cf40bfb6c453c8a1bc50d2a", "score": "0.49362624", "text": "public void activateTwitterAccount(@SuppressWarnings(\"unused\") long id)\n\t{/* Do nothing */}", "title": "" }, { "docid": "5b695015d72546b674ac7b0f690126ef", "score": "0.4927835", "text": "public CompletableFuture<HttpRequest> applyAsync(HttpRequest httpRequest) {\r\n String authCredentials = basicAuthUserName + \":\" + basicAuthPassword;\r\n httpRequest.getHeaders().add(\"Authorization\", \"Basic \" + Base64.getEncoder().encodeToString(authCredentials.getBytes()));\r\n return CompletableFuture.completedFuture(httpRequest);\r\n }", "title": "" }, { "docid": "f78df6ab80dae1c1c674662470c66efa", "score": "0.49271044", "text": "private void executeService(Connection.Method method, HttpServletRequest req, HttpServletResponse resp)\n throws IOException {\n\n long userId = -1;\n String requestUser = null;\n\n String authorizationHeader = req.getHeader(\"Authorization\");\n if (authorizationHeader != null) {\n Matcher result = AUTHORIZATION.matcher(authorizationHeader);\n if (result.matches()) {\n Database<Authenticator> authenticators = database(Authenticator.class);\n String b64 = result.group(1);\n String[] userData = new String(Base64.getDecoder().decode(b64)).split(\":\");\n if (userData.length == 2) {\n String username = userData[0];\n String pass = userData[1];\n\n HttpSession session = req.getSession();\n Object l = session.getAttribute(\"auth\");\n AuthenticationLevel level = l instanceof AuthenticationLevel ? (AuthenticationLevel) l : NONE;\n\n Optional<Authenticator> auth = authenticators.stream()\n .filter(authenticator -> authenticator.authenticate(username, pass))\n .filter(authenticator -> authenticator.getAuthenticationLevel().compareTo(NONE) > 0)\n .findFirst();\n if (auth.isPresent()) {\n Authenticator authenticated = auth.get();\n if (authenticated.getAuthenticationLevel().compareTo(level) > 0)\n session.setAttribute(\"auth\", authenticated.getAuthenticationLevel());\n session.setAttribute(\"user\", userId = authenticated.id());\n session.setAttribute(\"username\", requestUser = username);\n } else {\n resp.sendError(HttpServletResponse.SC_UNAUTHORIZED);\n return;\n }\n }\n }\n }\n\n if (requestUser == null) {\n HttpSession session = req.getSession(false);\n if (session != null) {\n Object usernameData = session.getAttribute(\"username\");\n if (usernameData instanceof String)\n requestUser = (String) usernameData;\n }\n }\n\n String requestKey = req.getRequestURI();\n if (requestKey.startsWith(\"/\"))\n requestKey = requestKey.substring(1);\n if (requestKey.endsWith(\"/\"))\n requestKey = requestKey.substring(0, requestKey.length() - 1);\n\n // Expose raw included resources\n if (!requestKey.startsWith(\"WEB-INF\")) try {\n URL url = req.getServletContext().getResource(requestKey);\n if (url != null) {\n try (InputStream stream = url.openStream()) {\n resp.setContentType(MimeUtil.getPreferedMimeType(\n req.getContentType(),\n ((Collection<?>) MimeUtil.getMimeTypes(url)).stream()\n .map(Object::toString)\n .collect(Collectors.joining()))\n .getMediaType());\n\n IOUtils.copy(stream, resp.getOutputStream());\n return;\n }\n }\n } catch (MalformedURLException e) {\n // NO-OP\n }\n\n String excessPath = \"\";\n String trueRequest = requestKey;\n while (!trueRequest.isEmpty() && !options.containsKey(trueRequest)) {\n int pos = trueRequest.lastIndexOf('/');\n if (pos > 0) {\n excessPath = trueRequest.substring(pos) + excessPath;\n trueRequest = trueRequest.substring(0, pos);\n } else {\n resp.sendError(HttpServletResponse.SC_NOT_FOUND);\n return;\n }\n }\n\n Set<String> options = getOptions(trueRequest);\n if (options.isEmpty()) {\n resp.sendError(HttpServletResponse.SC_NOT_FOUND);\n return;\n }\n\n resp.setHeader(\"Allow\", String.join(\", \", options));\n\n Map<String, WebService> handlers = services.get(method);\n if (handlers == null) {\n resp.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED);\n return;\n }\n\n WebService handler = handlers.get(trueRequest);\n if (handler == null) {\n resp.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED);\n return;\n }\n\n try {\n ServiceContext context = new ServiceContext(handler, excessPath, req, resp, userId, requestUser);\n handler.performAction(context);\n } catch (IllegalArgumentException e) {\n resp.sendError(HttpServletResponse.SC_BAD_REQUEST);\n }\n }", "title": "" }, { "docid": "a7e8c228222f770ae14dc477ea91fb39", "score": "0.491072", "text": "public final void mK_AUTHORIZE() throws RecognitionException {\n try {\n int _type = K_AUTHORIZE;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /home/pschulam/data/habeascorpus-workspace/apache-cassandra-1.2.0/src/java/org/apache/cassandra/cql3/Cql.g:907:12: ( A U T H O R I Z E )\n // /home/pschulam/data/habeascorpus-workspace/apache-cassandra-1.2.0/src/java/org/apache/cassandra/cql3/Cql.g:907:16: A U T H O R I Z E\n {\n mA(); \n mU(); \n mT(); \n mH(); \n mO(); \n mR(); \n mI(); \n mZ(); \n mE(); \n\n }\n\n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "4d0f1871095c5bb438100d9656147b3f", "score": "0.49049512", "text": "public void handleAuthorization(RoutingContext context) {\n if (context.data().get(AUTHENTICATION_TYPE).equals(JWT_AUTH)) {\n\n final User user = context.user();\n\n if (user == null) {\n ErrorCodeResponse.badRequest(context, \"No user\");\n } else {\n\n String requestMethod = context.request().method().toString();\n\n /**** To better use the RTP token in java, create a HashMap with all the user's permissions for each resource ****/\n\n RTPTokenHelper rtpTokenHelper = new RTPTokenHelper(context);\n final HashMap<String, String> userPermissionsAndResources = rtpTokenHelper.initiate();\n switch (requestMethod) {\n case POST:\n case PUT:\n /**** if request is a put or Post dataset (create dataset) check if user has permission to update the catalogue in which the dataset resides ****/\n if (context.request().query() != null) {\n\n String catalogueID = context.request().getParam(\"catalogue\");\n\n if (catalogueID != null) {\n\n /**** get all resources user has any permission for ****/\n Set<String> userResources = userPermissionsAndResources.keySet();\n\n /**** check if user has update permission for the requested catalogue ****/\n boolean resource = false;\n for (String key : userResources) {\n if (key.contains(catalogueID) == true) {\n resource = true;\n if (userPermissionsAndResources.get(key).contains(UPDATE)) {\n log.debug(\"Catalogue is being updated\");\n context.next();\n } else {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n break;\n }\n }\n\n if (resource == false) {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n } else {\n ErrorCodeResponse.badRequest(context, \"Bad query\");\n }\n /**** if request is PUT catalogue (create catalogue) ****/\n } else {\n String catalogueID = context.request().getParam(\"id\");\n if (catalogueID != null) {\n /**** check if catalogue already exists. if yes, update it. if not, create it if permission update on resource /* exists ****/\n\n CataloguesService cataloguesServiceHelper = CataloguesService.createProxy(context.vertx(), CataloguesService.SERVICE_ADDRESS);\n cataloguesServiceHelper.existenceCheckCatalogue(catalogueID, ar -> {\n /**** catalogue already exists -> check if user has update permission ****/\n if (ar.succeeded()) {\n Set<String> userResources = userPermissionsAndResources.keySet();\n boolean resource = false;\n\n for (String key : userResources) {\n if (key.contains(catalogueID)) {\n resource = true;\n if (userPermissionsAndResources.get(key).contains(UPDATE)) {\n log.debug(\"Catalogue is being updated\");\n context.next();\n } else {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n break;\n }\n }\n\n if (resource == false) {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n /**** catalogue doesn't exist -> check if user has create permission ****/\n } else {\n Set<String> userResources = userPermissionsAndResources.keySet();\n boolean resource = false;\n\n for (String key : userResources) {\n if (key.contains(\"*\") == true) {\n resource = true;\n if (userPermissionsAndResources.get(key).contains(CREATE)) {\n /**** necessary variables to later create keycloak resource in putCatalogueHandler ****/\n /**\n * TODO create keycloak resource here?\n */\n context.data().put(\"catalogue\", catalogueID);\n context.data().put(\"clientID\", authorizationProcessData.getString(\"clientID\"));\n context.data().put(\"client_secret\", authorizationProcessData.getString(\"client_secret\"));\n context.data().put(\"keycloak_uri\", authorizationProcessData.getString(\"keycloak_uri\"));\n context.data().put(\"keycloak_realm\", authorizationProcessData.getString(\"keycloak_realm\"));\n context.data().put(\"base_uri\", base_uri);\n context.data().put(\"owner\", context.user().principal().getString(\"preferred_username\"));\n log.info(\"PUT catalogue is creating\");\n context.next();\n } else {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n break;\n }\n }\n if (resource == false) {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n }\n });\n } else {\n ErrorCodeResponse.badRequest(context);\n }\n }\n break;\n\n /**** if request is delete a dataset ****/\n case DELETE_REQUEST:\n /**** if a dataset is to be deleted -> check permission for catalogue in which dataset is to be deleted. Update permission is needed to update the catalogue. ****/\n if (context.request().query() != null) { // context.request().query().contains(\"datasets\").contains(\"catalogue\") --> would make this valid only for PUT dataset\n\n String catalogueID = context.request().getParam(\"catalogue\");\n\n if (catalogueID != null) {\n\n Set<String> userResources = userPermissionsAndResources.keySet();\n boolean resource = false;\n\n for (String key : userResources) {\n if (key.contains(catalogueID) == true) {\n resource = true;\n if (userPermissionsAndResources.get(key).contains(\"update\")) {\n log.debug(\"DELETE dataset\");\n context.next();\n } else {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n break;\n }\n }\n\n if (resource == false) {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n } else {\n ErrorCodeResponse.badRequest(context);\n }\n\n /**** if request is delete a catalgoue ****/\n } else {\n if (!context.request().path().isEmpty()) {\n\n String catalogueID = context.request().getParam(\"id\");\n\n if (catalogueID != null) {\n Set<String> userResources = userPermissionsAndResources.keySet();\n\n boolean resource = false;\n\n for (String key : userResources) {\n if (key.contains(catalogueID) == true) {\n resource = true;\n if (userPermissionsAndResources.get(key).contains(DELETE_RESOURCE)) {\n log.debug(\"DELETE catalogue\");\n /**** variables needed to delete catalogue in keycloak ****/\n context.data().put(\"catalogue\", context.request().getParam(\"id\"));\n context.data().put(\"clientID\", authorizationProcessData.getString(\"clientID\"));\n context.data().put(\"client_secret\", authorizationProcessData.getString(\"client_secret\"));\n context.data().put(\"keycloak_uri\", authorizationProcessData.getString(\"keycloak_uri\"));\n context.data().put(\"keycloak_realm\", authorizationProcessData.getString(\"keycloak_realm\"));\n log.debug(\"DELETE catalogue went through\");\n context.next();\n } else {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n break;\n }\n }\n if (resource == false) {\n ErrorCodeResponse.forbidden(context, \"No permission for this resource\");\n }\n } else {\n ErrorCodeResponse.badRequest(context, \"Bad query\");\n }\n } else {\n ErrorCodeResponse.badRequest(context);\n }\n }\n break;\n default:\n ErrorCodeResponse.unauthorized(context);\n }\n }\n\n /**** if authentication was done with an API key, no authorization process is necessary, so move along ****/\n } else if (context.data().get(AUTHENTICATION_TYPE).equals(API_KEY_AUTH)) {\n /**** if PUT dataset -> just go through; if PUT catalogue -> set necessary variables in context.data() fields ****/\n\n if (context.request().method().toString().equals(PUT) || context.request().method().toString().equals(POST)) {\n /**** PUT catalogue ****/\n if (context.request().query() == null) {\n /**\n * TODO transfer all variables into a variable class instead of putting them in the context ?\n */\n context.data().put(\"owner\", authorizationProcessData.getString(\"default_owner\"));\n context.data().put(\"catalogue\", context.request().getParam(\"id\"));\n context.data().put(\"clientID\", authorizationProcessData.getString(\"clientID\"));\n context.data().put(\"client_secret\", authorizationProcessData.getString(\"client_secret\"));\n context.data().put(\"keycloak_uri\", authorizationProcessData.getString(\"keycloak_uri\"));\n context.data().put(\"keycloak_realm\", authorizationProcessData.getString(\"keycloak_realm\"));\n context.data().put(\"base_uri\", base_uri);\n log.debug(\"PUT catalogue with API key went through\");\n context.next();\n } else {\n /**** PUT dataset ****/\n log.debug(\"PUT dataset with API key went through\");\n context.next();\n }\n } else if (context.request().method().toString().equals(DELETE_REQUEST)) {\n /**** delete catalogue ****/\n if (context.request().query() == null) {\n log.debug(\"DELETE catalogue with API key went through\");\n context.data().put(\"catalogue\", context.request().getParam(\"id\"));\n context.data().put(\"clientID\", authorizationProcessData.getString(\"clientID\"));\n context.data().put(\"client_secret\", authorizationProcessData.getString(\"client_secret\"));\n context.data().put(\"keycloak_uri\", authorizationProcessData.getString(\"keycloak_uri\"));\n context.data().put(\"keycloak_realm\", authorizationProcessData.getString(\"keycloak_realm\"));\n context.next();\n } else {\n /**** delete dataset ****/\n log.info(\"DELETE dataset with API key went through\");\n context.next();\n }\n }\n } else {\n ErrorCodeResponse.unauthorized(context, \"No authentication\");\n }\n }", "title": "" }, { "docid": "dd508be2ac77f4c7b7b9fcf82395c7be", "score": "0.4901044", "text": "public void authenticate(io.etcd.jetcd.api.AuthenticateRequest request,\n io.grpc.stub.StreamObserver<io.etcd.jetcd.api.AuthenticateResponse> responseObserver) {\n asyncUnimplementedUnaryCall(getAuthenticateMethod(), responseObserver);\n }", "title": "" }, { "docid": "913bea0cd6403732ddf74bd3a879a8d6", "score": "0.48933852", "text": "public Authenticator(URL url) throws IOException{\n connection = (HttpURLConnection) url.openConnection();\n setRequestCredentials(connection);\n }", "title": "" }, { "docid": "5547ebbbe76d62b142b080663632734d", "score": "0.48788795", "text": "private void authorizeLogin() {\n presenter.loginAuthorization(\n usernameField.getText().toString(), passwordField.getText().toString());\n }", "title": "" }, { "docid": "5707c5504ce9115c311f8897ef997492", "score": "0.48655942", "text": "public void oauth(String consumerKey, String consumerSecret, String token,\n\t\t\tString secret) throws InterruptedException {\n\n\t\tStatusesSampleEndpoint endpoint = new StatusesSampleEndpoint();\n\t\tendpoint.stallWarnings(false);\n\n\t\t \n\t\tAuthentication auth = new OAuth1(consumerKey, consumerSecret, token,\n\t\t\t\tsecret);\n\n\t\tclient = new ClientBuilder().name(\"sampleExampleClient\")\n\t\t\t\t.hosts(Constants.STREAM_HOST).endpoint(endpoint)\n\t\t\t\t.authentication(auth)\n\t\t\t\t.processor(new StringDelimitedProcessor(queue)).build();\n\t\tclient.connect();\n\t}", "title": "" }, { "docid": "5cf377ff4981f414b4a5aa81af8843d9", "score": "0.4862751", "text": "protected void authenticated(final HttpServletRequest request, final URI resourceURI, final String method, final String requestURI, final Principal principal,\n\t\t\tfinal String realm, final AuthenticateCredentials credentials, final boolean authenticated) {\n\t}", "title": "" }, { "docid": "1223024c2e69cd91707000a0f820c8c8", "score": "0.4842802", "text": "@Override\n public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain)\n throws IOException, ServletException {\n\n if (servletRequest instanceof HttpServletRequest && servletResponse instanceof HttpServletResponse) {\n HttpServletRequest request = (HttpServletRequest) servletRequest;\n HttpServletResponse response = (HttpServletResponse) servletResponse;\n\n if (isProtectedResource(request)) {\n AuthenticationApplication authenticationApplication = AuthenticationApplication.getApplication();\n \n //String clientRequestURL = UriBuilder.fromUri(OSLC4JUtils.getServletURI()).path(request.getPathInfo()).build().toString();\n OAuthMessage message = OAuthServlet.getMessage(request, null);\n // First check if this is an OAuth request.\n if (message.getToken() != null) {\n try {\n OAuthRequest oAuthRequest = new OAuthRequest(request);\n oAuthRequest.validate();\n String applicationConnector = authenticationApplication.getApplicationConnector(message.getToken());\n if (applicationConnector == null) {\n // Start of user code nullApplicationConnectorForOauth\n // End of user code\n throw new OAuthProblemException(OAuth.Problems.TOKEN_REJECTED);\n }\n authenticationApplication.bindApplicationConnectorToSession(request, applicationConnector);\n } catch (OAuthException e) {\n // Start of user code oauthException\n // End of user code\n OAuthServlet.handleException(response, e, AuthenticationApplication.OAUTH_REALM);\n return;\n }\n } \n else {\n // This is not an OAuth request, so check for basic authentication\n // Start of user code basicAuth_Init\n // End of user code\n String applicationConnector = authenticationApplication.getApplicationConnectorFromSession(request);\n if (null == applicationConnector) {\n // Start of user code basicAuth_nullConnector\n // End of user code\n try {\n authenticationApplication.loginWithBasicAuthentication(request);\n if (null == authenticationApplication.getApplicationConnectorFromSession(request)) {\n //So the login still failed\n throw new AuthenticationException();\n }\n } catch (AuthenticationException e) {\n authenticationApplication.sendUnauthorizedResponse(response, e);\n return;\n } \n }\n // Start of user code basicAuth_final\n // End of user code\n }\n } else {\n // Start of user code resource_not_protected\n // End of user code\n }\n }\n chain.doFilter(servletRequest, servletResponse);\n }", "title": "" }, { "docid": "395edca8cc10ac03759cb636e9526f7d", "score": "0.483999", "text": "public void doAuth(String host, String authzid, String user, String passwd) throws IOException {\n throw new EOFException(\"PLAIN asked for more\");\n }", "title": "" }, { "docid": "078e9dfab58b45ad4b3130667c5141fd", "score": "0.4838924", "text": "@Override\n\tpublic void filter(ContainerRequestContext requestContext)\n\t\t\tthrows WebApplicationException {\n\t\tUriRoutingContext routingContext = (UriRoutingContext) requestContext\n\t\t\t\t.getUriInfo();\n\t\tResourceMethodInvoker invoker = (ResourceMethodInvoker) routingContext\n\t\t\t\t.getInflector();\n\t\tMethod method = invoker.getResourceMethod();\n\n\t\t// check affected method\n\t\tif (method.isAnnotationPresent(PermitAll.class)) {\n\t\t\treturn;\n\t\t} else if (method.isAnnotationPresent(DenyAll.class)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// get headers value\n\t\tfinal MultivaluedMap<String, String> headers = requestContext\n\t\t\t\t.getHeaders();\n\t\tfinal List<String> authorization = headers.get(AUTHORIZATION_PROPERTY);\n\t\tList<String> errors = new ArrayList<String>();\n\n\t\tif (authorization == null || authorization.isEmpty()) {\n\t\t\terrors.add(ErrorMessagesMapper\n\t\t\t\t\t.getString(\"authentication.missing.header\"));\n\t\t\tthrow new ForbiddenException(errors);\n\t\t}\n\n\t\tString[] loginInformation = BasicAuthentication.decode(authorization\n\t\t\t\t.get(0));\n\n\t\tif (loginInformation == null || loginInformation.length != 2) {\n\t\t\terrors.add(ErrorMessagesMapper\n\t\t\t\t\t.getString(\"authentication.invalid.user\"));\n\t\t\tthrow new ForbiddenException(errors);\n\t\t}\n\n\t\t// authenticate username and password\n\t\tif (!loginInformation[0].equals(\"lunayo\")\n\t\t\t\t|| !loginInformation[1].equals(\"qwertyui\")) {\n\t\t\terrors.add(ErrorMessagesMapper\n\t\t\t\t\t.getString(\"authentication.wrong.user\"));\n\t\t\tthrow new ForbiddenException(errors);\n\t\t}\n\n\t\t// Dummy user\n\t\tUser user = new User(\"lunayo\", \"qewrtyui\", \"adsfdsa\", \"adsfas\",\n\t\t\t\t\"asdfas\");\n\t\trequestContext.setSecurityContext(new AuthenticationSecurityContext(\n\t\t\t\tuser));\n\t}", "title": "" }, { "docid": "47a90b812704a1f6c70297980dcd2bbd", "score": "0.48321238", "text": "public void onActivityResult(int requestCode, int resultCode, Intent data) {\n if(twitterAuthClient != null) twitterAuthClient.onActivityResult(requestCode, resultCode, data);\n }", "title": "" }, { "docid": "5d1f7f92a3ec444a272bac3cb4f75816", "score": "0.48266837", "text": "public interface TwitterAuthCallback {\n void getAuthUrl(String url);\n}", "title": "" }, { "docid": "626f4b130336f4e09a8ed26156bb3c57", "score": "0.4819273", "text": "public void adminAcceptedTerms(String providerId, Authentication auth){\n }", "title": "" }, { "docid": "e80a1a7eabddf7b7e885ce8619e6e547", "score": "0.48121244", "text": "@Override\n public void filter(ContainerRequestContext requestContext) throws IOException {\n if (requestContext.getUriInfo().getPath().contains(SECURED_URL_PREFIX)) {\n List<String> authHeader = requestContext.getHeaders().get(AUTHORIZATION_HEADER);\n if (authHeader != null && authHeader.size() > 0) {\n String authToken = authHeader.get(0);\n authToken = authToken.replaceFirst(AUTHORIZATION_HEADER_PREFIX, \"\");\n String decodedString = Base64.decodeAsString(authToken);\n StringTokenizer tokenizer = new StringTokenizer(decodedString, \":\");\n String username = tokenizer.nextToken();\n String password = tokenizer.nextToken();\n \n if (steamservices.login(username, password)){\n return;\n }\n\n /**if (\"daisy\".equals(username) && \"123\".equals(password)) {\n return;\n }**/\n }\n Response unauthorizedStatus = Response\n .status(Response.Status.UNAUTHORIZED)\n .entity(\"User cannot access the resource.\")\n .build();\n requestContext.abortWith(unauthorizedStatus); \n }\n }", "title": "" }, { "docid": "fb4c4b666a0e5c6bc6caf4ceb2ea8ce8", "score": "0.48048142", "text": "@Override\r\n public HttpResponse httpPost(URI uri) {\r\n try {\r\n HttpPost request = new HttpPost(uri);\r\n consumer.sign(request);\r\n return httpClient.execute(request);\r\n }catch(OAuthException | IOException e){\r\n throw new RuntimeException(\"post method did not execute successfully\",e);\r\n }\r\n }", "title": "" }, { "docid": "3822b284a32f2269b392412c4af59205", "score": "0.48008084", "text": "public HttpRequest apply(HttpRequest httpRequest) {\r\n String authCredentials = basicAuthUserName + \":\" + basicAuthPassword;\r\n httpRequest.getHeaders().add(\"Authorization\", \"Basic \" + Base64.getEncoder().encodeToString(authCredentials.getBytes()));\r\n return httpRequest;\r\n }", "title": "" }, { "docid": "3fef71e1e575b6b94d8a8fe835e04ae4", "score": "0.47920045", "text": "@RequestMapping(value = \"/authorization\", method = RequestMethod.POST, params = { \"response_type\", \"client_id\",\n \"redirect_uri\", \"scope\", \"state\", \"aud\" })\n public ResponseEntity<String> Authorization(HttpServletRequest request, HttpEntity<String> entity,\n @RequestParam(name = \"response_type\") String responseType, @RequestParam(name = \"client_id\") String clientId,\n @RequestParam(name = \"redirect_uri\") String redirectURI, @RequestParam(name = \"scope\") String scope,\n @RequestParam(name = \"state\") String state, @RequestParam(name = \"aud\") String aud) {\n aud = StringEscapeUtils.escapeJava(aud);\n scope = StringEscapeUtils.escapeJava(scope);\n state = StringEscapeUtils.escapeJava(state);\n clientId = StringEscapeUtils.escapeJava(clientId);\n redirectURI = StringEscapeUtils.escapeJava(redirectURI);\n responseType = StringEscapeUtils.escapeJava(responseType);\n\n logger.info(\n \"AuthorizationEndpoint::Authorization:Received /authorization?response_type=\" + responseType + \"&client_id=\"\n + clientId + \"&redirect_uri=\" + redirectURI + \"&scope=\" + scope + \"&state=\" + state + \"&aud=\" + aud);\n final String baseUrl = App.getServiceBaseUrl(request);\n Gson gson = new GsonBuilder().setPrettyPrinting().create();\n HashMap<String, String> attributes = new HashMap<String, String>();\n\n HttpStatus status = HttpStatus.OK;\n if (!aud.equals(App.getEhrServer(request))) {\n status = HttpStatus.BAD_REQUEST;\n attributes.put(\"error\", \"invalid_request\");\n attributes.put(\"error_description\", \"aud is invalid\");\n } else if (!responseType.equals(\"code\")) {\n status = HttpStatus.BAD_REQUEST;\n attributes.put(\"error\", \"invalid_request\");\n attributes.put(\"error_description\", \"response_type must be code\");\n } else if (Client.getClient(clientId) == null) {\n status = HttpStatus.BAD_REQUEST;\n attributes.put(\"error\", \"unauthorized_client\");\n attributes.put(\"error_description\", \"client is not registered\");\n } else {\n User userRequest = gson.fromJson(entity.getBody(), User.class);\n logger.info(\"AuthorizationEndpoint::Authorization:Received login request from \" + userRequest.getUsername());\n User user = App.getDB().readUser(userRequest.getUsername());\n if (user == null) {\n status = HttpStatus.BAD_REQUEST;\n attributes.put(\"error\", \"access_denied\");\n attributes.put(\"error_description\", \"user does not exist\");\n } else if (BCrypt.checkpw(userRequest.getPassword(), user.getPassword())) {\n logger.info(\"AuthorizationEndpoint::User \" + user.getUsername() + \" is authorized\");\n\n String code = generateAuthorizationCode(baseUrl, clientId, redirectURI, user.getUsername());\n logger.info(\"AuthorizationEndpoint::Generated code \" + code);\n if (code == null) {\n status = HttpStatus.INTERNAL_SERVER_ERROR;\n attributes.put(\"error\", \"server_error\");\n } else {\n attributes.put(\"code\", code);\n attributes.put(\"state\", state);\n }\n } else {\n status = HttpStatus.UNAUTHORIZED;\n attributes.put(\"error\", \"access_denied\");\n attributes.put(\"error_description\", \"invalid username/password\");\n logger.severe(\"AuthorizationEndpoint::Authorization:Failed loging attempt from \" + user.getUsername());\n }\n }\n\n redirectURI = getRedirect(redirectURI, attributes);\n logger.info(\"Redirecting to \" + redirectURI);\n return new ResponseEntity<String>(gson.toJson(Collections.singletonMap(\"redirect\", redirectURI)), status);\n }", "title": "" }, { "docid": "4541fee42342a0b726e94bc1b2500d36", "score": "0.47903246", "text": "@Override\r\n\tpublic void filter(ContainerRequestContext requestContext) throws IOException {\n\t\t\r\n\t\tList<String> authHeaders = requestContext.getHeaders().get(AUTH_HEAD_KEY);\r\n\t\tif(authHeaders.size() >0) {\r\n\t\t\tString authToken = authHeaders.get(0);\r\n\t\t\tauthToken=authToken.replaceFirst(AUTH_HEAD_PREFIX, \"\");\r\n\t\t\tString decodeString = Base64.decodeAsString(authToken);\r\n\t\t\tStringTokenizer tokanizer= new StringTokenizer(decodeString, \":\");\r\n\t\t\tString user=tokanizer.nextToken();\r\n\t\t\tString pass=tokanizer.nextToken();\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\trequestContext.abortWith(Response.status(Status.UNAUTHORIZED).entity(\"NOT ALLOWED\").build());\r\n\t}", "title": "" }, { "docid": "7458b1ee5bb4784f471961081c7cd333", "score": "0.47893912", "text": "@TargetRequestFilter\n\tpublic void exampleRequestFilter(HttpRequest request) {\n\t\t// request.addHeader(\"Authorization\",\n\t\t// \"Bearer\n\t\t// eyJraWQiOiJJbUptODYyYkxQQ3RsaFFReTM2OEJBb0tQYXlEOURMcE53eXdXMmZoWlBJPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJkMmZkODdkNy03Y2E4LTRhMGYtOTM1MS00YWE2YjAwOTMyN2UiLCJldmVudF9pZCI6ImVkZDk4YjFhLTNmMGEtMTFlOC1iZGE4LTEzOGM2M2YwMmQxYyIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoiYXdzLmNvZ25pdG8uc2lnbmluLnVzZXIuYWRtaW4iLCJhdXRoX3RpbWUiOjE1MjM2MTc2ODAsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbVwvZXUtY2VudHJhbC0xX000RnlDMEpQQSIsImV4cCI6MTUyMzYyMTI4MCwiaWF0IjoxNTIzNjE3NjgxLCJqdGkiOiI0MzFhODQwZS1lNDVkLTRjOTItYmRjNS00OGU5MjY3MDMwZjIiLCJjbGllbnRfaWQiOiI1NjdjZ3RqY2h2aDBhZG01dHYyZzB1NHBrNiIsInVzZXJuYW1lIjoibWhpZW1lciJ9.U4DlcWI2FkhU6CLJYmX24-39xJOMoGNJu3DsESVc0hAZrBeJs1P4CsK_VXMWdattJDS4RB9ifmdk5gY6bkpXcZSgRD9XaNmAtSN-cfZZfY_RpfDH6TdgxruJDGox-w5B-BHBMMxHmRHO9OZOd0vDdDYfG9oWnH1nyQ2-ebzLAQ7-ULKTxVPV5-Tse7CTN2BnDy2kQWc3JuqMNFxe1bmfHE4osgnqN10JigxL2Bdv5K_cZXIQVry1r2IEOP4LrQApzZqdG6Ae2fEgtjYaQb944Awqadbx6wg04EPAIgkSSanezHJJpnH9HnsmO1OKfC5YUtRfSFRRRSAmYp4I1gs8Kg\");\n\t}", "title": "" }, { "docid": "ea79fef053d434ff370c3ede54a6c0d5", "score": "0.47802162", "text": "@RequestMapping(method = RequestMethod.GET)\n\tpublic String loginTwitter(Model model) {\n\n\t\ttry {\n\t\t\tcb = new ConfigurationBuilder().setOAuthConsumerKey(\"ISxkuLISWGN83O7babl0pvnPO\")\n\t\t\t\t\t.setOAuthConsumerSecret(\"pHtdY68fxah73OnZyvRa8GVYKqlFON3nsMrQJ9Ou1XBNrH8eIi\");\n\t\t\ttf = new TwitterFactory(cb.build());\n\t\t\ttwitter = tf.getInstance();\n\t\t\trequestToken = twitter.getOAuthRequestToken();\n\t\t} catch (TwitterException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tmodel.addAttribute(\"auth\", requestToken.getAuthorizationURL());\n\t\tmodel.addAttribute(\"pinholder\", new Pinholder());\n\t\treturn \"index\";\n\t}", "title": "" }, { "docid": "bf015b6afaa37257579d57629f9f18a1", "score": "0.47681642", "text": "private void setAuthorizationHeader( final HttpRequest requestMethod )\n\t{\n\t\tString authHeader = getAuthenticationHeaderBasic( );\n\t\t/* If null, try Oauth */\n\t\tif ( authHeader == null )\n\t\t{\n\t\t\tauthHeader = getAuthenticationHeaderBearer( );\n\t\t}\n\t\t/* Set header if not null, otherwise don't set header */\n\t\tif ( authHeader != null )\n\t\t{\n\t\t\trequestMethod.addHeader( \"Authorization\", authHeader );\n\t\t}\n\t}", "title": "" }, { "docid": "0ec3cfe42779958a43496fb0534b0bf0", "score": "0.4765868", "text": "public void authorize(AuthorizeRequest authorizeRequest, MYKEYWalletCallback callback) {\n if (!check(callback)) {\n return;\n }\n MYKEYCallbackManager.getInstance().registerListener(callback);\n authorizeHandle.handle(context, authorizeRequest, callback);\n }", "title": "" }, { "docid": "e46da8180ad70a8ac98f3327877fc938", "score": "0.47495452", "text": "public static void UpdateMyStatus(){\n\t\tString date = new Date().toString();\n\t\tString status = \"This is my RESTFUL status Generated at \" + date;\n\t\tString urlstatus = URLEncoder.encode(status);\n\t\tString url = \"https://api.twitter.com/1.1/statuses/update.json?status=\"+urlstatus;\t\t\n\t\tOAuthRequest requestUpdate = new OAuthRequest(Verb.POST, url);\n\t\t\n\t\tservice.signRequest(accessToken, requestUpdate);\n\t\tResponse responseUpdate = requestUpdate.send();\n\t\tSystem.out.println(\"Successfully posted\");\n\t}", "title": "" }, { "docid": "573228f790d907dacac76cec6863d632", "score": "0.4739748", "text": "@Override\r\n public void filter(ContainerRequestContext requestContext) throws IOException {\n String authorizationHeader = requestContext.getHeaderString(HttpHeaders.AUTHORIZATION);\r\n\r\n // Check if the HTTP Authorization header is present and formatted correctly \r\n if (authorizationHeader == null || !authorizationHeader.startsWith(\"Bearer \")) {\r\n JSONObject json = new JSONObject();\r\n json.put(\"error\", \"Forbidden\");\r\n requestContext.abortWith(Response.status(Response.Status.FORBIDDEN).entity(json.toString()).type(MediaType.APPLICATION_JSON).build());\r\n return;\r\n }\r\n\r\n // Extract the token from the HTTP Authorization header\r\n String token = authorizationHeader.substring(\"Bearer\".length()).trim();\r\n\r\n try {\r\n\r\n // Validate the token\r\n if (!JWTUtil.verifyJWT(token)) {\r\n JSONObject json = new JSONObject();\r\n json.put(\"error\", \"invalid\");\r\n requestContext.abortWith(Response.status(Response.Status.UNAUTHORIZED).entity(json.toString()).type(MediaType.APPLICATION_JSON).build());\r\n }else{\r\n \r\n requestContext.setSecurityContext(new Authorizer(JWTUtil.getUser(token)));\r\n }\r\n\r\n } catch (ExpiredJwtException | MalformedJwtException | SignatureException | UnsupportedJwtException | IllegalArgumentException e) {\r\n JSONObject json = new JSONObject();\r\n json.put(\"error\", e.getMessage());\r\n requestContext.abortWith(Response.status(Response.Status.UNAUTHORIZED).entity(json.toString()).type(MediaType.APPLICATION_JSON).build());\r\n }\r\n\r\n }", "title": "" }, { "docid": "b8ff841fdebd25dc918f518d2da991ee", "score": "0.47346926", "text": "@Override\n public void filter(ContainerRequestContext requestContext) throws IOException {\n String authorizationHeader = requestContext.getHeaderString(HttpHeaders.AUTHORIZATION);\n System.out.println(\"#### authorizationHeader : \" + authorizationHeader);\n\n // Check if the HTTP Authorization header is present and formatted correctly\n if (authorizationHeader == null || !authorizationHeader.startsWith(Bearer)) {\n System.out.println(\"#### invalid authorizationHeader : \" + authorizationHeader);\n requestContext.abortWith(Response.status(Response.Status.UNAUTHORIZED).build());\n } else {\n // Extract the token from the HTTP Authorization header\n String token = authorizationHeader.substring(Bearer.length()).trim();\n try {\n if (!isAuth(token)) {\n requestContext.abortWith(Response.status(Response.Status.UNAUTHORIZED).build());\n }\n } catch (Exception e) {\n System.out.println(\"#### invalid token : \" + token);\n requestContext.abortWith(Response.status(Response.Status.UNAUTHORIZED).build());\n }\n }\n }", "title": "" }, { "docid": "02eab8d44d064a6cf5a8b9e989010df0", "score": "0.47320062", "text": "public TicketSearchRequest author() {\n TicketSearchRequest request = new TicketSearchRequest(this);\n request.author = true;\n return request;\n }", "title": "" }, { "docid": "a2c8f3bf15713c613cc65b1e0ad29efa", "score": "0.47106314", "text": "public static Response executeRequest(String userName, String password,Map<String,String> headers,Map<String,String> queryParams,Map<String,String> formParams,String URI,JSONObject body, String httpMethod, String Oauth) throws Throwable {\r\n\t\t\r\n\t\tRequestSpecification Request = RestAssured.given();\r\n\t\tResponse response=null;\r\n\t\t\r\n\t\tif(Oauth!=null)\r\n\t\t{\r\n\t\t\tRequest\r\n\t\t \t.given()\r\n\t\t\t.auth()\r\n\t\t\t.oauth2(Oauth);\r\n\t\t}\r\n\t\t\r\n\t\tif(formParams!=null){\r\n\t\t\tRequest.formParams(formParams);\r\n\t\t}\r\n\t\t\r\n\t\tif(queryParams!=null){\r\n\t\t\tRequest.queryParams(queryParams);\r\n\t\t}\t\t\r\n\t\t\r\n\t\tif(body!=null) {\r\n\t\t\tRequest.body(body);\r\n\t\t\t//Request.body(body.toJSONString());\r\n\t\t\t}\r\n\t\t\r\n\t\tif(headers!=null) {\r\n\t\tRequest.headers(headers);\r\n\t\t}\r\n\t\t\r\n\t\tswitch(httpMethod)\r\n\t\t{\r\n\t\t\tcase \"POST\":\r\n\t\t\t\t\t\tresponse = Request.request(Method.POST,URI);\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"GET\":\t\r\n\t\t\t\t\t\tresponse = Request.request(Method.GET,URI);\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"PUT\":\t\r\n\t\t\t\t\t\tresponse = Request.request(Method.PUT,URI);\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"DELETE\":\t\r\n\t\t\t\t\t\tresponse = Request.request(Method.DELETE,URI);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\treturn response;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b3526fe348edd3bafd7e4686f55a4b30", "score": "0.46913576", "text": "@Override\n public void filter(ContainerRequestContext requestContext) throws IOException {\n List<String> authHeaderValues = requestContext.getHeaders().get(\"Authorization\");\n \n if(authHeaderValues != null && authHeaderValues.size() > 0){\n String authHeaderValue = authHeaderValues.get(0);\n String decodedAuthHeaderValue = new String(Base64.getDecoder().decode(authHeaderValue.replaceFirst(\"Basic \", \"\")),StandardCharsets.UTF_8);\n StringTokenizer stringTokenizer = new StringTokenizer(decodedAuthHeaderValue, \":\");\n String username = stringTokenizer.nextToken();\n String password = stringTokenizer.nextToken();\n \n List<User> users = em.createNamedQuery(\"User.findByUsername\",User.class).setParameter(\"username\", username).getResultList();\n \n if(users.isEmpty()){\n Response response = Response.status(Response.Status.UNAUTHORIZED).entity(\"Korisnik ne postoji.\").build();\n requestContext.abortWith(response);\n return;\n }\n \n User user = users.get(0);\n \n if(!user.getPassword().equals(password)){\n Response response = Response.status(Response.Status.UNAUTHORIZED).entity(\"Neispravna lozinka.\").build();\n requestContext.abortWith(response);\n return;\n }\n return;\n }\n \n Response response = Response.status(Response.Status.UNAUTHORIZED).entity(\"Posaljite kredencijale.\").build();\n requestContext.abortWith(response);\n return;\n }", "title": "" }, { "docid": "97cce139428a2b55038b564d788e1431", "score": "0.4691205", "text": "@Override\n public void filter(ContainerRequestContext requestContext) throws IOException {\n List<String> authHeaderValues = requestContext.getHeaders().get(\"Authorization\");\n \n if(authHeaderValues != null && authHeaderValues.size() > 0){\n String authHeaderValue = authHeaderValues.get(0);\n String decodedAuthHeaderValue = new String(Base64.getDecoder().decode(authHeaderValue.replaceFirst(\"Basic \", \"\")),StandardCharsets.UTF_8);\n StringTokenizer stringTokenizer = new StringTokenizer(decodedAuthHeaderValue, \":\");\n String username = stringTokenizer.nextToken();\n String password = stringTokenizer.nextToken();\n \n TypedQuery<Users> q = em.createQuery(\"SELECT u FROM Users u WHERE u.username = :username\", Users.class);\n q.setParameter(\"username\", username);\n List<Users> users = q.getResultList();\n \n if (users.size() != 1) {\n Response response = Response.status(Response.Status.UNAUTHORIZED).entity(\"Korisnicko ime ili sifra nisu validni.\").build();\n requestContext.abortWith(response);\n return;\n }\n \n Users user = users.get(0);\n if (!user.getPassword().equals(password)) {\n Response response = Response.status(Response.Status.UNAUTHORIZED).entity(\"Korisnicko ime ili sifra nisu validni.\").build();\n requestContext.abortWith(response);\n return;\n }\n JavaEE8Resource.currentUser = user.getIdUser();\n \n return;\n }\n \n Response response = Response.status(Response.Status.UNAUTHORIZED).entity(\"Posaljite kredencijale.\").build();\n requestContext.abortWith(response);\n return;\n }", "title": "" }, { "docid": "372d2ef405755dd6cd39276ad9d8cb97", "score": "0.46883756", "text": "String createAuthorizationCode(Oauth2Authentication authentication);", "title": "" }, { "docid": "636395314abcbe466e80428cf8894e32", "score": "0.46872634", "text": "protected void setAuthorizationHeaders(HttpRequest request, String client_id, String client_secret)\n\t{\n\t\t\n\t\t// If client Secret is null or empty, then, it is a \"public\" app and the header does not\n\t\t// need to be filled.\n\t\t\n\t\tif (isConfidentialApp(client_secret))\n\t\t{\n\t\t\tString encodingString = client_id + \":\" + client_secret;\n\t\t\tbyte[] encodedBytes = Base64.encodeBase64(encodingString.getBytes());\n\t\t\tString encodedStr = new String(encodedBytes);\n\t\t\trequest.setHeader(\"Authorization\", \"Basic \" + encodedStr);\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "75a7565fedeabb54946d254039ded7c7", "score": "0.4685862", "text": "public Authenticator(ActionServlet as) {\r\n servlet = as;\r\n }", "title": "" }, { "docid": "f2cf851752291f5032ceb865a0905ab6", "score": "0.46732318", "text": "protected boolean byPassAuthorization() {\n return true;\n }", "title": "" }, { "docid": "f17ed5ba8c8930682234cd7bc46bbba1", "score": "0.4659706", "text": "@Override\n\tprotected void performAuthorizationRequest() {\n\t\tenv.putObject(\"client_jwks_rs256\", env.getObject(\"client_jwks\").deepCopy());\n\t\tenv.mapKey(\"client_jwks\", \"client_jwks_rs256\");\n\t\tcallAndContinueOnFailure(ChangeClientJwksAlgToRS256.class, Condition.ConditionResult.FAILURE, \"FAPI-CIBA-7.10\");\n\n\t\tsuper.performAuthorizationRequest();\n\t}", "title": "" }, { "docid": "886653b90fdb20dc1579939d4f685bee", "score": "0.46553963", "text": "public abstract Result authenticate (HttpExchange exch);", "title": "" }, { "docid": "8f355682b365e09a1f100a96786a0d43", "score": "0.4653358", "text": "@Override\n protected void resourceRequest(List<Term> terms) {\n //prepare the parameters for the request\n Request r;\n\n String url = terms.get(4).getName();\n if (terms.get(5).getName() != \"\")\n url.concat(\"?\"+terms.get(5).getName());\n String type = terms.get(7).getName();\n String headers = terms.get(6).getName()+\"Authorization=\"+terms.get(0).getName()+\" \"+terms.get(2).getName();\n String parameters = terms.get(8).getName();\n\n try {\n //do the request an save the result\n r = new Request(url,type,headers,parameters);\n result = r.doRequest();\n } catch (MalformedURLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a05fe0c8673a2e8a474052946202e99c", "score": "0.46527678", "text": "public void addTweet(Tweet tweet){}", "title": "" }, { "docid": "78583f08408d619c7a31dcfb211b8811", "score": "0.4645871", "text": "boolean authenticate(HttpServletRequest request);", "title": "" }, { "docid": "6112055089aecca91b83033227977429", "score": "0.46407676", "text": "@Override\n protected void doGet(HttpServletRequest request,\n HttpServletResponse response) throws ServletException, IOException {\n try {\n String scope = request.getParameter(\"scope\");\n if (scope == null) {\n throw new RuntimeException(\n \"'scope' querystring parameter required\");\n }\n\n String encodedScope = URLEncoder.encode(scope, \"UTF-8\");\n\n String returnUrl = request.getParameter(\"returnUrl\");\n if (returnUrl == null) {\n throw new RuntimeException(\n \"'returnUrl' querystring parameter required\");\n }\n\n String encodedReturnUrl = URLEncoder.encode(returnUrl, \"UTF-8\");\n \n String callbackHandler = AttConstants.CALLBACK_SERVER + \"?scope=\"\n + encodedScope + \"&returnUrl=\" + encodedReturnUrl;\n\n String url = AttConstants.HOST + \"/oauth/authorize?\" + \"scope=\"\n + encodedScope + \"&client_id=\"\n + URLEncoder.encode(AttConstants.CLIENTIDSTRING, \"UTF-8\")\n + \"&redirect_uri=\"\n + URLEncoder.encode(callbackHandler, \"UTF-8\");\n\n log.info(\"oauthUrl redirect URL: \" + url);\n response.setContentType(\"application/json\");\n Writer writer = response.getWriter();\n try {\n writer.write(\"{\\\"url\\\":\\\"\" + url + \"\\\"}\");\n } finally {\n writer.close();\n }\n } catch (Exception se) {\n try {\n log(se.toString());\n se.printStackTrace();\n response.reset();\n response.setStatus(500);\n response.setContentType(\"application/json\");\n Writer writer = response.getWriter();\n try {\n TokenResponse.getResponse(se).write(writer);\n } finally {\n writer.close();\n }\n } catch (Exception e) {\n log(se.getMessage());\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "62db2664f7f59b3f3395a581462923a1", "score": "0.46375436", "text": "private void addAuthentication(HttpRequestBase base, String multipartMd5) {\n /* StringToSign = HTTP-Verb + '\\n' +\n * base64(Content-MD5) + '\\n' +\n * base64(x-4dnest-multipartMD5) + '\\n' +\n * Content-Type + '\\n' +\n * Date + '\\n' +\n * RequestURI\n * \n * Should be in utf-8 automatically.\n */\n String user = \"Hard-coded\";\n String key = \"secret\";\n String verb = base.getMethod();\n String requestUri = base.getURI().getPath();\n Date date = new Date();\n String stringToSign = verb + \"\\n\" + \"\" + \"\\n\" + multipartMd5 + \"\\n\"\n + \"\" + \"\\n\" + DateUtils.formatDate(date) + \"\\n\" + requestUri;\n String authHead = user + \":\" + computeSignature(stringToSign, key);\n Log.d(\"HASH\", authHead);\n base.setHeader(\"Authorization\", authHead);\n \n base.setHeader(\"Date\", DateUtils.formatDate(date));\n \n base.setHeader(\"x-4dnest-multipartMD5\", multipartMd5);\n }", "title": "" }, { "docid": "a4ecee2c1b24292b1510137113f9a6b5", "score": "0.46359706", "text": "private boolean authorized( String authHeader )\n throws IOException\n {\n if ( authHeader == null || authHeader.length() < 9 )\n {\n return false;\n }\n // Get encoded user and password, comes after \"BASIC \"\n String userpassEncoded = authHeader.substring( 6 );\n\n BASE64Decoder dec = new BASE64Decoder();\n String userpassDecoded = new String( dec.decodeBuffer( userpassEncoded ) );\n int idx = userpassDecoded.indexOf( ':' );\n\n if ( idx == -1 )\n {\n return false;\n }\n String userid = userpassDecoded.substring( 0, idx );\n String password = userpassDecoded.substring( idx + 1 );\n\n if ( userid.trim().length() <= 0 || password.trim().length() <= 0 )\n {\n return false;\n }\n return checkPassword( userid, password );\n }", "title": "" }, { "docid": "48281a1d4c664b9fb6675bb592952257", "score": "0.46347728", "text": "@Override\n public Access apply(Credentials input) {\n Iterable<String> usernameTenantId = Splitter.on(':').split(input.identity);\n String username = Iterables.get(usernameTenantId, 0);\n String tenantId = Iterables.get(usernameTenantId, 1);\n PasswordCredentials passwordCredentials = PasswordCredentials.createWithUsernameAndPassword(username,\n input.credential);\n try {\n return client.authenticateTenantWithCredentials(tenantId, passwordCredentials).get();\n } catch (Exception e) {\n throw Throwables.propagate(e);\n }\n }", "title": "" }, { "docid": "cdcc0d2a909a33eee95543f210694888", "score": "0.4630075", "text": "public Header authenticate(Credentials credentials, HttpRequest request)\n/* */ throws AuthenticationException\n/* */ {\n/* 216 */ if (credentials == null) {\n/* 217 */ throw new IllegalArgumentException(\"Credentials may not be null\");\n/* */ }\n/* 219 */ if (request == null) {\n/* 220 */ throw new IllegalArgumentException(\"HTTP request may not be null\");\n/* */ }\n/* */ \n/* */ \n/* 224 */ getParameters().put(\"methodname\", request.getRequestLine().getMethod());\n/* 225 */ getParameters().put(\"uri\", request.getRequestLine().getUri());\n/* 226 */ String charset = getParameter(\"charset\");\n/* 227 */ if (charset == null) {\n/* 228 */ charset = AuthParams.getCredentialCharset(request.getParams());\n/* 229 */ getParameters().put(\"charset\", charset);\n/* */ }\n/* 231 */ String digest = createDigest(credentials);\n/* 232 */ return createDigestHeader(credentials, digest);\n/* */ }", "title": "" }, { "docid": "f8ea1d97404eb7136ed33b91d3d14354", "score": "0.46203655", "text": "public void filter(ContainerRequestContext ctxReq) throws IOException {\n\t\tString token = ctxReq.getHeaderString(\"Authorization\");\n\t\tSystem.out.println(token + \"hh\");\n\t\t\n\t\t// System.out.println(metod);\n\t\t// TODO: revisar el usuario del token y el permiso de acceso al servicio\n\t\tif (!SeguridadRest.usuarios.containsKey(token)) {\n\t\t\tRespuestaDTO dto = new RespuestaDTO(\"No autorizado\", -403, null);\n\t\t\tResponse res = Response.status(403).entity(dto).build();\n\t\t\tctxReq.abortWith(res);\n\t\t}\n\n\t}", "title": "" }, { "docid": "0eb539b3f4186b8f37f88d24b0e0425e", "score": "0.4618123", "text": "@Override\n public void handle(HttpExchange httpExchange) throws IOException {\n this.httpExchange = httpExchange;\n this.methodAddress =\n httpExchange.getRequestMethod() + \" \" + httpExchange.getRequestURI();\n Headers headers = httpExchange.getRequestHeaders();\n if (headers.containsKey(\"X-Auth-Token\")) {\n String rawToken = headers.get(\"X-Auth-Token\").get(0);\n authorization = Authentication.validateJWT(rawToken);\n } else {\n authorization = new Token(0);\n authorization.setIsValid(false);\n }\n }", "title": "" }, { "docid": "99de8f5408084618dc3517172e8e4207", "score": "0.46171016", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_display_twitter);\n\n Intent intent = getIntent();\n term = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);\n\n _twitter = getTwitterAccess();\n\n\n }", "title": "" }, { "docid": "9e1ae17b1895d90684e86d5a7f0e89e6", "score": "0.4616844", "text": "public void setAuthorization(Authorization authorization) {\n client.setAuthorization(authorization);\n }", "title": "" }, { "docid": "25219fa4466950e6e0cbf5550a26800a", "score": "0.461136", "text": "public io.etcd.jetcd.api.AuthenticateResponse authenticate(io.etcd.jetcd.api.AuthenticateRequest request) {\n return blockingUnaryCall(\n getChannel(), getAuthenticateMethod(), getCallOptions(), request);\n }", "title": "" }, { "docid": "818e7bbb42197f7ee2f775c34c697bb3", "score": "0.46094474", "text": "private Twitter() {\r\n //\r\n }", "title": "" }, { "docid": "9815eedb766ac57e12c9f36b51b0ff79", "score": "0.4603172", "text": "public void addTweet(Tweet tweet);", "title": "" }, { "docid": "f693c4a937044c65c8772fa02471190b", "score": "0.45796117", "text": "public int authenticate(Context context, String username, String password,\r\n\t\t\tString realm, HttpServletRequest request) throws SQLException {\r\n\t\r\n\t\treturn BAD_ARGS;\r\n\t}", "title": "" }, { "docid": "ce5fb91420ddb1f5f57847beb44fd0c6", "score": "0.45774323", "text": "public void twitter(View view){\n Intent twitterIntent = new Intent(Intent.ACTION_VIEW,\n Uri.parse(\"https://www.google.com/\")); //TODO\n startActivity(twitterIntent);\n }", "title": "" }, { "docid": "e1e53e706404f23c29747a7c5173cbf0", "score": "0.45747566", "text": "IAuthRuleBuilderRuleOpClassifierFinished andRequireExplicitResponseAuthorization();", "title": "" }, { "docid": "4d8a249b7faa0fa3846e13c53252a2ad", "score": "0.45716912", "text": "public boolean authorize(User user, UserFile file)\r\n\t{\r\n\t\t//TODO authorization\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "ecc633faf75ba5e2a6622063891291f4", "score": "0.45702553", "text": "public Object auth(Map authParameterMap, Object authMetaObject) throws AuthException;", "title": "" }, { "docid": "dec798ec78d824c13927bd88744b6e6d", "score": "0.45670864", "text": "String getTwitterConsumerSecret();", "title": "" }, { "docid": "211dc32410ad692749171ebad929d863", "score": "0.45659536", "text": "@RequestMapping(value = \"/authorization\", params = { \"response_type\", \"client_id\", \"redirect_uri\", \"scope\", \"state\",\n \"aud\" })\n public String Authorization(@RequestParam(name = \"response_type\") String responseType,\n @RequestParam(name = \"client_id\") String clientId, @RequestParam(name = \"redirect_uri\") String redirectURI,\n @RequestParam(name = \"scope\") String scope, @RequestParam(name = \"state\") String state,\n @RequestParam(name = \"aud\") String aud) {\n aud = StringEscapeUtils.escapeJava(aud);\n scope = StringEscapeUtils.escapeJava(scope);\n state = StringEscapeUtils.escapeJava(state);\n clientId = StringEscapeUtils.escapeJava(clientId);\n redirectURI = StringEscapeUtils.escapeJava(redirectURI);\n responseType = StringEscapeUtils.escapeJava(responseType);\n\n logger.info(\n \"AuthorizationEndpoint::Authorization:Received /authorization?response_type=\" + responseType + \"&client_id=\"\n + clientId + \"&redirect_uri=\" + redirectURI + \"&scope=\" + scope + \"&state=\" + state + \"&aud=\" + aud);\n\n return \"login\";\n }", "title": "" }, { "docid": "2c9e0dc3b0a99f3d5d021ecfbae17530", "score": "0.45626298", "text": "public int auth(String email, String password);", "title": "" }, { "docid": "7ae5a286e382a38a8ebe88da7d5fe876", "score": "0.45607662", "text": "private void initialize() {\n // auth client\n twitterAuthClient = new TwitterAuthClient();\n }", "title": "" } ]
9e0cb7adbfc0e7acef0aa959b041bc23
Creates a connection string for a Citrix host with specified default port
[ { "docid": "914bd58c09096ddf517c6f8ab132f6d2", "score": "0.7167546", "text": "public static ConnectionString forCitrix(Hostname hostname, Integer port, String username, String password) {\r\n ConnectionString conn = new ConnectionString();\r\n conn.vendor = Vendor.CITRIX;\r\n conn.hostname = new InternetAddress(hostname.toString());\r\n conn.managementServerName = hostname.toString();\r\n conn.port = port;\r\n conn.userName = username;\r\n conn.password = password;\r\n return conn;\r\n }", "title": "" } ]
[ { "docid": "61231c8f724b2549b3cb1b1cff612026", "score": "0.6610065", "text": "public static ConnectionString forCitrix(Hostname hostname, String username, String password) {\r\n ConnectionString conn = new ConnectionString();\r\n conn.vendor = Vendor.CITRIX;\r\n conn.hostname = new InternetAddress(hostname.toString());\r\n conn.managementServerName = hostname.toString();\r\n conn.port = 443;\r\n conn.userName = username;\r\n conn.password = password;\r\n return conn;\r\n }", "title": "" }, { "docid": "9a8a198ebfd1dd48b0c014aa5813961e", "score": "0.6392998", "text": "public void connectToServer() {\n String portString = System.getenv(\"JETTY_PORT\");\n //If we can't access JETTY_PORT, choose 5000 as a backup \n if ((portString == null) || (portString.equals(\"\"))) {\n port(5000);\n }\n else {\n port(Integer.parseInt(portString));\n }\n }", "title": "" }, { "docid": "f1f05d74d26bec3e968f03a4125c30b1", "score": "0.61193675", "text": "public static ConnectionString forIntel(String hostname, Integer port) {\r\n return forIntel(new Hostname(hostname), port);\r\n }", "title": "" }, { "docid": "03ea3cc1cfe176eca63a6209e1fca975", "score": "0.6110303", "text": "public CharGenTCPClient ()\n {\n setDefaultPort(DEFAULT_PORT);\n }", "title": "" }, { "docid": "258d454c62f29029fcb4b916f5257dd5", "score": "0.61037815", "text": "public static ConnectionString forMicorsoft(Hostname hostname, Integer port) {\r\n ConnectionString conn = new ConnectionString();\r\n conn.vendor = Vendor.MICROSOFT;\r\n conn.hostname = new InternetAddress(hostname.toString());\r\n conn.managementServerName = hostname.toString();\r\n conn.port = port;\r\n return conn;\r\n }", "title": "" }, { "docid": "55a58802621cbcb6e5730433feeb753e", "score": "0.60973805", "text": "public static ConnectionString forMicrosoft(String hostname, Integer port) {\r\n return forIntel(new Hostname(hostname), port);\r\n }", "title": "" }, { "docid": "9b2aa9127255259e7d51873b1a3a6890", "score": "0.60338116", "text": "public String getConnectStr() {\n return \"redis://\" + getHost() + \":\" + getPort();\n }", "title": "" }, { "docid": "7911731cb905f294e8ff689bc6a27c78", "score": "0.5980437", "text": "public static ConnectionString forIntel(Hostname hostname, Integer port) {\r\n ConnectionString conn = new ConnectionString();\r\n conn.vendor = Vendor.INTEL;\r\n conn.hostname = new InternetAddress(hostname.toString());\r\n conn.managementServerName = hostname.toString();\r\n conn.port = port;\r\n return conn;\r\n }", "title": "" }, { "docid": "97d69e705fffe12204ec70fbcfd4463c", "score": "0.59330976", "text": "String build( String host, String port, String dbName, String schemaName, String username, String password );", "title": "" }, { "docid": "12b6d05753b904ec340e0b79254c6998", "score": "0.5894195", "text": "private String createURLWithPort(String... parameters) {\n StringBuilder sb = new StringBuilder(1024);\n sb.append(LOCALHOST);\n sb.append(port);\n if (Objects.nonNull(parameters)) {\n for (String parameter : parameters) {\n sb.append(\"/\").append(parameter);\n }\n }\n return sb.toString();\n }", "title": "" }, { "docid": "f5ec6095f2b79d884b5f90fcb7c4dd05", "score": "0.5882128", "text": "public String buildConnectionURI() {\n\t\tfinal String connectType = proto.getURIBase(driver, proto);\n\t\tString separator = \"\";\n\t\tif (StringHelper.isEmpty(host)) {\n\t\t\thost = \"127.0.0.1\";\n\t\t}\n\t\tif (StringHelper.isEmpty(username)) {\n\t\t\tusername = \"\";\n\t\t} else {\n\t\t\tseparator = \"@\";\n\t\t}\n\n\t\tfinal StringBuilder connURI = new StringBuilder(connectType + \"://\"\n\t\t\t\t+ username + separator + host + \"/\");\n\t\tif (\"qemu\".equalsIgnoreCase(driver)) {\n\t\t\tconnURI.append(\"system\");\n\t\t}\n\t\tboolean firstPass = true;\n\t\tfor (final Map.Entry<String, String> e : options.entrySet()) {\n\t\t\tif (firstPass) {\n\t\t\t\tconnURI.append(\"?\");\n\t\t\t\tfirstPass = false;\n\t\t\t}\n\t\t\tconnURI.append(e.getKey() + \"=\" + e.getValue() + \"&\");\n\t\t}\n\t\tif (!firstPass) {\n\t\t\tconnURI.deleteCharAt(connURI.length() - 1);\n\t\t}\n\t\tlogger.info(\"virt connection URI is [\" + connURI.toString() + \"]\");\n\t\treturn connURI.toString();\n\t}", "title": "" }, { "docid": "f7ca3027ffa26e5f9a63256e4c400a06", "score": "0.5854517", "text": "private String getConnectionURI()\n {\n final String portName = String.valueOf( this.portSelect.getSelectedItem() );\n final String baudrate = String.valueOf( NumberUtils.smartParseInt( String.valueOf( this.portRateSelect\n .getSelectedItem() ) ) );\n\n final String bpc = String.valueOf( this.dataBitsSelect.getSelectedItem() );\n final String parity = String.valueOf( this.paritySelect.getSelectedItem() );\n final String stopBits = String.valueOf( this.stopBitsSelect.getSelectedItem() );\n\n String flowControl = \"off\";\n String fcText = String.valueOf( this.flowControlSelect.getSelectedItem() );\n if ( fcText.startsWith( \"XON\" ) )\n {\n flowControl = \"xon_xoff\";\n }\n else if ( fcText.startsWith( \"RTS\" ) )\n {\n flowControl = \"rts_cts\";\n }\n\n return String.format( \"comm:%s;baudrate=%s;bitsperchar=%s;parity=%s;stopbits=%s;flowcontrol=%s\", //\n portName, baudrate, bpc, parity, stopBits, flowControl );\n }", "title": "" }, { "docid": "252d6da0f64ec76228c7fda342659fe1", "score": "0.58354056", "text": "public IConnection create(String host) throws IOException;", "title": "" }, { "docid": "a8ceba31a0b4591d37f6e0005068a728", "score": "0.5825493", "text": "@Override\n public String getConnectionString(String... args) {\n String host = args[0];\n String port = args[1];\n String schema = args[2];\n return String.format(connectionString, host, port, schema);\n }", "title": "" }, { "docid": "8855b4e53723c19ed63362f418d0b31f", "score": "0.5769584", "text": "@Override\n protected String createTransitUri(final ProcessContext context) {\n final String protocol = TCP_VALUE.getValue();\n final String host = context.getProperty(HOSTNAME).evaluateAttributeExpressions().getValue();\n final String port = context.getProperty(PORT).evaluateAttributeExpressions().getValue();\n\n return new StringBuilder().append(protocol).append(\"://\").append(host).append(\":\").append(port).toString();\n }", "title": "" }, { "docid": "cc96c3221d1c11f4a3f71c153a3250f9", "score": "0.5635729", "text": "Builder port(int port);", "title": "" }, { "docid": "83b7adf5a9f6a0478c0448d688d2c833", "score": "0.5635471", "text": "public CPClient (){\n this.user = \"16084787\";\n this.host = \"localhost\";\n this.port = 8888;\n\n }", "title": "" }, { "docid": "e12a553016534745e953fcf5c29da476", "score": "0.5603412", "text": "public Connection() {\n\tthis(\"localhost\", 61613);\n }", "title": "" }, { "docid": "a73e2fc2c9992682c3b37bafec18e160", "score": "0.55925226", "text": "public static ConnectionString forMicorsoft(Hostname hostname) {\r\n ConnectionString conn = new ConnectionString();\r\n conn.vendor = Vendor.MICROSOFT;\r\n conn.hostname = new InternetAddress(hostname.toString());\r\n conn.managementServerName = hostname.toString();\r\n conn.port = 9999; // default Intel Trust Agent port\r\n return conn;\r\n }", "title": "" }, { "docid": "0fc420ad0dd4875defd63c6381fe6d0d", "score": "0.55915886", "text": "protected String createBaseUrl() {\n return \"http://localhost:\"+server.getPort();\n }", "title": "" }, { "docid": "80dab5465715738351ae50443db50a03", "score": "0.5557573", "text": "void init(String host, String userName, String password);", "title": "" }, { "docid": "c14908bd8607fb619d5ee2d5d08bbc09", "score": "0.55538064", "text": "public Connection(final String host, final int port) {\n\tthis(host, port, \"\", \"\");\n }", "title": "" }, { "docid": "96b0be65baed090c4e98964800b95d67", "score": "0.5480668", "text": "public static String getConnectionString () {\n\t\tDefaultLogger.logMsg(\"[GetSQLConnection.java] Building default connection string...\", \"INF\");\n\t\tString connStr = \"\";\n\t\tProperties props = new Properties();\n\t\ttry {\n\t\t\tprops.load(Thread.currentThread().getContextClassLoader().getResourceAsStream(\"config.properties\"));\n\t\t\tString url = props.getProperty(\"jdbc.url\");\n\t\t\tString port = props.getProperty(\"jdbc.port\");\n\t\t\tString database = props.getProperty(\"jdbc.database\");\n\t\t\tString username = props.getProperty(\"jdbc.username\");\n\t\t\tString password = props.getProperty(\"jdbc.password\");\n\t\t\tconnStr = url + \":\" + port + \";DatabaseName=\" + database + \";user=\" + username + \";password=\" + password + \";\";\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t\tconnStr = \"ERROR PULLING CONNECTION STRING\";\n\t\t\tDefaultLogger.logMsg(\"[GetSQLConnection.java] getConnectionString Error | IOException: \" + e.getMessage(), \"ERR\");\n\t\t\treturn connStr;\n\t\t}\n\t\tDefaultLogger.logMsg(\"Connection string built: \" + connStr, \"INF\");\n\t\treturn connStr;\n\t}", "title": "" }, { "docid": "6ee29a566c1c971b9b83939fb08bf04a", "score": "0.54639614", "text": "Port createPort();", "title": "" }, { "docid": "c5c0393ed70318fba5e8ab53f709dfe0", "score": "0.5454558", "text": "java.lang.String getPort();", "title": "" }, { "docid": "c5c0393ed70318fba5e8ab53f709dfe0", "score": "0.5454558", "text": "java.lang.String getPort();", "title": "" }, { "docid": "c5c0393ed70318fba5e8ab53f709dfe0", "score": "0.5454558", "text": "java.lang.String getPort();", "title": "" }, { "docid": "7cce742890feaedddf892e2c7274ca49", "score": "0.5448693", "text": "public Port createPort();", "title": "" }, { "docid": "9c171597be0d7f891a9170caaa840e35", "score": "0.5444912", "text": "public String getConnectionPort ()\n {\n return connection_port;\n }", "title": "" }, { "docid": "687281fddd89452cd4585ade17b5fca7", "score": "0.54277956", "text": "public String createURLWithPort(String uri) {\n return \"https://\"+ Settings.getServerAddress() + \":\" + Settings.getServerPort() + uri;\n }", "title": "" }, { "docid": "829d7dfbd7dbe926f5c81f9c9165026a", "score": "0.5426964", "text": "public static ConnectionString forVmware(Hostname hostname, Hostname vcenter, Integer port, String username, String password) {\r\n ConnectionString conn = new ConnectionString();\r\n conn.vendor = Vendor.VMWARE;\r\n conn.hostname = new InternetAddress(hostname.toString());\r\n conn.managementServerName = vcenter.toString();\r\n conn.port = port;\r\n conn.userName = username;\r\n conn.password = password;\r\n return conn;\r\n }", "title": "" }, { "docid": "bd7bf6af372f7af66440536bee9fd692", "score": "0.5411069", "text": "public static ConnectionString forIntel(Hostname hostname) {\r\n ConnectionString conn = new ConnectionString();\r\n conn.vendor = Vendor.INTEL;\r\n conn.hostname = new InternetAddress(hostname.toString());\r\n conn.managementServerName = hostname.toString();\r\n conn.port = 9999; // default Intel Trust Agent port\r\n return conn;\r\n }", "title": "" }, { "docid": "5af52a0c04f6bc88408d4ce5bf7d16c8", "score": "0.5384701", "text": "public String getConnectionString() {\r\n String connectionString;\r\n\r\n if (this.vendor == Vendor.INTEL) {\r\n connectionString = (this.addOnConnectionString.isEmpty()) ? \r\n String.format(\"https://%s:%d/;%s;%s\", this.managementServerName, this.port, this.userName, this.password) : \r\n String.format(\"%s\", this.addOnConnectionString);\r\n } else if (this.vendor == Vendor.VMWARE) {\r\n connectionString = (this.addOnConnectionString.isEmpty()) ? \r\n String.format(\"https://%s:%d/sdk;%s;%s;h=%s\", this.managementServerName, this.port, this.userName, this.password, this.hostname.toString()) : \r\n String.format(\"%s\", this.addOnConnectionString);\r\n } else if (this.vendor == Vendor.CITRIX) {\r\n connectionString = (this.addOnConnectionString.isEmpty()) ? \r\n String.format(\"https://%s:%d/;%s;%s\", this.managementServerName, this.port, this.userName, this.password) : \r\n String.format(\"%s\", this.addOnConnectionString);\r\n } else if (this.vendor == Vendor.MICROSOFT) {\r\n connectionString = (this.addOnConnectionString.isEmpty()) ? \r\n String.format(\"https://%s:%d/;%s;%s\", this.managementServerName, this.port, this.userName, this.password) : \r\n String.format(\"%s\", this.addOnConnectionString); \r\n } else {\r\n connectionString = \"\";\r\n }\r\n return connectionString;\r\n }", "title": "" }, { "docid": "bac8667009947bb920916f9274399c21", "score": "0.53630626", "text": "void get_connection(String ussername, String password){\r\n }", "title": "" }, { "docid": "e67bb4ae9a3378d58c9c72cf73631980", "score": "0.5361233", "text": "Socket createSocket(String host, int port)\n throws IOException, ISOException;", "title": "" }, { "docid": "b2f0f975341e1f1771f08ec484d1c5a5", "score": "0.53576493", "text": "int tcpclient_open(urg_tcpclient_t cli, String server_ip_str, int port_num);", "title": "" }, { "docid": "6a66231d6ce4f30c461b7714f03ab19e", "score": "0.53513837", "text": "public boolean connect(String host, int port);", "title": "" }, { "docid": "edd5850b04031e1f331054e3d578daa9", "score": "0.5344443", "text": "Builder host(String host);", "title": "" }, { "docid": "4472e51699a00a9b94fdc87b0f20ce90", "score": "0.53411776", "text": "public Connection(String host, int port) {\n\t\ttry {\n\t\t\ts = new Socket(host, port);\n\t\t} catch (IOException e) {\n\t\t\tCoder.decode(\"EN\");\n\t\t}\n\t}", "title": "" }, { "docid": "2936d5c2b92435d71d20cb592f4acd08", "score": "0.533325", "text": "ConnectableSocket(String host, int port) {\n\t\tthis.host = Objects.requireNonNull(host);\n\t\tthis.port = port;\n\t}", "title": "" }, { "docid": "089b9c1007a16f6366b5bee7ae9e5b75", "score": "0.53236765", "text": "public void connect(IPPort ipport);", "title": "" }, { "docid": "b14f8e8df13b669d9a356df7fa965eda", "score": "0.5318378", "text": "public static ConnectionString forIntel(String hostname) {\r\n return forIntel(new Hostname(hostname));\r\n }", "title": "" }, { "docid": "f5a2d6649eb3bcffe3fb58153716887b", "score": "0.52888954", "text": "void setConnection(String db, String host, String port, String username, String password);", "title": "" }, { "docid": "bd8c7d2b03e0bf66fd92105e487fa7a7", "score": "0.527739", "text": "public GoNatureClient(String host, int port) throws IOException {\n\t\tsuper(host, port); // Call the superclass constructor\n\t\tguiControl = GUIControl.getInstance();\n\t}", "title": "" }, { "docid": "9306ef669e48c22c56dcef49b93172c3", "score": "0.52646846", "text": "private NetworkClient setup(String hostName, int portNumber, String username) {\n System.out.println(\"Client connecting to \" + hostName + \":\" + portNumber + \"\\n\");\n\n return new NetworkClient(hostName, portNumber, username);\n }", "title": "" }, { "docid": "ffc5b824e06e6e65a7d6547bb3eb36a3", "score": "0.5260674", "text": "Connection createConnection();", "title": "" }, { "docid": "ffc5b824e06e6e65a7d6547bb3eb36a3", "score": "0.5260674", "text": "Connection createConnection();", "title": "" }, { "docid": "de6c7977e400fbee883a01296181197c", "score": "0.52551466", "text": "@Override\n\tpublic Socket createSocket(String host, int port) throws IOException {\n\t\tSocket s = super.createSocket(host, port);\n\t\treturn s;\n\t}", "title": "" }, { "docid": "6e9e991d444d86c51800be268f82c6ab", "score": "0.5229658", "text": "private String getConfiguredCliIpPort() {\n final SharedPreferences preferences = getSharedPreferences(Preferences.NAME, 0);\n final String ipPort = preferences.getString(Preferences.KEY_SERVERADDR, null);\n if (ipPort == null || ipPort.length() == 0) {\n return null;\n }\n return ipPort;\n }", "title": "" }, { "docid": "3652ecb0339e0e07569970f2e73616d8", "score": "0.5217397", "text": "public DatabaseConnector(String serName, String portNum,\n String osid, String dbUrl, String dbUserName, String dbPassword ) throws IOException {\n connection = null;\n serverName = serName; // pass server name of IP from the calling class\n portNumber = portNum; // pass port number from the calling class\n sid = osid; // pass oracle service name from the calling class od MySQL dbName\n url = dbUrl + serverName + \":\" + portNumber + \"/\" + sid;\n // \"jdbc:oracle:thin:@\" + serverName + \":\" + portNumber + \":\" + sid;\n // \"jdbc:mysql://\" + serverName + \":\" + portNumber + \"/\" + osid\n username = dbUserName; // pass oracle database name from the calling classs\n password = dbPassword; // pass oracle database password (plaintext) from the calling classs\n\n }", "title": "" }, { "docid": "8ec69eb0be4a8bf3f2cc58db5ec6cf1f", "score": "0.52108824", "text": "public void setPort(int port) { _connectionPort = port; }", "title": "" }, { "docid": "bdc064310f57a92f20095cae015c9745", "score": "0.5210516", "text": "public String getConnectionURL();", "title": "" }, { "docid": "73e527f194c669d4f84190641c7f7fb1", "score": "0.5203835", "text": "public RobotClient(String hostname, int port) {\n this.hostname = hostname;\n this.port = port;\n \n }", "title": "" }, { "docid": "14f5c330c72baf6ea51b783cf41f8a0f", "score": "0.5192581", "text": "public WebServer (int port)\r\n\t{\r\n\t\t//set address to the default value set above and port number with the value passed\r\n\t\tthis.hostAddress = DEFAULT_HOST; \r\n\t\tthis.serverPortNumber = port; \r\n\t}", "title": "" }, { "docid": "c3c49d6f784e9f7668e46c0dcef2f990", "score": "0.5187107", "text": "public Connection createConnection();", "title": "" }, { "docid": "cad9ab98c06bd9f8ec5c41852e8a6ef6", "score": "0.5184811", "text": "IConnection createConnection(InetAddress remoteAddress, IConcurrentFactory factory, int remotePort, InetAddress localAddress, int localPort, String ref) throws TransportException;", "title": "" }, { "docid": "7b113f51116296adff554f66a81cf0bc", "score": "0.51771027", "text": "public static Connection newConnection2Server(String host, Integer port, String username, String passwd) throws IOException, TimeoutException {\n Logger.getAnonymousLogger().log(Level.INFO, Thread.currentThread().getName() + \"->newConnection2Server(): host=\" + host+\", port=\"+port);\n //Create a factory for connection establishment\n ConnectionFactory factory=new ConnectionFactory();\n factory.setHost(host);\n factory.setPort(port);\n //Use same username/passwd as for accessing Management UI @ http://localhost:15672/\n //Default credentials are: guest/guest (change accordingly)\n factory.setUsername(username);\n factory.setPassword(passwd);\n\n //Create a channel which offers most of the API methods MAIL_TO_ADDR rabbitmq broker\n return factory.newConnection();\n }", "title": "" }, { "docid": "4036f57842604f74950a3e75f0b3890d", "score": "0.51681936", "text": "public void connectTo(String host, int port) throws IOException {\n Socket socket = new Socket();\n socket.setTcpNoDelay(true);\n // \\REVIEWTASK should have a policy on tcp no delay\n if (stripTrailingDotLocalDot && host.endsWith(\".local.\")) {\n host = host.replaceFirst(\"[.]local[.]$\", \"\");\n // System.out.println(host);\n }\n InetSocketAddress endpoint = new InetSocketAddress(host, port);\n try {\n socket.connect(endpoint, ControlClient.maxTimeToWait);\n } catch (UnknownHostException e) {\n String removalPattern = \"^(.*)-[0-9][0-9]?$\";\n if (host.matches(removalPattern)) {\n host = host.replaceFirst(removalPattern, \"$1\");\n endpoint = new InetSocketAddress(host, port);\n socket.connect(endpoint, ControlClient.maxTimeToWait);\n } else {\n throw e;\n }\n }\n super.setSocket(socket);\n super.start(true);\n initializeConnection();\n }", "title": "" }, { "docid": "0e14b7313f52c624d966b023603a5e15", "score": "0.51489866", "text": "public int getClientPort();", "title": "" }, { "docid": "47551ecdb8f108675a5e496a042a09d1", "score": "0.51478314", "text": "int getBrokerPort();", "title": "" }, { "docid": "37e03f18798458992a6c5e0ba261ccc8", "score": "0.5144463", "text": "IConnection createConnection(InetAddress remoteAddress, IConcurrentFactory factory, int remotePort, InetAddress localAddress, int localPort, IConnectionListener listener, String ref) throws TransportException;", "title": "" }, { "docid": "009e2f6207a0a0e4017523e8c4e02332", "score": "0.5139379", "text": "public void addHost(String host, int port);", "title": "" }, { "docid": "dd674a5256742d87f3e2dd3ac9543db4", "score": "0.51380247", "text": "private static String getDefaultHost() {\n try {\n return InetAddress.getLocalHost().getHostAddress();\n } catch (UnknownHostException e) {\n return \"localhost\";\n }\n }", "title": "" }, { "docid": "98c529fcb619775859a2796f112f238b", "score": "0.5133438", "text": "public LLRPConnector(LLRPEndpoint endpoint, String host, int port) {\n\t\tsuper.endpoint = endpoint;\n\t\tthis.host = host;\n\t\tthis.port = port;\n\n\t}", "title": "" }, { "docid": "2a9017edafa106bddd3c673cf5713950", "score": "0.5103308", "text": "@Override\n public void connect(ConfigParams configParams) {\n super.connect(configParams);\n username = params.getParameter(CmisOutputConfig.USERNAME_PARAM);\n password = params.getParameter(CmisOutputConfig.PASSWORD_PARAM);\n protocol = params.getParameter(CmisOutputConfig.PROTOCOL_PARAM);\n server = params.getParameter(CmisOutputConfig.SERVER_PARAM);\n port = params.getParameter(CmisOutputConfig.PORT_PARAM);\n path = params.getParameter(CmisOutputConfig.PATH_PARAM);\n \n binding = params.getParameter(CmisOutputConfig.BINDING_PARAM);\n cmisQuery = params.getParameter(CmisOutputConfig.CMIS_QUERY_PARAM);\n createTimestampTree = params.getParameter(CmisOutputConfig.CREATE_TIMESTAMP_TREE_PARAM);\n \n if(StringUtils.isNotEmpty(params.getParameter(CmisOutputConfig.VERSIONING_STATE_PARAM))) {\n \tversioningState = VersioningState.fromValue(params.getParameter(CmisOutputConfig.VERSIONING_STATE_PARAM));\n }\n \n if (StringUtils.isNotEmpty(params.getParameter(CmisOutputConfig.REPOSITORY_ID_PARAM))) {\n repositoryId = params.getParameter(CmisOutputConfig.REPOSITORY_ID_PARAM);\n }\n \n }", "title": "" }, { "docid": "f733ddae5c0fd8aaf9c5c1e6487a638e", "score": "0.5100049", "text": "public static ODB openClient(String hostName, int port, String baseIdentifier) {\r\n\t\treturn new RemoteODBClient(hostName, port, baseIdentifier);\r\n\t}", "title": "" }, { "docid": "b2e0106baef15ec9270d7f89f2fcd4b2", "score": "0.5092552", "text": "void setPort(String port);", "title": "" }, { "docid": "89f979f8e39abfee77cd8faf7e1584da", "score": "0.50833774", "text": "public Client() {\n this.address = DEFAULT_ADDRESS;\n this.port = DEFAULT_PORT;\n }", "title": "" }, { "docid": "948430400ebaf4b3a7311e4209f5043a", "score": "0.50807714", "text": "public void connect() {\n try {\n socket = SocketFactory.getDefault().createSocket();\n socket.connect(new InetSocketAddress(SocketHandler.TCP_HOST, SocketHandler.TCP_PORT), 5000);\n } catch (IOException e) {\n e.printStackTrace();\n logger.error(e);\n }\n }", "title": "" }, { "docid": "eb2c610f6c1ce8f46610769cadf593ef", "score": "0.50756556", "text": "public TCPSyslogWriter(String hostPort) {\n final Matcher m = hostPortPattern.matcher(hostPort);\n Socket tempSocket = null;\n OutputStream tempOut = null;\n if (m.matches()) {\n if (m.group(1) == null) {\n this.host = m.group(2); // IPv4 or domain name\n } else {\n this.host = m.group(1); //IPv6\n }\n if (m.group(3) == null) {\n this.port = SYSLOG_TCP_PORT;\n } else {\n this.port = Integer.parseInt(m.group(3));\n }\n try {\n tempSocket = new Socket(host, port);\n tempSocket.setTcpNoDelay(false);\n tempOut = tempSocket.getOutputStream();\n }\n catch (Exception e) {\n e.printStackTrace();\n LogLog.error(\"Could not instantiate DatagramSocket to \" + host +\n \". All logging will FAIL.\", e);\n }\n } else {\n LogLog.error(\"Could not parse host:port parameter (\" + hostPort\n + \"). All logging will FAIL.\");\n this.host = null;\n this.port = -1;\n }\n socket = tempSocket;\n out = tempOut;\n }", "title": "" }, { "docid": "a001e355aa3aeebbb89d713729759579", "score": "0.5074", "text": "public abstract void connectToServer(String address, int port) throws IOException;", "title": "" }, { "docid": "da2d582a256acaae39a3c046930fba0c", "score": "0.50722057", "text": "public static String connect(){\n\t\treturn connect(REST_URL);\n\t}", "title": "" }, { "docid": "10d2af5c3807c050539ec2e350ea3620", "score": "0.506193", "text": "String host();", "title": "" }, { "docid": "54d3ffa24aa34101ff4c19effe6f9645", "score": "0.50570434", "text": "public String connect() {\n\t\treturn useLocator ? \"connect --locator=\" + locators() : \"connect --jmx-manager=localhost[1099]\";\n\t}", "title": "" }, { "docid": "9c0144c369ac0ad5588a4c2274fb8fc7", "score": "0.5051602", "text": "public abstract TGConnectionPool createConnectionPool(String url, String userName, String password, int poolSize, Map<String, String> env) throws TGException;", "title": "" }, { "docid": "73637b26319fb020e4aabe99857b0819", "score": "0.5047701", "text": "private void connectToHost(final InetAddress inet) {\n new Client(inet, getApplicationContext().getResources().getInteger(R.integer.port), this);\n }", "title": "" }, { "docid": "a555d46bd01ba6021916881976354eda", "score": "0.50435764", "text": "String getBrokerHost();", "title": "" }, { "docid": "2fbf73ae2b8ef4fb277ebcaca147713d", "score": "0.50433683", "text": "public void open(String host, int port) throws TritonClientConnectException {\n\t\ttry {\n\t\t\tchannel = bootstrap.connect(host, port)\n\t\t\t\t\t.sync()\n\t\t\t\t\t.channel();\n\t\t} catch (InterruptedException e) {\n\t\t}\n\t}", "title": "" }, { "docid": "57dbcc39c8826f1e40b1d758c98e1d8e", "score": "0.50305873", "text": "public static Connection createJDBCConnection(String ip, String port, String serviceName, String username, String password) {\n\n\t\ttry {\n\n\t\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\n\t\t} catch (ClassNotFoundException e) {\n\n\t\t\tSystem.out.println(\"Where is your Oracle JDBC Driver?\");\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\n\t\t}\n\n\t\t//System.out.println(\"Oracle JDBC Driver Registered!\");\n\n\t\tConnection connection = null;\n\n\t\ttry {\n\n\t\t\tconnection = DriverManager.getConnection(\n\t\t\t\t\t\"jdbc:oracle:thin:@\"+ ip + \":\" + port + \":\" + serviceName , username,\n\t\t\t\t\tpassword);\n\t\t\t\n\t\t\t/*connection = DriverManager.getConnection(\n\t\t\t\t\t\"jdbc:oracle:thin:@localhost:1523:RAIDPRD\", \"RP7STCRASAPP\",\n\t\t\t\t\t\"RP7STCRASAPP\");*/\n\t\t\treturn connection;\n\n\t\t} catch (SQLException e) {\n\n\t\t\tSystem.out.println(\"Connection Failed! Check output console\");\n\t\t\te.printStackTrace();\n\t\t\treturn connection;\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "85b1d5b56aaae1838b90d8b11cee6ec4", "score": "0.5024182", "text": "public void setDefaultPort(int defaultPort) {\n this.defaultPort = defaultPort;\n }", "title": "" }, { "docid": "aa6ab693e6b0c4b1d7e7a86bf5e0199a", "score": "0.5023125", "text": "public int getDefaultPort()\r\n {\r\n return this._defaultPort_;\r\n }", "title": "" }, { "docid": "cacd432a500fb0a828aae8fcd88d2329", "score": "0.5015211", "text": "@Override\n public synchronized ConnectionImpl createConnectionForHost(String hostPortSpec) throws SQLException {\n ConnectionImpl conn = super.createConnectionForHost(hostPortSpec);\n\n this.liveConnections.put(hostPortSpec, conn);\n this.connectionsToHostsMap.put(conn, hostPortSpec);\n\n this.totalPhysicalConnections++;\n\n return conn;\n }", "title": "" }, { "docid": "c51bc0c92e382a3c8ec710cd49ec2feb", "score": "0.50086975", "text": "public TCPClient(String _address, int _port, Communicator<String> communicator) {\n this(_address, _port, communicator.getSender(), communicator.getReceiver());\n }", "title": "" }, { "docid": "630c403d6e0dcbda1a271d649b4aab1a", "score": "0.4988621", "text": "String getNetworkConnection();", "title": "" }, { "docid": "d7de37ca820d1452421959cc5c221b09", "score": "0.49880394", "text": "String constructUrl() {\n StringBuilder builder = new StringBuilder(256);\n builder.append(parts[DB_PREFIX]);\n \n if(notEmpty(parts[DB_ALT_DBNAME])) {\n builder.append(parts[DB_ALT_DBNAME]);\n builder.append('@');\n } else if(\"jdbc:oracle:thin:\".equals(parts[DB_PREFIX])) {\n builder.append('@');\n } else {\n // most formats\n builder.append(\"//\"); // NOI18N\n }\n \n builder.append(parts[DB_HOST]);\n\n if(notEmpty(parts[DB_INSTANCE_NAME])) {\n builder.append('\\\\');\n builder.append(parts[DB_INSTANCE_NAME]);\n }\n \n if(notEmpty(parts[DB_PORT])) {\n builder.append(':'); // NOI18N\n builder.append(parts[DB_PORT]);\n }\n\n if(notEmpty(parts[DB_PRIMARY_DBNAME])) {\n if(\"jdbc:oracle:thin:\".equals(parts[DB_PREFIX])) {\n builder.append(':'); // NOI18N\n } else {\n builder.append('/'); // NOI18N\n }\n builder.append(parts[DB_PRIMARY_DBNAME]);\n }\n\n char propertyInitialSeparator = ';';\n char propertySeparator = ';';\n if(\"jdbc:mysql:\".equals(parts[DB_PREFIX])) {\n propertyInitialSeparator = '?';\n propertySeparator = '&';\n } else if(\"jdbc:informix-sqli:\".equals(parts[DB_PREFIX])) {\n propertyInitialSeparator = ':';\n }\n \n Set<Map.Entry<String, String>> entries = props.entrySet();\n Iterator<Map.Entry<String, String>> entryIterator = entries.iterator();\n if(entryIterator.hasNext()) {\n builder.append(propertyInitialSeparator);\n Map.Entry<String, String> entry = entryIterator.next();\n builder.append(entry.getKey());\n String value = entry.getValue();\n if(notEmpty(value)) {\n builder.append('=');\n builder.append(value);\n }\n }\n \n while(entryIterator.hasNext()) {\n builder.append(propertySeparator);\n Map.Entry<String, String> entry = entryIterator.next();\n builder.append(entry.getKey());\n String value = entry.getValue();\n if(notEmpty(value)) {\n builder.append('=');\n builder.append(value);\n }\n }\n \n return builder.toString();\n }", "title": "" }, { "docid": "dbced3e4a2748d174bdce24ec75af73f", "score": "0.4983289", "text": "public OracleConnectionFactory(String host, int port, String sid, String user, String password) throws InstantiationException {\r\n try {\r\n Class.forName(\"oracle.jdbc.driver.OracleDriver\");\r\n } catch (ClassNotFoundException ex) {\r\n throw new InstantiationException(\"Failed to load the class \\\"oracle.jdbc.driver.OracleDriver\\\".\");\r\n }\r\n\r\n /*\r\n * Format of the connection string : jdbc:oracle:thin:@[host]:[port]:[sid]\r\n */\r\n StringBuilder sb = new StringBuilder();\r\n sb.append(\"jdbc:oracle:thin:@\");\r\n sb.append(host);\r\n sb.append(\":\");\r\n sb.append(port);\r\n sb.append(\":\");\r\n sb.append(sid);\r\n super.setUrl(sb.toString());\r\n super.setUser(user);\r\n super.setPassword(password);\r\n }", "title": "" }, { "docid": "53e8837724dbe79eabc23266990fb632", "score": "0.49832326", "text": "private void createConnection(String username, String password, String hostPort, LGCommand lgCommand) {\n String[] hostNPort = hostPort.split(\":\");\n String hostname = hostNPort[0];\n int port = Integer.parseInt(hostNPort[1]);\n LGConnectionManager lgConnectionManager = LGConnectionManager.getInstance();\n lgConnectionManager.setData(username, password, hostname, port);\n lgConnectionManager.startConnection();\n lgConnectionManager.addCommandToLG(lgCommand);\n LGConnectionSendFile.getInstance().setData(username, password, hostname, port);\n }", "title": "" }, { "docid": "56eb9f7b7d1ca61d12d7655e0e325298", "score": "0.49749115", "text": "public Connection(String _address, int _port, ArchitectureClient _parent, String _name)\r\n\t{\r\n\t\taddress = _address;\r\n\t\tport = _port;\r\n\t\tparent = _parent;\r\n\t\tname = _name;\r\n\t\t\r\n\t\tq = new LinkedBlockingQueue<String>();\r\n\t\t\r\n\t\tif (!doConnect())\r\n\t\t\treportError(\"Connection on port \" + port + \" failed!\");\r\n\t}", "title": "" }, { "docid": "0715926097023dedfc82aeb25c99763d", "score": "0.4972313", "text": "int getTransportPort();", "title": "" }, { "docid": "6bbd9c67819305b3fdfc73adc94623f6", "score": "0.49595752", "text": "private void createConnection() {\n valociryService = new VelocityService();\n port = valociryService.getVelocityPort();\n ((javax.xml.ws.BindingProvider) port).getRequestContext()\n .put(javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY, ENDPOINT_ADDR);\n }", "title": "" }, { "docid": "bccb87be00b1df192278cc2fc1143b9f", "score": "0.49556762", "text": "public StreamConnection connectAsClient( String devName, String p_servicename ) throws Exception;", "title": "" }, { "docid": "69e08468700b3a84b746dc271a410baf", "score": "0.49457744", "text": "private URI getBaseUri() {\n\t\t// see JerseyTest.getBaseUri()\n final int port = Integer.parseInt(System.getProperty(TestProperties.CONTAINER_PORT), 10);\n\t\treturn UriBuilder.fromUri(\"http://localhost/\").port(port).build();\n\t}", "title": "" }, { "docid": "72f951e85d1d792f46e88a26b640ad9c", "score": "0.49420828", "text": "public ChatClient(String host, int port, ChatIF clientUI) \n throws IOException \n {\n super(host, port); //Call the superclass constructor\n this.clientUI = clientUI;\n openConnection();\n }", "title": "" }, { "docid": "501547b87174ecde6760a70be8ea4602", "score": "0.49379677", "text": "public static int defaultSCOSCPort() {\n\t\treturn 57110;\n\t}", "title": "" }, { "docid": "4ee4ae1e7d93f6997a4dab502e7252ff", "score": "0.49307144", "text": "public static int port() {\n return Integer.parseInt(getInstance().get(\"defaultPort\"));\n }", "title": "" }, { "docid": "4fea99387967d84033baff7d543db4b4", "score": "0.49285766", "text": "public static String getDefaultEndpoint() {\n return \"vmwareengine.googleapis.com:443\";\n }", "title": "" }, { "docid": "5ddc52c3e230f8ea6628d42d81f90091", "score": "0.4923899", "text": "@Test\n public void doesNotPopulateDefaultPort() throws Exception {\n assertThat(BaseUrl.DefaultUrlBuilder.from(new URL(\"http://host\"))\n .build()\n .toString())\n .isEqualTo(\"http://host\");\n assertThat(BaseUrl.DefaultUrlBuilder.from(new URL(\"https://host\"))\n .build()\n .toString())\n .isEqualTo(\"https://host\");\n }", "title": "" }, { "docid": "e13021f126e3f678d1ee05881b765784", "score": "0.4923363", "text": "public Network(String commercialAddress, int... ports) {\n this.commercialAddress = commercialAddress;\n this.bootstrap = Engine.createBootstrap(isServer());\n this.ports = ArrayUtilities.removeValue(ports, -1);\n }", "title": "" }, { "docid": "ef2ff20ae3e5648b680394e5e395debe", "score": "0.49225157", "text": "public String getFullUrl() {\n return host + (port < 0 ? \"\" : \":\" + port);\n }", "title": "" }, { "docid": "a76422f8cfcaf971266c4ea9d4adad3c", "score": "0.49088565", "text": "public HostPort(String hostId, int port) {\r\n this.hostId = hostId;\r\n this.port = port;\r\n }", "title": "" } ]
ad69a7001d5e8256c9386b2f427b249e
Gets the client transaction identifier generator object that is set.
[ { "docid": "9dbf09266bc9190b1f4206cc9175514b", "score": "0.8069608", "text": "public EPPClientTransIdGenerator getClientTransIdGenerator() {\n\t\treturn this.clientTransIdGenerator;\n\t}", "title": "" } ]
[ { "docid": "a41acf30ad6f5579722e74206f0c2771", "score": "0.69444495", "text": "protected IdGenerator getIdGenerator(){\n return this.idGenerator;\n }", "title": "" }, { "docid": "6c17bf07a5e76b3f1d31f532304642c2", "score": "0.6762032", "text": "private IdGenerator getIdGenerator() {\n return new IdGenerator() {\n private AtomicLong counter = new AtomicLong(0);\n\n @Override\n public long getNewId() {\n return counter.getAndIncrement();\n }\n };\n }", "title": "" }, { "docid": "4ff2edd5754da079f5ed5cd7a3f2c42e", "score": "0.67434895", "text": "public String getGeneratorId() {\n return this.generatorId;\n }", "title": "" }, { "docid": "c9ca98124e542b047c6c728c810f1535", "score": "0.67289275", "text": "public IDGenerator getIDGenerator() {\n\t\tif (this.idGenerator == null) {\n\t\t\tString idFilePath = this.registry.getIdFilesPath() + File.separator + this.getId();\n\t\t\tthis.idGenerator = new IDGenerator(idFilePath, this.getIdPrefix());\n\t\t}\n\t\treturn this.idGenerator;\n\t}", "title": "" }, { "docid": "cfa9f426414898fc592387960e03287d", "score": "0.6682897", "text": "public IUniqueIDGenerator getIdGenerator() {\n\n return idGenerator;\n }", "title": "" }, { "docid": "2b1c8bcef4a43e2c962790ab5c928b7d", "score": "0.6391669", "text": "public UUID getClientID(){\n return clientId;\n }", "title": "" }, { "docid": "ebcb10f9e83fb126cf85ec2c987216ca", "score": "0.61216724", "text": "Object nextId(Transaction transaction);", "title": "" }, { "docid": "73430e0c9cec43503ee8983bd0b58de6", "score": "0.61109924", "text": "@Override\n\tprotected String getUUID() {\n\t\treturn this.clientID;\n\t}", "title": "" }, { "docid": "dae000b8822888a3fce44e69da2fbb3a", "score": "0.6066461", "text": "public int getClientID() {\n return clientID;\n }", "title": "" }, { "docid": "dae000b8822888a3fce44e69da2fbb3a", "score": "0.6066461", "text": "public int getClientID() {\n return clientID;\n }", "title": "" }, { "docid": "0578000af3ee65e09437050a28a70531", "score": "0.6044687", "text": "@Override\n public String getClientID() {\n return getStringProperty(\"epp.client.clID\");\n }", "title": "" }, { "docid": "23f8c71430655d371c05952dff6d5b4e", "score": "0.60293996", "text": "public int getClientID() {\n\t\treturn this.clientID;\n\t}", "title": "" }, { "docid": "d3f92bf599dc3c410f26b2bc2dc52c93", "score": "0.59884024", "text": "public static IdGenerator getInstance() {\r\n return instance;\r\n }", "title": "" }, { "docid": "ca95ec589f79e882ab8568234428cfc9", "score": "0.59829617", "text": "GloballyUniqueIdAllocator getIdAllocator();", "title": "" }, { "docid": "e5487ab36ac080fd0a5aa1b820f7a469", "score": "0.5972568", "text": "public int getClientID() {\n return this.ClientID;\n }", "title": "" }, { "docid": "3f1e6232cfbb398b2485f85aa5299c21", "score": "0.59461397", "text": "public String getClientID() {\n return clientID;\n }", "title": "" }, { "docid": "9cdacaf4f2d5fde16c7f820b584bddd3", "score": "0.5898108", "text": "public long getClientId() {\n return clientId;\n }", "title": "" }, { "docid": "b655041114d41168e343de96c23e6285", "score": "0.5889169", "text": "public long getClientID() throws RemoteException;", "title": "" }, { "docid": "30085be4487eb58e56999c213a855f72", "score": "0.5885296", "text": "public String getClient_id() {\n return client_id;\n }", "title": "" }, { "docid": "ebeb05273ccaca4f7c1c2baffb6ccba5", "score": "0.5879963", "text": "public static String getSequence(ConnectionProvider conn, String table, String client) {\n return getUUID();\n }", "title": "" }, { "docid": "957ccab11a18307d55136a4b7bb87ae5", "score": "0.5868065", "text": "public Integer getClientid() {\r\n\t\treturn clientid;\r\n\t}", "title": "" }, { "docid": "ad6a71ecd8d8d7059c397588d9462903", "score": "0.5855671", "text": "public byte[] getClientGUID() {\n return CLIENT_GUID;\n }", "title": "" }, { "docid": "6009cdd1e02b7a5e4aaa1ea8c8ea827d", "score": "0.5850906", "text": "public int get_ClientID() {\n return (int)getUIntBEElement(offsetBits_ClientID(), 16);\n }", "title": "" }, { "docid": "2f09a4f3cfbc7f55b7d264f2f2b3d40b", "score": "0.5838758", "text": "public int getGenerationId() {\n synchronized (mLock) {\n return mGenerationId;\n }\n }", "title": "" }, { "docid": "3a699adda172103ede7514c06f511f56", "score": "0.5778737", "text": "public int getClientId() {\r\n return clientId;\r\n }", "title": "" }, { "docid": "3507eb6309c88173df9a062d5769485b", "score": "0.5767762", "text": "@Override\n public Object getNewId( DatastoreTransaction ta )\n throws IdGenerationException {\n if ( !( ta instanceof SQLTransaction ) ) {\n throw new IllegalArgumentException(\n \"DBSeqIdGenerator can only be used with SQL datastores.\" );\n }\n\n Object pk;\n try {\n AbstractSQLDatastore ds = (AbstractSQLDatastore) ta.getDatastore();\n Connection conn = ( (SQLTransaction) ta ).getConnection();\n pk = ds.getSequenceNextVal( conn, this.sequenceName );\n } catch ( DatastoreException e ) {\n throw new IdGenerationException( e.getMessage(), e );\n }\n return pk;\n }", "title": "" }, { "docid": "a930148997e8b6069f743ccfffca8fa2", "score": "0.57262796", "text": "long getGenerationId();", "title": "" }, { "docid": "11273c8afa77070265c9c95ec5250f32", "score": "0.5718987", "text": "public int getClientId() {\n return clientid;\n }", "title": "" }, { "docid": "23b882d3872851b95817b25329df1f29", "score": "0.5695113", "text": "public void setClientTransIdGenerator(\n\t\t\tEPPClientTransIdGenerator aClientTransIdGenerator) {\n\t\tthis.clientTransIdGenerator = aClientTransIdGenerator;\n\t}", "title": "" }, { "docid": "e176e85c2b8a631adaf963e777c40d3f", "score": "0.56727785", "text": "public String nextSequenceId() {\n Pallet nextPallet = marshalingArea.peek();\n if (nextPallet != null) {\n return marshalingArea.peek().getReqId();\n }\n return null;\n }", "title": "" }, { "docid": "d72d61c80fd5a22b32fea9fa2a6d9788", "score": "0.5664131", "text": "com.exacttarget.wsdl.partnerapi.ClientID getClient();", "title": "" }, { "docid": "b079fd22ddd09de87296c924b5ed1a9c", "score": "0.566253", "text": "java.lang.String getClientId();", "title": "" }, { "docid": "b079fd22ddd09de87296c924b5ed1a9c", "score": "0.566253", "text": "java.lang.String getClientId();", "title": "" }, { "docid": "a9da13ff50af702803e86f88737844ee", "score": "0.5638682", "text": "public String getId() throws SQLException {\n\t\tString id = null;\n\t\tString sql = \"SELECT client_id FROM ClientModel\";\n\t\tResultSet rs = executeQry(sql);\n\t\tif(rs.next()) {\n\t\t\tid = rs.getString(1);\n\t\t}\n\t\treturn id;\n\t}", "title": "" }, { "docid": "362fc56f6545d84fdbad010333e0533f", "score": "0.5638187", "text": "private static int genid() {\r\n\t\treturn ++idGenerator;\r\n\t}", "title": "" }, { "docid": "6602ab3922946f40c74ee707c1b9d72e", "score": "0.56349796", "text": "java.lang.String getSourceTransactionContextID();", "title": "" }, { "docid": "9fbe31252ffe663ecbef0d47cc5ebca6", "score": "0.56286824", "text": "com.google.protobuf.ByteString\n getClientIdBytes();", "title": "" }, { "docid": "9fbe31252ffe663ecbef0d47cc5ebca6", "score": "0.56286824", "text": "com.google.protobuf.ByteString\n getClientIdBytes();", "title": "" }, { "docid": "1f0f883193cb3ff9be2d80121814239b", "score": "0.5627569", "text": "public static int getTransactionID() {\n return transactionID;\n }", "title": "" }, { "docid": "0bd3b8c4041b68964b2ba7fc3f7c2b3c", "score": "0.5614595", "text": "public static String getSequenceConnection(Connection conn, ConnectionProvider con, String table,\n String client) {\n return getUUID();\n }", "title": "" }, { "docid": "a6c0e30b1dd0f9785e762c761ca56fc3", "score": "0.5600108", "text": "public String getClientCorrelator() {\r\n return clientCorrelator;\r\n }", "title": "" }, { "docid": "530e0d21bdb0be3927f09c7a5f5375a7", "score": "0.559247", "text": "@Nonnull\n public String getClientRequestId() {\n if(clientRequestId == null) {\n clientRequestId = UUID.randomUUID().toString();\n }\n return clientRequestId;\n }", "title": "" }, { "docid": "07f8ad1e1355b832c407bbbb6be5ea95", "score": "0.55875087", "text": "private static byte[] generateGTid() {\n // Asif: The counter should be attached to the string inside Synch block\n StringBuilder sbuff = new StringBuilder(getId());\n synchronized (GlobalTransaction.class) {\n if (mCounter == 99999) {\n mCounter = 1;\n } else {\n ++mCounter;\n }\n sbuff.append(mCounter);\n }\n sbuff.append('_').append(System.currentTimeMillis());\n byte[] byte_array = sbuff.toString().getBytes();\n return byte_array;\n }", "title": "" }, { "docid": "00a10d012557d72107200e7fc095f177", "score": "0.5560705", "text": "IGenerator getGenerator();", "title": "" }, { "docid": "46ddb18edb9c7387958707b41deea4f6", "score": "0.55377084", "text": "String getSequenceId();", "title": "" }, { "docid": "23db0be7dfa279d704e0099356b3b7e4", "score": "0.5523439", "text": "private String generateTokenIdentifier() {\r\n return UUID.randomUUID().toString();\r\n }", "title": "" }, { "docid": "1c8b6978a1f1b4c78d19120d9d567b86", "score": "0.5514102", "text": "public Long getClientPageId() {\n\t\treturn this.clientPageId;\n\t}", "title": "" }, { "docid": "7e6c48f5ac0ecf0a4136b865cd9794d4", "score": "0.5513212", "text": "private String generateId() {\n\t\treturn UUID.randomUUID().toString();\n\t}", "title": "" }, { "docid": "6a6e147a0ba768da2f815da6a1bc5bd1", "score": "0.5512402", "text": "public Number getBuyerId() {\n return (Number)getAttributeInternal(BUYERID);\n }", "title": "" }, { "docid": "e314c371c79445e5bcb0f6c4982344c5", "score": "0.55065536", "text": "public int getClientId() {\n return clientId;\n }", "title": "" }, { "docid": "2545f58b4fc87f425ca222276563e599", "score": "0.5503632", "text": "public Long getGeneratedIdentifier(Connection connection)\r\n throws InternalErrorException;", "title": "" }, { "docid": "eb4d6563fa9f99654cf4839b230d8b41", "score": "0.55025476", "text": "public int getClienti() {\n\t\treturn clienti;\n\t}", "title": "" }, { "docid": "67ea7a50fa574301524b63f8c5c2eccc", "score": "0.54884416", "text": "public String getClientMutationId() {\n return (String) get(\"clientMutationId\");\n }", "title": "" }, { "docid": "dc3e5f6f463b7d6f969a6d9bdde18f7a", "score": "0.5483661", "text": "public String getGeneratorName();", "title": "" }, { "docid": "641f204d61565c4326476f1134b710ea", "score": "0.5482795", "text": "@Override\n public java.lang.String getMqttClientId() {\n return _broker.getMqttClientId();\n }", "title": "" }, { "docid": "1355eb8acc8494e5ee3d7c186ef3a3b5", "score": "0.54790235", "text": "TransactionID createTransactionID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.5470011", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.5470011", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.5470011", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "762a1526c611316db30892be0002b036", "score": "0.5464042", "text": "java.lang.String getCreditTxnId();", "title": "" }, { "docid": "778d7b64bc07aefebef780a89d8b3f54", "score": "0.54602504", "text": "public String getClientId() {\n return _assignedClientId;\n }", "title": "" }, { "docid": "4bdc3fc8df783583dd7735492540f9b5", "score": "0.5459408", "text": "public java.lang.String getClientId() {\n java.lang.Object ref = clientId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n clientId_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "1dcd905444f799153e0b4bc731546424", "score": "0.5438255", "text": "long getSequenceId();", "title": "" }, { "docid": "1dcd905444f799153e0b4bc731546424", "score": "0.5438255", "text": "long getSequenceId();", "title": "" }, { "docid": "1dcd905444f799153e0b4bc731546424", "score": "0.5438255", "text": "long getSequenceId();", "title": "" }, { "docid": "1dcd905444f799153e0b4bc731546424", "score": "0.5438255", "text": "long getSequenceId();", "title": "" }, { "docid": "efb524757808889ef4c642b148be7d1b", "score": "0.54315895", "text": "public String getClientOrderId() {\n return clientOrderId;\n }", "title": "" }, { "docid": "f3bbba27c3a64670df99cf402c5bcd1d", "score": "0.54232216", "text": "public java.lang.String getClientId() {\n java.lang.Object ref = clientId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n clientId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "f3bbba27c3a64670df99cf402c5bcd1d", "score": "0.54232216", "text": "public java.lang.String getClientId() {\n java.lang.Object ref = clientId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n clientId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7c2df351d2134b8281ff983dbd8acafe", "score": "0.541931", "text": "@Override\n public String getClientId()\n {\n return Optional.ofNullable(authResult).map(AdminAuth::getClient).map(ClientModel::getClientId).orElse(\"[unknown]\");\n }", "title": "" }, { "docid": "9cf406b3643688ed147378c6d502b698", "score": "0.54131734", "text": "public Uuid getServiceBeanInstantiatorID() {\n return(instantiatorID);\n }", "title": "" }, { "docid": "73f6134c0db8e9a533a2fd0172d27d56", "score": "0.5410807", "text": "public String getTxId() {\n return txId;\n }", "title": "" }, { "docid": "d808ee1e74a2e3b0649b6e8f0bfac418", "score": "0.54053545", "text": "public Client getClient() {\n return Client.find(clientid);\n }", "title": "" }, { "docid": "07f2d049cd31b857c2f76c13c5c780c4", "score": "0.54042196", "text": "@Override\r\n public Class<?> getNativeIdentifierGeneratorClass() {\r\n return TableNameSequenceGenerator.class;\r\n }", "title": "" }, { "docid": "6bccb26608631d45fec409de733fd7cd", "score": "0.53974915", "text": "@Override\r\n public int getClientId(String clientName) throws bllException\r\n {\r\n try\r\n {\r\n return dalFacade.getClientId(clientName);\r\n } catch (DalException ex)\r\n {\r\n throw new bllException(ex.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "c2f476f7f6103c2ec16785122a2e79be", "score": "0.53929436", "text": "public java.lang.String getClientId() {\n java.lang.Object ref = clientId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n clientId_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "c2f476f7f6103c2ec16785122a2e79be", "score": "0.53929436", "text": "public java.lang.String getClientId() {\n java.lang.Object ref = clientId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n clientId_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "960267b73dc4e29af159683b209970ca", "score": "0.5392133", "text": "public String getTxID() {\n return txID;\n }", "title": "" }, { "docid": "dc8fd9036f358f0a508b2693aacf69bc", "score": "0.5389334", "text": "public Integer getSequenceId();", "title": "" }, { "docid": "50321c8d03d44d80e325dfa175c1b543", "score": "0.5386889", "text": "private static String generarId() {\n return UUID.randomUUID().toString();\n }", "title": "" }, { "docid": "ae0c970aef7138c421d6b5a5c04f5837", "score": "0.538614", "text": "public String getClient() {\n return clientspec;\n }", "title": "" }, { "docid": "7c378fbfa69c05ae5bf2049b64cbc8d9", "score": "0.5378089", "text": "public static int getIdentifier() {\r\n\t\tif( index > ids.size() - 1 )\r\n\t\t{\r\n\t\t\tindex = 0;\r\n\t\t}\r\n\t\t\r\n\t\treturn ids.get(index++);\r\n\t}", "title": "" }, { "docid": "607f31afe457ba872e4508d1cd8918d4", "score": "0.53717214", "text": "public java.lang.String getClientId() {\n java.lang.Object ref = clientId_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n clientId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "f3e344fae133ffc74daf877dacafaf8d", "score": "0.5368608", "text": "Long getNextRequestId() throws XmlGenException;", "title": "" }, { "docid": "bf61a2f39fa2bda0c07bd17d4fdc24e5", "score": "0.53674954", "text": "public String getClientId() {\r\n\t\treturn clientId;\r\n\t}", "title": "" }, { "docid": "8078bad895b22352bdd897af79e6a46e", "score": "0.53656846", "text": "public String getNextReservationId() {\n\t\treturn \"\" + System.currentTimeMillis() / 1000;\n\t}", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" }, { "docid": "a03a711b37c19bd6fe41ffea45df342f", "score": "0.53648", "text": "java.lang.String getVendorId();", "title": "" } ]
59b87b4df3da67f8284c38c327fdb757
multidimensional 2d arrays are matrixs defined by rows and coluomes in which each one starts with zero 0;
[ { "docid": "6f2d87b1477ac374bd54f3addd44b348", "score": "0.0", "text": "public static void main(String[] args) {\n\t\t\n\t\tint marks[][] = new int[4][3]; // it will create 4 arrays of 3 size\n\t\tSystem.out.println(marks[2][0]); // for printing arrays \n\t\t\n\t\t// initializing arrays\n\t\tint age[][] = {\t{3, 5, 3 },\n\t\t\t\t\t\t{3, 3, 3 },\n\t\t\t\t\t\t{2, 22, 35}\n\t\t\t\t\n\t\t\t\t\t\t};\n\t\t\n\t}", "title": "" } ]
[ { "docid": "f0a72973ecb6f5e52e606f095148bd54", "score": "0.67779416", "text": "public static int[][] zeroMatrix(int arr[][]) {\n ArrayList<Integer> rows = new ArrayList();\n ArrayList<Integer> columns = new ArrayList();\n //Row\n for(int i = 0; i < arr.length; i++) {\n //Column\n for(int j = 0; j < arr[0].length; j++) {\n if(arr[i][j] == 0) {\n rows.add(i);\n columns.add(j);\n }\n }\n }\n //Set every row and columns stored in that arraylist to 0\n for(int row : rows) {\n //set each column\n for(int i = 0; i < arr[0].length; i++)\n arr[row][i] = 0;\n }\n for(int column : columns) {\n //set each row\n for(int i = 0; i < arr.length; i++)\n arr[i][column] = 0;\n }\n return arr;\n }", "title": "" }, { "docid": "6d7b91d1d06b1e21e4f6b1708683056d", "score": "0.6744008", "text": "public Matrix2D(int rows, int columns){\n this.data = new double[rows*columns];\n this.shape[0] = rows;\n this.shape[1] = columns;\n this.size = rows*columns;\n this.nested2flat = new int[rows][columns];\n this.flat2nested = new int[rows*columns][2];\n int c = 0;\n for (int i = 0; i < rows; i++){\n for (int j = 0; j < columns; j++){\n this.nested2flat[i][j] = c;\n this.flat2nested[c] = new int[]{i, j};\n c += 1;\n }\n }\n }", "title": "" }, { "docid": "8af1fd2ad13d66b970cafb28e9d7ee94", "score": "0.6678378", "text": "public static void populate2d(int mat[][]) {\r\n\t\tfor(int i = 0; i < mat.length; i++) { // loops through columns and rows\r\n\t\t\tfor(int j = 0; j < mat[i].length; j++) {\r\n\t\t\t\tmat[i][j] = (int) (Math.random()*99+1); //random numfrom math class to populate the matrix with random integers\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "25eb97bb9ed8197276347cdbc923bd1b", "score": "0.66645914", "text": "public static int[][][] buildMat3d(){\n int[][][] matrix = new int[3][][];\n // Allocate and assign values to matrix;\n for(int i = 0; i < 3; i++){\n matrix[i] = new int[1+2*(i+1)][];\n // Fill matrix[i] with arrays of ints\n for(int j = 0; j < matrix[i].length; j++){\n matrix[i][j] = new int[i+j+1];\n // Fill matrix[i][j] with ints\n fill(matrix[i][j]);\n }\n }\n return matrix;\n }", "title": "" }, { "docid": "1eecffeaad22ff216694d92a29567eff", "score": "0.64885706", "text": "public Integer[][] makeAdjacentMatrix();", "title": "" }, { "docid": "f77dcc050c73f07284f7b4072f628d7a", "score": "0.6454675", "text": "public Matrice (int dim) {\r\n\t\tmatrice = new int[dim][dim];\r\n\t\tfor (int i = 0; i < dim; i++) {\r\n\t\t\tfor (int j = 0; j < dim; j++) {\r\n\t\t\t\tmatrice [i][j] = 0;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "decd35f63327726e9cbc8468c5e76cac", "score": "0.6439432", "text": "public static int[][][] buildMat3d ()\n {\n \n int [][][] array = new int [3][][];\n \n int i = 0;\n int j = 0;\n int k = 0;\n \n for (k=0; k<3; k++)\n { \n array[k] = new int [3+2*k][];\n \n for (j=0; j<array[k].length; j++)\n {\n array [k][j] = new int [k+j+1];\n } \n } \n \n \n for (k=0; k<3; k++)\n {\n for (j=0; j<array[k].length; j++)\n {\n for (i=0; i<k+j+1; i++)\n {\n array[k][j][i] = (int)((Math.random()*10000)%100)+1; \n }\n }\n }\n \n return array;\n }", "title": "" }, { "docid": "b2037a9735c6ca1b77a56cf2acb4748a", "score": "0.63974345", "text": "public void fillMatrix(){\r\n for(int i=0;i<this.rows;i++){\r\n for(int j=0;j<this.cols; j++){\r\n this.matrix[i][j] = (i+j)*2;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "58bdd52f731fdbf0688fb3ced8e80cbf", "score": "0.63396746", "text": "@Test (timeout = 1000)\n\tpublic void create1DArray() {\n\t\tdata = new double[][]{{1,2,3,4,5,6,7,8,9,10}};\n\t\t\n\t\tNumber[][] result = DataUtilities.createNumberArray2D(data);\n\t\t\n\t\t//check whether the Number array is of the same length\n\t\tassertEquals(\"Length of Output array\", data.length, result.length);\n\t\t\t\t\n\t\tfor(int i = 0; i < data.length; i++){\n\t\t\tfor(int j = 0; j < data[i].length; j++){\n\t\t\t\tassertNotNull(\"The Number array at index \" + i +\", \" + j + \" is null\", result[i][j]);\n\t\t\t\tassertEquals(\"Output array value at index \" + i, data[i][j], (double)result[i][j], 0.0 );\n\t\t\t}\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "d3842db9f44bc65dfa3365aa11b4bcc3", "score": "0.62427074", "text": "Matrix(int w,int x, int y, int z, int f[][],int s[][]){ //Parameterized Constructor\r\n this.firstrow=w;\r\n this.firstcol=x;\r\n this.secondrow=y;\r\n this.secondcol=z;\r\n \r\n first=new int[firstrow][firstcol]; //Giving the first matrix the rows and columns required\r\n first=f; \r\n second=new int[secondrow][secondcol]; //Giving the second matrix the rows and columns required\r\n second=s;\r\n }", "title": "" }, { "docid": "daeda043473afb359166da2802b9af8f", "score": "0.62395865", "text": "private static void zeromatrix(int[][] a) {\n\t\tfor(int i =0;i< a.length;i++)\n\t\t\tfor(int j=0;j<a[0].length;j++)\n\t\t\t{\n\t\t\t\tif(a[i][j]==0)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(i + \"i\");\n\t\t\t\t\tSystem.out.println(j + \"j\");\n\t\t\t\t\tswapwithzero(a,i,j);\n\t\t\t\t}\n\t\t\t}\n\t}", "title": "" }, { "docid": "b0223857bcd578d17e94d5bb740cf255", "score": "0.62268984", "text": "public ArrayMatrix() {\r\n /*\r\n initialize the matrix putting 0 in all cells\r\n */\r\n size=LabelNames.labelNamesList().size(); //PARRA! YOU HAD A HEAVY MISTAKE HERE, TOOK ME A WHILE TO FIND OUT.\r\n //you had \"int size\", but the size should be the one of the class.\r\n intMatrix=new int[size][size];\r\n binaryMatrix=new int[size][size];\r\n\r\n }", "title": "" }, { "docid": "16ac119ade32d3631a5d2258f107cbae", "score": "0.61926013", "text": "PrintMatrixDiagonally(int rows, int columns)\n\t {\n\t\t this.rows=rows;\n\t\t this.columns=columns;\n\t\t result = new int[rows][columns];\t \n\t }", "title": "" }, { "docid": "f2f31188820330b1d27c0712dc70b4ef", "score": "0.6181293", "text": "private void initMatrix() {\n\t\t\tfor(int i=0; i < numRecords; i++) {\n\t\t\t\tfor(int j=0; j < numRecords; j++) {\n\t\t\t\t\tmatrix[i][j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "c7f0667ec0ea9f2a1c09da7f34a52fa5", "score": "0.61741126", "text": "private int [][] list2Matriz(List<int[]> imagenes) {\r\n\t\tif (imagenes == null || imagenes.isEmpty()){\r\n\t\t\tthrow new RuntimeException(\"No hay imagenes cargadas.\");\r\n\t\t}\r\n\t\t\r\n\t\tint m = imagenes.get(0).length;\t\t// Rows\r\n\t\tint n = imagenes.size();\t\t\t// Cols\r\n\t\t\r\n\t\tint[][] X = new int[m][n];\r\n\r\n\t\tint j = 0;\r\n\t\tfor (int[] imagen : imagenes) {\r\n\t\t\tfor (int i = 0; i < m; i++){\r\n\t\t\t\tX[i][j] = imagen[i];\r\n\t\t\t}\r\n\t\t\tj++;\r\n\t\t}\r\n\t\t\r\n\t\treturn X;\r\n\t}", "title": "" }, { "docid": "681429a5c4e85fa8607155b6f23b9954", "score": "0.61730975", "text": "static void initMatrix(float[][] matrix) {\n for (int i = 0; i < matrix.length; i++) {\n for (int j = 0; j < matrix.length; j++) {\n matrix[i][j] = 0;\n }\n }\n }", "title": "" }, { "docid": "473bf5d958686113f704d64dbe6601e7", "score": "0.6168014", "text": "public float[][] setUp2DArrayWithCoors()\n {\n //Set up 2D array\n //offsets for setting co-ordinates\n int offsetLeftX = 0;\n int offsetRightX = 5;\n int offsetTopY = 0;\n int offsetBottomY = 5;\n //keep count of number of boxes stored\n int numberOfBoxesStored = 0;\n float[][] boxArray = new float[100][5];\n //populate the 2D array store in order, left , top, right ,bottom co-ordinates\n for(int i = 0; i < 10; i ++)\n {\n offsetLeftX = 0;\n offsetRightX = 5;\n for(int j = 0; j < 10; j++)\n {\n boxArray[numberOfBoxesStored][0] = offsetLeftX;\n boxArray[numberOfBoxesStored][2] = offsetRightX;\n boxArray[numberOfBoxesStored][3] = offsetBottomY;\n boxArray[numberOfBoxesStored][1] = offsetTopY;\n offsetLeftX += 5;\n offsetRightX += 5;\n numberOfBoxesStored++;\n }\n offsetTopY +=5;\n offsetBottomY +=5;\n }\n return boxArray;\n }", "title": "" }, { "docid": "b5d086049b27a17c8e22dda92d25f7b9", "score": "0.61599463", "text": "private static void setZeros(int[][] a){\n int[] rows = new int[a.length];\n int[] cols = new int[a.length];\n int n = a.length;\n \n for(int i=0;i<n;i++){\n for(int j=0;j<n;j++){\n if(a[i][j]==0){\n rows[i] = -1;\n cols[j] = -1;\n }\n }\n }\n \n for(int i=0;i<n;i++){\n if(rows[i]==-1){\n for(int j=0;j<n;j++){\n a[i][j] = 0;\n }\n }\n if(cols[i]==-1){\n for(int j=0;j<n;j++){\n a[j][i] = 0;\n }\n }\n }\n \n }", "title": "" }, { "docid": "104ad04b1433b6bdac8e08f3846e31ab", "score": "0.614695", "text": "public static void setZeroes(int[][] matrix) {\n\t\tint first = 0;\n\t\tint second = 0;\n\t\tint third = 0;\n\t\tfor (int i = 0; i < matrix[0].length; i++) {\n\t\t\tif (matrix[0][i] == 0) {\n\t\t\t\tsecond = 1;\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < matrix.length; j++) {\n\t\t\tif (matrix[j][0] == 0) {\n\t\t\t\tthird = 1;\n\t\t\t}\n\t\t}\n\t\tif (matrix[0][0] == 0 || (second==1 && third==1)) {\n\t\t\tfirst = 1;\n\t\t}\n\t\tSystem.out.println(\"first:\"+second);\n\t\tfor (int m = 1; m < matrix.length; m++) {\n\t\t\tfor (int n = 1; n < matrix[0].length; n++) {\n\t\t\t\tif (matrix[m][n] == 0) {\n\t\t\t\t\tmatrix[0][n] = 0;\n\t\t\t\t\tmatrix[m][0] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < matrix[0].length; i++) {\n\t\t\tif (matrix[0][i] == 0) {\n\t\t\t\tfor (int j = 1; j < matrix.length; j++) {\n\t\t\t\t\tmatrix[j][i] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int j = 1; j < matrix.length; j++) {\n\t\t\tif (matrix[j][0] == 0) {\n\t\t\t\tfor (int i = 1; i < matrix[0].length; i++) {\n\t\t\t\t\tmatrix[j][i] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (first == 1) {\n\t\t\tfor (int i = 0; i < matrix[0].length; i++) {\n\t\t\t\tmatrix[0][i] = 0;\n\t\t\t}\n\t\t\tfor (int j = 0; j < matrix.length; j++) {\n\t\t\t\tmatrix[j][0] = 0;\n\t\t\t}\n\t\t} else if (second == 1) {\n\t\t\tfor (int i = 0; i < matrix[0].length; i++) {\n\t\t\t\tmatrix[0][i] = 0;\n\t\t\t}\n\t\t} else if (third == 1) {\n\t\t\tfor (int j = 0; j < matrix.length; j++) {\n\t\t\t\tmatrix[j][0] = 0;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "1f4828c8bf702e9b27a81efb1f6d30d2", "score": "0.6118242", "text": "public Matrix2D(double[][] data){\n this(data.length, data[0].length);\n for (int c = 0; c < this.size; c++){\n this.data[c] = data[this.flat2nested[c][0]][this.flat2nested[c][1]];\n }\n }", "title": "" }, { "docid": "2da633d993015aa8d32706a8726c0371", "score": "0.6114474", "text": "public void twoDarrayWork(){\n\n\t\t\t\t\t\t\t\tint [][] twoDArray = {{1},{2}};\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t/*Only to show different way of declaring array*/\n\t\t\t\t\t\t\t\t@SuppressWarnings(\"unused\")\n\t\t\t\t\t\t\t\tint [][] another2dArray = new int [1][1];\n\n\t\t\t\t\t\t\t\tSystem.out.println(\"Value from 2D array: \"+ twoDArray[1][0]);\n\t\t\t\t}", "title": "" }, { "docid": "aa854446436a0632387674f135571309", "score": "0.61097693", "text": "public void fillMatrixZero(){\r\n for(int i=0;i<this.rows;i++){\r\n for(int j=0;j<this.cols; j++){\r\n this.matrix[i][j] = 0;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "0e5d09524e4612bc6daec11d3ea75312", "score": "0.6102965", "text": "public static int [][] makeboard() {\r\n int [][] array = new int[3][3];\r\n for (int i = 0; i < array.length; i++) {\r\n for (int j = 0; j < array[i].length; j++) {\r\n array[i][j] = 0;\r\n }\r\n }\r\n return(array);\r\n }", "title": "" }, { "docid": "fbddd6f7f0bbd12457e46ad276e2e17c", "score": "0.6097403", "text": "public Matrix( int a ) \n {\n\t matrix = new Object[a][a];\n }", "title": "" }, { "docid": "b4d2edf06487bbef023ee49b424ff5d1", "score": "0.60944724", "text": "public void setZeroes(int[][] matrix) {\n if (matrix == null || matrix.length == 0 || matrix[0].length == 0) {\n return; \n }\n \n int m = matrix.length, n = matrix[0].length; \n boolean col; \n boolean row = col = matrix[0][0] == 0 ? true : false; \n for (int i = 1; i < m && !col; ++i) {\n col = matrix[i][0] == 0 ? true : false; \n }\n for (int j = 1; j < n && !row; ++j) {\n row = matrix[0][j] == 0 ? true : false; \n }\n \n for (int i = 1; i < m; ++i) {\n for (int j = 1; j < n; ++j) {\n if (matrix[i][j] == 0) {\n matrix[0][j] = 0; \n matrix[i][0] = 0; \n }\n }\n }\n \n for (int i = 1; i < m; ++i) {\n for (int j = 1; j < n; ++j) {\n if (matrix[i][0] == 0 || matrix[0][j] == 0) {\n matrix[i][j] = 0; \n }\n }\n }\n \n if (row) {\n for (int j = 0; j < n; ++j) {\n matrix[0][j] = 0; \n }\n }\n \n if (col) {\n for (int i = 0; i < m; ++i) {\n matrix[i][0] = 0; \n }\n }\n }", "title": "" }, { "docid": "a2323a2260aba872f01c0275f2481dbc", "score": "0.60748273", "text": "void print2D(int[][] array);", "title": "" }, { "docid": "fb978087758ee6ff0d316c57db99d78d", "score": "0.60491437", "text": "abstract void createArray(int rows, int columns);", "title": "" }, { "docid": "f51c5b3a5304a375dd92b15b927f1516", "score": "0.6041445", "text": "public void setZeroes(ArrayList<ArrayList<Integer>> a) {\n int M = a.size();\n int N = a.get(0).size();\n boolean first_row_has_zero = false;\n boolean first_col_has_zero = false;\n //check if first row has 0\n for(int i=0;i<N;i++){\n if(a.get(0).get(i)==0){\n first_row_has_zero = true;\n }\n }\n //check if first column has 0\n for(int j=0;j<M;j++){\n if(a.get(j).get(0)==0){\n first_col_has_zero = true;\n }\n }\n //main logic-- make a(x,0) =0 and a(0,y)=0 if a(x,y)==0.\n for(int i=1;i<M;i++){\n for(int j=1;j<N;j++){\n if(a.get(i).get(j)==0){\n a.get(i).set(0,0);\n a.get(0).set(j,0);\n }\n }\n }\n //now if there is a zero at the start of the row or column, the entire row or column has to be 0\n //So iterate through the matrix and set elements to 0.(be careful to start from 1,1)\n for(int i=1;i<N;i++){\n for(int j=1;j<M;j++){\n if(a.get(j).get(0) ==0 || a.get(0).get(i) == 0){\n a.get(j).set(i,0);\n }\n }\n }\n //if first row has 0, the entire row needs to be 0\n if(first_row_has_zero){\n for(int i=0;i<N;i++){\n a.get(0).set(i,0);\n }\n }\n //if first column is 0, entire column needs to be 0\n if(first_col_has_zero){\n for(int j=0;j<M;j++){\n a.get(j).set(0,0);\n }\n }\n\n }", "title": "" }, { "docid": "810ba6ada8149390586d561edc970ed1", "score": "0.60134923", "text": "public double[][] twoDimensionalArrayOutOfMatrix() {\n return values;\n }", "title": "" }, { "docid": "9e53de24b980573fcb3d0c74e2b3e4df", "score": "0.6013034", "text": "public static void setZerosA(int[][] matrix) {\n\t\tboolean[] rows = new boolean[matrix.length];\n\t\tboolean[] cols = new boolean[matrix[0].length];\n\n\t\tint i, j;\n\t\tfor (i = 0; i < matrix.length; i++) {\n\t\t\tfor (j = 0; j < matrix[0].length; j++)\n\t\t\t\tif (matrix[i][j] == 0) {\n\t\t\t\t\trows[i] = true;\n\t\t\t\t\tcols[j] = true;\n\t\t\t\t}\n\t\t}\n\n\t\t// null rows\n\t\tfor (i = 0; i < rows.length; i++) {\n\t\t\tif (rows[i])\n\t\t\t\tsetRows(matrix, i);\n\t\t}\n\n\t\t// null cols\n\t\tfor (j = 0; j < cols.length; j++) {\n\t\t\tif (cols[j])\n\t\t\t\tsetCols(matrix, j);\n\t\t}\n\t}", "title": "" }, { "docid": "4af4a5d0e0eb30a500148c582b3d13a8", "score": "0.60039234", "text": "public static void main(String[] args) {\n int[][] matrix = new int[][]{{1, 0, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}};\n makeZero(matrix);\n for (int i = 0; i < matrix.length; i++) {\n for (int j = 0; j < matrix[0].length; j++) {\n System.out.print(matrix[i][j] + \" \");\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "30e530def6fe84b4e2900a4563303ab6", "score": "0.5995682", "text": "public void clear(){this.grid = new int[this.numRows][this.numCols];}", "title": "" }, { "docid": "0cc15b6d9a0ab10003fd4b721a4f3e46", "score": "0.59699154", "text": "public Matrix () {\n\t\tthis.columns = 3;\n\t\tthis.rows = 3;\n\t\tthis.array = new double[3][3];\n\t\tfor (int y = 0; y < 3; y++)\n\t\t\tfor (int x = 0; x < 3; x++)\n\t\t\t\tthis.array[y][x] = 0; \n\t\tthis.createIdentity();\n\t}", "title": "" }, { "docid": "34ca56f5de71bce811f5e29828e26e8f", "score": "0.59505755", "text": "public static void main(String[] args) {\nint [][] dd=new int[2][3];\ndd[0][0]=4;\ndd[0][1]=5;\ndd[0][2]=6;\n\ndd[1][0]=7;\ndd[1][1]=9;\ndd[1][2]=10;\nSystem.out.println(dd.length);\nfor(int i=0;i<dd.length;i++)\n{\nfor(int j=0;j<dd[i].length;j++)\n\t\n\tSystem.out.println(dd[i][j]);\n}\n\n\t}", "title": "" }, { "docid": "c277e5ff61d12bf2964a100029e704ab", "score": "0.59465307", "text": "public void initializeZeros() {\n //z_row = new int[z_total];\n //z_column = new int[z_total];\n int index = 0;\n for (int i = 0 ; i < cover.length ; i++ ) {\n for (int j = 0 ; j < cover[i].length ; j++) {\n //z_row[index] = i;\n //z_column[index] = j;\n index += 1;\n }\n }\n }", "title": "" }, { "docid": "bb627cbead578e509e65c03611be41a7", "score": "0.59446824", "text": "public void setZeroes(int[][] matrix) {\n int R = matrix.length;\n int C = matrix[0].length;\n Set<Integer> rows = new HashSet<Integer>();\n Set<Integer> cols = new HashSet<Integer>();\n\n for (int i = 0; i< R; i++) {\n for (int j = 0; j < C; j++) {\n if (matrix[i][j] == 0) {\n rows.add(i);\n cols.add(j);\n }\n }\n }\n for (int i =0;i < R; i++) {\n for (int j = 0; j<C;j++) {\n if (rows.contains(i) || cols.contains(j)){\n matrix[i][j] = 0;\n }\n }\n }\n\n }", "title": "" }, { "docid": "a2ac018a25aa23f51cb07fc63c99edde", "score": "0.59388167", "text": "public static void fill2D(int[][] vals){\n for (int i = 0; i < vals.length; i++){\n for (int j = 0; j < vals[i].length; j ++) {\n if (i == j) {vals[i][j] = 3;}\n else {vals[i][j] = 1;}\n }\n }\n printArray(vals);\n }", "title": "" }, { "docid": "9a60ea6ad651da63a978ec4f43c9e302", "score": "0.59269106", "text": "public static void main(String[] args) {\nint a[][]=new int [3][];\r\na[0]=new int[5];\r\na[1]=new int[6];\r\na[2]=new int[10];\r\n\r\nfor(int i=0;i<a.length;i++)\r\n{\r\n\tfor(int j=0;j<a[i].length;j++)\r\n\t{\r\n\t\tSystem.out.print(a[i][j]+\" \");\r\n\t}\r\n\tSystem.out.println();\r\n}\r\n\r\n\t}", "title": "" }, { "docid": "bd6f10b282760b7af38d69a805733124", "score": "0.5925489", "text": "public static Matrix2D ones(int rows, int columns){\n return constant(rows, columns, 1);\n }", "title": "" }, { "docid": "9c9bd9544b4f926ef08e1112cf4e8f09", "score": "0.5917072", "text": "public void setZeroes(int[][] matrix) {\n int col0 = 1; /** we need an extra flag for column 0 **/\n for (int i = 0; i < matrix.length; i++) {\n if (matrix[i][0] == 0) {\n col0 = 0;\n }\n for (int j = 1; j < matrix[i].length; j++) {\n if (matrix[i][j] == 0) {\n matrix[0][j] = 0;\n matrix[i][0] = 0;\n }\n }\n }\n\n for (int i = matrix.length - 1; i >= 0; i--) {\n if (matrix[i][0] == 0) {\n Arrays.fill(matrix[i], 0);\n continue;\n }\n for (int j = 1; j < matrix[i].length; j++) {\n if (matrix[0][j] == 0) {\n matrix[i][j] = 0;\n }\n }\n if (col0 == 0) {\n matrix[i][0] = 0;\n }\n } \n }", "title": "" }, { "docid": "62f04cfd7487102d4bc8dcb628f0382d", "score": "0.59131974", "text": "private static double[] blankMat() {\n\t\tdouble mat[] = new double[16];\n\t\tfor (int i = 0; i < mat.length; i++) {\n\t\t\tif (i % 5 != 0)\n\t\t\t\tmat[i] = 0.0;\n\t\t\telse\n\t\t\t\tmat[i] = 1.0;\n\t\t}\n\t\treturn mat;\n\t}", "title": "" }, { "docid": "da1aa5c34b5d9e453ad23d2871c401f7", "score": "0.5907039", "text": "private void initializeMatrix() {\n for (int i = 0; i < matrix.length; i++) {\n for (int j = 0; j < matrix.length; j++) {\n matrix[i][j] = null;\n }\n }\n }", "title": "" }, { "docid": "8ac740bd348c08a6828bee4ba39aa549", "score": "0.58950436", "text": "public static void setZerosB(int[][] matrix) {\n\t\tboolean rowHasZeros = false;\n\t\tboolean colHasZeros = false;\n\t\t\n\t\tint i, j;\n\t\tfor(i = 0; i < matrix.length; i++) {\n\t\t\tif (matrix[i][0] == 0)\n\t\t\t\trowHasZeros = true;\n\t\t}\n\t\t\n\t\tfor(j = 0; j < matrix[0].length; i++) {\n\t\t\tif (matrix[0][j] == 0)\n\t\t\t\tcolHasZeros = true;\n\t\t}\n\t\t\n\t\tfor(i = 1; i < matrix.length; i++) {\n\t\t\tfor(j = 1; j < matrix[0].length; j++) {\n\t\t\t\tif (matrix[i][j] == 0) {\n\t\t\t\t\tmatrix[i][0] = 0;\n\t\t\t\t\tmatrix[0][j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i = 1; i < matrix.length; i++) {\n\t\t\tif (matrix[i][0] == 0)\n\t\t\t\tsetRows(matrix, i);\n\t\t}\n\t\t\n\t\tfor(j = 1; j < matrix[0].length; j++) {\n\t\t\tif (matrix[0][j] == 0)\n\t\t\t\tsetCols(matrix, j);\n\t\t}\n\t\t\n\t\tif (rowHasZeros) {\n\t\t\tsetRows(matrix, 0);\n\t\t}\n\t\tif (colHasZeros) {\n\t\t\tsetCols(matrix, 0);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "5be0fd2fe188f79a44b2362dca8fc86e", "score": "0.5891151", "text": "public Spielfeld(){\n\t\tmatrix = new int [3][3];\n\t}", "title": "" }, { "docid": "079f6ca8d50efcd6749d9c6601ac2ecd", "score": "0.58880794", "text": "public Matrix()\n {\n matrixSize = (int)(Math.random() * 9 + 3);\n matrix = new int[matrixSize][matrixSize];\n for (int i = 0; i < matrixSize; i++)\n {\n for (int j = 0; j < matrixSize; j++)\n {\n matrix[i][j] = (int)(Math.random() * 9 + 1);\n }\n }\n }", "title": "" }, { "docid": "67ffd75bc0cf3f0be9a33020f7e990c1", "score": "0.58854693", "text": "private static void setRowColToZeroIfOneElementIsZero(int[][] matrix) {\n\n boolean[] rowZeroingInformation = new boolean[matrix.length];\n boolean[] colZeroingInformation = new boolean[matrix[0].length];\n for (int i = 0; i < matrix.length; i++) {\n int[] currentRow = matrix[i];\n for (int j = 0; j < currentRow.length; j++) {\n if (matrix[i][j] == 0) {\n rowZeroingInformation[i] = true;\n colZeroingInformation[j] = true;\n }\n }\n }\n\n // A single loop can avoid two iterations but both row and col arrays have to be checked every time to make sure we don't go out of trouble. So sticking\n for (int i = 0; i < rowZeroingInformation.length; i++) {\n if (rowZeroingInformation[i]) {\n for (int j = 0; j < matrix[i].length; j++) {\n matrix[i][j] = 0;\n }\n }\n }\n\n for (int i = 0; i < colZeroingInformation.length; i++) {\n if (colZeroingInformation[i]) {\n for (int j = 0; j < matrix.length; j++) {\n matrix[j][i] = 0;\n }\n }\n }\n }", "title": "" }, { "docid": "9a0899b437760fe5272b0faf6038873e", "score": "0.5870159", "text": "public static void main(String args[]){\n\tint arr[][]={{1,2,3},{2,4,5},{4,4,5}}; // arr[no of rows][no of elements in each rows]\r\n\t//printing 2D array \r\n\t \t \t\r\n\tfor(int i=0;i<arr.length;i++){ //arr.length gives the number of rows in the matrix\r\n\t for(int j=0;j<arr[i].length;j++){ //arr[i].length gives the length of the elements in each row of the matrix\r\n\t System.out.print(arr[i][j]+\" \"); \r\n\t } \r\n\t System.out.println(); \r\n\t} \r\n\t}", "title": "" }, { "docid": "1231ef26a154422a98cef61956c8b61b", "score": "0.5869988", "text": "public static void print2DMatrix(int[][] m){\n int rowMax = m.length; int colMax = m[0].length;\n for(int i = 0; i < rowMax; i++){\n for(int j = 0; j < colMax; j++){\n System.out.print(m[i][j] + \" \");\n }\n System.out.println();\n }\n \n }", "title": "" }, { "docid": "d47202b8493279f8a3fb12e5f8e3bd46", "score": "0.5869752", "text": "public void setZeroes(int[][] matrix) {\n\t\tif (matrix == null)\n\t\t\treturn;\n\t\tboolean[] rows = new boolean[matrix.length];\n\t\tboolean[] columns = new boolean[matrix[0].length];\n\t\tfor (int i = 0; i < matrix.length; i++) {\n\t\t\tfor (int j = 0; j < matrix[0].length; j++) {\n\t\t\t\tif (matrix[i][j] == 0) {\n\t\t\t\t\trows[i] = true;\n\t\t\t\t\tcolumns[j] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < matrix.length; i++) {\n\t\t\tfor (int j = 0; j < matrix[0].length; j++) {\n\t\t\t\tif (rows[i] || columns[j]) {\n\t\t\t\t\tmatrix[i][j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e1dbe146b99622708a2241d9c4f6b475", "score": "0.5857533", "text": "public IntersectionMatrix() {\n this.matrix = new Dimension[3][3];\n setAll(Dimension.FALSE);\n }", "title": "" }, { "docid": "c2fd09ab75ed50e7c1493ac8b8b861ef", "score": "0.5854746", "text": "protected abstract ArrayList<double[]> initDims();", "title": "" }, { "docid": "9a12273c0a2d0142caa24b1e358d28a2", "score": "0.5852455", "text": "private void copy2DArray(int [][] to , int [][] from ){\r\n\t\tfor(int row= 0; row < rows ; row++){\r\n\t\t\tfor(int col=0; col < cols; col++){\r\n\t\t\t\tto [row][col] = from[row][col];\r\n\t\t\t}\t\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "42f8a771873b279c470f1135eaa09581", "score": "0.5832017", "text": "public static void setZeroes(int[][] input) {\n\n\t\tif (Objects.isNull(input) || input.length == 0) {\n\t\t\tthrow new UnsupportedOperationException(\"Please check the input\");\n\t\t}\n\n\t\tint rowLength = input.length;\n\t\tint columnLength = input[0].length;\n\n\t\tboolean rowHasZero = false;\n\t\tboolean columnHasZero = false;\n\n\t\t/*If First row has any zero value, set rowHasZero*/\n\t\tfor (int i = 0; i < columnLength; i++) {\n\t\t\tif (input[0][i] == 0) {\n\t\t\t\trowHasZero = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t/*If First column has any zero value, set columnHasZero*/\n\t\tfor (int i = 0; i < rowLength; i++) {\n\t\t\tif (input[i][0] == 0) {\n\t\t\t\tcolumnHasZero = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * If any value in the rest of the array is zero then make the element on first\n\t\t * row and column equals to zero\n\t\t */\n\t\tfor (int i = 1; i < rowLength; i++) {\n\t\t\tfor (int j = 1; j < columnLength; j++) {\n\t\t\t\tif (input[i][j] == 0) {\n\t\t\t\t\tinput[0][j] = 0;\n\t\t\t\t\tinput[i][0] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/*Use the first row as a row buffer and nullify elements*/\n\t\tfor (int i = 0; i < columnLength; i++) {\n\t\t\tif (input[0][i] == 0) {\n\t\t\t\tnullifyColumn(input, i);\n\t\t\t}\n\t\t}\n\n\t\t/*Use the first column as a column buffer and nullify elements*/\n\t\tfor (int i = 0; i < rowLength; i++) {\n\t\t\tif (input[i][0] == 0) {\n\t\t\t\tnullifyRow(input, i);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t/* If none of the rows have zeros but first row or column had one then nullify elements accordingly*/\n\t\tif (rowHasZero) {\n\t\t\tnullifyRow(input, 0);\n\t\t}\n\n\t\tif (columnHasZero) {\n\t\t\tnullifyColumn(input, 0);\n\t\t}\n\n\t}", "title": "" }, { "docid": "bbe742552201a50e6faf0470a9c608dd", "score": "0.5825937", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic T[][] multiplyMatrices() {\n\t\tint nn = mOne.length;\n\t\tint mm = mTwo.length;\n\t\tint tt = mTwo[0].length;\n\t\tthis.newMatrix = (T[][]) new Number[nn][tt];\n\t\t\n\t\tfor(int n = 0 ; n < nn ; n++) {\n\t\t\tfor(int t = 0 ; t < tt ; t++) {\n\t\t\t\tnewMatrix[n][t] = (T)(Number) 0;\n\t\t\t\tfor(int m = 0 ; m < mm ; m++) {\n\t\t\t\t\t//.intValue() fonksiyonu kullanmadan hata olusur!\n\t\t\t\t\tnewMatrix[n][t] = (T)(Number) (newMatrix[n][t].intValue() + (mOne[n][m].intValue() * mTwo[m][t].intValue()));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn newMatrix;\n\t}", "title": "" }, { "docid": "8f2725c49988a0007b6ef15446671ff7", "score": "0.5814406", "text": "public static void print2D(int mat[][]) {\t//loops through columns and rows\r\n\t\tfor(int i = 0; i<mat.length; i++) {\r\n\t\t\tfor(int j = 0; j<mat[i].length; j++) {\r\n\t\t\t\tSystem.out.printf(\"%5d \", mat[i][j]); //formatting to display the matrix justified\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "73f64692db1b9462dba47dc1024d6266", "score": "0.5811661", "text": "public static void print2D(int mat[][]) {\n for (int i = 0; i < mat.length; i++)\n\n // Loop through all elements of current row\n for (int j = 0; j < mat[i].length; j++)\n System.out.print(mat[i][j] + \" \");\n }", "title": "" }, { "docid": "e80bcf8f816d4626e33df30611d16490", "score": "0.5803201", "text": "public void setZeroes(int[][] matrix) {\n if (matrix == null || matrix.length == 0) {\n return;\n }\n boolean fr = false;\n boolean fc = false;\n for (int i = 0; i < matrix.length; i++) {\n for (int j = 0; j < matrix[i].length; j++) {\n if (matrix[i][j] == 0) {\n matrix[i][0] = 0;\n matrix[0][j] = 0;\n if (i == 0) {\n fc = true;\n }\n if (j == 0) {\n fr = true;\n }\n }\n }\n }\n for (int i = 1; i < matrix.length; i++) {\n for (int j = 1; j < matrix[i].length; j++) {\n if (matrix[i][0] == 0 || matrix[0][j] == 0) {\n matrix[i][j] = 0;\n }\n }\n }\n if (fc) {\n for (int j = 0; j < matrix[0].length; j++) {\n matrix[0][j] = 0;\n }\n }\n if (fr) {\n for (int i = 0; i < matrix.length; i++) {\n matrix[i][0] = 0;\n }\n }\n }", "title": "" }, { "docid": "93e99ea107fb5626863c87cebad20581", "score": "0.5785434", "text": "public static void main(String[] args) {\n int [][] arr= new int[5][10];\r\n for(int i=2;i<=6;i++) {\r\n\t for (int j=1;j<=10;j++) {\r\n\t\t arr[i-2][j-1]=i*j;\r\n\t }\r\n\t \r\n }\r\n for(int [] x: arr) {\r\n\t for(int y :x) {\r\n\t\t System.out.println(y+ \" \");\r\n\t }\r\n\t System.out.println(\"\\n\");\r\n }\r\n \r\n\t}", "title": "" }, { "docid": "ca2f5e45256f19b9c87933a9001b7046", "score": "0.5784624", "text": "public void setZeroes(int[][] matrix) {\n\t\tboolean fr = false,fc = false;\n\t\tfor(int i = 0; i < matrix.length; i++) {\n\t\t\tfor(int j = 0; j < matrix[0].length; j++) {\n\t\t\t\tif(matrix[i][j] == 0) {\n\t\t\t\t\tif(i == 0) fr = true;\n\t\t\t\t\tif(j == 0) fc = true;\n\t\t\t\t\tmatrix[0][j] = 0;\n\t\t\t\t\tmatrix[i][0] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i < matrix.length; i++) {\n\t\t\tfor(int j = 1; j < matrix[0].length; j++) {\n\t\t\t\tif(matrix[i][0] == 0 || matrix[0][j] == 0) {\n\t\t\t\t\tmatrix[i][j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(fr) {\n\t\t\tfor(int j = 0; j < matrix[0].length; j++) {\n\t\t\t\tmatrix[0][j] = 0;\n\t\t\t}\n\t\t}\n\t\tif(fc) {\n\t\t\tfor(int i = 0; i < matrix.length; i++) {\n\t\t\t\tmatrix[i][0] = 0;\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "55a7c32cf26f5e1b225b3b956bfb37e6", "score": "0.5775902", "text": "public Matrix( ) \n {\n\t matrix = new Object[DEFAULT_SIZE][DEFAULT_SIZE];\n }", "title": "" }, { "docid": "1a174b9fa282610f7882e1ea5f246afa", "score": "0.5765598", "text": "protected void initMatrix() {\n this.a = new ArrayList<>(this._height);\n\n for (int i = 0; i < this._height; ++i) {\n var row = new StringBuffer(this._width);\n\n for (int j = 0; j < this._width; ++j)\n row.append(' ');\n\n a.add(row);\n }\n }", "title": "" }, { "docid": "406bd09648de5a1c5f6ca7d8dadedea9", "score": "0.5763533", "text": "public char[][] getMatrix(){\n char[][] brr = new char[9][9];\n\n for(int i=0; i<9; i++){\n char [][] crr = new char[3][3];\n initArr(crr);\n fitGrid(crr, arr.get(i));\n int index = 0;\n for (int n = 0; n < 3; n++) {\n brr[i][index++] = crr[n][0];\n brr[i][index++] = crr[n][1];\n brr[i][index++] = crr[n][2];\n }\n }\n\n return brr;\n }", "title": "" }, { "docid": "ea5c33f5b95f45a945fbb6eaac579cac", "score": "0.5761999", "text": "for (int[] row : matrix) {\n\t\t //for each number in the row\n\t\t for (int j : row) {\n\t\t System.out.print(j + \" \");\n\t\t }\n\t\t System.out.println(\"\");\n\t\t }", "title": "" }, { "docid": "c79900345b67a722e85bc5f1ace38bf8", "score": "0.5758814", "text": "public MasterMindMatrix()\n {\n for(int i = 0; i < ATTEMPTS; ++i){\n for(int j = 0; j < DIGITS; ++j){\n mMatrix[i][j] = Colors.EMPTY;\n }\n }\n }", "title": "" }, { "docid": "08b0cf06a2acab6db54a61f2c409c47d", "score": "0.5744604", "text": "public static Matrix zeros(int rows, int cols,Type t) {\n Matrix m = new Matrix(rows,cols,t);\r\n for(int i = 0; i < rows; i++) {\r\n for(int j = 0; j < cols; j++) {\r\n m.setCell(i,j,0);\r\n }\r\n }\r\n return m;\r\n }", "title": "" }, { "docid": "cd29cc97f919311423b6375a02463151", "score": "0.5742147", "text": "double[] get1DArray (double[][] dataIn) {\n\t\t\t\n\t\tdouble tempArray[] = new double [dataIn.length * dataIn[0].length];\t\t \n\t\t\t\n\t\tfor (int i = 0; i < dataIn.length; i++) {\t\t//This loops through the rows.\n\t\t\t\t\n\t\t\tfor (int j = 0; j < dataIn[i].length; j++) {\t\t//This loops through the columns. \n\t\t\n\t\t\t\ttempArray [(i * dataIn[0].length) + j] = dataIn[i][j];\n\t\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\t\t\t\n\t\treturn tempArray;\n\t\t\t\t\t\n\t}", "title": "" }, { "docid": "28f7c38c0393e6cc9f2bfc1500e615c1", "score": "0.573876", "text": "public void clearZero(int[][] matrix){\n\t\t//matrix[rows][cols]\n\t\tint n = matrix[0].length; //cols\n\t\tint m = matrix.length; //rows\n\t\tboolean firstRow = false;\n\t\tboolean firstCol = false;\n\t\t//check if first row has zero\n\t\tfor(int c=0; c< n; c++){\n\t\t\tif(matrix[0][c] == 0){\n\t\t\t\tfirstRow = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t//check if first col has zero\n\t\tfor(int r=0; r< m; r++){\n\t\t\tif(matrix[r][0] == 0){\n\t\t\t\tfirstCol = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t//use first row and col to store info for which row/col to clear, T(n*m)\n\t\tfor(int r = 1; r < m; r++){\n\t\t\tfor(int c=1; c< n; c++){\n\t\t\t\tif(matrix[r][c] == 0){\n\t\t\t\t\tmatrix[0][c] = 0; //first row, c col set to 0\n\t\t\t\t\tmatrix[r][0] = 0; //first col, r row set to 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//check and clear rows, T(m*n) worst case\n\t\tfor(int r=1; r< m; r++){\n\t\t\tif(matrix[r][0] == 0){ //first col, r rows\n\t\t\t\tclearRow(matrix, r);\n\t\t\t}\n\t\t}\n\t\t//check and clear cols, T(n*m) worst case\n\t\tfor(int c=1; c< n; c++){\n\t\t\tif(matrix[0][c] == 0){ //first row, c cols\n\t\t\t\tclearCol(matrix, c);\n\t\t\t}\n\t\t}\n\t\t//clear first row and col last, avoid clearing everything\n\t\tif(firstRow){\n\t\t\tclearRow(matrix,0);\n\t\t}\n\t\tif(firstCol){\n\t\t\tclearCol(matrix,0);\n\t\t}\n\t}", "title": "" }, { "docid": "b2ab9414cd8b373c7363e2e1e2885885", "score": "0.5732263", "text": "public static void main(String[] args) {\n\n int array[][] ={{1,2,3,4,5,}, {6,7,8,9,10},{11,12,13,14,15}};\n\n //recorremos el array multidimencional\n\n for(int i=0; i<array.length; i++){\n for (int j = 0; j <array[0].length ; j++) {\n System.out.println(array[i][j]);\n }\n }\n\n\n\n\n }", "title": "" }, { "docid": "2f32c59dd20661fb9fa08d7019783b40", "score": "0.57213813", "text": "public static void main(String[] args) {\n\t\tint[][] mat = {{0,1,2},{4,5,6},{3,4,5}};\n\t\tint[][] result = clearZero(mat, 3);\n\t\tfor(int i=0;i<3;i++){\n\t\t\tfor(int j=0;j<3;j++){\n\t\t\t\tSystem.out.println(result[i][j]);\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "d750eb7c38404616b26925ea6256d217", "score": "0.5704353", "text": "public static void zeroMatrix(int[][] matrix) {\n\t\tint rows = matrix.length;\n\t\tint columns = matrix[0].length;\n\t\tint row = 1, column = 1;\n\t\tfor (int i = 0; i < columns; i++) {\n\t\t\tif (matrix[0][i] == 0) row = 0;\n\t\t}\n\t\tfor (int i = 0; i < rows; i++) {\n\t\t\tif (matrix[i][0] == 0) column = 0;\n\t\t}\n\t\tfor (int i = 1; i < rows; i++) {\n\t\t\tfor (int j = 1; j < columns; j++) {\n\t\t\t\tif (matrix[i][j] == 0) {\n\t\t\t\t\tmatrix[i][0] = 0;\n\t\t\t\t\tmatrix[0][j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < rows; i++) {\n\t\t\tfor (int j = 1; j < columns; j++) {\n\t\t\t\tif (matrix[i][0] == 0 || matrix[0][j] == 0) {\n\t\t\t\t\tmatrix[i][j] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (row == 0) {\n\t\t\tfor (int i = 0; i < columns; i++) {\n\t\t\t\tmatrix[0][i] = 0;\n\t\t\t}\n\t\t}\n\t\tif (column == 0) {\n\t\t\tfor (int i = 0; i < rows; i++) {\n\t\t\t\tmatrix[i][0] = 0;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "151a8f6c39e3b35781def420c9d34543", "score": "0.57004505", "text": "public int[][] construct2DArray(int[] origin, int n, int m){\n if(n * m != origin.length)\n return new int[0][];\n int[][] r = new int[n][m];\n for(int i = 0; i < origin.length; i++)\n r[i / m][i % m] = origin[i];\n return r;\n }", "title": "" }, { "docid": "0a22ce7f46cd4b134e49d03d5bc8fae4", "score": "0.56793195", "text": "public static double[][] getMatrix() {\n Scanner input = new Scanner(System.in); \n double[][] m = new double[4][2];\n \n for (int i = 0; i < m.length; i++) {\n for (int j = 0; j < m[0].length; j++) {\n m[i][j] = input.nextDouble();\n }\n }\n \n return m;\n }", "title": "" }, { "docid": "6e7f9cc01c15bdbb556a80330e6a4ea7", "score": "0.56775445", "text": "private void fillOsubMatrix() {\n for (int i = number; i < (number + 3); i++) {\n for (int j = number; j < (number + 3); j++) {\n L.setElement(i, j, 0);\n }\n }\n }", "title": "" }, { "docid": "2d8cdd151e098a4a86024dca4c3dd206", "score": "0.56765455", "text": "public static int[][] getMatrix() {\n Scanner input = new Scanner(System.in);\n\n System.out.print(\"Enter the size for the matrix: \");\n int size = input.nextInt();\n int[][] m = new int[size][size];\n\n for (int i = 0; i < m.length; i++) {\n for (int j = 0; j < m[i].length; j++) {\n m[i][j] = (int) (Math.random() * 2);\n }\n }\n return m;\n }", "title": "" }, { "docid": "ac09afff8e6f99de863d31f663a43f02", "score": "0.5674395", "text": "public static int[][] matrixMultiply(int[][] array1, int[][]array2) {\n int[][] matrix = new int[array1.length][array2[0].length];\n for (int i =0; i<array1.length - 1; i++){\n for (int j = 0; j<array2[0].length - 1; j++) {\n int sum = 0;\n for (int k = 0; k<array1.length - 1; k++) {\n sum += (array1[i][k]*array2[k][j]);\n }\n matrix[i][j] = sum;\n }\n }\n return matrix;\n }", "title": "" }, { "docid": "31ee2cbac62a04ca198541f5acbd2306", "score": "0.5656814", "text": "private int[][] clone2d(int[][] src) {\n int[][] dest = new int[src.length][];\n for (int i = 0; i < src.length; ++i) {\n dest[i] = Arrays.copyOf(src[i], src[i].length);\n }\n return dest;\n }", "title": "" }, { "docid": "cf64af19bb6c30f23d655b5a855dd3a2", "score": "0.56554884", "text": "public static void resetZero(int[][] a){\n\n\t int[] zeroRow = new int[a.length];\n\t int[] zeroColumn = new int[a[0].length];\n\n\t // record which row and column has zero\n\t for (int i = 0; i < a.length; i++){\n\t for (int j = 0; j < a[i].length; j++){\n\t if (a[i][j] == 0){\n\t zeroRow[i] = 1;\n\t zeroColumn[j] = 1;\n\t }\n\t }\n\t }\n\n\t // scan again and set cell to zero if corresponding\n\t // row or column has zero\n\t for (int i = 0; i < a.length; i++){\n\t for (int j = 0; j < a[i].length; j++){\n\t if (zeroRow[i] == 1 || zeroColumn[j] == 1){\n\t a[i][j] = 0;\n\t }\n\t }\n\t }\n\n\t}", "title": "" }, { "docid": "d043c9a44c43e986ac0d90367fdca971", "score": "0.5641705", "text": "public ArrayMatrix(HashMap<String, TokenNames> rows){\r\n /*call the empty constructor*/\r\n this();\r\n size=LabelNames.labelNamesList().size();\r\n for (int i = 0; i < LabelNames.labelNamesList().size(); i++) {\r\n TokenNames tn = rows.get(LabelNames.labelNamesList().get(i));\r\n for (int j = 0; j < LabelNames.labelNamesList().size(); j++) {\r\n intMatrix[i][j]=tn.TokenMap.get(LabelNames.labelNamesList().get(j));\r\n if(intMatrix[i][j]>0){\r\n binaryMatrix[i][j]=1;\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "2acbcf8afca2f70468aec5e7ceb2f4ac", "score": "0.56029445", "text": "public int[] getDim() {\n int i[] = new int[2];\n\n i[0] = nx;\n i[1] = ny;\n\n return i;\n }", "title": "" }, { "docid": "3459b76649c3eeee42b0a4c7fc50bfc0", "score": "0.56028825", "text": "public static void main(String[] args) {\n \n \n int a [ ][ ] = new int[3][];\n System.out.println(a[0][0]);\n \n }", "title": "" }, { "docid": "5529f0fc8f75077ff7e01de1bf2adde8", "score": "0.5598227", "text": "@Override\n\tint[][] multiplySquareMatrices(int dimension, int[][] firstMatrix, int[][] secondMatrix) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9d8502e204068b91ad3dd377d71143ac", "score": "0.55932873", "text": "private int xyToArray(int i, int j) {\n\t\t\t\r\n\t\treturn (rowLength * i) + j;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4235dba916cc4163906ec38c1add3750", "score": "0.55925494", "text": "public FullMatrix(double[][] m) {\n\t\tfull = m.clone();\n\t\trank = m.length;\n\t}", "title": "" }, { "docid": "ee6d86143804e81ba3e399ce3ec91366", "score": "0.55885047", "text": "public static void main(String[] args) {\n int[] a1 = {1,5,8,1};\n int[] a2 = {5,7,9,2};\n int[] a3 = {6,8,6,3};\n\n int[][] b = new int[3][];\n b[0] = a1;\n b[1] = a2;\n b[2] = a3;\n\n System.out.println(b[1][2]);\n\n }", "title": "" }, { "docid": "e4779aa3a05b333a0570bb9d9d0f98e4", "score": "0.5587797", "text": "public Matrix( int x, int y )\n\t{\n\t\tthis.matrix = new float[x][y];\t// Erzeugt die Matrix\n\t\t\n\t\t// Schreibt Nullen in die Matrix\n\t\tfor( int i=0; i < x; i++ )\n\t\t{\n\t\t\tfor( int j=0; j < y; j++ )\n\t\t\t{\n\t\t\t\tthis.matrix[ i ][ j ] = 0;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "3265291ee97be91702986edcb1afc911", "score": "0.5584421", "text": "@Test\n void createRealMatrixTest() {\n RandomImage ric1 = new RandomImage();\n ric1.createArray();\n double [][] d1 = ric1.getPixelArray();\n ImageMatrix crm1 = new ImageMatrix();\n crm1.createImageRealMatrix(d1);\n Array2DRowRealMatrix r2rrm = crm1.getImageMatrix();\n assertEquals(d1.length, r2rrm.getRowDimension());\n assertEquals(d1[0].length, r2rrm.getColumnDimension());\n\n }", "title": "" }, { "docid": "308786632c0b47506ba507377efbe5d3", "score": "0.55831003", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\tint twoDArray[][] = {\n//\t\t\t\t\tj0\t\t\t\tj1\t\t\t\tj2\t\t\t\tj3\n\t\t\t\t{ 100,\t\t 200,\t\t 300,\t\t 400 }, //i0\n//\t\t\t\tj0\t\t\t\tj1\t\t\t\tj2\t\t\t\tj3\t\t\t\n\t\t\t\t{ 500, \t\t600, \t\t700, \t\t800 }, \t\t\t//i1\n\t\t\t\t\n//\t\t\t\tj0\t\t\t\tj1\t\t\t\tj2\t\t\t\tj3\t\t\t\n\t\t\t\t{ 900, \t\t1000,\t\t1100,\t\t1200 } };\t\t\t//i2\n\n\t\tSystem.out.println(twoDArray.length);\n\t\tSystem.out.println(twoDArray[0].length);\n\t\tSystem.out.println(twoDArray[1].length);\n\t\tSystem.out.println(twoDArray[2].length);\n\t\t\t\n\t/*\t \n\t * this is first way Nested For Loop\n\t\tfor (int i=0; i<twoDArray.length ;i++) {\n\t\t\tfor(int j=0; j<twoDArray[i].length;j++) {\n\t\t\t\tSystem.out.println(twoDArray[i][j]);\n\t\t\t}\n\t\t\t*/\n\t\t// This is second way Enhanced Nested For Loops\n//\t\t\tfor(int r[]:twoDArray) {\n//\t\t\t\tfor (int x:r) {\n//\t\t\t\t\tSystem.out.println(x);\n//\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tfor (int[] is : twoDArray) {\n\t\t\t\t\tfor (int x : is) {\n\t\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t}", "title": "" }, { "docid": "1e0a2e03dee17ac16ce99d74dffe38cc", "score": "0.55799913", "text": "private void initShapes(){\r\n shapes = new int[4][][];\r\n \r\n for(int i=0; i<4; i++){\r\n int r = shape[0].length;\r\n int c = shape.length;\r\n \r\n shapes[i] = new int[r][c];\r\n \r\n // loop menukar posisi rows dan columns dari array blok \r\n for(int y=0; y<r; y++){\r\n for(int x=0; x<c; x++){\r\n shapes[i][y][x] = shape[c-x-1][y];\r\n }\r\n }\r\n \r\n shape = shapes[i];\r\n }\r\n }", "title": "" }, { "docid": "2f9f60990788b3c402354f184813bde1", "score": "0.5569595", "text": "public void reset_matrix(){\n for(int i = 0; i < ATTEMPTS; ++i){\n for(int j = 0; j < DIGITS; ++j){\n mMatrix[i][j] = Colors.EMPTY;\n }\n }\n }", "title": "" }, { "docid": "dd2b7d3670b998ba1ac01ecc2519a6f7", "score": "0.5564596", "text": "private int[][] convertToArray(List<Set<Integer>> nz) {\n int rows = nz.size();\n int[][] nnz = new int[rows][];\n\n for (int i = 0; i < rows; ++i) {\n Set<Integer> set = nz.get(i);\n\n int num = set.size();\n nnz[i] = new int[num];\n\n int j = 0;\n for (int column : set)\n nnz[i][j++] = column;\n }\n\n return nnz;\n }", "title": "" }, { "docid": "dbe58fe0d35d0a99e1fa1a6f8f982566", "score": "0.55615824", "text": "private double[][] createDistanceArray()\n {\n\t double[][] distanceArray = new double[height()][width()];\n\t for(int i=0;i<height();i++)\n {\n \t for(int j=0;j<width();j++)\n \t {\n \t\t distanceArray[i][j]=Double.POSITIVE_INFINITY;\n \t }\n }\n\t return distanceArray;\n }", "title": "" }, { "docid": "4e080b5a9d13d903123c900d7f4d1608", "score": "0.5558715", "text": "public static int[][] makeArray() {\r\n\t\tint[][] theArray = new int[10][10];\t\t//10x10 size is arbitrary\r\n\t\tRandom randomGenerator = new Random();\r\n\t\t\r\n\t\tfor (int x = 0; x < 10; x++) {\r\n\t\t\tfor (int y = 0; y < 10; y++) {\r\n\t\t\t\ttheArray[x][y] = randomGenerator.nextInt(1000) + 1;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn theArray;\r\n\t}", "title": "" }, { "docid": "4e5884554de9437192bdc096d9c240c2", "score": "0.5546849", "text": "protected abstract void buildInitialMatrix();", "title": "" }, { "docid": "d27b20ef988254c142e2f0c97ba9aa5f", "score": "0.5543619", "text": "public DataMatrix(final int rows, final int columns) {\r\n this.columns = columns;\r\n this.rows = rows;\r\n\r\n try{\r\n \t/** Creates a single array if there are 2^31-1 cells or less than that */\r\n Math.multiplyExact(rows, columns);\r\n this.matrix = new SingleArrayMatrix(rows, columns);\r\n } catch (ArithmeticException e) {\r\n /** Creates a multidimensional array if there are more than 2^31-1 cells */\r\n this.matrix = new MultidimensionalArrayMatrix(rows, columns);\r\n }\r\n }", "title": "" }, { "docid": "b366aa25bebb63a8505365e3ce73c2f8", "score": "0.5540111", "text": "public SparseMatrix(LinkedList<SparseMatrixEntry>[] rows, LinkedList<SparseMatrixEntry>[] cols)\r\n\t{\r\n\t\tthis.rows = rows;\r\n\t\tthis.cols = cols;\r\n\t\tthis.n_rows = rows.length;\r\n\t\tthis.n_cols = cols.length;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3e41c4d0eed49baf7a61cf3fbc1db0d2", "score": "0.5528043", "text": "public BArray(int row) {\n cover = new int[row][];\n //z_total = 0;\n zeros = 0;\n for (int i = 0; i < row; i++) {\n cover[i] = null;\n }\n }", "title": "" }, { "docid": "97d8e7331a4279c48fac0358666820ac", "score": "0.55256", "text": "public GraphMatrix(){\n \n for(int i=0;i<25;i++){\n for(int j=0;j<25;j++){\n if(i==j){\n arcos[i][j]=0;\n }\n else{\n arcos[i][j]=10000;\n }\n }\n }\n }", "title": "" }, { "docid": "48a0df7525159464cd642769fa67c8a8", "score": "0.55138683", "text": "public Matrix(int numRows, int numColumns)\n\t{\n\t\tassert (numRows > 0) || (numColumns > 0) : \"# Rows and Columns must be > 0\"; \n\t\t\n\t\tmNumRows = numRows;\n\t\tmNumColumns = numColumns;\n\t\tmM = new Double[numRows][numColumns];\n\t\t\n\t\t\n\t\t/* iterates through each element setting to 0.0 */\n\t\tfor(int r = 0; r < numRows; r++)\n\t\t{\n\t\t\tfor(int c = 0; c < numColumns; c++)\n\t\t\t{\n\t\t\t\tsetElement(r,c,0.0);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "7d1f91481f9c7a1fdddea43c5b328eb5", "score": "0.55133647", "text": "public static void main(String[] args) {\n\n\t\tint[][] a = { { 1, 3 }, { 4, 5 }, { 2, 6 } };\n\t\tint[][] b = { { 6, 3, 5 }, { 2, 8, 2 } };\n\n\t\tint[][] c = new int[a.length][a[0].length];\n\n\t\tSystem.out.println(a.length);\n\t\tSystem.out.println(a[0].length);\n\n\t\tSystem.out.println(b.length);\n\t\tSystem.out.println(b[0].length);\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\tc[i][j] = 0;\n\t\t\t\tfor (int k = 0; k < a.length; k++) {\n\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t\tfor (int i = 0; i < a.length; i++) {\n\t\t\tfor (int j = 0; j < a[0].length; j++) {\n\t\t\t\tSystem.out.print(c[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t}", "title": "" }, { "docid": "fe086882697f3bb3e35ba49b5202a629", "score": "0.5512966", "text": "public void initData() {\r\n // START OUT OUR GRID WITH DEFAULT DIMENSIONS\r\n gridColumns = INIT_GRID_DIM;\r\n gridRows = INIT_GRID_DIM;\r\n\r\n // NOW MAKE THE INITIALLY EMPTY GRID\r\n grid = new int[gridColumns][gridRows];\r\n for (int i = 0; i < gridColumns; i++) {\r\n for (int j = 0; j < gridRows; j++) {\r\n grid[i][j] = 0;\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c0c1a8b142f89aac60b5e686af459631", "score": "0.55120695", "text": "public double[][] toArray2D() {\n int rows = this.getDDRM().numRows;\n int cols = this.getDDRM().numCols;\n double[][] retArr = new double[rows][cols];\n\n for (int i = 0; i < rows; i++) {\n for (int j = 0; j < cols; j++) {\n retArr[i][j] = this.getDDRM().get(i, j);\n }\n }\n\n return retArr;\n }", "title": "" } ]
bbff834733b811c4e503e6cc71c909b0
Accessor for the property "DeferralReadStamp" Getter for property DeferralReadStamp. The value of the parent queue's ReadAttemptCount when this queue entered the deferred state. This is used to approximate submillisecond timeouts.
[ { "docid": "c59c8b48dea1110c178146b0d482bfca", "score": "0.7578382", "text": "public long getDeferralReadStamp()\n {\n return __m_DeferralReadStamp;\n }", "title": "" } ]
[ { "docid": "0607189984fa425c98f2190da65cfaa1", "score": "0.6516338", "text": "public long getDeferralThresholdReads()\n {\n return __m_DeferralThresholdReads;\n }", "title": "" }, { "docid": "d833bb7713e2572f1c2c7397cd36adf9", "score": "0.6331893", "text": "public long getDeferralTimeStamp()\n {\n return __m_DeferralTimeStamp;\n }", "title": "" }, { "docid": "1ab1da15e2a96345f626ddb635607854", "score": "0.60863465", "text": "public long getReadAttemptCount()\n {\n return __m_ReadAttemptCount;\n }", "title": "" }, { "docid": "7252a29adb343595b3a0b103e2ca7632", "score": "0.6036074", "text": "public long getDeferralThresholdNanos()\n {\n return __m_DeferralThresholdNanos;\n }", "title": "" }, { "docid": "61c4dfc0d903c3aee3fd30d652c9ae87", "score": "0.5828656", "text": "public void setDeferralReadStamp(long lReadStamp)\n {\n __m_DeferralReadStamp = lReadStamp;\n }", "title": "" }, { "docid": "8d166e3d8a71b7620763b91fb071278a", "score": "0.5803984", "text": "public boolean isDeferralTimeout()\n {\n BundlingQueue queueParent = (BundlingQueue) get_Parent();\n long cNanosThreshold = queueParent.getDeferralThresholdNanos();\n long ldtDeferral = getDeferralTimeStamp();\n \n if (cNanosThreshold == 0L)\n {\n // instant timeout, never defer\n return true;\n }\n \n if (ldtDeferral == 0L)\n {\n // the queue is not currently deferring\n return false;\n }\n \n final long MILLI = 1000000L; // nanos per milli\n \n // use sub-millisecond timer based on read rate\n // TODO: Consider using System.nanoTime() for 1.5\n long cNanos = Math.abs(System.currentTimeMillis()\n - getDeferralTimeStamp()) * MILLI;\n long cReadAttempts = queueParent.getReadAttemptCount();\n long cReads = Math.abs(cReadAttempts - getDeferralReadStamp());\n long nReadThreshold = queueParent.getDeferralThresholdReads();\n \n if (cNanos >= cNanosThreshold + MILLI)\n {\n // we hit the idle timeout, readjust the read timeout; timeout + 1ms is\n // used as we know the minimum clock res is 1ms, and we want to ensure that\n // at least 1ms has passed when we estimate the time\n long cReadsOptimal = (cReads * cNanosThreshold) / cNanos;\n if (cReadsOptimal > nReadThreshold)\n {\n queueParent.setDeferralThresholdReads(cReadsOptimal);\n }\n return true;\n }\n else if (nReadThreshold > 0 && cReads > nReadThreshold)\n {\n // we hit the idle read threshold\n if (cReadAttempts % 8192L == 0L)\n {\n // periodically reset the overread threshold\n queueParent.setDeferralThresholdReads(0L);\n }\n return true;\n }\n \n return false;\n }", "title": "" }, { "docid": "78f754b86d9fec907ff5fca24ca9132c", "score": "0.5643903", "text": "@java.lang.Override\n public long getReading() {\n return reading_;\n }", "title": "" }, { "docid": "78f754b86d9fec907ff5fca24ca9132c", "score": "0.5643903", "text": "@java.lang.Override\n public long getReading() {\n return reading_;\n }", "title": "" }, { "docid": "97c4993ac5baf0f82ba2eab384812801", "score": "0.56032526", "text": "@java.lang.Override\n public org.conservify.fieldkit.data.pb.FkData.SensorReading getReading() {\n return reading_ == null ? org.conservify.fieldkit.data.pb.FkData.SensorReading.getDefaultInstance() : reading_;\n }", "title": "" }, { "docid": "dae71a11e649ad1127d24d51ade3610a", "score": "0.555285", "text": "@java.lang.Override\n public long getReading() {\n return instance.getReading();\n }", "title": "" }, { "docid": "dae71a11e649ad1127d24d51ade3610a", "score": "0.555285", "text": "@java.lang.Override\n public long getReading() {\n return instance.getReading();\n }", "title": "" }, { "docid": "4e60e1ac80ffdb9b184eb51976ee5ee7", "score": "0.5541361", "text": "public Long getReadTimes() {\n return readTimes;\n }", "title": "" }, { "docid": "08fdf48be287c0ad1108dfe33dc053b6", "score": "0.5337886", "text": "@java.lang.Override\n public org.conservify.fieldkit.data.pb.FkData.LoggedReading getLoggedReading() {\n return loggedReading_ == null ? org.conservify.fieldkit.data.pb.FkData.LoggedReading.getDefaultInstance() : loggedReading_;\n }", "title": "" }, { "docid": "93c6b9912cbb739a97d505ad8344e926", "score": "0.5268021", "text": "@java.lang.Override\n public org.conservify.fieldkit.data.pb.FkData.SensorReading getReading() {\n return instance.getReading();\n }", "title": "" }, { "docid": "8053a7d64049e1c98bd7857b725d90ec", "score": "0.52457047", "text": "public Integer getReadNum() {\n return readNum;\n }", "title": "" }, { "docid": "da829124de8ec41a527c8293a670b12d", "score": "0.51988804", "text": "public static int availToRead() {\r\n\t\treturn rxQueue.availToRead();\r\n\t}", "title": "" }, { "docid": "7421f6bf5904a1591318092006715309", "score": "0.5150327", "text": "public Integer getDelayedReceiveCount() {\n return delayedReceiveCount;\n }", "title": "" }, { "docid": "6d495d5c1af39965f29b6ae55d366352", "score": "0.5128738", "text": "@java.lang.Override\n public org.conservify.fieldkit.data.pb.FkData.LoggedReading getLoggedReading() {\n return instance.getLoggedReading();\n }", "title": "" }, { "docid": "3517ae0a6a275e7bc23303f9987704a1", "score": "0.5089823", "text": "public int getReadTimeout() {\n return readTimeout;\n }", "title": "" }, { "docid": "07aef6617af9635ac56028d1ee36b555", "score": "0.5083018", "text": "public int getReadTimeout() {\n\t\treturn readTimeout;\n\t}", "title": "" }, { "docid": "4563e4677f745029c4b74fb506e7e4db", "score": "0.5050539", "text": "public Integer getIsRead() {\n\t\treturn isRead;\n\t}", "title": "" }, { "docid": "74ed20ddbc4447d7fe75e6ea3645544f", "score": "0.50425917", "text": "@Exported\n public long getInQueueSince() {\n return this.inQueueSince;\n }", "title": "" }, { "docid": "731f982e0bec85b8ea78616125f3ebe2", "score": "0.50395316", "text": "@Override\n public List<Reader> getMostDelayingReaders() {\n return null;\n }", "title": "" }, { "docid": "63b86861c808e43f0ffc27e303e83c5b", "score": "0.50087905", "text": "public String getRead() {\n return read;\n }", "title": "" }, { "docid": "f9df7d8b017bd6e935ae889807b5d9f7", "score": "0.49882367", "text": "public Lock getReadLock() {\r\n\t\treturn this.mReadWriteLock.readLock();\r\n\t}", "title": "" }, { "docid": "19a1122f8aa92d2edebe01be98af0ec9", "score": "0.49816135", "text": "public Long getConsumepoint() {\r\n return consumepoint;\r\n }", "title": "" }, { "docid": "55c4f9798adddc7000e2effbeb00d6f8", "score": "0.49696428", "text": "org.conservify.fieldkit.data.pb.FkData.LoggedReading getLoggedReading();", "title": "" }, { "docid": "34ea1fadf2721b27365fec0230060627", "score": "0.49656928", "text": "public long getRefused() {\r\n\r\n\t\treturn _refused; // that's it\r\n\t}", "title": "" }, { "docid": "0c8e2d2c023ec5d10a5e1d964fa221e5", "score": "0.49627617", "text": "public String getReading () {\n\t\treturn _reading;\n\t}", "title": "" }, { "docid": "665f13ced06403a2b057aabd2e48d7c1", "score": "0.49158022", "text": "public boolean getForRead() {\n return forRead_;\n }", "title": "" }, { "docid": "247690851a59b317ced23e951af3e7b7", "score": "0.49097803", "text": "org.conservify.fieldkit.data.pb.FkData.SensorReading getReading();", "title": "" }, { "docid": "0ee2d434d726d1bb0aac13c200c6a05f", "score": "0.490851", "text": "public boolean getForRead() {\n return forRead_;\n }", "title": "" }, { "docid": "41ff28bbc479717a101a47587a26c1dd", "score": "0.49042284", "text": "public long getLastFire() {\n return lastFire;\n }", "title": "" }, { "docid": "778975a41d30e0cafb4a0270ac40e8eb", "score": "0.48903495", "text": "synchronized void getReadPermission() {\n //System.out.println(\"*** ASKING FOR READ PERMISSION\");\n Thread t = Thread.currentThread();\n if (!_getReadPermission(t)) {\n // Didn't get read permission, so record a waiting reader.\n _waitingReaders.add(_recordPool.getRecord(t, 0, 0));\n while (true) {\n try {\n wait();\n }\n catch (InterruptedException ex) {\n }\n // Make sure not interrupted for some other reason\n if (_activeReaders.get(t) != null)\n break;\n }\n }\n }", "title": "" }, { "docid": "b633280d532e16d436357aad112c1473", "score": "0.48852083", "text": "@java.lang.Override\n public int getReadingsCount() {\n return instance.getReadingsCount();\n }", "title": "" }, { "docid": "196c70eaa13b49a2749ce37ff2ca70ff", "score": "0.48810038", "text": "public int getRead() {\n return read;\n }", "title": "" }, { "docid": "bf88ba45aeae3104fc8362605f8d4d0f", "score": "0.48717558", "text": "public Duration getLevelingDelay()\n {\n return ((Duration) getCachedValue(ResourceField.LEVELING_DELAY));\n }", "title": "" }, { "docid": "fec9914ce0546d26b7f25ab6b5a9c490", "score": "0.4849299", "text": "public boolean lastFlag() {\n return this.readLast;\n }", "title": "" }, { "docid": "03dd7993faa418bf64624e4f5659e6de", "score": "0.48492786", "text": "public float getReadTransferRate() {\n return readTransferRate;\n }", "title": "" }, { "docid": "20e4fca729445c791bec9bcb135cd6e7", "score": "0.4825967", "text": "public String getReading() {\n\t\treturn reading;\n\t}", "title": "" }, { "docid": "20e4fca729445c791bec9bcb135cd6e7", "score": "0.4825967", "text": "public String getReading() {\n\t\treturn reading;\n\t}", "title": "" }, { "docid": "bec54fda01524251a10c8ed0f5c2ed88", "score": "0.48204002", "text": "public int getDelay() {\n int delay = Math.toIntExact(getLongProperty(\"delay\"));\n return Math.max(delay, 0);\n }", "title": "" }, { "docid": "a15ea47930ffb310f6596f7cd23f4332", "score": "0.48043135", "text": "public long getLastAccessed()\n {\n return lastAccessed;\n }", "title": "" }, { "docid": "836321b8c0752c611843cb8de2dde807", "score": "0.4796105", "text": "public int getAcWaited()\r\n {\r\n return acWaited;\r\n }", "title": "" }, { "docid": "1c094f85016b60fc4ee857e67a0f17e6", "score": "0.47912318", "text": "@Basic @Raw\n\tpublic float getCurrentDelayForth() {\n\t\treturn currentDelayForth;\n\t}", "title": "" }, { "docid": "cc864a7ea9569599bc4e96ea1f2b6e0c", "score": "0.47820917", "text": "public long getLastTouched() {\n synchronized (lock) {\n return lastTouched;\n }\n }", "title": "" }, { "docid": "6442ce9a9bd1fb011af1913ac2937518", "score": "0.4773373", "text": "public Double getReadingValue() {\n\t\treturn rdgVal;\n\t}", "title": "" }, { "docid": "13df51f8d68bba06c18d37be76ad2eb8", "score": "0.47586378", "text": "public String lastPendingRequestCtx() {\n if (readIndexQueue.length == 0) {\n return \"\";\n }\n return readIndexQueue[readIndexQueue.length - 1];\n }", "title": "" }, { "docid": "1841780c8a7114d550618df278f258e4", "score": "0.4758213", "text": "@Accessor(qualifier = \"maxSendingRetries\", type = Accessor.Type.GETTER)\n\tpublic Integer getMaxSendingRetries()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(MAXSENDINGRETRIES);\n\t}", "title": "" }, { "docid": "47a7354e157e3afaf76b8b2ef108a6fe", "score": "0.474967", "text": "public long getWaiting() {\r\n\t\t\r\n\t\treturn waiting;\r\n\t}", "title": "" }, { "docid": "3f7c98aa40a5bd936b70eed66be11a0c", "score": "0.4749306", "text": "public OffsetDateTime lastAccessTime() {\n return this.innerProperties() == null ? null : this.innerProperties().lastAccessTime();\n }", "title": "" }, { "docid": "114b467deca8dcea71e2cd87e4b8df1c", "score": "0.47453344", "text": "public int getDefenceLevel() {\n return defenceLevel;\n }", "title": "" }, { "docid": "71971eaff9c5a75b48523be441fa65e8", "score": "0.4731042", "text": "public long getLastAccessedDateTimeMillis() {\r\n return lastAccessedDateTime;\r\n }", "title": "" }, { "docid": "e902d4f1b30e10fb68a65e9e9d0f9867", "score": "0.47090307", "text": "long getReading();", "title": "" }, { "docid": "e902d4f1b30e10fb68a65e9e9d0f9867", "score": "0.47090307", "text": "long getReading();", "title": "" }, { "docid": "ea143208717be1e1330bff4a192fad13", "score": "0.4703123", "text": "@java.lang.Override\n public long getQ() {\n return q_;\n }", "title": "" }, { "docid": "69c093791ceb881e9168a3cae3d71cd7", "score": "0.46908212", "text": "@JsonProperty(\"last_queried_ms\")\n@ApiModelProperty(example = \"1535101119334\", value = \"Milliseconds since Unix epoch Jan 1, 1970.\")\n public Long getLastQueriedMs() {\n return lastQueriedMs;\n }", "title": "" }, { "docid": "74e6ef1eeb6cd5ff18151af8115297c1", "score": "0.46872577", "text": "@java.lang.Override\n public long getQ() {\n return q_;\n }", "title": "" }, { "docid": "fd1d4e3985b3dd4ff89586e336c93ab6", "score": "0.46862116", "text": "public String getNumCallsInQueue() {\r\n\t\treturn getValue(numCallsInQueue);\r\n\t}", "title": "" }, { "docid": "3607ae28c448efe891f123fa2f007af7", "score": "0.46827066", "text": "public int getInquiryCounter() {\n return inquiryCounter;\n }", "title": "" }, { "docid": "794eda1fa97de3655ddfe6c9e90801fe", "score": "0.4674997", "text": "public Number getNextFireTime() {\n return (Number) getAttributeInternal(NEXTFIRETIME);\n }", "title": "" }, { "docid": "682d37414e8df0cda438400d8605e79b", "score": "0.46425998", "text": "public Number getPrevFireTime() {\n return (Number) getAttributeInternal(PREVFIRETIME);\n }", "title": "" }, { "docid": "b0acea1c78cf8843f7eaa8f28e51cd48", "score": "0.4637872", "text": "@java.lang.Override\n public org.conservify.fieldkit.data.pb.FkData.Readings getReadings() {\n return readings_ == null ? org.conservify.fieldkit.data.pb.FkData.Readings.getDefaultInstance() : readings_;\n }", "title": "" }, { "docid": "ad4a12a5848367cb9075ce91c398b7b6", "score": "0.46361512", "text": "public int getWait() {\n int wait = Math.toIntExact(getLongProperty(\"wait\"));\n return Math.max(wait, 0);\n }", "title": "" }, { "docid": "957b3e0d4648a3a1aabad3200ba92fe2", "score": "0.4635049", "text": "public synchronized long getLastAccessedTime() {\n checkState();\n return lastAccessTime;\n }", "title": "" }, { "docid": "4c3d89c783cf76cf5ba224e80033ace9", "score": "0.46338946", "text": "public long getStale() {\n return stale;\n }", "title": "" }, { "docid": "d1acf87adb7512b351645d18c1ffbef7", "score": "0.46240982", "text": "@Override\n public int dequeue() {\n Object object = this.sync;\n synchronized (object) {\n return this.q.dequeue();\n }\n }", "title": "" }, { "docid": "ca7ca5cc94c856e067f22cf02a7dac13", "score": "0.46222267", "text": "public synchronized int getReadOffset() {\n return this.bitOffset;\n }", "title": "" }, { "docid": "c9863d53587deb76e77f0fa7621a30f7", "score": "0.46213624", "text": "long bufferedDataAmount() {\n return bufferQueueTotalAmount;\n }", "title": "" }, { "docid": "cbbb43e148b0d094b516ebc2d69bc722", "score": "0.46132383", "text": "public int getRemainingReinforcementCount() {\n return d_remainingReinforcementCount;\n }", "title": "" }, { "docid": "62b93ce95401c3e3861e3653fa78a760", "score": "0.46100226", "text": "public Long getStale() {\n return stale;\n }", "title": "" }, { "docid": "cc4bb3577d55fd0c8ca60120ba0d0bfd", "score": "0.4609", "text": "public String getRead(){\n return read;\n }", "title": "" }, { "docid": "5b375cc7a5cca2631a2249cefd9e8235", "score": "0.4607363", "text": "public Integer getRecalltimes() {\n return recalltimes;\n }", "title": "" }, { "docid": "4c82d97ca9e7878b10d5e69c1338accb", "score": "0.46010748", "text": "public java.lang.Integer getTimeRequested() {\n return timeRequested;\n }", "title": "" }, { "docid": "725310d601e8847fec5434f22cf3807c", "score": "0.4596809", "text": "public int readAvailable() {\n //logger.entry();\n int available;\n\n synchronized (rwPassLock) {\n if (readIndex <= writeIndex) {\n available = writeIndex - readIndex;\n } else {\n available = buffer.length - (readIndex - writeIndex);\n }\n }\n\n //return logger.exit(available);\n return available;\n }", "title": "" }, { "docid": "d8a8dc370b7f431a5b81fe70ed9471b5", "score": "0.45931134", "text": "@java.lang.Override\n public org.conservify.fieldkit.data.pb.FkData.JobSchedule getReadings() {\n return readings_ == null ? org.conservify.fieldkit.data.pb.FkData.JobSchedule.getDefaultInstance() : readings_;\n }", "title": "" }, { "docid": "a8f9a213258661631df5ad9fda7e348d", "score": "0.4578025", "text": "public NoteReader getReader()\r\n {\r\n return seq.getReader();\r\n }", "title": "" }, { "docid": "2a3fceea36c37bdae23adac81c3f280e", "score": "0.45751578", "text": "public Integer getDlTbfReq() {\r\n return dlTbfReq;\r\n }", "title": "" }, { "docid": "01ca1ac37efa9e24148f48278713adeb", "score": "0.45724568", "text": "public double getRecall() {\n\t\treturn recall;\n\t}", "title": "" }, { "docid": "4bc33a49e01b13ef1ad61245dc592748", "score": "0.45697734", "text": "@java.lang.Override\n public com.google.protobuf.DoubleValue getRecall() {\n return recall_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : recall_;\n }", "title": "" }, { "docid": "7ca699e8bac3482e395dfbd5208bdd68", "score": "0.4567471", "text": "public Integer peek() {\n return queue.peek();\n }", "title": "" }, { "docid": "a875fd65289884cea868180ddcc1cb55", "score": "0.45662567", "text": "public Integer conflictLoggingRetentionInDays() {\n return this.conflictLoggingRetentionInDays;\n }", "title": "" }, { "docid": "5a2f8b19fe511b43e6dab395c6e52c6e", "score": "0.45660737", "text": "public ReadPreference getReadPreference() {\n return myReadPreference;\n }", "title": "" }, { "docid": "91e5e14149cdea711f90ff51509020c9", "score": "0.4562003", "text": "@java.lang.Override\n public int getReadingsCount() {\n return readings_.size();\n }", "title": "" }, { "docid": "03dcaeead87790ceb1b2b11823dd5eb1", "score": "0.45586762", "text": "public Reading<T> getLastReading() {\n final int index = this.size() - 1;\n return new Reading(this.datetimes.get(index), this.values.get(index), this.clazz);\n }", "title": "" }, { "docid": "2038e6fb131a2592b10cd658a2f21cda", "score": "0.45557675", "text": "public int getTimeRemaining() {\r\n if (flagTimer != null && flagTimer.isRunning())\r\n return flagTimer.getTimeRemaining();\r\n\r\n return -1;\r\n }", "title": "" }, { "docid": "d7be78c8fa118f2a93682e9a3c20abc8", "score": "0.45536777", "text": "public Integer peek() {\n return queue.peek();\n }", "title": "" }, { "docid": "af4745389f121379fd4c0c6d1c0d79c3", "score": "0.4549847", "text": "public int getPollDelayFactorMs() {\n return pollDelayFactorMs;\n }", "title": "" }, { "docid": "a61368111bc870391b33faf4e545b158", "score": "0.45342895", "text": "@XmlAttribute\n public Integer getQueuePosition() {\n return ValueWithDefault.decideDefault(myFields.isIncluded(\"queuePosition\", false, false),\n () -> myQueuedBuild == null ? null : myQueuedBuild.getOrderNumber());\n }", "title": "" }, { "docid": "ef4cbad7355b1579cf38ca6ae360eaeb", "score": "0.45330963", "text": "public long getLastBombFired() {\n return lastBombFired;\n }", "title": "" }, { "docid": "2d4e3e96df322a87e3cf8c8ca36a2dc9", "score": "0.45286256", "text": "@Override\n public int last() {\n Object object = this.sync;\n synchronized (object) {\n return this.q.last();\n }\n }", "title": "" }, { "docid": "58de37818a1bec5fcdeaffb370876a2d", "score": "0.45239937", "text": "public Integer getRetryAfter() {\n return this.retryAfter;\n }", "title": "" }, { "docid": "40a4b58195835f57d8f66e266943eadb", "score": "0.4523872", "text": "@java.lang.Override\n public com.google.protobuf.DoubleValue getRecall() {\n return recall_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : recall_;\n }", "title": "" }, { "docid": "1fd2832c071108cc30e69e290e14db02", "score": "0.45225808", "text": "public Duration getDelay()\n {\n return ((Duration) getCachedValue(ResourceField.ASSIGNMENT_DELAY));\n }", "title": "" }, { "docid": "829cb803840d91180d6e7ddedd62b13a", "score": "0.45202622", "text": "public int getDelayTimeSubmission() {\n return mDelayTimeSubmission;\n }", "title": "" }, { "docid": "db0c33a904dd96a678cbe7f2db7ae5d6", "score": "0.45200843", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public gw.api.financials.CurrencyAmount getRecoveryLimit() {\n return (gw.api.financials.CurrencyAmount)__getInternalInterface().getFieldValue(RECOVERYLIMIT_PROP.get());\n }", "title": "" }, { "docid": "ab1ac1f29d2282d8ae5643e9b4a80b2b", "score": "0.45200324", "text": "public Double getFrontWaistsectionLong() {\r\n return frontWaistsectionLong;\r\n }", "title": "" }, { "docid": "31727ceabbb739059a750a92acde10ca", "score": "0.45159903", "text": "public Integer getLinesRead() {\n return linesRead;\n }", "title": "" }, { "docid": "afd4d7dcbf3c7fc4b8920d0ef5a1700e", "score": "0.451563", "text": "@ApiModelProperty(value = \"阅读次数\")\n public Integer getReadCount() {\n return readCount;\n }", "title": "" }, { "docid": "eb72097d8ec5bd91bc76b99c9a042c3f", "score": "0.4513162", "text": "@java.lang.Override\n public long getPlannedDowntimeTimestampMs() {\n return plannedDowntimeTimestampMs_;\n }", "title": "" } ]
eb481b779582a5d044bee52ecad18b02
Compare how many days has passed from the day of epoch. Return the number week passed from that day.
[ { "docid": "b640d5ea5eb7024bbc7cf168a094e6cc", "score": "0.5870822", "text": "public static long getWeekId(Date date) {\n long days = date.getTime() / 1000 / 3600 / 24;\n // The day of epoch is 01-01-1970, it is Thursday, Sunday is a week's start, thus plus 4\n return (days + 4) / 7;\n }", "title": "" } ]
[ { "docid": "cb18cdd11ff4aecbaad27f96d05df942", "score": "0.65309924", "text": "private int getDaysPassed()\n/* */ {\n/* 243 */ return this.first.getActualMaximum(5) - this.first.get(5) + 1 + getCurrent().get(5);\n/* */ }", "title": "" }, { "docid": "749fb6ec526b3d8c83af98c5fc0cf083", "score": "0.6202882", "text": "int getSevenDayStreaks();", "title": "" }, { "docid": "6cf8e5f7406b801155e74d891b3e1d6f", "score": "0.6198012", "text": "public static int getRelevantWeek() {\r\n\t\tTemporalField woy = WeekFields.of(Locale.getDefault()).weekOfWeekBasedYear();\r\n\t\tint weekNumber = LocalDate.now().plusDays(2).get(woy);\r\n\t\treturn weekNumber;\r\n\t}", "title": "" }, { "docid": "115d42c8bcb5a044ac5946efcb48acda", "score": "0.61810523", "text": "long getNumberOfDays();", "title": "" }, { "docid": "c1563716c42017c07a9bc5f78b01e244", "score": "0.617122", "text": "public static int getWeek() {\n return getWeek(new Date());\n }", "title": "" }, { "docid": "bbe2b09db5d8c8a750ea882bcfbcdeed", "score": "0.6097681", "text": "public int compareWeeks(final Calendar value, final Calendar compare) {\n return this.compare(value, compare, Calendar.WEEK_OF_YEAR);\n }", "title": "" }, { "docid": "b0563f99f4a62c2d70d72048f606997b", "score": "0.6085252", "text": "public int compareWeeks(Date value, Date compare, TimeZone timeZone) {\n Calendar calendarValue = getCalendar(value, timeZone);\n Calendar calendarCompare = getCalendar(compare, timeZone);\n return compare(calendarValue, calendarCompare, Calendar.WEEK_OF_YEAR);\n }", "title": "" }, { "docid": "71c1c668a097c04841268c631f15c48e", "score": "0.59989065", "text": "private static int daysLeftInTheWeek(String dayOfTheWeek) {\n int daysLeft = 0;\n\n if (dayOfTheWeek.equals(\"Sun\")) {\n daysLeft = SEVEN;\n } else if (dayOfTheWeek.equals(\"Mon\")) {\n daysLeft = SIX;\n } else if (dayOfTheWeek.equals(\"Tue\")) {\n daysLeft = FIVE;\n } else if (dayOfTheWeek.equals(\"Wed\")) {\n daysLeft = FOUR;\n } else if (dayOfTheWeek.equals(\"Thu\")) {\n daysLeft = THREE;\n } else if (dayOfTheWeek.equals(\"Fri\")) {\n daysLeft = TWO;\n } else if (dayOfTheWeek.equals(\"Sat\")) {\n daysLeft = ONE;\n }\n\n return daysLeft;\n }", "title": "" }, { "docid": "9fad023f6b031e46fa0ab11d1fe4bf13", "score": "0.59834445", "text": "public static long wdnum(Date date) {\n \t\n \t\n\tlong l = div(date.getTime(), 1000 * 60 * 60 * 24)[0] + 3;\n\tlong d[] = div(l, 7);\n\treturn l - 2 * d[0] - Math.max(d[1] - 5, 0);\n }", "title": "" }, { "docid": "b84f9a71f229f97eb25b7a981d7af60c", "score": "0.5865865", "text": "public long daysToKeep() {\n long total = 0;\n String[] frequency = getFrequencyList();\n for (String f : frequency) {\n int number_of_day = getTheDay(f);\n total += weekend(startDate, endDate, number_of_day);\n }\n return total;\n }", "title": "" }, { "docid": "5af7fb4c1f713c58def2c486bb8a9069", "score": "0.5792978", "text": "public static int getWeek(Date date) {\n try {\n DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.GERMAN);\n df.format(date);\n return df.getCalendar().get(Calendar.WEEK_OF_YEAR);\n } catch (Exception e) {\n log.error(\"Exception in der RunningSystemBean, Methode getWeek\", e);\n return 0;\n }\n }", "title": "" }, { "docid": "d1b365da1cb8e5d2fabe5092afc6f0c7", "score": "0.56511706", "text": "private boolean representsWeeks() {\n return period.getDays() > 0 && period.getDays() % 7 == 0;\n }", "title": "" }, { "docid": "5091ed7b1b74f8fd0d1e255b63776039", "score": "0.56308204", "text": "public int getTimeForWeek() {\n\t\treturn timeForWeek;\n\t}", "title": "" }, { "docid": "1181bf06e39c59c2762062780dedd7a2", "score": "0.5588433", "text": "int getNumEpochs();", "title": "" }, { "docid": "9efa1d7492565a022eb935773f810150", "score": "0.55871105", "text": "public boolean checkWeek(int day) {\n\t\tif(day - myCurrentDay.getDay() <= 7) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3ff90e4791e4e88e2cc6393af2b84da3", "score": "0.5556147", "text": "public long numberOfWeeks(int[] milestones) {\n final int max = Arrays.stream(milestones).max().getAsInt();\n final long sum = Arrays.stream(milestones).asLongStream().sum();\n final long nonMax = sum - max;\n return Math.min(sum, 2 * nonMax + 1);\n }", "title": "" }, { "docid": "f9e0e7fc4c847bd312cdee9bcb04b456", "score": "0.5523596", "text": "public long getNumDays() {\n\t\tlong diff = returnDate.getTime() - startDate.getTime();\n\t\treturn ((diff / (1000 * 60 * 60 * 24)));\n\t}", "title": "" }, { "docid": "7a276a0c9b556f23def31645b3736f33", "score": "0.55147076", "text": "int getOfflineDays();", "title": "" }, { "docid": "ea765ca6ada0ece3719c67acf3955397", "score": "0.54954517", "text": "public static long numberOfWeeks(int[] milestones) {\n long max = 0, sum = 0;\n for (int week : milestones) {\n max = Math.max(week, max);\n sum += week;\n }\n return sum >= 2 * max ? sum : 2 * (sum - max) + 1;\n }", "title": "" }, { "docid": "1be499531c0bea1677e089542a63046d", "score": "0.5471455", "text": "public long findWeeklyCount(){\n // Calendar cal = Calendar.getInstance();\n // cal.add(Calendar.DATE, -7);\n LocalDate date = LocalDate.now();\n return (long) em.createQuery(\"select count(o) from ParkReservation o \" +\n \"where o.enterDate > :week\")\n .setParameter(\"week\", date.minusDays(7)).getSingleResult();\n }", "title": "" }, { "docid": "8e78f5de5fa44b39cd37d3a64e198baa", "score": "0.5469653", "text": "public static void checkDayOfWeek(int numberOfdays) {\r\n\t\t\t\r\n\t\t\tint remains = numberOfdays % 7;\r\n\t\t\tDayOfWeek day;\r\n\t\t\tswitch(remains) {\r\n\t\t\t\tcase 1: day = DayOfWeek.SATURDAY; // starting from Thursday because EPOCH day was on Saturday\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2: day = DayOfWeek.SUNDAY; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3: day = DayOfWeek.MONDAY; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 4: day = DayOfWeek.TUESDAY; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 5: day = DayOfWeek.WEDNESDAY; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 6: day = DayOfWeek.THURSDAY; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 0: day = DayOfWeek.FRIDAY; \r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault: day = null;\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\t\r\n\t\t\tSystem.out.println(\"Own check: \" + day + \"\\n\");\r\n\t\t}", "title": "" }, { "docid": "a17a4ab6d068df5f5a11b338e8dd4d74", "score": "0.5468398", "text": "public int dayInWeek() {\r\n\t\tint D=_day, M=_month, Y, C, dayNumber;\r\n\t\tY = _year % 10 + ((_year / 10) % 10)*10;\r\n\t\tC = _year / 100; \r\n\t\t\r\n\t\tif(M == 1) {\r\n\t\t\tM = 13;\r\n\t\t\tY--;\r\n\t\t}\r\n\t\telse if(M == 2) {\r\n\t\t\tM = 14;\r\n\t\t\tY--;\r\n\t\t}\r\n\t\tdayNumber = (D + (26*(M+1))/10 + Y + Y/4 + C/4 - 2*C) % 7; // calculate which day in the week\r\n\t\t\r\n\t\tif(dayNumber < 0)\r\n\t\t\treturn Math.floorMod(dayNumber, 7); // if the day is negative - correct it\r\n\t\treturn dayNumber;\r\n\t}", "title": "" }, { "docid": "ffbd86d180e9e07bac7d7ebc765e03cd", "score": "0.54673254", "text": "public int getWinstreak()\n\t{\n\t\treturn curWinstreak;\n\t}", "title": "" }, { "docid": "a4af456b1e523e4266332ecf4456fd68", "score": "0.5426981", "text": "public int getIntervalWeekly(Date s, Date e, int weekday) {\r\n Log.i(TAG_DATABASE_HELPER, \"Enter in getIntervalWeekly\");\r\n\r\n Calendar startCal = Calendar.getInstance();\r\n assert startCal != null : \"Starting calendar is null\";\r\n startCal.setTime(s);\r\n\r\n Calendar endCal = Calendar.getInstance();\r\n assert endCal != null : \"Ending calendar is null\";\r\n endCal.setTime(e);\r\n\r\n int medDays = INT_ZERO;\r\n\r\n //If working dates are same,then checking what is the day on that dates.\r\n if (startCal.getTimeInMillis() == endCal.getTimeInMillis()) {\r\n //Increase the amount of medication taken on a given day of the week\r\n if (startCal.get(Calendar.DAY_OF_WEEK) == weekday) {\r\n ++medDays;\r\n\r\n Log.i(TAG_DATABASE_HELPER, \"Medicine days: \" + medDays);\r\n\r\n return medDays;\r\n } else {\r\n //Nothing to do\r\n }\r\n } else {\r\n //Nothing to do\r\n }\r\n\r\n /*If start dates is coming after end dates, Then shuffling Dates and storing dates\r\n by incrementing up to end dates in do-while part.*/\r\n if (startCal.getTimeInMillis() > endCal.getTimeInMillis()) {\r\n startCal.setTime(e);\r\n endCal.setTime(s);\r\n } else {\r\n //Nothing to do\r\n }\r\n do {\r\n //Increase the amount of medication taken on a given day of the week\r\n if (startCal.get(Calendar.DAY_OF_WEEK) == weekday) {\r\n ++medDays;\r\n } else {\r\n //Nothing to do\r\n }\r\n\r\n startCal.add(Calendar.DAY_OF_MONTH, 1);\r\n } while (startCal.getTimeInMillis() <= endCal.getTimeInMillis());\r\n\r\n if (startCal.get(Calendar.DAY_OF_WEEK) == endCal.get(Calendar.DAY_OF_WEEK)\r\n && (startCal.get(Calendar.DAY_OF_WEEK) == weekday)) {\r\n ++medDays;\r\n } else {\r\n //Nothing to do\r\n }\r\n\r\n Log.i(TAG_DATABASE_HELPER, \"Medicine days: \" + medDays);\r\n\r\n Log.i(TAG_DATABASE_HELPER, \"End of getIntervalWeekly\");\r\n return medDays;\r\n }", "title": "" }, { "docid": "1a7388a1ffa3af78a98fd0f2789e5c66", "score": "0.54159784", "text": "public int getPlaysLeft() {\r\n\t\treturn 2 - playsToday;\r\n\t}", "title": "" }, { "docid": "7233d33ff5d2aedae4a9674a921e1c6a", "score": "0.5395114", "text": "public static void main(String[] args) {\n\n int a = 365 % 7;\n\n System.out.println(a); // 1 Jan 1901 Tuesday\n\n\n long[] year = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};\n long[] leapyear = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};\n\n DayOfWeek date = LocalDate.of(1901, Month.JANUARY, 1).getDayOfWeek();\n\n System.out.println(date);\n\n int count = 0;\n\n\n for (int i = 1901; i <2000; i++) {\n\n if (i % 4 == 0) {\n\n for (int j = 0; j <= 11; j++) {\n\n date=date.plus(leapyear[j]);\n\n System.out.println(date);\n\n if (date == DayOfWeek.WEDNESDAY) {\n count++;\n }\n }\n } else {\n\n for (int h = 0; h <= 11; h++) {\n date=date.plus(year[h]);\n System.out.println(date);\n if (date == DayOfWeek.WEDNESDAY) {\n count++;\n }\n }\n }\n }\n System.out.println(count);\n }", "title": "" }, { "docid": "bea6eb9be0cf4911d8d268ef42a04d8b", "score": "0.5374381", "text": "int getTimesWon0();", "title": "" }, { "docid": "85580ce554b0cfc3053fd485f691ce05", "score": "0.5372974", "text": "public XsIntegerExpr weekFromDate(XsDateExpr arg);", "title": "" }, { "docid": "d4b63477a26d14dbef85503a31e51be4", "score": "0.53335536", "text": "int getTimesWon1();", "title": "" }, { "docid": "a8ed3866ef57268a0f0c0bbdf4bc8e2e", "score": "0.5330077", "text": "private static int executedTimesUntilByWeek(Reminder reminder, Date timeScheduleRequested) {\n // 2 - calculating the number of weeks in this lapse of time\n long millsecSindeReminderActiveToScheduleRequested = timeScheduleRequested.getTime()\n - reminder.getActiveFrom().getTime();\n int weeks = (int) (millsecSindeReminderActiveToScheduleRequested / ONE_WEEK_IN_MILLISEC);\n\n return weeks / reminder.getRepeatEachXPeriods();\n }", "title": "" }, { "docid": "b1710a04d1f36a88567311c0ea51e2e0", "score": "0.5329184", "text": "public long getSinceReleaseDays() {\n try {\n int i = version.lastIndexOf('-');\n if (i > 0) {\n String dateString = version.substring(i + 1, version.length() - 1);\n int day = Integer.parseInt(dateString.substring(0, 2));\n int month = Integer.parseInt(dateString.substring(2, 4));\n int year = Integer.parseInt(\"20\" + dateString.substring(4, 6));\n LocalDate today = LocalDate.now();\n LocalDate release = LocalDate.of(year, month, day);\n Period p = Period.between(release, today);\n return ChronoUnit.DAYS.between(release, today);\n }\n return 0;\n } catch (Exception e) {\n e.printStackTrace();\n }\n return -1;\n }", "title": "" }, { "docid": "392d368cb5cf383861fb3f20844db1dc", "score": "0.5320291", "text": "public int getDaysTaken(){\n return taken;\n }", "title": "" }, { "docid": "8875ee505b0557113fb1735fc37bf377", "score": "0.531127", "text": "public int getWeek() {\r\n return week;\r\n }", "title": "" }, { "docid": "ba38fa6c89471f2cf1e66c90d7091da5", "score": "0.52943295", "text": "public static int foodperWeek(){\n return 1;\n }", "title": "" }, { "docid": "72e02b7829a1fc22b2f2a8c094ef6497", "score": "0.52860916", "text": "public int getDay(){\n \tsynchronized(staticCalendar) {\n \t\tstaticCalendar.setMillis(utcTime);\n return staticCalendar.get(Calendar.DAY_OF_WEEK)-1;\n }\n }", "title": "" }, { "docid": "5457a4ec873a56e4c80abf1c2c807509", "score": "0.5235747", "text": "int getNumBattleTrainingWon();", "title": "" }, { "docid": "4bf7cc87f6bf2981042b3d8470e1c315", "score": "0.5234483", "text": "private long getNumberOfDays(Date d1,Date d2) {\r\n Log.i(TAG_DATABASE_HELPER, \"Enter in getNumberOfDays\");\r\n\r\n Calendar c = Calendar.getInstance();\r\n c.setTime(d1);\r\n\r\n long ld1 = c.getTimeInMillis();\r\n assert ld1 > 0 && ld1 < Long.MAX_VALUE;\r\n c.setTime(d2);\r\n\r\n long ld2 = c.getTimeInMillis();\r\n assert ld2 > 0 && ld2 < Long.MAX_VALUE;\r\n\r\n //Calculates the amount of milliseconds in a day\r\n long oneDay = 1000 * 60 * 60 * 24;\r\n\r\n long interval = (ld2-ld1) / oneDay;\r\n Log.i(TAG_DATABASE_HELPER, \"Interval of getNumbersOfDays: \" + interval);\r\n\r\n Log.i(TAG_DATABASE_HELPER, \"End of getNumberOfDays\");\r\n\r\n return interval;\r\n }", "title": "" }, { "docid": "d057d8cac606ec63bbea6e2dfa836dfb", "score": "0.5232589", "text": "public int get_total_days() {\n return t_days.size();\n }", "title": "" }, { "docid": "9ff5d8ab82c035b2ab2577779a09bb97", "score": "0.52220744", "text": "public int getWeek() {\n\t\treturn week;\n\t}", "title": "" }, { "docid": "a79997d68519626052981eece0d1dbed", "score": "0.52165014", "text": "public java.lang.Long getPastWeekCount() {\n return pastWeekCount;\n }", "title": "" }, { "docid": "2115288281785b99cb3b9a3e62f3c3e9", "score": "0.52138245", "text": "public double weeklyWage(){\n double withheld = 500 - calcDeduct(); //amount withheld for taxes\n if(salary/52 > withheld)\n return salary/52 - withheld; //yearly salary divided by weeks per year, minus withholding\n else\n return salary/52;\n }", "title": "" }, { "docid": "dc6147e2ae5b46ab497e42e5610fd985", "score": "0.52095956", "text": "int getRemainingDays();", "title": "" }, { "docid": "dac4f2366ed09f475eae636e534d3510", "score": "0.5192585", "text": "int getTimesWon2();", "title": "" }, { "docid": "eb9ed8ce09e99f4c5a705e51f1ab82bf", "score": "0.5188773", "text": "public int checkSurroundingWW(int x, int y) {\n int number = 0;\n if (checkUp(x, y) == Cell.ww) {\n number++;\n }\n if (checkDown(x, y) == Cell.ww) {\n number++;\n }\n if (checkRight(x, y) == Cell.ww) {\n number++;\n }\n if (checkLeft(x, y) == Cell.ww) {\n number++;\n }\n return number;\n }", "title": "" }, { "docid": "a1a269f2ec3cf672189d9b4cdb553b5c", "score": "0.5178525", "text": "public int[] getWeekAndDay(int date) {\n\t\t\n\t\tlong start = expectedDate * 1000L - 280 * Constant.DAY;\n\t\tint day = (int) ((expectedDate * 1000L - date * 1000L) / Constant.DAY);\n\t\tlong toDay = date * 1000L - start;\n\t\tday = (int) (toDay / Constant.DAY);\n\t\tint mod = 1 + day % 7, week = 1 + day / 7;\n\t\treturn new int[] { week, mod };\n\t}", "title": "" }, { "docid": "d985be0066977fa59be593b9f5fef98c", "score": "0.5172262", "text": "long getCheckPeriod();", "title": "" }, { "docid": "7b79b67c696a750f8ccf0a9a97dfcc43", "score": "0.5169708", "text": "public java.lang.Long getPastWeekCount() {\n return pastWeekCount;\n }", "title": "" }, { "docid": "48a7d91d110ac410760120f7df501cef", "score": "0.5168832", "text": "int getSelfCheckPeriodMillis();", "title": "" }, { "docid": "f8079f5eea1cc0d2f4b96e813acc83ea", "score": "0.5162493", "text": "public int getWeek() {\n return week;\n }", "title": "" }, { "docid": "8912773ef9aa630e9a891c5cf0530a10", "score": "0.51551425", "text": "public long getTimePassed()\r\n {\r\n long diff = start - end;\r\n return 0;\r\n }", "title": "" }, { "docid": "94a5dc39c327805915d3fde4b62ba587", "score": "0.5152844", "text": "boolean hasNumEpochs();", "title": "" }, { "docid": "28a8506972a7880e0fab24ba3276bb2a", "score": "0.51478225", "text": "public double daysUntil(ZonedDateTime when) {\n // The number of milliseconds between this epoch and the given epoch\n double nbMillis = zonedDateTime.until(when, ChronoUnit.MILLIS);\n return nbMillis / MILLIS_PER_DAY;\n }", "title": "" }, { "docid": "32ae0f36f4476e49d36f6042d29fd965", "score": "0.5144103", "text": "private boolean checkWeek(LocalDate theAuctionDate)\n\t{\n\t\tint count = 0;\n\t\t \n\t\tif(myAuctionByDateList.containsKey(theAuctionDate))\n\t\t{\n\t\t\tArrayList<AuctionModel> dayOfAuctions = myAuctionByDateList.get(theAuctionDate);\n\t\t\tcount += dayOfAuctions.size();\n\t\t}\t\n\t\tfor(int i = 1; i <=3; i++)\n\t\t{\n\t\t\tif(myAuctionByDateList.containsKey(theAuctionDate.plusDays(i)))\n\t\t\t{\n\t\t\t\tArrayList<AuctionModel> dayAuctions = myAuctionByDateList.get(theAuctionDate.plusDays(i));\n\t\t\t\tcount += dayAuctions.size();\n\t\t\t}\n\t\t\tif(myAuctionByDateList.containsKey(theAuctionDate.minusDays(i)))\n\t\t\t{\n\t\t\t\tArrayList<AuctionModel> dayAuctions = myAuctionByDateList.get(theAuctionDate.minusDays(i));\n\t\t\t\tcount += dayAuctions.size();\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(count >= AuctionsAtCapacityForWeekException.MAX_AUCTIONS_FOR_WEEK)\n\t\t\treturn false;\n\t\telse\n\t\t\treturn true;\n\t}", "title": "" }, { "docid": "eb1812fa760dac179046fbd868b5d0b4", "score": "0.5137957", "text": "public int howManyDaysUntilLongestDayOfTheYear() {\n LocalDate today = LocalDate.now();\n LocalDate longestDay = today.with(Month.JUNE).withDayOfMonth(21);\n return Period.between(today, longestDay).getDays();\n }", "title": "" }, { "docid": "991133b2c96b0b6383940adb9729a07e", "score": "0.5125622", "text": "public Integer getWeek() {\r\n return week;\r\n }", "title": "" }, { "docid": "5a2b6e3e25e32e77985dcd988c9e3f56", "score": "0.51249105", "text": "public static Duration getWeeks(final Integer self) {\n return new Duration(self.intValue() * 7, 0, 0, 0, 0);\n }", "title": "" }, { "docid": "583830c6a56ba4f0518e56a1cae216b3", "score": "0.5102336", "text": "private int getDayOfWeek(int calendarConstant)\n/* */ {\n/* 289 */ return calendarConstant >= getFirstWeekDay() ? calendarConstant - getFirstWeekDay() + 1 : 7 - getFirstWeekDay() + 1 + calendarConstant;\n/* */ }", "title": "" }, { "docid": "0f2d7f215fda92f7e878b49d807ccdd3", "score": "0.509399", "text": "public java.lang.Long getPastWeekUniqueCount() {\n return pastWeekUniqueCount;\n }", "title": "" }, { "docid": "0f8a4992ff3806b354c90e2be471a59d", "score": "0.508205", "text": "public static int getDay() {\n try {\n DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.GERMAN);\n df.format(new Date());\n return df.getCalendar().get(Calendar.DAY_OF_WEEK);\n } catch (Exception e) {\n log.error(\"Exception in der RunningSystemBean, Methode getDay\", e);\n return 0;\n }\n }", "title": "" }, { "docid": "0c0632c6959f0735341a19de3b4feb3d", "score": "0.5077532", "text": "public int getFrequentPoints(int daysRented){\n return 1;\n }", "title": "" }, { "docid": "963654587fcdbbcd8800771e614a889c", "score": "0.507436", "text": "int getNumberOfBusinessDaysBetween(E d1, E d2);", "title": "" }, { "docid": "716596f1efb895647f3c6a44af7e2216", "score": "0.5071377", "text": "public int getPassageDay() {\n\t\t// Get the julian day number.\n\t\tlong time = System.currentTimeMillis();\n\t\tint today = (int) Instant.javaToJulian(time);\n\t\treturn today - passageStart;\n\t}", "title": "" }, { "docid": "259c0d16d1e430d91a07d0b7f9c56322", "score": "0.50670075", "text": "public int vacationLeft(){\n int d = getDays() - getDaysTaken();\n if(d < 0){\n System.out.println(\"ERROR: Too much vacation taken.\");\n }\n else;\n return d;\n }", "title": "" }, { "docid": "288ff7415e32c0bda6e6fffcc55a01fe", "score": "0.50651777", "text": "public int getWeek() {\n return weekNumber;\n }", "title": "" }, { "docid": "a2c03ff60b1d059dd028e42b7fce6a01", "score": "0.5060666", "text": "int getTotalGamesWon();", "title": "" }, { "docid": "bc69e9d74b5603017b30e5d3ba44cd0d", "score": "0.50571096", "text": "public static long getMillisecondsBetweenChecks() {\n int freq = Settings.getUser().getInt(FREQUENCY, FREQUENCY_NEVER);\n long period;\n switch (freq) {\n case FREQUENCY_MONTHLY:\n period = Integer.MAX_VALUE; // approximately 24 days\n break;\n case FREQUENCY_WEEKLY:\n period = (1_000L * 60L * 60L * 24L) * 7L;\n break;\n case FREQUENCY_DAILY:\n period = (1_000L * 60L * 60L * 24L) * 1L;\n break;\n // not quite always: this prevents double updates when a new\n // version of SE is installed, or another update check right\n // after restarting due to a previous update\n case FREQUENCY_ALWAYS:\n period = (1_000L * 60L * 30L);\n break;\n default: // 0, or bad value: never update\n period = Long.MAX_VALUE;\n }\n return period;\n }", "title": "" }, { "docid": "c9642d786ac468def032be38a4513f5c", "score": "0.5053631", "text": "public java.lang.Long getPastWeekUniqueCount() {\n return pastWeekUniqueCount;\n }", "title": "" }, { "docid": "46e04be44e01c7cf6251954a0452f10e", "score": "0.50529814", "text": "public static long diff(Date d1, Date d2) {\n \t \t\n\treturn wdnum(d2) - wdnum(d1);\n }", "title": "" }, { "docid": "fe8655999ccf5067589d8e77bf054d81", "score": "0.50500566", "text": "public int getTotalNightsInTrainStation()\r\n\t{\r\n\t\treturn stationNights;\r\n\t}", "title": "" }, { "docid": "1a79d455bac07285d68257b0bd7f05a7", "score": "0.50482935", "text": "public int getWeekNumber() {\n Calendar c = getCalender();\n return c.get(Calendar.WEEK_OF_YEAR);\n }", "title": "" }, { "docid": "e24df2daabac5258dfcd0b154d43c7a8", "score": "0.50435096", "text": "private int getDayOfWeek(Date d) {\r\n Log.i(TAG_DATABASE_HELPER, \"Enter in getDayOfWeek\");\r\n\r\n Calendar cal = Calendar.getInstance();\r\n cal.setTime(d);\r\n int day = cal.get(Calendar.DAY_OF_WEEK);\r\n assert day >= 0 && day <= 7;\r\n\r\n Log.i(TAG_DATABASE_HELPER, \"Day of week: \" + day);\r\n\r\n Log.i(TAG_DATABASE_HELPER, \"End of getDayOfWeek\");\r\n\r\n return day;\r\n }", "title": "" }, { "docid": "0f6c6b32c256619be8b4447f5a02c183", "score": "0.50401115", "text": "public int numRandomTriesEqualDate(){\n\t\tint day,mes,i;\n\t\ti=0;\n\t\tday=0;\n\t\tmes=0;\n\t\twhile(day!=getDay() && mes!=getMonth()){\n\t\t\tday=(int)(Math.random()*31)+1;\n\t\t\tmes=(int)(Math.random()*12)+1;\n\t\t\ti++;\n\t\t}\n\t\treturn i;\n\t}", "title": "" }, { "docid": "4f571bcf0c235dc300e493b9f9666b05", "score": "0.5027334", "text": "public int getWeekNumber() {\n return weekNumber;\n }", "title": "" }, { "docid": "9eefa98eef49dd917d635fde94e49177", "score": "0.50265115", "text": "public String checkWeekday(String _day) {\n\n if (today == Integer.parseInt(_day)) {\n return getResources().getString(R.string.today);\n } else if ((today + 1 == Integer.parseInt(_day))) {\n return getResources().getString(R.string.tomorrow);\n }\n else {\n return getDayName(_day);\n\n }\n\n }", "title": "" }, { "docid": "a7f14d4eda2c5e8766aabeb71b2e06c7", "score": "0.50248224", "text": "int getTimesByeAndWon();", "title": "" }, { "docid": "5c2300d2a54708ee07803906ceea2f72", "score": "0.5021328", "text": "public int getTotalLearnDay(LearningPath firstLearningPath, LearningPath lastLearningPath) {\n \n int totalLearningDay = 0;\n try {\n LocalDate startLearnDate = firstLearningPath.getStartMilestoneDate();\n LocalDate endLearnDate = lastLearningPath.getEndMilestoneDate();\n \n \n Calendar startDate = Calendar.getInstance();\n startDate.set(startLearnDate.getYear(), startLearnDate.getMonthValue(), startLearnDate.getDayOfMonth());\n\n Calendar endDate = Calendar.getInstance();\n endDate.set(endLearnDate.getYear(), endLearnDate.getMonthValue(), endLearnDate.getDayOfMonth());\n\n while (!startDate.after(endDate)) {\n int day = startDate.get(Calendar.DAY_OF_WEEK);\n if ((day != Calendar.SATURDAY) && (day != Calendar.SUNDAY)) {\n totalLearningDay++;\n }\n // increment start date, otherwise while will give infinite loop\n startDate.add(Calendar.DATE, 1);\n }\n \n } catch (Exception e) {\n // TODO: handle exception\n }\n return totalLearningDay;\n\n }", "title": "" }, { "docid": "6d4edde08139efa588a4568edff83fb4", "score": "0.50147873", "text": "public long getNofPlayed();", "title": "" }, { "docid": "5cfcff8b450181ece3c7e11b834e0cea", "score": "0.501148", "text": "public int getTotalGamesWon() {\n return totalGamesWon_;\n }", "title": "" }, { "docid": "33391b5480eb5dd63c0d8aa274944a3f", "score": "0.5010873", "text": "int getsDaysUntilDate(Date date) {\n return 0;\n }", "title": "" }, { "docid": "bf70889bd23155150ba9d38cdfb116b9", "score": "0.500833", "text": "public int getWeekNo() {\n return weekNumber;\n }", "title": "" }, { "docid": "7de8d718feb0578fa6f61eb4c7c63acd", "score": "0.50057113", "text": "static int DayOfWeek (int month, int day, int year) {\n return (int)((DAY0 + DaysSince1900(month, day, year)) % 7);\n }", "title": "" }, { "docid": "65370824e6e7515b6c31c69c65bba47e", "score": "0.4999438", "text": "int getMeasurementWindowHours();", "title": "" }, { "docid": "6d598ad4c81940b15a276ff69194ae32", "score": "0.49993795", "text": "int getTimesWon3();", "title": "" }, { "docid": "b9abda4620e9aea86bde3527b8863d76", "score": "0.499463", "text": "@Test\n public void getDays_doesntLookEarlierThan1970() {\n assertThat(DateUtil.getDays(DAYS.toMillis(2), DAYS.toMillis(3)))\n .containsExactly(new Date(0), new Date(DAYS.toMillis(1)), new Date(DAYS.toMillis(2)));\n }", "title": "" }, { "docid": "9c698531d20e38752bdb9aba0c6c11e6", "score": "0.49917993", "text": "public int averageNumberOfNightsStayed()\r\n {\r\n int total = 0;\r\n\r\n for (int i = 0; i < guests.size(); i++)\r\n {\r\n total += guests.get(i).getStayDuration();\r\n }\r\n\r\n return total / guests.size();\r\n }", "title": "" }, { "docid": "aac91f8f84c86a1811947deda052b275", "score": "0.4991248", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(numWays(1, 3));\n\t\tSystem.out.println(numWays(2, 3));\n\t\tSystem.out.println(numWays(3, 3));\n\t\tSystem.out.println(numWays(3, 1));\n\t\tSystem.out.println(numWays(0, 0));\n\n\t}", "title": "" }, { "docid": "459b9f802d2d1afe52c1f940a5fcc363", "score": "0.498057", "text": "public int getTotalGamesWon() {\n return totalGamesWon_;\n }", "title": "" }, { "docid": "ae12caf2cfe12658bddeff734b723300", "score": "0.49780592", "text": "public final byte getNumberOfWhites(){ \r\n\t\tbyte total = 0;\r\n\t\tfor(boolean boole: whitePositions)\r\n\t\t\tif(boole==true)\r\n\t\t\t\ttotal++;\r\n\t\treturn total;\r\n\t}", "title": "" }, { "docid": "baa0e1f5991e016da4b5319bb83cc346", "score": "0.4971949", "text": "public int compareDate() {\n\t\tint bob = 0;\n\t\tCalendar range = Calendar.getInstance();\n\t\tCalendar temp = Calendar.getInstance();\n\t\tCalendar today= Calendar.getInstance();\n\t\trange.clear();\n\t\trange.set(Calendar.YEAR, year);\n\t\trange.set(Calendar.MONTH, month-1);\n\t\trange.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n\t\trange.add(Calendar.MONTH, 6);\n\t\ttoday.clear();\n\t\ttoday.set(Calendar.YEAR, temp.get(Calendar.YEAR));\n\t\ttoday.set(Calendar.MONTH, temp.get(Calendar.MONTH));\n\t\ttoday.set(Calendar.DAY_OF_MONTH,\n\t\t\t\ttemp.get(Calendar.DAY_OF_MONTH));\n\t\tif (today.before(range))\n\t\t\tbob = -1;\n\t\telse if (today.equals(range))\n\t\t\tbob = -2;\n\t\telse if (today.after(range))\n\t\t\tbob = -3;\n\t\treturn bob;\n\t}", "title": "" }, { "docid": "a7d74a227fff449b8cf391374ff5a6d5", "score": "0.4969843", "text": "public int getTimePassed(){\n\t\treturn timePassed;\n\t}", "title": "" }, { "docid": "73de3a272a989f36c78b72ccde48e995", "score": "0.4965274", "text": "Integer calculateEventsNumber();", "title": "" }, { "docid": "533d366e669c73b3ef4730c12c8bebe8", "score": "0.49651882", "text": "int getEpsPerSeason();", "title": "" }, { "docid": "e4495c7efb25a5d95f83b8b013785faf", "score": "0.49607918", "text": "public static int getNumberOfLeaveDayInMonth()\n\t{\n int count = 0;\n Calendar c = Calendar.getInstance();\n int WEEK_OF_MONTH\t=\tc.get(Calendar.DAY_OF_MONTH);\n int DAY_OF_WEEK\t\t=\tc.get(Calendar.DAY_OF_WEEK);\n \n\n\t\treturn count;\n\t}", "title": "" }, { "docid": "d2d5d0a49e3df088189f5693b99d3cf2", "score": "0.4938082", "text": "public static int countDays(Date start, Date end) {\n int result = 0;\n Date date = start;\n calendar.setTime(start);\n while (date.before(end)) {\n result++;\n calendar.add(Calendar.DAY_OF_WEEK, 1);\n date = calendar.getTime();\n }\n if (getYear(date).equals(getYear(end))\n && getMonth(date).equals(getMonth(end))\n && getDay(date).equals(getDay(end))) {\n result++;\n }\n return result;\n }", "title": "" }, { "docid": "a3e58cf02c1829394590cb48a4fb3baf", "score": "0.49360245", "text": "protected int getWeekDay() {\n return weekDay;\n }", "title": "" }, { "docid": "784ab9d1b084a1708ff2ef9dfd3347c1", "score": "0.49337", "text": "Money calculateFee(int weeks);", "title": "" }, { "docid": "07e6408411074f5bf3daf81814123b73", "score": "0.4930017", "text": "public static int compareTowDates(Date d1, Date d2) {\n\n\t\tSimpleDateFormat fm = new SimpleDateFormat(\"dd-MM-yyyy\");\n\n\t\tCalendar c1 = Calendar.getInstance();\n\t\tCalendar c2 = Calendar.getInstance();\n\t\tc1.setTime(d1);\n\t\tc2.setTime(d2);\n\n\t\tSystem.out.print(fm.format(c1.getTime()) + \" is \");\n\t\tif (c1.before(c2)) {\n\t\t\tSystem.out.println(\"less than \" + fm.format(c2.getTime()));\n\t\t\treturn -1;\n\t\t} else if (c1.after(c2)) {\n\t\t\tSystem.out.println(\"greater than \" + fm.format(c2.getTime()));\n\t\t\treturn 1;\n\t\t} else if (c1.equals(c2)) {\n\t\t\tSystem.out.println(\"is equal to \" + fm.format(c2.getTime()));\n\t\t\treturn 0;\n\t\t}\n\t\treturn 2;\n\n\t}", "title": "" }, { "docid": "04d2c4e7ae214abe0ee4c3cf97cc6003", "score": "0.49230248", "text": "public static int weekBetween(String from, String to) throws ParseException {\r\n String firstdayofweek = getFirstDayWeek(from);\r\n String lastdayofweek = getLastDayWeek(to);\r\n\r\n int daycnt = daysBetween(firstdayofweek, lastdayofweek);\r\n\r\n return daycnt/7 == 0 ? 1 : (daycnt/7 + 1);\r\n }", "title": "" }, { "docid": "08f1df657b88c2a541e630951238a478", "score": "0.4914197", "text": "public static long getCountDownToo()\n\t{\n\t\treturn SystemwideAlerts.countDownToo;\n\t}", "title": "" }, { "docid": "d16be099fa581eb0e2e330ad8adec388", "score": "0.49119112", "text": "private int getDayOfWeek() {\n\t\tCalendar calendar = Calendar.getInstance();\n\t\tint dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK);\n\t\treturn dayOfWeek;\n\t}", "title": "" } ]
0a3b7723c77376b527f14a80d50fb412
Current same as success
[ { "docid": "9f34b048a3b7d523eba7d87b02308778", "score": "0.0", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n Log.i(\"Image Error.Response\", error.toString());\n successfulImage();\n }", "title": "" } ]
[ { "docid": "87321f8d3c802d449d9be372c8746758", "score": "0.77770656", "text": "@Override\r\n\tpublic void success() {\n\r\n\t}", "title": "" }, { "docid": "a138dd2876973ad1f2e686b337b1ddd4", "score": "0.74811697", "text": "@Override\n\tpublic boolean isSuccess() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "cf03c5a91bc13d709679158179b09eec", "score": "0.74801195", "text": "@Override\r\n public boolean successOperation() {\r\n return true;\r\n\r\n }", "title": "" }, { "docid": "3542ace659664c577147905b7ad51b39", "score": "0.7422886", "text": "boolean getSuccess();", "title": "" }, { "docid": "3542ace659664c577147905b7ad51b39", "score": "0.7422886", "text": "boolean getSuccess();", "title": "" }, { "docid": "8f3dec598ba22509dddd301a083ebecc", "score": "0.73043746", "text": "public abstract boolean isSuccess();", "title": "" }, { "docid": "1d08782618ebb4ed717b012c908e4546", "score": "0.7251815", "text": "@Override\n\t\t\t\t\t\t\t\t\tpublic void success(Position position) {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "71f01f694bf6e326277d580720b77a4e", "score": "0.72286683", "text": "boolean isSuccess();", "title": "" }, { "docid": "71f01f694bf6e326277d580720b77a4e", "score": "0.72286683", "text": "boolean isSuccess();", "title": "" }, { "docid": "db7fda0b3c076bc949094c29f27b9552", "score": "0.7147968", "text": "@Override\n public void markSuccess() {\n }", "title": "" }, { "docid": "b30cf1253e6f241c51ecb85b8a99a70f", "score": "0.7095097", "text": "public void gotSuccess() {\r\n\t\tthis.logError(\"gotSuccess\");\r\n\t}", "title": "" }, { "docid": "8df0bdc4a34a88073012ca7638089424", "score": "0.7057876", "text": "boolean hasSuccess();", "title": "" }, { "docid": "52dfa6372640048b5dfc8b2ce4173d27", "score": "0.7038032", "text": "public boolean isSuccess() {\r\n return success;\r\n }", "title": "" }, { "docid": "79bdefcb2bfee0ad2f62e9e180bfb87e", "score": "0.6998881", "text": "public boolean isSuccess() {\n return success;\n }", "title": "" }, { "docid": "79bdefcb2bfee0ad2f62e9e180bfb87e", "score": "0.6998881", "text": "public boolean isSuccess() {\n return success;\n }", "title": "" }, { "docid": "79bdefcb2bfee0ad2f62e9e180bfb87e", "score": "0.6998881", "text": "public boolean isSuccess() {\n return success;\n }", "title": "" }, { "docid": "6e474769a49f2fc8ba2ea6515ef28b40", "score": "0.6967412", "text": "@Override protected void succeeded(Object result) {\n }", "title": "" }, { "docid": "b104b42943f373ddf05a63ad2b71dc0b", "score": "0.6918442", "text": "public boolean isSuccess() {\n return isSuccess;\n }", "title": "" }, { "docid": "024d63fcec8c7d71a957ea5d2d21af78", "score": "0.69179726", "text": "@Override\n\tpublic boolean forceSuccessStatus() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "994ebcc268950a178107fb5c56e93fff", "score": "0.68327314", "text": "public boolean isSuccessful();", "title": "" }, { "docid": "027bb01b7724b11cdbf8f3555e6ff758", "score": "0.6825791", "text": "public boolean isSuccess() {\n\t\treturn success;\n\t}", "title": "" }, { "docid": "f0b482c39628d21409c2abd1426bb60f", "score": "0.6794735", "text": "boolean isSuccessful();", "title": "" }, { "docid": "f0b482c39628d21409c2abd1426bb60f", "score": "0.6794735", "text": "boolean isSuccessful();", "title": "" }, { "docid": "f00a3de169967fdfce897ac3bbc66d46", "score": "0.67882466", "text": "public final boolean isSuccess ()\n {\n return this.success;\n }", "title": "" }, { "docid": "13b0dffad734f857bbde2a4990f40d51", "score": "0.67857426", "text": "public void setSuccess(boolean success) {\n this.success = success;\n }", "title": "" }, { "docid": "92f86d5ddedd5d16d99b9ef9731a6a7b", "score": "0.6766852", "text": "public boolean getSuccess() {\n return success_;\n }", "title": "" }, { "docid": "a3e22f5bc3185f3c4009be75ab5aa0c1", "score": "0.67633", "text": "@Override\n public void onSuccess() {\n }", "title": "" }, { "docid": "18fb27f45f009c6f069a7cb9fa100219", "score": "0.67614007", "text": "@Override\n public void success(Object data) {\n }", "title": "" }, { "docid": "0c21fd31fe1db64d68b4c3198d6023bb", "score": "0.67577606", "text": "public void setSuccess(boolean value) {\r\n this.success = value;\r\n }", "title": "" }, { "docid": "e7363ef19c2ab81ff44c3a7d2e929d06", "score": "0.67470765", "text": "public void setSuccess(boolean success) {\r\n\t\tthis.success = success;\r\n\t}", "title": "" }, { "docid": "6870d5d64cfd3842b399e385c1061392", "score": "0.67411506", "text": "boolean isSuccess() {\n\t\treturn status.equals(StatusEnum.SUCCESS.getStatus()) || status.equals(\"\");\n\t}", "title": "" }, { "docid": "215914a489eb980b199ece34cc4027e4", "score": "0.67260325", "text": "boolean getIsSuccessful();", "title": "" }, { "docid": "dde33125c1b6cd88ae402a08f7db9e61", "score": "0.6707564", "text": "@Override\n public void onSuccess() {\n\n }", "title": "" }, { "docid": "3d9d8fc86484d4b539f578292112ccdc", "score": "0.669897", "text": "@Override\n public void onSuccess() {\n }", "title": "" }, { "docid": "3d9d8fc86484d4b539f578292112ccdc", "score": "0.669897", "text": "@Override\n public void onSuccess() {\n }", "title": "" }, { "docid": "3d9d8fc86484d4b539f578292112ccdc", "score": "0.669897", "text": "@Override\n public void onSuccess() {\n }", "title": "" }, { "docid": "3d9d8fc86484d4b539f578292112ccdc", "score": "0.669897", "text": "@Override\n public void onSuccess() {\n }", "title": "" }, { "docid": "e9a1dbffaab00388ff64f24f61798865", "score": "0.66980016", "text": "public boolean getSuccess() {\n return success_;\n }", "title": "" }, { "docid": "ef7a4addab15bde84e3458de99bb7209", "score": "0.669033", "text": "@Override\n public void onSuccess() {\n\n }", "title": "" }, { "docid": "ef7a4addab15bde84e3458de99bb7209", "score": "0.669033", "text": "@Override\n public void onSuccess() {\n\n }", "title": "" }, { "docid": "ef7a4addab15bde84e3458de99bb7209", "score": "0.669033", "text": "@Override\n public void onSuccess() {\n\n }", "title": "" }, { "docid": "dc8fc53ee426d7bee5ef2ae0bead7564", "score": "0.66898674", "text": "@Override\n public void onSuccess() {\n\n }", "title": "" }, { "docid": "76f5cda4836408b0e40972f3e033c1b2", "score": "0.66866916", "text": "@Override\n\tpublic boolean isActionSuccess() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4c72cca43a7edf0e5f03d14824605ab8", "score": "0.6680704", "text": "@Override\r\n\t\t\tpublic void onSuccess(Boolean result) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "caa058b522bcc5042b90d72db8e4dbd0", "score": "0.6679349", "text": "@Override\n\t\t\tpublic void onSuccess() {\n\t\t\t\thttpEnd();\n\t\t\t\teditSuccessMethod(result);\n\t\t\t}", "title": "" }, { "docid": "0051c485f16ca9bd717918f265836da4", "score": "0.6667906", "text": "@Override\n public void onSuccess() {\n }", "title": "" }, { "docid": "0051c485f16ca9bd717918f265836da4", "score": "0.6667906", "text": "@Override\n public void onSuccess() {\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "5713b7f2c4ba9c64eb4eda4918ce0429", "score": "0.6642206", "text": "public boolean is_set_success() {\n return this.success != null;\n }", "title": "" }, { "docid": "6322e3c40e26a55a01e722ec97d7539d", "score": "0.66253304", "text": "public boolean isSuccess() {\n return getLevel() == Level.SUCCESS;\n }", "title": "" }, { "docid": "2f6514af57459821d0b0ab90a4ce02bf", "score": "0.6622385", "text": "protected void onComplete (boolean success)\n {\n }", "title": "" }, { "docid": "a476a66bd12924887af9d4fb8afcd743", "score": "0.660537", "text": "@Override\n public String toString() {\n return result + \" \" + success;\n }", "title": "" }, { "docid": "8d1e388f7cea5c1f70e00d8ec8a00567", "score": "0.6577918", "text": "public boolean isSuccess() {\n return error == null;\n }", "title": "" }, { "docid": "ac7855db483a27f1aa54fcf3bf2ec09b", "score": "0.65613794", "text": "public abstract String getOk();", "title": "" }, { "docid": "bc96f6ae00f65a19f3060a64ffea9d0c", "score": "0.65399146", "text": "public boolean hasSuccess() {\n return instance.hasSuccess();\n }", "title": "" }, { "docid": "cabe309ede974f4e43d86a7a337dba86", "score": "0.6538776", "text": "@Override\n\t\t\tpublic void response(boolean success, String message) {\n\n\t\t\t}", "title": "" }, { "docid": "bcfaa0f11a171d22787f43aad61f4120", "score": "0.65313834", "text": "void showSuccess();", "title": "" }, { "docid": "bbb1a04ba67f51671056162e5ecb71ca", "score": "0.6516246", "text": "public boolean hasSuccess() {\n return success_ != null;\n }", "title": "" }, { "docid": "f32af674aadac8291944faace1a99b9d", "score": "0.6485393", "text": "public void success(String str) {\n }", "title": "" }, { "docid": "cda5ac2f482d403f2695aafdc1b4f235", "score": "0.6484116", "text": "public void success() {\n successCallback.invoke(\"Success\");\n }", "title": "" }, { "docid": "396ab24213533b96dd28aa80bb8331da", "score": "0.64837503", "text": "public boolean isSuccess() {\n\t\tif (mResult.equals(ActionResult.SUCCESS)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c9d6afd7edd3e020036ceae6d38b4524", "score": "0.6455592", "text": "boolean hasIsSuccessful();", "title": "" }, { "docid": "c1b4037cc97f690bc9025c54439839f8", "score": "0.6429198", "text": "@Override\n public void getSuccess(String successJson) {\n }", "title": "" }, { "docid": "50484ef1ef9880500fd4e8670e9efa34", "score": "0.64291066", "text": "public boolean isSuccess() {\n return !success.contains(false);\n }", "title": "" }, { "docid": "19554ee91781f1f9827ca69300d15918", "score": "0.64271724", "text": "public boolean isSuccessful() {\n\t\treturn status == Status.OK;\n\t}", "title": "" }, { "docid": "efb7db0addd80e7d3fa0f4d550c2d91f", "score": "0.64228636", "text": "@Override protected void succeeded(Object o) {\n String iconName = \"\";\n String newLargeMessage = \"\";\n\t\tString NewDetailMessage = \"\";\n\n setIsUp(isNowUp);\n setIsRunning(isNowRunning);\n\t\tif(isNowUp)\n\t\t{\n\t\t\tif (isNowRunning) {\n\t\t\t\t newLargeMessage = \"WebSYNC is running\";\n\t\t\t\t iconName = \"okIcon\";\n\t\t\t\t NewDetailMessage = \"\";\n\t\t\t} else {\n\t\t\t\t newLargeMessage = \"WebSYNC is sleeping\";\n\t\t\t\t iconName = \"sleepIcon\";\n\t\t\t\t NewDetailMessage = \"\";\n\t\t\t}\n\t\t} else\n\t\t{\n\t\t\ticonName = \"badIcon\";\n\t\t\tif(isAlive.equals(\"dead\"))\n\t\t\t{\n\t\t\t\tnewLargeMessage=\"WebSYNC has stopped\";\n\t\t\t\tNewDetailMessage = \"The service appears to have stopped\";\n\t\t\t} else\n\t\t\t{\n\t\t\t\tnewLargeMessage=\"WebSYNC has not yet started\";\n\t\t\t\tNewDetailMessage = \"Make sure that WebSYNC has been configured to run\";\n\t\t\t}\n\t\t}\n\t\tNewDetailMessage=\"<html>\"+NewDetailMessage;\n\n\t\tDate date=new Date();\n\t\tSimpleDateFormat formatter = new SimpleDateFormat(\"EEE, d MMM yyyy, HH:mm\");\n\t\ttry{\n\t\t\tString websyncStatus=((HashMap)Status.get(\"websyncStatus\")).get(\"commentary\").toString();\n\t\t\tif(!websyncStatus.equals(\"\")) {\n\t\t\t\tdate.setTime((long)Integer.parseInt(((HashMap)Status.get(\"websyncStatus\")).get(\"date\").toString())*1000);\n\t\t\t\tif(NewDetailMessage.equals(\"\")) NewDetailMessage+= \"<hr>\";\n\t\t\t\tNewDetailMessage+= \"<p>\"+\"Last WebSYNC status summary, as at \"+\n\t\t\t\tformatter.format(date)+\n\t\t\t \"</p><p>\"+websyncStatus+\"</p>\";\n\t\t\t}\n\t\t} catch(Exception e){}\n\n\t\ttry{\n\t\t\tString knStatus=((HashMap)Status.get(\"knStatus\")).get(\"commentary\").toString();\n\t\t\tif(!knStatus.equals(\"\")) {\n\t\t\t\tdate.setTime((long)Integer.parseInt(((HashMap)Status.get(\"knStatus\")).get(\"date\").toString())*1000);\n\t\t\t\tNewDetailMessage+= \"<hr><p>\"+\"Last LMS status summary, as at \"+\n\t\t\t\tformatter.format(date)+\n\t\t\t \"</p><p>\"+ knStatus+\"</p>\";\n\t\t\t}\n\t\t} catch(Exception e){}\n\t\tNewDetailMessage+=\"</html>\";\n\n setIcon(iconName);\n setLargeIcon(iconName + \"Large\");\n setLargeMessage(newLargeMessage);\n setDetailMessage(NewDetailMessage);\n }", "title": "" }, { "docid": "149a777b22de3606b683cfcd85bbe106", "score": "0.6381779", "text": "public boolean isSuccessful() {\n if (this == COMPLETED) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "56e4d8d0ee7626835b5ec6e7a03d642f", "score": "0.6377979", "text": "@Override\n public void onSuccess() {\n\n Log.i(LOG_TAG, \"Sono riuscito a connettermi con il dispositivo remoto. Aspetto le informazioni di connessione.\");\n }", "title": "" }, { "docid": "5d22370a5044526d5d696e2717eef548", "score": "0.63753134", "text": "public boolean isSuccess() {\n return failureReason == null;\n }", "title": "" }, { "docid": "5d2ad5c0415cdf2d1cbe66fa00d0e521", "score": "0.6369339", "text": "public boolean getIsSuccessful() {\n return isSuccessful_;\n }", "title": "" }, { "docid": "a9da68f0769cd313c1f4cf92cb3c7b6a", "score": "0.6367772", "text": "@Override\n\tpublic boolean GetIsSuccess() {\n\t\treturn isOK;\n\t}", "title": "" }, { "docid": "1e4caa750c5f61552ddabc8fcf947ab6", "score": "0.63525856", "text": "public Byte getIsSuccess() {\n return isSuccess;\n }", "title": "" }, { "docid": "9f9d9091aeb9bbb4f99e1e82bc03ce7b", "score": "0.6346315", "text": "public boolean isSuccess() {\n return _httpResponseCode > 199 && _httpResponseCode < 300;\n }", "title": "" }, { "docid": "559501496506e11974268836500eb2f7", "score": "0.63381743", "text": "public boolean getSuccess()\n {\n return transactionFailure == null;\n }", "title": "" }, { "docid": "c6e1ec7a052220027c55121014532550", "score": "0.63341653", "text": "public void success(T value);", "title": "" }, { "docid": "966db26d87b3798720370edc6714a30c", "score": "0.63250214", "text": "@Override\n\t\t\tpublic void getUpateCallBack(boolean success) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "68f4655bb98e03cc25cdda7ec9e8d99e", "score": "0.63176733", "text": "public boolean getIsSuccessful() {\n return isSuccessful_;\n }", "title": "" }, { "docid": "cde24d7736c97cad998973f962b3f352", "score": "0.63163275", "text": "public void setSuccess(java.lang.Boolean success) {\n\t\tthis.success = success;\n\t}", "title": "" }, { "docid": "bdb8265a330849420c2c833412028db8", "score": "0.6314081", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\tToast.makeText(getApplicationContext(), \"success\", Toast.LENGTH_LONG).show();\r\n\t\t\t\t}", "title": "" }, { "docid": "a0e07b36d6617a0244fdf34447322e88", "score": "0.6307964", "text": "public void setSuccess(boolean success) {\n this.success.add(success);\n }", "title": "" }, { "docid": "c960c0540a422e9b255bed0b239977e8", "score": "0.6304629", "text": "private Outcome getDeliverySuccess()\n {\n return isTransactional() ? Outcome.PREPARED_FOR_DELIVERY : Outcome.DELIVERED;\n }", "title": "" }, { "docid": "b7053258a5fe7f422a8e1f0f4fd5b70a", "score": "0.6304314", "text": "@Override\n \tpublic String isOK() {\n \t\treturn null;\n \t}", "title": "" }, { "docid": "83902273431ffbd3c9e97318cda50967", "score": "0.63029826", "text": "@Override\n\t\t\t\t\tpublic void onSuccess(Void result) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "11d0a52571dc8eee75e8bb6f2b607fe6", "score": "0.62957156", "text": "public void onSuccess();", "title": "" }, { "docid": "11d0a52571dc8eee75e8bb6f2b607fe6", "score": "0.62957156", "text": "public void onSuccess();", "title": "" }, { "docid": "5d8c2ba07246b3bf215617d4b74c50bb", "score": "0.62944293", "text": "static void logSuccess()\r\n {\r\n log(\" succeeded\");\r\n }", "title": "" }, { "docid": "955d771f3bb81f60c4e1437c6ea65108", "score": "0.62821525", "text": "public String status(){\n if (isDone) {\n return \"true\";\n }\n else{\n return \"false\";\n }\n }", "title": "" }, { "docid": "a64cfed3eadd642904320de1d1ef7590", "score": "0.62759984", "text": "protected abstract void didSuccess(T result);", "title": "" }, { "docid": "130aa6d514de9eedb54ebcda527fce0e", "score": "0.62520057", "text": "public boolean isSetSuccess() {\r\n return this.success != null;\r\n }", "title": "" }, { "docid": "130aa6d514de9eedb54ebcda527fce0e", "score": "0.62520057", "text": "public boolean isSetSuccess() {\r\n return this.success != null;\r\n }", "title": "" }, { "docid": "130aa6d514de9eedb54ebcda527fce0e", "score": "0.62520057", "text": "public boolean isSetSuccess() {\r\n return this.success != null;\r\n }", "title": "" } ]
2e9d0e2f6241fd8a7e1fa7c9464cb280
Returns the result of interpreting the object as an instance of 'Generalization Set'. This implementation returns null; returning a nonnull result will terminate the switch.
[ { "docid": "e74e0247f464082debed177300127918", "score": "0.7607173", "text": "public T caseGeneralizationSet(GeneralizationSet object) {\r\n\t\treturn null;\r\n\t}", "title": "" } ]
[ { "docid": "ff74a0c1ca144a87ec10d0e95834e4a1", "score": "0.6458065", "text": "public T caseGeneralization(Generalization object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "38b7620d5783c628d32e1337e6054ba8", "score": "0.5522752", "text": "public T casePSet(PSet object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9d33f33f14c54b026cfe701e93ef9317", "score": "0.52123666", "text": "public T caseStructuralVariation(StructuralVariation object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "78420c769ebaf3f9854f06c1afb08130", "score": "0.51605856", "text": "public T caseGeneralQueries(GeneralQueries object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "2ee8f44beb66c841fe52eb9931e09997", "score": "0.5130084", "text": "@Override\n\tpublic <T> Set<T> getSet(String name) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f4e34123d29a535c84da3d7ef9c08624", "score": "0.5117695", "text": "public String getGeneralTypOfDisease() {}", "title": "" }, { "docid": "0a204e2f20b151b1da014535f75e293e", "score": "0.50757986", "text": "public T caseColumnSet(ColumnSet object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "15ab2a4089a21209d6cee11367dfecc0", "score": "0.5021787", "text": "public SubstitutionSet[] getSubstitutionSet()\n {\n return (SubstitutionSet[])_objSubstitutionSet.toArray(\n new SubstitutionSet[0]);\n }", "title": "" }, { "docid": "4cc052811fa3fc441b87f7e9d41b1657", "score": "0.5018947", "text": "public T casesedML(sedML object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "621c2a20c3d3454a578714ee6c5d6836", "score": "0.50103426", "text": "java.lang.String getVariantClassification();", "title": "" }, { "docid": "693afb821d581d6593bae136d7cb477c", "score": "0.496529", "text": "public UnicodeSet getTailoredSet() {\n/* 507 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "022a6eed2c85073ed7a884836425b266", "score": "0.49626067", "text": "public T caseAssociaton(Associaton object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2987294424ed4170c9a4b0d880f67900", "score": "0.49573308", "text": "public T caseOutputRepresentation(OutputRepresentation object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "3185ae84dbbd46953472bb29539e50ad", "score": "0.4952484", "text": "public OclRoot getOclRepresentationForNull(Class c)\n\t{\n\t\tif(java.lang.String.class==c)\n\t\t{\n\t\t\treturn new OclString(\"\");\n\t\t}\n\t\telse if(Collection.class.isAssignableFrom(c))\n\t\t{\n\t\t\tif(Set.class.isAssignableFrom(c) || (Ocl.TAKE_VECTORS_AS_SET && (Vector.class.isAssignableFrom(c))))\n\t\t\t{\n\t\t\t\treturn new OclSet(new HashSet());\n\t\t\t}\n\t\t\telse if(List.class.isAssignableFrom(c))\n\t\t\t{\n\t\t\t\treturn new OclSequence(new ArrayList());\n\t\t\t}\n\t\t\tthrow new OclException(\"encountered a java.util.Collection, which is neither Set or List.\");\n\t\t}\n\t\telse if(c.isArray())\n\t\t{\n\t\t\treturn new OclSequence(new ArrayList());\n\t\t}\n\t\telse\n\t\t\treturn null;\n\t}", "title": "" }, { "docid": "4dd817cd058dcd8ba8c82fd160fc1a97", "score": "0.49479085", "text": "private static SetDefinition translateSet(Node set, String owner) {\r\n\t\tString setId;\t\t\t\t\t\t\t//The name of a predefined set\r\n\t\tString setNodeName;\t\t\t\t\t\t//The name of the node at the head of the set\r\n\t\tArrayList<Node> subsets;\t\t\t\t//Some sets that are used to create the set\r\n\t\tArrayList<String> boundVariables;\t\t//The bound variables of the given set\r\n\t\tArrayList<String> subsetBoundVariables;\t//The bound variables of a subset of the given set\r\n\t\tArrayList<String> subsetsBoundVariables;//The bound variables in combined subsets of the given set\r\n\t\tInteger numSubsets;\t\t\t\t\t\t//The number of sets that are used to create the set\r\n\t\tInteger numBoundVariables;\t\t\t\t//The number of bound variables in a set\r\n\t\tInteger subsetNumBoundVariables;\t\t//The number of bound variables in that subset\r\n\t\tUnionRestriction restriction;\t\t\t//One subset in a <union> block\r\n\t\tSetDefinition subsetSPARQL;\t\t\t\t//The SPARQL translation of that subset\r\n\t\tString s1,s2;\t\t\t\t\t\t\t//Specifies whether an \"s\" should be printed\r\n\t\tInteger count;\t\t\t\t\t\t\t//For counting iterations of loops\r\n\t\tString warning;\t\t\t\t\t\t\t//A message to let the user know there might be a problem\r\n\t\tSetDefinition returnValue;\r\n\t\t\r\n\t\treturnValue = new SetDefinition();\r\n\t\tsetNodeName = set.getNodeName();\r\n\t\tsetNodeName = setNodeName.toLowerCase();\r\n\t\tif ((setNodeName.equalsIgnoreCase(\"ci\")) || (setNodeName.equalsIgnoreCase(\"what\"))) {\r\n\t\t\tsetId = set.getTextContent().trim();\r\n\t\t\tif (Global.isSetId(setId)) {\t\t\t//Just make sure\r\n\t\t\t\tif (Global.hasDefinition(setId)) {\r\n\t\t\t\t\treturnValue = (SetDefinition)Global.getDefinition(setId,\"a <\"+setNodeName+\"> in \"+owner);\r\n\t\t\t\t\tGlobal.unableToRespondMessage.addAll(returnValue.getUnableToRespondMessage());\r\n\t\t\t\t\tfindDefinitionsInSet(returnValue);\r\n\t\t\t\t} else {\r\n\t\t\t\t\twarning = \r\n\t\t\t\t\t\t\t\"WARNING in XMLToSPARQLTranslator.translateSet in a <\" + setNodeName + \r\n\t\t\t\t\t\t\t\"> in \" + owner + \": Found an undefined set name, \\\"\" + setId + \"\\\".\";\r\n\t\t\t\t\tSystem.err.println(warning);\r\n\t\t\t \tGlobal.unableToRespondMessage.add(warning);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.err.println(\r\n\t\t\t\t\t\t\"WARNING in XMLToSPARQLTranslator.translateSet in a <\" + setNodeName +\r\n\t\t\t\t\t\t\"> in \" + owner + \": The set name, \\\"\" + setId + \"\\\", should begin with \\\"set-\\\".\");\r\n\t\t\t}\r\n\t\t} else if (Global.SET_OPERATORS.contains(setNodeName)) {\t\t//Is it a set operator?\r\n\t\t\tif (setNodeName.equalsIgnoreCase(\"intersection\")) {\r\n\t\t\t\tnumSubsets = 0;\t\t\t\t\t\t\t\t\t//Initialize\r\n\t\t\t\tnumBoundVariables = 0;\t\t\t\t\t\t\t//Initialize\r\n\t\t\t\tsubsets = Global.getChildNodes(set,owner);\r\n\t\t\t\tfor (Node subset : subsets) {\r\n\t\t\t\t\treturnValue = Global.getUnion(\r\n\t\t\t\t\t\t\treturnValue,\r\n\t\t\t\t\t\t\ttranslateSet(subset,\"an <intersection> in \"+owner));\r\n\t\t\t\t\tif (numSubsets == 0) {\r\n\t\t\t\t\t\tnumBoundVariables = returnValue.getBoundVariables().size();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsubsetNumBoundVariables = \r\n\t\t\t\t\t\t\t\treturnValue.getBoundVariables().size() - numBoundVariables*numSubsets;\r\n\t\t\t\t\t\tif (numBoundVariables != subsetNumBoundVariables) {\r\n\t\t\t\t\t\t\tif (numBoundVariables == 1) { s1 = \"\"; }\r\n\t\t\t\t\t\t\telse { s1 = \"s\"; }\r\n\t\t\t\t\t\t\tif (subsetNumBoundVariables == 1) { s2 = \"\"; }\r\n\t\t\t\t\t\t\telse { s2 = \"s\"; }\r\n\t\t\t\t\t\t\twarning = \r\n\t\t\t\t\t\t\t\t\t\"WARNING in XMLToSPARQLTranslator.translateSet in an \" +\r\n\t\t\t\t\t\t\t\t\t\"<intersection> in \" + owner + \": It's not possible \" + \r\n\t\t\t\t\t\t\t\t\t\"to intersect a set that has \" + numBoundVariables + \r\n\t\t\t\t\t\t\t\t\t\" bound variable\" + s1 + \" with a set that has \" + \r\n\t\t\t\t\t\t\t\t\tsubsetNumBoundVariables + \" bound variable\" + s2 + \".\";\r\n\t\t\t\t\t\t\tSystem.err.println(warning);\r\n\t\t\t\t\t \tGlobal.unableToRespondMessage.add(warning);\r\n\t\t\t\t\t\t\tnumBoundVariables = Math.min(numBoundVariables,subsetNumBoundVariables);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tsubsetsBoundVariables = returnValue.getBoundVariables();\r\n\t\t\t\t\t\tfor (count = 0; count < numBoundVariables; count++) {\r\n\t\t\t\t\t\t\treturnValue.addRestriction(\r\n\t\t\t\t\t\t\t\t\t\"FILTER (\" + subsetsBoundVariables.get(count) + \" = \" + \r\n\t\t\t\t\t\t\t\t\tsubsetsBoundVariables.get(count + (numBoundVariables * numSubsets)) + \r\n\t\t\t\t\t\t\t\t\t\") .\",\r\n\t\t\t\t\t\t\t\t\tfalse);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tnumSubsets++;\r\n\t\t\t\t}\r\n\t\t\t} else if (setNodeName.equalsIgnoreCase(\"union\")) {\r\n\t\t\t\tnumSubsets = 0;\t\t\t\t\t\t\t\t\t//Initialize\r\n\t\t\t\tnumBoundVariables = 0;\t\t\t\t\t\t\t//Initialize\r\n\t\t\t\tsubsetBoundVariables = new ArrayList<String>();\t//Initialize\r\n\t\t\t\tboundVariables = new ArrayList<String>();\t\t//Initialize\r\n\t\t\t\trestriction = new UnionRestriction();\t\t\t//Initialize\r\n\t\t\t\tsubsets = Global.getChildNodes(set,owner);\r\n\t\t\t\tfor (Node subset : subsets) {\r\n\t\t\t\t\tsubsetSPARQL = translateSet(subset,\"a <union> in \"+owner);\r\n\t\t\t\t\tif (numSubsets == 0) {\r\n\t\t\t\t\t\tboundVariables = subsetSPARQL.getBoundVariables();\r\n\t\t\t\t\t\tnumBoundVariables = boundVariables.size();\r\n\t\t\t\t\t\treturnValue.addBoundVariables(boundVariables);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsubsetBoundVariables = subsetSPARQL.getBoundVariables();\r\n\t\t\t\t\t\tsubsetNumBoundVariables = subsetBoundVariables.size();\r\n\t\t\t\t\t\tif (numBoundVariables != subsetNumBoundVariables) {\r\n\t\t\t\t\t\t\tif (numBoundVariables == 1) { s1 = \"\"; }\r\n\t\t\t\t\t\t\telse { s1 = \"s\"; }\r\n\t\t\t\t\t\t\tif (subsetNumBoundVariables == 1) { s2 = \"\"; }\r\n\t\t\t\t\t\t\telse { s2 = \"s\"; }\r\n\t\t\t\t\t\t\twarning = \r\n\t\t\t\t\t\t\t\t\t\"WARNING in XMLToSPARQLTranslator.translateSet in a <union> in \" + \r\n\t\t\t\t\t\t\t\t\towner + \": It's not possible to form the union of a set that has \" + \r\n\t\t\t\t\t\t\t\t\tnumBoundVariables + \" bound variable\" + s1 + \" and a set that has \" + \r\n\t\t\t\t\t\t\t\t\tsubsetNumBoundVariables + \" bound variable\" + s2 + \".\";\r\n\t\t\t\t\t\t\tSystem.err.println(warning);\r\n\t\t\t\t\t \tGlobal.unableToRespondMessage.add(warning);\r\n\t\t\t\t\t\t\tnumBoundVariables = Math.min(numBoundVariables,subsetNumBoundVariables);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tfor (count = 0; count < numBoundVariables; count++) {\r\n\t\t\t\t\t\t\tsubsetSPARQL.replaceVariable(\r\n\t\t\t\t\t\t\t\t\tsubsetBoundVariables.get(count),boundVariables.get(count),owner);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tnumSubsets++;\r\n\t\t\t\t\trestriction.addRestrictionsGroup(subsetSPARQL.getRestrictions());\r\n\t\t\t\t}\r\n\t\t\t\treturnValue.addRestriction(restriction);\r\n\t\t\t} else if (setNodeName.equalsIgnoreCase(\"cardinality\")) {\r\n\t\t\t\twarning = \r\n\t\t\t\t\t\t\"WARNING in XMLToSPARQLTranslator.translateSet in \" + owner + \r\n\t\t\t\t\t\t\": Found a <cardinality> node where a set should be specified.\";\r\n\t\t\t\tSystem.err.println(warning);\r\n\t\t \tGlobal.unableToRespondMessage.add(warning);\r\n\t\t\t} else {\r\n\t\t\t\twarning = \r\n\t\t\t\t\t\t\"WARNING in XMLToSPARQLTranslator.translateSet in \" + owner + \r\n\t\t\t\t\t\t\": Bug detected. Contact Ken Samuel.\";\r\n\t\t\t\tSystem.err.println(warning);\r\n\t\t \tGlobal.unableToRespondMessage.add(warning);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\twarning = \r\n\t\t\t\t\t\"WARNING in XMLToSPARQLTranslator.translateSet in \" + owner + \r\n\t\t\t\t\t\": Found a <\" + setNodeName + \"> where a set should be specified.\";\r\n\t\t\tSystem.err.println(warning);\r\n\t \tGlobal.unableToRespondMessage.add(warning);\r\n\t\t}\r\n\t\treturn returnValue;\r\n\t}", "title": "" }, { "docid": "48fba992faede5eeeaa2871ac3ff7574", "score": "0.49334663", "text": "public T caseGraph(Graph object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2768fa17046d2524100b569574b1c0d6", "score": "0.49119392", "text": "public StringSet(Object obj) {\r\n\tif(obj != null) {\r\n\t\tif(obj instanceof StringSet) {\r\n\t\t\tStringSet ref = (StringSet)obj;\r\n\t\t\tStringSet_ = ref.StringSet_;\r\n\t\t\tCapacity_ = ref.Capacity_;\r\n\t\t\tMyArray = ref.MyArray;\r\n\t\t}//end if\r\n\t}//end if Precondition\r\n\t}", "title": "" }, { "docid": "8cd53d18f3a8c4622a5cf6106b5720c0", "score": "0.49035695", "text": "public T caseCollection(Collection object)\r\n {\r\n return null;\r\n }", "title": "" }, { "docid": "95c86a29acb3cb82bdb8e03334c0530e", "score": "0.4892308", "text": "public java.lang.String getRegulationSet(){\n return localRegulationSet;\n }", "title": "" }, { "docid": "855f58ceab3768430e3ea46ada1d3ddf", "score": "0.4862126", "text": "public T caseClass(umlMM.Class object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "68157946a3d5ea600f08bcb3a85a7313", "score": "0.48501852", "text": "public static String map(SemanticObject res) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5ece917994ad574eab5a2cd4ede3dc2f", "score": "0.48453382", "text": "com.github.jtendermint.jabci.types.Types.ResponseSetOption getSetOption();", "title": "" }, { "docid": "807f392acfab5792e5991f200ce0271a", "score": "0.48387942", "text": "public T caseXMLSchema(XMLSchema object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c6b04c43faa2a6363b4edbe3cf28b055", "score": "0.48367113", "text": "@Override\n\tpublic normalizationInterface getNormalization() {\n\t\treturn new DISCNormalization();\n\t}", "title": "" }, { "docid": "ae3eb9d63b5aaf152c98129ec5658db4", "score": "0.48026755", "text": "public abstract boolean isGeneral();", "title": "" }, { "docid": "1a3b6d8084b04fa6254b2a181b385c77", "score": "0.47886962", "text": "@Override\n\tpublic T1 defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8e57fdc288c9a04490d4f116e94ae30d", "score": "0.47843397", "text": "public LinkedHashSet<NamedType> getTypeHierarchy() {\n\t\tif(null == typeHeirarchy)\n\t\t{\n\t\t\t//TODO: it would be able to create an anon class in here\n\t\t\t//Breadth first search\n\t\t\tQueue<ClassDefTree> q = new LinkedList<ClassDefTree>();\n\t\t\t\n\t\t\tLinkedHashSet<NamedType> ret = new LinkedHashSet<NamedType>();\n\n\t\t\tnode = node.equals(typeCObj)?typeObj:node;\n\t\t\t\n\t\t\tint hreadArrayLevels = (int)node.getArrayLevels();\n\t\t\t\n\t\t\tret.add( node );// new NamedType(node.getSetClassDef(), hreadArrayLevels) );\n\t\t\t//ret.add( new NamedType(node.getSetClassDef(), hreadArrayLevels) );\n\t\t\tq.addAll(this.superClases);\n\t\t\t\n\t\t\twhile(!q.isEmpty())\n\t\t\t{\n\t\t\t\tClassDefTree head = q.remove();\n\t\t\t\tif(null!= head.node && !head.node.getPrettyName().equals(obj))\n\t\t\t\t{\n\t\t\t\t\tif(!ret.contains(head.node))\n\t\t\t\t\t{\n\t\t\t\t\t\tNamedType nodola = head.node.copyTypeSpecific();\n\t\t\t\t\t\tnodola = nodola.equals(typeCObj)?typeObj:nodola;\n\t\t\t\t\t\tnodola.setArrayLevels(hreadArrayLevels);\n\t\t\t\t\t\tret.add(nodola);\n\t\t\t\t\t}\n\t\t\t\t\tfor(ClassDefTree dude : head.superClases)\n\t\t\t\t\t{\n\t\t\t\t\t\tq.add(dude);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\ttypeHeirarchy = ret;\n\t\t}\n\t\t\n\t\treturn typeHeirarchy;\n\t}", "title": "" }, { "docid": "67d6479a50165483058eb34c3deb74e0", "score": "0.47829887", "text": "public CS getSubsetCode() { return CSnull.NI; /* should be NA, but that causes trouble for string-literal hibernated properties. */ }", "title": "" }, { "docid": "19a3fc491ed4724cea4c18a4879109a6", "score": "0.4781516", "text": "public ConversationSelectionSet getSelectedSet();", "title": "" }, { "docid": "56badad869e75868bb08ba2cc4d55b15", "score": "0.47750303", "text": "public T caseUnionDef(UnionDef object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "09880376963c4073ff8dfef161d6e90c", "score": "0.47692296", "text": "public SubstitutionSet getSubstitutionSet(int index)\n {\n return (SubstitutionSet)_objSubstitutionSet.get(index);\n }", "title": "" }, { "docid": "1923b48df4690947caa6faa84125ee0e", "score": "0.4752455", "text": "@Override\r\n\tpublic T defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "1923b48df4690947caa6faa84125ee0e", "score": "0.4752455", "text": "@Override\r\n\tpublic T defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "1923b48df4690947caa6faa84125ee0e", "score": "0.4752455", "text": "@Override\r\n\tpublic T defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "1923b48df4690947caa6faa84125ee0e", "score": "0.4752455", "text": "@Override\r\n\tpublic T defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "1923b48df4690947caa6faa84125ee0e", "score": "0.4752455", "text": "@Override\r\n\tpublic T defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "1923b48df4690947caa6faa84125ee0e", "score": "0.4752455", "text": "@Override\r\n\tpublic T defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "1923b48df4690947caa6faa84125ee0e", "score": "0.4752455", "text": "@Override\r\n\tpublic T defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "12753bfb5c1ef93858ee6106be7c641d", "score": "0.47507", "text": "public Object defaultCase(EObject object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "7e74c53688203a47aa561df34c112283", "score": "0.47486624", "text": "public StratmasObject getStratmasObject();", "title": "" }, { "docid": "4d269dd4764c735f5873f099172e410a", "score": "0.47466114", "text": "Coding getRuleset();", "title": "" }, { "docid": "d3ba3a7eef429f9653d76e64bf8a0e39", "score": "0.4743509", "text": "@Override\r\n\tpublic Class getObjectType() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "2391039b0215ce7012c9d4aefc74fae9", "score": "0.47419116", "text": "public String getKind() {\n return null;\n }", "title": "" }, { "docid": "3c0c631e2cadcb559f887529d3b3425f", "score": "0.47297946", "text": "public ViewObjectImpl getPenaltyType_1() {\n return (ViewObjectImpl)findViewObject(\"PenaltyType_1\");\n }", "title": "" }, { "docid": "9ac5666c89c03aed5144b045d8d09212", "score": "0.47205868", "text": "@Override\r\n\tpublic TypeDef defaultCase(EObject o) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "566751af416fa73783fd76540c69fd2e", "score": "0.47201717", "text": "public T caseFeatures(IFeatures object) {\r\n return null;\r\n }", "title": "" }, { "docid": "9f5648c82d57793893c6964e9b134e24", "score": "0.47110125", "text": "public T caseKind(Kind object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9c0065a58b9b1afb7365be5649255c40", "score": "0.4706363", "text": "@Override\n\t public Class getObjectType() {\n\t\t return null;\n\t }", "title": "" }, { "docid": "4af7e14e71276aa6d3836c0df044ad31", "score": "0.47045478", "text": "public T caseGroupClass(GroupClass object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "0dae076d702a8b16db8f86afc6789771", "score": "0.47014827", "text": "public T caseChoice(Choice object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1d9401a613c15fbc25b759506935e848", "score": "0.47009918", "text": "protected Class<? extends Entity> getRaplaType(Collection obj)\n {\n Set<Class<? extends Entity>> types = new HashSet<>();\n\n //\t\titerate all committed objects and store RaplayType of the objects in a Set\n //\t\tidentic typs aren't stored double because of Set\n for (Object o : obj)\n {\n if (o instanceof Entity)\n {\n final Class<? extends Entity> type = ((Entity) o).getTypeClass();\n types.add(type);\n }\n }\n\n //\t\tcheck if there is a explicit type, then return this type; otherwise return null\n if (types.size() == 1)\n return types.iterator().next();\n else\n return null;\n }", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "df0fc0e963289ae34db8d359f3a6e381", "score": "0.4697914", "text": "@Override\n\tpublic T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e661369d9dff4a1466116a5146c9db6f", "score": "0.46928042", "text": "public T caseDiagramModelContainer(IDiagramModelContainer object) {\r\n return null;\r\n }", "title": "" }, { "docid": "b1c50297d5937be6080c06a1a761ed02", "score": "0.4692313", "text": "@Override\n public GeographicConcept getThemeDominant() {\n return null;\n }", "title": "" }, { "docid": "44e2c4049a9a3b0313cb87030d5e9f26", "score": "0.46902406", "text": "protected Set<Map.Entry<KeyType,ValueType>> getSet( )\n {\n return theSet;\n }", "title": "" }, { "docid": "4b0f6af4e38d3272b68d660b89433a3d", "score": "0.4688642", "text": "public T caseSystem(hiphops.System object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "aac63dab446b78f074cce91f505320a8", "score": "0.46844202", "text": "@Override\r\n public T defaultCase(EObject object)\r\n {\r\n return null;\r\n }", "title": "" }, { "docid": "aac63dab446b78f074cce91f505320a8", "score": "0.46844202", "text": "@Override\r\n public T defaultCase(EObject object)\r\n {\r\n return null;\r\n }", "title": "" }, { "docid": "bb9c347dd4798db3ddeef17330d3725f", "score": "0.46748614", "text": "java.lang.String getSet();", "title": "" }, { "docid": "b5ed13e4e65d0548561490a7d51096d6", "score": "0.46747473", "text": "public T casePackage(umlMM.Package object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b5d99e075025a2d1772533abefb90d0f", "score": "0.46741295", "text": "public T caseDiagram(Diagram object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b12012dc30bf06397632b6e9df605f12", "score": "0.46700805", "text": "@Override\n\tpublic T defaultCase(EObject object)\n\t{\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d27f9bb4ded4ecf63312ee4de830ad90", "score": "0.46647248", "text": "Set<ToolType> getToolType();", "title": "" }, { "docid": "9603c4ed119596189ad1728829ce950d", "score": "0.4659821", "text": "@Override\n public T defaultCase(EObject object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e4d4c87c679c10a57f422eb079489baf", "score": "0.46516874", "text": "public List getSubstitutionSetList()\n {\n return Collections.unmodifiableList(_objSubstitutionSet);\n }", "title": "" }, { "docid": "7700de563f3708cf3c3b0658b75116d8", "score": "0.46500793", "text": "@Override\r\n public T defaultCase(EObject object) {\r\n return null;\r\n }", "title": "" }, { "docid": "44ee89ef21f4cbcc63d702c2a06469f7", "score": "0.46469462", "text": "java.lang.String getVariantType();", "title": "" }, { "docid": "0fead42fec2c2a7c9728f06c895e199d", "score": "0.46469015", "text": "public NavigableSet<V> mo46510d() {\n return (NavigableSet) super.mo46510d();\n }", "title": "" }, { "docid": "c0dfaa02b1975ceaff2e1d925964e7bf", "score": "0.46460354", "text": "@Override\n public T defaultCase(EObject object)\n {\n return null;\n }", "title": "" }, { "docid": "c0dfaa02b1975ceaff2e1d925964e7bf", "score": "0.46460354", "text": "@Override\n public T defaultCase(EObject object)\n {\n return null;\n }", "title": "" }, { "docid": "c0dfaa02b1975ceaff2e1d925964e7bf", "score": "0.46460354", "text": "@Override\n public T defaultCase(EObject object)\n {\n return null;\n }", "title": "" }, { "docid": "c0dfaa02b1975ceaff2e1d925964e7bf", "score": "0.46460354", "text": "@Override\n public T defaultCase(EObject object)\n {\n return null;\n }", "title": "" }, { "docid": "c0dfaa02b1975ceaff2e1d925964e7bf", "score": "0.46460354", "text": "@Override\n public T defaultCase(EObject object)\n {\n return null;\n }", "title": "" }, { "docid": "252bd619564c4522ae515e9fd5be0878", "score": "0.46406063", "text": "@Override\n public T defaultCase(EObject object) {\n return null;\n }", "title": "" }, { "docid": "e5fdadbe69febeac4e00839b152dfd5a", "score": "0.46394843", "text": "public Integer getHasLabourUnion()\n/* */ {\n/* 979 */ return this.hasLabourUnion;\n/* */ }", "title": "" }, { "docid": "d9ce655da2589de6d5a6bed565e67656", "score": "0.46366382", "text": "public java.lang.String getSubClassification(){\n return localSubClassification;\n }", "title": "" }, { "docid": "e5d8f044d2e71f5f7d9b82cc5c11b924", "score": "0.4636105", "text": "public T caseChoiceContent(ChoiceContent object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "bbc8f7177600104f582f0c5c2399c1c2", "score": "0.4626726", "text": "public T caseArchitectureView(ArchitectureView object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "572f3b02da1e8fb38351205c4d93b216", "score": "0.46222696", "text": "public java.lang.String getDCISType(){\n return localDCISType;\n }", "title": "" }, { "docid": "5fecf28b861cb7daa66fab64b83d344a", "score": "0.4619036", "text": "public T caseEnsemble(Ensemble object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "3c3c4c86eb4453fd31979f069ff76cf5", "score": "0.4613024", "text": "@Override\n\tpublic Sosse erstelleSoße()\n\t{\n\t\treturn null;\n\t}", "title": "" }, { "docid": "85a38ae9087c66ff11da6aae12dd595f", "score": "0.4604373", "text": "public T caseDiagramModelObject(IDiagramModelObject object) {\r\n return null;\r\n }", "title": "" }, { "docid": "a3b7d7c1f656c919502ab3ec655bf395", "score": "0.46022898", "text": "@Override\n @NotNull\n public E first() {\n return treeSet.first();\n }", "title": "" }, { "docid": "8d3646bb514bbe1b844f0dd7416b149c", "score": "0.45976883", "text": "@Override\n public Hybridization getHybridization() {\n return null;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c5ea15aea9fc706ba406b6ba739b14af", "score": "0.0", "text": "public static void main(String[] args) {\n\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b6c961814c14fa02879570fd7e65ac5", "score": "0.6769489", "text": "@Override\r\n\tpublic void scarica() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.6386922", "text": "public void mo27791d() {\n }", "title": "" }, { "docid": "051f88f1f94e36fab8ec66de1946f037", "score": "0.6287329", "text": "public void mo27794g() {\n }", "title": "" }, { "docid": "db4b95a4460fb609bcd3716b1a4b3e23", "score": "0.6283629", "text": "@Override\r\n\tpublic void compra() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5eb303064635f4909e997c3effe2511d", "score": "0.6265152", "text": "public void mo27792e() {\n }", "title": "" }, { "docid": "fdf6bcd763ea5f5b221fd5a7669d1afb", "score": "0.6262988", "text": "public void mo28805a() {\n }", "title": "" }, { "docid": "381ca210fc42b87f9b8af474719578a0", "score": "0.62538177", "text": "public void mo41489c() {\n }", "title": "" }, { "docid": "203e120e0c17c7a390717d0ca9ff147a", "score": "0.6252656", "text": "public void mo11316JX() {\n }", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "0b319072f0ae7225e83791b70ea23079", "score": "0.6200546", "text": "@Override\r\n\tpublic void ghhvhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9cfdb7a953eedd93829d98c1649d8fa2", "score": "0.6147232", "text": "@Override\r\n\tprotected void rodape() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a1d358ef8dde60480477b5c8b2359c6d", "score": "0.611178", "text": "@Override\n\tpublic void compra() {\n\t\t\n\t}", "title": "" }, { "docid": "81e2e665536902ef3310e7a034f112ea", "score": "0.6104965", "text": "@Override\r\n\tpublic void apagar()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "e6068b0200c883e42ca4379e8b4390f4", "score": "0.61018884", "text": "@Override\n\tpublic void ihtiyacGidermek() {\n\t\t\n\t}", "title": "" }, { "docid": "222e7b9d44422cda9de5df0085949df1", "score": "0.60770625", "text": "public void mo27793f() {\n }", "title": "" }, { "docid": "6fc1bc8405449cd5caa1d0d4cc253eff", "score": "0.6024395", "text": "public void mo27783b() {\n }", "title": "" }, { "docid": "7de2b9a1638739d8a552ea81162374f7", "score": "0.6023624", "text": "@Override\r\n\tpublic void trasation() {\n\t\t \r\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "39970aed3dc3a7bed24f03fb23731e78", "score": "0.6010486", "text": "@Override\r\n\tpublic void laufen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a46f6ccc5a2230632919d59213754a52", "score": "0.59971493", "text": "@Override\n\tpublic void grafikCizme() {\n\t\t\n\t}", "title": "" }, { "docid": "5a91ef0aa6990fc22e6e46d34355029e", "score": "0.59874135", "text": "@Override public void accionar() {\n\n }", "title": "" }, { "docid": "d673691f42a5a36d5d7e5d4f81aec55e", "score": "0.59567183", "text": "@Override\n\tpublic void reveiller() {\n\t\t\n\t}", "title": "" }, { "docid": "b048ca4f20a40ca0411a5330c06ce3d5", "score": "0.5952113", "text": "@Override\n\tpublic void infinteBatery() {\n\t\t\n\t}", "title": "" }, { "docid": "2bd910d11f3b18a5106b970f6e7e4c64", "score": "0.59445894", "text": "@Override\n\tpublic void Consulter() {\n\t\t\n\t}", "title": "" }, { "docid": "fa5eb14703b2a28ee4847f692d01e39d", "score": "0.59407693", "text": "@Override\r\n\tpublic void init() {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a94b5981fe7c5ead7e5156e8e7cb9cb5", "score": "0.59315324", "text": "@Override\r\n\tpublic void attribute() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9fe10a8f8c056afc50123cc1485a6fdc", "score": "0.5927387", "text": "@Override\n\tvoid comision() {\n\t\t\n\t}", "title": "" }, { "docid": "dd66e8668788d27519d44caeb83b0c44", "score": "0.59262717", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "ddafdd56d6d4b904d170e3608181850c", "score": "0.5918087", "text": "private void getArtefactId() {\n\t\t\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.59013426", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.58881694", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "53a77fe02ff8601b7f3a53009ccfd05c", "score": "0.58849895", "text": "public void designBasement() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0449d2500abd0eb1624d7773d0cf88dd", "score": "0.5881909", "text": "@Override\n\tpublic void ponisti() {\n\n\t}", "title": "" }, { "docid": "a21e7f5bc4a152c3cd6818af1be8ca7f", "score": "0.5877803", "text": "@Override\n\tpublic void accionar() {\n\t\t\n\t}", "title": "" }, { "docid": "b623306824ebd023ab9bf4fc0a66aaf3", "score": "0.5876838", "text": "public void mo5928c() {\n }", "title": "" }, { "docid": "8dbedd9965a878a9a7db1c5deb6a28cd", "score": "0.5871888", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.5854053", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.5838742", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "4cc23ec21a978357a8a06db5bbae181c", "score": "0.5834908", "text": "@Override\n\t\tpublic void beSporty() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "f02c338eb46eb5cdf9d19504df309595", "score": "0.58264196", "text": "public void mo28814l() {\n }", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.58237594", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.58140445", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "e8b6a10ed01f50fbe15d66c44e6b001f", "score": "0.58043116", "text": "public void mo28809c() {\n }", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.58032876", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "1a69d70e6e0ab03826da865edbaa2710", "score": "0.5802549", "text": "@Override\r\n public void init() {\n \r\n }", "title": "" }, { "docid": "89685a97be106c5e65406e42741d0ec3", "score": "0.5795489", "text": "public void mo1383a() {\n }", "title": "" }, { "docid": "de5480604ae54822ca3e3427911bb2b8", "score": "0.57932764", "text": "@Override\r\n public void muestra() {\r\n \r\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "812af2363c26b56566247f6bee5688a9", "score": "0.57931143", "text": "@Override\r\n\tprotected void cabecalho() {\n\t\t\r\n\t}", "title": "" }, { "docid": "630b43215e2b87f8b2bd389cae71f8a6", "score": "0.5789139", "text": "@Override\n\tprotected void dataAcquisition() {\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57740533", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "68ced9354b4e22b6351af0853a611a6c", "score": "0.57685226", "text": "@Override\n\tprotected void initDataReturn() {\n\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.576386", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.576386", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "4dad4a53c5b94a389679f4aa74f10e8b", "score": "0.576086", "text": "@Override\r\n\tprotected void update() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.57533413", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "393237de9c40b0b47e9d2c845ed92ee5", "score": "0.57512337", "text": "public void mo45857a() {\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "791f5ad29d019a14317f5d7e2a069c65", "score": "0.57465565", "text": "@Override\n\tpublic void aprovar() {\n\n\t}", "title": "" }, { "docid": "60492bcc1b7f57299660c3da0f16ab25", "score": "0.57418126", "text": "@Override\n\tpublic void icmek() {\n\t\t\n\t}", "title": "" }, { "docid": "da5e9df869731b2ae1dfbbfdf12b8cd8", "score": "0.5735176", "text": "public void mo3351d() {\n }", "title": "" }, { "docid": "a2125c0cb9324db88e7561e4a64c5e39", "score": "0.5734662", "text": "@Override\n\tpublic void etiquetas() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "24127c1aaba5ab942240f052757a1aae", "score": "0.5722859", "text": "@Override\n \tpublic void getStatus() {\n \t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "2097402406ed48de16ed7ccfe28a85b4", "score": "0.57133764", "text": "public void mo5927b() {\n }", "title": "" }, { "docid": "03143ee9b26aa8a7d43576d479e4400a", "score": "0.5709887", "text": "public final void mo55685Zy() {\n }", "title": "" }, { "docid": "2fbf66fc78447a45c3f7ecb3924ab4b4", "score": "0.57051754", "text": "@Override\n public void initValue() {\n \n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "e1834e089677c260b4af3324391b3b67", "score": "0.5698954", "text": "public final void mo62463l() {\n }", "title": "" }, { "docid": "b42b054dfaac7d94036bce6ecf272a0e", "score": "0.56988037", "text": "private void pepe() {\n\t\t\n\t}", "title": "" }, { "docid": "09b27558b293ecd91a8d2d3a705d8a37", "score": "0.5676146", "text": "@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "86084419dce04a98c3acda092fe2ae36", "score": "0.5674851", "text": "@Override\r\n\t\t\tpublic void refresh() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.566569", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "aabd8322198752312581d89a3059f204", "score": "0.56625766", "text": "@Override\n \tpublic void create() {\n\n \t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "29f3cdbb287e40f98a8d2f36bba2f27b", "score": "0.56487125", "text": "@Override\n\tpublic int eixos() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "ce71f38a65a1456052420d8bdcb81b78", "score": "0.5647971", "text": "@Override\r\n\tprotected void reset()\r\n\t{\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\t}", "title": "" }, { "docid": "70d974abd496677a87c8807bf56e0a5b", "score": "0.56434053", "text": "@Override\n public void desenhar() {\n \n }", "title": "" }, { "docid": "dbdc1deb5da4aee65d17f30f15f26778", "score": "0.56416714", "text": "private void getParentArtefactId() {\n\t\t\n\t}", "title": "" }, { "docid": "1f81bdf0bcfef346d61145fbc2986fa6", "score": "0.56412745", "text": "@Override\r\n public String getName() {\n return null;\r\n }", "title": "" }, { "docid": "acbb02f47467f45f5ab2c3b2e5f7545d", "score": "0.5640882", "text": "public final void mo62452a() {\n }", "title": "" } ]
dde504eff4f3e1a00393d201d839cd25
Use Album.newBuilder() to construct.
[ { "docid": "69d1479ed621874f9bb81a6e453f6db6", "score": "0.769965", "text": "private Album(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" } ]
[ { "docid": "7e9dc759ff11282aabec9333b69c3e89", "score": "0.7929966", "text": "@NotNull public static MusicAlbum.Builder musicAlbum() { return new MusicAlbum.Builder(new HashMap<String,Object>()); }", "title": "" }, { "docid": "e86c85d92788361840c22175f0255b79", "score": "0.7566576", "text": "Metadata.AlbumOrBuilder getAlbumOrBuilder();", "title": "" }, { "docid": "d05509b683b8cc05a95c0275024c92f7", "score": "0.72574776", "text": "public Metadata.Album.Builder getAlbumBuilder() {\n bitField0_ |= 0x00000004;\n onChanged();\n return getAlbumFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "2b4f6f24e00249fd28d59d7833e96d42", "score": "0.7237309", "text": "public Album(){\n\n }", "title": "" }, { "docid": "c538e05336cf8bf02ace89371b2adebe", "score": "0.70447904", "text": "public Metadata.Album.Builder addAlbumBuilder() {\n return getAlbumFieldBuilder().addBuilder(\n Metadata.Album.getDefaultInstance());\n }", "title": "" }, { "docid": "a3ce8a5f927efd74d4dc9395ef086bfb", "score": "0.6937902", "text": "public Builder setAlbum(Metadata.Album value) {\n if (albumBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n album_ = value;\n onChanged();\n } else {\n albumBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" }, { "docid": "dd8fa35f01d0f46265c77290857f4503", "score": "0.6925898", "text": "public Metadata.AlbumOrBuilder getAlbumOrBuilder() {\n if (albumBuilder_ != null) {\n return albumBuilder_.getMessageOrBuilder();\n } else {\n return album_ == null ?\n Metadata.Album.getDefaultInstance() : album_;\n }\n }", "title": "" }, { "docid": "c70ea2e162c20e597088199a972fb95f", "score": "0.68854564", "text": "public HbaseImageAlbum build() { return new HbaseImageAlbum(this); }", "title": "" }, { "docid": "6bddc16eb058d68f678e13d757305345", "score": "0.68246895", "text": "private AlbumGroup(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "3d558cd9a38cc9f8617d3aaa7240b9f6", "score": "0.6803831", "text": "public Metadata.AlbumOrBuilder getAlbumOrBuilder() {\n return album_ == null ? Metadata.Album.getDefaultInstance() : album_;\n }", "title": "" }, { "docid": "496c25f63b6c125dfd3cd13506a9b839", "score": "0.6733255", "text": "Metadata.Album getAlbum();", "title": "" }, { "docid": "06097bf257a007ff6af07590e7c833bc", "score": "0.6640315", "text": "public Builder addAlbum(Metadata.Album value) {\n if (albumBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAlbumIsMutable();\n album_.add(value);\n onChanged();\n } else {\n albumBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "a18904a8ddd2c9c24d9459cd3ec566f2", "score": "0.6609415", "text": "public Builder clearAlbum() {\n if (albumBuilder_ == null) {\n album_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n albumBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "b93a5fef8c84a4032a785904ca1ccf1d", "score": "0.65818346", "text": "public PhotoLibrary(){\n\n this.Albums=new ArrayList<>();\n }", "title": "" }, { "docid": "6428783084037cf6977cb922de519915", "score": "0.65098107", "text": "public Metadata.Album getAlbum() {\n if (albumBuilder_ == null) {\n return album_ == null ? Metadata.Album.getDefaultInstance() : album_;\n } else {\n return albumBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "93bad3a388fbdf2e0801a2dd6fa1d20b", "score": "0.6450955", "text": "public Metadata.Album.Builder getAlbumBuilder(\n int index) {\n return getAlbumFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "d349852a8be2c2fa622020939a495897", "score": "0.64153403", "text": "Metadata.AlbumOrBuilder getAlbumOrBuilder(\n int index);", "title": "" }, { "docid": "b7893f1c5acebc2beec2939511969384", "score": "0.64100146", "text": "public Builder mergeAlbum(Metadata.Album value) {\n if (albumBuilder_ == null) {\n if (((bitField0_ & 0x00000004) == 0x00000004) &&\n album_ != null &&\n album_ != Metadata.Album.getDefaultInstance()) {\n album_ =\n Metadata.Album.newBuilder(album_).mergeFrom(value).buildPartial();\n } else {\n album_ = value;\n }\n onChanged();\n } else {\n albumBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" }, { "docid": "2bb59db68c2a47faf5507d30e2c6cde7", "score": "0.63479716", "text": "public Metadata.Album getAlbum() {\n return album_ == null ? Metadata.Album.getDefaultInstance() : album_;\n }", "title": "" }, { "docid": "eee72aa761ae6717b41c8bab485b3c4e", "score": "0.6334201", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n Metadata.Album, Metadata.Album.Builder, Metadata.AlbumOrBuilder>\n getAlbumFieldBuilder() {\n if (albumBuilder_ == null) {\n albumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n Metadata.Album, Metadata.Album.Builder, Metadata.AlbumOrBuilder>(\n getAlbum(),\n getParentForChildren(),\n isClean());\n album_ = null;\n }\n return albumBuilder_;\n }", "title": "" }, { "docid": "bbf57c35adec3f7e55e3f204b145db20", "score": "0.6327754", "text": "public Builder clearAlbum() {\n if (albumBuilder_ == null) {\n album_ = null;\n onChanged();\n } else {\n albumBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x00000004);\n return this;\n }", "title": "" }, { "docid": "8d41c5f8eecc5b7d7d63257cfd5f55fa", "score": "0.63143104", "text": "public static void setAlbum(Album a) { album = a; }", "title": "" }, { "docid": "67baba5f2dcdeaa822acd6a783f8c5cb", "score": "0.6313584", "text": "private AlbumDetails(Builder builder) {\n super(builder);\n }", "title": "" }, { "docid": "02bccaa4890e6908f7e6b5d9a3a7de04", "score": "0.63094205", "text": "public Metadata.AlbumOrBuilder getAlbumOrBuilder(\n int index) {\n return album_.get(index);\n }", "title": "" }, { "docid": "c7a11a69b9dcb012ee05b24b84794059", "score": "0.6296343", "text": "@Ignore\n public Album() {\n }", "title": "" }, { "docid": "6eac08bead6242c108370ea6fe891479", "score": "0.62798226", "text": "public Metadata.AlbumOrBuilder getAlbumOrBuilder(\n int index) {\n if (albumBuilder_ == null) {\n return album_.get(index);\n } else {\n return albumBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "520793cee620fa84d8805c4a19ac3e61", "score": "0.62552106", "text": "public Builder addAllAlbum(\n java.lang.Iterable<? extends Metadata.Album> values) {\n if (albumBuilder_ == null) {\n ensureAlbumIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, album_);\n onChanged();\n } else {\n albumBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "e7e6990cf7bc2ad4a11a8ba5686faf2b", "score": "0.6254244", "text": "private AlbumAccess()\n {\n }", "title": "" }, { "docid": "d99e7ec5bd9addf38f6e95c4991a8871", "score": "0.61914015", "text": "public Builder setAlbum(\n Metadata.Album.Builder builderForValue) {\n if (albumBuilder_ == null) {\n album_ = builderForValue.build();\n onChanged();\n } else {\n albumBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00000004;\n return this;\n }", "title": "" }, { "docid": "6e17ff067f712e67640e3424fd52462f", "score": "0.61638767", "text": "public static Album getAlbum() {\n return album;\n }", "title": "" }, { "docid": "a61719cf450426158928c6d1fd29c9dd", "score": "0.616246", "text": "@Ignore\r\n public void testCreateAlbumFrom(){\r\n Album a = manager.createAlbumFrom(\"CompactDisc\", \"a\", \"a\", 2007, \"Rap\");\r\n assertEquals(cd, a);\r\n\r\n }", "title": "" }, { "docid": "08a53a2ff34da335a6ff2cef0ab6b26e", "score": "0.6149696", "text": "public org.liferay.jukebox.model.Album create(long albumId);", "title": "" }, { "docid": "9c6520f456291703d5a21d65dcfe7092", "score": "0.6133331", "text": "@NotNull public static MusicGroup.Builder musicGroup() { return new MusicGroup.Builder(new HashMap<String,Object>()); }", "title": "" }, { "docid": "19da52a6c42ef136fb6b7af4fc260de6", "score": "0.61246186", "text": "public void setAlbum(Album a) {\n\t\talbum = a;\n\t}", "title": "" }, { "docid": "407ccca041885c88bbb20c35c8057291", "score": "0.61243683", "text": "public Metadata.Album.Builder addAlbumBuilder(\n int index) {\n return getAlbumFieldBuilder().addBuilder(\n index, Metadata.Album.getDefaultInstance());\n }", "title": "" }, { "docid": "527148c77dbf80d99322d9436ed3019f", "score": "0.60727316", "text": "@NotNull public static MusicPlaylist.Builder musicPlaylist() { return new MusicPlaylist.Builder(new HashMap<String,Object>()); }", "title": "" }, { "docid": "85342c7e148a2328e24fae54cf9df4ac", "score": "0.6068758", "text": "public java.util.List<? extends Metadata.AlbumOrBuilder>\n getAlbumOrBuilderList() {\n return album_;\n }", "title": "" }, { "docid": "7c54e202d9d11db0b4a68c5c06a4ad30", "score": "0.6051502", "text": "Metadata.Album getAlbum(int index);", "title": "" }, { "docid": "0c1646da3895ca7a093da2b0bb2b6c59", "score": "0.60104084", "text": "public abstract void createAlbum(String album_name);", "title": "" }, { "docid": "c17aa2b0b335ce790a8eb8fbac36cf87", "score": "0.600598", "text": "public Builder addAlbum(\n int index, Metadata.Album value) {\n if (albumBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAlbumIsMutable();\n album_.add(index, value);\n onChanged();\n } else {\n albumBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "0f240c37c7b9c591210f3e795026fd4c", "score": "0.5999282", "text": "List<Album> getAllAlbums();", "title": "" }, { "docid": "e412c87b9ce0c0a6cceb61d4ae41587d", "score": "0.5986887", "text": "java.util.List<? extends Metadata.AlbumOrBuilder>\n getAlbumOrBuilderList();", "title": "" }, { "docid": "bb7c7bf99fda0f354bb8b03f5e72ab8f", "score": "0.5964462", "text": "AlbumResponse getAlbum(String albumId) throws ClientProtocolException,\n IOException, IllegalStateException, JSONException;", "title": "" }, { "docid": "30fce8aaf9586f2350f6fe565ade4388", "score": "0.593127", "text": "public void setAlbum(ArrayList<Album> album) {\n this.album = album;\n }", "title": "" }, { "docid": "800235f0c521b6e28a50dd5bad91d4d7", "score": "0.5929856", "text": "public abstract AlbumInterface getAlbum(String name);", "title": "" }, { "docid": "b156e5bf5bc7906d35c9eea0a44a6211", "score": "0.5910764", "text": "void setAlbum(Album album) {\n this.albums.add(album);\n }", "title": "" }, { "docid": "d88b869fee21b5c4a5a64deb1ed599d3", "score": "0.59081346", "text": "public void setAlbum(Album album) {\n\t\tthis.album = album;\n\t}", "title": "" }, { "docid": "141dacc0eff50c5c2740b905c00f8b86", "score": "0.5898688", "text": "public java.util.List<? extends Metadata.AlbumOrBuilder>\n getAlbumOrBuilderList() {\n if (albumBuilder_ != null) {\n return albumBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(album_);\n }\n }", "title": "" }, { "docid": "a7416f5072eb1571289f6e765768966e", "score": "0.58909565", "text": "public Builder setAlbum(\n int index, Metadata.Album value) {\n if (albumBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAlbumIsMutable();\n album_.set(index, value);\n onChanged();\n } else {\n albumBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "ddaf412ad4a57ccdfb402a6184184921", "score": "0.58782506", "text": "public Album(String albumName, int noOfSongs) {\n\t\tsuper();\n\t\tthis.albumName = albumName;\n\t\tthis.noOfSongs = noOfSongs;\n\t\tsongList = new Song[noOfSongs];\n\t}", "title": "" }, { "docid": "492692861d5ecae43c60119e3dd5fd08", "score": "0.5869901", "text": "public Metadata.Album.Builder addRelatedBuilder() {\n return getRelatedFieldBuilder().addBuilder(\n Metadata.Album.getDefaultInstance());\n }", "title": "" }, { "docid": "7f3e4dbd6c4a65f8eeca2cd7ce8c1e36", "score": "0.5841981", "text": "public AlbumCategory() {\n this(\"album_category\", null);\n }", "title": "" }, { "docid": "c8490281d2bc51fe157875fc755c8c6a", "score": "0.58296436", "text": "public Builder addAlbum(\n Metadata.Album.Builder builderForValue) {\n if (albumBuilder_ == null) {\n ensureAlbumIsMutable();\n album_.add(builderForValue.build());\n onChanged();\n } else {\n albumBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "title": "" }, { "docid": "9d66fd05c2590dce27f0219bdabf67f7", "score": "0.58137465", "text": "public abstract void setAlbum(TagContent album) throws TagFormatException;", "title": "" }, { "docid": "4400fc51311e549410128612d37ed17f", "score": "0.5805105", "text": "public Collection(){\n numAlbums = 0;\n albums = new Album[4];\n }", "title": "" }, { "docid": "222412efe1027a1496dbfa1576e966d3", "score": "0.5784637", "text": "public boolean hasAlbum() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "eaeffdd914479b1ca4be6ba57ffe224b", "score": "0.5782388", "text": "public Album(Context context, Uri mediaUri) {\n super();\n media.add(0, new Media(context, mediaUri));\n setCurrentPhotoIndex(0);\n }", "title": "" }, { "docid": "f514ca9ab8fb957daff77814e975a538", "score": "0.57623875", "text": "public void setIdAlbum( Long value ) {\n this.idAlbum = value;\n }", "title": "" }, { "docid": "bdd232cb54fcadae69f2979177416064", "score": "0.57620966", "text": "java.util.List<Metadata.Album>\n getAlbumList();", "title": "" }, { "docid": "2cb72c9b49fb467b07b8d3da680b57e4", "score": "0.57600874", "text": "public void loadAlbum() {\n\t\tSharedPreferences settings = getSharedPreferences(ALBUM_NAME, 0);\n\t\tString arrayOfString = settings.getString(\"albumArray\", null);\n\t\t\n\t\tbyte[] albumArray = null;\n\t\tif (arrayOfString != null) {\n\t\t\tString[] splitStringArray = arrayOfString.substring(1,\n\t\t\t\t\tarrayOfString.length() - 1).split(\", \");\n\t\t\t\n\t\t\talbumArray = new byte[splitStringArray.length];\n\t\t\tfor (int i = 0; i < splitStringArray.length; i++) {\n\t\t\t\talbumArray[i] = Byte.parseByte(splitStringArray[i]);\n\t\t\t}\n\t\t\tfaceObj.deserializeRecognitionAlbum(albumArray);\n\t\t\tLog.e(\"TAG\", \"De-Serialized my album\");\n\t\t}\n\t}", "title": "" }, { "docid": "9261d4dcf9b609600ec261b21744af8a", "score": "0.5753581", "text": "void mo37610a(AlbumFile albumFile);", "title": "" }, { "docid": "e805354db8fc02cd25930a6859c0fade", "score": "0.57501376", "text": "public java.util.List<Metadata.Album> getAlbumList() {\n if (albumBuilder_ == null) {\n return java.util.Collections.unmodifiableList(album_);\n } else {\n return albumBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "9cfc561f4f0b7d9a679cbc0af82652b0", "score": "0.5719328", "text": "private Artist(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "0c54b41aa08afe9e52fc726454a02d28", "score": "0.5708016", "text": "public abstract TagField createAlbumField(String content);", "title": "" }, { "docid": "4e8c5ff2d7f9536bdcf2efae68fec99f", "score": "0.56954426", "text": "public void setAlbum(String al){\r\n rAlbum.set(al);\r\n }", "title": "" }, { "docid": "526e911e4b241904f04d256e78bf46ca", "score": "0.5694788", "text": "public boolean hasAlbum() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "a7daace3ea78c0e6d547beee63658149", "score": "0.5687816", "text": "public Collection(Album[] albums){\n this.numAlbums = 0;\n this.albums = albums;\n }", "title": "" }, { "docid": "a60a33ee60020ab5181df16d95d709b3", "score": "0.568545", "text": "public Metadata.Album getAlbum(int index) {\n if (albumBuilder_ == null) {\n return album_.get(index);\n } else {\n return albumBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "533b0f0be95c3011d28bae0798b79111", "score": "0.56755537", "text": "public String getAlbum()\n\t{return this.album;}", "title": "" }, { "docid": "c8894d20d8c27a7bd999a426e714a8b3", "score": "0.56613296", "text": "public Metadata.AlbumGroup.Builder getAlbumGroupBuilder(\n int index) {\n return getAlbumGroupFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "282839c95f7d794d3366693d6c467a5a", "score": "0.56590307", "text": "public AlbumsFragment() {\n this.mData = new ArrayList<>();\n }", "title": "" }, { "docid": "0945f840820dcd0b35f5c9451e6fab3f", "score": "0.56488544", "text": "public void setAlbum(String s)\r\n {\r\n set(createAlbumField(s));\r\n }", "title": "" }, { "docid": "4e5a8dcfd0ae489c1680b590f8a76457", "score": "0.5647987", "text": "public void insertarAlbum(de.umass.lastfm.Album album) {\n Dalbums record = new Dalbums();\n record.setTITUALBM(album.getName());\n record.setAUTALBM(album.getArtist());\n //record.setNUMEPIST(new Integer(album.getTracks().size()));\n record.setNUMEPIST(0);\n record.setANYIOPUB(new Integer(1900));\n record.setGENRALBM(null);\n \n mapper.insert(record);\n }", "title": "" }, { "docid": "11586995d5647afc35e5049f28e4bed8", "score": "0.56439203", "text": "private void buildAlbumCover(ContentResolver cr, String buckId, AlbumEntity album) {\n String[] photoColumn = new String[]{Media._ID, Media.DATA};\n boolean isNeedGif = mPickerConfig != null && mPickerConfig.isNeedGif();\n String selectionId = isNeedGif ? SELECTION_ID : SELECTION_ID_WITHOUT_GIF;\n String[] args = isNeedGif ? SELECTION_ARGS_IMAGE_MIME_TYPE : SELECTION_ARGS_IMAGE_MIME_TYPE_WITHOUT_GIF;\n String[] selectionArgs = new String[args.length + 1];\n selectionArgs[0] = buckId;\n for (int i = 1; i < selectionArgs.length; i++) {\n selectionArgs[i] = args[i-1];\n }\n Cursor coverCursor = cr.query(Media.EXTERNAL_CONTENT_URI, photoColumn, selectionId,\n selectionArgs, Media.DATE_MODIFIED + \" desc\");\n try {\n if (coverCursor != null && coverCursor.moveToFirst()) {\n String picPath = coverCursor.getString(coverCursor.getColumnIndex(Media.DATA));\n String id = coverCursor.getString(coverCursor.getColumnIndex(Media._ID));\n album.mCount = coverCursor.getCount();\n album.mImageList.add(new ImageMedia(id, picPath));\n if (album.mImageList.size() > 0) {\n mBucketMap.put(buckId, album);\n }\n }\n } finally {\n if (coverCursor != null) {\n coverCursor.close();\n }\n }\n }", "title": "" }, { "docid": "8547d3d4ddee8d910d299b6bdbd0f227", "score": "0.5640762", "text": "public Single<ImgurResponse<Album>> getAlbum(final String id) {\n return albumService.getAlbum(id);\n }", "title": "" }, { "docid": "86c2e3c3c91f18bd0dd411846a8b3f7a", "score": "0.56338245", "text": "public Builder setTyp(Metadata.Album.Type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n typ_ = value.getNumber();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ca40e079d0f25770782c6da87c470bf1", "score": "0.56314903", "text": "public static AlbumList newInstance() {\n AlbumList fragment = new AlbumList();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "title": "" }, { "docid": "6298cfcb3b44bb87dd82cb78da1dce67", "score": "0.5630344", "text": "List<AlbumDTO> findAllAlbums();", "title": "" }, { "docid": "d84f9defab6ba35364f800a75a9f5ec2", "score": "0.5616566", "text": "public java.util.List<Metadata.Album> getAlbumList() {\n return album_;\n }", "title": "" }, { "docid": "79704395af708c4ab64a3edf0f75f2e2", "score": "0.55867857", "text": "public abstract Collection<Album> getAlbums();", "title": "" }, { "docid": "d70d3c178144949956f698967ccd71a2", "score": "0.55815226", "text": "@NotNull public static MusicRelease.Builder musicRelease() { return new MusicRelease.Builder(new HashMap<String,Object>()); }", "title": "" }, { "docid": "db7a159511082baa77031ffc658b2877", "score": "0.55766606", "text": "public Builder addRelated(Metadata.Album value) {\n if (relatedBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureRelatedIsMutable();\n related_.add(value);\n onChanged();\n } else {\n relatedBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "166f5081ff6fc752a5e6d3677d3acaf9", "score": "0.5572176", "text": "public Album(String title, int year) {\n\t\tthis.title = title;\n\t\tthis.year = year;\n\t}", "title": "" }, { "docid": "8d3fa21a703d7b13c6fd3d6cfe6325d9", "score": "0.5551333", "text": "public abstract boolean createAlbum(String id, String albumName);", "title": "" }, { "docid": "2f00db8d0c816a1c855fbc1ff3276e1b", "score": "0.5542536", "text": "public GhostDropManagerAlbum(JComponent target, GUIAlbum gui_album) {\n super(target);\n this.gui_album = gui_album;\n }", "title": "" }, { "docid": "1e424207e2978f1940549c97b1dbbb33", "score": "0.5528313", "text": "public AlbumCategory(String alias) {\n this(alias, ALBUM_CATEGORY);\n }", "title": "" }, { "docid": "59f7300f74e3bebaf0807f86bafe8ad9", "score": "0.552111", "text": "public Builder clearAlbumGroup() {\n if (albumGroupBuilder_ == null) {\n albumGroup_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000010);\n onChanged();\n } else {\n albumGroupBuilder_.clear();\n }\n return this;\n }", "title": "" }, { "docid": "ec7409be2e140a3100ae9a8fcde6a558", "score": "0.5516931", "text": "public ArrayList<Album> getAlbum() {\n return album;\n }", "title": "" }, { "docid": "01b79e9b22aaa630e188f1d217c31895", "score": "0.54984313", "text": "public void createAlbum() {\n//\t\tSystem.out.println(\"got in here and now im in buisness\");\n\t\tString albumName=albumname.getText();\n\t\talbumname.setText(\"\");\n\t\tif(albumName.equals(\"\")){\n\t\t\tshowAlert(\"No name given\");\n\t\t\treturn;\n\t\t}\n\t\tAlbum album = new Album(albumName);\n\t\tif(user.getAlbums().contains(album)) {\n\t\t\tshowAlert(\"Duplicate name\");\n\t\t\treturn;\n\t\t}\n\t\tif(newAlbum==null) {\n\t\t\tshowAlert(\"this has nothing in it\");\n\t\t\treturn;\n\t\t}\n\t\tfor(Photo p:newAlbum) {\n\t\t\talbum.addPhoto(p);\n\t\t}\n\t\tif(album.getPhotos().size()==0) {\n\t\t\tshowAlert(\"This is a blank album\");\n\t\t\treturn;\n\t\t}\n\t\tuser.addAlbum(album);\n\t\tDataSaver.save(userlist);\n\t}", "title": "" }, { "docid": "33f52b9474f890c9d9fbc56935929324", "score": "0.54968166", "text": "public void setAlbum (String newAlbum) {\n album = newAlbum;\n }", "title": "" }, { "docid": "678db88dede0b56c1e39111a9bbf6ba7", "score": "0.54907393", "text": "@Nullable\n public Album getAlbum() {\n return album;\n }", "title": "" }, { "docid": "4390aba8c80ed0ef3ea61cb139792179", "score": "0.5448359", "text": "public Metadata.AlbumGroup.Builder addAlbumGroupBuilder() {\n return getAlbumGroupFieldBuilder().addBuilder(\n Metadata.AlbumGroup.getDefaultInstance());\n }", "title": "" }, { "docid": "78d0a43d4fd32b9d11f92a28f732ff5d", "score": "0.5438367", "text": "@NotNull public static MusicVideoObject.Builder musicVideoObject() { return new MusicVideoObject.Builder(new HashMap<String,Object>()); }", "title": "" }, { "docid": "d6479d23c9f1a7e3b2f0214f5034fedb", "score": "0.5431509", "text": "public Metadata.Album getAlbum(int index) {\n return album_.get(index);\n }", "title": "" }, { "docid": "7e6a4848c819e8dcbc6f4a54b41b89b0", "score": "0.54277974", "text": "public void setAlbum(String newAlbum)\n\t{this.album = newAlbum;}", "title": "" }, { "docid": "cff270b5b45fac05cc53e9b5554bcb26", "score": "0.54051924", "text": "@Override\n public List<Album> getAlbums() {\n return new ArrayList<>(this.albums.values());\n }", "title": "" }, { "docid": "b047a461db509ccc6244b5dd8f20effc", "score": "0.5402381", "text": "Metadata.Album.Type getTyp();", "title": "" }, { "docid": "796ad5abc7eb018d97e4d8cdaa858dfc", "score": "0.540134", "text": "public String getSongAlbum() {\n return mSongAlbum;\n }", "title": "" }, { "docid": "796ad5abc7eb018d97e4d8cdaa858dfc", "score": "0.540134", "text": "public String getSongAlbum() {\n return mSongAlbum;\n }", "title": "" }, { "docid": "11dc181d1b9821123e2034e56d9bacee", "score": "0.5397432", "text": "protected abstract String getAlbumId();", "title": "" } ]
ff7824d36d200f7512f7a3d8b43157d4
Returns the oldstyle version information (used by preOWS GetCapabilities requests, see section D.11 of OGC 06121r3).
[ { "docid": "9757ee73f3e0359007394416b3ae9657", "score": "0.0", "text": "public String getVersion() {\n return version;\n }", "title": "" } ]
[ { "docid": "eebf02007ed49f74c3eaef11a4fd9e27", "score": "0.7275404", "text": "java.lang.String getVersionInfo();", "title": "" }, { "docid": "eebf02007ed49f74c3eaef11a4fd9e27", "score": "0.7275404", "text": "java.lang.String getVersionInfo();", "title": "" }, { "docid": "d06b7e711af674d2723e074184e9ab06", "score": "0.70260465", "text": "private String versionOld() {\n\t\tMonitorStatusInfo version = monitors.get(\"version\");\n\t\tif (version == null){\n\t\t\treturn Constants.NO_VERSION;\n\t\t}\n\t\treturn version.status();\n\t}", "title": "" }, { "docid": "58ceada4153da26dfa75d9b4b5f91c84", "score": "0.6951285", "text": "java.lang.String getC2SClientVersion();", "title": "" }, { "docid": "66dda51c64cc7f62a654b9aec207356b", "score": "0.69332385", "text": "String getObjectVersion();", "title": "" }, { "docid": "f1f3cbf69abd020d368755cf4bd8c780", "score": "0.68811417", "text": "java.lang.String getClientVersion();", "title": "" }, { "docid": "f1f3cbf69abd020d368755cf4bd8c780", "score": "0.68811417", "text": "java.lang.String getClientVersion();", "title": "" }, { "docid": "f1f3cbf69abd020d368755cf4bd8c780", "score": "0.68811417", "text": "java.lang.String getClientVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6792838", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6792838", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6792838", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6792838", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6792838", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6792838", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "71de918c99093fd399003f52b484d899", "score": "0.6759695", "text": "String getServerVersion();", "title": "" }, { "docid": "471747db3618e50b27bc51ea7edf0f10", "score": "0.67016274", "text": "java.lang.String getNewClientVersion();", "title": "" }, { "docid": "c15eb02533206243060c58c1eb41f5a5", "score": "0.66388285", "text": "String getSystemVersion();", "title": "" }, { "docid": "cda59915aae23fe4b328fbca06b3beed", "score": "0.6635558", "text": "public String getExtraHopVersion() throws RestException {\n\t\tString uri = baseUrl + \"extrahop/version\";\n\t\treturn sendGetForJson(uri).getObject().getString(\"version\");\n\t}", "title": "" }, { "docid": "e9d53c73a6f5cdea5be27740b00250eb", "score": "0.66009367", "text": "int getServerVersion();", "title": "" }, { "docid": "e9d53c73a6f5cdea5be27740b00250eb", "score": "0.6600432", "text": "int getServerVersion();", "title": "" }, { "docid": "e9d53c73a6f5cdea5be27740b00250eb", "score": "0.6600432", "text": "int getServerVersion();", "title": "" }, { "docid": "3deebbf7e47a0d01e790d1b1cffa45c0", "score": "0.6574394", "text": "org.qmstr.grpc.service.Bom.Revision getVersionInfo();", "title": "" }, { "docid": "dd3421acec5a84c5cf16d8109560835d", "score": "0.65530366", "text": "com.google.protobuf.ByteString\n getVersionInfoBytes();", "title": "" }, { "docid": "4a5d46a1caf9374c16f45bc068c9ea66", "score": "0.6520384", "text": "com.google.protobuf.ByteString\n getVersionInfoBytes();", "title": "" }, { "docid": "eb9f781b6fe47a808ca2c0a96b33ab15", "score": "0.65149873", "text": "public abstract double getXsltVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6505935", "text": "String getVersion();", "title": "" }, { "docid": "745e0341d49b9a373cf459616ed5b0d9", "score": "0.64859194", "text": "public String getVersion () {\n synchronized ( this.ocs_config ) {\n return String.format( \"%d.%d.%d\", this.ocs_config[ 1 ], this.ocs_config[ 2 ], this.ocs_config[ 3 ] );\n }\n }", "title": "" }, { "docid": "fb6f031461f239a26a626e6e49c05627", "score": "0.6477407", "text": "public static String getVersion()\n\t{\n\t\treturn (\"$Revision: 1.2 $,$Date: 2006/11/13 08:21:00 $\");\n\t}", "title": "" }, { "docid": "6e8c17ff4418e91e956acee1667e9049", "score": "0.6463475", "text": "public static String getVersion()\n\t{\n\t\treturn (\"$Revision: 1.2 $,$Date: 2006/10/26 01:40:59 $\") ;\n\t}", "title": "" }, { "docid": "8de007562b293b8666c62c05a78a27cd", "score": "0.6455575", "text": "public static String getVersion()\n\t{\n\t\treturn (\"$Revision: 1.2 $,$Date: 2007/02/07 04:18:59 $\");\n\t}", "title": "" }, { "docid": "376f44d9eea17dc9df70a6385822368a", "score": "0.6449679", "text": "@DISPID(33)\n\t// = 0x21. The runtime will prefer the VTID if present\n\t@VTID(39)\n\tjava.lang.String version();", "title": "" }, { "docid": "2267f082729c71ed70242620e81ceae3", "score": "0.6445271", "text": "public String getVersion ()\r\n { \r\n return (\"2004.09\"); \r\n }", "title": "" }, { "docid": "ca69fb19836f48b639d3a34d5f973d2c", "score": "0.64420563", "text": "public String getVersionString()\n\t{\n\t\treturn header.version;\n\t}", "title": "" }, { "docid": "83673d5bbb20c8e3e5a031bb2f21313d", "score": "0.6437179", "text": "public static String getVersion() {\n\t\treturn s_serviceVersion;\n\t}", "title": "" }, { "docid": "33f0a6401ec9ab7b29811c074d090713", "score": "0.64345104", "text": "public static String getVersion()\n\t{\n\t\treturn (\"$Revision: 1.2 $,$Date: 2007/02/07 04:19:05 $\");\n\t}", "title": "" }, { "docid": "c10c9aa9cc87065b70783239f6560a82", "score": "0.6428631", "text": "public int version() { return version; }", "title": "" }, { "docid": "06054a3444510d2c2f594b837141724f", "score": "0.6421247", "text": "public String getVersion() {\r\n return getVersionParts( 0 );\r\n }", "title": "" }, { "docid": "fb8fe1a2d1b90e91028514ebfa1c49f9", "score": "0.6420368", "text": "public static String getVersion()\n\t{\n\t\treturn (\"$Revision: 1.2 $,$Date: 2006/10/26 07:46:42 $\");\n\t}", "title": "" }, { "docid": "fc0d8bf3c6f2323f282733f8ece9bd7f", "score": "0.64157087", "text": "public int getVersion();", "title": "" }, { "docid": "217d9a381b63182be4e001358840086f", "score": "0.6407956", "text": "public static String getVersion()\n\t{\n\t\treturn \"$Revision: 1.2 $,$Date: 2006/11/07 05:51:08 $\";\n\t}", "title": "" }, { "docid": "b44c4b7d8dc218a64b08854e4af357c3", "score": "0.6384425", "text": "public static String getVersion()\n\t{\n\t\treturn(\"$Revision: 1.2 $,$Date: 2006/10/26 01:41:01 $\");\n\t}", "title": "" }, { "docid": "7d99791e410904aa75c4a8722f730b44", "score": "0.6383863", "text": "public static String getVersion()\n\t{\n\t\treturn \"$Revision: 1.2 $Date: 2006/11/14 06:09:13 $\";\n\t}", "title": "" }, { "docid": "1b39b4990b5d08b8ffe203e70eccf431", "score": "0.63791144", "text": "java.lang.String getOSVersion();", "title": "" }, { "docid": "a3ab97b882f8c61e09d425ae6115fa68", "score": "0.6376914", "text": "public String version()\n {\n\tVariant result = call(\"version\" );\n\t \treturn result.toString();\n }", "title": "" }, { "docid": "a931b883f336f97e275320ae18723236", "score": "0.63741577", "text": "java.lang.String getTechversion();", "title": "" }, { "docid": "bb4be735d5f637f76bb72e786507f016", "score": "0.63649815", "text": "@Override\n\t\tpublic int getVersion() {\n\t\t\treturn version;\n\t\t}", "title": "" }, { "docid": "54422d51d0951e2f80cd9b3b0db5bed7", "score": "0.63444966", "text": "@Override\n public String getVersion() {\n return version;\n }", "title": "" }, { "docid": "5623960da4976eec4fcebbe88707c549", "score": "0.6334566", "text": "@Override\n String getVersion();", "title": "" }, { "docid": "eb812971f2e53d7b8c6d22ee6590fea6", "score": "0.6326205", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getVersionInfoBytes() {\n java.lang.Object ref = versionInfo_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n versionInfo_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "8299603f9b2bd290b304b1de5d567500", "score": "0.6318171", "text": "public String GetVersion() {\n return(Version);\n }", "title": "" }, { "docid": "d5335efc800450c1978390f78dc82696", "score": "0.63161296", "text": "public com.sap.managementconsole.soap.axis.sapcontrol.InstanceVersionInfo[] getVersionInfo() throws java.rmi.RemoteException;", "title": "" }, { "docid": "a88b2c868aaa489575863e62e08fc73d", "score": "0.63082635", "text": "public java.lang.String getVersion() {\r\n return version;\r\n }", "title": "" }, { "docid": "1f6efaaea957e40b71eda1e43efd400d", "score": "0.630513", "text": "public static int getVersion()\n {\n return VERSION;\n }", "title": "" }, { "docid": "1f32a8f4dba2e6f31b51dc132184a440", "score": "0.63044226", "text": "private String getDicVersionInfo() {\n\t\tStringBuilder dicVersions = new StringBuilder();\n\t\t\n\t\tList<String> dics = KeyboardApp.getApp().getUpdater().getInstalledDictionaryNames();\n\t\tfor(String dic : dics)\n\t\t\tdicVersions.append(\"\\n\\t\").append(dic);\n\n\t\treturn String.format(getString(R.string.about_dic_version), dicVersions.toString());\n\t}", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6300882", "text": "int getVersion();", "title": "" }, { "docid": "197a64c53265e20e3e5acde318fd255a", "score": "0.6298053", "text": "static String getVersionString() {\n return Core.getVersionString();\n }", "title": "" }, { "docid": "79b7292ec8129f5b7210d5dd5c2911eb", "score": "0.6294199", "text": "int getAppVersion();", "title": "" }, { "docid": "b4de0383f3df2f60426ea14c5fec0bb0", "score": "0.62939197", "text": "public static String getVersion()\n\t{\n\t\treturn (\"$Revision: 1.5 $,$Date: 2006/12/13 09:03:17 $\") ;\n\t}", "title": "" }, { "docid": "6c324871c676869ed8b84197b5d9de8b", "score": "0.62930834", "text": "public static String getVersion()\r\n {\r\n \treturn VERSION + \"-R\" + REVISION;\r\n }", "title": "" }, { "docid": "0e52047a7183316870875f13210cbe40", "score": "0.6291613", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getVersionInfoBytes() {\n java.lang.Object ref = versionInfo_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n versionInfo_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "e8d7eb37f140f66cd9dbe24777486ae9", "score": "0.6286731", "text": "@java.lang.Override\n public java.lang.String getVersionInfo() {\n java.lang.Object ref = versionInfo_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n versionInfo_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "f4c7d21149c78cabb0d2c6f362237598", "score": "0.62822264", "text": "@java.lang.Override\n public java.lang.String getVersionInfo() {\n java.lang.Object ref = versionInfo_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n versionInfo_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "793411cac197b2b309caa2644f0cb87f", "score": "0.6280252", "text": "String getEngineVersion();", "title": "" }, { "docid": "30d77d94a6d6456686bce534ad096aea", "score": "0.6277002", "text": "public String getVersion() {\r\n return version;\r\n }", "title": "" }, { "docid": "30d77d94a6d6456686bce534ad096aea", "score": "0.6277002", "text": "public String getVersion() {\r\n return version;\r\n }", "title": "" }, { "docid": "94e950556d22061554c80c7fef284242", "score": "0.6270084", "text": "Long getCurrentVersion();", "title": "" }, { "docid": "3db0fe1277ca459834677e9c51cd7119", "score": "0.62679416", "text": "public com.google.protobuf.ByteString\n getVersionInfoBytes() {\n java.lang.Object ref = versionInfo_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n versionInfo_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" } ]
7c52751999b83d56f859e6e7f07fede9
This method was generated by MyBatis Generator. This method corresponds to the database table Presets
[ { "docid": "0b064556d150f2c9908e18b09d2109f6", "score": "0.0", "text": "int insert(Preset record);", "title": "" } ]
[ { "docid": "037eb6df5cf33eedbefd546f9ffe0503", "score": "0.6061255", "text": "@Override\r\n\tprotected void prepare() {\n\r\n\t\tresetTable();\r\n\t}", "title": "" }, { "docid": "987427f75462281ef99f23fab602e62a", "score": "0.5986214", "text": "@Override\n\tpublic void CreateTable() {\n\n\t}", "title": "" }, { "docid": "f76ff65056e0b8f791befa27c4ecd40c", "score": "0.59182894", "text": "@Override\n\tpublic void createTable() {\n\t\t\n\t}", "title": "" }, { "docid": "d10bd70a2f6aefaaf8972b261d9ccb65", "score": "0.58903396", "text": "public void populateTable(){\r\n\t\tinsert(\"vendorresourcelocation.all.insert\", null);\r\n\t}", "title": "" }, { "docid": "3cf5c57c371fdbf69539fdca6669af5e", "score": "0.58433104", "text": "@Override\n public String getTableName() { return tableName; }", "title": "" }, { "docid": "c9ea3d78705a07055767957b526cc9ab", "score": "0.5727724", "text": "@Override\n\tpublic void createTables() {\n\t\t\n\t}", "title": "" }, { "docid": "aa5e0181c2b472402fa97d8b652fe873", "score": "0.5691326", "text": "@Override\n\tpublic String getTableName() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1a7df82d274e8f1ea3e5ece93b519b16", "score": "0.5619207", "text": "@Override\n\tprotected String[] createDBTables() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c5a1aa5c02718649190859b23180e372", "score": "0.56128025", "text": "public String getTableDbName() {\r\n return \"white_no_pk\";\r\n }", "title": "" }, { "docid": "5bcc704b7b121e8b6f252e1f72392615", "score": "0.5584931", "text": "@Override\n public String getTableName() {\n return TABLE_NAME;\n }", "title": "" }, { "docid": "d9886cf3135875209505c67e764f4ddb", "score": "0.55541354", "text": "public void createTableInDatabase(){\n\t\tcrawlerDao.makeTable();\n\t\t\n\t}", "title": "" }, { "docid": "374c3a9f3d6cbfb2992357376895b1bf", "score": "0.5523376", "text": "@Override\n public String getTableName() {\n return TABLE_NAME;\n }", "title": "" }, { "docid": "374c3a9f3d6cbfb2992357376895b1bf", "score": "0.5523376", "text": "@Override\n public String getTableName() {\n return TABLE_NAME;\n }", "title": "" }, { "docid": "8824153caa26776c164011612ace5c59", "score": "0.5479079", "text": "public void createTable() {\r\n db.execSQL(QUERY_CREATE_SCORE_TABLE);\r\n /* db.execSQL(QUERY_CREATE_OPTIONS);\r\n ContentValues initialValues = new ContentValues();\r\n initialValues.put(DIM_ROW, 10);\r\n initialValues.put(NEXT_ROW, 0);\r\n db.insert(OPTION_TABLE, null, initialValues);*/\r\n }", "title": "" }, { "docid": "e94ceb6783eb5869c14750848baf2d62", "score": "0.54498637", "text": "java.lang.String getTableName();", "title": "" }, { "docid": "e94ceb6783eb5869c14750848baf2d62", "score": "0.54498637", "text": "java.lang.String getTableName();", "title": "" }, { "docid": "d093fff3f83a5cd0008ff92c7fcf66e4", "score": "0.5429063", "text": "@Override\n\tpublic String generateInsertSql() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6dcf527b2bd7fb1521d96da9f78104cf", "score": "0.5419674", "text": "public abstract String getTableName();", "title": "" }, { "docid": "6dcf527b2bd7fb1521d96da9f78104cf", "score": "0.5419674", "text": "public abstract String getTableName();", "title": "" }, { "docid": "98bc403e7846703e98f8a7a172ca4a4c", "score": "0.5415129", "text": "private void initializeTables() {\n\t\tdata.registerMigration(0, false, \"\" \n\t\t\t\t);\n\t\t\n\t}", "title": "" }, { "docid": "8aa46bc53fb210ba39b79cde7c66e74d", "score": "0.54021084", "text": "Table createTable();", "title": "" }, { "docid": "b68b5c6c45c54dcaac5b3a0b5ec27954", "score": "0.53892565", "text": "Preset selectByPrimaryKey(String presetId);", "title": "" }, { "docid": "3d994e4cb2806f826283de115d67142c", "score": "0.5374438", "text": "public static void getNextCustomTableName() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d137fe89a6e3357e2771152f9ad7a8b2", "score": "0.53549224", "text": "public TableAgileMartMeta() {\n setTableName( \"tmp_agile_table\" );\n }", "title": "" }, { "docid": "62330c74027d707eb78eba32dc81dc27", "score": "0.53480995", "text": "String getTableName();", "title": "" }, { "docid": "62330c74027d707eb78eba32dc81dc27", "score": "0.53480995", "text": "String getTableName();", "title": "" }, { "docid": "62330c74027d707eb78eba32dc81dc27", "score": "0.53480995", "text": "String getTableName();", "title": "" }, { "docid": "62330c74027d707eb78eba32dc81dc27", "score": "0.53480995", "text": "String getTableName();", "title": "" }, { "docid": "62330c74027d707eb78eba32dc81dc27", "score": "0.53480995", "text": "String getTableName();", "title": "" }, { "docid": "ebf2dcf3e7086dfedafc71d99dfe3f9b", "score": "0.5347976", "text": "@Override\n\tpublic void beforeFirst() throws SQLException {\n\t\t\n\t}", "title": "" }, { "docid": "be411f32dc540b0574ede912913b9e83", "score": "0.53477603", "text": "private void createTables() throws SQLException\n {\n Connection conn = this.getDBConnection();\n StringBuilder sb;\n\n try\n {\n sb = new StringBuilder(\"CREATE TABLE coalesce.CoalesceEntity\" + \"(\");\n sb.append(COLUMNS.getKey() + \" VARCHAR(128) NOT NULL,\");\n sb.append(COLUMNS.getName() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getSource() + \" VARCHAR(256), \");\n sb.append(COLUMNS.getVersion() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getEntityId() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getEntityIdType() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getXml() + \" SQLXML,\");\n sb.append(COLUMNS.getDateCreated() + \" timestamp,\");\n sb.append(COLUMNS.getLastModified() + \" timestamp,\");\n sb.append(COLUMNS.getUploadedToServer() + \" timestamp,\");\n sb.append(COLUMNS.getTitle() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getStatus() + \" NUMERIC,\");\n sb.append(COLUMNS.getScope() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getType() + \" VARCHAR(256),\");\n sb.append(\"CONSTRAINT CoalesceEntity_pkey PRIMARY KEY (\" + COLUMNS.getKey() + \")\");\n sb.append(\")\");\n\n try (Statement stmt = conn.createStatement())\n {\n stmt.execute(sb.toString());\n }\n LOGGER.debug(\"CoalesceEntity Table created\");\n }\n catch (SQLException e)\n {\n if (!SQLDataConnector.tableAlreadyExists(e))\n {\n throw e;\n }\n }\n\n try\n {\n sb = new StringBuilder(\"CREATE TABLE coalesce.CoalesceEntityTemplate ( \");\n sb.append(COLUMNS.getKey() + \" VARCHAR(128) NOT NULL, \");\n sb.append(COLUMNS.getName() + \" VARCHAR(128), \");\n sb.append(COLUMNS.getSource() + \" VARCHAR(128), \");\n sb.append(COLUMNS.getVersion() + \" VARCHAR(128), \");\n sb.append(COLUMNS.getXml() + \" LONG VARCHAR, \");\n sb.append(COLUMNS.getDateCreated() + \" timestamp, \");\n sb.append(COLUMNS.getLastModified() + \" timestamp, \");\n sb.append(COLUMNS.getUploadedToServer() + \" timestamp, \");\n sb.append(\"CONSTRAINT CoalesceEntityTemplate_pkey PRIMARY KEY (\" + COLUMNS.getKey() + \") \");\n sb.append(\")\");\n\n try (Statement stmt = conn.createStatement())\n {\n stmt.execute(sb.toString());\n }\n\n LOGGER.debug(\"Coalesce Entity Template Table created\");\n }\n catch (SQLException e)\n {\n if (!SQLDataConnector.tableAlreadyExists(e))\n {\n throw e;\n }\n }\n try\n {\n sb = new StringBuilder(\"CREATE TABLE coalesce.CoalesceLinkage ( \");\n sb.append(COLUMNS.getKey() + \" VARCHAR(128) NOT NULL,\");\n sb.append(\" entitykey VARCHAR(128), \");\n sb.append(COLUMNS.getName() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getSource() + \" VARCHAR(128),\");\n sb.append(COLUMNS.getVersion() + \" VARCHAR(64),\");\n sb.append(COLUMNS.getLinkageType() + \" VARCHAR(128),\");\n sb.append(COLUMNS.getLinkageLabel() + \" VARCHAR(256),\");\n sb.append(COLUMNS.getLinkageStatus() + \" VARCHAR(128),\");\n sb.append(COLUMNS.getEntity2Key() + \" VARCHAR(128),\");\n sb.append(COLUMNS.getEntity2Name() + \" VARCHAR(128),\");\n sb.append(COLUMNS.getEntity2Source() + \" VARCHAR(128),\");\n sb.append(COLUMNS.getEntity2Version() + \" VARCHAR(64),\");\n sb.append(\" ClassificationMarking VARCHAR(128),\");\n sb.append(\" ModifiedBy VARCHAR(128),\");\n sb.append(\" InputLanguage VARCHAR(128),\");\n sb.append(COLUMNS.getDateCreated() + \" timestamp,\");\n sb.append(COLUMNS.getLastModified() + \" timestamp,\");\n sb.append(COLUMNS.getUploadedToServer() + \" timestamp, \");\n sb.append(\"CONSTRAINT CoalesceLinkage_pkey PRIMARY KEY (\" + COLUMNS.getKey() + \")\");\n sb.append(\")\");\n\n try (Statement stmt = conn.createStatement())\n {\n stmt.execute(sb.toString());\n }\n LOGGER.debug(\"Coalesce Linkage Table created\");\n\n }\n catch (SQLException e)\n {\n if (!SQLDataConnector.tableAlreadyExists(e))\n {\n throw e;\n }\n }\n }", "title": "" }, { "docid": "01ef6a7adb74a130371849ef832cbed0", "score": "0.533092", "text": "@Override\n\tpublic String tableName() {\n\t\treturn \" t_qxsecond \";\n\t}", "title": "" }, { "docid": "db5b2355a8ff3befce3235156d90f4de", "score": "0.52959305", "text": "private void configurarTableColumnClassificacao() {\n }", "title": "" }, { "docid": "950ee26e08d6ed993c52ebae2e514d36", "score": "0.52902627", "text": "public String tableName();", "title": "" }, { "docid": "7183dda8ce8e97d6c44ccc8361c75566", "score": "0.52867526", "text": "public void initTables() {\n this.dropTableCustomers();\n this.dropTableCatalogue();\n this.dropTableRegistration();\n this.createTableCustomer();\n this.createTableCatalogue();\n this.createTableRegistration();\n }", "title": "" }, { "docid": "53345fcdec3fdf866a309f3612910690", "score": "0.528134", "text": "@Override\r\n\tpublic String getTableName() {\n\t\treturn TABLE_NAME;\r\n\t}", "title": "" }, { "docid": "2df25823ff1840b963b80dd81c6d59ff", "score": "0.5280062", "text": "@Override\r\n\t\t\t\t\tprotected void onSubmit(AjaxRequestTarget target) {\n\t\t\t\t\t\tsuper.onSubmit(target);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tfor(TableColumnM tcms : ts.getSchemas()) {\r\n\t\t\t\t\t\t\ttcms.setTableName(ts.getTableName());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}", "title": "" }, { "docid": "0565cde7881074976586e9f632c3e65d", "score": "0.5276867", "text": "@Override\r\n\tpublic String getTableName() {\n\t\treturn tableName;\r\n\t}", "title": "" }, { "docid": "1fceeb6bf5f9d361bb80a775b00f9b5c", "score": "0.5259281", "text": "@Before\n\tpublic void fillTable() {\n\n\t\t// tipp: versuche es nicht mit '0' als ID, das geht schief\n\t\t// http://stackoverflow.com/questions/22026715/jpa-null-or-zero-primary-key-encountered-in-unit-of-work-clone\n\t\t// <property name=\"eclipselink.allow-zero-id\" value=\"true\"/>\n\t\tnameDaoSUT.deleteAll();\n\t\taddressDaoSUT.deleteAll();\n\t\t\n//\t\tfinal NameEntity entity2 = new NameEntity();\n//\t\tentity2.setId(2);\n//\t\tentity2.setName(\"solo\");\n//\t\tentity2.setVorname(\"han\");\n//\t\tentity2.setGeburtsdatum(new DateTime(2015, 1, 1, 0, 0).toDate());\n//\t\tnameDaoSUT.save(entity2);\n\n\t\tinsertName(1, \"lars\", \"langhans\", \"lars\", new DateTime(1968, 1, 4, 0, 0).toDate());\n\n\t\tinsertAddress(\"lars\", \"Tremskamp\", 1968);\n\t\tinsertAddress(\"lars\", \"Karavellenstraße\", 1969);\n\t\tinsertAddress(\"lars\", \"Klipperstraße\", 1970);\n\t\tinsertAddress(\"lars\", \"Narzissenweg\", 1975);\n\t\tinsertAddress(\"lars\", \"Ewerstraße\", 1977);\n\t\tinsertAddress(\"lars\", \"Ziegelstraße\", 1984);\n\t\tinsertAddress(\"lars\", \"Korvettenstraße\", 1986);\n\t\tinsertAddress(\"lars\", \"Loignystraße\", 1992);\n\t\tinsertAddress(\"lars\", \"Schildfarneck\", 1999);\n\t}", "title": "" }, { "docid": "ca910cd1ede34fadac1dd920b29c0a63", "score": "0.52544546", "text": "public String getTableName() {\n return name + \"_benchmark\";\n }", "title": "" }, { "docid": "1f910e7fa2df2ab2eace07c85aae81b4", "score": "0.5254322", "text": "public TableSet() {\n this.tableList = new ArrayList<>();\n }", "title": "" }, { "docid": "bda2da273f3237ff554f2a4b5c0ee4db", "score": "0.52541053", "text": "private static void updateTables() {\n try {\n Connection connection = DBManager.getConnection();\n DatabaseMetaData databaseMetaData;\n databaseMetaData = connection.getMetaData();\n\n ResultSet tablesSet = databaseMetaData.getTables(\"testjdbc\", null, \"%\", new String[] { \"TABLE\" });\n\n while (tablesSet.next()) {\n System.out.println();\n String tableName = (String) tablesSet.getObject(\"TABLE_NAME\");\n System.out.println(\"TableContext: table name: \" + tableName + \"\\n\");\n\n TableInfo tableInfo = new TableInfo(tableName, new HashMap<>(), new ArrayList<>());\n tables.put(tableName, tableInfo);\n ResultSet columnsSet = databaseMetaData.getColumns(null, null, tableName, null);\n while (columnsSet.next()) {\n ColumnInfo columnInfo = new ColumnInfo(columnsSet.getString(\"COLUMN_NAME\"),\n columnsSet.getString(\"TYPE_NAME\"), 0);\n System.out.print(String.format(\"TableContext: column name:%s data type: %s\\n\", columnInfo.getName(),\n columnInfo.getDataType()));\n tableInfo.getColumns().put(columnsSet.getString(\"COLUMN_NAME\"), columnInfo);\n }\n\n ResultSet primaryKeySet = databaseMetaData.getPrimaryKeys(\"testjdbc\", null, tableName);\n while (primaryKeySet.next()) {\n ColumnInfo primaryColumnInfo = tableInfo.getColumns().get(primaryKeySet.getObject(\"COLUMN_NAME\"));\n primaryColumnInfo.setKeyType(1); // could be bug\n tableInfo.getPrimaryKeys().add(primaryColumnInfo);\n }\n\n if (tableInfo.getPrimaryKeys().size() == 1) {\n tableInfo.setSinglePrimaryKey(tableInfo.getPrimaryKeys().get(0));\n }\n }\n } catch (SQLException e) {\n System.out.println(e.getMessage() + \" state: \" + e.getSQLState() + \" errorcode: \" + e.getErrorCode());\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "71e6502aa6200840093cab0e554f1b74", "score": "0.52488637", "text": "GenTable selectGenTableByName(String tableName);", "title": "" }, { "docid": "8b90ab564a0635b1c2f2a2f4ede34696", "score": "0.52383804", "text": "public void setupDB() {\n\n\t\tjdbcTemplateObject.execute(\"CREATE TABLE customer\" + \"(\" + \"name VARCHAR(255), age INT, id SERIAL)\");\n\t}", "title": "" }, { "docid": "8ddff782a560fbe6d98c08fb55db523e", "score": "0.52360344", "text": "public String getTableName(){\r\n\t\treturn PLACES_TABLE_NAME;\r\n\t}", "title": "" }, { "docid": "9d2e50ef598113835fb2c62f53e502f6", "score": "0.52347463", "text": "public scalikejdbc.interpolation.SQLSyntax tableName () { throw new RuntimeException(); }", "title": "" }, { "docid": "24f9b57bcfe1915ff4e35eb1c758b305", "score": "0.5232487", "text": "@Override\n\tpublic String getTableName() {\n\t\treturn TABLE_NAME;\n\t}", "title": "" }, { "docid": "db5a7a4ec83785dcc98446a28c1ce39d", "score": "0.52200556", "text": "private void initializeColumns()\n\t{\n\t\t// \t\t\t\t ColumnName\t\t\t\t\tDatabase_ColumnName\t\t\tDatabase_DataType Size Label \t\tDescription\n\t\t// ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\t\t\n\t\tthis.addColumn( this.RECORD_ID,\t\t\t\t\"RecordID\", DatabaseDataType.DECIMAL_LONGINT, 0,\t\t\"Record ID\",\t\t\t\t\"Record ID\"\t\t\t\t\t\t\t);\n\t\tthis.addColumn( this.NAME,\t\t\t\t\t\"Name\",\t\t\t\t\t\tDatabaseDataType.CHAR, 30,\t\t\"Name\", \t\t\t\t\t\"\"\t\t\t\t\t\t\t\t\t);\n\t\tthis.addColumn( this.LOWER_BOUND,\t \"LowerBound\",\t\t DatabaseDataType.DECIMAL_AMOUNT, 0,\t\t\"Lower Bound\",\t\t \"The Tiers Lower Bound\"\t\t\t\t);\n\t\tthis.addColumn( this.UPPER_BOUND, \"UpperBound\", DatabaseDataType.DECIMAL_AMOUNT, 0,\t\t\"Upper Bound\",\t\t\t \"The Tiers Upper Bound\" \t );\n\t\tthis.addColumn( this.INDEX,\t\t\t\t \"RateIndex\", DatabaseDataType.CHAR, 30,\t\t\"Index\",\t\t\t\t \"Index type (ZER, EFF, etc.)\"\t\t);\n\t\tthis.addColumn( this.PEG,\t\t\t\t \"Peg\", DatabaseDataType.DECIMAL_AMOUNT, 0,\t\t\"Peg\",\t\t\t\t \"Peg Amount to add to index\"\t\t);\n\t\tthis.addColumn( this.TOTAL_RATE,\t\t\t\"TotalRate\",\t\t\t\tDatabaseDataType.DECIMAL_AMOUNT, 0,\t\t\"Total Rate\", \t\t\t\t\"\"\t\t\t\t\t\t\t\t\t);\n\t\tthis.addColumn( this.TIER_LABEL,\t \"TierLabel\",\t\t DatabaseDataType.CHAR, 30,\t\t\"Tier Label\",\t\t \"Label\"\t\t\t\t );\n\t\tthis.addColumn( this.SINGLE_RATE, \"SingleRate\", DatabaseDataType.DECIMAL_AMOUNT, 0,\t\t\"Single Rate\",\t\t\t \"\" \t );\n\t}", "title": "" }, { "docid": "b3bb64184ddfdbb8808cefcc8e77a874", "score": "0.5212043", "text": "private void createDefaultColumns() {\n\t\tthis.columns = new ArrayList<Column>();\n\t\tfor (String propertyName : this.properties) {\n\t\t\tColumn c = new Column();\n\t\t\tc.setName(propertyName);\n\t\t\tthis.columns.add(c);\n\t\t\tthis.columnMap.put(propertyName, c);\n\t\t}\n\t}", "title": "" }, { "docid": "653abc8e33ee192efbd25032bfedc9e8", "score": "0.5204915", "text": "@Override\r\n\tpublic String getDefaultColumn() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "28d7c468d673b2013d903ece7acdb393", "score": "0.52017385", "text": "TableName createTableName();", "title": "" }, { "docid": "51d840a74416de9ef8e2fdaf0fd45aea", "score": "0.51950294", "text": "private String getTableName(){\n String tableName = null;\n \n if(!this.prefix.isEmpty()){\n return (this.prefix + \"_\" + this.tableName);\n }else{\n return this.tableName;\n }\n }", "title": "" }, { "docid": "19745d5f880eb1b88da1a92154678677", "score": "0.5191698", "text": "public static ResultSet applyTable() {\n\t\tString sql = \"select * from applyclass\";\n\t\tResultSet rs = DataBase.executeQuery(sql);\n\t\treturn rs;\n\t}", "title": "" }, { "docid": "b4260ae4e742e11ca54934cc96547780", "score": "0.5183033", "text": "@Override\n\tpublic String generateUpdateSql() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "431037b1668fe3430c3bc22848b67885", "score": "0.5170135", "text": "@Override\n\t\tpublic int getTableNum() {\n\t\t\treturn 0;\n\t\t}", "title": "" }, { "docid": "2b237e7375d556f3817314d8047aecc1", "score": "0.51686674", "text": "public SQLTableDefn() {}", "title": "" }, { "docid": "eab88610093e463063f21a4770750960", "score": "0.5151364", "text": "public String getPktableName() {\r\n\t\treturn pktableName;\r\n\t}", "title": "" }, { "docid": "1308fd7c3a7908bb754943d972d27be0", "score": "0.5151336", "text": "@Override\n public void createClassTable() {\n\n Field field = null;\n try {\n field = tClass.getField(\"columns\");\n } catch (NoSuchFieldException e) {\n e.printStackTrace();\n }\n\n ColumnField[] columns = null;\n\n try {\n assert field != null;\n\n if (Modifier.isPrivate(field.getModifiers())) {\n field.setAccessible(true);\n }\n\n columns = (ColumnField[]) field.get(null);\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n System.exit(1);\n }\n\n StringBuilder builder = new StringBuilder(\"CREATE TABLE \"+getTableName()+\" (\\n\");\n\n assert columns != null;\n for (ColumnField column : columns) {\n String line = column.getRowAsString()+\"\\n\";\n builder.append(line);\n }\n\n builder.deleteCharAt(builder.lastIndexOf(\",\"));\n builder.append(\");\");\n\n Connection conn = SessionManager.getConnection();\n\n try {\n assert conn != null;\n PreparedStatement pstmt = conn.prepareStatement(builder.toString());\n pstmt.execute();\n //System.out.println(pstmt.toString());\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n System.exit(1);\n }\n\n try {\n conn.close();\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n System.exit(1);\n }\n }", "title": "" }, { "docid": "ff6b54156d2220d236815c886cc5e13a", "score": "0.514548", "text": "void createSchema(Set<String> withoutRowIdTableNamesBlackList) throws SQLException;", "title": "" }, { "docid": "4a4a049c97b850fb542aa6c9dc423344", "score": "0.5137626", "text": "public abstract Paquet table();", "title": "" }, { "docid": "18b223496cf802f1ee7cd3954ddb2d71", "score": "0.5134865", "text": "public void SetUpTable(Statement __stmt,String __type ) throws SQLException {\n if (createTable(__stmt, __type) == SQLCon.SQLRET.SUCCESS){\n insNULLRec(__stmt);\n fillTable(__stmt);\n }\n }", "title": "" }, { "docid": "1c5b2b0695ddbea978ea969206821058", "score": "0.51283276", "text": "public void buildResultsTable() throws SQLException {\r\n\r\n\t\tbuildTable();\r\n\r\n\t}", "title": "" }, { "docid": "57c1ede4e0ed8f6917950285fc891589", "score": "0.5118418", "text": "public static List<CreateTableResult> initAllTables() {\r\n final List<CreateTableResult> ret = new ArrayList<JdbcRepositories.CreateTableResult>();\r\n final Map<String, List<FieldDefinition>> map = getRepositoriesMap();\r\n\r\n boolean isSuccess = false;\r\n\r\n for (final String tableName : map.keySet()) {\r\n try {\r\n isSuccess = JdbcFactory.createJdbcFactory().createTable(tableName, map.get(tableName));\r\n } catch (final SQLException e) {\r\n LOGGER.log(Level.ERROR, \"createTable[\" + tableName + \"] error\", e);\r\n }\r\n\r\n ret.add(new CreateTableResult(tableName, isSuccess));\r\n }\r\n\r\n return ret;\r\n }", "title": "" }, { "docid": "9f16496612aae84bcf5ccf578af4143d", "score": "0.5116772", "text": "void createTable();", "title": "" }, { "docid": "9f16496612aae84bcf5ccf578af4143d", "score": "0.5116772", "text": "void createTable();", "title": "" }, { "docid": "9f16496612aae84bcf5ccf578af4143d", "score": "0.5116772", "text": "void createTable();", "title": "" }, { "docid": "6460815c1f244d0f180375adc6e4acf0", "score": "0.5108023", "text": "@Before\n public void init(){\n createTable = new CreateTable();\n }", "title": "" }, { "docid": "37215bd8b1b29bbaed82911efc6dc2a1", "score": "0.51020217", "text": "@Before\n\tpublic void before() throws SQLException{\n\t\tnew File(DB_PATH + \".h2.db\").delete();\n\t\tbackend = new DBMap<Integer, String>(new ConnectionInfo(\n\t\t\t\t\"org.h2.Driver\", \n\t\t\t\t\"jdbc:h2:\" + DB_PATH, \n\t\t\t\t\"sa\", \n\t\t\t\t\"\"));\n\t\t\n\t\ttoTest = new DBMapEntrySetIterator<Integer, String>(backend);\n\t}", "title": "" }, { "docid": "afda2e1953beb502db128bdbc80a69a9", "score": "0.5097674", "text": "@Override\r\n protected SQLRowValues createDefaults() {\r\n final SQLRowValues vals = new SQLRowValues(getTable());\r\n vals.put(\"COMPTANT\", Boolean.FALSE);\r\n vals.put(\"AJOURS\", 30);\r\n vals.put(\"FIN_MOIS\", Boolean.TRUE);\r\n return vals;\r\n }", "title": "" }, { "docid": "face62f7b58e00bb673ef98c65f48e99", "score": "0.50920504", "text": "@Before\r\n public void setUp() {\r\n schema = mock(Schema.class);\r\n sqlDialect = mock(SqlDialect.class);\r\n sqlStatementWriter = mock(SqlStatementWriter.class);\r\n upgrader = new InlineTableUpgrader(schema, sqlDialect, sqlStatementWriter, SqlDialect.IdTable.withDeterministicName(ID_TABLE_NAME));\r\n }", "title": "" }, { "docid": "6127e5c170f61f730dd12cf98fc8452e", "score": "0.5091557", "text": "@Override\n\tpublic AbstractTableEntry populateFromResultSet(ResultSet set) throws SQLException {\n\t\tsetOrderId(set.getInt(COLUMN_NAMES[0]));\n\t\tsetUserId(set.getInt(COLUMN_NAMES[1]));\n\t\tsetOrderRequestDate(set.getDate(COLUMN_NAMES[2]));\n\t\tsetPurchaseDate(set.getDate(COLUMN_NAMES[3]));\n\t\tsetApprovalDate(set.getDate(COLUMN_NAMES[4]));\n\t\tsetReceiveDate(set.getDate(COLUMN_NAMES[5]));\n\t\tsetAccountNumber(set.getString(COLUMN_NAMES[6]));\n\t\tsetUrgent(set.getBoolean(COLUMN_NAMES[7]));\n\t\tsetComputerPurchase(set.getBoolean(COLUMN_NAMES[8]));\n\t\tsetVendor(set.getString(COLUMN_NAMES[9]));\n\t\tsetItemDesc(set.getString(COLUMN_NAMES[10]));\n\t\tsetPreOrderNotes(set.getString(COLUMN_NAMES[11]));\n\t\tsetAttachment(set.getString(COLUMN_NAMES[12]));\n\t\tsetRequestor(set.getString(COLUMN_NAMES[13]));\n\t\tsetRequestorEmail(set.getString(COLUMN_NAMES[14]));\n\t\tsetAmount(set.getFloat(COLUMN_NAMES[15]));\n\t\tsetAccountCode(set.getString(COLUMN_NAMES[16]));\n\t\tsetPONumber(set.getString(COLUMN_NAMES[17]));\n\t\tsetPostOrderNotes(set.getString(COLUMN_NAMES[18]));\n\t\t\n\t\treturn this;\n\t}", "title": "" }, { "docid": "cebdffe65204c9c8ef03338706ef1e8a", "score": "0.50897425", "text": "public String getIncludeTable();", "title": "" }, { "docid": "57ef5ba861416d95e14f97a661cf7e96", "score": "0.50784886", "text": "@Override\n\tprotected Map<String, String> getTableMap() {\n\t\treturn mColumnMap;\n\t}", "title": "" }, { "docid": "d5a168a93f3d262eda0c86bdd35b235b", "score": "0.50703484", "text": "public String getTableName() {\n return tableName;\n }", "title": "" }, { "docid": "d1dfd93b6627f1929126e1c157bad568", "score": "0.50668573", "text": "public String getTableName() {\n return this.tableName;\n }", "title": "" }, { "docid": "d1dfd93b6627f1929126e1c157bad568", "score": "0.50668573", "text": "public String getTableName() {\n return this.tableName;\n }", "title": "" }, { "docid": "05f86bda83901e1354861bd8a5cdb6ce", "score": "0.5060846", "text": "private LinkedHashMap<String, String> setUpColumns(){\n\t\tLinkedHashMap<String, String> columnNames = new LinkedHashMap<String, String>();\n\t\tcolumnNames.put(\"name\",\"Simulation\");\n\t\tcolumnNames.put(\"classname\",\"Simulation Type\");\n\t\tcolumnNames.put(\"state\",\"Simulation State\");\n\t\tcolumnNames.put(\"comp_percent\",\"Progress\");\n\t\tcolumnNames.put(\"parameters\",\"Parameters\");\n\t\tcolumnNames.put(\"createdAt\",\"Time of creation\");\n\t\t//Add additional column names here\n\t\treturn columnNames;\n\t}", "title": "" }, { "docid": "d38a8054c6d979239ca2e00bf1a56e1e", "score": "0.5058993", "text": "private void fillTable(Statement __stmt) throws SQLException{\n Boolean _res;\n String query;\n\n\n query = \"insert into \" + newTable +\" (\" + newTableColumn +\") \\n\" +\n \"SELECT distinct \" + currentTableColumn +\" FROM kaggle.\" + currentTable +\"\\n\" +\n \"where \" + currentTableColumn + \" <> \\\"\\\";\";\n\n\n\n _res = __stmt.execute(query);\n\n }", "title": "" }, { "docid": "4e090ab91d4175b4dcf3f482154c4dd8", "score": "0.505059", "text": "@Override\n protected void setUpDatabaseConfig(DatabaseConfig config) {\n connection.getConfig().setProperty(DatabaseConfig.PROPERTY_BATCH_SIZE, new Integer(97));\n connection.getConfig().setProperty(DatabaseConfig.FEATURE_BATCHED_STATEMENTS, true);\n connection.getConfig().setProperty(DatabaseConfig.PROPERTY_DATATYPE_FACTORY, new HsqldbDataTypeFactory());\n //connection.getConfig().setProperty(DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES, true);\n connection.getConfig().setProperty(DatabaseConfig.FEATURE_CASE_SENSITIVE_TABLE_NAMES, false);\n }", "title": "" }, { "docid": "8bfb24f6cbb7e404d4b22c30ab5e8423", "score": "0.50454324", "text": "private void init() {\n if (tableSchema == null) {\n tableSchema = getTableSchema();\n }\n\n dataColumns = new ArrayList<>();\n for (Column c : tableSchema.getColumns()) {\n String type = c.getTypeInfo().getTypeName();\n dataColumns.add(new Attribute(c.getName(), type));\n }\n partitionColumns = new ArrayList<>();\n for (Column c : tableSchema.getPartitionColumns()) {\n String type = c.getTypeInfo().getTypeName();\n partitionColumns.add(new Attribute(c.getName(), type));\n }\n requiredColumns = new ArrayList<>();\n if (readDataColumns.getType().equals(RequiredSchema.Type.COLUMNS_SPECIFIED)) {\n Set<String> readColumnsName = readDataColumns.toList()\n .stream()\n .map(Attribute::getName)\n .collect(Collectors.toSet());\n requiredColumns = this.dataColumns\n .stream()\n .filter(attr -> readColumnsName.contains(attr.getName()))\n .collect(Collectors.toList());\n } else {\n requiredColumns.addAll(dataColumns);\n }\n }", "title": "" }, { "docid": "ba8ea2880c6da7393942cd36c8b8b07b", "score": "0.5042808", "text": "public String getTableDbName() { return \"vendor_constraint_name_auto_foo\"; }", "title": "" }, { "docid": "3dc76489f72fe2777625242c4c42faf3", "score": "0.50420254", "text": "private void initPhotoTable() {\n PreparedStatement ps = null;\n String createTable_Photo =\n \"create table if not exists photo(\"\n + \" id int not null auto_increment,\"\n + \" url varchar(64) not null unique,\"\n + \" name varchar(64) not null unique,\"\n + \" create_date date,\"\n + \" height int,\"//unit: pixels; cannot be negative\n + \" width int,\" //unit: pixels; cannot be negative\n + \" focal_length int,\"// unit: mm\n + \" f_number varchar(64),\" //like f/4.5\n + \" iso int not null,\"//\n + \" primary key (id)\"\n +\")\";\n try {\n conn = jdbcUtils.getInstance().getConnection();\n ps = conn.prepareStatement(createTable_Photo);\n ps.execute();\n System.out.println(\"created photo table\");\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n jdbcUtils.getInstance().closeConnection(conn, ps, null);\n }\n }", "title": "" }, { "docid": "0eb6b8895d78645f14b0457e3ce091e1", "score": "0.50410473", "text": "String tableName();", "title": "" }, { "docid": "4116fd1d2dbc5cbc1b5f380888bdd1e0", "score": "0.50400484", "text": "public String getTableName(){\r\n\t\treturn tableName;\r\n\t}", "title": "" }, { "docid": "18cda795c3b94cab954ac5dc39704bb4", "score": "0.50367653", "text": "@Override\n\tprotected String getColumnsWithoutPrimaryKey() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ebbade00e634c7879faeab87637fdc3b", "score": "0.5036649", "text": "@Override\n\tprotected String getPrimaryKeyColumn() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "251ff1e988887632dd359cf3ff2a57c5", "score": "0.50362134", "text": "@Override\r\n\tpublic void init() throws SQLException\r\n\t{\n\t\tput(1, 1);\r\n\t}", "title": "" }, { "docid": "e8b92968af876afd83dc5b950bedd69b", "score": "0.5034336", "text": "@Override\r\n\tpublic void createTable(Connection con) throws SQLException {\r\n\t\tString sql = \"CREATE TABLE \" + tableName\r\n\t\t\t\t+ \"(pc_id integer, character_name varchar(256), \"\r\n\t\t\t\t+ \"PRIMARY KEY (pc_id) ,\" + \" UNIQUE (character_name) )\";\r\n\r\n\t\tif (DbUtils.doesTableExist(con, tableName)) {\r\n\r\n\t\t} else {\r\n\t\t\ttry (PreparedStatement ps = con.prepareStatement(sql);) {\r\n\t\t\t\tps.execute();\r\n\t\t\t}\r\n\t\t\t// sequence\r\n\t\t\tString s = \"CREATE SEQUENCE \"+sequenceName + \" start with 1\";\r\n\t\t\ttry (PreparedStatement ps = con.prepareStatement(s);) {\r\n\t\t\t\tps.execute();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\r\n\t\t\t\r\n\t\t\tString[] newStrings = new String[] { \r\n\t\t\t\t\t\"player_name\",\r\n\t\t\t\t\t\"alignment\",\r\n\t\t\t\t\t\"race_id\",\r\n\t\t\t\t\t\"gender\",\r\n\t\t\t\t\t\"first_class\",\r\n\t\t\t\t\t\"second_class\",\r\n\t\t\t\t\t\"third_class\"\r\n\t\t\t\t\t};\r\n\t\t\tint[] stringLengths = new int[] {255,60,20,20,20,20,20};\r\n\t\t\tDAOUtils.createStrings(con, tableName, newStrings, stringLengths);\r\n\r\n\t\tString[] newInts = new String[] { \r\n\t\t\t\t\"attr_str\",\r\n\t\t\t\t\"attr_int\",\r\n\t\t\t\t\"attr_wis\",\r\n\t\t\t\t\"attr_dex\",\r\n\t\t\t\t\"attr_con\",\r\n\t\t\t\t\"attr_chr\",\r\n\t\t\t\t\"first_class_hp\",\r\n\t\t\t\t\"second_class_hp\",\r\n\t\t\t\t\"third_class_hp\",\r\n\t\t\t\t\"first_class_level\",\r\n\t\t\t\t\"second_class_level\",\r\n\t\t\t\t\"third_class_level\",\r\n\t\t\t\t\"exceptional_strength\",\r\n\t\t\t\t\"first_class_experience\",\r\n\t\t\t\t\"second_class_experience\",\r\n\t\t\t\t\"third_class_experience\",};\r\n\t\tDAOUtils.createInts(con, tableName, newInts);\r\n\r\n\t}", "title": "" }, { "docid": "447a278b825e404829bc105959836592", "score": "0.50337005", "text": "@Override\n protected Map<TableUniqueName, String> tableSubstitution() {\n Map<TableUniqueName, String> s = ImmutableMap.of(param.getOriginalTable(), alias);\n return s;\n }", "title": "" }, { "docid": "4a06ce5d0ea2cb73dec2d7bad0fc0fba", "score": "0.50326735", "text": "@Override\n\t\t\tpublic void mappingParameters(PreparedStatement stmt) throws SQLException {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "4a06ce5d0ea2cb73dec2d7bad0fc0fba", "score": "0.50326735", "text": "@Override\n\t\t\tpublic void mappingParameters(PreparedStatement stmt) throws SQLException {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1301857462e360a58e927bc53587d07f", "score": "0.50288993", "text": "@Override\n\tpublic void preInsert() {\n\t\t\n\t}", "title": "" }, { "docid": "c15c8bc85759a2f21f23a2d7fb9bcf33", "score": "0.50236267", "text": "@Override\r\n\tpublic void importToSQL() throws SQLException {\n\t\t\r\n\t}", "title": "" }, { "docid": "3bcad4fa9cceb7f2db302829a2545099", "score": "0.5022625", "text": "protected TableModel() {}", "title": "" }, { "docid": "aca3e53f2c42a313be83214d0f709d55", "score": "0.5018422", "text": "private void populateTableData() \n\t{\n\t\tResultSet data=DB.getDataForScheduleTable(uid);\n\t\ttry \n\t\t{\n\t\t\tint no=tableModel.getRowCount();\n\t\t\twhile(no>0)\n\t\t\t{\n\t\t\t\ttableModel.removeRow(no-1);\n\t\t\t\tno--;\n\t\t\t}\n\t\t\twhile(data.next()) \n\t\t\t{\n\t\t\t\tObject row[]=new Object[6];\n\t\t\t\tfor(int i=0; i<6; i++) \n\t\t\t\t{\n\t\t\t\t\trow[i]=data.getObject(i+1);\n\t\t\t\t}\n\t\t\t\ttableModel.addRow(row);\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t\te.getMessage();\n\t\t}\n\t}", "title": "" }, { "docid": "2b30de6eb40dc41a4ff7ece54398e56e", "score": "0.5014563", "text": "@BeforeEach\n public void setUpEach() throws SQLException {\n\n TableUtils.clearTable(connectionSource, Employer.class);\n }", "title": "" }, { "docid": "eb617726b647b7fe8052cb260045cfae", "score": "0.50121653", "text": "public Mapping() throws SQLException {\n super(name, definition, isTemp);\n insertData();\n }", "title": "" }, { "docid": "5f50fb0225aca2926faf2088dda20af0", "score": "0.5001161", "text": "@Override\n\t\tpublic int getTableX() {\n\t\t\treturn 0;\n\t\t}", "title": "" }, { "docid": "d77df4c1f6918a40ba19af493203ce7f", "score": "0.4998724", "text": "@Override\n public void createTable() {\n final String[] TABLE_COLUMNS_ATLAS = {\n TableColumn.ProductTable.ID + \" INTEGER PRIMARY KEY\",\n TableColumn.ProductTable.NAME + \" VARCHAR NOT NULL\",\n };\n\n //TODO: create table\n database.execSQL(makeSQLCreateTable(TABLE_NAME, TABLE_COLUMNS_ATLAS));\n\n //TODO: create default value for table\n if (!checkExited(database, TABLE_NAME, TableColumn.ProductTable.ID, \"10150\")) {\n try {\n ProductData productData = new ProductData();\n List<Line> data = productData.getData();\n for (Line line : data) {\n database.execSQL(makeSQLInsertTable(TABLE_NAME, line));\n }\n } catch (SQLiteException sql_ex) {\n sql_ex.printStackTrace();\n }\n }\n\n //TODO: show table\n XCursor cursor = selectTable();\n printData(TABLE_NAME, cursor);\n cursor.close();\n }", "title": "" }, { "docid": "b384f487f2cae562071a5cab68874237", "score": "0.49976668", "text": "@Override\r\n\tpublic String getTableName() {\n\t\treturn \"taskMan\";\r\n\t}", "title": "" }, { "docid": "5d228c113df0f5cc6f3dac1ef1a69d21", "score": "0.49919274", "text": "protected void LoadTable()\n { }", "title": "" } ]
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "d5ebc06ed0e225da8e7f91006c07ee10", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view= inflater.inflate(R.layout.fragment_restaurant, container, false);\n restRecyclerView=(RecyclerView)view.findViewById(R.id.rest_recviews);\n layoutManager = new LinearLayoutManager(getActivity());\n restRecyclerView.setLayoutManager(layoutManager);\n restRecyclerView.setItemAnimator(new DefaultItemAnimator());\n Retrofit retrofit = new Retrofit.Builder()\n .baseUrl(Constants.apilink)\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n APIService service = retrofit.create(APIService.class);\n Call<Restourants> call = service.getRestourants();\n call.enqueue(new Callback<Restourants>() {\n @Override\n public void onResponse(Call<Restourants> call, Response<Restourants> response) {\n ArrayList<Restourant> rest=response.body().getRestourants();\n adapter = new RestourantsAdapter(rest,getActivity());\n restRecyclerView.setAdapter(adapter);\n }\n\n @Override\n public void onFailure(Call<Restourants> call, Throwable t) {\n\n }\n });\n return view;\n }", "title": "" } ]
[ { "docid": "726a37df904bcdd4ebbe2d72a17d7ae6", "score": "0.6869027", "text": "@Override\n\tprotected int initLayout() {\n\t\treturn R.layout.fragment_my;\n\t}", "title": "" }, { "docid": "640e442841b6d1efbd06df59f42e7cdf", "score": "0.68370074", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View layout = inflater.inflate(R.layout.post_room_step_4_view, container, false);\n initControl(layout);\n\n //Lấy context của fragment\n postRoom = (postRoomAdapterUpdate) getContext();\n\n roomModel = postRoom.returnRoomModel();\n\n initData();\n\n return layout;\n }", "title": "" }, { "docid": "17f201a47a1c347f133b35fb07e0f1ef", "score": "0.6775612", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v =inflater.inflate(R.layout.fragment_visualizer, container, false);\n mBeanSpinner = (Spinner)v.findViewById(R.id.visualizer_spinner_bean);\n mGraph = (XYPlot)v.findViewById(R.id.visualizer_graph);\n mTargetBounds = new SimpleXYSeries[4];\n setupGraph();\n setupSpinner();\n return v;\n }", "title": "" }, { "docid": "23aa6f5235a9a24edfc5ea820ee6927c", "score": "0.6770762", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_teacher_roll_call, container, false);\n try {\n initUI(rootView);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n return rootView;\n }", "title": "" }, { "docid": "12cbde69c7b940009d2c46e67c0b7be8", "score": "0.67691296", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.giphy_details_fragment, container, false);\n }", "title": "" }, { "docid": "a80f32d28b0a5c267a116fef9c4be05d", "score": "0.67480445", "text": "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\tView view = inflater.inflate(R.layout.fragment_feed, container, false);\r\n//\t\tmGridView = (GridView) view.findViewById(R.id.fragment_feed_gridview);\r\n\t\tmGridView = (ListView) view.findViewById(R.id.fragment_feed_gridview);\r\n//\t\tmProgress = (ProgressBar)view.findViewById(R.id.fragment_feed_progress);\r\n\t\tmProgress = ((LayoutInflater)getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.item_footerview, null, false);\r\n\t\tProgressBar mProgressBar = (ProgressBar)mProgress.findViewById(R.id.fragment_feed_group_progress);\r\n\t\tmProgressBar.getIndeterminateDrawable().setColorFilter(\r\n\t getResources().getColor(R.color.background_actionbar),\r\n\t android.graphics.PorterDuff.Mode.SRC_IN);\r\n\t\treturn view;\r\n\t}", "title": "" }, { "docid": "be52f0352d9cc77a3631abb05a4f7dc4", "score": "0.6744868", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n root = inflater.inflate(R.layout.fragment_bookmark_details, container, false);\n setupViews();\n return root;\n }", "title": "" }, { "docid": "794b22bd558e8257dd59e5dcc8242018", "score": "0.67373365", "text": "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.feed_fragment, container, false);\n }", "title": "" }, { "docid": "95dccff49b6b7ec70549f91f49d0946f", "score": "0.6715155", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflatedView = inflater.inflate(R.layout.fragment_profile, container, false);\n\n mAvatarImage = (ImageView) inflatedView.findViewById(R.id.profile_fragment_avatar_image);\n mDisplayName = (TextView) inflatedView.findViewById(R.id.profile_fragment_display_name);\n mFullName = (TextView) inflatedView.findViewById(R.id.profile_fragment_full_name);\n mFriendRequestGroup = (LinearLayout) inflatedView.findViewById(R.id.profile_fragment_friend_request_group);\n mFriendRequestBtn = (Button) inflatedView.findViewById(R.id.profile_fragment_friend_request_btn);\n mFriendRequestBtn.setCompoundDrawablePadding(16);\n\n getUserDataAndSetupUI(mUserId);\n\n return inflatedView;\n }", "title": "" }, { "docid": "0fb930c6a7338b568b5ac61ac396a75f", "score": "0.67150235", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_send_crypto, container, false);\n ids();\n setup();\n return view;\n }", "title": "" }, { "docid": "43fa464e0d150a61f9557e38738d4902", "score": "0.67036974", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_chart_body_data, container, false);\n }", "title": "" }, { "docid": "27440f562d41e544f74a36ee7b20e280", "score": "0.66939664", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_all_friends, container, false);\n }", "title": "" }, { "docid": "7e2af2fbd670db173f27535000b78ec1", "score": "0.6693437", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_body_part, container, false);\n\n\n }", "title": "" }, { "docid": "9310b161973a4a98815447a34a6c6bd9", "score": "0.6685348", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed, container, false);\n\n }", "title": "" }, { "docid": "ba00f9800e850910c4cd1ad61e9f7edf", "score": "0.6680965", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_more_friend, container, false);\n initVariables();\n initUI(view);\n getNonFriends();\n return view;\n }", "title": "" }, { "docid": "0aca321f323c5ccb8a2442454cb370bb", "score": "0.6680944", "text": "@Override\n public View onCreateView(\n LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed, container, false);\n }", "title": "" }, { "docid": "d15d308ba3090ae175358cb66504cb19", "score": "0.66788864", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_control, container, false);\n\n ivPlay = (ImageButton) v.findViewById(R.id.ivRecord);\n ibFlag = (ImageButton) v.findViewById(R.id.ibFlag);\n rippleBackground = (RippleBackground) v.findViewById(R.id.content);\n\n transcriptSnippets = new ArrayList<>();\n flags = new ArrayList<>();\n\n setupListeners();\n return v;\n }", "title": "" }, { "docid": "1a534edb6e785033bf19424af27455e6", "score": "0.66739833", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_friend, container, false);\n addControl(view);\n addEvent(view);\n return view;\n }", "title": "" }, { "docid": "4a184e8549c9e754030901ddc65feca0", "score": "0.66666245", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_lists_feed, container, false);\n }", "title": "" }, { "docid": "111ace47e34168571680ded67ff40091", "score": "0.6658598", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_water_l, container, false);\n getViewContent(view);\n setEvent();\n setData(1);\n return view;\n }", "title": "" }, { "docid": "01dbfb42a7c73acd5cd963e857fdb0cb", "score": "0.6650287", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\t// TODO Auto-generated method stub\n\t\tTAG = \"MainBRightUpQuickFragment\";\n\t\tLog.d(TAG, \"onCreateView\");\n\t\tmRoot = inflater.inflate(R.layout.rightup_main_b_quick, null);\n\t\tInitResource();\n\t\tInitValuables();\n\t\tInitButtonListener();\n\n\t\treturn mRoot;\n\t}", "title": "" }, { "docid": "8aa1c1efbf76eaf585cf2a57fc9dd382", "score": "0.66452295", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mLayout = inflater.inflate(R.layout.fragment_guest_list, container, false);\n initializeView();\n return mLayout;\n }", "title": "" }, { "docid": "31ae147c9d91f560dd9d589683a3378d", "score": "0.66400325", "text": "@Override\n\tprotected View initViews(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tlayout = inflater.inflate(layoudi, null);\n\t\tlistView = (ListView) layout.findViewById(R.id.frag4_lv);\n\t\tprogressBar = (ProgressBar) layout.findViewById(R.id.frag4_pb);\n\t\tnodata_tv = (TextView) layout.findViewById(R.id.nodata_textView1);\n\t\tnodata_layout = layout.findViewById(R.id.nodata_layout);\n\t\tconvers = new HashMap<String, Conversation>();\n\t\treturn layout;\n\t}", "title": "" }, { "docid": "a56584edc6eaa033245ed53924f6178a", "score": "0.6639572", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_all_document_upload, container, false);\n ids();\n setup();\n setAdapter();\n return view;\n }", "title": "" }, { "docid": "a7ce54cec29abcc3e7b88056b00a6e52", "score": "0.66339695", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_a_d_s, container, false);\n }", "title": "" }, { "docid": "25c109792dd96b8eed642113b0da6f14", "score": "0.66304594", "text": "@Override\n\t\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\t\tBundle savedInstanceState) {\n\t\t\treturn inflater.inflate(R.layout.nine_point_layout, container, false);\n\t\t}", "title": "" }, { "docid": "74f3adee6423a452e9d5cc10b4cc0851", "score": "0.6629289", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView= inflater.inflate(R.layout.fragment_room, container, false);\n prepareButtons(rootView);\n return rootView;\n }", "title": "" }, { "docid": "b6ec86248645d0b0addf6a8249ef3aee", "score": "0.66269654", "text": "@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_retrofit, container, false);\r\n\r\n initializeViews(rootView);\r\n\r\n return rootView;\r\n }", "title": "" }, { "docid": "83bd6d860096870029be9d11f14ebaca", "score": "0.6621646", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view= inflater.inflate(R.layout.fragment_uploading_document, container, false);\n ids();\n setup();\n feedback();\n return view;\n }", "title": "" }, { "docid": "29bad1108452994a52595f5b00efce75", "score": "0.6617877", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n myRealm = new MyRealm(SummaryFrag.this);\n vCall = new VollyCall(getContext(), SummaryFrag.this);\n// to get value from api\n vCall.getDataFromServer(mUrl);\n\n View mView = inflater.inflate(R.layout.fragment_summary, container, false);\n init(mView);\n return mView;\n }", "title": "" }, { "docid": "f2ad3320f0d6b32bb62a00a2d8c07e61", "score": "0.6614288", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_batch_summary, container, false);\n }", "title": "" }, { "docid": "928af9a4ff59f32ab06f20e1e03a8183", "score": "0.6613613", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_health_data, container, false);\n }", "title": "" }, { "docid": "e8f5ac2a62bc8ea9961f44c6b3fe9307", "score": "0.66126245", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.beauty_collect_fragment, null);\n\t}", "title": "" }, { "docid": "74f9ce3b3b03792ce7d62c07e24c4a7a", "score": "0.65999526", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_blank_2, container, false);\n persenter = new RecommendPersenter(this);\n initView(view);\n initDate();\n return view;\n }", "title": "" }, { "docid": "42eab2f37aae50fb6baebcafe0375f45", "score": "0.65987784", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_inbox, container, false);\n bindWidget(view);\n return view;\n }", "title": "" }, { "docid": "a31c80f174a0a19bc6dbc0acd1d60f55", "score": "0.6596519", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n\n // Inflate the layout for this fragment\n return inflater.inflate(R.layout.fragment_event_, container, false);\n }", "title": "" }, { "docid": "3be5004c3c234e97a07fddda3ee11498", "score": "0.65961367", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View layout = inflater.inflate(R.layout.fragment_verified, container, false);\n\n ButterKnife.bind(this,layout);\n\n //initializeLayout();\n\n return layout;\n }", "title": "" }, { "docid": "f39bd71cc69f150ee390d6a01a551fe8", "score": "0.65930724", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_input_data_guru_admin, container, false);\n }", "title": "" }, { "docid": "7d9b574967623663a7623aeb85a09b51", "score": "0.65904915", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_main, container, false);\n\n srl_main = view.findViewById(R.id.srl_main);\n\n tv_date = view.findViewById(R.id.tv_date);\n rv_mainData = view.findViewById(R.id.rv_mainData);\n cl_mainLoadingOverlay = view.findViewById(R.id.cl_mainLoadingOverlay);\n cl_countryLoadingOverlay = view.findViewById(R.id.cl_countryLoadingOverlay);\n rv_countries = view.findViewById(R.id.rv_countries);\n return view;\n }", "title": "" }, { "docid": "325dac69b5573cf4352c0dc7d83f838e", "score": "0.65883106", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n root = inflater.inflate(R.layout.fragment_learners, container, false);\n mProgressBar = root.findViewById(R.id.lProgressBar);\n apiCall();\n\n return root;\n }", "title": "" }, { "docid": "d0fc01762a78fb3515b6e07fe87d614e", "score": "0.65825564", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_result, container, false);\n init(view);\n registerListeners();\n tvTitle.setText(\"Title: \" + title);\n tvDate.setText(\"Date: \" + date);\n tvAmount.setText(\"Amount: \" + amount);\n tvCategory.setText(\"Category: \" + category);\n tvType.setText(\"Type: \" + type);\n ivCategory.setBackground(getResources().getDrawable(imageID));\n return view;\n }", "title": "" }, { "docid": "ed54f0936f2cb3c2e315b2717d1d5aff", "score": "0.65825164", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mLayout = inflater.inflate(R.layout.fragment_for_you, container, false);\n loadingIndicator = mLayout.findViewById(R.id.loadingIndicator);\n loadingIndicator.setVisibility(View.VISIBLE);\n\n contentLayout = mLayout.findViewById(R.id.linearLayout);\n\n if (CourseManager.sharedInstance().isLoaded()) {\n getRecommendationsAndBuildLayout();\n } else {\n CourseManager.sharedInstance().waitForLoad(new Callable<Void>() {\n @Override\n public Void call() throws Exception {\n getRecommendationsAndBuildLayout();\n return null;\n }\n });\n }\n\n return mLayout;\n }", "title": "" }, { "docid": "360e5339dc0f909944623d9e8bfc8ae3", "score": "0.657774", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n return inflater.inflate(R.layout.activity_indian_stats, container, false);\n }", "title": "" }, { "docid": "d3f82bde0eb8d4ef7ed25b7fbde0b77c", "score": "0.6573685", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_job_wall, container, false);\n }", "title": "" }, { "docid": "20690beab2507ecdf3d78470f29941e2", "score": "0.6572036", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_booking_review, container, false);\n }", "title": "" }, { "docid": "82bb7290ac093dc3089181b56fbbc208", "score": "0.6571318", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_rmplab2, container, false);\n }", "title": "" }, { "docid": "5db85c1b66016a7133485103a406e4fa", "score": "0.6566752", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.content_baglog_treatment, parent, false);\n }", "title": "" }, { "docid": "72ba77446d44e3783f84c93e2b7d274a", "score": "0.6565517", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mView = inflater.inflate(R.layout.fragment_talent_bank4, container, false);\n init();\n return mView;\n }", "title": "" }, { "docid": "833b32d449fb2cc8ee852953597db449", "score": "0.6563812", "text": "@Override\n\t\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\t\tBundle savedInstanceState) {\n\t\t\treturn inflater.inflate(R.layout.boardlayout, container, false);\n\t\t}", "title": "" }, { "docid": "bdbfd07049f564c36e7bfc64ae9446ba", "score": "0.65615535", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_friends, container, false);\n }", "title": "" }, { "docid": "e9a4728db5d7cd42017d601db1e9bc1d", "score": "0.65585846", "text": "@Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_tri_hour_forecast, container, false);\n }", "title": "" }, { "docid": "4bb6706546e01d60207b663817b3f6db", "score": "0.6551488", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.bands_view, container, false);\n }", "title": "" }, { "docid": "9e889ba5d6b60b118ec84399c3ed85a8", "score": "0.65467024", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){\n\t\tView v= inflater.inflate(R.layout.weather_day_fragment, container,false);\n\n\t\t//get references to the textViews\n\t\tmPlaceTextview = (TextView) v.findViewById(R.id.placeTextView);\n\t\tmDayTextView = (TextView) v.findViewById(R.id.dayTextView);\n\t\tmMaxTempTextview = (TextView) v.findViewById(R.id.maxTempTextView);\n\t\tmMinTextView = (TextView) v.findViewById(R.id.minTempTextView);\n\t\tmCreditsTextView = (TextView) v.findViewById(R.id.yr);\n\t\tmMessageTextview = (TextView) v.findViewById(R.id.MessageTextView);\n\t\t\n\t\tmImageView = (ImageView) v.findViewById(R.id.imageView);\n\t\treturn v;\n\t}", "title": "" }, { "docid": "56e3be5a6b2f8765972535776541bd43", "score": "0.65459454", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v= inflater.inflate(R.layout.fragment_audio_fregment, container, false);\n\n\n return v;\n }", "title": "" }, { "docid": "3fa52ffe81dfc9fa005d1558e545a5c5", "score": "0.65440345", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_sponsors_detail, container, false);\n this.name = view.findViewById(R.id.sponsors_item_detail_fragment_name);\n this.description = view.findViewById(R.id.sponsors_item_detail_fragment_description);\n this.image = view.findViewById(R.id.sponsors_item_detail_fragment_image);\n return (view);\n }", "title": "" }, { "docid": "5f4f55bf3d04d32079673048878ab526", "score": "0.6542053", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed_and_dead_form, container, false);\n }", "title": "" }, { "docid": "cee4511d64e2b811c1d3c7080c5b5ce8", "score": "0.6538992", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_zui_xin, container, false);\n }", "title": "" }, { "docid": "56d5edb8ded679b4e463978555c52e9b", "score": "0.65368974", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_star, container, false);\n initView(inflate);\n return inflate;\n }", "title": "" }, { "docid": "6980cec1517ad3c1be5c2a0e5f9ea0aa", "score": "0.6536592", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.event_detail_map_fragment, container, false);\n return view;\n }", "title": "" }, { "docid": "8c2a6b25d99b1eece230c42cd18df8cf", "score": "0.65345055", "text": "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.calendar_slots,container,false);\n\n }", "title": "" }, { "docid": "246ddbddb1ecc33accfc421450647213", "score": "0.653012", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n vRoot = inflater.inflate(R.layout.fragment_place, container, false);\n init();\n getData();\n return vRoot;\n }", "title": "" }, { "docid": "7031066da4ee3ee602d8ffdc5dccf8d6", "score": "0.6527887", "text": "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\t\tView view = inflater.inflate(R.layout.info_fragment, container, false);\r\n\t\t//this.nameEltv = (TextView) view.findViewById(R.id.testtv);\r\n\t\t//nameEltv.setText(s);\r\n\t\tthis.placenameElFragmenttv = (TextView) view.findViewById(R.id.placeNameFragmentTextView);\r\n\t\tthis.infoFragmenttv = (TextView) view.findViewById(R.id.infoFragmentTextView);\r\n\t\tthis.telFragmenttv = (TextView) view.findViewById(R.id.telFragmentTextView);\r\n\t\tthis.linkFragmenttv = (TextView) view.findViewById(R.id.linkFragmentTextView);\r\n\t\tthis.fbLinkFragmenttv = (TextView) view.findViewById(R.id.fbLinkFragmentTextView);\r\n\t\tthis.emailFragmenttv = (TextView) view.findViewById(R.id.emailFragmentTextView);\r\n\t\tthis.telFragmentButton = (Button) view.findViewById(R.id.telFragmentButton);\r\n\t\tthis.emailFragmentButton = (Button) view.findViewById(R.id.emailFragmentButton);\r\n\t\tthis.infosourcetv = (TextView) view.findViewById(R.id.infosourcetv);\r\n\t\t\r\n\t\treturn view;\r\n\t}", "title": "" }, { "docid": "4a13806c8cf68b84516514917cf1627c", "score": "0.65268326", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_buy_in_product, container, false);\n initView(inflate);\n initData();\n return inflate;\n }", "title": "" }, { "docid": "0df4abf4b64c266b2b419f298e891325", "score": "0.65257907", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n fragmentRootView= inflater.inflate(R.layout.fragment_select_payment_method_corporate, container, false);\n\n\n fetchViewsFromXml();\n setAmountPayable();\n setClickListeners();\n\n return fragmentRootView;\n }", "title": "" }, { "docid": "d31c8fc9753c26a5190f6e3e6128cd19", "score": "0.652107", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v;\n\n v = inflater.inflate(R.layout.fragment_planet, container, false);\n TextView planetName = (TextView) v.findViewById(R.id.textViewNamn);\n // Book b = (Book) getArguments().getSerializable(\"book\");\n FragmentList fl = new FragmentList();\n planetName.setText(fl.getName());\n TextView planetStats = (TextView) v.findViewById(R.id.textViewStats);\n planetStats.setText(fl.getStats());\n TextView planetFacts = (TextView) v.findViewById(R.id.textViewInfo);\n planetFacts.setText(fl.getFacts());\n ImageView planetImage = (ImageView) v.findViewById(R.id.planetImage);\n planetImage.setImageDrawable(fl.getImage());\n return v;\n }", "title": "" }, { "docid": "73313a24e57acdf1ccb56477f5114971", "score": "0.6520866", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_profile, parent, false);\n }", "title": "" }, { "docid": "82e5c4715fc46143a919a9c25173b2d0", "score": "0.651814", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\t\t\t\t\t Bundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.fragment_folder_recordings, container, false);\n\t}", "title": "" }, { "docid": "e04e0e12e1c397407e1c491d46691cd3", "score": "0.6514693", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_circle_detail, container, false);\n }", "title": "" }, { "docid": "43b64041f8e0dc0fa73f4697cab094f6", "score": "0.65142286", "text": "@Override\n public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n //View view = View.inflate(getActivity(),R.layout.fragment_home3,null);\n View view = inflater.inflate(R.layout.fragment_skill_collection, container, false);\n ButterKnife.bind(this, view);\n initView();\n fragment = this;\n return view;\n }", "title": "" }, { "docid": "f96f4f9ec291c36947c5210f18ef7c5a", "score": "0.6511711", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_number_of_packets, container, false);\n }", "title": "" }, { "docid": "88632e934517ad18964fb21b9d905304", "score": "0.6509977", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_juneichuanwen_xieban, container, false);\n unbinder = ButterKnife.bind(this, view);\n guid = getArguments().getString(\"guid\");\n actor = getArguments().getString(\"actor\");\n quanXian = getArguments().getString(\"quanxian\");\n Map<String, CommentLinearLayout> layoutMap = new HashMap<>();\n layoutMap.put(\"处长批示\", clChuzhangpishi);\n layoutMap.put(\"局领导批示\", clJulingdao);\n layoutMap.put(\"其他人意见\", clQitarenyijian);\n List<String> frames = new ArrayList<>();\n frames.add(\"处长批示\");\n frames.add(\"局领导批示\");\n frames.add(\"其他人意见\");\n if (actor.equals(\"todo\") || actor.equals(\"待办\")) {//默认共公文拷贝隐藏,如果是待办状态,显示按钮\n gongwenCopyJuneichuanwen.setVisibility(View.VISIBLE);\n }\n initData(layoutMap, frames, guid, formName, quanXian);\n\n getData();\n return view;\n }", "title": "" }, { "docid": "ed292c3dfeb5c9ae9c5028ab392514d4", "score": "0.6508643", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_list_wajib, container, false);\n }", "title": "" }, { "docid": "9236934b27b91fccffc551f255232dcc", "score": "0.65067166", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_info_batik_jakarta1, container, false);\n\n\n\n }", "title": "" }, { "docid": "82ba1a66cfae76397b231941d3713136", "score": "0.6503817", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_lead, container, false);\n initView(view);\n titleTv.setText(\"Lead data\");\n return view;\n }", "title": "" }, { "docid": "b665e2c1b6c4e649b7119b64a80b94cf", "score": "0.65036887", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_appointment_details, container, false);\n }", "title": "" }, { "docid": "33cb6b1ac5ecfcdac9d4e500ed21590a", "score": "0.64994776", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_paipinmiaoshu, container, false);\n }", "title": "" }, { "docid": "7f62a1521c0083315046dec87e66804f", "score": "0.6499355", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_sub_wise_attendance, container, false);\n\n Init(view);\n\n// API_call_Subject_Wise_Attendance();\n\n return view;\n }", "title": "" }, { "docid": "6006dc6bb321310cae3b6c1bb090fe09", "score": "0.649723", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.calc_fragment, container, false);\t\t\n\t}", "title": "" }, { "docid": "0bb86aa555ffc8f8939b4d2fc50650ff", "score": "0.64945203", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_q2, container, false);\n }", "title": "" }, { "docid": "5b511a52c7afac8b32f8526876215ac0", "score": "0.64939874", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_add_friend, container, false);\n }", "title": "" }, { "docid": "3789c0efefdafd7b37ad335b8fe3ab0f", "score": "0.64934206", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n vRoot = inflater.inflate(R.layout.fragment_contact, container, false);\n init();\n getData();\n return vRoot;\n }", "title": "" }, { "docid": "4f4e258187a1ac0eefa56a12b7303299", "score": "0.6493105", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_wenbrigade, container, false);\n initView(inflate);\n return inflate;\n\n }", "title": "" }, { "docid": "39b62eadb347a58ca5b104b41997d229", "score": "0.6489239", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n context = getActivity();\n view = inflater.inflate(R.layout.fragment_store_room, container, false);\n init();\n return view;\n }", "title": "" }, { "docid": "e5223c548ca0d178a4837ff3ceb8b8d7", "score": "0.64892006", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_task_detail, container, false);\n setupUI(view);\n return view;\n }", "title": "" }, { "docid": "0084d3c61d36b8864e8609a39195c643", "score": "0.64884084", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_sabtu, container, false);\n }", "title": "" }, { "docid": "8f1d52f1517df56392f62d89e3034802", "score": "0.64883035", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tView view = inflater.inflate(R.layout.podcast_layout, container, false);\n\n\t\t// recuperation des elements graphiques\n\t\tloadingLayout = (LinearLayout) view.findViewById(R.id.loadingLayout);\n\t\tpodcastListView = (ListView) view.findViewById(R.id.podcastsListView);\n\t\tmessageTextView = (TextView) view.findViewById(R.id.messageTextView);\n\n\t\tloadPodcast();\n\n\t\treturn view;\n\t}", "title": "" }, { "docid": "ca53eb6415d5f3d0c26680553ffecb1e", "score": "0.6485106", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_mine_ask, container, false);\n }", "title": "" }, { "docid": "7eeef7f8997e502069dfc80de608d636", "score": "0.64835215", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_collect, container, false);\n initView(inflate);\n return inflate;\n\n }", "title": "" }, { "docid": "200a6367ba835511db1529e4e0f2ec7f", "score": "0.6481943", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_task_detail_image, container, false);\n }", "title": "" }, { "docid": "fba7984689a6ce5df51d95c53189fb51", "score": "0.6481476", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_group_details, container, false);\n }", "title": "" }, { "docid": "750f17b11229eab54628fde7980c4ca3", "score": "0.64802086", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_inform, container, false);\n }", "title": "" }, { "docid": "c2caa33e23663b419ff07cbb89dfce86", "score": "0.6478119", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_xac_nhan, container, false);\r\n }", "title": "" }, { "docid": "ce10ad55a059e560a437a7c5be1a8471", "score": "0.6475254", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_queue, container, false);\n }", "title": "" }, { "docid": "d296b2b2db0c0f7fed8af5f037ea4315", "score": "0.64722896", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.lieux_fragment, container, false);\n }", "title": "" }, { "docid": "889ce2936f3bfbd4f65d309bbe03fc4c", "score": "0.6471639", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_mp3, container, false);\n }", "title": "" }, { "docid": "24eba0afd41238717a21773262e584f1", "score": "0.6471177", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_options_bottom_sheet, container, false);\n }", "title": "" }, { "docid": "c52c5e08b83d3f20c6932d4c8d4c4a3d", "score": "0.6469961", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v = inflater.inflate(R.layout.fragment_frag1, container, false);\n configureImageButton();\n return v;\n }", "title": "" }, { "docid": "ebca000e538f769cf401a7383562e840", "score": "0.64682347", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_radio1, container, false);\n }", "title": "" }, { "docid": "022761c2f3703cd2ba5df57c2c459fb5", "score": "0.6466944", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_instructions, container, false);\n }", "title": "" }, { "docid": "aa2c1fbc303b0a8cf26be7568d22df0a", "score": "0.6465308", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n\n return inflater.inflate(R.layout.fragment_movie_details, container, false);\n }", "title": "" }, { "docid": "d2e09c78a149f69ef60e19b39d5493fd", "score": "0.64605975", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_maps_frag_holder, container, false);\n }", "title": "" } ]
28366a8fa1240f36455dcaddeec66e9c
setting bottom nav up with view color, and item
[ { "docid": "ce0ffe458e0101ef31d3be5cd7445a9a", "score": "0.6073096", "text": "public void setViewPagerHome(){\n setBottomColorFirst(mainBottomNavigationView);\n mainViewPager.setCurrentItem(0,false);\n }", "title": "" } ]
[ { "docid": "c983fa3f280dd2d318e2257e5f73794c", "score": "0.71493834", "text": "private void setupBottomnavView()\n {\n BottomNavigationViewEx bottomNavigationView = findViewById(R.id.bottom);\n BottomNavViewHelper.enableNavigation(EditDeletePaintings.this, this , bottomNavigationView);\n BottomNavViewHelper.setupBottomNavView(bottomNavigationView);\n\n Menu menu = bottomNavigationView.getMenu();\n MenuItem menuItem = menu.getItem(3);\n menuItem.setChecked(true);\n\n }", "title": "" }, { "docid": "074b194ccba31326717aef9bf4d0ae4c", "score": "0.68712693", "text": "private void setUpBottomNavigationView(){\n\n BottomNavigationViewEx buttomNavigationViewEx = ( BottomNavigationViewEx) findViewById(R.id.bottomNavViewBar);\n com.example.saint.medmanager.bottom_view_helper.BottomNavigationView.setUpBottomNavigationView(buttomNavigationViewEx);\n\n //Enable bottom activity in each activities / items\n com.example.saint.medmanager.bottom_view_helper.BottomNavigationView.enableNavigation(mContext, buttomNavigationViewEx);\n\n Menu menu = buttomNavigationViewEx.getMenu();\n MenuItem menuItem = menu.getItem(ACTIVITY_NUM);\n menuItem.setChecked(true);\n\n }", "title": "" }, { "docid": "72089dcb3c8a14b8e4ef85dd0eef759a", "score": "0.6697335", "text": "private void setupBottomNavigationView(){\n Log.d(TAG,\"SetupBottomNavigationView : setting up BottomNavigationView\");\n BottomNavigationView bottomNavigationView = (BottomNavigationView) findViewById(R.id.bottom_navigation);\n BottomNavigationViewHelper.enableNavigation(mContext, bottomNavigationView);\n Menu menu = bottomNavigationView.getMenu();\n MenuItem menuItem = menu.getItem(ACTIVITY_NUM);\n menuItem.setChecked(true);\n\n }", "title": "" }, { "docid": "56951bfaea773dfc6caebc7c322cfd1f", "score": "0.66865027", "text": "private void setColorStateList(BottomNavigationView bottomNavigationView){\n ColorStateList ColorStateList = new ColorStateList(states, colors);\n bottomNavigationView.setItemTextColor(ColorStateList);\n bottomNavigationView.setItemIconTintList(ColorStateList);\n }", "title": "" }, { "docid": "0fee3e1cd47c592ede33f9e9449a089b", "score": "0.6648702", "text": "private void btmNaviViewSetup(){\n Log.d(TAG, \"btmNaviViewSetup: Bottom Navigation View Setting up\");\n BottomNavigationViewEx bottomNavigationViewEx = (BottomNavigationViewEx) findViewById(R.id.bottomNaviBar);\n BottomNavigationViewHelper.bottomNavigationViewSetup(bottomNavigationViewEx);\n BottomNavigationViewHelper.enableNavigation(fContext,this, bottomNavigationViewEx);//Parse the context\n Menu menu = bottomNavigationViewEx.getMenu();\n MenuItem menuItem = menu.getItem(ACTIVITY);\n menuItem.setChecked(true);\n }", "title": "" }, { "docid": "f0aaccb60a0a8dc495f8216f50655175", "score": "0.66397184", "text": "private void setUpBottomNavigation() {\n Log.d(TAG, \"setUpBottomNavigation: setting up the BottomNavigationView\");\n\n BottomNavigationView bottomNavigationView = findViewById(R.id.bottomNavigation);\n// BottomNavigationViewHelper.setUpBottomNavView(bottomNavigationView);\n// BottomNavigationViewHelper.enableNavigation(mContext, bottomNavigationView);\n\n // HIGHLIGHTING THE RIGHT MENU ITEMS\n Menu menu = bottomNavigationView.getMenu();\n MenuItem menuItem = menu.getItem(ACTIVITY_NUMBER);\n menuItem.setChecked(true);\n }", "title": "" }, { "docid": "ea384f8747b14b90fca10b97fa722a07", "score": "0.6621496", "text": "private void bottomNavigationViewListener(){\n mainBottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener()\n {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem)\n {\n switch (menuItem.getItemId())\n {\n case R.id.homeAction:\n mTextViewToolBar.setVisibility(View.VISIBLE);\n setBottomColorFirst(mainBottomNavigationView);\n getSupportActionBar().setDisplayHomeAsUpEnabled(false);\n getSupportActionBar().setDisplayShowHomeEnabled(false);\n mainViewPager.setCurrentItem(0, false);\n\n return true;\n\n case R.id.searchAction:\n mTextViewToolBar.setVisibility(View.VISIBLE);\n setBottomColorSecond(mainBottomNavigationView);\n getSupportActionBar().setDisplayHomeAsUpEnabled(false);\n getSupportActionBar().setDisplayShowHomeEnabled(false);\n mainViewPager.setCurrentItem(1,false);\n return true;\n\n case R.id.settingsAction:\n mTextViewToolBar.setVisibility(View.VISIBLE);\n setBottomColorThird(mainBottomNavigationView);\n getSupportActionBar().setDisplayHomeAsUpEnabled(false);\n getSupportActionBar().setDisplayShowHomeEnabled(false);\n mainViewPager.setCurrentItem(5,false);\n return true;\n\n }\n return false;\n }\n });\n }", "title": "" }, { "docid": "f8d7d0b9d0aa7f7a594d66ff111159dc", "score": "0.65574604", "text": "private void setUpBottomNavigView(){\n BottomNavigationView bottomNavigationView = findViewById(R.id.bottom_navigation);\n Log.d(TAG, \"setUpBottomNavigView: \"+bottomNavigationView);\n BottomNavigHelper.setUp(bottomNavigationView);\n BottomNavigHelper.NavigEnable(context,bottomNavigationView);\n Menu menu = bottomNavigationView.getMenu();\n MenuItem mItem = menu.getItem(ACTIVITY_NUM);\n mItem.setChecked(true);\n //mItem.setCheckable(false);\n //mItem.setEnabled(false);\n }", "title": "" }, { "docid": "5798ccdaa09145c72050ce9977aec4df", "score": "0.6417744", "text": "public static void bottomNavigationSetup(Context context, BottomNavigationViewEx bottomNav) {\n bottomNav.enableAnimation(false);\n bottomNav.enableShiftingMode(false);\n bottomNav.enableItemShiftingMode(false);\n bottomNav.setIconsMarginTop(45);\n }", "title": "" }, { "docid": "a5626539aecd432d958c021ebd79a6b9", "score": "0.5982716", "text": "public void setBottomColor(int color){\n bottomColor = color;\n setBottomColor = true;\n }", "title": "" }, { "docid": "ef647c0735686881ab7c32ed7d689b6c", "score": "0.5942002", "text": "public void setNavigationBottom(PageNavigationView tab)\n {\n\n navigationController = tab.custom()\n .addItem(newItem(R.drawable.empty, R.drawable.empty, \"\"))\n .addItem(newItem(R.drawable.ic_home_black_24dp, R.drawable.ic_home_black_24dp, context.getResources().getString(R.string.home)))\n .addItem(newItem(R.drawable.ic_add_shopping_cart_black_24dp, R.drawable.ic_add_shopping_cart_black_24dp, context.getResources().getString(R.string.basket)))\n .addItem(newItem(R.drawable.ic_favorite_black_24dp, R.drawable.ic_favorite_black_24dp, context.getResources().getString(R.string.wishList)))\n .addItem(newItem(R.drawable.ic_account_circle_black_24dp, R.drawable.ic_account_circle_black_24dp, context.getResources().getString(R.string.account)))\n .addItem(newItem(R.drawable.empty, R.drawable.empty, \"\"))\n\n .build();\n\n navigationController.setMessageNumber(2, BasicClass.getBasketItemCounts(sqLiteHandler));\n navigationController.setMessageNumber(3, BasicClass.getWhishListItemCounts(sqLiteHandler));\n\n navigationController.addTabItemSelectedListener(new OnTabItemSelectedListener()\n {\n @Override\n public void onSelected(int index, int old)\n {\n\n navigationController.setSelect(0,false);\n\n switch(index)\n {\n\n case 1:\n Intent intent0 = new Intent(context,MainActivity.class);\n Log.i(\"MainPage\",\"MainIsClicked\");\n context.startActivity(intent0);\n\n break;\n case 2:\n Intent intent1 = new Intent(context, BasketsProducts.class);\n intent1.putExtra(\"FromWhere\",\"Basket\");\n navigationController.setSelect(0,false);\n context.startActivity(intent1);\n\n\n break;\n case 3:\n Intent intent2 = new Intent(context, BasketsProducts.class);\n intent2.putExtra(\"FromWhere\",\"Wishlist\");\n navigationController.setSelect(0,false);\n context.startActivity(intent2);\n\n\n break;\n case 4:\n Intent intent3 = new Intent(context, UserInformations.class);\n navigationController.setSelect(0,false);\n context.startActivity(intent3);\n\n\n\n }\n }\n\n @Override\n public void onRepeat(int index) {\n\n }\n });\n }", "title": "" }, { "docid": "6bcf175cebf31be61fd0272363bd0859", "score": "0.59075636", "text": "private void setNavBar() {\n Button btnSearch = findViewById(R.id.btn_search);\n Button btnLibrary = findViewById(R.id.btn_library);\n Button btnBuyOnline = findViewById(R.id.btn_buy_online);\n Button btnHome = findViewById(R.id.btn_home);\n btnHome.setBackgroundResource(R.color.colorAccent);\n btnSearch.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n startActivity(new Intent(MainActivity.this, Search.class));\n }\n });\n btnLibrary.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n startActivity(new Intent(MainActivity.this, AlbumsActivity.class));\n }\n });\n btnBuyOnline.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n startActivity(new Intent(MainActivity.this, Online.class));\n }\n });\n }", "title": "" }, { "docid": "0dd477bb3429401baffc6a711247f547", "score": "0.58766407", "text": "private void initBottomView() {\n\t\t\n\t\tbottonContainer.addView(new GraphBottomView(this, sortTitle()),\n\t\t\t\tnew RelativeLayout.LayoutParams(LayoutParams.MATCH_PARENT,\n\t\t\t\t\t\tLayoutParams.WRAP_CONTENT));\n\t}", "title": "" }, { "docid": "833cac2badde3b9f7d4ed8b0e1bac84e", "score": "0.5859425", "text": "void setNavigationBarColor(@ColorInt int color);", "title": "" }, { "docid": "f26164b838b42a4c5314e6973b2fe72d", "score": "0.57155263", "text": "private void initOnBottomStyle() {\n if (mBottomLayout != null) {\n if (isOnBottomStyle) {\n addFooterView(mBottomLayout);\n } else {\n removeFooterView(mBottomLayout);\n }\n return;\n }\n if (!isOnBottomStyle) {\n return;\n }\n\n mBottomDefaultText = context.getString(R.string.drag_drop_list_view_bottom_default_text);\n mBottomLoadingText = context.getString(R.string.drag_drop_list_view_bottom_loading_text);\n mBottomNoMoreText = context.getString(R.string.drag_drop_list_view_bottom_no_more_text);\n\n LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n mBottomLayout = (RelativeLayout) inflater.inflate(R.layout.layout_drag_drop_list_view_bottom, this, false);\n mBottomButton = (Button) mBottomLayout.findViewById(R.id.drag_drop_list_view_button);\n mBottomButton.setDrawingCacheBackgroundColor(0);\n mBottomButton.setEnabled(true);\n\n mBottomProgressBar = (ProgressBar) mBottomLayout.findViewById(R.id.drag_drop_list_view_load_progress_bar);\n addFooterView(mBottomLayout);\n }", "title": "" }, { "docid": "83041b997cda4090b1a90bea80ff4f45", "score": "0.5672803", "text": "public static void setHomeItem(Activity activity) {\n BottomNavigationView bottomNavigationView = (BottomNavigationView)\n activity.findViewById(R.id.bottomNavigationView);\n bottomNavigationView.setSelectedItemId(R.id.homeNavItem);\n }", "title": "" }, { "docid": "cfc73ef3a07adfc6b570fb01a0eb1f89", "score": "0.56555206", "text": "public void navigation(){\n BottomNavigationView bottomNavigationView = findViewById(R.id.bottom_navigation);\n //set home selected\n bottomNavigationView.setSelectedItemId(R.id.home);\n\n //perform itemSelectedListener\n bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {\n switch (menuItem.getItemId()){\n case R.id.home:\n return true;\n case R.id.chat:\n startActivity(new Intent(getApplicationContext(),\n CustomerChatActivity.class));\n overridePendingTransition(0,0);\n return true;\n case R.id.gallery:\n startActivity(new Intent(getApplicationContext(),\n ProductListActivity.class));\n overridePendingTransition(0,0);\n return true;\n case R.id.favourite:\n startActivity(new Intent(getApplicationContext(),\n FavoriteActivity.class));\n overridePendingTransition(0,0);\n return true;\n case R.id.profile:\n startActivity(new Intent(getApplicationContext(),\n ProfileActivity.class));\n overridePendingTransition(0,0);\n return true;\n }\n return false;\n }\n });\n }", "title": "" }, { "docid": "08f6bc92926f4cd839417ba2bc224ff0", "score": "0.56392527", "text": "protected void initNavBar() {\n BottomNavigationView navigation = (BottomNavigationView) findViewById(R.id.nav_view);\n navigation.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {\n switch (menuItem.getItemId()) {\n case R.id.navigation_map:\n break;\n case R.id.navigation_profile:\n menuItem.setChecked(true); //sets the clicked activity as the active tab on the navigation bar\n Intent intent = new Intent(MapsActivity.this, AccountPageActivity.class);\n startActivity(intent);\n break;\n }\n return true;\n }\n });\n }", "title": "" }, { "docid": "c0699b49a9233e0e591fcdeca2252b28", "score": "0.5630998", "text": "private void setUpIds(){\n mainActivityToolBar = findViewById(R.id.toolbarMainActivity);\n mTextViewToolBar = findViewById(R.id.toolBarTitle);\n mainBottomNavigationView = findViewById(R.id.bottom_navigation);\n relativeLayoutMain = findViewById(R.id.relativeLayoutMain);\n mainViewPager = findViewById(R.id.viewpager_id);\n setSupportActionBar(mainActivityToolBar);\n mainAdapter = new ViewPagerAdapter(getSupportFragmentManager());\n mainViewPager.setAdapter(mainAdapter);\n mainViewPager.setOffscreenPageLimit(10);\n setBottomColorFirst(mainBottomNavigationView);\n }", "title": "" }, { "docid": "295497770b89b5d6f4b7b63579baf3a1", "score": "0.5630894", "text": "private void updateBottomUI() {\n\n //Clear all first\n mGoAppointments.setImageDrawable(getResources().getDrawable(R.drawable.custom_size_appointments));\n mHome.setImageDrawable(getResources().getDrawable(R.drawable.custom_size_home));\n mGoClients.setImageDrawable(getResources().getDrawable(R.drawable.custom_size_clients));\n\n //Specify the clients as the selected one\n mGoClients.setImageDrawable(getResources().getDrawable(R.drawable.custom_size_red_clients));\n }", "title": "" }, { "docid": "e701178a858657995346aa287c73572c", "score": "0.56273717", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n BottomNavigationView navView = findViewById(R.id.nav_view);\n // Passing each menu ID as a set of Ids because each\n // menu should be considered as top level destinations.\n AppBarConfiguration appBarConfiguration = new AppBarConfiguration.Builder(\n R.id.navigation_home, R.id.navigation_dashboard, R.id.navigation_notifications)\n .build();\n NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment);\n NavigationUI.setupActionBarWithNavController(this, navController, appBarConfiguration);\n NavigationUI.setupWithNavController(navView, navController);\n\n Window w = getWindow();\n w.setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);\n\n //Ставим первую девушку-------------------------------------------------------\n ImageView imagePeople = (ImageView) findViewById(R.id.imageBase2);\n TextView TextInfo = (TextView) findViewById(R.id.textInfo2);\n imagePeople.setImageResource(massiv[number].img);\n TextInfo.setText(massiv[number].name + \", \" + massiv[number].age + \" год\");\n\n //Ставим начальные показатели-------------------------------------------------\n TextView textLike = (TextView) findViewById(R.id.textLike);\n TextView textDislike = (TextView) findViewById(R.id.textDislike);\n TextView textNone = (TextView) findViewById(R.id.textNone);\n textLike.setText(\"Лайки: \"+like);\n textDislike.setText(\"Дизлайки: \"+dislike);\n textNone.setText(\"Не просмотрено: \"+none);\n }", "title": "" }, { "docid": "d963f46d775234c93f1e7147893d74ab", "score": "0.5589376", "text": "private void setNavColor(int color) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n getWindow().setNavigationBarColor(color);\n }\n }", "title": "" }, { "docid": "903a5cf0aa592b23800348adbb9515b8", "score": "0.55716705", "text": "private void themePage() {\r\n\t\tSharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext());\r\n\t\tString color = prefs.getString(\"color\", \"green\");\r\n\t\t\r\n\t\tView header = (View) findViewById(R.id.addnew_header);\r\n\t\theader.setBackgroundResource(FINTheme.getMainColor(color, getBaseContext()));\r\n\t\t\r\n\t\tView container = (View) findViewById(R.id.addnew_location_container);\r\n\t\tcontainer.setBackgroundResource(FINTheme.getLightColor(color, getBaseContext()));\r\n\t\t\r\n\t\tcontainer = (View) findViewById(R.id.addnew_category_container);\r\n\t\tcontainer.setBackgroundResource(FINTheme.getLightColor(color, getBaseContext()));\r\n\t\t\r\n\t\tcontainer = (View) findViewById(R.id.addnew_special_container);\r\n\t\tcontainer.setBackgroundResource(FINTheme.getLightColor(color, getBaseContext()));\r\n\t}", "title": "" }, { "docid": "368f9707e59fe0e67f53636b6571bd5d", "score": "0.5554034", "text": "private Component createRepeatingMainNavigation() {\n IModel<List<Class<? extends Page>>> mainNavigationModel = createMainNavigationModel();\n return new ListView<Class<? extends Page>>(\"repeatingMainNav\", mainNavigationModel) {\n private static final long serialVersionUID = 2629038838888554746L;\n \n @Override\n protected void populateItem(ListItem<Class<? extends Page>> item) {\n item.add(createMenuLink(item));\n }\n };\n }", "title": "" }, { "docid": "982c995cc14fa91abfe5dea92a9cbafe", "score": "0.55398023", "text": "public void introBottomNavigation() {\n navView = findViewById(R.id.nav_view);\n navView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {\n int id = menuItem.getItemId();\n if (id == R.id.welcome_nav) {\n\n Menu menuMenu = navView.getMenu();\n MenuItem menuItemNew = menuMenu.getItem(0);\n menuItemNew.setChecked(true);\n\n IntroSlide1 profileFragment = new IntroSlide1();\n FragmentManager fragmentManager = getSupportFragmentManager();\n fragmentManager.beginTransaction().setCustomAnimations(R.anim.slide_up, R.anim.slide_down).replace(R.id.hubLayout, profileFragment).commit();\n\n /* Check if 'Slide1' fragment is loading properly */\n Log.d(\"Fragment_Side1_Awake: \", \"Success\");\n\n } else if (id == R.id.description_nav) {\n\n Menu menuMenu = navView.getMenu();\n MenuItem menuItemNew = menuMenu.getItem(1);\n menuItemNew.setChecked(true);\n\n IntroSlide2 timeLineFragment = new IntroSlide2();\n FragmentManager fragmentManager = getSupportFragmentManager();\n fragmentManager.beginTransaction().setCustomAnimations(R.anim.slide_up, R.anim.slide_down).replace(R.id.hubLayout, timeLineFragment).commit();\n\n /* Check if 'Slide2' fragment is loading properly */\n Log.d(\"Fragment_Side2_Awake\", \"Success\");\n\n } else if (id == R.id.compliment_nav) {\n\n Menu menuMenu = navView.getMenu();\n MenuItem menuItemNew = menuMenu.getItem(2);\n menuItemNew.setChecked(true);\n\n IntroSlide3 settingsFragment = new IntroSlide3();\n FragmentManager fragmentManager = getSupportFragmentManager();\n fragmentManager.beginTransaction().setCustomAnimations(R.anim.slide_up, R.anim.slide_down).replace(R.id.hubLayout, settingsFragment).commit();\n\n /* Check if 'Slide3' fragment is loading properly */\n Log.d(\"Fragment_Side3_Awake\", \"Sucess\");\n\n } else if (id == R.id.exit_nav) {\n\n Intent toMainHub = new Intent(IntroHubActivity.this, MainActivity.class);\n startActivity(toMainHub, ActivityOptions.makeSceneTransitionAnimation(IntroHubActivity.this).toBundle());\n finish();\n\n /* Check if 'Exit' fragment is loading properly */\n Log.d(\"Fragment_End_Awake: \", \"success\");\n\n }\n return false;\n }\n });\n }", "title": "" }, { "docid": "5d682e1c2738a3509a0f47f2ab5903be", "score": "0.551079", "text": "private void setUpNavView() {\n nav_view.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n\n // This method will trigger on item Click of navigation menu\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {\n\n //Check to see which item was being clicked and perform appropriate action\n switch (menuItem.getItemId()) {\n //Replacing the main content with ContentFragment Which is our Inbox View;\n case R.id.nav_setup:\n Functions.showSimpleAlertDialog(HomeActivity.this, getString(R.string.tl_alert), getString(R.string.msg_alert_non_data));\n break;\n case R.id.nav_about:\n Functions.showSimpleAlertDialog(HomeActivity.this, getString(R.string.tl_alert_app_info), getString(R.string.msg_alert_app_info));\n break;\n\n }\n\n drawer_layout.closeDrawers();\n return true;\n }\n });\n\n }", "title": "" }, { "docid": "33a84fb4fb594b82195d7aff5fa9d368", "score": "0.5492954", "text": "private void setupBottomNavigationListener() {\n\n BottomNavigationView bottomNavigationView = (BottomNavigationView) findViewById(R.id.bottom_navigation);\n Menu menu = bottomNavigationView.getMenu();\n MenuItem menuItem = menu.getItem(1); // bottom navigation menu index item {0(Profile),1(Home),2(More)}\n menuItem.setChecked(true);\n\n bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem item) {\n switch (item.getItemId()) {\n case R.id.action_profile:\n goToProfileActivity();\n break;\n\n case R.id.action_more:\n goToMoreActivity();\n break;\n\n default:\n\n }\n return false;\n }\n });\n }", "title": "" }, { "docid": "3f48aae099348b9d180971353f54da88", "score": "0.5469898", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mView = inflater.inflate(R.layout.fragment_list, container, false);\n\n Paper.init(getContext());\n Bundle arguments = getArguments();\n mStatus = arguments.getString(\"status\");\n\n mUserCode = Paper.book().read(\"UserCode\");\n language = Paper.book().read(\"language\");\n\n mListView = (ListView) mView.findViewById(R.id.list_view);\n\n bottomNavActivity = (BottomNavActivity) getActivity();\n\n getParcelList(mUserCode, mStatus);\n\n mListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Paper.book().write(\"tracking\", getTerSetters.get(position).getId());\n bottomNavActivity.replaceFragment(new DetailParcelInfoFragment());\n bottomNavActivity.changeToolbar(1);\n }\n });\n\n mListView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {\n @Override\n public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {\n bottomNavActivity.createFloatingButtonMenu(getTerSetters.get(position).getStatus(),\n getTerSetters.get(position).getTrackingNumber(),\n getTerSetters.get(position).getId(), getTerSetters.get(position).getStore(),\n getTerSetters.get(position).getContents(), getTerSetters.get(position).getValue(),\n getTerSetters.get(position).getDept(), getTerSetters.get(position).getPaid(),\n getTerSetters.get(position).getDeliveryRequest());\n return true;\n }\n });\n\n return mView;\n }", "title": "" }, { "docid": "f0b5fd5a8269f1e98e863ff6048974a9", "score": "0.5461336", "text": "private void setUpUI() {\n // Set the BottomNavigationView\n BottomNavigationView bottomNav = findViewById(R.id.bottom_nav_main);\n // Initialize the Listfragments only when Activity is created\n chatFragment = new FragmentMainChats();\n eventFragment = new FragmentMainEvents();\n contactFragment = new FragmentMainContacts();\n\n //--------------------------------------------------------------- Test\n //addTestdat();\n // DBStatements.dropAll();\n\n //Set Up the first Fragment, if lastSelectedFragment is NULL, else use this\n if (lastSelectedFragment == null) {\n getSupportFragmentManager().beginTransaction()\n .replace(R.id.fragment_container_main, chatFragment).commit();\n } else {\n getSupportFragmentManager().beginTransaction()\n .replace(R.id.fragment_container_main, lastSelectedFragment).commit();\n }\n\n\n // Set Up the Listener on the bottomNav\n bottomNav.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {\n Fragment selectedFragment = null;\n\n switch (menuItem.getItemId()) {\n case R.id.nav_chats:\n selectedFragment = chatFragment;\n break;\n\n case R.id.nav_events:\n selectedFragment = eventFragment;\n break;\n\n case R.id.nav_contacts:\n selectedFragment = contactFragment;\n\n }\n lastSelectedFragment = selectedFragment;\n\n getSupportFragmentManager().beginTransaction()\n .replace(R.id.fragment_container_main, selectedFragment).commit();\n\n return true;\n }\n });\n }", "title": "" }, { "docid": "669341c66fe644136bb077d77b53f303", "score": "0.54595697", "text": "public void setBottomTextColor(int color){\n bottomTextColor = color;\n setBottomTextColor = true;\n }", "title": "" }, { "docid": "2cac14d2d43f93575e4f5121aa337b5a", "score": "0.5407941", "text": "@Override\n\tpublic void initView() {\n\t\ttabView = (TabMenuView) findViewById(R.id.scan_bottom_menu);\n\t\tTabMenuInfo group = new TabMenuInfo(1, R.drawable.scan_groupa,\n\t\t\t\tR.drawable.scan_groupb, R.string.scan_group_text,\n\t\t\t\tR.color.text_default_color, R.color.bg_main_blue_color);\n\t\tTabMenuInfo active = new TabMenuInfo(2, R.drawable.scan_activitea,\n\t\t\t\tR.drawable.scan_activiteb, R.string.scan_active_text,\n\t\t\t\tR.color.text_default_color, R.color.bg_main_blue_color);\n\t\tTabMenuInfo other = new TabMenuInfo(3, R.drawable.scan_othera,\n\t\t\t\tR.drawable.scan_otherb, R.string.scan_other_text,\n\t\t\t\tR.color.text_default_color, R.color.bg_main_blue_color);\n\n\t\ttabView.addMenuItem(group, 0);\n\t\ttabView.addMenuItem(active, 1);\n\t\ttabView.addMenuItem(other, 2);\n\n\t\ttabView.setOnMenuClickListener(new IMenuItemClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onMenuItemClick(int position) {\n\t\t\t\ttabView.setSelectIndex(position);\n\t\t\t}\n\t\t});\n\t\t// 默认选中课程页\n\t\ttabView.setSelectIndex(0);\n\n\t}", "title": "" }, { "docid": "ac954fd1b1f604b5c8fe04db710d9d5c", "score": "0.5401144", "text": "@Override\n\tprotected void bindView(int position, ViewHolder viewholder) {\n\t\tLightItem item = (LightItem) mList.get(position);\n\t\tviewholder.tvItemLeft.setBackgroundDrawable(item.getItemLeftDra());\n\t\tviewholder.tvItemRight.setVisibility(View.GONE);\n\t\tviewholder.tvItemMiddle.setText(item.getName());\n\t\t\n\t\tif (position == cur_position) {\n\t\t\tviewholder.rlLayout\n\t\t\t\t\t.setBackgroundResource(R.drawable.v1_base_item_btn_press);\n\t\t} else {\n\t\t\tviewholder.rlLayout\n\t\t\t\t\t.setBackgroundResource(R.drawable.v1_base_item_btn_unpress);\n\t\t}\n\t}", "title": "" }, { "docid": "3b998438c8c25a695281087fad75ec2c", "score": "0.53975946", "text": "private void setUpNavigationView() {\n navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n\n // This method will trigger on item Click of navigation menu\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n\n //Check to see which item was being clicked and perform appropriate action\n switch (menuItem.getItemId()) {\n //Replacing the main content with ContentFragment Which is our Inbox View;\n case R.id.nav_home:\n navItemIndex = 0;\n CURRENT_TAG = TAG_HOME;\n break;\n case R.id.nav_profile:\n navItemIndex = 1;\n CURRENT_TAG = TAG_PROFILE;\n break;\n case R.id.nav_scan:\n navItemIndex = 2;\n CURRENT_TAG = TAG_SCAN;\n break;\n case R.id.nav_playlist:\n navItemIndex = 3;\n CURRENT_TAG = TAG_PLAYLIST;\n break;\n case R.id.nav_songs:\n navItemIndex = 4;\n CURRENT_TAG = TAG_SONGS;\n break;\n case R.id.nav_shop:\n navItemIndex = 5;\n CURRENT_TAG = TAG_SHOP;\n break;\n case R.id.nav_achiev:\n navItemIndex = 6;\n CURRENT_TAG = TAG_ACHIEV;\n break;\n case R.id.nav_sync:\n navItemIndex = 7;\n CURRENT_TAG = TAG_SYNC;\n break;\n case R.id.nav_logout:\n navItemIndex = 8;\n CURRENT_TAG = TAG_LOGOUT;\n break;\n case R.id.nav_about_us:\n // launch new intent instead of loading fragment\n startActivity(new Intent(MainActivity.this, AboutUsActivity.class));\n drawer.closeDrawers();\n return true;\n case R.id.nav_privacy_policy:\n // launch new intent instead of loading fragment\n startActivity(new Intent(MainActivity.this, PrivacyPoliceActivity.class));\n drawer.closeDrawers();\n return true;\n default:\n navItemIndex = 0;\n }\n\n //Checking if the item is in checked state or not, if not make it in checked state\n if (menuItem.isChecked()) {\n menuItem.setChecked(false);\n } else {\n menuItem.setChecked(true);\n }\n menuItem.setChecked(true);\n\n loadHomeFragment();\n\n return true;\n }\n });\n\n\n ActionBarDrawerToggle actionBarDrawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, R.string.openDrawer, R.string.closeDrawer) {\n\n @Override\n public void onDrawerClosed(View drawerView) {\n // Code here will be triggered once the drawer closes as we dont want anything to happen so we leave this blank\n super.onDrawerClosed(drawerView);\n }\n\n @Override\n public void onDrawerOpened(View drawerView) {\n // Code here will be triggered once the drawer open as we dont want anything to happen so we leave this blank\n super.onDrawerOpened(drawerView);\n }\n };\n\n //Setting the actionbarToggle to drawer layout\n drawer.setDrawerListener(actionBarDrawerToggle);\n\n //calling sync state is necessary or else your hamburger icon wont show up\n actionBarDrawerToggle.syncState();\n }", "title": "" }, { "docid": "f8303df3782765c2bacfb11b74edc0d3", "score": "0.5394695", "text": "@Override\n public int getCount() {\n return mNavItems.size();\n }", "title": "" }, { "docid": "a2c67013c9f5618ba92225d3350a918f", "score": "0.5387257", "text": "public NavigationView(Context context, AttributeSet object, int n10) {\n super(context, (AttributeSet)object, n10);\n void var13_21;\n float f10;\n NavigationMenu navigationMenu;\n NavigationMenuPresenter navigationMenuPresenter;\n this.presenter = navigationMenuPresenter = new NavigationMenuPresenter();\n this.menu = navigationMenu = new NavigationMenu(context);\n int[] nArray = R$styleable.NavigationView;\n int n11 = R$style.Widget_Design_NavigationView;\n int[] nArray2 = new int[]{};\n int n12 = n10;\n object = ThemeEnforcement.obtainTintedStyledAttributes(context, (AttributeSet)object, nArray, n10, n11, nArray2);\n n10 = R$styleable.NavigationView_android_background;\n Drawable drawable2 = ((TintTypedArray)object).getDrawable(n10);\n ViewCompat.setBackground((View)this, drawable2);\n n10 = R$styleable.NavigationView_elevation;\n boolean n13 = ((TintTypedArray)object).hasValue(n10);\n if (n13) {\n n10 = ((TintTypedArray)object).getDimensionPixelSize(n10, 0);\n f10 = n10;\n ViewCompat.setElevation((View)this, f10);\n }\n n10 = R$styleable.NavigationView_android_fitsSystemWindows;\n n10 = (int)(((TintTypedArray)object).getBoolean(n10, false) ? 1 : 0);\n ViewCompat.setFitsSystemWindows((View)this, n10 != 0);\n n10 = R$styleable.NavigationView_android_maxWidth;\n this.maxWidth = n10 = ((TintTypedArray)object).getDimensionPixelSize(n10, 0);\n n10 = R$styleable.NavigationView_itemIconTint;\n boolean bl2 = ((TintTypedArray)object).hasValue(n10);\n if (bl2) {\n drawable2 = ((TintTypedArray)object).getColorStateList(n10);\n } else {\n n10 = 16842808;\n f10 = 2.3693715E-38f;\n drawable2 = this.createDefaultColorStateList(n10);\n }\n int n14 = R$styleable.NavigationView_itemTextAppearance;\n boolean bl3 = ((TintTypedArray)object).hasValue(n14);\n int n15 = 1;\n if (bl3) {\n int n16 = ((TintTypedArray)object).getResourceId(n14, 0);\n int n17 = n15;\n } else {\n boolean bl4 = false;\n boolean bl5 = false;\n }\n n12 = 0;\n ColorStateList colorStateList = null;\n n11 = R$styleable.NavigationView_itemTextColor;\n boolean bl6 = ((TintTypedArray)object).hasValue(n11);\n if (bl6) {\n colorStateList = ((TintTypedArray)object).getColorStateList(n11);\n }\n if (var13_21 == false && colorStateList == null) {\n n12 = 16842806;\n colorStateList = this.createDefaultColorStateList(n12);\n }\n n11 = R$styleable.NavigationView_itemBackground;\n Drawable drawable3 = ((TintTypedArray)object).getDrawable(n11);\n int n18 = R$styleable.NavigationView_itemHorizontalPadding;\n boolean bl7 = ((TintTypedArray)object).hasValue(n18);\n if (bl7) {\n int n19 = ((TintTypedArray)object).getDimensionPixelSize(n18, 0);\n navigationMenuPresenter.setItemHorizontalPadding(n19);\n }\n int n21 = R$styleable.NavigationView_itemIconPadding;\n n21 = ((TintTypedArray)object).getDimensionPixelSize(n21, 0);\n NavigationView$1 navigationView$1 = new NavigationView$1(this);\n navigationMenu.setCallback(navigationView$1);\n navigationMenuPresenter.setId(n15);\n navigationMenuPresenter.initForMenu(context, navigationMenu);\n navigationMenuPresenter.setItemIconTintList((ColorStateList)drawable2);\n if (var13_21 != false) {\n void var11_16;\n navigationMenuPresenter.setItemTextAppearance((int)var11_16);\n }\n navigationMenuPresenter.setItemTextColor(colorStateList);\n navigationMenuPresenter.setItemBackground(drawable3);\n navigationMenuPresenter.setItemIconPadding(n21);\n navigationMenu.addMenuPresenter(navigationMenuPresenter);\n context = (View)navigationMenuPresenter.getMenuView((ViewGroup)this);\n this.addView((View)context);\n int n22 = R$styleable.NavigationView_menu;\n n10 = (int)(((TintTypedArray)object).hasValue(n22) ? 1 : 0);\n if (n10 != 0) {\n n22 = ((TintTypedArray)object).getResourceId(n22, 0);\n this.inflateMenu(n22);\n }\n if ((n10 = (int)(((TintTypedArray)object).hasValue(n22 = R$styleable.NavigationView_headerLayout) ? 1 : 0)) != 0) {\n n22 = ((TintTypedArray)object).getResourceId(n22, 0);\n this.inflateHeaderView(n22);\n }\n ((TintTypedArray)object).recycle();\n }", "title": "" }, { "docid": "6743bc92d2b1f417cbe1f6f0a581fbac", "score": "0.53588265", "text": "@Override\n public void onOpen(SwipeLayout layout) {\n holder.item.setBackgroundColor(context.getResources().getColor(R.color.colorAccent100));\n }", "title": "" }, { "docid": "4f9580d1990412bed002b21bb72d6b12", "score": "0.5342616", "text": "@Override\n\tprotected void initNavBar() {\n\t\tsetTitle(R.string.welfare_detail_join);\n\t}", "title": "" }, { "docid": "66355e75185e059617adcde945ad3dfb", "score": "0.5334431", "text": "@Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem) {\n switch (menuItem.getItemId()) {\n case R.id.bottomBarHome:\n //Change the toolbar text\n topToolbar.setTitle(\"Home\");\n //Hide the current fragment and show the Home fragment\n fmanager.beginTransaction().hide(activeFragment).show(homeFragment).commit();\n activeFragment = homeFragment;\n return true;\n case R.id.bottomBarList:\n topToolbar.setTitle(\"List of readings\");\n fmanager.beginTransaction().hide(activeFragment).show(listFragment).commit();\n activeFragment = listFragment;\n return true;\n case R.id.bottomBarSettings:\n topToolbar.setTitle(\"Settings\");\n fmanager.beginTransaction().hide(activeFragment).show(settingsFragment).commit();\n activeFragment = settingsFragment;\n return true;\n case R.id.bottomBarHelp:\n topToolbar.setTitle(\"Help\");\n fmanager.beginTransaction().hide(activeFragment).show(helpFragment).commit();\n activeFragment = helpFragment;\n return true;\n }\n\n return false;\n }", "title": "" }, { "docid": "08debe7ad96f010865664260a685e734", "score": "0.5271872", "text": "public NavDrawerItem() {}", "title": "" }, { "docid": "222ad616b2e6efa35b27e7f1f55e8c61", "score": "0.5253378", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_item_tab, container, false);\n sessionManager = new SessionManager(getActivity());\n\n // preferences=getActivity().getSharedPreferences(GlobalData.USER_PREFRENCE, Context.MODE_PRIVATE);\n\n ((MainActivity) getActivity()).setTitle(\"\");\n ((MainActivity) getActivity()).setDrawerState(false);\n sessionManager.strModuleId = \"Items\";\n item_tab_layout = (TabLayout) rootView.findViewById(R.id.item_tab_layout);\n item_view_pager = (ViewPager) rootView.findViewById(R.id.item_view_pager);\n btn_addItem = (Button) rootView.findViewById(R.id.btn_addItem);\n if (sessionManager.getHeaderStatus().equalsIgnoreCase(\"1\")) {\n Log.d(\"AITL\", \"Fundraising Color\");\n item_tab_layout.setTabTextColors(Color.parseColor(sessionManager.getFunTopTextColor()), Color.parseColor(sessionManager.getFunTopTextColor()));\n item_tab_layout.setBackgroundColor(Color.parseColor(sessionManager.getFunTopBackColor()));\n item_tab_layout.setSelectedTabIndicatorColor(Color.parseColor(sessionManager.getFunTopTextColor()));\n btn_addItem.setBackgroundColor(Color.parseColor(sessionManager.getFunTopBackColor()));\n btn_addItem.setTextColor(Color.parseColor(sessionManager.getFunTopTextColor()));\n } else {\n Log.d(\"AITL\", \"EvenApp Color\");\n item_tab_layout.setTabTextColors(Color.parseColor(sessionManager.getTopTextColor()), Color.parseColor(sessionManager.getTopTextColor()));\n item_tab_layout.setBackgroundColor(Color.parseColor(sessionManager.getTopBackColor()));\n item_tab_layout.setSelectedTabIndicatorColor(Color.parseColor(sessionManager.getTopTextColor()));\n btn_addItem.setBackgroundColor(Color.parseColor(sessionManager.getTopBackColor()));\n btn_addItem.setTextColor(Color.parseColor(sessionManager.getTopTextColor()));\n }\n\n btn_addItem.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n GlobalData.Fragment_Stack.add(GlobalData.CURRENT_FRAG);\n GlobalData.CURRENT_FRAG = GlobalData.AdditemFragment;\n ((MainActivity) getActivity()).loadFragment();\n }\n });\n\n// if(GlobalData.isNetworkAvailable(getActivity()))\n// {\n// if (sessionManager.isLogin())\n// {\n// new VolleyRequest(getActivity(), VolleyRequest.Method.POST, MyUrls.getNotification, Param.getNotification(sessionManager.getEventId(), sessionManager.getMenuid(), sessionManager.getUserId(), sessionManager.getToken()),0, false, this);\n// }\n// }\n itemPagerAdapter = new ItemPagerAdapter(getChildFragmentManager());\n\n item_view_pager.setAdapter(itemPagerAdapter);\n item_tab_layout.setupWithViewPager(item_view_pager);\n\n\n item_view_pager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n\n @Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n\n }\n\n @Override\n public void onPageSelected(int position) {\n\n }\n\n @Override\n public void onPageScrollStateChanged(int state) {\n\n }\n });\n return rootView;\n }", "title": "" }, { "docid": "c7ce5213460741f0c8b89fd033bc3a83", "score": "0.5242239", "text": "public Navigation() {\n\t\tfindLoveButton.setStylePrimaryName(\"navi-button\");\n\t\tthis.add(findLoveButton);\n\n\t\tprofilButton.setStylePrimaryName(\"navi-button\");\n\t\tthis.add(profilButton);\n\n\t\timpressumButton.setStylePrimaryName(\"navi-button\");\n\t\tthis.add(impressumButton);\n\n\t}", "title": "" }, { "docid": "bd5caf6ec75c62d2c9616d47dbd73979", "score": "0.5223389", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == R.id.nav_news) {\n setFragment(new itemALaUne());\n }\n //Groupe enntreprise avec les différentes catégories\n else if(id==R.id.nav_home){\n setFragment(new itemAccueil());\n } else if(id==R.id.nav_event){\n setFragment(new itemEvent());\n }//066519224 igor\n\n else if (id == R.id.nav_entreprise) {\n\n } else if (id == R.id.nav_entreprise1) {\n setFragment(new itemEauxEtForets());\n\n } else if (id == R.id.nav_entreprise2) {\n setFragment(new itemIndustrie());\n\n } else if (id == R.id.nav_entreprise3) {\n setFragment(new itemBTP());\n\n }\n else if (id == R.id.nav_entreprise4) {\n setFragment(new itemCommerce());\n\n } else if (id == R.id.nav_entreprise5) {\n setFragment(new itemService());\n\n } else if (id == R.id.nav_entreprise6) {\n setFragment(new itemArtisanat());\n\n } else if (id == R.id.nav_entreprise7) {\n setFragment(new itemAssociationsPro());\n\n }\n // Groupe utilitaire avec les differnts items qu'il contient\n// else if (id == R.id.nav_utilitaire) {\n//\n// } else if (id == R.id.nav_entreprise8) {\n// setFragment(new itemGouvernementCongolais());\n//\n// } else if (id == R.id.nav_entreprise9) {\n// setFragment(new itemGeneraliteCongo());\n//\n// } else if (id == R.id.nav_entreprise10) {\n// setFragment(new itemAmbassadeAcrediteAuCongo());\n//\n// }\n// else if (id == R.id.nav_entreprise11) {\n// setFragment(new itemAmbassadeCongoEtranger());\n// } else if (id == R.id.nav_entreprise12) {\n// setFragment(new itemOrganisationInternationale());\n//\n// } else if (id == R.id.nav_entreprise13) {\n// setFragment(new itemJourFerie());\n//\n// }\n //itemEvenement, ou seront affichés tous les évèmnements sorte de calendrier d'evenement\n\n item.setChecked(true);\n DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);\n setTitle(item.getTitle());\n drawer.closeDrawer(GravityCompat.START);\n return true;\n }", "title": "" }, { "docid": "8120cd017bb9f2ad88815bf1bee721e4", "score": "0.5185171", "text": "@Override\n protected void onStart() {\n super.onStart();\n //Bottom Nav\n BottomNavigationView bottomNavigationView = findViewById(R.id.bottomNavigationView);\n bottomNavigationView.setSelectedItemId(R.id.Add);\n\n bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem item) {\n switch (item.getItemId()) {\n case R.id.Home:\n startActivity(new Intent(getApplicationContext(), HomeActivity.class));\n overridePendingTransition(0, 0);\n return true;\n case R.id.Search:\n startActivity(new Intent(getApplicationContext(), SearchActivity.class));\n overridePendingTransition(0, 0);\n return true;\n case R.id.Add:\n return true;\n case R.id.List:\n startActivity(new Intent(getApplicationContext(), ShoppingListActivity.class));\n overridePendingTransition(0, 0);\n return true;\n case R.id.Profile:\n startActivity(new Intent(getApplicationContext(), ProfileActivity.class));\n overridePendingTransition(0, 0);\n return true;\n }\n return false;\n }\n });\n }", "title": "" }, { "docid": "94c351e314e2f28499d3cba4fa018baa", "score": "0.5178597", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n appBarLayout.setElevation(0);\n\n // Handle navigation view item clicks here.\n\n switch (item.getItemId()) {\n case R.id.nav_home:\n getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_container, new HomeFragment()).commit();\n bottomNav.setSelectedItemId(item.getItemId());\n break;\n case R.id.nav_add:\n getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_container, new StateFragment()).commit();\n bottomNav.setSelectedItemId(item.getItemId());\n break;\n case R.id.nav_camera:\n getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_container, new CameraFragment()).commit();\n bottomNav.setSelectedItemId(item.getItemId());\n break;\n case R.id.nav_audio:\n getSupportFragmentManager().beginTransaction().replace(R.id.frame_layout_container, new AudioFragment()).commit();\n bottomNav.setSelectedItemId(item.getItemId());\n break;\n case R.id.nav_singOut:\n FirebaseAuth.getInstance().signOut();\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\n startActivity(intent);\n finish();\n break;\n case R.id.nav_terms:\n Intent intentTermsAndConditions = new Intent(getApplicationContext(), TermsAndConditions.class);\n startActivity(intentTermsAndConditions);\n break;\n case R.id.nav_politics:\n Intent intentPolitics = new Intent(getApplicationContext(), PrivacyPolicyActivity.class);\n startActivity(intentPolitics);\n break;\n case R.id.nav_version:\n Intent intentVersion = new Intent(getApplicationContext(), VersionActivity.class);\n startActivity(intentVersion);\n break;\n default:\n Toast.makeText(this, \"Other opcion\", Toast.LENGTH_SHORT).show();\n }\n\n DrawerLayout drawer = findViewById(R.id.drawer_layout);\n drawer.closeDrawer(GravityCompat.START);\n return true;\n }", "title": "" }, { "docid": "ee21adc04b337a2d1d30cb0431daf4fa", "score": "0.5164519", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n\n //inflate and initialize the bottom menu\n ActionMenuView bottom_toolbar = (ActionMenuView)findViewById(R.id.bottom_toolbar);\n Menu bottomMenu = bottom_toolbar.getMenu();\n getMenuInflater().inflate(R.menu.bottom_bar_menu, bottomMenu);\n for (int i = 0; i < bottomMenu.size(); i++) {\n bottomMenu.getItem(i).setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() {\n @Override\n public boolean onMenuItemClick(MenuItem item) {\n return onOptionsItemSelected(item);\n }\n });\n }\n\n\n\n\n //MenuInflater inflater = getMenuInflater();\n //inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }", "title": "" }, { "docid": "79d033dfce4f308839690df7d38bdac3", "score": "0.5163653", "text": "public void changeItemColor(View view, String status) {\n\n switch(status) {\n case (\"unfinished\"):\n view.setBackgroundColor(Color.GRAY);\n break;\n case (\"finished\"):\n view.setBackgroundColor(Color.WHITE);\n break;\n }\n }", "title": "" }, { "docid": "2fe52f13dbf14e73c4d204842a0de196", "score": "0.51622355", "text": "public void onNaviSelected(int position);", "title": "" }, { "docid": "82b1ca3d1040293bc9ab34e20a2aa7c0", "score": "0.51584184", "text": "private void setTopbar() {\n\t\tZhimaTopbar mTopbar = getTopbar();\n\t\tmTopbar.setBackgroundResource(R.color.orange_organization_topbar);\n\t\tLinearLayout ll_left = (LinearLayout) View.inflate(this, R.layout.topbar_leftview, null);\n\t\tmTopbar.addLeftLayoutView(ll_left);\n\t\tmTopbar.findViewById(R.id.layout_titlebar_leftButton).setOnClickListener(new OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View view) {\n\t\t\t\tfinish();\n\t\t\t}\n\t\t});\n\t\tRelativeLayout ll_right = (RelativeLayout) View.inflate(this, R.layout.topbar_rightview, null);\n\t\tmTopbar.addRightLayoutView(ll_right);\n\t\tImageView image1 = (ImageView) mTopbar.findViewById(R.id.img_topbar_rightButton1);\n\t\timage1.setImageResource(R.drawable.couples_topbar_bless_edit);\n\t\tmTopbar.findViewById(R.id.layout_topbar_rightButton1).setVisibility(View.VISIBLE);\n\t\tmTopbar.findViewById(R.id.layout_topbar_rightButton1).setOnClickListener(new OnClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tif (mZMCouplesObject != null) {\n\t\t\t\t\tif (isAllowComment) {\n\t\t\t\t\t\tIntent intent = new Intent(LeaveWordsListActivity.this, LeaveWordsEditActivity.class);\n\t\t\t\t\t\tintent.putExtra(ACTIVITY_EXTRA, mZMCouplesObject.getId());\n\t\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tHaloToast.show(LeaveWordsListActivity.this, R.string.not_allow_comment);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\t((TextView) mTopbar.findViewById(R.id.txt_topbar_title)).setText(R.string.leave_words_list);\n\t}", "title": "" }, { "docid": "a2b74f4c4e31b3bd859d31531246eace", "score": "0.5150891", "text": "private void loadNavHeader(String name, String email) {\n // name, website\n tvName.setText(name);\n if (email == \"\") {\n tvEmail.setVisibility(View.GONE);\n tvMembership.setVisibility(View.GONE);\n } else {\n tvEmail.setVisibility(View.VISIBLE);\n tvMembership.setVisibility(View.VISIBLE);\n tvEmail.setText(email);\n }\n\n ivHeaderBg.setImageResource(R.drawable.education_and_learning);\n // Loading profile image\n ivProfiles.setImageResource(R.drawable.ic_profile);\n // showing dot next to notifications label\n // navigationView.getMenu().getItem(3).setActionView(R.layout.menu_dot);\n if (App.isUserLoggedIn(HomeActivity.this)) {\n navigationView.getMenu().getItem(7).setVisible(false);\n if (App.getCurrentUser(HomeActivity.this).getUserType().equals(\"DeliveryPerson\")) {\n navigationView.getMenu().getItem(8).setVisible(true);\n navigationView.getMenu().getItem(0).setVisible(false);\n navigationView.getMenu().getItem(5).setVisible(true);\n navigationView.getMenu().getItem(9).setVisible(true);\n navigationView.getMenu().getItem(1).setVisible(false);\n navigationView.getMenu().getItem(2).setVisible(false);\n navigationView.getMenu().getItem(3).setVisible(false);\n navigationView.getMenu().getItem(4).setVisible(false);\n navigationView.getMenu().getItem(6).setVisible(false);\n navigationView.getMenu().getItem(7).setVisible(false);\n } else {\n navigationView.getMenu().getItem(8).setVisible(false);\n navigationView.getMenu().getItem(0).setVisible(true);\n navigationView.getMenu().getItem(5).setVisible(true);\n navigationView.getMenu().getItem(9).setVisible(false);\n navigationView.getMenu().getItem(1).setVisible(true);\n navigationView.getMenu().getItem(2).setVisible(true);\n navigationView.getMenu().getItem(3).setVisible(true);\n navigationView.getMenu().getItem(4).setVisible(true);\n navigationView.getMenu().getItem(6).setVisible(true);\n navigationView.getMenu().getItem(7).setVisible(false);\n }\n } else {\n navigationView.getMenu().getItem(7).setVisible(false);\n navigationView.getMenu().getItem(8).setVisible(false);\n navigationView.getMenu().getItem(9).setVisible(false);\n }\n\n }", "title": "" }, { "docid": "29702a4f7ceeb3d27b539d48ea875ee5", "score": "0.51440865", "text": "private void addDrawerItems() {\n osArray = new String[]{\"Abmelden\", \"Impressum\"};\n Integer[] imageId = {\n R.drawable.logouticon,\n R.drawable.info\n\n\n };\n CustomNavRow adapter = new\n CustomNavRow(ProjectActivity.this, osArray, imageId);\n\n mDrawerList.setAdapter(adapter);\n\n mDrawerList.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n @Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n switch(position) {\n case 0:\n builder.setTitle(getString(R.string.log_out_dialog_title))\n .setMessage(getString(R.string.log_out_dialog_message))\n .setIcon(android.R.drawable.ic_dialog_alert)\n .setPositiveButton(\"Ja\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n\n SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);\n SharedPreferences.Editor editor = settings.edit();\n editor.clear();\n editor.commit();\n Intent homeIntent = new Intent(getApplicationContext(),LoginActivity.class);\n startActivity(homeIntent);\n\n }\n })\n .setNegativeButton(\"Nein\", null)\n .show();\n\n break;\n case 1:\n Toast.makeText(ProjectActivity.this, getString(R.string.impressum), Toast.LENGTH_SHORT).show();\n break;\n default:\n Toast.makeText(ProjectActivity.this, \"you didnt clicked\", Toast.LENGTH_SHORT).show();\n }\n\n }\n });\n }", "title": "" }, { "docid": "8bc18657784a741a6ece0cf20b6dbf31", "score": "0.5126835", "text": "void bindToBottomTab(BottomNavigationTab bottomNavigationTab) {\n // set initial bindings\n bottomNavigationTab.badgeView.clearPrevious();\n if (bottomNavigationTab.badgeItem != null) {\n // removing old reference\n bottomNavigationTab.badgeItem.setTextView(null);\n }\n bottomNavigationTab.setBadgeItem(this);\n setTextView(bottomNavigationTab.badgeView);\n\n // allow sub class to modify the things\n bindToBottomTabInternal(bottomNavigationTab);\n\n // make view visible because gone by default\n bottomNavigationTab.badgeView.setVisibility(View.VISIBLE);\n\n // set layout params based on gravity\n FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) bottomNavigationTab.badgeView.getLayoutParams();\n layoutParams.gravity = getGravity();\n bottomNavigationTab.badgeView.setLayoutParams(layoutParams);\n\n // if hidden hide\n if (isHidden()) {\n // if hide is called before the initialisation of bottom-bar this will handle that\n // by hiding it.\n hide();\n }\n }", "title": "" }, { "docid": "b9ce38828b9cf4d88a5befb198560b3c", "score": "0.51250607", "text": "public BottomBarOnClickListener(@NonNull BottomNavigationView view)\n {\n super();\n context = view.getContext();\n }", "title": "" }, { "docid": "11fed6cd7a8ce76e518c1c527d07fff6", "score": "0.5123796", "text": "private void setupViews() {\n ActionBar actionBar = getSupportActionBar();\n if (actionBar != null) {\n actionBar.setElevation(0);\n }\n\n OverviewPagerAdapter mPagerAdapter = new OverviewPagerAdapter(getSupportFragmentManager());\n ViewPager pager = (ViewPager) findViewById(R.id.overview_viewpager);\n pager.setAdapter(mPagerAdapter);\n pager.setOffscreenPageLimit(3);\n\n setupTabLayout(pager);\n }", "title": "" }, { "docid": "cec7b3b51b4030227fdf102bf354b394", "score": "0.51235473", "text": "private void setUpNavigationView() {\n\n //Setting click listeners for items in the navigation drawer\n navigationDrawer.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n\n // This method will trigger on item Click of navigation menu\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n\n //Check to see which item was being clicked and perform appropriate action\n switch (menuItem.getItemId()) {\n\n // Creating the fragment which will replace the current fragment\n // Setting the selected item's index\n case R.id.nav_inbox:\n navItemIndex = 0;\n fragment = InboxFragment.newInstance();\n toolbar_title.setText(\"Inbox\");\n break;\n\n case R.id.nav_next:\n navItemIndex = 1;\n fragment = NextFragment.newInstance();\n toolbar_title.setText(\"Next\");\n break;\n\n case R.id.nav_waiting:\n navItemIndex = 2;\n fragment = WaitingFragment.newInstance();\n toolbar_title.setText(\"Waiting\");\n break;\n\n case R.id.nav_scheduled:\n navItemIndex = 3;\n fragment = ScheduledFragment.newInstance();\n toolbar_title.setText(\"Scheduled\");\n break;\n\n case R.id.nav_someday:\n navItemIndex = 4;\n fragment = SomedayFragment.newInstance();\n toolbar_title.setText(\"Someday\");\n break;\n\n case R.id.nav_all_tasks:\n navItemIndex = 5;\n fragment = AllTaskFragment.newInstance();\n toolbar_title.setText(\"All Tasks\");\n break;\n\n case R.id.nav_context:\n navItemIndex = 6;\n fragment = new ContextsFragment();\n toolbar_title.setText(\"Contexts\");\n break;\n\n }\n\n // Replacing the current fragment\n FragmentManager fragmentManager = getSupportFragmentManager();\n fragmentManager.beginTransaction().replace(R.id.content_frame,fragment).commit();\n\n //Checking if the item is in checked state or not, if not make it in checked state\n if (menuItem.isChecked()) {\n menuItem.setChecked(false);\n } else {\n menuItem.setChecked(true);\n }\n menuItem.setChecked(true);\n\n // Toggle the fab\n toggleFab();\n\n // Closing drawerLayout on item click\n drawerLayout.closeDrawers();\n\n // Refresh toolbar menu\n invalidateOptionsMenu();\n\n return true;\n }\n });\n\n ActionBarDrawerToggle actionBarDrawerToggle = new ActionBarDrawerToggle(this, drawerLayout, toolbar, R.string.openDrawer, R.string.closeDrawer) {\n\n @Override\n public void onDrawerClosed(View drawerView) {\n // Code here will be triggered once the drawerLayout closes as we dont want anything to happen so we leave this blank\n super.onDrawerClosed(drawerView);\n }\n\n @Override\n public void onDrawerOpened(View drawerView) {\n // Code here will be triggered once the drawerLayout open as we dont want anything to happen so we leave this blank\n super.onDrawerOpened(drawerView);\n }\n };\n\n // Setting the actionbarToggle(clicking the hamburger) to open Navigation drawer\n drawerLayout.setDrawerListener(actionBarDrawerToggle);\n\n // Calling sync state to set the hamburger icon\n actionBarDrawerToggle.syncState();\n }", "title": "" }, { "docid": "0bd15edd70c98aa9303f35ae7539b3ef", "score": "0.5121017", "text": "private void setUpView() {\n setUpDrawerLayout();\n setupViewPager(vpHome);\n tlHome.setupWithViewPager(vpHome);\n setupTabIcons();\n }", "title": "" }, { "docid": "d45e064d849b075b97bb92413f99aa71", "score": "0.5120115", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n\n BottomNavigationView navigation = findViewById(R.id.navigation);\n navigation.setOnNavigationItemSelectedListener(this);\n\n loadFragment(currentFragment);\n\n //Custom action bar\n getSupportActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);\n getSupportActionBar().setCustomView(R.layout.actionbar);\n TextView actionBarTitle = findViewById(R.id.action_bar_title);\n getSupportActionBar().setElevation(0);\n actionBarTitle.setText(\"Menu\");\n\n\n }", "title": "" }, { "docid": "870899f2d2baf5234c9576d63880c67b", "score": "0.51172596", "text": "private void setUpNavigationView()\n {\n navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener()\n {\n\n // This method will trigger on item Click of navigation menu\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n\n //Check to see which item was being clicked and perform appropriate action\n switch (menuItem.getItemId()) {\n //Replacing the main content with ContentFragment Which is our Inbox View\n case R.id.nav_add_ride:\n navItemIndex = 0;\n CURRENT_TAG = TAG_ADD_RIDE;\n break;\n case R.id.nav_ride_history:\n navItemIndex = 1;\n CURRENT_TAG = TAG_RIDE_HISTORY;\n break;\n case R.id.nav_user_profile:\n navItemIndex = 2;\n CURRENT_TAG = TAG_USER_PROFILE;\n break;\n case R.id.nav_notifications:\n navItemIndex = 3;\n CURRENT_TAG = TAG_NOTIFICATIONS;\n break;\n case R.id.nav_feedback:\n navItemIndex = 4;\n CURRENT_TAG = TAG_FEEDBACK;\n break;\n case R.id.nav_find_user:\n navItemIndex = 5;\n CURRENT_TAG = TAG_FIND_USER;\n break;\n case R.id.nav_current_ride:\n navItemIndex = 6;\n CURRENT_TAG = \"current_ride\";\n getCurrentOrderId(false);\n break;\n case R.id.nav_logout:\n AuthUI.getInstance()\n .signOut(MainActivity.this)\n .addOnCompleteListener(new OnCompleteListener<Void>() {\n public void onComplete(@NonNull Task<Void> task) {\n // user is now signed out\n if(task.isSuccessful())\n {\n startActivity(new Intent(MainActivity.this, LoginActivity.class));\n finish();\n }\n else\n {\n Toast.makeText(MainActivity.this,\"Error\"+task.getException(),Toast.LENGTH_SHORT).show();\n }\n }\n });\n default:\n navItemIndex = 0;\n\n //Checking if the item is in checked state or not, if not make it in checked state\n// menuItem.setChecked(!menuItem.isChecked());\n// loadHomeFragment();\n }\n menuItem.setChecked(!menuItem.isChecked());\n loadHomeFragment();\n\n\n return true;\n }\n });\n loadHomeFragment();//by default\n }", "title": "" }, { "docid": "93bd25c97691afeda26b8172dbb529cc", "score": "0.5115626", "text": "public void updateNavigation();", "title": "" }, { "docid": "0b29af45e72e412237a64f549ea90423", "score": "0.51152456", "text": "public void onModuleLoad() {\t\t\t\t\t\r\n\t\tThemeManager.register(Slate.SLATE);\r\n\t\tThemeManager.register(Access.ACCESS);\t\r\n\t//\tGXT.setDefaultTheme(Theme.BLUE, false);\r\n\t\r\n\t\tGWT.log(\"onModuleLoad\");\r\n\t\tViewport viewport = new Viewport();\r\n\t\tviewport.setLayout(new BorderLayout());\r\n\t\t\t\t\r\n\t\tNavItem root = new NavItem(); \r\n\t\tTreeStore<ModelData> navTreeStore = new TreeStore<ModelData>();\t\t\r\n\t\t\r\n\t\tnavTree = new TreePanel<ModelData>(navTreeStore);\r\n\t\tnavTree.setWidth(300);\r\n\t\tnavTree.setDisplayProperty(\"name\");\t\t\r\n\t\t\t\t\r\n\t\tBorderLayoutData westData = new BorderLayoutData(LayoutRegion.WEST);\r\n\t\twestData.setSize(320);\r\n\t\twestData.setMinSize(250);\r\n\t\twestData.setMaxSize(400);\r\n\t\twestData.setSplit(true);\r\n\t\twestData.setCollapsible(true);\t\t\r\n\t\twestData.setMargins(new Margins(0, 5, 5, 0));\r\n\t\t\r\n\t\tContentPanel westPanel = new ContentPanel(new FitLayout());\r\n\t\twestPanel.setHeaderVisible(false);\r\n\t\twestPanel.add(navTree);\r\n\t\t\r\n\t\ttBar = new ToolBar();\r\n\t\twestPanel.setBottomComponent(tBar);\t\t\r\n\t\tviewport.add(westPanel, westData);\r\n\r\n\t\tBorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER);\r\n\t\tcenterData.setMargins(new Margins(10, 5, 5, 0));\r\n\t\tappCenter.setStyleName(\"x-dasboard\");\r\n\t\tappCenter.setStyleAttribute(\"backgroundColor\", \"white\");\r\n\t\tappCenter.setStyleAttribute(\"padding\", \"8px\");\r\n\t\tviewport.add(appCenter, centerData);\t\t\t\t\r\n\r\n\t\tnew QuickTip(viewport);\r\n\t\tRootPanel.get().add(viewport);\r\n\t\r\n\t\t\r\n\t\tcookChapters(root);\r\n\t\tnavTreeStore.add(root.getChildren(), true);\r\n\t\tnavTree.addListener(Events.OnClick, new Listener<TreePanelEvent<ModelData>>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handleEvent(TreePanelEvent<ModelData> evt) {\r\n\t\t\t\tEvents.getBus().fireEvent(Events.NavClick, evt);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tEvents.getBus().addListener(Events.NavClick, new Listener<TreePanelEvent<ModelData>>(){\r\n\t\t\t@Override\r\n\t\t\tpublic void handleEvent(TreePanelEvent<ModelData> evt) {\r\n\t\t\t\tif (evt.getNode() != null && evt.getNode().isLeaf()) {\r\n\t\t\t\t\tdoNavClick(evt);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "5c7da456d4dd0ad632a895e63b961d7d", "score": "0.51010984", "text": "void setMenuView() {\n\t\tJLabel header = new JLabel(\"Welcome to Team Manager\");\n\t\tJButton loginBtn = new JButton(\"Login\");\n\t\tJButton createBtn = new JButton(\"Create an Account\");\n\t\t\n\t\theader.setOpaque(true);\n\t\theader.setForeground(new Color(whiteColor));\n\t\theader.setBackground(new Color(darkBlueColor));\n\t\theader.setHorizontalAlignment(JLabel.CENTER);\n\t\theader.setFont(header.getFont().deriveFont(24f));\n\t\theader.setAlignmentX(Component.CENTER_ALIGNMENT);\n\t\t\n\t\tsetBtnUI(loginBtn, orangeColor, whiteColor, 14, \"icons/outline_exit_to_app_white.png\", lightOrangeColor);\n\t\t\n\t\tsetBtnUI(createBtn, greyColor, whiteColor, 14, \"icons/outline_person_add_white.png\", lightGreyColor);\n\t\t\n\t\t// Change cards when a option is choosen.\n\t\tloginBtn.addActionListener(e -> cards.show(views, \"login\"));\n\t\tcreateBtn.addActionListener(e -> cards.show(views, \"create\"));\n\t\t\n\t\tmenuView.add(header);\n\t\t\n\t\t// Create a button group for both login and create buttons.\n\t\t// Used to set a border around buttons.\n\t\tJPanel buttons = new JPanel();\n\t\tbuttons.add(loginBtn);\n\t\tbuttons.add(createBtn);\n\t\tbuttons.setLayout(new GridLayout(2, 1, 0, 20));\n\t\tbuttons.setBorder(BorderFactory.createEmptyBorder(60, 400, 60, 400));\n\t\tbuttons.setBackground(new Color(backgroundColor));\n\t\t\n\t\tmenuView.add(buttons);\n\t\t\n\t\tmenuView.setLayout(new GridLayout(2, 1, 100, 100));\n\t\tmenuView.setBackground(new Color(backgroundColor));\n\t}", "title": "" }, { "docid": "d9a8721bab3b23f4b67c333cbe2fa2a8", "score": "0.51002026", "text": "public AdminDashPane() {\n\t\tinitComponents();\n\t\ticonLoader();\n\t\tmenu.add(listView);\n\t}", "title": "" }, { "docid": "0938f7a03792f5b7778552af0ae180b5", "score": "0.5096398", "text": "protected void selectItem(int itemId) {\n bottomNavigationView.setSelectedItemId(itemId);\n }", "title": "" }, { "docid": "1c60bc290882f5a442c053ee24375bd3", "score": "0.5092947", "text": "private void setupNavDrawer() {\n drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);\n if (drawerLayout == null) {\n // current activity does not have a drawer.\n return;\n }\n\n SharedPreferences sp = getSharedPreferences(getString(R.string.user_info_pref), Context.MODE_PRIVATE);\n String first_name = sp.getString(getString(R.string.user_info_first_name), \"Not found.\");\n String last_name = sp.getString(getString(R.string.user_info_last_name), \"Not found.\");\n String email = sp.getString(getString(R.string.user_info_email), \"Not found.\");\n\n header = new AccountHeaderBuilder()\n .withActivity(this)\n .addProfiles(\n new ProfileDrawerItem()\n .withName(first_name + \" \" + last_name)\n .withEmail(email)\n .withIcon(R.mipmap.ic_launcher)\n .withSelectedTextColorRes(R.color.primary_text),\n new ProfileSettingDrawerItem()\n .withName(\"Logout\")\n .withIcon(R.drawable.ic_logout_variant_black_24dp)\n .withIdentifier(LOGOUT)\n\n )\n .withHeaderBackground(new ColorDrawable(ContextCompat.getColor(this, R.color.theme_status_bar)))\n .withOnAccountHeaderListener(new AccountHeader.OnAccountHeaderListener() {\n @Override\n public boolean onProfileChanged(View view, IProfile profile, boolean current) {\n if (profile instanceof IDrawerItem && profile.getIdentifier() == LOGOUT) {\n drawer.closeDrawer();\n Intent intent = new Intent(BaseActivity.this, LogoutActivity.class);\n startActivity(intent);\n }\n return false;\n }\n })\n .build();\n\n drawer = new DrawerBuilder()\n .withActivity(this)\n .withAccountHeader(header, true)\n .addDrawerItems(\n new PrimaryDrawerItem()\n .withIdentifier(R.id.nav_restaurant_menu)\n .withName(R.string.navigation_restaurant_menu)\n .withTextColorRes(R.color.theme_primary_dark)\n .withSelectedTextColorRes(R.color.theme_primary_light)\n .withIcon(R.drawable.ic_restaurant_menu_black_24dp)\n .withIconColorRes(R.color.theme_primary_dark)\n .withSelectedIconColorRes(R.color.theme_primary_light),\n new PrimaryDrawerItem()\n .withIdentifier(R.id.nav_cart)\n .withName(R.string.navigation_cart)\n .withTextColorRes(R.color.theme_primary_dark)\n .withSelectedTextColorRes(R.color.theme_primary_light)\n .withIcon(R.drawable.ic_shopping_cart_black_24dp)\n .withIconColorRes(R.color.theme_primary_dark)\n .withSelectedIconColorRes(R.color.theme_primary_light),\n new PrimaryDrawerItem()\n .withIdentifier(R.id.nav_account)\n .withName(R.string.navigation_account)\n .withTextColorRes(R.color.theme_primary_dark)\n .withSelectedTextColorRes(R.color.theme_primary_light)\n .withIcon(R.drawable.ic_person_black_24dp)\n .withIconColorRes(R.color.theme_primary_dark)\n .withSelectedIconColorRes(R.color.theme_primary_light)\n ).withOnDrawerItemClickListener(new Drawer.OnDrawerItemClickListener() {\n @Override\n public boolean onItemClick(View view, int position, IDrawerItem drawerItem) {\n drawer.closeDrawer();\n int id = (int) drawerItem.getIdentifier();\n onNavigationItemClicked(id);\n return true;\n }\n })\n .build();\n drawer.setSelection(getSelfNavDrawerItem());\n\n Log.d(TAG, \"navigation drawer setup finished\");\n }", "title": "" }, { "docid": "3f6476a2fbd99769bc2d628b6504f2b7", "score": "0.50904983", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n view = inflater.inflate(R.layout.statistics_fragment, container, false);\n\n TextView press = (TextView) view.findViewById(R.id.presshere);\n try {\n\n archiveItemDatastore = ActGoals.archiveItemDatastore;\n\n ArrayList<ClassArchiveItem> g = archiveItemDatastore.list;\n for (int i = 0; i < 4; i++) {\n\n int height = (int) (g.get(i).percent * 3);\n Log.i(\"heightbargraph\", \"\" + g.get(i).percent * 2);\n LinearLayout l;\n height+=5;\n switch (i) {\n case 0:\n l = (LinearLayout) view.findViewById(R.id.bar0);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(0);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 1:\n l = (LinearLayout) view.findViewById(R.id.bar1);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(1);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 2:\n l = (LinearLayout) view.findViewById(R.id.bar2);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(2);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 3:\n l = (LinearLayout) view.findViewById(R.id.bar3);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(3);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n }\n\n }\n\n for (int i = 4; i < 8; i++) {\n\n int height = (int) (g.get(i).percent * 3);\n Log.i(\"heightbargraph\", \"\" + g.get(i).percent * 2);\n LinearLayout l;\n height+=5;\n switch (i) {\n case 4:\n l = (LinearLayout) view.findViewById(R.id.bar4);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(4);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 5:\n l = (LinearLayout) view.findViewById(R.id.bar5);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(5);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 6:\n l = (LinearLayout) view.findViewById(R.id.bar6);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(6);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 7:\n l = (LinearLayout) view.findViewById(R.id.bar7);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(7);Log.i(\"pastotot\", \"\" + height);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n }\n }\n for (int i = 8; i < 16; i++) {\n\n int height = (int) (g.get(i).percent * 3);\n LinearLayout l;\n height+=5;\n\n Log.i(\"heightbargraph\", \"\" + g.get(i).percent * 2);\n switch (i) {\n case 8:\n l = (LinearLayout) view.findViewById(R.id.bar8);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(8);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 9:\n l = (LinearLayout) view.findViewById(R.id.bar9);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(9);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 10:\n l = (LinearLayout) view.findViewById(R.id.bar10);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(10);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 11:\n l = (LinearLayout) view.findViewById(R.id.bar11);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(11);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 12:\n l = (LinearLayout) view.findViewById(R.id.bar12);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(12);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 13:\n l = (LinearLayout) view.findViewById(R.id.bar13);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(13);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 14:\n l = (LinearLayout) view.findViewById(R.id.bar14);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(14);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n case 15:\n l = (LinearLayout) view.findViewById(R.id.bar15);\n l.setOnLongClickListener(this);\n l.setOnClickListener(this);\n l.setTag(15);\n l.setMinimumHeight(height);if(height==5){l.setBackgroundColor(Color.RED);}\n break;\n }\n\n }\n }catch(Exception e){Log.i(\"67056705\", \"past totals frag3 error\");}\n\n TextView bgTitle = (TextView) view.findViewById(R.id.bargraphtitle);\n bgTitle.setOnClickListener(this);\n sharkFin = (LinearLayout) view.findViewById(R.id.sharkFin);\n sharkFin.setMinimumHeight(60);\n sharkFin.setTag(\"sharkSwim\");\n sharkFin.setOnClickListener(this);\n\n LinearLayout graphContainer = (LinearLayout) view.findViewById(R.id.bargraphcontainer);\n graphContainer.setOnClickListener(this);\n\n\n\n return view;\n\n }", "title": "" }, { "docid": "ad437f4ceb8d77851f5d4c8736e8146f", "score": "0.50885886", "text": "private void navigationBar()\n {\n getSink().paragraph();\n getSink().text( \"[ \" );\n getSink().link( \"#\"\n + getResourceBundle().getString( \"report.javancss.package.link\" ) );\n getSink().text( getResourceBundle().getString( \"report.javancss.package.link\" ) );\n getSink().link_();\n getSink().text( \" ] [ \" );\n getSink().link( \"#\"\n + getResourceBundle().getString( \"report.javancss.object.link\" ) );\n getSink().text( getResourceBundle().getString( \"report.javancss.object.link\" ) );\n getSink().link_();\n getSink().text( \" ] [ \" );\n getSink().link( \"#\"\n + getResourceBundle().getString( \"report.javancss.function.link\" ) );\n getSink().text( getResourceBundle().getString( \"report.javancss.function.link\" ) );\n getSink().link_();\n getSink().text( \" ] [ \" );\n getSink().link( \"#\"\n + getResourceBundle().getString( \"report.javancss.explanation.link\" ) );\n getSink().text( getResourceBundle().getString( \"report.javancss.explanation.link\" ) );\n getSink().link_();\n getSink().text( \" ]\" );\n getSink().paragraph_();\n }", "title": "" }, { "docid": "111765fe66d0fe4b28015ce024d35f76", "score": "0.5074557", "text": "@AfterViews\n void setUIViews() {\n\n setSupportActionBar(toolbar);\n toolbar.setTitle(\"Appointments\");\n\n toolbar.setNavigationOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n onBackPressed();\n }\n });\n\n\n Utility.replaceAppointmentFragment(this, AppointmentListFragment.newInstance(), false);\n\n\n\n\n }", "title": "" }, { "docid": "54bc22882fad9dc62da77cb132b7b7a1", "score": "0.5073505", "text": "@Override\n public void onBindViewHolder(NavDrawerAdapter.ViewHolder holder, int position) {\n // as the list view is going to be called after the header view so we decrement the\n if(holder.Holderid == 1) {\n // position by 1 and pass it to the holder while setting the text and image\n holder.textView.setTypeface(fontRobotoMedium);\n holder.textView.setText(mNavTitles[position - 1]); // Setting the Text with the array of our Titles\n\n //initial\n if(position == 3) {\n holder.linearLayout.setBackgroundColor(Color.parseColor(\"#f7f7f8\"));\n }\n\n // image view\n holder.imageView.setImageResource(mIcons[position -1]); // Settimg the image with array of our icons\n }\n else {\n //set fonts\n holder._name.setTypeface(fontRobotoMedium);\n holder._schoolName.setTypeface(fontRobotoMedium);\n holder._role.setTypeface(fontRobotoLight);\n\n //set values\n holder.profile.setImageResource(profile); // Similarly we set the resources for header view\n holder._name.setText(name);\n holder._schoolName.setText(schoolName);\n holder._role.setText(role);\n }\n }", "title": "" }, { "docid": "80e475622d8bdce33df2f378399fa10b", "score": "0.5073207", "text": "protected abstract void setupMenubar();", "title": "" }, { "docid": "1c1a3b69fb751e974bdee4e832e9384d", "score": "0.50614816", "text": "@Override\n public View initView() {\n View view = View.inflate(context, R.layout.tabdetail_pager, null);\n x.view().inject(this, view);\n\n View topnew = View.inflate(context, R.layout.topnews, null);\n x.view().inject(this, topnew);\n\n// Button button = new Button(context);\n// button.setText(\"我是按钮\");\n// listview.addHeaderView(button);\n\n //以头的方式添加顶部轮播图\n// listview.addHeaderView(topnew);\n\n\n listview.addTopNewsView(topnew);\n\n //设置刷新的监听\n listview.setOnRefreshListener(new MyOnRefreshListener());\n\n //liseView的item点击监听\n listview.setOnItemClickListener(new MyOnItemClickListener());\n return view;\n }", "title": "" }, { "docid": "de1f2d8c5ea350310ade2373a3bdab61", "score": "0.505947", "text": "void updateHomeStatus(View view, int position);", "title": "" }, { "docid": "c6254a98fc2e915066d4ee54a69ad7ef", "score": "0.50531805", "text": "@Override\n public void onClose(SwipeLayout layout) {\n holder.item.setBackgroundColor(context.getResources().getColor(android.R.color.white));\n }", "title": "" }, { "docid": "5d9a183c00351d8f32d96b2161cb9ecb", "score": "0.505097", "text": "@Override\n public void onViewCreated(@NonNull final View view, @Nullable final Bundle savedInstanceState) {\n final View actionBarContainer = view.findViewById(R.id.action_bar_container);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n actionBarContainer.setBackground(ScrimUtil.makeCubicGradientScrimDrawable(\n 0x44000000, 8, Gravity.TOP));\n }\n final Toolbar toolbar = view.findViewById(R.id.toolbar);\n AppCompatActivity activity = (AppCompatActivity) getActivity();\n if (activity != null) {\n activity.setSupportActionBar(toolbar);\n activity.getSupportActionBar().setDisplayShowTitleEnabled(false);\n }\n\n // Set up the container for the child fragments\n final View container = view.findViewById(R.id.container);\n if (savedInstanceState == null) {\n FirebaseAnalytics.getInstance(getActivity())\n .setCurrentScreen(getActivity(), \"ArtDetail\",\n ArtDetailFragment.class.getSimpleName());\n getChildFragmentManager().beginTransaction()\n .replace(R.id.container, new ArtDetailFragment())\n .commit();\n }\n\n // Set up the bottom nav\n final BottomNavigationView bottomNavigationView = view.findViewById(R.id.bottom_nav);\n bottomNavigationView.setOnNavigationItemSelectedListener(item -> {\n if (getChildFragmentManager().isStateSaved()) {\n // Can't navigate after the state is saved\n return false;\n }\n switch (item.getItemId()) {\n case R.id.main_art_details:\n FirebaseAnalytics.getInstance(getContext())\n .setCurrentScreen(getActivity(), \"ArtDetail\",\n ArtDetailFragment.class.getSimpleName());\n // The ArtDetailFragment is on the back stack, so just remove\n // any other Fragment that has replaced it\n getChildFragmentManager().popBackStack(\"main\",\n FragmentManager.POP_BACK_STACK_INCLUSIVE);\n return true;\n case R.id.main_choose_source:\n FirebaseAnalytics.getInstance(getContext())\n .setCurrentScreen(getActivity(), \"ChooseSource\",\n ChooseSourceFragment.class.getSimpleName());\n getChildFragmentManager().popBackStack(\"main\",\n FragmentManager.POP_BACK_STACK_INCLUSIVE);\n getChildFragmentManager().beginTransaction()\n .replace(R.id.container, new ChooseSourceFragment())\n .addToBackStack(\"main\")\n .setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE)\n .commit();\n return true;\n case R.id.main_effects:\n FirebaseAnalytics.getInstance(getContext())\n .setCurrentScreen(getActivity(), \"Effects\",\n EffectsFragment.class.getSimpleName());\n getChildFragmentManager().popBackStack(\"main\",\n FragmentManager.POP_BACK_STACK_INCLUSIVE);\n getChildFragmentManager().beginTransaction()\n .replace(R.id.container, new EffectsFragment())\n .addToBackStack(\"main\")\n .setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE)\n .commit();\n return true;\n default:\n return false;\n }\n });\n bottomNavigationView.setOnNavigationItemReselectedListener(item -> {\n if (item.getItemId() == R.id.main_art_details) {\n getActivity().getWindow().getDecorView()\n .setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE\n | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_FULLSCREEN\n | View.SYSTEM_UI_FLAG_IMMERSIVE\n | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN\n | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION\n | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);\n }\n });\n\n // Send the correct window insets to each view\n ViewCompat.setOnApplyWindowInsetsListener(view, (v, insets) -> {\n // Ensure the action bar container gets the appropriate insets\n ViewCompat.dispatchApplyWindowInsets(actionBarContainer,\n insets.replaceSystemWindowInsets(insets.getSystemWindowInsetLeft(),\n insets.getSystemWindowInsetTop(),\n insets.getSystemWindowInsetRight(),\n 0));\n ViewCompat.dispatchApplyWindowInsets(container,\n insets.replaceSystemWindowInsets(insets.getSystemWindowInsetLeft(),\n 0,\n insets.getSystemWindowInsetRight(),\n 0));\n ViewCompat.dispatchApplyWindowInsets(bottomNavigationView,\n insets.replaceSystemWindowInsets(insets.getSystemWindowInsetLeft(),\n 0,\n insets.getSystemWindowInsetRight(),\n insets.getSystemWindowInsetBottom()));\n return insets;\n });\n\n // Listen for visibility changes to know when to hide our views\n view.setOnSystemUiVisibilityChangeListener(vis -> {\n final boolean visible = (vis & View.SYSTEM_UI_FLAG_LOW_PROFILE) == 0;\n\n actionBarContainer.setVisibility(View.VISIBLE);\n actionBarContainer.animate()\n .alpha(visible ? 1f : 0f)\n .setDuration(200)\n .withEndAction(() -> {\n if (!visible) {\n actionBarContainer.setVisibility(View.GONE);\n }\n });\n\n bottomNavigationView.setVisibility(View.VISIBLE);\n bottomNavigationView.animate()\n .alpha(visible ? 1f : 0f)\n .setDuration(200)\n .withEndAction(() -> {\n if (!visible) {\n bottomNavigationView.setVisibility(View.GONE);\n }\n });\n });\n\n }", "title": "" }, { "docid": "ef2f4711a606f8e2967b10ce7029453b", "score": "0.5047393", "text": "@RequiresApi(api = Build.VERSION_CODES.KITKAT)\n private void initView() {\n viewPager = findViewById(R.id.viewpager);\n bNavigation = findViewById(R.id.navigation_bottom);\n textView = findViewById(R.id.bar_title);\n drawerLayout = findViewById(R.id.drawer_layout);\n navigationView = findViewById(R.id.drawer_view);\n toolbar = findViewById(R.id.toolbar);\n setSupportActionBar(toolbar);\n Objects.requireNonNull(getSupportActionBar()).setDisplayShowTitleEnabled(false);\n actionBar = getSupportActionBar();\n if (actionBar != null) {\n actionBar.setDisplayHomeAsUpEnabled(true);\n actionBar.setHomeAsUpIndicator(R.drawable.ic_drawer_menu);\n }\n }", "title": "" }, { "docid": "0b6104a0fb1778d4d8991b6eee020bfc", "score": "0.504099", "text": "private void setUpNavigationView() {\n navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n\n // This method will trigger on item Click of navigation menu\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n\n //Check to see which item was being clicked and perform appropriate action\n switch (menuItem.getItemId()) {\n //Replacing the main content with ContentFragment Which is our Inbox View;\n case R.id.nav_dashboard:\n navItemIndex = 0;\n CURRENT_TAG = TAG_DASHBOARD;\n calendar.setVisibility(View.VISIBLE);\n break;\n\n case R.id.nav_add_property:\n navItemIndex = 1;\n CURRENT_TAG = TAG_ADD_PROPERTY;\n calendar.setVisibility(View.INVISIBLE);\n break;\n\n case R.id.nav_my_properties:\n navItemIndex=2;\n CURRENT_TAG=TAG_MY_PROPERTY;\n calendar.setVisibility(View.INVISIBLE);\n break;\n case R.id.nav_logout:\n\n MaterialDialog dialog = new MaterialDialog.Builder(MainNavigationDrawerActivity.this)\n .title(\"Logout\")\n .content(\"are you sure you want to logout ?\")\n .positiveText(\"Yes\")\n .negativeText(\"No\")\n .onPositive(new MaterialDialog.SingleButtonCallback() {\n @Override\n public void onClick(@NonNull MaterialDialog dialog, @NonNull DialogAction which) {\n logout();\n }\n })\n .onNegative(new MaterialDialog.SingleButtonCallback() {\n @Override\n public void onClick(@NonNull MaterialDialog dialog, @NonNull DialogAction which) {\n\n }\n })\n .show();\n break;\n\n default:\n navItemIndex = 0;\n }\n\n //Checking if the item is in checked state or not, if not make it in checked state\n if (menuItem.isChecked()) {\n menuItem.setChecked(false);\n } else {\n menuItem.setChecked(true);\n }\n\n menuItem.setChecked(true);\n\n loadHomeFragment();\n\n return true;\n }\n });\n\n\n ActionBarDrawerToggle actionBarDrawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close) {\n\n @Override\n public void onDrawerClosed(View drawerView) {\n // Code here will be triggered once the drawer closes as we dont want anything to happen so we leave this blank\n super.onDrawerClosed(drawerView);\n }\n\n @Override\n public void onDrawerOpened(View drawerView) {\n // Code here will be triggered once the drawer open as we dont want anything to happen so we leave this blank\n super.onDrawerOpened(drawerView);\n }\n };\n\n //Setting the actionbarToggle to drawer layout\n drawer.setDrawerListener(actionBarDrawerToggle);\n\n //calling sync state is necessary or else your hamburger icon wont show up\n actionBarDrawerToggle.syncState();\n }", "title": "" }, { "docid": "ea34ff7e8442df56cca2e9fc8da5b5f2", "score": "0.50257933", "text": "@Override\r\n\tint setBottomIndex() {\n\t\treturn 4;\r\n\t}", "title": "" }, { "docid": "9730cf84fe25ce63f8ad675ea89dedd4", "score": "0.50196975", "text": "private void setUpNavigationView() {\n navigationView.setNavigationItemSelectedListener(new NavigationView.OnNavigationItemSelectedListener() {\n\n // This method will trigger on item Click of navigation menu\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n\n //Check to see which item was being clicked and perform appropriate action\n switch (menuItem.getItemId()) {\n //Replacing the main content with ContentFragment Which is our Inbox View;\n case R.id.nav_home:\n navItemIndex = 0;\n// CURRENT_TAG = TAG_HOME;\n startActivity(new Intent(getApplicationContext(), HomeActivity.class));\n\n break;\n\n case R.id.nav_location:\n navItemIndex = 1;\n CURRENT_TAG = TAG_LOCATION;\n break;\n case R.id.nav_notifications:\n navItemIndex = 2;\n CURRENT_TAG = TAG_NOTIFICATIONS;\n\n break;\n case R.id.nav_announcement:\n // launch new intent instead of loading fragment\n navItemIndex = 3;\n startActivity(new Intent(NavigationDrawerActivity.this, AnnouncementActivity.class));\n drawer.closeDrawers();\n return true;\n\n case R.id.nav_logout:\n CURRENT_TAG = TAG_LOGOUT;\n signOut();\n return true;\n// case R.id.nav_about_us:\n// // launch new intent instead of loading fragment\n// startActivity(new Intent(MainActivity.this, AboutUsActivity.class));\n// drawer.closeDrawers();\n// return true;\n// case R.id.nav_privacy_policy:\n// // launch new intent instead of loading fragment\n// startActivity(new Intent(MainActivity.this, PrivacyPolicyActivity.class));\n// drawer.closeDrawers();\n// return true;\n default:\n navItemIndex = 0;\n\n }\n\n //Checking if the item is in checked state or not, if not make it in checked state\n if (menuItem.isChecked()) {\n menuItem.setChecked(false);\n } else {\n menuItem.setChecked(true);\n }\n menuItem.setChecked(true);\n loadHomeFragment();\n//\n\n return true;\n }\n });\n\n\n ActionBarDrawerToggle actionBarDrawerToggle = new ActionBarDrawerToggle(this, drawer, toolbar, R.string.openDrawer, R.string.closeDrawer) {\n\n @Override\n public void onDrawerClosed(View drawerView) {\n // Code here will be triggered once the drawer closes as we dont want anything to happen so we leave this blank\n super.onDrawerClosed(drawerView);\n }\n\n @Override\n public void onDrawerOpened(View drawerView) {\n // Code here will be triggered once the drawer open as we dont want anything to happen so we leave this blank\n super.onDrawerOpened(drawerView);\n }\n };\n\n //Setting the actionbarToggle to drawer layout\n drawer.setDrawerListener(actionBarDrawerToggle);\n\n //calling sync state is necessary or else your hamburger icon wont show up\n actionBarDrawerToggle.syncState();\n }", "title": "" }, { "docid": "f0b5cd440dd7a26507f5f4c04b0ea98b", "score": "0.5015901", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n fm = getSupportFragmentManager();\n if (id == R.id.nav_packages) {\n FragmentTransaction transaction = fm.beginTransaction();\n transaction.replace(R.id.content, new PackagesFragment());\n transaction.commit();\n } else if (id == R.id.nav_wish_list) {\n //making sure that we always use the \"MyWish\" MyWishListFragment tagged\n FragmentTransaction transaction = fm.beginTransaction();\n MyWishListFragment fragment = (MyWishListFragment) fm.findFragmentByTag(\"MyWish\");\n if(fragment != null){\n transaction.replace(R.id.content, fragment)\n .addToBackStack(\"MyWish\");\n }else{\n transaction.replace(R.id.content, new MyWishListFragment(), \"MyWish\")\n .addToBackStack(\"MyWish\");\n }\n\n transaction.commit();\n } else if (id == R.id.nav_about_us) {\n FragmentTransaction transaction = fm.beginTransaction();\n transaction.replace(R.id.content, new AboutUsFragment());\n transaction.commit();\n } else if (id == R.id.nav_credits) {\n new LibsBuilder()\n .withLibraries(\"floatingactionbutton\", \"circleimageview\", \"pageindicatorview\", \"logolicense\", \"picasso\")\n .withAutoDetect(false)\n .withLicenseShown(true)\n .withVersionShown(true)\n .withActivityTitle(\"Credits\")\n .withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)\n .start(this);\n }\n\n\n DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);\n drawer.closeDrawer(GravityCompat.START);\n return true;\n }", "title": "" }, { "docid": "e2e72424c1a58d67961ea571b8d4a524", "score": "0.501443", "text": "public void onNavigationItemSelected(View view) {\n guillotineAnimation.close();\n switch (view.getId()) {\n case R.id.llMovies:\n setFragment(new MainFragment());\n highlightSelection(R.id.tvMenuMovies, R.id.ivMenuMovies, R.drawable.ic_menu_movie_selected);\n break;\n case R.id.llTvShows:\n setFragment(new TvShowsFragment());\n highlightSelection(R.id.tvMenuTvShows, R.id.ivMenuTvShows, R.drawable.ic_menu_television_selected);\n break;\n case R.id.llFavourites:\n setFragment(new FavoritesFragment());\n highlightSelection(R.id.tvMenuFavourites, R.id.ivMenuFavourites, R.drawable.ic_menu_favorite_selected);\n break;\n case R.id.llPeople:\n// setFragment();\n highlightSelection(R.id.tvMenuPeople, R.id.ivMenuPeople, R.drawable.ic_menu_people_selected);\n break;\n }\n }", "title": "" }, { "docid": "ba196b6a4ae41cde5ed488b4797a6998", "score": "0.5013797", "text": "private void setViewPagerItemToSettings(){\n if(sp1.getInt(\"reloadForDarkMode\",0) == 1){\n mainViewPager.setCurrentItem(0,false);\n }if(sp1.getInt(\"reloadForNewCharacters\",0) == 1){\n mainViewPager.setCurrentItem(0,false);\n }if(sp1.getInt(\"reloadForPurchaseCharacters\",0) == 1){\n mainViewPager.setCurrentItem(8,false);\n }\n }", "title": "" }, { "docid": "a36474a3ef8501376061ec856c248167", "score": "0.50102055", "text": "private void populateNavView() {\n NavigationView navView = findViewById(R.id.nav_view);\n Menu menu = navView.getMenu();\n MenuItem aux_menu;\n\n // Clear the menu if it has something.\n if (menuItems.size() > 0) {\n for (Integer id : menuItems) {\n menu.removeItem(id);\n }\n }\n menuItems.clear();\n\n int i = 0;\n for (Map.Entry<String, Folder> entry : mAllOrderedFolders.entrySet()) {\n String folderId = entry.getKey();\n Folder folder = entry.getValue();\n\n getLastLocation();\n\n try {\n Log.d(\"Home | Populate NavView\", \"Adding \" + folder.getTitle());\n aux_menu = menu.add(R.id.lazy_group, i, i, folder.getTitle());\n aux_menu.setOnMenuItemClickListener(new MenuItem.OnMenuItemClickListener() {\n @Override\n public boolean onMenuItemClick(MenuItem item) {\n mFoldersVisibleIds.clear();\n mFoldersVisibleIds.add(folderId);\n updateUI(false);\n\n menu.getItem(0).setChecked(false);\n menu.getItem(item.getItemId() + 2).setChecked(true);\n\n DrawerLayout drawer = findViewById(R.id.drawer_layout);\n drawer.closeDrawer(GravityCompat.START);\n return true;\n }\n });\n } catch (IllegalArgumentException e) {\n Log.d(\"Home | Populate NavView\", \"Order exception has jumped\");\n }\n\n // We need to keep track of what is inside so:\n menuItems.add(i);\n i++;\n }\n }", "title": "" }, { "docid": "9cbdfdfe9102ec6b111e8f1aeac627bb", "score": "0.49941877", "text": "@Override\n public void initedView() {\n popItems1 = new ArrayList<PopItem>();\n popItems1.add(new PopItem(\"\", \"全部\"));\n popItems1.add(new PopItem(\"\", \"人情凑\"));\n popItems1.add(new PopItem(\"\", \"颜值凑\"));\n popItems1.add(new PopItem(\"\", \"爱心凑\"));\n popItems1.add(new PopItem(\"\", \"随便凑\"));\n popItems2 = new ArrayList<PopItem>();\n popItems2.add(new PopItem(\"\", \"全部\"));\n popItems2.add(new PopItem(\"\", \"进行中\"));\n popItems2.add(new PopItem(\"\", \"已完成\"));\n popItems3 = new ArrayList<PopItem>();\n popItems3.add(new PopItem(\"\", \"按时间最新\"));\n popItems3.add(new PopItem(\"\", \"按人气最高\"));\n popItems3.add(new PopItem(\"\", \"按总价最高\"));\n \n categoryTopBarView = new CategoryTopBarView(baseActivity);\n listTopLay.addView(categoryTopBarView);\n categoryTopBarView.setSelectData(\"全部类型\", \"全部状态\", \"排序\", popItems1, popItems2, popItems3);\n categoryTopBarView.setCategoryBarListener(new CategoryBarListener() {\n \n @Override\n public void onPostitonCLick(PopItem popItem1, PopItem popItem2, PopItem popItem3) {\n // TODO Auto-generated method stub\n indexPage = 1;\n getListData(indexPage);\n }\n });\n }", "title": "" }, { "docid": "c3577e4dfd36e6a2667964d711086e58", "score": "0.49890482", "text": "private void setColors() {\n String PRIMARY_COLOR = \"#192125\";\n ((AppCompatActivity) getActivity()).getSupportActionBar()\n .setBackgroundDrawable(new ColorDrawable(Color.parseColor(PRIMARY_COLOR)));\n ((MainActivity)getActivity()).updateStatusBarColor(PRIMARY_COLOR);\n ((MainActivity)getActivity()).updateStatusBarIconColor(false);\n Toolbar toolbar = getActivity().findViewById(R.id.action_bar);\n if (toolbar!= null){\n String COLOR_FONT_LIGHT = \"#F5F5F5\";\n toolbar.setTitleTextColor(Color.parseColor(COLOR_FONT_LIGHT));\n }\n }", "title": "" }, { "docid": "89657979273c591240132f779a05b25f", "score": "0.4986099", "text": "public void initItems() {\n inv.setItem(0, createGUIItem(Material.CYAN_CONCRETE, \"§3§lCyan\", \"§3Make your banner design cyan\"));\n inv.setItem(1, createGUIItem(Material.BLACK_CONCRETE, \"§8§lBlack\", \"§8Make your banner design black\"));\n inv.setItem(2, createGUIItem(Material.BLUE_CONCRETE, \"§1§lBlue\", \"§1Make your banner design blue\"));\n inv.setItem(3, createGUIItem(Material.BROWN_CONCRETE, \"§6§lBrown\", \"§6Make your banner design brown\"));\n inv.setItem(4, createGUIItem(Material.GRAY_CONCRETE, \"§8§lGray\", \"§7Make your banner design gray\"));\n inv.setItem(5, createGUIItem(Material.GREEN_CONCRETE, \"§2§lGreen\", \"§2Make your banner design green\"));\n inv.setItem(6, createGUIItem(Material.LIGHT_BLUE_CONCRETE, \"§b§lLight Blue\", \"§bMake your banner design light blue\"));\n inv.setItem(7, createGUIItem(Material.LIGHT_GRAY_CONCRETE, \"§7§lLight Gray\", \"§7Make your banner design light gray\"));\n inv.setItem(8, createGUIItem(Material.LIME_CONCRETE, \"§a§lLime\", \"§aMake your banner design lime\"));\n inv.setItem(10, createGUIItem(Material.MAGENTA_CONCRETE, \"§d§lMagenta\", \"§dMake your banner design magenta\"));\n inv.setItem(11, createGUIItem(Material.ORANGE_CONCRETE, \"§6§lOrange\", \"§6Make your banner design orange\"));\n inv.setItem(12, createGUIItem(Material.PINK_CONCRETE, \"§d§lPink\", \"§dMake your banner design pink\"));\n inv.setItem(13, createGUIItem(Material.PURPLE_CONCRETE, \"§5§lPurple\", \"§5Make your banner design purple\"));\n inv.setItem(14, createGUIItem(Material.RED_CONCRETE, \"§4§lRed\", \"§4Make your banner design red\"));\n inv.setItem(15, createGUIItem(Material.WHITE_CONCRETE, \"§l§f§lWhite\", \"§fMake your banner design white\"));\n inv.setItem(16, createGUIItem(Material.YELLOW_CONCRETE, \"§e§lYellow\", \"§eMake your banner design yellow\"));\n\n }", "title": "" }, { "docid": "ce40b15742e08e929ae97542eb58a0ef", "score": "0.49838763", "text": "public void loadSettings(View rootView) {\n rootView.setBackgroundColor(bgColor);\n\n //toolbarColor = (int) Settings.getInstance().getSettingsData().get(Settings.INT_ARTIST_TOOLBAR_COLOR);\n getActivity().findViewById(R.id.main_toolbar).setBackgroundColor(toolbarColor);\n getActivity().findViewById(R.id.library_tabs).setBackgroundColor(toolbarColor);\n }", "title": "" }, { "docid": "1073e28783992955162e8bc0542e5a63", "score": "0.49792138", "text": "private void setupViewPager() {\n // Set Top ViewPager Adapter\n MyPagerAdapter adapter = new MyPagerAdapter(this, listItems, ADAPTER_TYPE_TOP);\n viewpagerTop.setAdapter(adapter);\n\n // Set Background ViewPager Adapter\n MyPagerAdapter adapterBackground = new MyPagerAdapter(this, listItems, ADAPTER_TYPE_BOTTOM);\n viewPagerBackground.setAdapter(adapterBackground);\n viewpagerTop.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n\n private int index = 0;\n @Override\n public void onPageSelected(int position) {\n index = position;\n\n }\n @Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n int width = viewPagerBackground.getWidth();\n viewPagerBackground.scrollTo((int) (width * position + width * positionOffset), 0);\n }\n @Override\n public void onPageScrollStateChanged(int state) {\n if (state == ViewPager.SCROLL_STATE_IDLE) {\n viewPagerBackground.setCurrentItem(index);\n }\n\n }\n });\n }", "title": "" }, { "docid": "92a783c6035ed192b80dfda187334a28", "score": "0.4974888", "text": "public void menuBar(BorderPane pane) {\n MenuItem logout = new MenuItem(\"Logout\");\n logout.setOnAction(e -> logout());\n\n String nightText = \"Night mode\";\n if (nightmodeon) {\n nightText = \"Day mode\";\n }\n MenuItem nightMode = new MenuItem(nightText);\n nightMode.setOnAction(e -> {\n nightmodeon = !nightmodeon;\n boolean gotten = ClientApplication.checkAchievement(0);\n if (gotten) {\n ClientApplication.changeAchievements(ClientApplication.getUser(), 0);\n }\n showMainMenu();\n });\n Menu settings = new Menu(\"Settings\");\n settings.getItems().addAll(nightMode, logout);\n\n MenuBar menuBar = new MenuBar();\n menuBar.setId(\"menuBar1\");\n menuBar.getMenus().addAll(settings);\n\n Button homeButton = new Button(\"Home\");\n homeButton.setFocusTraversable(false);\n\n homeButton.setId(\"buttonhome\");\n homeButton.setMinSize(10, 10);\n homeButton.setOnAction(e -> showMainMenu());\n homeButton.setFocusTraversable(false);\n\n HBox buttonBox = new HBox();\n buttonBox.getChildren().addAll(homeButton);\n\n VBox vbox = new VBox();\n vbox.getChildren().addAll(menuBar, buttonBox);\n pane.setTop(vbox);\n }", "title": "" }, { "docid": "e20b3939882dc07af05b1c4339f65ff7", "score": "0.4974444", "text": "@Override\n\tpublic int getCount() {\n\t\treturn navImages.length;\n\t}", "title": "" }, { "docid": "cb19f2c39473b196ac1ddc392f1c8e11", "score": "0.4972321", "text": "private void intView() {\n\t\tbtn_back = (ImageButton) findViewById(R.id.btn_back);\n\t\ttop_bar_title = (TextView) findViewById(R.id.top_bar_title);\n\t\tfooter_bar_title = (TextView) findViewById(R.id.footer_bar_title);\n\t\ttop_bar_title.setText(\"AMW\");\n\t\tmwebview = (WebView) findViewById(R.id.mwebview);\n\t\tfooter_bar_title.setText(\"Switch to SKW\");\n\t\tmwebview.setWebViewClient(new WebViewClient());\n\t\tmwebview.loadUrl(\"http://www.google.com\");\n\t\tfooter_bar=(RelativeLayout) findViewById(R.id.footer_bar);\n\t\tfooter_bar.setOnClickListener(this);\n\t\tbtn_back.setOnClickListener(this);\n\t}", "title": "" }, { "docid": "fe6a4ddc5418fabefb21a80782427674", "score": "0.49721992", "text": "private void initNav()\n {\n\n Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);\n setSupportActionBar(toolbar);\n\n DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);\n ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(\n this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);\n drawer.setDrawerListener(toggle);\n toggle.syncState();\n\n NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);\n sharedPreferences = getSharedPreferences(\"\", Context.MODE_PRIVATE);\n\n isLoggedIn = sharedPreferences.getBoolean(\"isLoggedIn\" , false);\n if(isLoggedIn){\n Menu nav_Menu = navigationView.getMenu();\n nav_Menu.findItem(R.id.profile).setVisible(true);\n nav_Menu.findItem(R.id.nav_changepass).setVisible(true);\n nav_Menu.findItem(R.id.nav_manage).setVisible(true);\n nav_Menu.findItem(R.id.nav_sign_in).setVisible(false);\n }\n navigationView.setNavigationItemSelectedListener(this);\n\n }", "title": "" }, { "docid": "334386639e91f25fa4977a176f5d2e59", "score": "0.4961588", "text": "protected void setupNavDrawer() {\n // Drawer Layout\n final ActionBar actionBar = getSupportActionBar();\n if (actionBar != null) {\n // Ícone do menu do nav drawer\n actionBar.setHomeAsUpIndicator(R.drawable.ic_menu);\n actionBar.setDisplayHomeAsUpEnabled(true);\n drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);\n NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);\n if (navigationView != null && drawerLayout != null) {\n // Atualiza a imagem e textos do header\n NavDrawerUtil.setHeaderValues(navigationView, R.id.containerNavDrawerListViewHeader, R.drawable.nav_drawer_header, R.drawable.fundo, R.string.nav_drawer_username, R.string.nav_drawer_email);\n // Trata o evento de clique no menu.\n navigationView.setNavigationItemSelectedListener(\n new NavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n // Seleciona a linha\n menuItem.setChecked(true);\n // Fecha o menu\n drawerLayout.closeDrawers();\n // Trata o evento do menu\n onNavDrawerItemSelected(menuItem);\n return true;\n }\n });\n }\n }\n }", "title": "" }, { "docid": "cd43f4c90d447f70e22a49268cdeba56", "score": "0.495803", "text": "public void bottomNavClick(){\n myBottomNavigation.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(@NonNull MenuItem menuItem){\n\n switch (menuItem.getItemId()) {\n case R.id.courses:\n startActivity(new Intent(getApplicationContext(), your_courses.class));\n break;\n case R.id.menu:\n startActivity(new Intent(getApplicationContext(), Menu.class));\n break;\n case R.id.forum:\n startActivity(new Intent(getApplicationContext(), Forum_Main.class));\n break;\n }\n return true;\n }\n });\n }", "title": "" }, { "docid": "7fb97c7c09f0248d65b0decd7b3e59e2", "score": "0.49518788", "text": "private void setComponent() {\n\t\tinitListData();\n\t\tdataList = getData();\n\t\t\n\t\tmListview = (ListView) findViewById(R.id.listView1);\n\t\tmListview.setOnScrollListener(mScrollListener);\n\t\tadapter = new BrandListAdapter(this, dataList, brandImgs);\n\t\tmListview.setAdapter(adapter);\n\t\tmListview.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View arg1, int arg2,\n\t\t\t\t\tlong arg3) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\topenPage((String)dataList.get(arg2).get(\"id\"));\n\t\t\t}\n\t\t\t\n\t\t});\n\t}", "title": "" }, { "docid": "6e6e60eff070b4a7c9aa6586290bb170", "score": "0.4949856", "text": "private void setGradiantBackground(){\n LinearLayout linearLayout = (LinearLayout) this.findViewById(R.id.gradient_LinearLayout);\n int[] colors = {Color.parseColor(\"#D3D3D3\"),Color.parseColor(intent.getStringExtra(\"teamColor\"))};\n GradientDrawable gd = new GradientDrawable(GradientDrawable.Orientation.BOTTOM_TOP,colors);\n linearLayout.setBackground(gd);\n\n }", "title": "" }, { "docid": "b28a36f8a72360fccb0757c1486a5203", "score": "0.4944781", "text": "@Override\n public void onPageScrollStateChanged(int arg0) {\n\n if (arg0 == 0) {\n Log.e(TAG, \"onPageScrollStateChanged: 当前页是\" + mpViewPager.getCurrentItem());\n for (int i = 0; i < viewList.size(); i++) {\n int currentPage = (mpViewPager.getCurrentItem())%5;\n if (i == currentPage) {\n viewList.get(i).setBackgroundResource(\n R.mipmap.selected);\n } else {\n viewList.get(i).setBackgroundResource(\n R.mipmap.unselected);\n }\n }\n }\n }", "title": "" }, { "docid": "d969cdd83248acedeea2a2144e105629", "score": "0.49420252", "text": "public NavigationPanel(GUIController gameController) {\r\n\t\tcreaNavigationPanel(gameController);\r\n\t\tgameController.addNavigationModuleObserver(this); // lo hacemos solo por la imagen\r\n\t}", "title": "" }, { "docid": "e7f9940d02786f470de778253f0d9731", "score": "0.4933066", "text": "private void setupNavigationComponent() {\n NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment);\n NavigationUI.setupActionBarWithNavController(this, navController, drawer);\n // Handle back action manually to avoid opening the side menu instead of onBackPress.\n toolbar.setNavigationOnClickListener(v -> {\n if (navController.getCurrentDestination().getId() == R.id.articlesFragment){\n drawer.openDrawer(GravityCompat.START);\n }else {\n onBackPressed();\n }\n });\n }", "title": "" }, { "docid": "6678cec7ef03de091296d4c0e8cd299b", "score": "0.4928976", "text": "abstract void bindToBottomTabInternal(BottomNavigationTab bottomNavigationTab);", "title": "" }, { "docid": "73f3edeb1d8fcf688e9a3f18e1de5ca1", "score": "0.49284023", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.list_layout, null);\n rootView.setBackgroundResource(R.drawable.music_bckgrnd_two);\n return rootView;\n }", "title": "" }, { "docid": "74768637ccd3eb461f077da29223d458", "score": "0.49225697", "text": "private void setupDrawerContent(NavigationView navigationView) {\n navigationView.setNavigationItemSelectedListener(\n new NavigationView.OnNavigationItemSelectedListener() {\n @Override\n public boolean onNavigationItemSelected(MenuItem menuItem) {\n selectDrawerItem(menuItem);\n return true;\n }\n });\n }", "title": "" }, { "docid": "0f7460170309071f3305891de080cf4d", "score": "0.49166378", "text": "private void fixBottomNavigation() {\n BottomNavigationView navigation = findViewById(R.id.navigation);\n BottomNavigationViewHelper.disableShiftMode(navigation);\n\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "723d2bbade48def1028b969fe51febdf", "score": "0.0", "text": "@Override\n\t\tpublic void emocionTerminada(String e) {\n\t\t\tif (e.equals(\"emo_pa\")){\n\t\t\t\ttxt_arousal.setText(\"Arousal : +\");\n\t\t\t}else if (e.equals(\"emo_na\")){\n\t\t\t\ttxt_arousal.setText(\"Arousal : -\");\n\t\t\t}else if ((e.equals(\"emo_pv\"))){\n\t\t\t\ttxt_valence.setText(\"Valence : +\");\n\t\t\t}else if ((e.equals(\"emo_nv\"))){\n\t\t\t\ttxt_valence.setText(\"Valence : -\");\n\t\t\t}\n\t\t}", "title": "" } ]
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" }, { "docid": "651ef6275f1a33ed6582a1599cab78d2", "score": "0.66211534", "text": "@Override\n\tpublic void bekle() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "c56ced5e9768caa7a88a0e86dc1d02eb", "score": "0.6557507", "text": "@Override\n\tpublic void pintate() {\n\t\t\n\t}", "title": "" }, { "docid": "534c466f09845319b9edaf959a891c09", "score": "0.6546559", "text": "@Override\r\n\tpublic void debriyaj() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.62550694", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "761f5db0b07474bff2090f23a6693efb", "score": "0.6211042", "text": "private void Prodto() {\n\n\t}", "title": "" }, { "docid": "74578344538dd194907dffc0406cacac", "score": "0.6166714", "text": "@Override\n public void suicide() {\n \n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.6153736", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "db51ad8e6f15ad35a767d84e1e1eda68", "score": "0.61275035", "text": "@Override\n\t\t\tpublic void cry() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e24a2515146ce17481b567e14f6d3258", "score": "0.6075012", "text": "public void retrievecart() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "fba36b6a112c0dbc3dd5aa61fe730a40", "score": "0.60609394", "text": "@Override\n\tpublic void subir() {\n\t\t\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "280c1f1bfe3582788f566eafe40085dd", "score": "0.60448366", "text": "@Override\n \tpublic void init() {\n \t\t\n \t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "2ba22ff158b6e941041f9460eddd0944", "score": "0.5991409", "text": "@Override\n public void operation() {\n \n }", "title": "" }, { "docid": "afc2a2ef708681a23da24526386fa543", "score": "0.5979341", "text": "@Override\r\n\tpublic void demo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "951638c11e887c3f81bcc83306f4e413", "score": "0.5957303", "text": "@Override\r\n\tpublic void trunon() {\n\r\n\t}", "title": "" }, { "docid": "03a6fa2a6dc40f30e9f67797ea87ac0e", "score": "0.5950196", "text": "@Override\n\tvoid generate() {\n\t\t\n\t}", "title": "" }, { "docid": "86b315eabc97abef1ea325b454b16656", "score": "0.5934478", "text": "@Override\n\tpublic void veneno() {\n\t\t\n\t}", "title": "" }, { "docid": "4f4340003331db95a2feee0084056a02", "score": "0.59033096", "text": "@Override\n\tprotected void inicializar() {\n\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58815277", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "a6c80a6456cfc74acaa16a2f9c3063c5", "score": "0.5881057", "text": "@Override\n\t\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "bf75e876384ccbd3516440064d914edb", "score": "0.585407", "text": "@Override\r\n\t\t\tpublic void process() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "22f2421f5b9cc11d1699c42857b4dfe9", "score": "0.5850562", "text": "protected void mo1582st() {\n }", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.58336115", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "d07c1f5c9d405e36c1ebf9e7e586652e", "score": "0.5830177", "text": "private Solution() {\n /** Not using this function**/\n }", "title": "" }, { "docid": "fab6f4103beb4667b90da1eb3672a4fa", "score": "0.5821835", "text": "@Override\n\tprotected void update() {\n\n\t}", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.58195674", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "4112f041d618773e927eaf69a897467b", "score": "0.5817743", "text": "@Override\r\n\tpublic void tempup() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "8d9539007d174aa71cae3fdbfe4952c6", "score": "0.5801801", "text": "@Override \n\tpublic void init() {\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "5243b8d363dba36edfd9e64eb96cc9d5", "score": "0.57880706", "text": "@Override\n public int getStatus() {\n return 0;\n }", "title": "" }, { "docid": "b096eae650ba80789eb6446d859169a3", "score": "0.5776792", "text": "protected void mo1586sx() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "17cb0676e79dae45623dcbdd6cf2af58", "score": "0.5773822", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c897821a3b00faa6e582b1c5bd5b3c6", "score": "0.57677484", "text": "@Override\r\n\tpublic void direksiyon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "81ea0647fff57e17ec5107049b4dbf8b", "score": "0.57594514", "text": "@Override\n public int size() {\n return 1;\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5755988", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1985dddb6264adc2fb069a687b25f36b", "score": "0.57541007", "text": "@Override\n\tpublic void groom() {\n\t\t\n\t}", "title": "" }, { "docid": "33572cd017818797318a53dbacbc00b9", "score": "0.57530975", "text": "@Override\r\n\t\t\tpublic void initialize() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.57492036", "text": "@Override\n public int getType() {\n return 0;\n }", "title": "" }, { "docid": "b6c53604ad2f38e9cacf958a442de4cf", "score": "0.57409", "text": "@Override\n\tprotected void initAfterData() {\n\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5736822", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4f5334e4c63e1b16e38cf957e8576a25", "score": "0.5735921", "text": "@Override\n\tpublic void getHaned() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.57304126", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "ba3ff1d644c6b502f46e78f3112e984c", "score": "0.57151", "text": "@Override\r\n\tpublic void toss() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57141805", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "20aa3abef3af4ea8bcf5e834227be04c", "score": "0.57137775", "text": "@Override\n\tpublic void Pessoa() {\n\t\t\n\t}", "title": "" }, { "docid": "6894ea3aa25d3dee3c3dd8331b9a9cdd", "score": "0.57120746", "text": "@Override\n\t public int correr() {\n\t return 7;\n\t }", "title": "" }, { "docid": "d7405dbb7f385c28de1f97859172342b", "score": "0.5705621", "text": "@Override\n\tpublic void affiche() {\n\t}", "title": "" }, { "docid": "f9fa4d6203b441d4a00a824c3219ddb2", "score": "0.5704342", "text": "@Override\n\tprotected void doOperate() {\n\n\t}", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "2d9072b54f55f18557f92b99be58ec2f", "score": "0.56886935", "text": "@Override\r\n public String toString() {\n\treturn null;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "af5603f291fb4fc9dd83e46e0602225b", "score": "0.56868714", "text": "@Override\r\n\tpublic void demo3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.56740177", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "e8efac2ee01f452014413fb75d28b3a6", "score": "0.5659524", "text": "@Override\r\n\tpublic void initState() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1857996533d34551ac38dd34ec5213a3", "score": "0.56573755", "text": "public void koniecReplikacie() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
e5baa41eb637e3ee9f7f03dfa4710f70
Getter method for property mcSequenceNo.
[ { "docid": "b8c758a03013c42255965f54e7a6c025", "score": "0.87049526", "text": "public String getMcSequenceNo() {\n return mcSequenceNo;\n }", "title": "" } ]
[ { "docid": "4a422f3499a9e37163425d2bbb118d37", "score": "0.858706", "text": "public String getMcSeqNo() {\n return mcSeqNo;\n }", "title": "" }, { "docid": "1b5e069ae9066e31e5e8cb0f91d136bd", "score": "0.82913214", "text": "public final long\n getSequenceNo() { return sequenceNo_; }", "title": "" }, { "docid": "0971af535ee5c90b3429dcf91c3cf3b3", "score": "0.82741153", "text": "public final long\n getSequenceNo() { return sequenceNo_; }", "title": "" }, { "docid": "1dff61043e542849f469980fde8c0b42", "score": "0.8114005", "text": "public java.lang.String getSeqNo() {\r\n return seqNo;\r\n }", "title": "" }, { "docid": "005c2516051b9677f14974ac038c6bc7", "score": "0.79982", "text": "public int getSeqNum() {\n return this.seqNum;\n }", "title": "" }, { "docid": "38256b7869e96b5d2538802516da154f", "score": "0.7896364", "text": "public long getSeqNum() {\n return seqNum;\n }", "title": "" }, { "docid": "d37e03b9848a8d2875fc73f1793ec244", "score": "0.7857192", "text": "public long getSequenceNo();", "title": "" }, { "docid": "d290d91b0a8abd66ca3e1c98809678f1", "score": "0.7773603", "text": "public Number getSequenceNo() {\r\n return (Number)getAttributeInternal(SEQUENCENO);\r\n }", "title": "" }, { "docid": "408dfa22c4fad75b2d5de55535da080f", "score": "0.769611", "text": "public int getSequence() {\n return sequence;\n }", "title": "" }, { "docid": "ba16f4efeab35a732aefa71e04b80f10", "score": "0.76920015", "text": "public long sequenceNumber() {\n return this.sequenceNumber;\n }", "title": "" }, { "docid": "9741b791de0d3ffdb811d6c110382414", "score": "0.7686979", "text": "long getSeqno(){\n\t\t\treturn seqno;\n\t\t}", "title": "" }, { "docid": "28e1cdf1ac32511482f1d9e3a815ca49", "score": "0.7676602", "text": "public int getSequence()\r\n\t{\r\n\t\treturn sequence;\r\n\t}", "title": "" }, { "docid": "fe150ddeb755d82f4538fad17184791f", "score": "0.76524854", "text": "public int getSequenceNumber() {\n return sequenceNumber;\n }", "title": "" }, { "docid": "fe150ddeb755d82f4538fad17184791f", "score": "0.76524854", "text": "public int getSequenceNumber() {\n return sequenceNumber;\n }", "title": "" }, { "docid": "272dcc969aa4674215438d126e487cac", "score": "0.7644867", "text": "public Integer getSequence() {\n return sequence;\n }", "title": "" }, { "docid": "091a074644964e5ce16e74ed8a4fbc03", "score": "0.76387733", "text": "public Integer getSeq() {\n return seq;\n }", "title": "" }, { "docid": "d8708a65a3b602a035e0a5a48451341a", "score": "0.7638253", "text": "public int getMsgSeqNo() {\n return msgSeqNo;\n }", "title": "" }, { "docid": "3070a0c387d8b9e2a48c6d3007c71181", "score": "0.7631472", "text": "public int getSeq() {\r\n\t\treturn seq;\r\n\t}", "title": "" }, { "docid": "036ac056c51108c6c8e08ac207a7fa6c", "score": "0.76206976", "text": "public long getSequence() {\n return sequence;\n }", "title": "" }, { "docid": "1f44259be8952a2cf1f0c0db658e5d10", "score": "0.7613922", "text": "@JsonProperty\n\t@Field(store = Store.YES, index = Index.UN_TOKENIZED)\n\t@Min(0L)\n\t@Column(name = \"I_SEQ\")\n\tpublic Integer getSeq() {\n\t\treturn seq;\n\t}", "title": "" }, { "docid": "27b25175c2f622b4acf72d740fb6a211", "score": "0.7612552", "text": "public int getSeq() {\n\t\treturn seq;\n\t}", "title": "" }, { "docid": "b2b2dbc279e708fa3ad85f767c32979c", "score": "0.75972563", "text": "public Integer getSeq() {\n\t\treturn seq;\n\t}", "title": "" }, { "docid": "b11085ec34faf6a3108e633f574fd310", "score": "0.75740516", "text": "public Long getSequenceNumber() {\n return this.sequenceNumber;\n }", "title": "" }, { "docid": "d2bddde3d0f8e56a03ebaf9de692db53", "score": "0.75448364", "text": "public String getSequence() {\n \n return this.sequence;\n }", "title": "" }, { "docid": "eb9459f1dd6659082e36a9f94afbc4bb", "score": "0.7524609", "text": "public long getSequence() {\n return sequence_;\n }", "title": "" }, { "docid": "b5f4a6c0c784081328143c8f6c5cc5d0", "score": "0.7516862", "text": "public int getSequenceNumber() {\n\t\treturn sequenceNumber;\n\t}", "title": "" }, { "docid": "9ae6718c8658f9efaebd704d52ba1b37", "score": "0.7506303", "text": "@Override\n\tpublic final long getSequence() {\n\t\treturn this.sequence;\n\t}", "title": "" }, { "docid": "f996fd9c326bcefc9f35e706cc8fab90", "score": "0.7491287", "text": "public int getSequenceNumber() {\n\t\treturn this.sequenceNumber;\n\t}", "title": "" }, { "docid": "560931ce986eaa10805a7cb2884f0e23", "score": "0.7486128", "text": "public long getSequence() {\n return sequence_;\n }", "title": "" }, { "docid": "939ad1210afb77ecc9c50eea68086ff1", "score": "0.7460672", "text": "public int getSequenceNumber()\n\t\t{\n\t\t\treturn sequenceNum_;\n\t\t}", "title": "" }, { "docid": "02579995f65200b4d8a245dfd5a701e2", "score": "0.74211156", "text": "public String getSequence() {\n return iSequence;\n }", "title": "" }, { "docid": "d81f9e4f730e969a524be8f8cc756030", "score": "0.73998785", "text": "public int getSequenceNo(){\r\n return localSequenceNo;\r\n }", "title": "" }, { "docid": "5a8c2462956ba252c4b6eebe8b137629", "score": "0.7387568", "text": "public void setMcSequenceNo(String mcSequenceNo) {\n this.mcSequenceNo = mcSequenceNo;\n }", "title": "" }, { "docid": "f1884c80321d4f2c236ad2c20d4cb72a", "score": "0.73807657", "text": "public String getSequence() {\n\t\treturn sequence;\n\t}", "title": "" }, { "docid": "28fbbb9eccbe0eed8fa53c8fd34080cd", "score": "0.73507315", "text": "public String getSeqId() {\n return seqId;\n }", "title": "" }, { "docid": "018142d76c166c648db1ee7be7e439c7", "score": "0.7295913", "text": "public long getSequenceId()\n {\n return sequence_id_;\n }", "title": "" }, { "docid": "018142d76c166c648db1ee7be7e439c7", "score": "0.7295913", "text": "public long getSequenceId()\n {\n return sequence_id_;\n }", "title": "" }, { "docid": "018142d76c166c648db1ee7be7e439c7", "score": "0.7295913", "text": "public long getSequenceId()\n {\n return sequence_id_;\n }", "title": "" }, { "docid": "018142d76c166c648db1ee7be7e439c7", "score": "0.7295913", "text": "public long getSequenceId()\n {\n return sequence_id_;\n }", "title": "" }, { "docid": "018142d76c166c648db1ee7be7e439c7", "score": "0.7295913", "text": "public long getSequenceId()\n {\n return sequence_id_;\n }", "title": "" }, { "docid": "31d9d18accc6f8ee28f8e2488b0826a3", "score": "0.72814065", "text": "public int getSequenceNum()\n {\n return pSequence.uncheckedGet();\n }", "title": "" }, { "docid": "0f1b9049d46c87153f32448a6fe5f1a7", "score": "0.7260537", "text": "public void setMcSeqNo(String mcSeqNo) {\n this.mcSeqNo = mcSeqNo;\n }", "title": "" }, { "docid": "701de2afe35fdb8ae681e78573224f93", "score": "0.7240571", "text": "long getSequenceNum();", "title": "" }, { "docid": "e3b1bd32121e80f42b8e46b1cde89f51", "score": "0.72076106", "text": "public int getSequenceNumber() {\n if (DocumentMetaData_Type.featOkTst && ((DocumentMetaData_Type)jcasType).casFeat_sequenceNumber == null)\n jcasType.jcas.throwFeatMissing(\"sequenceNumber\", \"com.ibm.es.tt.DocumentMetaData\");\n return jcasType.ll_cas.ll_getIntValue(addr, ((DocumentMetaData_Type)jcasType).casFeatCode_sequenceNumber);}", "title": "" }, { "docid": "5f313de03911b5033826a9fd54617015", "score": "0.7201823", "text": "public java.lang.Long getSeqId () {\n\t\treturn seqId;\n\t}", "title": "" }, { "docid": "967ec0db25a37d4fefad56850a8d27ed", "score": "0.7166834", "text": "public int getOrderSeqNo()\n\t{\n\t\treturn getBigDecimal(WorkingInformation.ORDERSEQNO).intValue();\n\t}", "title": "" }, { "docid": "7715f2c7b6590de051786eb19732a438", "score": "0.71602947", "text": "public java.lang.String getScat_seq_num() {\n\t\treturn scat_seq_num;\n\t}", "title": "" }, { "docid": "d811d2a6651eaf085ea8949a9d3ba7f5", "score": "0.7153958", "text": "public Long getCseq() {\n return cseq;\n }", "title": "" }, { "docid": "f840953240e70b0d9b6a329aecf0e504", "score": "0.7112724", "text": "long getSequence();", "title": "" }, { "docid": "f840953240e70b0d9b6a329aecf0e504", "score": "0.7112724", "text": "long getSequence();", "title": "" }, { "docid": "be5bc729647a78c9c8f0dbd9fd6f078b", "score": "0.70827115", "text": "public String getSequence() {\n\t\treturn sequence.toString();\n\t}", "title": "" }, { "docid": "ac597f5a09a4d04b1a3ca6bfd46f48d6", "score": "0.70462114", "text": "@Override\r\n\tpublic String getId() {\n\t\treturn maSequenceId;\r\n\t}", "title": "" }, { "docid": "7d9389c4e070fae4ae26a72bf3cc5ba4", "score": "0.70132715", "text": "Integer getSequenceNumber();", "title": "" }, { "docid": "5728cadc5706d5ef4b9dd630a87a8691", "score": "0.70065415", "text": "public final int getSequence() {\n if (mSequence == null) {\n throw new IllegalStateException(\"getSequence called before setSequence\");\n }\n return mSequence;\n }", "title": "" }, { "docid": "66e57034eff02cd18688b4fc206e554e", "score": "0.69994545", "text": "public long getSequence()\n {\n return this.gpsSequence;\n }", "title": "" }, { "docid": "f5e544a4103c877752b79de55f7c2346", "score": "0.6980814", "text": "public java.lang.String getSequence() {\n return ((Contig)dto).getSequence();\n }", "title": "" }, { "docid": "6d3bfd7533817bd1f8a14bf6520aa92a", "score": "0.69202054", "text": "public int getCSeq() {\n CSeqField csf = (CSeqField)getField(\"cseq\");\n if (csf == null)\n return 0;\n \n return csf.getCseq();\n }", "title": "" }, { "docid": "22b8690142c72c4f8fa3e616ec8cfe35", "score": "0.69036525", "text": "public java.lang.Integer getSerialNo() {\n return serialNo;\n }", "title": "" }, { "docid": "b23429e40e783f4d4325073074f4bf32", "score": "0.6893227", "text": "public int getSequenceNumber();", "title": "" }, { "docid": "16c228477a84e57b908e2eb5441a9c0f", "score": "0.68911934", "text": "int getSeq();", "title": "" }, { "docid": "daff54a1733af5832dc24b7da9ffb6fc", "score": "0.687893", "text": "public java.lang.Integer getShowseq () {\r\n\t\treturn showseq;\r\n\t}", "title": "" }, { "docid": "786654eda1f890b1ea8e0787273fc8e7", "score": "0.68593884", "text": "int getSequenceNumber();", "title": "" }, { "docid": "82d3241617c7d8142a5ad4f5c1d0f34b", "score": "0.68516266", "text": "public String getSequenceNumberText()\n\t{\n\t\treturn labelTextFields[2].getText();\n\t}", "title": "" }, { "docid": "d2191fdd6aacbcb55a8f6ba906b3d51c", "score": "0.6839763", "text": "public String getItemSeqId() {\n\t\treturn this.itemSeqId;\n\t}", "title": "" }, { "docid": "a4bc4a36f6715b204334ccbcf632daad", "score": "0.6824361", "text": "public void setMsgSeqNo(int value) {\n this.msgSeqNo = value;\n }", "title": "" }, { "docid": "feb40501a81caa524c47c90582702f5b", "score": "0.68212295", "text": "public int getActualSequenceNumber() {\n return actualSequenceNumber;\n }", "title": "" }, { "docid": "23f63d05d1ad5fed19b04bacc224b346", "score": "0.67059624", "text": "@SuppressWarnings(\"static-access\")\n\tpublic synchronized int getSequenceId() {\n\t\treturn this.seatHoldId+1;\n\t}", "title": "" }, { "docid": "76f3ce7738f013b6beb8ed5bcc54ead1", "score": "0.6693695", "text": "public String getOrderSeq() {\n return this.OrderSeq;\n }", "title": "" }, { "docid": "f5904df3bee60fa5d01c5be34984d923", "score": "0.6679308", "text": "String getSequence();", "title": "" }, { "docid": "f5904df3bee60fa5d01c5be34984d923", "score": "0.6679308", "text": "String getSequence();", "title": "" }, { "docid": "20cdb4619c4f2f4f28236a86d06bd958", "score": "0.6673092", "text": "public java.lang.String getSerialNo () {\n\t\treturn serialNo;\n\t}", "title": "" }, { "docid": "94dccbc588bd230556371064e76d9c31", "score": "0.66681224", "text": "public IntegerDt getSequence() { \n\t\tif (mySequence == null) {\n\t\t\tmySequence = new IntegerDt();\n\t\t}\n\t\treturn mySequence;\n\t}", "title": "" }, { "docid": "4af4d129ae24d9672d3a4707016d7196", "score": "0.6659653", "text": "public String getSerialNo() {\r\n return serialNo;\r\n }", "title": "" }, { "docid": "c6e96f21159f5e7841eb82d935cfbd38", "score": "0.66009474", "text": "public String getSerialNo() {\n return serialNo;\n }", "title": "" }, { "docid": "c6e96f21159f5e7841eb82d935cfbd38", "score": "0.66009474", "text": "public String getSerialNo() {\n return serialNo;\n }", "title": "" }, { "docid": "4bb1ca23f72d8d4d6c5c8397c874e91f", "score": "0.65713143", "text": "public abstract int getSequenceId();", "title": "" }, { "docid": "222d678c97adecb7aa43e41d63d0cdd3", "score": "0.65678936", "text": "public Sequence getSequence()\n\t{\n\t\treturn this.getSequence( 0 );\n\t}", "title": "" }, { "docid": "ff6691d1487e57b2dd037ba198f7e604", "score": "0.6562638", "text": "public int getOrder_item_seq() {\n return order_item_seq;\n }", "title": "" }, { "docid": "a5daafada1159dc9c294af78bef2171e", "score": "0.65562606", "text": "@Override\r\n\tpublic int getSerialNumber() {\n\t\treturn serialNumber;\r\n\t}", "title": "" }, { "docid": "3daf7d5aa6e5692f752f6b8157d063df", "score": "0.6555394", "text": "public Sequence getSequence();", "title": "" }, { "docid": "1b7b825e82df7740940fc92217229f44", "score": "0.6554169", "text": "public int getRemarkSequence(){\r\n return localRemarkSequence;\r\n }", "title": "" }, { "docid": "b2be2d526dcdb872ec861e85e4153785", "score": "0.6516964", "text": "public int getSequenceNumber() {\n return mSequenceGenerator.incrementAndGet();\n }", "title": "" }, { "docid": "ef6d79eba611039429fd30b65c426d59", "score": "0.65167785", "text": "public int getPrem_to_order_item_seq() {\n return prem_to_order_item_seq;\n }", "title": "" }, { "docid": "6dda6eedfb6835d9468cfdef7af34562", "score": "0.65159", "text": "@Override\n\tpublic long getSequenceNumber() {\n\t\treturn _purchaseOption.getSequenceNumber();\n\t}", "title": "" }, { "docid": "5418f53f34878df2b38ebb0f5efdc6cb", "score": "0.65055704", "text": "public Long getUserSeqNBR()\r\n\t{\r\n\t\treturn m_UserSeqNBR;\r\n\t}", "title": "" }, { "docid": "bbd6bf91fd7a28bf2a5de207643cb28e", "score": "0.64900374", "text": "String getInvoiceItemSeqId();", "title": "" }, { "docid": "c6eb936cbd1bcd5f4e468cc2b3cb2731", "score": "0.64723235", "text": "public long getSerialNumber() {\n\t\treturn this.serialNumber;\n\t}", "title": "" }, { "docid": "3a61bc47d471e8d0cac61c4b05a04a74", "score": "0.6467442", "text": "public BigInteger getSerialNumber() {\n return serialNumber;\n }", "title": "" }, { "docid": "4021609dbb273a4b99a55a3397f4c68f", "score": "0.64654183", "text": "public void setSeqNum(long value) {\n this.seqNum = value;\n }", "title": "" }, { "docid": "635e4f2b531e17eaebb9c30a17f2601b", "score": "0.64476347", "text": "protected Number getNextSequenceVal(){ \n SequenceImpl s = new SequenceImpl(\"taskId_seq\", getDBTransaction());\n return s.getSequenceNumber(); \n }", "title": "" }, { "docid": "b3d14b646010d12b3d421ed5cd5cde57", "score": "0.6445485", "text": "public int getContentSequence() {\n return mContentSequence;\n }", "title": "" }, { "docid": "dbb46d6096fe261f3371826f574d2af9", "score": "0.64325976", "text": "public int getHeaderSequence() {\n int seq = -1;\n Header h = getHeaderMessage();\n if (h != null) {\n try {\n Method m = h.getClass().getMethod(\"getSeq\");\n m.setAccessible(true); // workaround for known bug http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6924232\n seq = (int)m.invoke(h);\n }\n catch (Exception e) {\n e.printStackTrace(System.out);\n }\n }\n return seq;\n }", "title": "" }, { "docid": "e4aafcb81345a7fdbb06f58443a1ffbe", "score": "0.64315206", "text": "public int getNo() {\n\t\treturn no;\n\t}", "title": "" }, { "docid": "bc1a62c77e36132fc69ebbcc971a8d4d", "score": "0.6431027", "text": "public int getModifiedSequence() {\n return mModifiedSequence;\n }", "title": "" }, { "docid": "d8949e36cb09dc9b048f2d1f79732875", "score": "0.64291334", "text": "public String getConteIdseq() {\n return (String)getAttributeInternal(CONTEIDSEQ);\n }", "title": "" }, { "docid": "956239f341c7c8ab0ca75e09268e831f", "score": "0.64154", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public entity.AutoNumberSequence getBuildingAutoNumberSeq() {\n return (entity.AutoNumberSequence)__getInternalInterface().getFieldValue(BUILDINGAUTONUMBERSEQ_PROP.get());\n }", "title": "" }, { "docid": "8aaff345431f2fdb2eec6bce78a8a059", "score": "0.640616", "text": "public int getEx_ratecard_seq() {\n return ex_ratecard_seq;\n }", "title": "" }, { "docid": "435b654c579d66dc88412eb73918def7", "score": "0.6400169", "text": "public java.lang.String getStartNo() {\n return startNo;\n }", "title": "" }, { "docid": "3b4517c610a86c712d0273fedb425953", "score": "0.63971996", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public entity.AutoNumberSequence getBuildingAutoNumberSeq() {\n return (entity.AutoNumberSequence)__getInternalInterface().getFieldValue(BUILDINGAUTONUMBERSEQ_PROP.get());\n }", "title": "" }, { "docid": "2b2727592fa2277d28bc35205afea16e", "score": "0.63913167", "text": "public String getAcIdseq() {\n return (String)getAttributeInternal(ACIDSEQ);\n }", "title": "" } ]
1644d1a0a0d03aaf332700a70f42668d
tests the PalindromeResult that is the greatest palindromic product of two numbers with two digits
[ { "docid": "5519c3ff800ef06fa46b8383fd24388d", "score": "0.60329616", "text": "public static void verifyPalindromeResultFactorLength2(PalindromeResult result) {\n\n\t\tassertEquals(9009, result.getPalindrome());\n\t\tassertEquals(99, result.getFactor1());\n\t\tassertEquals(91, result.getFactor2());\n\t}", "title": "" } ]
[ { "docid": "9a69c4b12ec1b6d4432260644f0b5bf7", "score": "0.7294539", "text": "public static void main(String[] args) {\n\t\tint i, j, count=0;\r\n\t\t\r\n\t\t//s as a temporary variable to hold the reversed value of a number\r\n\t\t//p and x to hold the value of product of two 3 digit numbers\r\n\t\tlong p,x,s=0;\r\n\t\t\r\n\t\tfor(i=999; i>=100; i--){\r\n\t\t\tfor(j=i; j>=100; j--){\r\n\t\t\t\tp=j*i;\r\n\t\t\t\tx=p;\r\n\t\t\t\t\r\n\t\t\t\t// while loop to check if the number is a palindrome\r\n\t\t\t\twhile(x>0){\r\n\t\t\t\t\ts=s*10;\r\n\t\t\t\t\ts=s+x%10;\r\n\t\t\t\t\tx=x/10;\r\n\t\t\t\t}//end of while\r\n\t\t\t\t\r\n\t\t\t\tif(p==s){\r\n\t\t\t\t\tcount++;\r\n\t\t\t\t\tSystem.out.println(\"The largest palindrome is \"+s);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}//end of inner for loop\r\n\t\t\t\r\n\t\t}//end of outer for loop\r\n\t\t\r\n\t\tif(count==0){\r\n\t\t\tSystem.out.println(\"There is no largest palindrome with two 3 digits multiplied.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e8af0215dd26b98d0f7c3806533ae2ba", "score": "0.6903674", "text": "public static void main(String[] args) {\n\t\tint largestPalindrome = 0;\n\t\tint n1 = 0, n2 = 0;\n\t\t\n\t\tfor (int i = 100; i < 999; i++) {\n\t\t\tfor (int j = 100; j < 999; j++) {\n\t\t\t\tif (isPalindrome(i,j)) {\n\t\t\t\t\tif (i*j > largestPalindrome) {\n\t\t\t\t\t\tlargestPalindrome = i*j;\n\t\t\t\t\t\tn1 = i;\n\t\t\t\t\t\tn2 = j;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(largestPalindrome + \"\\nMade from: \" + n1 + \" AND \" + n2);\n\t}", "title": "" }, { "docid": "5bd7e034d4090babff1f09bf57f5f90f", "score": "0.68586254", "text": "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\r\n\t\tint a=sc.nextInt();\r\n\t\tint rem=0;\r\n\t\tint sum=0;\r\n\t\tint remi=0;\r\n\t\tint rev=0;\r\n\t\twhile(a!=0){\r\n\t\t\trem=a%10;\r\n\t\t\tsum=sum+rem;\r\n\t\t\ta=a/10;\r\n\t\t}\r\n\t\twhile(sum!=0){\r\n\t\t\tremi=sum%10;\r\n\t\t\trev=rev*10+remi;\r\n\t\t\tsum=sum/10;\r\n\t\t}\r\n\t\tif(sum==rev){\r\n\t\t\tSystem.out.println(\"palindrome\");\r\n\t\t}\r\n\t\telse{\r\n\t\t\tSystem.out.println(\"not palindrome\");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "823b708fa6a8c6b1cae217f502bd514d", "score": "0.6846633", "text": "public static void main(String[] args) {\n\t\tint temp;\r\n\t\tint rem,sum=0;\r\n\t\tint num = 454;\r\n\t\t\r\n\t\tint n=num;\r\n\t\t\r\n\t\t\r\n\t\ttemp=num;\r\n\t\twhile(num>0) {\r\n\t\t\t\r\n\t\t\trem=num%10;\r\n\t\t\tsum=(sum*10)+rem;\r\n\t\t\tnum=num/10;\r\n\t\t}\r\n\t\t\r\n\t\tif(temp==sum) {\r\n\t\t\tSystem.out.println(n+\" \"+\"the given number is a palindrome\");\r\n\t\t\r\n\t\t}\r\n\t\t\r\n\t\telse {\r\n\t\t\tSystem.out.println(n+\" \"+\"the given number is not a palindrome\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ea09ba989b4ab87b7d891efa42c0fc9f", "score": "0.6839901", "text": "public int largestPalindrome2(int n) {\n if(n == 1){\n return 9;\n }\n \n // if n = 3 then upperBound = 999 and lowerBound = 99\n int upperBound = (int) Math.pow(10, n) - 1, lowerBound = upperBound / 10;\n long maxNumber = (long) upperBound * (long) upperBound;\n \n // represents the first half of the maximum assumed palindrom.\n // e.g. if n = 3 then maxNumber = 999 x 999 = 998001 so firstHalf = 998\n int firstHalf = (int)(maxNumber / (long) Math.pow(10, n));\n \n boolean palindromFound = false;\n long palindrom = 0;\n \n while (!palindromFound) {\n // creates maximum assumed palindrom\n // e.g. if n = 3 first time the maximum assumed palindrom will be 998 899\n palindrom = createPalindrom(firstHalf);\n \n // here i and palindrom/i forms the two factor of assumed palindrom\n for (long i = upperBound; upperBound > lowerBound; i--) {\n // if n= 3 none of the factor of palindrom can be more than 999 or less than square root of assumed palindrom \n if (palindrom / i > maxNumber || i * i < palindrom) {\n break;\n }\n \n // if two factors found, where both of them are n-digits,\n if (palindrom % i == 0) {\n palindromFound = true;\n break;\n }\n }\n\n firstHalf--;\n }\n\n return (int) (palindrom % 1337);\n }", "title": "" }, { "docid": "70b028b99ec8b1583e5267a30da5bb81", "score": "0.682783", "text": "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int tests = in.nextInt();\n \n for(int test = 1; test<=tests; test++){\n \n int n = in.nextInt();\n \n /*\n determine largest palindrome under a certain number and then see if it can be made as a product of 2 3digit numbers\n */\n \n \n \n int temp = n + 1;\n while(temp != -1){\n temp = largestPalindromeUnder(temp);\n if(isValid(temp)){\n System.out.println(temp);\n temp = -1;\n }\n }\n \n \n \n \n }\n \n \n \n }", "title": "" }, { "docid": "572dc4c42d27e07bb429983433d81dc1", "score": "0.6728111", "text": "public String solve() {\n int sum = 0;\n int MAX = 1000000;\n for (int i = 0; i < MAX; i++) {\n String n10 = Integer.toString(i);\n String n2 = Integer.toBinaryString(i);\n if (SsString.isPalindrome(n10) && SsString.isPalindrome(n2)) {\n sum += i;\n }\n }\n return String.valueOf(sum);\n }", "title": "" }, { "docid": "a0c149c098e22c1071a27c1e43421c21", "score": "0.6525519", "text": "public String longestPalindrome(String s) {\n //Step1: reverse s and become s'\n String sReversed = new StringBuffer(s).reverse().toString();\n\n //Step2: find the longest common substring between S and S'\n char[] a = s.toCharArray();\n char[] b = sReversed.toCharArray();\n int[] result = new int[b.length+1];\n int max = 0;\n int endIndex = 0;\n String lps = \"\";\n\n //Step3: check the LCS candidates before update the value of max\n for (int i = 0; i < a.length; i++) {\n for (int j = b.length-1; j >= 0; j--) { //DIFFERENCE!!\n if (a[i] == b[j]) {\n result[j + 1] = result[j] + 1;\n if (result[j + 1] > max) {\n //Check Method 1: check the index of the last char in the substring candidate\n int jBeforeReverse = sReversed.length() - 1 - j;\n if (jBeforeReverse + result[j + 1] - 1 == i) {\n //Check Method 1.1:\n //Only record the end index (i.e. iNow) and the length (i.e. max/result[j+1])\n //other than get the substring each time to reduce the run time\n endIndex = i;\n max = result[j + 1];\n\n// //Check Method 1.2:\n// lps = s.substring(i - result[j + 1] + 1, i + 1);\n// max = result[j + 1];\n }\n\n// //Check Method 2: check if the substring candidate is palindromic\n// String temp = s.substring(i-result[j+1]+1, i+1);\n// if (temp.equals(new StringBuffer(temp).reverse().toString())) {\n// lps = temp;\n// max = result[j+1];\n// }\n }\n } else { //Attention!! If not match, we need to set the result back to 0 manually\n result[j + 1] = 0;\n }\n }\n }\n\n lps = s.substring(endIndex - max + 1, endIndex + 1); //Only get the substring when the longest palindromic substring is found\n return lps;\n }", "title": "" }, { "docid": "6ccfb8ff64f5f36a82facba4b3af9902", "score": "0.6503134", "text": "public static void main(String[] args) {\n\t\tint largestPal = 0;\n\t\tfor (int i = 100; i<1000; i++) {\n\t\t\tfor (int j = 100; j<1000; j++) {\n\t\t\t\tint prod = i*j;\n\t\t\t\tif (isPalindrome(prod)){\n\t\t\t\t\tlargestPal = Math.max(largestPal, prod);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(largestPal);\n\t\tSystem.exit(0);\n\t\t\n\t}", "title": "" }, { "docid": "d824937f47ede920a2ad432e02a80f20", "score": "0.64681566", "text": "private static String getLargestPalindromicString(String string) {\n int stringLength = string.length();\n int finalAns = 0;\n String finalStr = \"\";\n //Considering elements as center one by one and checking if it is palindrome or not using BS\n String oddAns, evenAns;\n int loopCount = stringLength - 1;\n\n for (int i = 0; i < loopCount; i++) {\n\n oddAns = BS(string, stringLength, i, i);\n\n finalStr = oddAns.length() > finalStr.length() ? oddAns : finalStr;\n //finalAns = Math.max(finalAns, oddAns);\n\n if (string.charAt(i) == string.charAt(i + 1)) {\n evenAns = BS(string, stringLength, i, i + 1);\n finalStr = evenAns.length() > finalStr.length() ? evenAns : finalStr;\n //finalAns = Math.max(finalAns, evenAns);\n }\n }\n //return finalAns;\n return finalStr;\n }", "title": "" }, { "docid": "5df81828e9dd0960a7e2ec04cbebe845", "score": "0.64273745", "text": "int getLongestPalindrome(String content);", "title": "" }, { "docid": "7dd48727cb0ab923510e1b1c8d3246c0", "score": "0.6399117", "text": "public static void main(String[] args) \r\n\t{\n\t\tScanner sc =new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter the number: \\n\");\r\n\t\tint n,r,rev=0,m;\r\n\t\tn=sc.nextInt();\r\n\t\tm=n;\r\n\t\twhile(n>0)\r\n\t\t{\r\n\t\t\tr=n%10;\r\n\t\t\trev=rev*10+r;\r\n\t\t\tn=n/10;\r\n\t\t}\r\n\t\tif(m==rev)\r\n\t\t\tSystem.out.println(\"\\nEntered Number is palindrome\");\r\n\t\telse\r\n\t\t\tSystem.out.println(\"\\nEntered Number is not palindrome\");\r\n\t\t\r\n\t\tScanner sc1 =new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter the number: \\n\");\r\n\t\tint n1,r1,m1,sum=0;\r\n\t\tn1=sc1.nextInt();\r\n\t\tm1=n1;\r\n\t\r\n\t\twhile(n1>0)\t\t\t\t\r\n\t\t{\r\n\t\t\tr1=n1%10;\r\n\t\t\tsum=sum+r1*r1*r1;\r\n\t\t\tn1=n1/10;\r\n\t\t}\r\n\t\tif(m1==sum)\r\n\t\t\tSystem.out.println(\"\\nEntered Number is Armstromg\");\r\n\t\telse\r\n\t\t\tSystem.out.println(\"\\nEntered Number is not Armstrong\");\r\n\t}", "title": "" }, { "docid": "df159a2d626e3e17303558ba1e9bce41", "score": "0.6398142", "text": "private String longestPalindrome(String s) {\n\n // preprocess input string (abba -> #a#b#b#a#) so it will handle both even and odd size lengths\n char[] input = modifyInput(s);\n int[] result = new int[input.length]; // temp array to hold palindrome sizes\n\n int left = 0, right = 0;\n\n // while (i < input.length) {\n for (int i = 0; i < input.length;) {\n\n // expand palindrome by moving left and right characters util its equal\n while (left > 0 && right < input.length - 1 && input[left-1] == input[right+1]) {\n left--;\n right++;\n }\n\n // record current palindrome size\n result[i] = right - left + 1;\n\n // handle case 2, we have reached the end of input\n if (right == input.length - 1) {\n break;\n }\n\n // set new center to either right edge or right + 1, depending on input string is even or odd\n int center = right + (i % 2 == 0 ? 1 : 0);\n\n for (int j = i + 1; j <= right; j++) {\n int leftCenter = i - (j - i); // i - (j - i) is the left center\n int distance = 2 * (right - j) + 1; // distance from j to right edge\n\n result[j] = Math.min(result[i - (j - i)], 2 * (right - j) + 1);\n // it is possible that left mirror palindrome expands beyond left edge, so we take minimum of either\n // left palindrome size or distance from j to left palindrome center.\n result[j] = Math.min(result[leftCenter], distance);\n\n // handle case 3. This checks to make sure we do not select j as a new center for case 1 and 4.\n if (j + result[leftCenter] / 2 == right) {\n center = j;\n break;\n }\n }\n\n // set i to a new center. Set left and right to the positions we already know,\n // so we star left and right from unexpanded sides.\n i = center;\n left = i - result[i] / 2;\n right = i + result[i] / 2;\n }\n\n return largestPalindromeSize(result, input);\n }", "title": "" }, { "docid": "4865557fb8b3ba4dac5b9fa39cf6ffe3", "score": "0.6372695", "text": "public int largestPalindrome(int n) {\n if(n <= 0)\n return 0;\n \n long max = (long) Math.pow(10, n) - 1; // 1000 - 1 = 999\n long min = max / 10; // 999 / 10 = 99\n \n // Try every palindrome possible\n for(long left = max; left > min; left--) {\n long right = Long.valueOf(new StringBuilder(\"\" + left).reverse().toString());\n long palindrome = left * (max + 1) + right;\n \n // Find possible divisor\n for(long i = max; i * i >= palindrome; i--) {\n if(palindrome % i == 0)\n return (int) (palindrome % 1337);\n }\n }\n return 9;\n }", "title": "" }, { "docid": "38c315aff3c6f3a34396d9bf0625addb", "score": "0.62885815", "text": "public String nearestPalindromic(String s) {\n int n = s.length(), half = (n + 1) / 2;\n // if (n == 1) {\n // return String.valueOf(Integer.parseInt(s) - 1);\n // }\n long halfNum = Long.parseLong(s.substring(0, half));\n boolean even = n % 2 == 0;\n List<Long> list = new ArrayList<>();\n helper(list, halfNum, even);\n helper(list, halfNum - 1, even);\n helper(list, halfNum + 1, even);\n list.add((long)Math.pow(10, n) + 1);\n list.add((long)Math.pow(10, n - 1) - 1);\n // for (long num : list) {\n // System.out.println(num);\n // }\n long minDif = Long.MAX_VALUE, origin = Long.parseLong(s), result = 0;\n for (long num : list) {\n if (num == origin) {\n continue;\n }\n long dif = Math.abs(num - origin);\n if (dif < minDif) {\n minDif = dif;\n result = num;\n } else if (dif == minDif) {\n result = Math.min(num, result);\n }\n }\n return result + \"\";\n }", "title": "" }, { "docid": "271cde1f82802c3ef2f97a2168b7df1b", "score": "0.62824297", "text": "public static String longestPalindromeSol2(String s) {\n if (s.length() == 1) {\n return s;\n }\n char[] chs = s.toCharArray();\n int[] result = new int[2];\n int position=0;\n\n while (chs.length-position>(result[1]-result[0])/2){\n int tmp=position+1;\n if (tmp==chs.length)\n break;\n while (chs[position]==chs[tmp]){\n tmp++;\n if (tmp==chs.length)\n break;\n }\n\n int[] tmptag=findThelongest(position-1,tmp,chs);\n \n if (tmptag[1]-tmptag[0]>result[1]-result[0])\n result=tmptag;\n \n position=tmp;\n }\n StringBuilder bd=new StringBuilder();\n for(int i=result[0];i<=result[1];i++){\n bd.append(chs[i]);\n }\n return bd.toString();\n }", "title": "" }, { "docid": "264ee071e480b7ed16a6079076cae273", "score": "0.62281156", "text": "public static void isPalindrome(int num){\n\t\t\t int length=0; // number of digits\n\t\t\t int numCopy = num; \n\t\t\t \n\t\t\t for (int i=1; i<=10; i++){\n\t\t\t if(numCopy -((numCopy/10)*10)>0){\n\t\t\t length++;\n\t\t\t numCopy /=10;\n\t\t\t }\n\t\t\t } \n\t\t\t // CREATE AN ARRAY WITH SPECIFIC DIGITS \n\t\t\t \n\t\t\t int [] arr = new int[length];\n\t\t\t for(int m = length-1; m>=0 ; m--){\n\t\t\t arr[m]= num-((num/10)*10);\n\t\t\t num /=10;\n\t\t\t }\n\t\t\t \n\t\t\t //CoMPARING PART\n\t\t\t \n\t\t\t boolean same =true;\n\t\t\t \n\t\t\t int n = length;\n\t\t\t for(int j=0; j<length/2; j++){\n\t\t\t n--;\n\t\t\t if(arr[j] != arr[n]){\n\t\t\t same = false;\n\t\t\t System.out.println(same);\n\t\t\t System.exit(0);\n\t\t\t }\n\t\t\t \n\t\t\t }\n\t\t\t System.out.println(same);\n\n\n\t\t\t\t}", "title": "" }, { "docid": "d4238a754f2d0aa6b79ebaa34be6ea55", "score": "0.6217665", "text": "public static void main(String[] args) {\n\r\n\t\tScanner obj=new Scanner (System.in);\r\n\t\tSystem.out.println(\"Enter Number\");\r\n\t\tint num=obj.nextInt();\r\n\t\tint reverse=0,ans=num;\r\n\t\twhile(num>0){\r\n\t\t\r\n\t\t\treverse=reverse*10;\r\n\t\t\treverse=reverse+num%10;\r\n\t\t\tnum=num/10;\r\n\t\t\t\r\n\t\t}\t\r\n\t\tSystem.out.println(reverse);\r\n\t\tif(ans==reverse)\r\n\t\t\tSystem.out.println(\"palindrome\");\r\n\t\telse\r\n\t\t\tSystem.out.println(\"not palindrome\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ad264ece5d57888b2b979045a3f0efd7", "score": "0.6216301", "text": "public static void isPalindrome(int num){\n int resultNumber = 0;\n for (int i = num; i !=0; i /= 10) {\n resultNumber = resultNumber * 10 + i % 10;\n }\n if(num==resultNumber){\n System.out.println(\"true\");\n }else{\n System.out.println(\"false\");\n }\n\n }", "title": "" }, { "docid": "0bf9253837a0075a6bb1cff741d1cd24", "score": "0.62153167", "text": "public String getPlandrom(String s){ \n char ch[]=s.toCharArray();\n int temp=ch.length-1;\n for(int i=0;i<ch.length;i++){\n if(ch[i]!=ch[temp]) return \" not palindrom\";\n temp--;\n }\n return \"palindrome\";\n \n }", "title": "" }, { "docid": "0acb9cf7fadb0c409a8191f5e05c117c", "score": "0.6206527", "text": "public String longestPalindrome(String s) {\r\n\r\n\t\t// тут конечно вопрос, правильный ли это символ\r\n\t\t// или надо как-то его выбирать\r\n\t\t// но пока пусть будет так\r\n\t\tchar divider = '-';\r\n\t\t// abcdcaa\r\n\t\t// a-b-c-d-c-a-a\r\n\t\t// 1010103010121\r\n\r\n\t\tStringBuilder sb = new StringBuilder(s.length() * 2);\r\n\t\tfor (int i = 0; i < s.length(); i++) {\r\n\t\t\tsb.append(divider).append(s.charAt(i));\r\n\t\t}\r\n\t\tsb.deleteCharAt(0);\r\n\r\n\t\tString ss = sb.toString();\r\n\t\tchar[] arr = ss.toCharArray();\r\n\t\tint[] sizes = new int[arr.length];\r\n\r\n\t\tint L, R;\r\n\r\n\t\tint maxSize = 0;\r\n\t\tint maxIndex = 0;\r\n\t\tfinal int LENGTH = arr.length - 1;\r\n\t\tfor (int i = 0; i <= LENGTH; i++) {\r\n\t\t\t// init start\r\n\t\t\tif (arr[i] == divider) {\r\n\t\t\t\tsizes[i] = 0;\r\n\t\t\t} else {\r\n\t\t\t\tsizes[i] = 1;\r\n\t\t\t}\r\n\t\t\tL = i - 1;\r\n\t\t\tR = i + 1;\r\n\t\t\tif (L < 0 || R > LENGTH) {\r\n\r\n\t\t\t\tif (sizes[i] > maxSize) {\r\n\t\t\t\t\tmaxSize = sizes[i];\r\n\t\t\t\t\tmaxIndex = i;\r\n\t\t\t\t}\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\t// start check\r\n\t\t\twhile (L > -1 && R <= LENGTH && arr[L] == arr[R]) {\r\n\t\t\t\tif (arr[L] != divider) {\r\n\t\t\t\t\tsizes[i] += 2;\r\n\t\t\t\t}\r\n\t\t\t\t--L;\r\n\t\t\t\t++R;\r\n\t\t\t}\r\n\r\n\t\t\tif (sizes[i] > maxSize) {\r\n\t\t\t\tmaxSize = sizes[i];\r\n\t\t\t\tmaxIndex = i;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tint startSize = maxIndex - maxSize;\r\n\t\tint endSize = maxIndex + maxSize;\r\n\t\t// fix limits\r\n\t\tstartSize = startSize > 0 ? startSize : 0;\r\n\t\tendSize = endSize > sb.length() ? sb.length() : endSize;\r\n\r\n\t\tString ret = ss.substring(startSize, endSize).replaceAll(String.valueOf(divider), \"\");\r\n\t\treturn ret;\r\n\t}", "title": "" }, { "docid": "7603a01d1a9e816b974a392971d9a77e", "score": "0.61907935", "text": "static int[] mine_palindrome(int target)\n {\n int[] result = new int[2];\n int max = 1;\n // use 2 indices: upper starts from target down to 1, and lower starts from\n // upper down to 1\n int lower_bound = repeat(count_digits(target));\n for (int upper = target; upper >= lower_bound; upper--)\n {\n for (int lower = upper; lower >= lower_bound; lower--)\n {\n int product = upper * lower;\n if (is_palindrome(product) && product > max)\n {\n max = product;\n result[0] = lower;\n result[1] = upper;\n }\n }\n }\n return result;\n }", "title": "" }, { "docid": "1a244bda6bcea3330f73cf5d11bcba80", "score": "0.61715215", "text": "public String longestPalindrome(String s) {\n\t\tint maxi = 0;\n\t\tint max = 0;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append('\\001');\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tsb.append(s.charAt(i));\n\t\t\tsb.append('\\001');\n\t\t}\n\t\tString ss = sb.toString();\n\t\tint n = ss.length();\n\t\tint[] res = new int[n];\n\t\tint far = 0;\n\t\tint index = 0;\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tif (far > i) {\n\t\t\t\tif (res[index * 2 - i] + i < far) {\n\t\t\t\t\tres[i] = res[index * 2 - i];\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tint j = far + 1;\n\t\t\twhile (j < n && (i * 2 - j >= 0)\n\t\t\t\t\t&& ss.charAt(j) == ss.charAt(i * 2 - j)) {\n\t\t\t\tj++;\n\t\t\t}\n\t\t\tfar = j - 1;\n\t\t\tindex = i;\n\t\t\tres[i] = far - i;\n\t\t\tif (max < res[i]) {\n\t\t\t\tmax = res[i];\n\t\t\t\tmaxi = i;\n\t\t\t}\n\t\t}\n\t\tsb = new StringBuilder();\n\t\tfor (int i = maxi - max + 1; i <= maxi + max - 1; i += 2) {\n\t\t\tsb.append(ss.charAt(i));\n\t\t}\n\t\treturn sb.toString();\n\t}", "title": "" }, { "docid": "d128c0fae261a862f0d6b3d9873398cd", "score": "0.6170359", "text": "public String longestPalindrome(String s) {\n\n int leftPos = 0;\n int rightPos = 0;\n int len = 0;\n\n int maxStringLen = s.length();\n\n// int sameCharSequenceLength = 0;\n\n for (int i = 0, j = i + 1, palindromePatternFoundPos = 0; j < maxStringLen; i++, j++) {\n\n palindromePatternFoundPos = i;\n\n\n boolean isOddPalindrome = i > 0 && s.charAt(i - 1) == s.charAt(j);\n\n boolean isNeighborEqual = s.charAt(i) == s.charAt(j);\n\n\n if (isNeighborEqual || isOddPalindrome) {\n\n if (isNeighborEqual && isOddPalindrome) {\n boolean isJChanged = false;\n boolean isIChanged = false;\n while (j < maxStringLen && s.charAt(i) == s.charAt(j)) {\n isJChanged = true;\n j++;\n }\n if (isJChanged) {\n j--;\n }\n while (i >= 0 && s.charAt(i) == s.charAt(j)) {\n isIChanged = true;\n i--;\n }\n if (isIChanged) {\n i++;\n }\n isOddPalindrome = (j - i + 1) % 2 != 0;\n i = palindromePatternFoundPos;\n j = i + 1;\n }\n\n if (isOddPalindrome) {\n i--;\n }\n\n while (\n i >= 0\n && j < maxStringLen\n &&\n s.charAt(i) == s.charAt(j)\n\n ) {\n// isOddPalindrome = isOddPalindrome || i > 0 && s.charAt(i - 1) == s.charAt(j);\n i--;\n j++;\n\n }\n\n j--;\n i++;\n\n // reduce 2 so that last j and i in the while loop could be restored to the the last successful loop)\n if (j - i >= len) {\n// leftPos = isOddPalindrome ? i - 1 : i;\n leftPos = i;\n rightPos = j;\n len = rightPos - leftPos;\n\n }\n i = palindromePatternFoundPos;\n j = i + 1;\n }\n\n\n\n\n }\n\n if (s.length() == 0) {\n return \"\";\n }\n\n return s.substring(leftPos, rightPos + 1);\n }", "title": "" }, { "docid": "70da1e1ce9aa26b6787aebe761c622e8", "score": "0.6164026", "text": "public static String longestPalindrome(String s) {\n String scpy = encode(s);\n \tint C = 0;\n int R = 0;\n int[] P = new int[scpy.length()];\n P[0] = 0;\n P[scpy.length()-1] = 0;\n for(int i=1;i<scpy.length()-1; i++){\n \tint i_mirror = C*2-i;\n \tP[i] = (R>i)? Math.min(R-i, P[i_mirror]):0;\n \twhile(i-P[i]-1>=0 && i+P[i]+1<=scpy.length()-1 && scpy.charAt(i-P[i]-1) == scpy.charAt(i+P[i]+1))\n \t{\n \t\tP[i]++;\n \t}\n \tif(i+P[i]>R){\n \t\tC=i;\n \t\tR = i+P[i];\n \t}\n }\n System.out.println(Arrays.toString(P));\n int centeri = -1;\n int max = -1;\n for(int i=0; i<P.length; i++){\n \tif(P[i]>max){\n \t\tmax = P[i];\n \t\tcenteri = i;\n \t}\n }\n int si = (centeri-max)/2;\n \n return s.substring(si, si+max);\n }", "title": "" }, { "docid": "b672c367d94e1b26338e80fefeb545ef", "score": "0.61601865", "text": "public boolean checkPalindromePermutation2(String str) {\r\n\t\tboolean isPermutation = true;\r\n\t\tif(str != null && str.length() > 0) {\r\n\t\t\tString input = str.toLowerCase();\r\n\t\t\tStringBuilder oddEvenString = new StringBuilder();\r\n\t\t\tfor(int i=0; i<128;i++) {\r\n\t\t\t\toddEvenString.append(\"0\");\r\n\t\t\t}\r\n\t\t\tfor(char c: input.toCharArray()) {\r\n\t\t\t\tint index = (int)c;\r\n\t\t\t\toddEvenString.setCharAt(index, (char)((int)(oddEvenString.charAt(index)^1)));\r\n\t\t\t}\r\n//\t\t\tSystem.out.println(oddEvenString);\r\n\t\t\tint sum = 0;\r\n\t\t\tfor(int i=0; i<oddEvenString.length(); i++) {\r\n\t\t\t\tsum += Character.getNumericValue(oddEvenString.charAt(i));\r\n\t\t\t}\r\n\t\t\tif (sum>1) {\r\n\t\t\t\tisPermutation = false;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn isPermutation;\r\n\t}", "title": "" }, { "docid": "c3e9a55070b30f86aca2e444410c1cc3", "score": "0.61203337", "text": "static String highestValuePalindrome(String s, int n, int k) \n {\n \t// string to char array\n \t// split to 2 halfs\n \t// use helper function\n \t// for loop up to k\n \t// recursive changes to both halves for 9->1, k--\n \t// if k=0 check if palindrom -> put to max heap \t\n \t\n \tint len = s.length();\n \tint middle = 0;\n \t\n \treturn null;\n }", "title": "" }, { "docid": "a135a992fdefd62a45ccc4efa2eae7b4", "score": "0.6104555", "text": "public int superpalindromesInRange(String left, String right) {\n //turn the strings into values we can work with\n long l = Long.valueOf(left);\n long r = Long.valueOf(right);\n int super_palindromes = 0;\n\n /*\n find all even length palindromes\n Ex: all single digit values are palindromes so we just need to check if their squares are palindromes for\n the number to be considered a super palindrome\n\n for every value after 9, i.e. 10+, we take this value and append its reverse to it so,\n 10 ==> 1001 | 20 ==> 2002 | 100 ==> 100001\n 11 ==> 1111 | 50 ==> 5005 | 521 ==> 521125\n 12 ==> 1221 | 90 ==> 9009 | 999 ==> 999999\n\n the largest value right can be is 10^9 before taking the square so since we find odd and even palindromes we\n only check up to 10^5 i.e. half of the values.\n then when we take the square of a value, we can reach values up to 10^18 which is the largest value range\n */\n for (int i = 1; i < (int) 1e5; i++) {\n //convert i to a string\n StringBuilder sb = new StringBuilder(Integer.toString(i));\n\n //append the reverse of i to the string value of i since we want even palindromes\n for (int j = sb.length() - 1; j >= 0; j--) {\n sb.append(sb.charAt(j));\n }\n\n //convert string back to long\n long n = Long.valueOf(sb.toString());\n\n /*\n A value is a super palindrome if its normal and square values are palindromes, so we take the square of n\n so we can check if its a palindrome\n */\n n *= n;\n\n //break out of the loop when n exceeds the \"right\"\n if (n > r) {\n break;\n //if the square of n is also a palindrome, we can increase the count of super palindromes\n } else if (n >= l && isPalindrome(n)) {\n super_palindromes++;\n }\n }\n\n /*\n find all odd length palindromes\n Ex: all single digit values are palindromes so we just need to check if their squares are palindromes for\n the number to be considered a super palindrome\n\n for every value after 9, i.e. 10+, we take this value and append its reverse to it so,\n 10 ==> 101 | 20 ==> 202 | 156 ==> 15651\n 11 ==> 111 | 50 ==> 505 | 521 ==> 52125\n 12 ==> 121 | 90 ==> 909 | 999 ==> 99999\n\n the largest value right can be is 10^9 so since we find odd and even palindromes we only check up to 10^5,\n i.e. half of the values.\n */\n for (int i = 1; i < (int) 1e5; i++) {\n //convert i to a string\n StringBuilder sb = new StringBuilder(Integer.toString(i));\n\n //since we want odd length palindromes, we only append starting from the second to last value of every ith value\n for (int j = sb.length() - 2; j >= 0; j--) {\n sb.append(sb.charAt(j));\n }\n\n //convert string back to long\n long n = Long.valueOf(sb.toString());\n\n /*\n A value is a super palindrome if its normal and square values are palindromes, so we take the square of n\n so we can check if its a palindrome\n */\n n *= n;\n\n //break out of the loop when n exceeds the \"right\"\n if (n > r) {\n break;\n //if the square of n is also a palindrome, we can increase the count of super palindromes\n } else if (n >= l && isPalindrome(n)) {\n super_palindromes++;\n }\n }\n return super_palindromes;\n }", "title": "" }, { "docid": "cbe732d71332d9728d298c37290b2390", "score": "0.6091652", "text": "public static void main(String[] args) {\n\n\t\tString str = \"radar\";\n\t\tchar[] arr = str.toCharArray();\n\n\t\t/*\n\t\t * 1. Always think and write how to solve it: 2. Take a numerical example\n\t\t * \n\t\t * \n\t\t */\n\t\t//\n\t\t// arr[0] == arr[arr.length-1]\n\t\t// arr[1] == arr[arr.length-2]\n\t\t// arr[2] == 3\n\t\t//\n\t\tboolean flag = true;\n\n\t\t// do a while loop\n\t\t// while flag is true palindrome\n\t\t// if two chars are not equal flag = false\n\n\t\tint cnt = 0;\n\t\tfor (int i = 0; i < arr.length / 2; i++) {\n\t\t\tif (arr[i] == arr[arr.length - (i + 1)]) {\n\t\t\t\tcnt++;\n\t\t\t\t// System.out.println(\"here\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Not Palindrome\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif (cnt == arr.length / 2) {\n\t\t\tSystem.out.println(\"Palindrome\");\n\t\t}\n\t\tSystem.out.println(\"====================================================================================\");\n\t\t// 2nd way\n\t\t//\n\t\tstr = \"radar\";\n\t\tString rev = \"\";\n\t\tint l = str.length();\n\n\t\tfor (int i = l - 1; i >= 0; i--) {\n\t\t\trev = rev + str.charAt(i);\n\n\t\t}\n\n\t\tString output = (str.equals(rev))\n\t\t\t\t? \"palindrome\" \n\t\t\t\t: \"Not palindrome\";\n\t\tSystem.out.println(output);\n\n\t\tString output2;\n\t\tif (str.equals(rev)) {\n\t\t\toutput2 = \"palindrome\";\n\t\t} else {\n\t\t\toutput2 = \"Not palindrome\";\n\t\t}\n\t\tSystem.out.println(output2);\n\n\t\t// to check if an integer is palindrome or not\n\t\t//\n\t\t//\n\t\t//\n\n\t\tint a = 123321;\n\n\t\tSystem.out.println(\"=======================================================================================\");\n\t\tchar c = 'A';\n\n\t\toutput = (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') \n\t\t\t\t? c + \" is an alphabet.\" \n\t\t\t\t: c + \" is not an alphabet.\";\n\n\t\tSystem.out.println(output);\n\n\t}", "title": "" }, { "docid": "6ca706424d721c866251e6d5547e4a11", "score": "0.6090354", "text": "public static String findMaxLengthPalindrome(String s) {\n if (s == null || s.length() == 0) {\n return \"\";\n }\n String maxp = \"\";\n int maxl = -1;\n String curp = \"\";\n int curl = 0;\n\n for (int i=0; i<s.length(); ++i) {\n // find all odd length palindromes by expanding from the middle s[i]\n curp = expand(s, i, i) ;\n curl = curp.length();\n // update max\n if (curl > maxl) {\n maxp = curp;\n maxl = curl;\n }\n\n // find all even length palindromes by expanding from the middle s[i]s[i+1]\n curp = expand(s, i, i+1) ;\n curl = curp.length();\n // update max\n if (curl > maxl) {\n maxp = curp;\n maxl = curl;\n }\n }\n\n return maxp;\n }", "title": "" }, { "docid": "dfa564f617ac523154fe0ceccbd14eaf", "score": "0.607908", "text": "public int getPalindromeSubsequence(String s) {\n\n if (s.isEmpty()) {\n return 0;\n }\n\n int n = s.length();\n int[][] dp = new int[n][n];\n\n for (int i = 0; i < n; i++) {\n dp[i][i] = 1;\n }\n\n // need to compare the two continuous chars\n for (int i = n - 2; i >= 0; i--) {\n for (int j = i + 1; j < n; j++) {\n if (s.charAt(i) == s.charAt(j)) {\n dp[i][j] = dp[i + 1][j - 1] + 2;\n } else {\n dp[i][j] = Math.max(dp[i + 1][j], dp[i][j - 1]);\n }\n }\n }\n\n for (int[] arr : dp) {\n for (int a : arr) {\n System.out.print(a + \" \");\n }\n System.out.println();\n }\n return dp[0][dp[0].length - 1];\n }", "title": "" }, { "docid": "8a827a36a8ff9fe8cc95b9035b34305a", "score": "0.6053316", "text": "public static void main(String[] args) {\n\t\tString s = \"babad\";\n\t\t// Time exceed\n//\t\tString s = \"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n//\t\t\t\t+ \"cccccccccccccccccccccc\";\n\t\tString result = longestPalindrome(s);\n\t\tSystem.out.println(result);\n\t}", "title": "" }, { "docid": "66e0aa292569e6ca4f10c1ee5a69b5c5", "score": "0.6051301", "text": "public static void getPrimePalindrome() {\n\n\t\tint[] storePrime = new int[1000];\n\t\tint[] storePalindrome = new int[1000];\n\t\tboolean isPrime = true;\n\t\tint count = 0, count1 = 0;\n\t\tfor (int i = 0; i <= 1000; i++) {\n\t\t\tif (i == 0 || i == 1)\n\t\t\t\tcontinue;\n\n\t\t\tisPrime = true;\n\t\t\tfor (int j = 2; j <= Math.sqrt(i); j++) {\n\n\t\t\t\tif (i % j == 0)\n\t\t\t\t\tisPrime = false;\n\t\t\t}\n\n\t\t\tif (isPrime) {\n\n\t\t\t\tstorePrime[count++] = i;\n\n\t\t\t}\n\n\t\t\tif (isPrime) {\n\t\t\t\tint num = i, remainder = 0;\n\t\t\t\tint reverse = 0;\n\t\t\t\twhile (num > 0) {\n\t\t\t\t\tremainder = num % 10;\n\t\t\t\t\tnum = num / 10;\n\t\t\t\t\treverse = reverse * 10 + remainder;\n\t\t\t\t}\n\t\t\t\t// comparing reverse with i value\n\t\t\t\tif (reverse == i)\n\t\t\t\t\tstorePalindrome[count1++] = i;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Prime Numbers that are Palindrome are as follows\");\n\n\t\tfor (int i = 0; i < storePalindrome.length; i++) {\n\t\t\t/**\n\t\t\t * storePlaindrome is integer array , so we are printing value greater than zero\n\t\t\t */\n\t\t\tif (storePalindrome[i] > 0)\n\t\t\t\tSystem.out.println(storePalindrome[i]);\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "31739e257271bf6ba35e40c1ceab19f0", "score": "0.60435635", "text": "public static void main(String[] args) {\n\t\tint nGetInputValue = 0;\n\t\tint nGetValue = 0;\n\t\tint nModifiedValue = 0;\n\t\tint nReverseNumber = 0;\n\n\t\tSystem.out.println(\"Enter the Value:\");\n\t\tScanner sc = new Scanner(System.in);\n\t\tnGetInputValue = sc.nextInt();\n\t\tnGetValue = nGetInputValue;\n\n\t\twhile(nGetValue != 0 )\n\t\t{\n\t\t\tnModifiedValue = nGetValue % 10;\n\t\t\tnReverseNumber = (nReverseNumber * 10) + nModifiedValue;\n\t\t\tnGetValue = nGetValue / 10;\n\t\t}\n\n\t\tif(nGetInputValue == nReverseNumber)\n\t\t\tSystem.out.println(nGetInputValue+\" number is Palidrome\");\n\t\telse\n\t\t\tSystem.out.println(nGetInputValue+\" number is not Palidrome\");\n\n\t\tsc.close();\n\t}", "title": "" }, { "docid": "9e8a8c44a8df5e4c609b29865a1f868e", "score": "0.6036419", "text": "public static void main(String[] args) {\n\t\t isPalindrome(1001);\n\t\t \n\t\t // int length = String.valueOf(num).length();\n\t\t }", "title": "" }, { "docid": "d083fa96515e31891f1047c4b9b1b703", "score": "0.6035297", "text": "public String lcsBigO3(String s) {\n\n String reverse_s = \"\";\n String longest_string = \"\";\n\n // 1. empty check\n if (s.length() == 0) {\n return \"\";\n }\n if (s.length() == 1) {\n return s;\n }\n // 2. reverse string ( N time)\n for (int i =0; i< s.toCharArray().length; i++) {\n reverse_s = reverse_s + s.charAt((s.length() - 1) - i);\n }\n\n if(s.equals(reverse_s)) {\n return s;\n }\n\n\n char[] a = s.toCharArray();\n char[] b = reverse_s.toCharArray();\n int[][] metrics = new int[a.length][b.length];\n\n // 3. Make metrics!\n for (int i =0; i < a.length; i++) {\n for (int j = 0; j < b.length; j++) {\n if (a[i] == b[j]) {\n if ( (i > 0 && j > 0) && metrics[i-1][j-1] > 0) {\n\n // 1. Set metrics\n metrics[i][j] = metrics[i-1][j-1] + 1;\n // 2. Check if it's palindromic\n // start_index and last_index\n int start_index = i - metrics[i][j] + 1;\n int last_index = i;\n boolean is_palindromic = true;\n String candidate_palindromic = \"\";\n\n for (int ii = start_index; ii <= i; ii++) {\n candidate_palindromic = candidate_palindromic + a[ii];\n // ++ --\n if(a[ii] != a[last_index]) {\n is_palindromic = false;\n break;\n }\n last_index--;\n }\n\n // 4. if it's a palindromic then compare longest then samp!\n if (is_palindromic && longest_string.length() < metrics[i][j]) {\n longest_string = candidate_palindromic;\n }\n\n } else {\n metrics[i][j] = 1;\n\n // If there is no value then set data\n if (longest_string.length() == 0) {\n longest_string = longest_string + a[i];\n }\n\n }\n } else {\n metrics[i][j] = 0;\n }\n }\n }\n\n return longest_string;\n }", "title": "" }, { "docid": "ddf6a0ff736ce5e85bb8143c690efed7", "score": "0.6030258", "text": "public boolean isPalindromeOtherMethod(int x) {\n if(x < 0) {\n return false;\n }\n int div = 1;\n int num = x;\n\n while(num > 10) {\n num /= div;\n div *= 10;\n }\n\n num = x;\n\n while(num > 0){\n if(num /div != num%10)\n return false;\n num = num%div/10;\n div /= 100;\n }\n return false;\n\n\n }", "title": "" }, { "docid": "f4a5eaad37306992ff628f35b7be1903", "score": "0.60275173", "text": "@Test\n public void test(){\n String s = \"civilwartestingwhetherthatnaptionoranynartionsoconceivedandsodedicatedcanlongendureWeareqmetonagreatbattlefiemldoftzhatwarWehavecometodedicpateaportionofthatfieldasafinalrestingplaceforthosewhoheregavetheirlivesthatthatnationmightliveItisaltogetherfangandproperthatweshoulddothisButinalargersensewecannotdedicatewecannotconsecratewecannothallowthisgroundThebravelmenlivinganddeadwhostruggledherehaveconsecrateditfaraboveourpoorponwertoaddordetractTgheworldadswfilllittlenotlenorlongrememberwhatwesayherebutitcanneverforgetwhattheydidhereItisforusthelivingrathertobededicatedheretotheulnfinishedworkwhichtheywhofoughtherehavethusfarsonoblyadvancedItisratherforustobeherededicatedtothegreattdafskremainingbeforeusthatfromthesehonoreddeadwetakeincreaseddevotiontothatcauseforwhichtheygavethelastpfullmeasureofdevotionthatweherehighlyresolvethatthesedeadshallnothavediedinvainthatthisnationunsderGodshallhaveanewbirthoffreedomandthatgovernmentofthepeoplebythepeopleforthepeopleshallnotperishfromtheearth\";\n// String s = \"cbbd\";\n// String s = \"ccc\";\n// String output = longestPalindromeDP(s);\n System.out.println(longestPalindrome(s));\n }", "title": "" }, { "docid": "0cc4a02d8d7490dfafbce4f78816a6a7", "score": "0.60268223", "text": "public int longestPalindromicSubsequence(String str) {\n\t\tint[][] dp = new int[str.length()][str.length()];\n\t\t\n\t\tfor(int i = str.length()-1; i >= 0; i--) {\n\t\t\tfor(int j = i; j < str.length(); j++) {\n\t\t\t\tif(str.charAt(i) == str.charAt(j)) {\n\t\t\t\t\tif(i == j) {\n\t\t\t\t\t\tdp[i][j] = 1;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdp[i][j] = 2 + dp[i+1][j-1];\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tdp[i][j] = Math.max(dp[i+1][j], dp[i][j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn dp[0][str.length()-1];\n\t}", "title": "" }, { "docid": "7452d46073448b482d4513b137a096ba", "score": "0.6012263", "text": "public boolean isPalindrome(int original) {\n int temp = original;\n int reversed = 0;\n\n while (temp > 0) {\n int remainderOriginal = temp % 10;//1-2-3\n reversed = reversed * 10 + remainderOriginal;\n temp = temp / 10;\n }\n if (reversed == original) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "c39628ca7cb62bd3228a131f396ddde4", "score": "0.6009897", "text": "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner s=new Scanner(System.in);\n\t\tint n=s.nextInt();\n\t\tint tmp=n,rev=0;\n\t\twhile(n>0)\n\t\t{\n\t\t\tint t=n%10;\n\t\t\trev=(rev*10)+t;\n\t\t\tn=n/10;\n\t\t}\n\t\tif(tmp==rev)\n\t\tSystem.out.println(\"Palindrome\");\n\t\telse\n\t\tSystem.out.println(\"Not a Palindrome\");\n\t}", "title": "" }, { "docid": "ae4da64eef747a6b961beb756256d5c1", "score": "0.6006461", "text": "public String longestPalindrome_dp(String s) {\n\t\tint n = s.length();\n\t\tString result = \"\";\n\t\tboolean[][] dp = new boolean[n][n];\n\n\t\t// i goes from n - 1 to 0, j goes from i to n - 1, \n\t\t// to make sure i occurs before j\n\t\tfor (int i = n - 1; i >= 0; i--) {\n\t\t\tfor (int j = i; j < n; j++) {\n\t\t\t\t// if you have a word whose number is less than 2, and \n\t\t\t\t// dp[i+1][j-1] will not success\n\t\t\t\tdp[i][j] = s.charAt(i) == s.charAt(j) && \n\t\t\t\t\t\t(j - i < 2 || dp[i + 1][j - 1]);\n\t\t\t\t\n\t\t\t\t// if dp[i][j] is true,update result\n\t\t\t\tif (dp[i][j] && (result.equals(\"\") || j - i + 1 > result.length())) {\n\t\t\t\t\tresult = s.substring(i, j + 1); // substring includes j\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "80d2e7b77a87eb0eab2107d8de5ca687", "score": "0.59891796", "text": "public static void main(String[] args) {\n String s = \"bbbab\";\n int result = findPotentialLongestPalindorme(s);\n System.out.println(result);\n }", "title": "" }, { "docid": "a203c84fca2e6c5468dba3ac7299731c", "score": "0.5976943", "text": "public static boolean isPalindrome(int number){\n int x = number / 100;\n int y = number % 100 / 10;\n int z = number % 10;\n int x1 = z * 100;\n int y1 = y * 10;\n int z1 = z;\n if(number == (x1 + y1 + z1)){\n return true;\n }\n else{\n return false;\n }\n }", "title": "" }, { "docid": "8b990d5ed5409a18b1c9a3b17e67b290", "score": "0.5971422", "text": "public static void main(String[] args) {\n for(int i = 1 ; i <= 8; i++ )\n System.out.println(new LargestPalindromeProduct().largestPalindrome2(i));\n }", "title": "" }, { "docid": "fadcebc706385a0168a96fd4d007460c", "score": "0.5969538", "text": "public static int longestPalindromicSeq (char[] seq) {\n int [][] DP = new int [seq.length][seq.length];\n\n // for palindrome of size 2 and bigger:\n // plen keeps track of the size of the palindrome.\n for (int plen=1; plen <= seq.length; plen++ ) {\n for (int i=0; i <= seq.length - plen ; i++ ) {\n\n int j = i + plen - 1;\n\t\n\t// for palindrome of size 1:\n\tif (i==j) DP[i][j] = 1;\n\n // palindrome of size 2\n else if (plen==2 && seq[i]==seq[j]) DP[i][j] = 2;\n\n // palindrome of size > 2\n else if (seq[i]==seq[j])\n DP[i][j] = 2+DP[i+1][j-1];\n else\n DP[i][j] = Math.max(DP[i][j-1],DP[i+1][j]);\n }\n }\n\n matrixRenderer(DP);\n return DP[0][seq.length - 1];\n }", "title": "" }, { "docid": "6ddee9b930e40f605a137ceddd98d733", "score": "0.59628797", "text": "public static String longestPalindrome1(String s) {\r\n String ans=\"\";\r\n for(int i=0;i<s.length() && s.length()-i>ans.length();i++) {\r\n for(int j=i+ans.length();j<s.length();j++) {\r\n if(s.charAt(i)==s.charAt(j)) {\r\n String subStr=s.substring(i,j+1);\r\n if(isPalindrome(subStr)) {\r\n if(subStr.length()>ans.length())\r\n ans=subStr;\r\n }\r\n }\r\n }\r\n }\r\n return ans;\r\n }", "title": "" }, { "docid": "d37cbbee3e556feb2d78941ed9d573f5", "score": "0.5938471", "text": "public static String longestPalindrome2(String s) {\r\n int max = 0, idx = 0;\r\n \r\n for (int i = 0; i < s.length(); i++) {\r\n int len1 = extend(s, i, i), len2 = extend(s, i, i + 1);\r\n if (max < Math.max(len1, len2)) {\r\n idx = (len1 > len2) ? (i - len1 / 2) : (i - len2 / 2 + 1);\r\n max = Math.max(len1, len2);\r\n }\r\n }\r\n return s.substring(idx, idx + max);\r\n }", "title": "" }, { "docid": "7e052bd9c9ed3775581780c8a4f80ef1", "score": "0.59124035", "text": "public static String longestPalindrome2(String s) {\n String max = \"\";\n for (int i = 0; i < s.length(); ++i) {\n String s1 = extend(s, i, i);\n String s2 = extend(s, i, i + 1);\n if (max.length() < s1.length()) max = s1;\n if (max.length() < s2.length()) max = s2;\n }\n\n return max;\n }", "title": "" }, { "docid": "91db1b30f2f026cc2a856968888a45b7", "score": "0.58764577", "text": "public int solution(String s){\n int result = 0;\n\n for (int bias = 0; bias < s.length(); bias++) {\n if(isPalindrome(s, bias)) {\n System.out.println(bias);\n result = bias;\n break;\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "9bb55d5a5b8d71ef534dea465f156396", "score": "0.58748305", "text": "private static String solve(int first, int second) {\n var num1 = new LinkedList<Integer>();\n var num2 = new LinkedList<Integer>();\n\n // adding numbers in reverse order for making addition easy\n while (first > 0) {\n num1.add(first % 10);\n first /= 10;\n }\n while (second > 0) {\n num2.add(second % 10);\n second /= 10;\n }\n // carry generated during addition\n var carry = 0;\n\n // temporary node to swap the larger number with the smaller number\n // num1 will contain larger number and num2 will contain smaller number\n LinkedList<Integer> temp;\n if (num1.size() < num2.size()) {\n temp = num1;\n num1 = num2;\n num2 = temp;\n }\n\n // going from 0 to min(num1.size(), num2.size())\n int i;\n for (i = 0; i < num2.size(); i++) {\n int foo = carry + num1.get(i) + num2.get(i);\n carry = foo / 10;\n num1.set(i, foo % 10);\n }\n // if at last carry is generated\n // check whether you can add that carry to remaining elements of the list\n // if not then create a new node and add the carry\n while (carry > 0) {\n if (i < num1.size()) {\n int foo = carry + num1.get(i);\n carry = foo / 10;\n num1.set(i++, foo % 10);\n } else {\n num1.add(carry);\n // make carry zero after use\n carry = 0;\n }\n }\n\n // reversing the linked list and printing the result\n var joiner = new StringJoiner(\", \", \"[\", \"]\");\n while (!num1.isEmpty()) {\n joiner.add(String.valueOf(num1.removeLast()));\n }\n return joiner.toString();\n }", "title": "" }, { "docid": "b27ed76ebf5d698bc1a56b3225583bee", "score": "0.58698475", "text": "public static String longestPalindrome(String s) {\n int strLen = s.length();\n int[][] pArr = new int[strLen][strLen];\n \n /*\n * init array\n * | 1 0\n * | 0 1\n */\n \n for(int i = 0; i < strLen; i++) {\n \tpArr[i][i] = 1;\n }\n \n /*\n * check second value\n * | 1 1\n * | 0 1\n */\n int maxLength = 1;\n int len = 0;\n String temp = s.substring(0, 1);\n \n for(int i = 0; i < strLen - 1; i++) {\n \tif(s.charAt(i) == s.charAt(i + 1)) {\n \t\tpArr[i][i + 1] = 1;\n \t\tif(s.substring(i, i+2).length() > maxLength) {\n \t\t\t\ttemp = s.substring(i, i+2);\n \t\t\t\tmaxLength = s.substring(i, i+2).length();\n \t\t\t}\n \t} else {\n \t\tpArr[i][i + 1] = 0;\n \t}\n }\n\n for(int i = 2; i < strLen; i++) {\n \tfor(int j = i; j < strLen; j++) {\n \t\tif(pArr[j - i + 1][j - 1] == 1 && s.charAt(j - i) == s.charAt(j)) {\n \t\t\tpArr[j - i][j] = 1;\n \t\t\t\n \t\t\tif(s.substring(j-i, j+1).length() > maxLength) {\n \t\t\t\ttemp = s.substring(j-i, j+1);\n \t\t\t\tmaxLength = s.substring(j-i, j+1).length();\n \t\t\t}\n \t\t}\n \t\t\t\n \t}\n }\n \n/* for(int i = 0; i < strLen; i++) {\n \tfor(int j = 0; j < strLen; j++) {\n \t\tSystem.out.print(pArr[i][j] + \"\\t\");\n \t\tif(pArr[i][j] == 1 && s.substring(i, j+1).length() > maxLength) {\n \t\t\ttemp = s.substring(i, j+1);\n \t\t\tmaxLength = s.substring(i, j+1).length();\n \t\t}\n \t}\n \tSystem.out.print(\"\\n\");\n }*/\n return temp;\n }", "title": "" }, { "docid": "f5bb9ebf1d7e01cd349670ec90d2c470", "score": "0.58494455", "text": "public static String longestPalindrome(String s) {\n\t\t// string processing ( add intervals and head/tail symbol )\n int[] str = new int[s.length()*2+3];\n str[0] = -10; str[1] = -1 ; str[str.length-1]=-20;\n for ( int i = 2, j = 0; j < s.length(); j++ ) {\n \tstr[i++] = s.charAt(j);\n \tstr[i++] = -1;\n }\n // calculate the ret[] where 2*ret[i]-1 is the longest palindromic substring centered at i \n int[] ret = new int[str.length];\n int id = 0, mx = 0;\n int max = 0, maxid = 0;\n for ( int i = 1; i < str.length-1; i++ ) {\n \tint j = 2*id-i;\n \tif ( i < mx && ret[j] < mx -i )\n \t\tret[i] = ret[j];\n \telse {\n \t\tint c = i<mx?mx-i:1;\n \t\twhile ( str[i-c] == str[i+c] )\n \t\t\tc++;\n \t\tret[i] = c;\n \t\tid = i;\n \t\tmx = id+c;\n \t\tif ( c >= max ) {\n \t\t\tmax = c;\n \t\t\tmaxid = i;\n \t\t}\n \t}\n }\n //translate the results\n return s.substring((maxid-max)/2,(maxid+max)/2-1);\n }", "title": "" }, { "docid": "83b7d048e3e8a5bd8150aeaa22ddf571", "score": "0.58437425", "text": "public int longestPalindromeSubseq(String s) {\n\t\t\tint n = s.length(), m = s.length();\n\t\t\tint[][] dp = new int[n + 1][m + 1];\n\t\t\tchar[] c1 = s.toCharArray();\n\t\t\tchar[] c2 = new StringBuilder(s).reverse().toString().toCharArray();\n\t\t\t\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tfor (int j = 1; j <= m; j++) {\n\t\t\t\t\tif (c1[i - 1] == c2[j - 1]) {\n\t\t\t\t\t\tdp[i][j] = dp[i - 1][j - 1] + 1;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdp[i][j] = Math.max(dp[i - 1][j], dp[i][j - 1]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn dp[n][m];\n\t\t}", "title": "" }, { "docid": "81ecae03c890eded38adac37bffdac72", "score": "0.5843506", "text": "public static boolean isPalindrome(int value){\n int reverse = 0;\r\n\r\n int test_value = value;\r\n\r\n /*since a palindrome is the same number forward and backwards, we need to start at the digit in the ones\r\n * column and assign that to a variable. We then continue to the tens column and assign that digit to the\r\n * same variable. It will be assign to the right. This continues until all of the numbers are assigned to the\r\n * new variable and then we finally compare value to reverse\r\n * */\r\n\r\n while(test_value > 0){\r\n //extract the last digit of value using mod division\r\n int last_digit = test_value%10;\r\n\r\n //to increase the place value\r\n reverse = reverse *10;\r\n\r\n //add last digit to reverse\r\n reverse += last_digit;\r\n\r\n //since the last digit fo value is processed, we need to remove it from value\r\n test_value = test_value/10;\r\n\t\t\t\r\n\t\t\t/*Let's step through the code using the number 101 which is a palindrome\r\n\t\t\t1. test_value > 0 is true since test_value is 101\r\n\t\t\t2. last_digit is assigned the value of 1\r\n\t\t\t3. reverse is assigned the value of 1\r\n\t\t\t4. test_value is assigned the value of 10\r\n\t\t\t\r\n\t\t\tSo, after iteration 1, we have last_digit = 1; reverse = 1, test_value = 10\r\n\r\n\t\t\t1. test_value > 0 is true since test_value is 10\r\n\t\t\t2. last_digit is assigned the value of 0\r\n\t\t\t3. reverse is assigned the value of 10\r\n\t\t\t4. test_value is assigned the value of 1\r\n\r\n\t\t\tSo, after iteration 2, we have last_digit = 0; reverse = 10, test_value = 1\r\n\r\n\t\t\t1. test_value > 0 is true since test_value is 1\r\n\t\t\t2. last_digit is assigned the value of 1\r\n\t\t\t3. reverse is assigned the value of 101\r\n\t\t\t4. test_value is assigned the value of 0\r\n\r\n\t\t\tSo, after iteration 3, we have last_digit = 1; reverse = 101, test_value = 0\r\n\r\n\t\t\t*/\r\n }\r\n\r\n return reverse == value;\r\n\r\n }", "title": "" }, { "docid": "c57539b595f85ec7a312097c5c7728f2", "score": "0.5838549", "text": "public String longestPalindrome(String s) {\n int n = s.length();\n // substring (i, j) is palindrome\n boolean dp[][] = new boolean[n][n];\n int maxLen = 0;\n // final answer is [lps...lps+maxLen]\n int lps = 0, j; \n // length of substring, str[i...j], which is essentially str[i...i+len]\n for(int len = 0; len < n; len++){\n for(int i = 0; i < n; i++){\n // ends at j\n j = i + len;\n if(j >= n)\n break;\n \n if(len == 0) // assumption 1\n dp[i][j] = true;\n else if(len == 1) // assumption 2\n dp[i][j] = s.charAt(i) == s.charAt(j);\n else // assumption 3\n dp[i][j] = dp[i+1][j-1] && s.charAt(i) == s.charAt(j);\n \n if(dp[i][j] && len + 1 > maxLen){\n lps = i; \n maxLen = len + 1;\n }\n }\n }\n return s.substring(lps, lps + maxLen);\n }", "title": "" }, { "docid": "82a3e3bee08335957198f367ffef8a4c", "score": "0.58301216", "text": "public static void main(String[] args) {\r\n\t\t System.out.println(findClosestPalindrome(1993));\r\n\t\t /*System.out.println(findClosestPalindrome(1999));\r\n\t\t System.out.println(findClosestPalindrome(9900));\r\n\t\t System.out.println(findClosestPalindrome(999000));*/\r\n\t\t }", "title": "" }, { "docid": "45f7abadf4fd9eb211ecb1396166a33e", "score": "0.582473", "text": "public String longestPalindrome(String s) {\n\t\tint length = 0;\n\t\tint startIndex = 0;\n\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tint evenLength = getLengthOfPalindrome(i, i + 1, s); // baab\n\t\t\tint oddLength = getLengthOfPalindrome(i, i, s); // cbabc\n\n\t\t\tif (length < Math.max(evenLength, oddLength)) {\n\t\t\t\tlength = Math.max(evenLength, oddLength);\n\n\t\t\t\tif (evenLength > oddLength) {\n\t\t\t\t\tstartIndex = i - (evenLength / 2) + 1;\n\t\t\t\t} else {\n\t\t\t\t\tstartIndex = i - (oddLength / 2);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn s.substring(startIndex, startIndex + length);\n\t}", "title": "" }, { "docid": "f83807ed76667f54924974bc1183173d", "score": "0.5821955", "text": "public static void main(String[] args) {\n String palinResult = longestPalindrome(\"ccbbabbdddfghehgf\");\n System.out.println(palinResult);\n\n //Result should be 24 different permutations\n //However I kept getting solutions that were a little more or less\n String permuteTester = \"abcd\";\n ArrayList<String> perms = getPermutations(permuteTester, 0, permuteTester.length()-1);\n System.out.println(perms);\n System.out.println(perms.size());\n }", "title": "" }, { "docid": "c823146f867389cb6d74094f78263081", "score": "0.58140105", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(isPalindrome(-1221));\n\t\tSystem.out.println(isPalindrome(707));\n\t\tSystem.out.println(isPalindrome(11212));\n\t}", "title": "" }, { "docid": "49dda349dadd7d00c6c17e86c547da6e", "score": "0.5807341", "text": "public int longestPalindrome(String s) {\n int[] count = new int[128];\n int res = 0;\n\n for (char c : s.toCharArray()) {\n count[c]++;\n if (count[c] == 2) {\n res += 2;\n count[c] = 0;\n }\n }\n\n for (int i = 0; i < 128; i++) {\n if (count[i] == 1) {\n res++;\n return res;\n }\n }\n\n return res;\n }", "title": "" }, { "docid": "576232291b1313def7bb080a994c6c51", "score": "0.58068895", "text": "private static String isPalindrome(String str) {\n Map<Character, Integer> countMap = new HashMap<>();\n\n\n for (int i = 0; i < str.length(); i++) {\n Character c = str.charAt(i);\n countMap.putIfAbsent(c, 0);\n countMap.replace(c, countMap.get(c) + 1);\n }\n\n\n Iterator<Integer> totalIt = countMap.values().iterator();\n int totalOdd = 0;\n int totalEven = 0;\n //count even and odd totals\n while (totalIt.hasNext()) {\n if (totalIt.next() % 2 == 0) {\n totalEven++;\n } else {\n totalOdd++;\n }\n }\n //if there is more thant 1 even then it's not a palindrome\n if (totalOdd > 1) {\n return \"NO\";\n }\n\n // if all the other char count is even the it is a palindrome\n if (totalEven == countMap.size() - totalOdd) {\n return \"YES\";\n }\n\n return null;\n }", "title": "" }, { "docid": "e06fec5b77f3828af16895d0a8ac95b1", "score": "0.57970613", "text": "public static int largestPalindromeUnder(int num){\n \n for(int i = num - 1; i>=101101; i--){\n if(isPalindrome(i)){\n return i;\n }\n }//end for\n return -1;\n }", "title": "" }, { "docid": "4eac9e6dd69795fae9e491cc5d80e703", "score": "0.57942235", "text": "@Test\r\n public void test2() {\r\n String input = \"0123456789\";\r\n String pass = \"0123456789\";\r\n\r\n String result = longestDigitsPrefixContainer.longestDigitsPrefix(input);\r\n Assert.assertTrue(result + \" should equal \" + pass, pass.equals(result));\r\n }", "title": "" }, { "docid": "1c7ce77f99be292ee4b61a8988a1bec0", "score": "0.5792032", "text": "public String longestPalindrome_check(String s) {\n\t\tString res = \"\";\n\t\tint currLength = 0;\n\t\tfor (int i = 0; i < s.length(); i++) {\n\t\t\tif (isPalindrome(s, i - currLength - 1, i)) {\n\t\t\t\tres = s.substring(i - currLength - 1, i + 1);\n\t\t\t\tcurrLength = currLength + 2;\n\t\t\t} \n\t\t\telse if (isPalindrome(s, i - currLength, i)) {\n\t\t\t\tres = s.substring(i - currLength, i + 1);\n\t\t\t\tcurrLength = currLength + 1;\n\t\t\t}\n\t\t}\n\t\treturn res;\n\t}", "title": "" }, { "docid": "d966d1fde0507cdccecb88860a0f76cb", "score": "0.5790883", "text": "@Test\n\tpublic void testIsDoubleBasePalindrome_2()\n\t\tthrows Exception {\n\t\tInteger number = Integer.valueOf(1);\n\n\t\tboolean result = Functions.isDoubleBasePalindrome(number);\n\n\t\t// add additional test code here\n\t\tassertEquals(true, result);\n\t}", "title": "" }, { "docid": "729e83f77228f0892daa0e537dc20763", "score": "0.5789042", "text": "public static void printPrimePalindrome()\n\t{\n\t\tSystem.out.println(\"Palindrome Prime number:==>>\");\n\t\tfor (int lNumber = 2; lNumber < 1000; lNumber++)\n\t\t{\n\t\t\tif (isPrime(lNumber))\n\t\t\t{\n\t\t\t\tif (isPalindrome(Integer.toString(lNumber))) \n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(lNumber);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c869f1a5ecd4a38c01ccd62add354777", "score": "0.5783038", "text": "public boolean isPermutationOfPalindrome2 (String s) {\n s = s.toLowerCase();\n int monitor = 0;\n for (char c : s.toCharArray()) {\n int index = getCharNum(c);\n monitor = flipBit(monitor, index);\n }\n\n return monitor == 0 || checkExactlyOne(monitor);\n }", "title": "" }, { "docid": "cc5b1e1e16c0b82c08ed9315c3792d9e", "score": "0.5780256", "text": "public static void main(String[] args) {\n String data = \"babad\";\n for (int i = 0; i < data.length(); i++) {\n for (int j = i + 2; j < data.length(); j++) {\n String str = data.substring(i, j);\n if (isPalindromic(str)) {\n System.out.println(str);\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "2e4acdde03e1a36125d757490ab15736", "score": "0.5762681", "text": "public String longestPalindrome(String s) {\n if(s == null || s.length() == 0) return s;\n\n int startIndex = 0;\n int endIndex = 1;\n int strLength = s.length();\n char [] cArray = s.toCharArray();\n boolean [][] dp = new boolean[strLength][strLength];\n\n //Comparing each characters and it will obviously be a palindrome.\n for(int i = 0; i < cArray.length; i++) {\n dp[i][i] = true;\n }\n\n //Compare two characters and check whether both of equal\n for(int i = 0, j = i + 1; j < cArray.length; i++, j++) {\n if(cArray[i] == cArray[j]) {\n dp[i][j] = true;\n startIndex = i;\n endIndex = j + 1;\n }\n }\n\n //Compare from three to n characters and check whether they are palindrome\n for(int m = 2; m < cArray.length; m++) {\n for(int i = 0, j = m; j < cArray.length; i++, j++) {\n if(cArray[i] == cArray[j] && dp[i + 1][j - 1]) {\n dp[i][j] = true;\n startIndex = i;\n endIndex = j + 1;\n }\n }\n }\n return s.substring(startIndex, endIndex);\n }", "title": "" }, { "docid": "e05bf4f655ac0cefff3a33eb07600b23", "score": "0.57531637", "text": "public static int[] maximalPalindromes2(String s) {\n int centerCount = s.length() * 2 + 1;\n int[] result = new int[centerCount];\n for (int i = 0; i < centerCount; i++) {\n result[i] = lengthPalindromeAround(s, i);\n }\n return result;\n }", "title": "" }, { "docid": "0ee11f7b06c6b2b82367c0fe67ca664d", "score": "0.5749129", "text": "public String isPalinCheck(Integer temp1) {\r\n\t\tif (temp1 != null) {\r\n\t\t\tif (temp1 != 0 || temp1 != 1) {\r\n\t\t\t\tint i = 0;\r\n\t\t\t\tString numStr = (Integer.toString(temp1));\r\n\t\t\t\tInteger j = numStr.length();\r\n\t\t\t\twhile (i < j) {\r\n\t\t\t\t\tif (numStr.charAt(i) != numStr.charAt(j - 1)) {\r\n\t\t\t\t\t\treturn temp1 + \" \" + \"NOT PALINDROME\";\r\n\t\t\t\t\t}\r\n\t\t\t\t\ti++;\r\n\t\t\t\t\tj--;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn temp1 + \" \" + \"PALINDROME\";\r\n\t\t} else\r\n\t\t\treturn null;\r\n\t}", "title": "" }, { "docid": "fce5ac99dabe4eaac1368575370414c5", "score": "0.57435244", "text": "public static void main(String[] args) {\n@SuppressWarnings(\"resource\")\nScanner scan= new Scanner(System.in);\nSystem.out.println(\"Enter your input value: \");\nString s=scan.nextLine();\nString rev=\"\",in=\"\" ;\nString a[]=s.split(\" \");\n//String con=Arrays.toString(a);\nSystem.out.println(s.split(\" \").length);\n/*for(int i=0;i<s.split(\" \").length;i++)\n{\nString rec=a[i];\nSystem.out.println(rec.length());\nSystem.out.println(rec);\nfor(int j=rec.length()-1;j>=0; j--){\nrev=rev+rec.charAt(j);\n}\nSystem.out.println(rev);\n}*/\n\nfor(int i=s.length()-1;i>=0;i--)\n{\nrev=rev+s.charAt(i);\n\n}\nSystem.out.println(rev);\nString w[]=rev.split(\" \");\nint count=s.split(\" \").length;\nfor(int q=0;q<s.split(\" \").length;q++)\n{\ncount--;\nSystem.out.println(count);\nif(w[count].equalsIgnoreCase(a[q]))\n\n{\n\nSystem.out.println(\"Its a palindrome: \"+a[q]);\n}else{\nSystem.out.println(\"Its not a palindrome: \"+a[q]);\t\n}\n}\n/*String b[]=rev.split(\" \");\nSystem.out.println(b.length);\n\nfor(int r=a.length-1;r>=0;r--)\n{\nin=in+a[r];\n}\nSystem.out.println(in);*/\n/*if(a[k]==b[k]){System.out.println(\"It's palindrome\"+a);}\t\nelse{System.out.println(\"It's not palindrome\"+a);}*/\n\n}", "title": "" }, { "docid": "4e999056722a55b64660106afcfff0f3", "score": "0.5742538", "text": "public String longestPalindrome_dp(String s) {\r\n if (s == null || s.length() <= 1) {\r\n return s;\r\n }\r\n\r\n String solution = \"\";\r\n boolean[][] dp = new boolean[s.length()][s.length()];\r\n\r\n for (int j = 0; j < s.length(); j++) {\r\n for (int i = 0; i <=j; i++) {\r\n dp[i][j] = s.charAt(i) == s.charAt(j) && ((j - i <= 2) || dp[i + 1][j - 1]);\r\n if (dp[i][j] && j - i + 1 > solution.length()) {\r\n solution = s.substring(i, j + 1);\r\n }\r\n }\r\n }\r\n return solution;\r\n }", "title": "" }, { "docid": "acb1c77fd155c5937355090a6591570b", "score": "0.57401025", "text": "static boolean Palindrome2(String str) {\n\t\tint i = 0, j = str.length() - 1;\n\t\twhile (j > i) {\n\t\t\tif (str.charAt(i) != str.charAt(j))\n\t\t\t\treturn false;\n\t\t\tj--;\n\t\t\ti++;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "fc3ce6e3d5305f1dbe9bb46384c58221", "score": "0.57383215", "text": "public String solution1 (String s) {\n\t\tString result = \"\";\n\t\tString subString;\n\t\tint maxLength = 1;\n\t\tint num = s.length();\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tfor (int j = i + 1; j < num + 1; j++) {\n\t\t\t\tsubString = s.substring(i, j);\n\t\t\t\tif (isPalindrome(subString)) {\n\t\t\t\t\tif (subString.length() >= maxLength) {\n\t\t\t\t\t\tmaxLength = subString.length();\n\t\t\t\t\t\tresult = subString;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "e5ed2b71b2777738d8f85c1afa6e4ed1", "score": "0.5718763", "text": "public static String createPalindrome(int num1, int num2) {\n\t\tif (isNumberCorrect(num1) != true || isNumberCorrect(num2) != true)\n\t\t\treturn \"Given numbers are incorrect\";\n\n\t\t// check if creating palindrome is possible\n\t\tString numberString = Integer.toString(num1) + Integer.toString(num2);\n\t\tchar[] numbers = numberString.toCharArray();\n\t\tArrays.sort(numbers);\n\n\t\tfor (int i = 0; i < numbers.length - 2;) {\n\t\t\tif (numbers[i] == numbers[i + 1])\n\t\t\t\ti = i + 2;\n\t\t\telse\n\t\t\t\treturn \"Palindrome cannot be created\";\n\t\t}\n\n\t\t// create palindrome\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (char c : numbers) {\n\t\t\tsb.append(c);\n\t\t}\n\t\tList<Character> numbersList = sb.toString().chars().mapToObj(c -> (char) c).collect(Collectors.toList());\n\t\tList<Character> halfNumbers = new ArrayList<>();\n\n\t\tfor (int i = 0; i < numbersList.size(); i += 2) {\n\t\t\thalfNumbers.add(numbersList.get(i));\n\t\t}\n\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\tfor (char c : halfNumbers)\n\t\t\tsb2.append(c);\n\n\t\tString halfPalindrome = sb2.toString();\n\t\treturn new StringBuilder(halfPalindrome).reverse().toString() + halfPalindrome;\n\t}", "title": "" }, { "docid": "dbd63e871d847d7cb58b8501df166bfd", "score": "0.56855553", "text": "public static void main(String[] args) {\n for(int i= 0; i<=100;i++){\n if (i%3==0 || i%5==0) {\n System.out.print(i + \" \");\n }\n\n }\n\n System.out.println(\"============================================\");\n\n String name = \"Anna\";\n // 012345\n\n int lastIndex = name.length()-1;\n String result =\"\";\n\n for(int i = lastIndex; i>= 0; i-- ){\n // System.out.print(name.charAt(i));\n //result+=name.charAt(i);\n result =result+name.substring(i,i+1);\n // 3,4\n }\n System.out.println(name+\" & \"+result);\n\n\n\n if( name.equalsIgnoreCase(result)) {\n System.out.println(name + \" is palindrome name\");\n }else{\n System.out.println(name + \" is not palindrome name\");\n }\n\n }", "title": "" }, { "docid": "9c6caa5f63c738ed5bd83d13909c273c", "score": "0.5678913", "text": "private static int getLargestPalindrome(int lower, int upper) {\n\t\tfor (int i = upper; i >= lower; i--) {\n\t\t\tif (isPalindrome(i) && hasTwoOrThreeDigitFactor(i)) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "209df922bcaca9e6b22a974474457bf4", "score": "0.56684583", "text": "public static String getLongestPalindrome(String x) {\r\n\r\n String letters = \"\";\r\n String result = \"\";\r\n\r\n int[][] answerArray = new int[x.length()][x.length()];\r\n\r\n getLengthRecursive(x, 0, x.length()-1, answerArray);\r\n\r\n boolean found = false;\r\n boolean singleMiddle = false;\r\n int currMax = answerArray[x.length()-1][x.length()-1];\r\n int i = 0;\r\n int j = x.length()-1;\r\n\r\n while(!found){\r\n\r\n while( true ){\r\n\r\n if(j<1) break;\r\n\r\n if(answerArray[i][j-1] == answerArray[i][j]){\r\n j--;\r\n }\r\n else break;\r\n }\r\n\r\n letters += x.charAt(i);\r\n i++;\r\n\r\n if(answerArray[i][j] == 0){\r\n found = true;\r\n\r\n if(answerArray[i-1][j] == 1){\r\n singleMiddle = true;\r\n }\r\n }\r\n }\r\n\r\n result = letters;\r\n if(singleMiddle){\r\n result = result.substring(0, result.length()-1);\r\n }\r\n\r\n for(int k=letters.length()-1; k>=0; k--){\r\n\r\n result += letters.charAt(k);\r\n }\r\n\r\n return result;\r\n }", "title": "" }, { "docid": "84c7553a282557ff2705cc52efbb88d8", "score": "0.5668159", "text": "public static void main(String[] args) {\n\n\n System.out.println(longestPalindrome(\"cbb\"));\n }", "title": "" }, { "docid": "51dd05901dad4459f2b0468757ac8fce", "score": "0.56598556", "text": "public static void main(String[] args) {\n\t\tint num = 12121;\r\n\t\tSystem.out.println(\"Palindrome is \"+returnReverse(num,10));\r\n\t}", "title": "" }, { "docid": "401d77f06fee8588736a5fcfaacd8d82", "score": "0.56448394", "text": "public int longestPalindromeSubseqDp(String s) {\n int len = s.length();\n int[][] DP = new int[len+2][len+1];//for i-2 and j+1\n for(int i = 0; i < len;i++) {\n DP[1][i] = 1;\n }\n for(int i = 2; i <= len; i++) {\n for(int j = 0; j <= len-i; j++) {\n int endIndex = j + i -1;\n if(s.charAt(j) == s.charAt(endIndex)) {\n DP[i][j] = 2 + DP[i-2][j+1];\n } else {\n DP[i][j] = Math.max(DP[i-1][j], DP[i-1][j+1]);\n }\n }\n }\n return DP[len][0];\n }", "title": "" }, { "docid": "e4216daf72a7f71fd422e97d597125d7", "score": "0.5642128", "text": "public int longestPalindromeSubseq(String s) {\n int[][] dp = new int[s.length()][s.length()];\n for(int i=s.length()-1; i>=0; i--) {\n \tdp[i][i] = 1;\n \tfor(int j=i+1; j<s.length(); j++) {\n \t\tif(s.charAt(i)==s.charAt(j)) {\n \t\t\tdp[i][j] = dp[i+1][j-1] + 2;\n \t\t} else {\n \t\t\tdp[i][j] = Math.max(dp[i+1][j], dp[i][j-1]);\n \t\t}\n \t}\n }\n return dp[0][s.length()-1];\n }", "title": "" }, { "docid": "795d1df382560a2e4936b00e1d365e67", "score": "0.5638833", "text": "public Predicate<Integer> isPalindrome() {\n\t\treturn number -> Integer.toString(number).equals(new StringBuilder(Integer.toString(number)).reverse().toString());\r\n\t}", "title": "" }, { "docid": "8dd3a49ba553bf57d31b2d62576494d7", "score": "0.5634976", "text": "public static String longestPalindrome(String s) {\n if (s == null) return null;\n\n int max = 0;\n String res = \"\";\n\n if (isPalindrome(s, 0, s.length() - 1)) return s;\n\n for (int i = 0; i < s.length(); i ++) {\n for (int j = s.length() - 1; j >= i; j --) {\n if (isPalindrome(s, i, j)) {\n if (max < j - i + 1) {\n max = j - i + 1;\n res = s.substring(i, j + 1);\n }\n }\n }\n }\n\n return res;\n }", "title": "" }, { "docid": "576e18532dd9fe9afa9c4f85cfe7409f", "score": "0.56333345", "text": "public static void main(String[] args) {\n\t\tLinkedList lk=new LinkedList();\r\n\t\tlk.add(\"a\");\r\n\t\tlk.add(\"b\");\r\n\t\tlk.add(\"c\");\r\n\t\tlk.add(\"c\");\r\n\t\tlk.add(\"b\");\r\n\t\tlk.add(\"a\");\r\n\t\tIterator ita=lk.iterator();\r\n\t\tString str=\"\";\r\n\t\twhile(ita.hasNext()) {\r\n\t\t\tstr+=ita.next();\r\n\t\t}\r\n\t\tSystem.out.println(str);\r\n\t\tint len=str.length()/2;\r\n\t\tString str1=\"\";\r\n\t\tString str2=\"\";\r\n\t\t//System.out.println(str.);\r\n\t\tstr1+=str.substring(0, len);\r\n\t\tfor (int i = str.length()-1; i >=len ; i--) {\r\n\t\t\tstr2+=str.charAt(i);\r\n\t\t}\r\n\t\tSystem.out.println(str1);\r\n\t\tSystem.out.println(str2);\r\n\t\t//str2=str.substring(str.length()-1,len+1);\r\n\t\tif(str1.equals(str2)) {\r\n\t\t\tSystem.out.println(\"palindrom\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"not palindrome\");\r\n\t\t}\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "f137c709ae992476cf012edcf6fdbca6", "score": "0.5629277", "text": "public boolean isNumberPalindrome(int number) {\n int palindrome = number; // copied number into variable\n int reverse = 0;\n\n while (palindrome != 0) {\n int remainder = palindrome % 10;\n\n System.out.println(\"remainder (palindrome %10) = \" + remainder);\n\n reverse = reverse * 10 + remainder;\n\n System.out.println(\"reverse (reverse * 10 + remainder) = \" + reverse);\n\n System.out.println(\"palindrome = \" + palindrome);\n\n palindrome = palindrome / 10;\n\n System.out.println(\"palindrome (palindrome / 10 ) = \" + palindrome + \"\\n\\n\");\n\n }\n\n // if original and reverse of number is equal means\n // number is palindrome in Java\n if (number == reverse) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "28bdc8b377400963c02534e756820477", "score": "0.56109804", "text": "@Test//Even length\n\tpublic void example1() {\n\t\tString input = \"aaaabbaaaa\";\n\t\tpalindrome(input);\n\t}", "title": "" }, { "docid": "6af100cd39108f07cfef51d1fe031773", "score": "0.56050044", "text": "public int longestPalindrome1(String s) {\n if(s == null || s.length() == 0){\n return 0;\n }\n int count = 0;\n HashSet<Character> hashset = new HashSet<>();\n for(char c: s.toCharArray()){\n if(hashset.contains(c)){\n count ++;\n hashset.remove(c);\n }else{\n hashset.add(c);\n }\n }\n if(hashset.size() != 0) return count * 2 + 1;\n return count * 2;\n }", "title": "" }, { "docid": "a54e3dc333cebae7a54eeba6fe97288e", "score": "0.5598736", "text": "private boolean isPalindrome(long n) {\n return n == reverse(n);\n }", "title": "" }, { "docid": "936679eda588bbdb85722051958cee71", "score": "0.5595837", "text": "public static boolean isNumberPalindromeJava8(int number) {\n return number == IntStream.iterate(number, i -> i / 10)\n .map(n -> n % 10)\n .limit(String.valueOf(number).length()) //we need to know when to stop in java8\n .reduce(0, (a, b) -> a * 10 + b);\n }", "title": "" }, { "docid": "61ff01b85baf0772dc1b0cc96bec888d", "score": "0.55903596", "text": "public String multiply(String num1, String num2) {\n\n if (num1.length() == 0) {\n return num2;\n }\n\n if (num2.length() == 0) {\n return num1;\n }\n\n String n1 = new StringBuilder(num1).reverse().toString();\n String n2 = new StringBuilder(num2).reverse().toString();\n StringBuilder res = new StringBuilder();\n\n int[] d = new int[n1.length() + n2.length() + 1];\n\n for (int i = 0; i < n1.length(); i++) {\n for (int j = 0; j < n2.length(); j++) {\n d[i + j] += (n1.charAt(i) - '0') * (n2.charAt(j) - '0');\n }\n }\n\n int carry = 0;\n for (int i = 0; i < d.length; i++) {\n int value = d[i] + carry;\n d[i] = value % 10;\n carry = value / 10;\n\n res.append(String.valueOf(d[i]));\n }\n\n // reverse the result order\n res.reverse();\n\n // remove the front unnecessary '0'\n // the check condition is res.length > 1, because we need to return a string with at least 1 size\n // even the multiplication result is 0\n while (res.length() > 1 && res.charAt(0) == '0') {\n res.deleteCharAt(0);\n }\n\n return res.toString();\n\n }", "title": "" }, { "docid": "020bb7bd1bd78722f5fff8383d37b027", "score": "0.5587087", "text": "public int longestPalindromeSubseq(String s) {\n int[][] dp = new int[s.length()][s.length()];\n \n // Use the recurrence to solve the problem.\n for(int i=s.length()-1; i>=0;i--)\n {\n dp[i][i] = 1; //Initialize diagional/same character lengths to 1.\n for(int j=i+1; j < s.length();j++) //Lopp from j=i+1 to len(s)\n {\n //if the characters are the same then increment dp[i][j] by prev +2\n if(s.charAt(i) == s.charAt(j))\n dp[i][j] = dp[i+1][j-1] + 2;\n else\n dp[i][j] = Math.max(dp[i+1][j], dp[i][j-1]); //Recurse to get the max length by omitting char @i or char @j\n }\n }\n \n //return the max length subsequence\n return dp[0][s.length()-1];\n }", "title": "" }, { "docid": "ef586f947478e85cfaa94639ba16a581", "score": "0.5585669", "text": "int main()\n{\n int n,i,j,l,m=1,rev=0,count=0;\n cin>>n;\n int a=n*n,x,y;\n i=n;\n int temp=a;\n do\n {\n l=n%10;\n n=n/10;\n count++;\n }while(n>0);\n for(j=1;j<=count;j++)\n m=m*10;\n x=a%m;\n y=a/m;\n if(i==(x+y))\n cout<<\"Kaprekar Number\";\n else\n cout<<\"Not a Kaprekar Number\";\n}", "title": "" }, { "docid": "712e86e5786653dfbe087eb16bc5bfe7", "score": "0.558364", "text": "public static String longestPalindromicSubstring(String str) {\n\n\t\t\n\t\tint [] longest = {0,1}; \n\t\t\n\t\t\n\t\tfor(int i = 1; i < str.length(); i++){\n\t\t\t \n\t\t\t int [] odd = palindrome(i-1, i+1, str);\n\t\t\t int [] even = palindrome(i-1, i, str);\n\t\t\t int [] current = odd[1] > even[1] ? odd: even;\n\t\t\t\n\t\t\t longest = current[1] > longest[1] ? current: longest;\n\t\t}\n\t\t\n\t\treturn str.substring(longest[0], longest[1]+longest[0]);\n }", "title": "" }, { "docid": "79d835060ca040a217331e629510e026", "score": "0.5581429", "text": "public static void checkPalindrome(int num)\r\n {\n int digit1 = num / 100;\r\n int digit3 = num % 10;\r\n \r\n if (digit1 == digit3)\r\n {\r\n System.out.println(num + \" is a palindrome.\");\r\n }\r\n else\r\n {\r\n System.out.println(num + \" is not a palindrome.\");\r\n }\r\n \r\n }", "title": "" }, { "docid": "89079f9d52e3c074ea5f353a49348e17", "score": "0.556966", "text": "public boolean isPalindromeRec1(Integer number) {\n if (number == 0) {\n return true;\n }\n int length = 0;\n int firstDigit = number;\n int lastDigit = number % 10;\n while (firstDigit > 10) {\n firstDigit = firstDigit / 10;\n length++;\n }\n if (lastDigit != firstDigit) {\n return false;\n }\n int base = (int) Math.pow(10, length);\n number = number % base;\n number = number / 10;\n return isPalindromeRec(number);\n }", "title": "" }, { "docid": "cf085cb9b4c92cea37e632d386aeec17", "score": "0.5564434", "text": "public String longestPalindromicSubstring(String s){\n if(s.length() <= 1) return s;\n \n boolean[][] truths = new boolean[s.length()][s.length()];\n\n int longest = 0;\n String palindrome = \"\";\n\n // Substrings of length 1\n for(int i = 0; i < truths.length; i++){\n truths[i][i] = true;\n\n if(s.substring(i, i + 1).length() > longest){\n longest = s.substring(i, i +1).length();\n palindrome = s.substring(i, i + 1);\n }\n }\n\n // Substring of length 2\n for(int i = 0; i < truths.length - 1; i++){\n if(s.charAt(i) == s.charAt(i + 1))){\n truth[i][i + 1] = true;\n\n if(s.substring(i, i + 2).length() > longest){\n longest = s.substring(i, i + 2).length();\n palindrome = s.substring(i, i + 2);\n }\n }\n }\n\n // Substrings of length 3 and more\n for(int length = 3; length <= n; length++){\n for(int i = 0; i < s.length() - length + 1; i++){\n int j = i + length - 1;\n\n if(s.charAt(i) == s.charAt(j) && truths[i + 1][j - 1]){\n truth[i][j] = true;\n\n if(s.substring(i, j + 1).length() > longest){\n longest = s.substring(i, j + 1).length();\n palindrome = s.substring(i, j + 1);\n }\n }\n }\n }\n return palindrome; \n }", "title": "" }, { "docid": "4248b2eaeace4385135ff43762e1bf35", "score": "0.556422", "text": "public static String solution(String s) {\n String result = \"\";\n int length = 0;\n int start = 0;\n int end = s.length() - 1;\n while (start < s.length() && start <= end) {\n int i = start;\n int j = end;\n boolean palindrome = true;\n while (i <= j) {\n if (s.charAt(i) != s.charAt(j)) {\n palindrome = false;\n end--;\n break;\n }\n i++;\n j--;\n }\n if (palindrome) {\n String sub = s.substring(start, end + 1);\n if (sub.length() > length) {\n length = sub.length();\n result = sub;\n }\n start++;\n end = s.length() - 1;\n } else {\n continue;\n }\n }\n return result;\n }", "title": "" } ]
a69cfe1ad95a81706c785e2864d5badd
This is a trick since the following (not in listener) is not working: button.setTextColor(ContextCompat.getColor(this, R.color.toggle_text));
[ { "docid": "2b0eae0f6d41189454646624a5c82e5b", "score": "0.693216", "text": "private void setTagButtonTextColor(ToggleButton b) {\n if(b!=null) {\n boolean checked = b.isChecked();\n b.setTextColor(ContextCompat.getColor(this, checked?R.color.textColor:R.color.colorPrimaryDark));\n }\n }", "title": "" } ]
[ { "docid": "ef701db0bdeef0923c8e53e23f5d2bd6", "score": "0.70400405", "text": "@Override\r\n public void onClick(View v){\n textView.setTextColor(getResources().getColor(R.color.pink));\r\n }", "title": "" }, { "docid": "373f65c07007dc1856089725fe13d0bf", "score": "0.6756075", "text": "public Color getButtonTextColour(){return buttonTextColour;}", "title": "" }, { "docid": "9dbc1258d1cd51e270768c64f4629536", "score": "0.66606665", "text": "private void setDarkButtonText(){\n if(isDarkMode()){\n darkButton.setText(R.string.go_light);\n } else{\n darkButton.setText(R.string.go_dark);\n }\n }", "title": "" }, { "docid": "c0239c55339ed321117036c0c971764c", "score": "0.64679474", "text": "@Override\n\tprotected void setButtonText() {\n\t\tbutton.setText(R.string.conmitanalyze);\n\t}", "title": "" }, { "docid": "c63482ebaf366542b0476086a7e48ffe", "score": "0.64627403", "text": "public String _setactionbuttontextcolor(anywheresoftware.b4j.objects.JFX.PaintWrapper _textcolor) throws Exception{\n_toastactionbutton.setTextColor((javafx.scene.paint.Paint)(_textcolor.getObject()));\n //BA.debugLineNum = 388;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "04357d6de46cbc247710a140bb07c0ea", "score": "0.636576", "text": "private void setButtonText() {\n\n if (isRecordingAudio) {\n recordAudioRecord.setText(R.string.record_button_stop);\n }\n else {\n recordAudioRecord.setText(R.string.record_audiorecord);\n }\n\n if (isPlayingAudio) {\n playAudioTrack.setText(R.string.play_button_stop);\n }\n else {\n playAudioTrack.setText(R.string.play_audiotrack);\n }\n }", "title": "" }, { "docid": "a98a2dd29738ccad6104d635e8d95547", "score": "0.62685835", "text": "@Override\n public void onClick(View v) {\n TextView textElement1 = (TextView) findViewById(R.id.textView2);\n textElement1.setTextColor(0xFF000000);\n //reset background color back to pink from orange\n findViewById(R.id.rootView).setBackgroundColor(\n getResources().getColor(R.color.colorAccent));\n //reset text back to \"welcome to vamshi's app\" from \"goodbye\"\n TextView textElement2 = (TextView) findViewById(R.id.textView2);\n textElement2.setText(\"Welcome to vamshi's app\");\n\n }", "title": "" }, { "docid": "11ecc7553dd5aa175f8f5bdd27de54ca", "score": "0.625598", "text": "@Override\n public void onClick(View v) {\n facts_view.setText(mFactBook.getFacts());\n mRelativeLayout.setBackgroundColor(mColors.getColor());\n showFactsButton.setTextColor(mColors.getColor());\n\n\n }", "title": "" }, { "docid": "7de60a7d009760e3c797edb84e88c73a", "score": "0.6194719", "text": "@Override\n public void onColorChanged(int newColor) {\n color.setBackgroundColor(newColor);\n color.setTextColor(newColor);\n }", "title": "" }, { "docid": "aac0ecb67dd80535c090f621952bfb56", "score": "0.61579907", "text": "private void setButtonColorToPressed(){\n if (homeIsPressed){\n homeButton.setBackgroundColor(backgroundHomePressed);\n homeButton.setTextColor(textColorHomePressed);\n }\n if (notificantionsIsPressed){\n notificationsButton.setBackgroundColor(backgroundNotificationsPressed);\n notificationsButton.setTextColor(textColorNotificationsPressed);\n }\n if (eventsIsPressed){\n eventsButton.setBackgroundColor(backgroundEventsPressed);\n eventsButton.setTextColor(textColorEventsPressed);\n }\n if (birthdaysIsPressed){\n birthdaysButton.setBackgroundColor(backgroundBirthdaysPressed);\n birthdaysButton.setTextColor(textColorBirthdaysPressed);\n }\n }", "title": "" }, { "docid": "74bcda0c12b83fc76ad62979403a2560", "score": "0.61442584", "text": "@Override\n public void onClick(View v) {\n for ( Button d : colour_buttons) {\n d.setEnabled(true);\n }\n b.setEnabled(false);\n\n // check which color is chosen\n if (b.getId() == R.id.colour_ligth_blue)\n event.setColor(Color.rgb(0, 188, 212));\n else if (b.getId() == R.id.colour_blue)\n event.setColor(Color.rgb(25, 116, 189));\n else if (b.getId() == R.id.colour_purple)\n event.setColor(Color.rgb(156, 39, 176));\n else if (b.getId() == R.id.colour_pink)\n event.setColor(Color.rgb(233, 30, 99));\n else if (b.getId() == R.id.colour_red)\n event.setColor(Color.rgb(232, 16, 0));\n else if (b.getId() == R.id.colour_orange)\n event.setColor(Color.rgb(255, 87, 34));\n else if (b.getId() == R.id.colour_yellow)\n event.setColor(Color.rgb(255, 235, 59));\n else if (b.getId() == R.id.colour_green)\n event.setColor(Color.rgb(76, 175, 80));\n\n Log.d(TAG, \"onClick: event color\" + event.getColor());\n\n // create message to inform the user\n if (event.getColor() != R.color.primary_text)\n Toast.makeText(AddEvent.this, \"Colour chosen\",\n Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "75d88ba36be6010d6e320ec040688260", "score": "0.6116819", "text": "private void enableContestButton() {\n btnPrimaryAction.setEnabled(txtDetails.getText().toString().trim().length() > 0);\n if(btnPrimaryAction.isEnabled())\n btnPrimaryAction.setTextColor(ContextCompat.getColor(this, R.color.enabled_purple));\n else\n btnPrimaryAction.setTextColor(ContextCompat.getColor(this, R.color.disabled_gray));\n }", "title": "" }, { "docid": "278a52b602dfa4a09b96d5b51f9dd47c", "score": "0.6108956", "text": "void changeTextColor() {\r\n\t\tfor (int i = 0; i < this.getChildCount(); i++) {\r\n\t\t\tswitch (Parameters.BACKGROUND) {\r\n\t\t\tcase 0:\r\n\t\t\tcase 1:\r\n\t\t\t\tthis.getIcon(i).getCaption().setTextColor(getResources().getColor(R.color.white));\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tthis.getIcon(i).getCaption().setTextColor(getResources().getColor(R.color.darkgrey));\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "aebf5473117548353b8e8b2850ef4bfa", "score": "0.6091436", "text": "public anywheresoftware.b4j.objects.JFX.PaintWrapper _getactionbuttontextcolor() throws Exception{\nif (true) return (anywheresoftware.b4j.objects.JFX.PaintWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.JFX.PaintWrapper(), (javafx.scene.paint.Paint)(_toastactionbutton.getTextColor()));\n //BA.debugLineNum = 394;BA.debugLine=\"End Sub\";\nreturn null;\n}", "title": "" }, { "docid": "e61637ea39602149da440c421c307dec", "score": "0.6074551", "text": "@Override\n public void onClick(View v) {\n mLevelExplanations.setTextColor(Color.parseColor(\"#304f86\"));\n }", "title": "" }, { "docid": "2191380b89e49779bc0680847ef54e50", "score": "0.6003373", "text": "private void setButtonText(String newText) {\n locationBtn.setText(newText);\n locationBtn.setTextColor(Color.parseColor(\"#000000\"));\n }", "title": "" }, { "docid": "99da54c992b69ad40f14a9f6a4bcbe96", "score": "0.5988317", "text": "public Color getButtonTextHoverColour(){return buttonTextHoverColour;}", "title": "" }, { "docid": "f8281d9a9f60f2fe91a4469981aeddd6", "score": "0.5943628", "text": "@Override\n public void onClick(View v) {\n setButtonType(0);\n setCurrentButtonPressed(UtilCT.getPositionOfYesButton(v.getId(), getButtonType()));\n ((Button) findViewById((UtilCT.getYesButtonIdsArray()[currentButtonPressed]))).setTextColor(getResources().getColor(R.color.black));\n ((Button) findViewById((UtilCT.getNoButtonIdsArray()[currentButtonPressed]))).setTextColor(getResources().getColor(R.color.green));\n\n //CBI\n /* if(checkedStates[currentButtonPressed]!=null)\n {for(int i=0;i<checkedStates[currentButtonPressed].length;i++)\n {checkedStates[currentButtonPressed][i]=false;}}*/\n\n ansewers[currentButtonPressed]=\"no\";\n otherText[currentButtonPressed]=\"\";\n //Toast.makeText(getBaseContext(),ansewers[currentButtonPressed]+\"\", Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "c8bf2df694306da3d2438a23edfb41a1", "score": "0.5926121", "text": "public JButton getTextColorButton() {\n return textColorButton;\n }", "title": "" }, { "docid": "25b2c40b12a8673e75cc8afddd9b714c", "score": "0.59252703", "text": "@Override\n\t\t \tpublic void onClick(View v) \n\t\t \t{\n\t\t\t\t\t\ttoggleBlueTooth= !toggleBlueTooth;\n\t\t\t\t\t bLight.setEnabled(toggleBlueTooth);\n\t\t\t\t bSound.setEnabled(toggleBlueTooth);\n\t\t\t\t\n\t\t \t}", "title": "" }, { "docid": "8b83af4a3efdfd0b736fa0dd03ab5b1a", "score": "0.5894949", "text": "public void onYellowButtonClick(View view) {\n }", "title": "" }, { "docid": "f2a379ed7152e1c437f6b17be2977ef6", "score": "0.5886183", "text": "private void toggleItemButtonColor(JButton buttonClicked, JButton buttonOther, JButton buttonOtherOther) {\r\n // JButton().getBackground idea thanks to http://stackoverflow.com/questions/1358398/how-to-get-jbutton-default-background-color\r\n buttonClicked.setBackground(Color.lightGray);\r\n buttonOther.setBackground(new JButton().getBackground());\r\n buttonOtherOther.setBackground(new JButton().getBackground());\r\n }", "title": "" }, { "docid": "5e0161b776792e534f568728fe5c1f45", "score": "0.5883238", "text": "private void highlightClickButton(boolean on){\n\t\tif(clickBHighlight == null){\n\t\t\tPoint cbp = new Point();\n\t\t\tDimension cbd = new Dimension();\n\t\t\tgetClickButtonInfo(cbp, cbd);\n\t\t\tclickBHighlight = new Highlight(cbp, cbd);\n\t\t\tclickBHighlight.setEnabled(false);\n\t\t}\n\n\t\tboolean pState = clickBHighlight.isEnabled();\n\t\tif(pState == on) return;\n\t\t// Only bother with the below if there's a change in state\n\t\tclickBHighlight.setEnabled(on);\n\t\tif(on) addEffect(clickBHighlight);\n\t}", "title": "" }, { "docid": "48dd7a664a2244ffa98be64465ae4768", "score": "0.58751035", "text": "@Override\r\n\t\t\tpublic void onClick(View view) {\n\t\t\t\tToggleButton tbtn = (ToggleButton)view;\r\n\t\t\t\t\r\n\t\t\t\tif(tbtn.isChecked()){\r\n\t\t\t\t\ttbtn.setBackgroundResource(R.drawable.btn_pause_on);\r\n\t\t\t\t\tsendToHandler(LinguooUIManagerInterface.UI_PLAY,0);\r\n\t\t\t\t}else{\r\n\t\t\t\t\ttbtn.setBackgroundResource(R.drawable.btn_play_on);\r\n\t\t\t\t\tsendToHandler(LinguooUIManagerInterface.UI_PAUSE,0);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "b0177c513233c6b07903ea198b23f29b", "score": "0.5860582", "text": "private void statusButtonSetup(String status) {\n //Setting padding around the button stops text from being cut off.\n setStatusButton.setPadding(1,1,1,1);\n switch (status) {\n case FireStoreMapping.BOOK_STATUS_AVAILABLE:\n setStatusButton.setText(FireStoreMapping.BOOK_STATUS_AVAILABLE);\n if (Build.VERSION.SDK_INT >= 21) {\n setStatusButton.setBackgroundTintList(ColorStateList.valueOf(ContextCompat.getColor(context, R.color.confirm)));\n }\n break;\n case FireStoreMapping.BOOK_STATUS_UNAVAILABLE:\n setStatusButton.setText(FireStoreMapping.BOOK_STATUS_UNAVAILABLE);\n if (Build.VERSION.SDK_INT >= 21) {\n setStatusButton.setBackgroundTintList(null);\n }\n break;\n case FireStoreMapping.BOOK_STATUS_REQUESTED:\n setStatusButton.setText(FireStoreMapping.BOOK_STATUS_REQUESTED);\n if (Build.VERSION.SDK_INT >= 21) {\n setStatusButton.setBackgroundTintList(ColorStateList.valueOf(ContextCompat.getColor(context, R.color.mid_way)));\n }\n break;\n case FireStoreMapping.BOOK_STATUS_ACCEPTED:\n setStatusButton.setText(FireStoreMapping.BOOK_STATUS_ACCEPTED);\n if (Build.VERSION.SDK_INT >= 21) {\n setStatusButton.setBackgroundTintList(ColorStateList.valueOf(ContextCompat.getColor(context, R.color.deny)));\n }\n break;\n case FireStoreMapping.BOOK_STATUS_BORROWED:\n setStatusButton.setText(FireStoreMapping.BOOK_STATUS_BORROWED);\n if (Build.VERSION.SDK_INT >= 21) {\n setStatusButton.setBackgroundTintList(ColorStateList.valueOf(ContextCompat.getColor(context, R.color.deny)));\n }\n break;\n\n default:\n setStatusButton.setVisibility(View.INVISIBLE);\n setStatusButton.setEnabled(false);\n }\n }", "title": "" }, { "docid": "2d4845e20854275af34de603ded52a8f", "score": "0.58503896", "text": "public void setColor(Button buttonColorChange, int isButtonActionLegal) {\n switch(isButtonActionLegal) {\n case 0:\n buttonColorChange.setStyle(\"-fx-background-color: red;\");\n PauseTransition pauseTransition = new PauseTransition(Duration.millis(420));\n pauseTransition.setOnFinished(event -> buttonColorChange.setStyle(\"-fx-background-color: grey;\"));\n pauseTransition.play();\n break;\n case 1:\n buttonColorChange.setStyle(\"-fx-background-color: green;\");\n pauseTransition = new PauseTransition(Duration.millis(420));\n pauseTransition.setOnFinished(event -> buttonColorChange.setStyle(\"-fx-background-color: grey;\"));\n pauseTransition.play();\n break;\n }\n\n\n }", "title": "" }, { "docid": "1ab3a907200e59d8b486c4faad4db937", "score": "0.5850337", "text": "private void setButtonColorToPressed() {\n if (homeIsPressed) {\n homeButton.setBackgroundColor(backgroundHomePressed);\n homeButton.setTextColor(textColorHomePressed);\n homeButton.setCompoundDrawables(null,icHomePressed,null,null);\n }\n if (backIsPressed) {\n backButton.setBackgroundColor(backgroundBackPressed);\n backButton.setTextColor(textColorBackPressed);\n }\n }", "title": "" }, { "docid": "0045b019c909003503490d58ee576c9b", "score": "0.58499277", "text": "private void changeButtonClickableBackgroundColor() {\n changeButtonClickableBackgroundColor(getApplicationContext(), buttCreate);\n }", "title": "" }, { "docid": "518e50f1a1dad1fd064ce148c5720ab7", "score": "0.58323765", "text": "protected void setupOkButton(View view) {\n Button ok = (Button) view.findViewById(R.id.edit_dlg_ok);\n Theme theme = activity.getTheme();\n TypedValue themeColor = new TypedValue();\n theme.resolveAttribute(R.attr.asThemeTextColor, themeColor, false);\n TypedValue inverseColor = new TypedValue();\n theme.resolveAttribute(R.attr.asTextColorInverse, inverseColor, false);\n \n if (ok != null) {\n ok.setBackgroundDrawable(EditDialogOkBackground.getBg(activity.getResources().getColor(themeColor.data)));\n int[][] states = new int[2][];\n states[0] = new int[] { android.R.attr.state_pressed };\n states[1] = new int[] { android.R.attr.state_enabled };\n int[] colors = new int[] { inverseColor.data, activity.getResources().getColor(themeColor.data) };\n ColorStateList csl = new ColorStateList(states, colors);\n ok.setTextColor(csl);\n }\n }", "title": "" }, { "docid": "702ffa717793d3a14bdf709cd1a829ea", "score": "0.5823702", "text": "@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\t((Button)findViewById(R.id.buttonFriends)).setTextColor(Color.WHITE);\n\t\t((Button)findViewById(R.id.buttonFriends)).setBackgroundColor(getApplicationContext().getResources().getColor(R.color.app_color) );\n\t}", "title": "" }, { "docid": "b8fbab463403c313220884391306a1e0", "score": "0.58104825", "text": "@Override\n public void onClick(View v) {\n switch (v.getId())\n {\n case R.id.redButton:\n onButtonPressed(Color.RED);\n break;\n case R.id.greenButton:\n onButtonPressed(Color.GREEN);\n break;\n case R.id.blueButton:\n onButtonPressed(Color.BLUE);\n break;\n case R.id.yellowButton:\n onButtonPressed(Color.YELLOW);\n break;\n }\n }", "title": "" }, { "docid": "8a6d39b4c31c9d8c1f0bf92c991cdcc8", "score": "0.5799555", "text": "@Override\n public void onClick(View v) {\n if(termcondition.isChecked())\n {\n register.setEnabled(true);\n register.setFocusable(true);\n register.setClickable(true);\n register.setBackgroundColor(getResources().getColor(R.color.colorPrimaryDark));\n }else\n {\n register.setEnabled(false);\n register.setFocusable(false);\n register.setClickable(false);\n register.setBackgroundColor(getResources().getColor(R.color.ColorName));\n }\n }", "title": "" }, { "docid": "24434d9bbb17ea98e15869b7c3725f8a", "score": "0.57903564", "text": "@Override\n protected void onResume() {\n \tsuper.onResume();\n \tTextView btn=(TextView) findViewById(R.id.GrabRedEnvelopState_btn);\n \tTextView tv=(TextView) findViewById(R.id.runing_state_tv);\n \tif(GrabRedEnvelopeService.getGrabRedEnvelop()){\n// \t\tbtn.setText(this.getResources().getString(R.string.close_service));//*/*/***********\n \t\tbtn.setBackground(this.getResources().getDrawable(R.drawable.close_service));\n \t\ttv.setText(this.getResources().getString(R.string.is_run));\n \t}else{\n// \t\tbtn.setText(this.getResources().getString(R.string.open_service));//**************\n \t\tbtn.setBackground(this.getResources().getDrawable(R.drawable.open_service));\n \t\ttv.setText(this.getResources().getString(R.string.is_close));\n \t}\n }", "title": "" }, { "docid": "e6dc641c728df24b2ae353cedf5f2fee", "score": "0.5788954", "text": "public static void changeButton(final Button button, boolean succ) {\n if (succ) {\n button.setText(R.string.attention_sent);\n }\n else {\n button.setText(R.string.attention_failed);\n drawButton.setColorFilter(Color.parseColor(DARK_RED), PorterDuff.Mode.SRC_ATOP);\n }\n\n // Wait 3 Second and Reset Attention Status\n final Handler handler = new Handler();\n handler.postDelayed(new Runnable() {\n @Override\n public void run() {\n button.setText(R.string.attention_needed);\n drawButton.setColorFilter(Color.parseColor(LIGHT_RED), PorterDuff.Mode.SRC_ATOP);\n button.setEnabled(true);\n }\n }, 3000);\n }", "title": "" }, { "docid": "0cc955f0bba9a825800ce08ca2b361a0", "score": "0.5784603", "text": "public void onClick(View v)\n\t\t {\n\t\t\t paint.setColor(Color.GREEN);\n\t\t }", "title": "" }, { "docid": "61b81464218cd4167d5bceebb17cc7d2", "score": "0.5779179", "text": "@Override\n public void onColorChanged(int newColor) {\n color.setBackgroundColor(newColor);\n color.setTextColor(newColor);\n tagColor=newColor;\n }", "title": "" }, { "docid": "3ac690f78c1a2ec3978a00286eb7b3c3", "score": "0.5760266", "text": "public void setTextColor(Color c) {fgcol2 = c;}", "title": "" }, { "docid": "c30938ea7db36e69ef7343a1dc5564cb", "score": "0.57555306", "text": "protected void onButton(Button button, String buttonText)\n\t{\n\t}", "title": "" }, { "docid": "6ed7c7f767269123770d404f04f0e0a8", "score": "0.57554215", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(button.isToogleOn()){\n\t\t\t\t\tbutton.toogleOff();\n\t\t\t\t}else{\n\t\t\t\t\tbutton.toogleOn();\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "b7a28851e1b4ca57f6f5b9266f4d697e", "score": "0.5734438", "text": "public void ColourChangeb1(View btn) {\n if ((b1 == \"#E0E0E0\") || (b1 == red)) {\n btn.setBackgroundColor(Color.parseColor(blue));\n b1 = blue;\n check();\n return;\n }\n if ((b1 == blue)) {\n btn.setBackgroundColor(Color.parseColor(green));\n b1 = green;\n check();\n return;\n }\n\n if ((b1 == green)) {\n btn.setBackgroundColor(Color.parseColor(red));\n b1 = red;\n check();\n return;\n }\n\n }", "title": "" }, { "docid": "53c85d35172a58d3fccacf1acc431acf", "score": "0.5733999", "text": "@Override\r\n public void onClick(View v) {\n if(tog3.isChecked()==false)\r\n tog3.setBackgroundColor(Color.BLACK);\r\n else {\r\n tog4.setChecked(false);\r\n tog4.setBackgroundColor(Color.BLACK);\r\n tog3.setBackgroundColor(Color.RED);\r\n }\r\n }", "title": "" }, { "docid": "a3f301b00eeb85bd994f12048a1e22a9", "score": "0.5719054", "text": "public void toggleColor(ActionEvent e)\r\n\t{\r\n\t\tif (e.getSource() == red)\r\n\t\t{\r\n\t\t\tcurrentColor = Color.red;\r\n\t\t\t\t\r\n\t\t}\r\n\t\telse if (e.getSource() == green)\r\n\t\t{\r\n\t\t\tcurrentColor = Color.green;\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\telse if (e.getSource() == yellow){\r\n\t\t\t\r\n\t\t\tcurrentColor = Color.yellow;\r\n\t\t}\r\n\t\t\r\n\t\tsetBackground(currentColor);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ac5116d41848c25583e611b0f662572f", "score": "0.57099134", "text": "public void setActiveModeTextColor(@ColorInt int color) {\n activeColor = color;\n checkAndUpdateUI();\n }", "title": "" }, { "docid": "376ae5894033acbe7c0689d25c47d730", "score": "0.5708141", "text": "public void setFlag(boolean flag) {\r\n if (flag) {\r\n button.setBackground(Color.yellow);\r\n button.setForeground(Color.red);\r\n button.setText(\"f\");\r\n } else {\r\n button.setBackground(null);\r\n button.setForeground(null);\r\n button.setText(\"\");\r\n }\r\n }", "title": "" }, { "docid": "bd1fd356c7b2163cac714a66706ef7ab", "score": "0.5701781", "text": "public void setToggleText(String toggleText)\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "be850f130324599b9979af1a3efbc804", "score": "0.5694982", "text": "public void onClick(View v)\n\t\t {\n\t\t\t paint.setColor(Color.RED);\n\t\t }", "title": "" }, { "docid": "eb4759c9d22a8a41fa4ea8ba90a6f941", "score": "0.56654483", "text": "abstract public void setMenuButtonColor(int color);", "title": "" }, { "docid": "1ca5dd993c8e5ef6abc3744038f1ed8e", "score": "0.5664308", "text": "@Override\n public void onPressed() {\n toggleable.toggle();\n }", "title": "" }, { "docid": "685b212ae5f645e93680a476ed5ef2f3", "score": "0.5662819", "text": "public ButtonColor getTextBtn() {\n\t\treturn ((PanelModification) this.panelModification).getBtnc();\n\t}", "title": "" }, { "docid": "bd3d9ee1f0675524f22576d0e044457c", "score": "0.56616664", "text": "private void disableButton () {\n mButton.setText (R.string.wait_message);\n mButton.setBackgroundColor (getResources ().getColor (R.color.material_red_900));\n mButton.setClickable (false);\n }", "title": "" }, { "docid": "c20cf311ff4c7a320d06ab22baabea5d", "score": "0.5659097", "text": "private void resetButton () {\n mButton.setText (R.string.login);\n mButton.setBackgroundColor (getResources ().getColor (R.color.material_red_700));\n mButton.setClickable (true);\n }", "title": "" }, { "docid": "6b131af7971bd0b115357ee01bc4ee69", "score": "0.5656646", "text": "public ThemedJToggleButton() {\n this.addMouseListener(new ml());\n\n this.setFont((Font) ThemeHandler.getThemeObjectFromThemeName(ThemeHandler.BUTTON_TEXT_FONT_PROPERTY_NAME));\n ThemeHandler.addPropertyChangeListenerFromName(ThemeHandler.BUTTON_TEXT_FONT_PROPERTY_NAME, this);\n\n ThemeHandler.addPropertyChangeListenerFromName(ThemeHandler.BUTTON_DEFAULT_COLOR_PROPERTY_NAME, this);\n ThemeHandler.addPropertyChangeListenerFromName(ThemeHandler.BUTTON_CURRENTLY_PRESSED_PROPERTY_NAME, this);\n ThemeHandler.addPropertyChangeListenerFromName(ThemeHandler.BUTTON_HOVERED_PROPERTY_NAME, this);\n ThemeHandler.addPropertyChangeListenerFromName(ThemeHandler.BUTTON_HOVERED_CURRENTLY_PRESSED_PROPERTY_NAME, this);\n ThemeHandler.addPropertyChangeListenerFromName(ThemeHandler.TEXT_COLOR_1_PROPERTY_NAME, this);\n }", "title": "" }, { "docid": "26d995101fde6310366f1e6bc58e858c", "score": "0.5653452", "text": "@Override\r\n\t\t\tpublic void OnHKTouchEvent(View view, TOUCH_ACTION action) {\n\t\t\t\tif (action == TOUCH_ACTION.BTN_DOWN) {\r\n\t\t\t\t\tif (mText != null && !mText.equals(\"\"))\r\n\t\t\t\t\t\tmTextView.setTextColor(mTextColorDown);\r\n\t\t\t\t} else if (action == TOUCH_ACTION.MOUSE_MOVE) {\r\n\t\t\t\t\tif (mText != null && !mText.equals(\"\"))\r\n\t\t\t\t\t\tmTextView.setTextColor(mTextColorUp);\r\n\t\t\t\t} else if (action == TOUCH_ACTION.BTN_UP) {\r\n\t\t\t\t\tif (mText != null && !mText.equals(\"\"))\r\n\t\t\t\t\t\tmTextView.setTextColor(mTextColorUp);\r\n\t\t\t\t}\r\n\t\t\t\t// 传递消息给父级\r\n\t\t\t\tif (mTouchedListener != null)\r\n\t\t\t\t\tmTouchedListener.OnHKTouchEvent(HKButtonText.this, action);\r\n\t\t\t}", "title": "" }, { "docid": "7304e23eab6ba8ee20aff494c82e1883", "score": "0.56485146", "text": "public void btnState() {\n if (!markAllBtnPressed) {\n //mark all\n for (int i = 0; i < monthsCb.getChildCount(); i++) {\n ((CheckedTextView) monthsCb.getChildAt(i)).setChecked(true);\n ((CheckedTextView) monthsCb.getChildAt(i)).setTypeface(Typeface.DEFAULT_BOLD);\n }\n markAllBtn.setText(getResources().getString(R.string.clean));\n markAllBtnPressed = true;\n } else {\n //clear all\n for (int i = 0; i < monthsCb.getChildCount(); i++) {\n ((CheckedTextView) monthsCb.getChildAt(i)).setChecked(false);\n ((CheckedTextView) monthsCb.getChildAt(i)).setTypeface(Typeface.DEFAULT);\n }\n markAllBtn.setText(getResources().getString(R.string.mark_all));\n markAllBtnPressed = false;\n }\n }", "title": "" }, { "docid": "75e10e001235c4d9c7a2d9d07b0fe78e", "score": "0.5643201", "text": "private void selectLetterButton(Button button) {\n button.setTextColor(getResources().getColor(R.color.beige));\n button.setBackground(getResources().getDrawable(R.drawable.letter_button_selected));\n }", "title": "" }, { "docid": "d9e38c8ee7d86c327e6f0b353bc6e8e3", "score": "0.56368065", "text": "private void setTintWhite(ViewHolder holder) {\n holder.stickyNoteText.setTextColor(context.getResources().getColor(R.color.white));\n holder.date.setTextColor(context.getResources().getColor(R.color.white));\n Resources res = context.getResources();\n final int newColor = res.getColor(R.color.white);\n holder.ivEdit.setColorFilter(newColor, PorterDuff.Mode.SRC_ATOP);\n holder.ivDelete.setColorFilter(newColor, PorterDuff.Mode.SRC_ATOP);\n }", "title": "" }, { "docid": "196b9cf9dc720ca415584de71d7356a5", "score": "0.5618491", "text": "void setYellowText(String string);", "title": "" }, { "docid": "4023584feb68d7150e79ce415befe804", "score": "0.5618012", "text": "private void setButtonColorToDefault(){\n if (!homeIsPressed){\n homeButton.setBackgroundResource(backgroundHomeDefault);\n homeButton.setTextColor(textColorHomeDefault);\n }\n if (!notificantionsIsPressed){\n notificationsButton.setBackgroundResource(backgroundNotificationsdDefault);\n notificationsButton.setTextColor(textColorNotificationsDefault);\n }\n if (!eventsIsPressed){\n eventsButton.setBackgroundResource(backgroundEventsDefault);\n eventsButton.setTextColor(textColorEventsDefault);\n }\n if (!birthdaysIsPressed){\n birthdaysButton.setBackgroundResource(backgroundBirthdaysDefault);\n birthdaysButton.setTextColor(textColorBirthdaysDefault);\n }\n }", "title": "" }, { "docid": "a3e817d8c15a2a99cc6b7a116b985d53", "score": "0.56166106", "text": "public void button(View view) {\n\n textView.setVisibility(View.VISIBLE);\n imageView.setVisibility(View.VISIBLE);\n\n textView.setText(\"SUDDENLY CAGE\");\n textView.setTextSize(45);\n\n count++;\n if(count == 1)\n textView.setTextColor(Color.CYAN);\n else if (count == 2)\n textView.setTextColor(Color.RED);\n else if (count == 3)\n textView.setTextColor(Color.WHITE);\n else if (count == 4)\n textView.setTextColor(Color.GREEN);\n else if (count == 5)\n textView.setTextColor(Color.MAGENTA);\n else if (count == 6){\n textView.setTextColor(Color.YELLOW);\n count = 0;\n }\n }", "title": "" }, { "docid": "429ed7a5b9b1ab1344e94b16c3a5ed03", "score": "0.5609835", "text": "@Override\n\t\t\t\t\t\tpublic void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n\t\t\t\t\t\t\tif (isChecked) {\n//\t\t\t\t\t\t\t\tREPCHECK = 1;\n\t\t\t\t\t\t\t\tTeREPCHECK = 1;\n\n\t\t\t\t\t\t\t\teveryTextView.setEnabled(true);\n\t\t\t\t\t\t\t\trepeatUnitSpinner.setEnabled(true);\n\t\t\t\t\t\t\t\trepeatFrequencySpinner.setEnabled(true);\n\t\t\t\t\t\t\t\trepeatUnitTextView.setEnabled(true);\n\t\t\t\t\t\t\t\tisForeverSpinner.setEnabled(true);\n\t\t\t\t\t\t\t\trepeatUntilButton.setEnabled(true);\n\t\t\t\t\t\t\t\tisFixedSpinner.setEnabled(true);\n\t\t\t\t\t\t\t\trepeatUntilButton.setTextColor(android.graphics.Color.BLACK);\n\n\t\t\t\t\t\t\t}else {\n//\t\t\t\t\t\t\t\tREPCHECK = 0;\n\t\t\t\t\t\t\t\tTeREPCHECK = 1;\n\n\t\t\t\t\t\t\t\teveryTextView.setEnabled(false);\n\t\t\t\t\t\t\t\trepeatUnitSpinner.setEnabled(false);\n\t\t\t\t\t\t\t\trepeatFrequencySpinner.setEnabled(false);\n\t\t\t\t\t\t\t\trepeatUnitTextView.setEnabled(false);\n\t\t\t\t\t\t\t\tisForeverSpinner.setEnabled(false);\n\t\t\t\t\t\t\t\trepeatUntilButton.setEnabled(false);\n\t\t\t\t\t\t\t\tisFixedSpinner.setEnabled(false);\n\t\t\t\t\t\t\t\trepeatUntilButton.setTextColor(android.graphics.Color.GRAY);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "title": "" }, { "docid": "7161fa975364a2a9b830a89fda0feefc", "score": "0.56043833", "text": "public void textChangeButton(View view) {\n Random rand = new Random(); //Challenge 2\n Calendar cal = Calendar.getInstance(); //Challenge 3\n int hour = cal.get(Calendar.HOUR_OF_DAY);\n // find the textview control to change\n // Note - findViewById returns an Object that is \"cast\" as (TextView).\n TextView tv1 = (TextView)findViewById(R.id.changeText);\n // set visibility appropriately\n // View.INVISIBLE, and View.VISIBLE are static variables (actually ints). visibility is not a boolean.\n // You'll see this a lot. For example, Color.BLACK Calendar.HOUR\n\n if(tv1.getVisibility()==View.INVISIBLE) {//Challenge 1\n //Also note how we use .getVisibility() and .setVisibility(). In processing you might say tv1.visibility = true; but this has issues. For safety reasons it is common to see this kind of \"getter\" and \"setter\" used.\n tv1.setVisibility(View.VISIBLE);\n //On the next line we access a static method of the Color class to generate a Color object that setTextColor is expecting.\n tv1.setTextColor(Color.rgb(rand.nextInt(255), rand.nextInt(255), rand.nextInt(255))); //Challenge 2\n //Here we change the text depending on the current hour, for Challenge 3. See how we use the setter to do it .setText()\n if(hour<12) tv1.setText(\"Good Morning\");\n else if (hour<18) tv1.setText(\"Good Afternoon\");\n else tv1.setText(\"Good Evening\");\n }\n else tv1.setVisibility(View.INVISIBLE);//Challenge 1\n }", "title": "" }, { "docid": "553612a4187b8f38bf3d89bb62a3c6ca", "score": "0.5594101", "text": "private void updateColor() {\n switch(colore){\n case \"giallo\":btnColor.setBackgroundResource(R.drawable.yellow_button);break;\n case \"arancione\":btnColor.setBackgroundResource(R.drawable.orange_button);break;\n case \"rosso\":btnColor.setBackgroundResource(R.drawable.red_button);break;\n default:\n }\n }", "title": "" }, { "docid": "1f91471bfd2cc4f81404502896d33180", "score": "0.55827093", "text": "private void enable() {\n button.setElevation(elevation);\n button.setBackground(background);\n button.setTextColor(colors);\n }", "title": "" }, { "docid": "dfc0c76f1f5bfc3cd4ee9a5145ecbbe8", "score": "0.5576568", "text": "void setForegroundColor(Color textColor);", "title": "" }, { "docid": "eaac6fee71009999883471bef4eb6d9a", "score": "0.5569756", "text": "private void resetButtonColors(){\n answer1.setBackgroundTintList(GameplayActivity.this.getResources().getColorStateList(R.color.colorPrimary, null));\n answer1.setTextColor(Color.parseColor(\"#ffffff\"));\n answer2.setBackgroundTintList(GameplayActivity.this.getResources().getColorStateList(R.color.colorPrimary, null));\n answer2.setTextColor(Color.parseColor(\"#ffffff\"));\n answer3.setBackgroundTintList(GameplayActivity.this.getResources().getColorStateList(R.color.colorPrimary, null));\n answer3.setTextColor(Color.parseColor(\"#ffffff\"));\n answer4.setBackgroundTintList(GameplayActivity.this.getResources().getColorStateList(R.color.colorPrimary, null));\n answer4.setTextColor(Color.parseColor(\"#ffffff\"));\n }", "title": "" }, { "docid": "1ab3bb5103a549f3b243a56168ccef49", "score": "0.5560269", "text": "public void updateColorButton() {\n currentColor = contModel.getColor();\n setBackground(currentColor);\n }", "title": "" }, { "docid": "51daa5d1c04ee5ace214293e9ff21dc5", "score": "0.5554357", "text": "private void changeButton() {\n\t\tlong time = System.currentTimeMillis();\n\t\tif(changeColorButton - time < -500){\n\t\t\tchangeColorButton = time;\n\t\t\tif(changeColorButtonState) {\n\t\t\t\tlevel1Button.setStyle(buttonStyleLevel11);\n\t\t\t\tlevel2Button.setStyle(buttonStyleLevel21);\n\t\t\t\tlevel3Button.setStyle(buttonStyleLevel31);\n\t\t\t\tlevel4Button.setStyle(buttonStyleLevel41);\n\t\t\t\tlevel5Button.setStyle(buttonStyleLevel51);\n\t\t\t\treturnButton.setStyle(buttonStyleReturn2);\n\t\t\t\tchangeColorButtonState = false;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tlevel1Button.setStyle(buttonStyleLevel12);\n\t\t\t\tlevel2Button.setStyle(buttonStyleLevel22);\n\t\t\t\tlevel3Button.setStyle(buttonStyleLevel32);\n\t\t\t\tlevel4Button.setStyle(buttonStyleLevel42);\n\t\t\t\tlevel5Button.setStyle(buttonStyleLevel52);\n\t\t\t\treturnButton.setStyle(buttonStyleReturn1);\n\t\t\t\tchangeColorButtonState = true;\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "bc5bef2125d0055d1ab7746eb8ecf989", "score": "0.5548622", "text": "@Override\n public void onClick(View view) {\n result_tv.setTextColor(getResources().getColor(R.color.color_dark));\n\n if (temp == 0)\n if (str != null && str.length() > 0) {\n str = str.substring(0, str.length() - 1);\n } else {\n }\n else {\n if (str2 != null && str2.length() > 0) {\n str2 = str2.substring(0, str2.length() - 1);\n }\n }\n\n result_tv.setText(str);\n }", "title": "" }, { "docid": "9faed9d127844b39f5f9670f5251e9da", "score": "0.5547582", "text": "private void changeColors(int txtID, int btnID, int bgID){\n FrameLayout fl = findViewById(R.id.main_frame_layout);\n fl.setBackgroundResource(bgID);\n\n Button b1 = (Button) findViewById(R.id.card_button_top_left);\n b1.setBackgroundResource(btnID);\n b1.setTextColor(getResources().getColor(txtID));\n Button b2 = (Button) findViewById(R.id.card_button_top_center);\n b2.setBackgroundResource(btnID);\n b2.setTextColor(getResources().getColor(txtID));\n Button b3 = (Button) findViewById(R.id.card_button_top_right);\n b3.setBackgroundResource(btnID);\n b3.setTextColor(getResources().getColor(txtID));\n Button b4 = (Button) findViewById(R.id.card_button_center_left);\n b4.setBackgroundResource(btnID);\n b4.setTextColor(getResources().getColor(txtID));\n Button b5 = (Button) findViewById(R.id.card_button_center_center);\n b5.setBackgroundResource(btnID);\n b5.setTextColor(getResources().getColor(txtID));\n Button b6 = (Button) findViewById(R.id.card_button_center_right);\n b6.setBackgroundResource(btnID);\n b6.setTextColor(getResources().getColor(txtID));\n Button b7 = (Button) findViewById(R.id.card_button_bottom_left);\n b7.setBackgroundResource(btnID);\n b7.setTextColor(getResources().getColor(txtID));\n Button b8 = (Button) findViewById(R.id.card_button_bottom_center);\n b8.setBackgroundResource(btnID);\n b8.setTextColor(getResources().getColor(txtID));\n Button b9 = (Button) findViewById(R.id.card_button_bottom_right);\n b9.setBackgroundResource(btnID);\n b9.setTextColor(getResources().getColor(txtID));\n Button b10 = (Button) findViewById(R.id.single_card_view_hide);\n b10.setBackgroundResource(btnID);\n b10.setTextColor(getResources().getColor(txtID));\n Button b11 = (Button) findViewById(R.id.single_card_view_show);\n b11.setBackgroundResource(btnID);\n b11.setTextColor(getResources().getColor(txtID));\n }", "title": "" }, { "docid": "873253f5e200f9319a2417a0b6bf85fd", "score": "0.55452216", "text": "@Override\n\t\tpublic void onFinish() {\n\t\t\tvalida_btn_id.setEnabled(true);\n\t\t\tvalida_btn_id.setText(R.string.get_sms_string);\n\t\t\tvalida_btn_id.setTextColor(getResources().getColor(R.color.color_blue));\n\t\t}", "title": "" }, { "docid": "ac69c2aa3f728f733aba67f695a975e1", "score": "0.55410254", "text": "@Override\n public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n if (buttonView.isChecked()) {\n mStatusText.setText(\"Status: Admin\");\n } else {\n mStatusText.setText(\"Status: User\");\n }\n }", "title": "" }, { "docid": "62d7d8606d0c00be38629b65e59fae9b", "score": "0.55394584", "text": "public void updateButton( JButton update, boolean flag )\n\t{\n\t\tif( flag )\n\t\t{\n\t\t\tupdate.setText( \"On\" );\n\t\t\tupdate.setForeground( Color.BLACK );\n\t\t}\n\t\telse\n\t\t{\n\t\t\tupdate.setText( \"Off\" );\n\t\t\tupdate.setForeground( Color.RED );\n\t\t}\n\t}", "title": "" }, { "docid": "9361b80936923baa500d44dbdf60b5bf", "score": "0.5523933", "text": "public void setButtonStyle(Button btn, eIngestedStatus eStatus, eIngestionTime eTime, Date ingestedTime, Date day){\n\n Calendar cal = new GregorianCalendar();\n if (ingestedTime != null){\n cal.setTimeZone(util.Date.timeZone);\n cal.setTime(ingestedTime);\n }\n\n switch (eStatus){\n case DEFAULT:\n btn.setText(sBtnSubmit);\n\n if ((eTime != eIngestionTime.UNDEFINED)){\n\n // Disable the button, if the dayOfYear of the ingestedTime is equal to today and the desired time is in the future\n boolean hasTimeReleased = Help.bHasIngestionTimeReleased(eTime);\n if (!hasTimeReleased && util.Date.bIsDayEqual(day, new Date())){\n btn.setDisable(true);\n btn.setText(MainWindow.sBtnStatusNotAvailable);\n }\n else{\n btn.setDisable(false);\n btn.setText(MainWindow.sBtnSubmit);\n }\n\n }\n btn.setStyle(null); // reset the button style\n btn.setStyle(sBorderColorBtnDefault); // add border color\n break;\n\n case INGESTED:\n // Write the ingested time instead of a default text\n btn.setText((ingestedTime != null) ? (MainWindow.decimalFormat.format(cal.get(Calendar.HOUR_OF_DAY)) + \":\" + MainWindow.decimalFormat.format(cal.get(Calendar.MINUTE)) + \" Uhr\") : sBtnStatusIngested);\n btn.setDisable(true);\n btn.setStyle(sBgColorBtnIngested);\n break;\n\n case DECLINED:\n btn.setText(sBtnStatusDeclined);\n btn.setDisable(true);\n btn.setStyle(sBgColorBtnDeclined);\n break;\n }\n }", "title": "" }, { "docid": "3c2e0890d8c7a0001fcc54713ec0f24f", "score": "0.5522184", "text": "private void setToggleEvent(GridLayout mainGrid) {\n\n for(int i=0;i\n <mainGrid.getChildCount();\n i++ )\n {\n //you can see, all child is cardview , so we just cast object to cardView\n final CardView cardView = (CardView)mainGrid.getChildAt(i);\n\n cardView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n if (cardView.getCardBackgroundColor().getDefaultColor() == -1 )\n {\n //change color\n cardView.setCardBackgroundColor(Color.parseColor(\"#FF6F00\"));\n\n }\n else\n {\n //change color\n cardView.setCardBackgroundColor(Color.parseColor(\"#FFFFFF\"));\n }\n }\n });\n }\n }", "title": "" }, { "docid": "814eff268c2f9a8e526e6598e566fc23", "score": "0.55190456", "text": "@Bean\n public ToggleButton toggleSwitch() {\n ToggleButton toggleButton = new ToggleButton(\"Show Hints?\");\n toggleButton.setSelected(false);\n return toggleButton;\n }", "title": "" }, { "docid": "624f98c80836603786b76e8c0dfaa524", "score": "0.55119145", "text": "public void onGreenButtonClick(View view) {\n }", "title": "" }, { "docid": "7fe8340d3cc9b440d590465e34f4b903", "score": "0.54993117", "text": "@Override\n public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n mActiveControl = this;\n updateBrightnessPreview();\n updateTimeoutEnabledState();\n }", "title": "" }, { "docid": "ce59ac6da496b962549d4b398c02efa3", "score": "0.5495321", "text": "private void setToggleEvent (GridLayout mainGrid){\n for (int i = 0; i < mainGrid.getChildCount(); i++) {\n //You can see , all child item is CardView , so we just cast object to CardView\n final CardView cardView = (CardView) mainGrid.getChildAt(i);\n cardView.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n if (cardView.getCardBackgroundColor().getDefaultColor() == -1) {\n //Change background color\n cardView.setCardBackgroundColor(Color.parseColor(\"#FF6F00\"));\n Toast.makeText(SecondActivity.this, \"State : True\", Toast.LENGTH_SHORT).show();\n\n } else {\n //Change background color\n cardView.setCardBackgroundColor(Color.parseColor(\"#FFFFFF\"));\n Toast.makeText(SecondActivity.this, \"State : False\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n }\n }", "title": "" }, { "docid": "002e36fcb8e70c69feee03f52acf4bdf", "score": "0.54937106", "text": "@Override\n public void onClick(View v) {\n\n\n String inputText = input.getText().toString();\n String labelText = label.getText().toString();\n\n if(inputText.equals(labelText)) {\n result.setText(\"True\");\n result.setTextColor(Color.parseColor(\"#008000\"));\n } else {\n result.setText(\"False\");\n result.setTextColor(Color.parseColor(\"#ff0000\"));\n }\n\n }", "title": "" }, { "docid": "276e976902636e74bcba041d1e999e6c", "score": "0.54845494", "text": "public void setColor(int state){\n \t\t\tif(state == 0){\n \t\t\t\tthis.setText(\"\");\n \t\t\t\tthis.setBackgroundColor(origin);\n \t\t\t}else if(state == 1){\n \t\t\t\tthis.setText(\"\");\n \t\t\t\tthis.setBackgroundColor(Color.BLACK);\n \t\t\t\t\n \t\t\t}else{\n \t\t\t\tthis.setBackgroundColor(origin);\n \t\t\t\tthis.setText(\"?\");\n \t\t\t\tthis.setTextColor(Color.BLUE);\n \t\t\t}\n \t\t}", "title": "" }, { "docid": "aae8da88d0c9b9b4fb13870f2581827c", "score": "0.54821175", "text": "public void setSwitchText(String text);", "title": "" }, { "docid": "decc030bcb336e2e75d60ec83dadef5f", "score": "0.54805607", "text": "@Override\n\tpublic void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n\t\t\n\t}", "title": "" }, { "docid": "83ab9d2c777901b6e5d300fcb7eaf8f5", "score": "0.548019", "text": "public void onClick(View v) {\n button.setEnabled(false);\n button.setText(R.string.attention_sending);\n drawButton.setColorFilter(Color.parseColor(CYAN), PorterDuff.Mode.SRC_ATOP);\n new ClientSocket().execute(button); // Send Attention\n }", "title": "" }, { "docid": "74bf40af133fc1f01bc60d9a73dc7c99", "score": "0.5479375", "text": "public String _settextcolor(anywheresoftware.b4j.objects.JFX.PaintWrapper _textcolor) throws Exception{\n_toasttextlabel.setTextColor((javafx.scene.paint.Paint)(_textcolor.getObject()));\n //BA.debugLineNum = 318;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "7bd7d18f9c8c0bcb7a37e97f958767b7", "score": "0.5465286", "text": "static void setButtonBackground(Button button, int color) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1) {\n button.setBackgroundTintList(ColorStateList.valueOf(color));\n } else {\n button.getBackground().setColorFilter(color, PorterDuff.Mode.MULTIPLY);\n button.setTextColor(getContrastColor(color));\n }\n }", "title": "" }, { "docid": "d78d69ec803cde897dd8e93defa9f9ed", "score": "0.5464822", "text": "@Override\n public void onClick(View v) {\n if (wifiManager.isWifiEnabled()){\n wifiManager.setWifiEnabled(false);\n btnEstado.setText(\"ON\");\n }else{\n wifiManager.setWifiEnabled(true);\n btnEstado.setText(\"OF\");\n }\n }", "title": "" }, { "docid": "8205eff9edcf1e776c920668d5bf57b0", "score": "0.5464435", "text": "void setGreenText(String string);", "title": "" }, { "docid": "32f24093544f112721af28c26d313ac3", "score": "0.5457856", "text": "private void initEditButton() {\n final Button edit = (Button) findViewById(R.id.edit);\n edit.setOnClickListener(new View.OnClickListener() {\n\n // Change text of edit button on press and set editmode\n public void onClick(View v) {\n if (!state.inEditMode()) {\n state.setEditMode();\n edit.setText(R.string.done);\n } else {\n state.disableAllModes();\n edit.setText(R.string.edit);\n }\n }\n });\n\n Log.d(\"Sampler Edit\", \"Edit button successfully initialized\");\n }", "title": "" }, { "docid": "2eaf986cc8b7b95185a73769085d8f2c", "score": "0.5449864", "text": "public void setTextColour(int color) {\n this.textColour = color;\n }", "title": "" }, { "docid": "7b756028ef8329a4964b8301900042ab", "score": "0.5441429", "text": "public void editModeTextColor(boolean editing) {\n\n // if editing\n if (editing) {\n labelEditMode.setForeground(editModeActiveTextColor);\n labelEditModeState.setForeground(editModeActiveTextColor);\n } // else not editing\n else {\n labelEditMode.setForeground(editModeDefaultTextColor);\n labelEditModeState.setForeground(editModeDefaultTextColor);\n }\n }", "title": "" }, { "docid": "aa1f460790ef734bf86b7c15d4778816", "score": "0.54348624", "text": "public static ToggleButton createToggleButton(Action action) {\n/* 211 */ return createToggleButton(action, ActionTextBehavior.SHOW);\n/* */ }", "title": "" }, { "docid": "168f9abbb23e299e68cc5d999baa0a6a", "score": "0.54316425", "text": "void redEvent(View r){\n\n\n userColors.add(1);\n btnRed.setBackgroundColor(Color.RED);\n final long changeTime = 200L;\n btnRed.postDelayed(new Runnable() {\n @Override\n public void run() {\n btnRed.setBackgroundColor(Color.parseColor(\"#CD3813\"));\n sndred.start();\n }\n }, changeTime);\n cont++;\n check();\n\n }", "title": "" }, { "docid": "4e4d43cf17258fb9cf18afe955d0581b", "score": "0.54303104", "text": "@Override\n public boolean onTouch(View v, MotionEvent event) {\n int action = event.getAction();\n int x = (int) event.getX();\n int y = (int) event.getY();\n\n //set background colour of text box to current colour touching, and print colour name\n switch(action){\n case MotionEvent.ACTION_DOWN:\n textSource.setBackgroundColor(\n getPictureColor((ImageView)v, bitmapMaster, x, y));\n break;\n case MotionEvent.ACTION_MOVE:\n textSource.setBackgroundColor(\n getPictureColor((ImageView)v, bitmapMaster, x, y));\n break;\n case MotionEvent.ACTION_UP:\n textSource.setBackgroundColor(\n getPictureColor((ImageView)v, bitmapMaster, x, y));\n break;\n }\n return true;\n }", "title": "" }, { "docid": "993b8fe8d0b9fadc067fe2094bff4965", "score": "0.5427161", "text": "@Override\n public void onTextChanged(CharSequence s, int start, int before, int count)\n {\n if (TextUtils.isEmpty(s))\n {\n btnClr.setVisibility(View.GONE);\n }\n else\n {\n btnClr.setVisibility(View.VISIBLE);\n }\n refreshContextText();\n }", "title": "" }, { "docid": "b31c0dd4168d8ca4e3b53a359e84cdfc", "score": "0.54079133", "text": "public void ChangeColor() {\n this.label.setTextFill(Color.YELLOW);\n }", "title": "" }, { "docid": "d4c01bf4a58ff4e9a4616ccbf3582f35", "score": "0.5405861", "text": "@Override\n public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {\n }", "title": "" }, { "docid": "72bf1a297880313e329405cbcc274ca3", "score": "0.54038167", "text": "public String _setactionbuttontext(String _text) throws Exception{\nif (_cfstringutility._isempty(_text)) { \n //BA.debugLineNum = 346;BA.debugLine=\"ToastActionButton.Visible =False\";\n_toastactionbutton.setVisible(__c.False);\n };\n //BA.debugLineNum = 350;BA.debugLine=\"ToastActionButton.Text = text\";\n_toastactionbutton.setText(_text);\n //BA.debugLineNum = 352;BA.debugLine=\"End Sub\";\nreturn \"\";\n}", "title": "" }, { "docid": "ed5165766a9926733765e54f47c2ad37", "score": "0.5403108", "text": "public void onClick(View v)\n\t {\n\t\t paint.setColor(Color.BLUE);\n\t }", "title": "" }, { "docid": "85699d9557c69e3cdae4072cf77a09d1", "score": "0.53926766", "text": "public void setButtonText(String text) {\n\t getButton().setText(text);\n\t}", "title": "" }, { "docid": "32fb0ff951f6df290e1d08cf18b6f32f", "score": "0.5390284", "text": "public void updateTextAndColor(ConnectionStatus connectionStatus) {\n Calendar c = Calendar.getInstance();\n\n int headerResourceId;\n int textResourceId;\n int colorResourceId;\n String s;\n\n switch (connectionStatus) {\n case BAD:\n headerResourceId = R.string.bad_news_title;\n textResourceId = R.string.bad_news_text;\n colorResourceId = R.color.indicator_bad;\n s = String.format(getString(textResourceId), c);\n break;\n case GOOD:\n headerResourceId = R.string.good_news_title;\n textResourceId = R.string.good_news_text;\n colorResourceId = R.color.indicator_good;\n s = String.format(getString(textResourceId), c);\n break;\n case NEUTRAL:\n default:\n headerResourceId = R.string.neutral_news_title;\n textResourceId = R.string.neutral_news_text;\n colorResourceId = R.color.indicator_neutral;\n s = String.format(getString(textResourceId), \"The check is not done yet.\");\n break;\n\n }\n\n ((TextView) findViewById(R.id.text_body)).setText(s);\n ((TextView) findViewById(R.id.text_header)).setText(headerResourceId);\n int color;\n if (Build.VERSION.SDK_INT >= 23) {\n color = getResources().getColor(colorResourceId, null);\n } else {\n //noinspection deprecation\n color = getResources().getColor(colorResourceId);\n }\n (findViewById(R.id.root_element)).setBackgroundColor(color);\n }", "title": "" } ]
c577bc081d85d64f3e6d9d481551645d
End of variables declaration//GENEND:variables Carga JTable con datos
[ { "docid": "7dbaf9c03d37df90a6d5ece2309898a0", "score": "0.0", "text": "public void cargarJTB(){\n vaciarTabla();\n \n Mozos.cargarTablaMozos(datosTabla);\n \n ManejoTablas.cargarTabla(datosTabla, modeloTabla);\n \n jtMozos.setModel(modeloTabla);\n }", "title": "" } ]
[ { "docid": "31a3b9069a2504afad59ffa28c3a8fdf", "score": "0.8052005", "text": "public void CargarTabla() {\n try {\n\n Object[][] datos = null;\n\n datos = new Object[listaClientes.size()][4];\n for (int i = 0; i < listaClientes.size(); i++) {\n datos[i][0] = listaClientes.get(i).getCodigo();\n datos[i][1] = listaClientes.get(i).getCUIT();\n datos[i][2] = listaClientes.get(i).getNombre();\n datos[i][3] = listaClientes.get(i).getDomicilio();\n\n }\n\n String[] columnNames = {\"Código\", \"CUIT\", \"Nombre\", \"Domicilio\"};\n jTableClientes.setModel(new DefaultTableModel(datos, columnNames) {\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return false;\n }\n });\n\n } catch (NullPointerException e) {\n }\n //Setea tamaños de columnas\n jTableClientes.getColumnModel().getColumn(0).setPreferredWidth(70); //codigo\n jTableClientes.getColumnModel().getColumn(1).setPreferredWidth(130); //cuit\n jTableClientes.getColumnModel().getColumn(2).setPreferredWidth(180); //nombre\n jTableClientes.getColumnModel().getColumn(3).setPreferredWidth(310); //direccion\n\n }", "title": "" }, { "docid": "fd0a9ffa4bde9456a712084fdb983af9", "score": "0.7913311", "text": "public void getTable() throws SQLException{\n DefaultTableModel model = (DefaultTableModel) jTable1.getModel();\n //System.out.println(\"getTable\"); //cada vez que es llamado el metodo se mostrara\n String[] cols = {\"id\", \"Aula\"};\n int count = aula.getRegistros();\n String[][] data = new String[count][2];\n for (int i = 0; i < count; i++){\n for (int j = 0; j < 2; j++) {\n data[i][j] = aula.getAulas()[i][j];\n }\n }\n model.setDataVector(data, cols);\n }", "title": "" }, { "docid": "2b38b51e3762d9796a695f85f1922254", "score": "0.79002345", "text": "public DefaultTableModel getDatos(){\n try {\n setTitulos();\n PS=CN.getConnection().prepareStatement(SQL_SELECT);\n RS=PS.executeQuery();\n Object[] fila= new Object[11];\n while(RS.next()){\n fila[0]=RS.getInt(1);\n fila[1]=RS.getFloat(2);\n fila[2]=RS.getInt(3);\n fila[3]=RS.getString(4);\n fila[4]=RS.getInt(5);\n fila[5]=RS.getString(6);\n fila[6]=RS.getString(7);\n fila[7]=RS.getInt(8);\n fila[8]=RS.getString(9);\n fila[9]=RS.getString(10);\n fila[10]=RS.getString(11);\n \n DT.addRow(fila);\n }\n \n \n } catch (SQLException e) {\n System.out.println(\"error al listar los datos\"+e.getMessage());\n }finally{\n PS=null;\n RS=null;\n CN.Desconectar();\n }\n \n return DT; \n }", "title": "" }, { "docid": "468456f36ec8bccd83dec515e0c805c0", "score": "0.78898674", "text": "public void generarTablaporciclo(){\n modelo = new DefaultTableModel();\n //Se agregan las columnas\n modelo.setColumnIdentifiers(new Object[]{\"Nombre cliente\",\"Numero celular\",\"Nombre articulo\",\"Color\", \"Talla\", \"MesCicloAño\", \"Precio\", \"Vendido\"});\n //Se agregan las filas. \n for(int x=0;x<consultapedidos[0].length;x++){\n modelo.addRow(new Object[]{consultapedidos[7][x],consultapedidos[0][x],consultapedidos[1][x],consultapedidos[6][x],consultapedidos[2][x],consultapedidos[3][x],consultapedidos[4][x],consultapedidos[5][x]});\n }\n //Se añade el nuevo modelo a la tabla\n TablaDatos.setModel(modelo);\n \n \n }", "title": "" }, { "docid": "0f4c877d0cc815eaf0974ccfd10a382e", "score": "0.78875333", "text": "private void datatable() {\n\tDefaultTableModel tbl = new DefaultTableModel();\n tbl.addColumn(\"Nama_Anggota\");\n tbl.addColumn(\"Nama_Buku\");\n tbl.addColumn(\"Tanggal_Pinjam\");\n tbl.addColumn(\"Tanggal_Kembali\");\n tbl.addColumn(\"Jumlah_Keterlambatan\");\n tbl.addColumn(\"Total_Denda\");\n tb_denda.setModel(tbl);\n try{\n Statement statement = (Statement) koneksi.getConnection().createStatement();\n ResultSet res = statement.executeQuery(\"select * from tb_denda\");\n while(res.next())\n {\n tbl.addRow(new Object[]{\n res.getString(\"Nama_Anggota\"),\n res.getString(\"Nama_Buku\"),\n res.getString(\"Tanggal_Pinjam\"),\n res.getString(\"Tanggal_Kembali\"),\n res.getString(\"Jumlah_Keterlambatan\"),\n res.getString(\"Total_Denda\"),\n });\n tb_denda.setModel(tbl);\n }\n }catch(Exception e){\n JOptionPane.showMessageDialog(rootPane, \"Gagal\");\n }\n }", "title": "" }, { "docid": "81ce8dce4870debd28847cef57a0c57a", "score": "0.7831761", "text": "private void SelectedData() {\n String kolom[] = {\"NOMOR\",\"NAMA\",\"ALAMAT\",\"JUDUL\",\"JENIS\",\"PINJAM\",\"KEMBALI\",\"STATUS\"};\n DefaultTableModel dtm = new DefaultTableModel(null, kolom);\n String SQL = \"SELECT * FROM tb_peminjam\";\n ResultSet rs = KoneksiDB.executeQuery(SQL);\n try {\n while(rs.next()) {\n String NOMOR = rs.getString(1);\n String NAMA = rs.getString(2);\n String ALAMAT = rs.getString(3);\n String JUDUL = rs.getString(4);\n String JENIS = rs.getString(5);\n String PINJAM = rs.getString(6);\n String KEMBALI = rs.getString(7);\n String STATUS = rs.getString(8);\n String data[] = {NOMOR,NAMA,ALAMAT,JUDUL,JENIS,PINJAM,KEMBALI,STATUS};\n dtm.addRow(data);\n }\n } \n catch (SQLException ex) {\n Logger.getLogger(frmMain.class.getName()).log(Level.SEVERE, null, ex);\n }\n tblData.setModel(dtm);\n }", "title": "" }, { "docid": "a5820b1ca82e14439ceb2802584c35ad", "score": "0.77751744", "text": "private void generarTabla(){\n //Se crea un nuevo modelo de tabla\n modelo = new DefaultTableModel();\n //Se agregan las columnas\n modelo.setColumnIdentifiers(new Object[]{\"Nombre cliente\",\"Numero celular\",\"Nombre articulo\",\"Color\", \"Talla\", \"MesCicloAño\", \"Precio\", \"Vendido\"});\n //Se agregan las filas. \n for(int x=0;x<consultapedidos[0].length;x++){\n modelo.addRow(new Object[]{consultapedidos[7][x],consultapedidos[0][x],consultapedidos[1][x],consultapedidos[6][x],consultapedidos[2][x],consultapedidos[3][x],consultapedidos[4][x],consultapedidos[5][x]});\n }\n //Se añade el nuevo modelo a la tabla\n TablaDatos.setModel(modelo);\n \n }", "title": "" }, { "docid": "02bf14f6950c540916a6bc771d8cb76a", "score": "0.7774519", "text": "public void generarTablaporcliente(){\n modelo = new DefaultTableModel();\n //Se agregan las columnas\n modelo.setColumnIdentifiers(new Object[]{\"Nombre cliente\",\"Numero celular\",\"Nombre articulo\",\"Color\", \"Talla\", \"MesCicloAño\", \"Precio\", \"Vendido\"});\n //Se agregan las filas. \n for(int x=0;x<consultapedidos[0].length;x++){\n modelo.addRow(new Object[]{consultapedidos[7][x],consultapedidos[0][x],consultapedidos[1][x],consultapedidos[6][x],consultapedidos[2][x],consultapedidos[3][x],consultapedidos[4][x],consultapedidos[5][x]});\n }\n //Se añade el nuevo modelo a la tabla\n TablaDatos.setModel(modelo);\n \n \n }", "title": "" }, { "docid": "04336dc46fba6bca9f5bde8b3bc82e92", "score": "0.7694486", "text": "public static void productosmasvendidos(JTable tablaD){ // recibe como parametro \n Object[] columna = new Object[3]; //crear un obj con el nombre de colunna\n DefaultTableModel modeloTE = new DefaultTableModel(); \n tablaD.setModel(modeloTE); // add modelo ala tabla \n modeloTE.addColumn(\"Nombre\");\n modeloTE.addColumn(\"PIezas\"); \n modeloTE.addColumn(\"Fecha\");\n try { Connection ca= cc.conexion(); // CONEXION DB \n String sSQL = \"SELECT nombre_producto, SUM(cantidad), fecha FROM descripcion_de_venta WHERE estado='Realizada' AND fecha = '\"+fecha()+\"' GROUP BY nombre_producto ORDER by SUM(cantidad) DESC\";\n PreparedStatement ps = ca.prepareStatement(sSQL); \n try (ResultSet rs = ps.executeQuery(sSQL)) {\n while (rs.next()) {\n columna[0] = rs.getString(1);\n columna[1] = rs.getFloat(2);\n columna[2] = rs.getString(3);\n //columna[5] = rs.getString(\"nombre\"); \n modeloTE.addRow(columna);\n }\n } } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"ERROR EN METODO: productosmasvendidos\",\"DEVELOPER HELPER\", JOptionPane.ERROR_MESSAGE); \n }finally{\n cc.getClose();\n }\n}", "title": "" }, { "docid": "93cfb63641c872fa12b87ce8f953ccc7", "score": "0.7672114", "text": "public void PreencherTabela(String Sql) {\n ArrayList dados = new ArrayList();\n String[] colunas = new String[]{\"id\",\"Nº Doc\", \"Desc.(Kz)\", \"Data\", \"Hora\", \"Ret. Fonte\", \"Total(Kz)\", \"Pagamento(Kz)\", \"troco\"};\n liga.conexao();\n liga.executeSql(Sql);\n\n try {\n liga.rs.first();\n do {\n int aux = liga.rs.getInt(\"idfatura_recibo\");\n String num_do_doc;\n if (aux<10)\n num_do_doc = \"FR \"+liga.rs.getString(\"serie\")+\" \"+liga.rs.getString(\"indicativo\")+\" 0\"+aux;\n else \n num_do_doc = \"FR \"+liga.rs.getString(\"serie\")+\" \"+liga.rs.getString(\"indicativo\")+\" \"+aux;\n \n dados.add(new Object[]{liga.rs.getString(\"idfatura_recibo\"),num_do_doc, liga.Chang(liga.rs.getString(\"desconto\")), liga.rs.getString(\"data\"), liga.rs.getString(\"hora\"), \n liga.Chang(liga.rs.getString(\"retencao_na_fonte\")), liga.Chang(liga.rs.getString(\"total\")), liga.Chang(liga.rs.getString(\"valor_pago\")), liga.Chang(liga.rs.getString(\"Troco\"))});\n } while (liga.rs.next());\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(rootPane, \"Dados não encntrados\", null, JOptionPane.WARNING_MESSAGE);\n }\n ModeloTabela modelo = new ModeloTabela(dados, colunas) {\n };\n T_Tabela.setModel(modelo);\n T_Tabela.getColumnModel().getColumn(0).setPreferredWidth(40);\n T_Tabela.getColumnModel().getColumn(0).setResizable(true);\n T_Tabela.getColumnModel().getColumn(1).setPreferredWidth(180);\n T_Tabela.getColumnModel().getColumn(1).setResizable(true);\n T_Tabela.getColumnModel().getColumn(2).setPreferredWidth(140);\n T_Tabela.getColumnModel().getColumn(2).setResizable(true);\n T_Tabela.getColumnModel().getColumn(3).setPreferredWidth(180);\n T_Tabela.getColumnModel().getColumn(3).setResizable(true);\n T_Tabela.getColumnModel().getColumn(4).setPreferredWidth(100);\n T_Tabela.getColumnModel().getColumn(4).setResizable(true);\n T_Tabela.getColumnModel().getColumn(5).setPreferredWidth(160);\n T_Tabela.getColumnModel().getColumn(5).setResizable(true);\n T_Tabela.getColumnModel().getColumn(6).setPreferredWidth(160);\n T_Tabela.getColumnModel().getColumn(6).setResizable(true);\n T_Tabela.getColumnModel().getColumn(7).setPreferredWidth(100);\n T_Tabela.getColumnModel().getColumn(7).setResizable(true);\n T_Tabela.getColumnModel().getColumn(8).setPreferredWidth(160);\n T_Tabela.getColumnModel().getColumn(8).setResizable(true);\n// JTableColaboradores.getColumnModel().getColumn(9).setPreferredWidth(160);\n// JTableColaboradores.getColumnModel().getColumn(9).setResizable(false);\n\n T_Tabela.getTableHeader().setReorderingAllowed(false);\n T_Tabela.setAutoResizeMode(T_Tabela.AUTO_RESIZE_ALL_COLUMNS);\n// JTableColaboradores.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n\n liga.deconecta();\n }", "title": "" }, { "docid": "e5483c400b60b1a61ac95a2f5e6a75d5", "score": "0.7665441", "text": "private void LlenarTabla(){\n obtenerDatos();\n modelo = new DefaultTableModel(miembros, nombresDeColumna){\n private static final long serialVersionUID = 1L;\n public Class<?> getColumnClass(int column) {\n return column == 1 ? DefaultTableModel.class : String.class; // DefaultComboBoxModel\n }\n };\n \n // modelo.insertRow(modelo.getRowCount(), miembros[miembros.length-1]);\n \n// for(int i=0; i<miembros.length; i++){\n// for(int j=0; j<6; j++){\n// System.out.println(miembros[i][j]);\n// }\n// }\n }", "title": "" }, { "docid": "fad4f5299ba01ff7b9e36fd2e6c220b5", "score": "0.7665035", "text": "public void preecher_Jtable(){\n jTable1.getColumnModel().getColumn(0).setPreferredWidth(20);//cod produto\n jTable1.getColumnModel().getColumn(1).setPreferredWidth(250);//nome produto\n jTable1.getColumnModel().getColumn(2).setPreferredWidth(20);//quant \n jTable1.getColumnModel().getColumn(3).setPreferredWidth(20);//VALOR unit\n jTable1.getColumnModel().getColumn(4).setPreferredWidth(30);//valor total\n con_crediario.executeSQL(\"select * from crediario where nota = \"+jt_numNota.getText()+\"\");\n \n DefaultTableModel modelo = (DefaultTableModel)jTable1.getModel();\n modelo.setNumRows(0);\n \n try {\n while (con_crediario.resultSet.next()) {\n modelo.addRow(new Object[]{con_crediario.resultSet.getString(\"cod_produto\"),con_crediario.resultSet.getString(\"nome\"),con_crediario.resultSet.getString(\"quantidade\"),con_crediario.resultSet.getString(\"valor_unit\"),con_crediario.resultSet.getString(\"total_compra\")});\n }\n con_crediario.resultSet.first();\n } catch (SQLException e) {\n JOptionPane.showMessageDialog(null,\"Erro ao listar dados na tabela..\"+ e);\n }\n }", "title": "" }, { "docid": "64b89d405fcc2b29f7289151a120f698", "score": "0.76148975", "text": "public void BuscarCta6(){\n String consulta=\"\";\n try {\n tb_Grupos2.setModel(new DefaultTableModel());\n String titulos[]={\"Cuenta\",\"Descripcion\",\"\"};\n m=new DefaultTableModel(null,titulos);\n JTable p=new JTable(m);\n String fila[]=new String[3];\n\n Caja_Nomenclatura obj=new Caja_Nomenclatura();\n consulta=\"exec buscarCta6 ?\";\n \n PreparedStatement cmd = obj.getCn().prepareStatement(consulta);\n cmd.setString(1, txtBuscar2.getText());\n ResultSet r= cmd.executeQuery();\n int c=1;\n while(r.next()){\n \n fila[0]=r.getString(1);\n fila[1]=r.getString(2);\n fila[2]=r.getString(3);\n \n\n m.addRow(fila);\n c++;\n }\n tb_Grupos2.setModel(m);\n TableRowSorter<TableModel> elQueOrdena=new TableRowSorter<TableModel>(m);\n tb_Grupos2.setRowSorter(elQueOrdena);\n this.tb_Grupos2.setModel(m);\n\n formatoventanas();\n } catch (Exception e) {\n System.out.println(\"Error: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "91538f20f9d71cf18c2a2f13ecfa995d", "score": "0.7614694", "text": "public void buscarPAcientes(){\n \n \n String nome = jTextFieldBuscarPaciente.getText();\n try {\n\n PacienteDAO daop = new PacienteDAO();\n List<Paciente> listaPaciente = daop.listarPacientePorNome(nome);\n\n DefaultTableModel modelo = (DefaultTableModel)jTablePaciente.getModel();\n modelo.setNumRows(0);\n\n \n\n int i = 0;\n for(Paciente objp: listaPaciente){\n modelo.addRow(new String[i]);\n jTablePaciente.setValueAt(objp.getId_paciente(), i, 0);\n jTablePaciente.setValueAt(objp.getNome_paciente(), i, 1);\n jTablePaciente.setValueAt(objp.getCpf(), i, 2);\n \n \n \n i++;\n\n }\n } catch (Exception e) {\n\n JOptionPane.showMessageDialog(rootPane, \"Erro\"+e);\n }\n }", "title": "" }, { "docid": "c897e7d0a1e221ea17e4aaced7651200", "score": "0.7613319", "text": "private void selectData(){\n String kolom[] = {\"ID_Transaksi\",\"Kasir\", \"Makanan\", \"Harga\", \"Minuman\", \"Harga\",\"Bayar\",\"Kembali\",\"Total\",\"Tanggal\",\"Jam\"};\n DefaultTableModel dtm = new DefaultTableModel (null, kolom);\n String SQL = \"SELECT * FROM t_harga\";\n ResultSet rs;\n try {\n rs = KoneksiDB.executeQuery(SQL);\n while(rs.next()){\n String id_transaksi = rs.getString(1);\n String kasir = rs.getString(2);\n String makanan = rs.getString(3);\n String h_makanan = rs.getString(4);\n String minuman = rs.getString(5);\n String h_minuman = rs.getString(6);\n String bayar = rs.getString(7);\n String kembali = rs.getString(8);\n String total = rs.getString(9);\n String tanggal = rs.getString(10);\n String jam = rs.getString(11);\n \n \n String data[] = {id_transaksi,kasir,makanan,h_makanan,minuman,h_minuman,bayar,kembali,total,tanggal,jam};\n id_tran.setText(data[0]);\n dtm.addRow(data);\n }\n tabel.setModel(dtm);\n \n } catch (SQLException ex) {\n java.util.logging.Logger.getLogger(Restoran.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n }", "title": "" }, { "docid": "74e94470af009b4ca1e216802d2f9cd3", "score": "0.76015544", "text": "public void LlenarTabla(){\n DefaultTableModel dtm= new DefaultTableModel();\n DefaultTableModel dtm1= new DefaultTableModel();\n String[] titulo=new String[]{\"Actor\",\"Codigo De Barra\",\"Genero\",\"Precio\",\"Titulo\"};\n dtm.setColumnIdentifiers(titulo);\n dtm1.setColumnIdentifiers(titulo);\n jTable.setModel(dtm);\n jTable2.setModel(dtm1);\n for(int i=0;arc.lectura(i)!=null;i++){\n arrSeparar = arc.lectura(i).split(\"%\");\n dtm.addRow(new Object[]{arrSeparar[0],arrSeparar[1],arrSeparar[2],arrSeparar[3],arrSeparar[4]});\n }\n \n \n }", "title": "" }, { "docid": "f2f4d597a7aafd57f6b15387f880ebf1", "score": "0.76005924", "text": "public void tabeldata() {\n DefaultTableModel tbl= new DefaultTableModel();\n //tbl.addColumn(\"Kode\");\n tbl.addColumn(\"Nama\");\n tbl.addColumn(\"Group\");\n tbl.addColumn(\"KTP\");\n tbl.addColumn(\"Tgl Lahir\");\n tbl.addColumn(\"Tmpt Lahir\");\n tbl.addColumn(\"Ijasah\");\n tbl.addColumn(\"Status\");\n tbl.addColumn(\"Pengalaman\");\n tbl.addColumn(\"Telepon\");\n tbl.addColumn(\"Alamat\");\n tabelcari.setModel(tbl);\n try{\n Statement statement=(Statement)conek.GetConnection().createStatement();\n ResultSet res=statement.executeQuery(\"select * from tblpegawai\");\n while(res.next())\n {\n tbl.addRow(new Object[]{\n //res.getString(\"kode\"),\n res.getString(\"nama\"),\n res.getString(\"grup\"),\n res.getString(\"ktp\"),\n res.getString(\"tgllahir\"),\n res.getString(\"tmptlahir\"),\n res.getString(\"ijasah\"),\n res.getString(\"status\"),\n res.getString(\"pengalaman\"),\n res.getString(\"telp\"),\n res.getString(\"alamat\")\n \n });\n tabelcari.setModel(tbl); \n }\n }catch (Exception e){\n JOptionPane.showMessageDialog(rootPane,\"Salah\");\n }\n }", "title": "" }, { "docid": "7981ae2d6d9829cddc050330958396ad", "score": "0.75911176", "text": "public void mostrarSubsidioAnual() {\n\t\tfinal DefaultTableModel modelo = new DefaultTableModel();\n\t\tmodelo.addColumn(\"ID\");\n\t\tmodelo.addColumn(\"PARA INGRESOS DE\");\n\t\tmodelo.addColumn(\"HASTA INGRESOS DE\");\n\t\tmodelo.addColumn(\"SUBSIDIO\");\n\t\ttableSubsidioAnual.setModel(modelo);\n\t\ttableSubsidioAnual.setBackground(Color.WHITE);\n\n\t\tJTableHeader th = new JTableHeader();\n\t\tColor colorSilverLight=new Color(176, 196, 222);\n\t\tColor colorNegro=new Color(0, 0, 0);\n\t\tth = tableSubsidioAnual.getTableHeader();\n\t\tFont fuente = new Font(\"Arial\", Font.BOLD, 14); \n\t\tth.setFont(fuente); \n\t\tth.setBackground(colorSilverLight);\n\t\tth.setForeground(colorNegro);\n\n\t\tTableColumnModel columnModel = tableSubsidioAnual.getColumnModel();\n\t\tcolumnModel.getColumn(0).setPreferredWidth(100);\n\t\tcolumnModel.getColumn(1).setPreferredWidth(200);\n\t\tcolumnModel.getColumn(2).setPreferredWidth(200);\n\t\tcolumnModel.getColumn(3).setPreferredWidth(200);\n\n\t\tString sqlSelect=\"\";\n\t\tsqlSelect = \"SELECT ID_SUBSIDIO_ANUAL,PARA_INGRESOS_DE,HASTA_INGRESOS_DE,CANTIDAD_DE_SUBSIDIO FROM dbo.subsidio_anual\";\n\t\tString datos[] = new String[6];\n\t\tPoolNYCH nych = new PoolNYCH();\n\t\tConnection con =null;\n\t\tStatement st;\n\t\tResultSet resultSet;\n\t\ttry {\n\t\t\tcon = nych.datasource.getConnection();\n\t\t\tst = con.createStatement();\n\t\t\tresultSet = st.executeQuery(sqlSelect);\n\t\t\twhile(resultSet.next()) {\n\t\t\t\tdatos[0] = resultSet.getString(1);\n\t\t\t\tdatos[1] = resultSet.getString(2);\n\t\t\t\tdatos[2] = resultSet.getString(3);\n\t\t\t\tdatos[3] = resultSet.getString(4);\n\t\t\t\tmodelo.addRow(datos);\n\t\t\t}//FIN DEL WHILE\n\n\t\t\t//\t\t\tmodelo.addTableModelListener(new TableModelListener() {\n\t\t\t//\t\t\t\tpublic void tableChanged(TableModelEvent e) {\n\t\t\t//\t\t\t\t\tif(e.getType() == TableModelEvent.UPDATE) {\n\t\t\t//\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Ha cambiado el valor, ¿Es correcto?\");\n\t\t\t//\t\t\t\t\t\tString colName_LIMITE_INFERIOR = \"LIMITE_INFERIOR\";\n\t\t\t//\t\t\t\t\t\tString colName_LIMITE_SUPERIOR = \"LIMITE_SUPERIOR\";\n\t\t\t//\t\t\t\t\t\tString colName_CUOTA_FIJA = \"CUOTA_FIJA\";\n\t\t\t//\t\t\t\t\t\tString colName_PORCENTAJE_EXCEDENTE = \"PORCENTAJE_EXCEDENTE\";\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\n\t\t\t//\t\t\t\t\t\tArrayList<Double> listaDatosISRAnual = new ArrayList<Double>();\n\t\t\t//\t\t\t\t\t\tlistaDatosISRAnual = getListaDatosISRAnual();\n\t\t\t//\t\t\t\t\t\tSystem.out.println(\"*********\");\n\t\t\t//\t\t\t\t\t\tfor(int i = 0; i<listaDatosISRAnual.size();i++){\n\t\t\t//\t\t\t\t\t\t\tSystem.out.println(\"indiceDatos[isr] anual: \"+ i + \" |valorDatos[isr] anual: \" + listaDatosISRAnual.get(i));\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\tString sqlupdt =\"\";\n\t\t\t//\t\t\t\t\t\tif(e.getColumn()==1 && e.getFirstRow()==0) {\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(0) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==1) {\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(3) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==2) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(6) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==3) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(9) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==4) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(12) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==5) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(15) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==6) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(18) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==7) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(21) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==8) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(24) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==9) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(27) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==10) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(30) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\t///////\n\t\t\t//\n\t\t\t//\t\t\t\t\t\tif(e.getColumn()==3 && e.getFirstRow()==0) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(1) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==1) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(4) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==2) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(7) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==3) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(10) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==4) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(13) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==5) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(16) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==6) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(19) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==7) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(22) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==8) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(25) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==9) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(28) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==10) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(31) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\t//////\n\t\t\t//\t\t\t\t\t\tif(e.getColumn()==4 && e.getFirstRow()==0) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(2) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==1) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(5) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==2) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(8) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==3) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(11) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==4) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(14) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==5) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(17) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==6) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(20) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==7) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(23) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==8) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(26) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==9) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(29) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==10) {\n\t\t\t//\n\t\t\t//\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(32) +\"'\";\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\n\t\t\t//\t\t\t\t\t\tSystem.out.println(sqlupdt);\n\t\t\t//\t\t\t\t\t\tPoolNYCH nych1 = new PoolNYCH();\n\t\t\t//\t\t\t\t\t\tConnection con1 = null;\n\t\t\t//\t\t\t\t\t\ttry {\n\t\t\t//\t\t\t\t\t\t\tcon1 = nych1.datasource.getConnection();\n\t\t\t//\t\t\t\t\t\t\tPreparedStatement pps = con1.prepareStatement(sqlupdt);\n\t\t\t//\t\t\t\t\t\t\tpps.executeUpdate();\n\t\t\t//\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Datos Actualizados\");\n\t\t\t//\t\t\t\t\t\t\t//dispose();\n\t\t\t//\t\t\t\t\t\t} catch (SQLException se) {\n\t\t\t//\t\t\t\t\t\t\tse.printStackTrace();\n\t\t\t//\t\t\t\t\t\t\tStringWriter errors = new StringWriter();\n\t\t\t//\t\t\t\t\t\t\tse.printStackTrace(new PrintWriter(errors));\n\t\t\t//\t\t\t\t\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\t//\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Datos No Actualizados\");\n\t\t\t//\t\t\t\t\t\t}finally {\n\t\t\t//\t\t\t\t\t\t\ttry {\n\t\t\t//\t\t\t\t\t\t\t\tcon1.close();\n\t\t\t//\t\t\t\t\t\t\t} catch (SQLException ep) {\n\t\t\t//\t\t\t\t\t\t\t\tep.printStackTrace();\n\t\t\t//\t\t\t\t\t\t\t\tStringWriter errors = new StringWriter();\n\t\t\t//\t\t\t\t\t\t\t\tep.printStackTrace(new PrintWriter(errors));\n\t\t\t//\t\t\t\t\t\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\t//\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, ep, \"Error de desconexion\", JOptionPane.ERROR_MESSAGE);\n\t\t\t//\t\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t\t}\n\t\t\t//\t\t\t\t\t}//fin del if e.getype\n\t\t\t//\n\t\t\t//\t\t\t\t}\n\t\t\t//\t\t\t});\n\t\t\ttableSubsidioAnual.setModel(modelo);\n\t\t}catch (SQLException el) {\n\t\t\tel.printStackTrace();\n\t\t\tStringWriter errors = new StringWriter();\n\t\t\tel.printStackTrace(new PrintWriter(errors));\n\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\tJOptionPane.showMessageDialog(null,\"Error de conexión, vuelva a intentarlo\");\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\tcon.close();\n\t\t\t} catch (SQLException ep) {\n\t\t\t\tep.printStackTrace();\n\t\t\t\tStringWriter errors = new StringWriter();\n\t\t\t\tep.printStackTrace(new PrintWriter(errors));\n\t\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\t\tJOptionPane.showMessageDialog(null,\"Error de conexión, vuelva a intentarlo\");\n\t\t\t}\n\t\t}//FIN DEL FINALLY\n\t}", "title": "" }, { "docid": "fc38e33672519fe9b52cef58279b6b70", "score": "0.7587752", "text": "private void recargaTblTiempos() {\n final DefaultTableModel tmodel = new NotEditableTableModel();\n List<Carril> carriles = competenciaController.getCarriles();\n Map modelMap = competenciaController.recargaTiempos();\n Map<Carril, List<com.carreras.dominio.modelo.Tiempo>> carrilTiempos = (Map<Carril, List<com.carreras.dominio.modelo.Tiempo>>) modelMap.get(\"carrilTiempos\");\n InscriptoCompetencia inscriptoGanador = (InscriptoCompetencia) modelMap.get(\"inscriptoGanador\");\n if (carriles.isEmpty()) {\n tmodel.setColumnIdentifiers(new Object[]{\"Sin Datos - Agrege un inscripto\"});\n tblTiempos.setModel(tmodel);\n } else {\n tmodel.setColumnIdentifiers(new Object[]{\"Carril\", \"Nro\", \"Patente\", \"TipoTiempo\", \"Tiempo\"});\n for (Carril carrilModelo : carriles) {\n if (carrilModelo.getInscriptoCompetencia().getEstado() == EstadoInscriptoCompetenciaCarrera.ADELANTADO) {\n tmodel.addRow(new Object[]{EstadoInscriptoCompetenciaCarrera.ADELANTADO, \"\", \"\", \"\", \"\"});\n } else if (carrilModelo.getInscriptoCompetencia().getEstado() == EstadoInscriptoCompetenciaCarrera.ROTO) {\n tmodel.addRow(new Object[]{EstadoInscriptoCompetenciaCarrera.ROTO, \"\", \"\", \"\", \"\"});\n } else {\n //tiempos!\n List<com.carreras.dominio.modelo.Tiempo> tiemposModel = carrilTiempos.get(carrilModelo);\n int i = 0; //para ver si es el inicial\n for (com.carreras.dominio.modelo.Tiempo tt : tiemposModel) {\n if (i == 0) {\n tmodel.addRow(new Object[]{carrilModelo.getNumero(),\n carrilModelo.getInscriptoCompetencia().getNumeroGenerado(),\n carrilModelo.getInscriptoCompetencia().getInscripto().getAuto().getPatente(),\n tt.getTipoTiempo().getDescripcion(), tt.getTiempo()});\n } else {\n tmodel.addRow(new Object[]{\"\", \"\", \"\", tt.getTipoTiempo().getDescripcion(), tt.getTiempo()});\n\n }\n i++;\n }\n }\n }\n tblTiempos.setModel(tmodel);\n\n }\n if (inscriptoGanador != null) {\n if (MUESTRA_MENSAJES) {\n javax.swing.JOptionPane.showMessageDialog(this, \"Carrera finalizada! \"\n + \"\\nGanador: \" + inscriptoGanador.getNumeroGenerado()\n + \"\\nNombre: \" + inscriptoGanador.getInscripto().getCorredor().getNombre());\n }\n btnNextBattle.setEnabled(true);\n recargaTblCorredores();\n if (chkProxCarrAuto.isSelected()) {\n proximaCarrera();\n }\n\n }\n\n }", "title": "" }, { "docid": "be16c0c8fe3a6df5c330fb4cb5514eea", "score": "0.7578905", "text": "public GuiExemploJTable() {\n initComponents();\n modTblAluno = (DefaultTableModel)tblAlunos.getModel();\n }", "title": "" }, { "docid": "6f494159f8acef79bad6090abdcee6aa", "score": "0.7573569", "text": "public DefaultTableModel getDato(int idServicios){\n String SQL=\"Select idServicios,PrecioToTal,NumeroPrendas,FechaIngreso,Servicios.idClientes ,Clientes.Nombres,Clientes.Apellidos,Servicios.idEmpleados,Empleados.Nombres,Empleados.Apellidos,Empleados.Horario from Servicios inner join Clientes on Servicios.idClientes=Clientes.idClientes inner join Empleados on Servicios.idEmpleados=Empleados.idEmpleados where idServicios=\"+idServicios;\n try {\n setTitulos();\n PS=CN.getConnection().prepareStatement(SQL);\n RS=PS.executeQuery();\n Object[] fila= new Object[11];\n while(RS.next()){\n fila[0]=RS.getInt(1);\n fila[1]=RS.getFloat(2);\n fila[2]=RS.getInt(3);\n fila[3]=RS.getString(4);\n fila[4]=RS.getInt(5);\n fila[5]=RS.getString(6);\n fila[6]=RS.getString(7);\n fila[7]=RS.getInt(8);\n fila[8]=RS.getString(9);\n fila[9]=RS.getString(10);\n fila[10]=RS.getString(11);\n \n DT.addRow(fila);\n }\n \n \n } catch (SQLException e) {\n System.out.println(\"error al listar los datos\"+e.getMessage());\n }finally{\n PS=null;\n RS=null;\n CN.Desconectar();\n }\n \n return DT; \n }", "title": "" }, { "docid": "d49ded232febfba5631d76f98427ed37", "score": "0.75639766", "text": "public static void mostrartabladeventas(){\n nucleo.tablaventa.setVisible(true); //hace visible la tabla de proveedores \n DefaultTableModel modelo = new DefaultTableModel(); // Se crea un objeto para agregar los nombres de las columnas a la tabla\n modelo.addColumn(\"Producto\");\n modelo.addColumn(\"Cantidad\");\n modelo.addColumn(\"Precio\");\n modelo.addColumn(\"Importe\");\n nucleo.tablaventa.setModel(modelo); // Ya una vez asignado todos los nombres se le envia el objeto a la tabla proveedores\n TableColumnModel columnModel = nucleo.tablaventa.getColumnModel();\n columnModel.getColumn(0).setPreferredWidth(200);\n columnModel.getColumn(1).setPreferredWidth(50);\n columnModel.getColumn(2).setPreferredWidth(50);\n columnModel.getColumn(3).setPreferredWidth(50);\n String []datos = new String[4]; //Un arreglo con la cantidad de nombres en las columnas\n try {Connection ca= cc.conexion();\n id_max_de_venta();\n sent = ca.createStatement(); \n rs= sent.executeQuery(\"select * from descripcion_de_venta where id_venta= '\"+id_de_la_venta_incrementable+\"' and fecha= '\"+fecha()+\"' and estado in ('En turno')\"); // se ejecuta la sentencia dentro del parentesis\n while(rs.next()){ \n datos[0]=rs.getString(3);\n datos[1]=rs.getString(4);\n datos[2]=rs.getString(5);\n datos[3]=rs.getString(6);\n modelo.addRow(datos); //se asigna el arreglo entero a todo el objeto llamado modelo \n }\n nucleo.tablaventa.setModel(modelo); // Se vuelve a enviar nuevamente el objeto modelo a la tabla\n\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"Error, mostrartabladeventas\",\"HELPER DEVELOPER\",JOptionPane.INFORMATION_MESSAGE); \n } finally{\n cc.getClose();\n }\n }", "title": "" }, { "docid": "714c41edf1ad6ca47940abe0e55c16a5", "score": "0.7559205", "text": "private void filltoTable() {\n try {\n String query = \"Select * from danhGia where MONTH(NgayDG) \"\n + \"like N'%\" + cboDanhGia.getSelectedItem() + \"%'\";\n Statement st = con.createStatement();\n ResultSet rs = st.executeQuery(query);\n DefaultTableModel model = (DefaultTableModel) tblDanhGia.getModel();\n model.setRowCount(0);\n while (rs.next()) {\n String maHocSinh = rs.getString(\"Ma_HocSinh\");\n String noiDung = rs.getString(\"NoiDungDanhGia\");\n String maDanhGia = rs.getString(\"Ma_DanhGia\");\n model.addRow(new Object[]{maDanhGia,maHocSinh, noiDung});\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "70eee11e5c1c473d27de411a8a35cee0", "score": "0.75408393", "text": "public JDTarjetas(java.awt.Frame parent, boolean modal) {\n super(parent, modal);\n initComponents();\n \n this.setLocationRelativeTo(null);\n this.JTablausuarios2.setModel(tablausuarios2);\n this.tablausuarios2.addColumn(\"ID\");\n this.tablausuarios2.addColumn(\"Tarjeta\");\n this.tablausuarios2.addColumn(\"Nombre\");\n this.tablausuarios2.addColumn(\"Veces\");\n this.tablausuarios2.addColumn(\"Aplicada\");\n \n \n SimpleMySQL mysql;\n mysql = new SimpleMySQL();\n mysql.connect(\"localhost\", \"root\", \"x4899954\", \"estacionamientos\");\n SimpleMySQLResult rs;\n rs = mysql.Query (\"SELECT * FROM tarjetas\");\n while (rs.next()){\n String ID=rs.getString(\"ID\");\n String TARJETA=rs.getString(\"TARJETA\");\n String NOMBRE=rs.getString(\"NOMBRE\");\n String VECES=rs.getString(\"VECES\");\n String APLICADA=rs.getString(\"APLICADA\");\n Object fila []= { ID,TARJETA,NOMBRE,VECES,APLICADA};\n this.tablausuarios2.addRow(fila);\n }\n \n \n this.JTablausuarios2.changeSelection(0, 0, false, false);\n rs.close(); \n }", "title": "" }, { "docid": "5ab14038a6c0e457e92a12c237483313", "score": "0.75187474", "text": "private void tableBuild()\r\n\t{\r\n\t\ttable = new JTable();\t\t\r\n\t\tif(CS_DataBaseConnect.dbQuery(CS_SqlAbfragen.projektesql(),false))\r\n\t\t{\r\n\t\t\tmodel = new DefaultTableModel();\r\n\t\t\tmodel = CS_DataBaseConnect.getModel();\r\n\t\t\ttable.setModel(model);\r\n\t\t\tscrollPane.setViewportView(table);\r\n\t\t\ttable.setBorder(new LineBorder(new Color(169, 169, 169)));\r\n\t\t\ttable.setFont(new Font(\"Tahoma\", Font.PLAIN, 16));\r\n\t\t\ttable.getTableHeader().setBackground(new Color(192, 192, 192));\r\n\t\t\ttable.getColumnModel().getColumn(0).setHeaderValue(\"Projekt\");\r\n\t\t\ttable.getColumnModel().getColumn(1).setHeaderValue(\"Beschreibung\");\r\n\t\t\ttable.removeColumn(table.getColumnModel().getColumn(2));\r\n\t\t\ttable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);\r\n\t\t\t//Spaltenbreite an Spalteninhalt anpassen\r\n\t\t\tCS_SpaltenBreite.autoResizeTable(table, true,10, false);\r\n\t\t}\r\n\t\telse\r\n\t\t\tJOptionPane.showMessageDialog(null,\"Datenbankverbindung konnte nicht hergestellt werden!\",\"Titel\", JOptionPane.ERROR_MESSAGE);\r\n\t}", "title": "" }, { "docid": "6c704c3213b6ad31abd7d66134557c47", "score": "0.75143576", "text": "private void selectData() \n {\n \n String kolom[] = {\"Nama\",\"Alamat\",\"No Struk\",\"No Polisi\",\"Pinjam\",\"Kembali\",\"Harga\"};\n DefaultTableModel dtm = new DefaultTableModel(null, kolom);\n \n String SQL = \"SELECT * FROM peminjaman\";\n ResultSet rs = KoneksiDB.executeQuery(SQL);\n \n try\n {\n while(rs.next())\n {\n String nama = rs.getString(1);\n String alamat = rs.getString(2);\n String no_struk = rs.getString(3); \n String no_polisi = rs.getString(4);\n String tgl_pinjam = rs.getString(5);\n String tgl_kembali = rs.getString(6);\n String harga = rs.getString(7);\n String data[] = {nama,alamat,no_struk,no_polisi,tgl_pinjam,tgl_kembali,harga};\n dtm.addRow(data);\n } \n }\n \n catch(SQLException ex)\n {\n Logger.getLogger(Mainframe.class.getName()).log(Level.SEVERE,null, ex);\n }\n \n tabel.setModel(dtm);\n }", "title": "" }, { "docid": "0d81c3fdd5b5273edaebdf2c008a915f", "score": "0.75071037", "text": "public void busquedaLibro(){\n \n DefaultTableModel tabla = (DefaultTableModel) tblLibros.getModel(); \n \n //TODO\n tabla.getDataVector().removeAllElements();\n \n if(txtCodigoProducto.getText().trim().length() == 0){\n \n try {\n java.util.List<servicio.Producto> listaLibro = consultarProductos(); \n Object columnas[] = new Object[4]; \n \n if(listaLibro.size() > 0)\n {\n for (Producto obj : listaLibro){\n\n columnas[0] = obj.getCodigoProducto(); \n columnas[1] = obj.getNombreProducto(); \n columnas[2] = obj.getStock(); \n columnas[3] = obj.getAutor(); \n\n tabla.addRow(columnas); \n\n }\n\n }\n \n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Error al crear tabla\");\n }\n }else{\n \n try {\n \n Producto obj = getProducto(Integer.parseInt(txtCodigoProducto.getText().trim()));\n Object columnas[] = new Object[4];\n \n columnas[0] = obj.getCodigoProducto(); \n columnas[1] = obj.getNombreProducto(); \n columnas[2] = obj.getStock(); \n columnas[3] = obj.getAutor(); \n \n tabla.addRow(columnas);\n\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Error al buscar producto\");\n }\n \n \n }\n \n\n \n \n }", "title": "" }, { "docid": "c1d52da59946f558c342beb1631b091d", "score": "0.74892396", "text": "private void llenarTabla() throws SQLException {\n limpiarTabla();\n DetalleDao dao = new DetalleDao();\n List<DetalleLogica> miLista = dao.getLista(this.jTFFiltro.getText());\n DefaultTableModel tabla = (DefaultTableModel) this.jTbMostrar.getModel();\n miLista.stream().map((DetalleLogica) -> {\n Object [] fila = new Object [5];\n fila[0] = DetalleLogica.getIdFactura();\n fila[1] = DetalleLogica.getIdProducto();\n fila[2] = DetalleLogica.getNombreProducto();\n fila[3] = DetalleLogica.getCantidad();\n fila[4] = DetalleLogica.getPrecio();\n return fila;\n }).forEachOrdered((fila) -> {\n tabla.addRow(fila);\n }); \n }", "title": "" }, { "docid": "9332bffd3647aabc6fbed62209f42cdc", "score": "0.74760413", "text": "private void cargarDatos() {\n\n modelo = (DefaultTableModel) jTable1.getModel();\n System.out.println(\"Filas de la tabla \" + jTable1.getRowCount());\n for (int i = jTable1.getRowCount() - 1; i >= 0; i--) {\n modelo.removeRow(i);\n System.out.println(\"Eliminando la fila \");\n }\n List<DetalleCampania> usuarios = Arrays.asList(restClient.findAll_JSON());\n subtotal = new BigDecimal(BigInteger.ZERO);\n for (DetalleCampania elemTmp : usuarios) {\n if (elemTmp.getElemento().getRuc() != null) {\n if (elemTmp.getElemento().getRuc().compareTo(cbxEmpresa.getItemAt(cbxEmpresa.getSelectedIndex()).getRuc()) == 0) {\n System.out.println(elemTmp.toString());\n modelo.addRow(new Object[]{elemTmp.getElemento().getIdElemento(), elemTmp.getElemento().getNombre() + \"-\" + elemTmp.getElemento().getNombreImagen(),\n elemTmp.getClics(), elemTmp.getPrecioUnitario(), new BigDecimal(elemTmp.getClics()).multiply(elemTmp.getPrecioUnitario())});\n subtotal = subtotal.add(new BigDecimal(elemTmp.getClics()).multiply(elemTmp.getPrecioUnitario()));\n }\n }\n }\n if (subtotal.compareTo(BigDecimal.ZERO) != 0) {\n lblSubtotal.setText(subtotal.toPlainString());\n iva = new BigDecimal(BigInteger.ZERO);\n totalF = new BigDecimal(BigInteger.ZERO);\n iva = iva.add(subtotal.multiply(new BigDecimal(\"14\")).divide(new BigDecimal(\"100\")));\n totalF = totalF.add(iva.add(subtotal));\n lblIva.setText(iva.toPlainString());\n lblTotal.setText(totalF.toPlainString());\n txtTotal.setText(totalF.toPlainString());\n } else {\n lblSubtotal.setText(\"0.00\");\n lblIva.setText(\"0.00\");\n lblTotal.setText(\"0.00\");\n txtTotal.setEditable(false);\n txtTotal.setText(\"0.00\");\n }\n\n }", "title": "" }, { "docid": "a5d54fead208993ed48744e22d0b5e91", "score": "0.74615395", "text": "public void listarAjustes() {\n try {\n DefaultTableModel modelo = (DefaultTableModel) this.tablaAjustes.getModel();//creando el modela ára llenar los datos al JTableje\n Validaciones.limpiarTabla(tablaAjustes);\n //realizando la consulta para realizar el listado de los ajustes realizados\n ajustesDao proDao = new ajustesDao();\n List<Object[]> lista = proDao.listarAjustes();\n Object[] fila = new Object[modelo.getColumnCount()];\n\n for (int i = 0; i < lista.size(); i++) {\n fila[0] = lista.get(i)[0];//id\n fila[1] = lista.get(i)[1];//producto\n fila[2] = lista.get(i)[2];//cantidad original\n fila[3] = lista.get(i)[3];//cantidad ajuste\n fila[4] = lista.get(i)[4];//nombre responsable\n fila[5] = lista.get(i)[5];//apellido responsable\n fila[6] = lista.get(i)[6];//glosa\n fila[7] = lista.get(i)[7];//fecha\n fila[8] = lista.get(i)[8];//almacen\n\n modelo.addRow(fila);\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Error--> \" + e, null, JOptionPane.ERROR_MESSAGE);\n }\n }", "title": "" }, { "docid": "5a921214b6db7b5ee43b67dd4c4cea2d", "score": "0.7459815", "text": "public void GetTable() {\n DefaultTableModel model = new DefaultTableModel();\n model.addColumn(\"No.\");\n model.addColumn(\"Identitas\");\n model.addColumn(\"No.identitas\");\n model.addColumn(\"Kode KAI\");\n model.addColumn(\"Nama\");\n model.addColumn(\"TTL\");\n model.addColumn(\"Alamat\");\n \n //menampilkan data database kedalam tabel\n try {\n int no = 1;\n String sql = \"SELECT * FROM penumpang\";\n st = conn.createStatement();\n rs = st.executeQuery(sql);\n \n while (rs.next()) {\n model.addRow(new Object[]{no++, \n rs.getString(\"identitas\"), \n rs.getString(\"no_identitas\"),\n rs.getString(\"kode_kai\"),\n rs.getString(\"nama_penumpang\"), \n rs.getString(\"tgl_lahir\"),\n rs.getString(\"alamat\") \n \n });\n }\n tabel.setModel(model);\n } catch (Exception e) {\n System.err.println(e.getMessage());\n }\n }", "title": "" }, { "docid": "ecf89fbbd17ed238d70e3891b29932bd", "score": "0.745943", "text": "private void load_table(){\n // membuat tampilan model tabel\n DefaultTableModel model = new DefaultTableModel();\n model.addColumn(\"ID\");\n model.addColumn(\"Kode\");\n model.addColumn(\"Nama Barang\");\n model.addColumn(\"Jumlah\");\n model.addColumn(\"Tanggal Input\");\n \n //menampilkan data database kedalam tabel\n try {\n int no=1;\n String sql = \"select * from tb_barang\";\n java.sql.Connection conn=(Connection)Config.configDB();\n java.sql.Statement stm=conn.createStatement();\n java.sql.ResultSet res=stm.executeQuery(sql);\n while(res.next()){\n model.addRow(new Object[]{\n res.getString(1),\n res.getString(2),\n res.getString(3),\n res.getString(4),\n res.getString(5)\n });\n }\n tabel_crud.setModel(model);\n } catch (Exception e) {\n }\n }", "title": "" }, { "docid": "024f8c752b506a9772c5b6947b9e01f5", "score": "0.74412274", "text": "public void mostrarTablaIsrAnual() {\n\t\tfinal DefaultTableModel modeloPuestos = new DefaultTableModel();\n\t\tmodeloPuestos.addColumn(\"ID\");\n\t\tmodeloPuestos.addColumn(\"LIMITE INFERIOR\");\n\t\tmodeloPuestos.addColumn(\"LIMITE SUPERIOR\");\n\t\tmodeloPuestos.addColumn(\"CUOTA FIJA\");\n\t\tmodeloPuestos.addColumn(\"TASA EXCEDENTE\");\n\t\tmodeloPuestos.addColumn(\"COMENTARIO\");\n\t\ttableTablaIsrAnual.setModel(modeloPuestos);\n\t\ttableTablaIsrAnual.setBackground(Color.WHITE);\n\n\t\tJTableHeader th = new JTableHeader();\n\t\tColor colorSilverLight=new Color(176, 196, 222);\n\t\tColor colorNegro=new Color(0, 0, 0);\n\t\tth = tableTablaIsrAnual.getTableHeader();\n\t\tFont fuente = new Font(\"Arial\", Font.BOLD, 14); \n\t\tth.setFont(fuente); \n\t\tth.setBackground(colorSilverLight);\n\t\tth.setForeground(colorNegro);\n\n\t\tTableColumnModel columnModel = tableTablaIsrAnual.getColumnModel();\n\t\tcolumnModel.getColumn(0).setPreferredWidth(100);\n\t\tcolumnModel.getColumn(1).setPreferredWidth(200);\n\t\tcolumnModel.getColumn(2).setPreferredWidth(200);\n\t\tcolumnModel.getColumn(3).setPreferredWidth(200);\n\t\tcolumnModel.getColumn(4).setPreferredWidth(200);\n\t\tcolumnModel.getColumn(5).setPreferredWidth(800);\n\n\t\tString sqlSelect=\"\";\n\t\tsqlSelect = \"SELECT id_isr_anual,limite_inferior,limite_superior,cuota_fija,porcentaje_excedente,comentarios FROM dbo.tabla_isr_anual\";\n\t\tString datos[] = new String[6];\n\t\tPoolNYCH nych = new PoolNYCH();\n\t\tConnection con =null;\n\t\tStatement st;\n\t\tResultSet resultSet;\n\t\ttry {\n\t\t\tcon = nych.datasource.getConnection();\n\t\t\tst = con.createStatement();\n\t\t\tresultSet = st.executeQuery(sqlSelect);\n\t\t\twhile(resultSet.next()) {\n\t\t\t\tdatos[0] = resultSet.getString(1);\n\t\t\t\tdatos[1] = resultSet.getString(2);\n\t\t\t\tdatos[2] = resultSet.getString(3);\n\t\t\t\tdatos[3] = resultSet.getString(4);\n\t\t\t\tdatos[4] = resultSet.getString(5);\n\t\t\t\tdatos[5] = resultSet.getString(6);\n\t\t\t\tmodeloPuestos.addRow(datos);\n\t\t\t}//FIN DEL WHILE\n\n\t\t\tmodeloPuestos.addTableModelListener(new TableModelListener() {\n\t\t\t\tpublic void tableChanged(TableModelEvent e) {\n\t\t\t\t\tif(e.getType() == TableModelEvent.UPDATE) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Ha cambiado el valor, ¿Es correcto?\");\n\t\t\t\t\t\tString colName_LIMITE_INFERIOR = \"LIMITE_INFERIOR\";\n\t\t\t\t\t\tString colName_LIMITE_SUPERIOR = \"LIMITE_SUPERIOR\";\n\t\t\t\t\t\tString colName_CUOTA_FIJA = \"CUOTA_FIJA\";\n\t\t\t\t\t\tString colName_PORCENTAJE_EXCEDENTE = \"PORCENTAJE_EXCEDENTE\";\n\n\n\t\t\t\t\t\tArrayList<Double> listaDatosISRAnual = new ArrayList<Double>();\n\t\t\t\t\t\tlistaDatosISRAnual = getListaDatosISRAnual();\n\t\t\t\t\t\tSystem.out.println(\"*********\");\n\t\t\t\t\t\tfor(int i = 0; i<listaDatosISRAnual.size();i++){\n\t\t\t\t\t\t\tSystem.out.println(\"indiceDatos[isr] anual: \"+ i + \" |valorDatos[isr] anual: \" + listaDatosISRAnual.get(i));\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tString sqlupdt =\"\";\n\t\t\t\t\t\tif(e.getColumn()==1 && e.getFirstRow()==0) {\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(0) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==1) {\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(3) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==2) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(6) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==3) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(9) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==4) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(12) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==5) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(15) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==6) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(18) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==7) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(21) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==8) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(24) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==9) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(27) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==1 && e.getFirstRow()==10) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_LIMITE_INFERIOR +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where limite_inferior= '\"+listaDatosISRAnual.get(30) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t///////\n\n\t\t\t\t\t\tif(e.getColumn()==3 && e.getFirstRow()==0) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(1) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==1) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(4) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==2) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(7) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==3) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(10) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==4) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(13) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==5) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(16) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==6) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(19) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==7) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(22) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==8) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(25) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==9) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(28) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==3 && e.getFirstRow()==10) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_CUOTA_FIJA +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where cuota_fija= '\"+listaDatosISRAnual.get(31) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//////\n\t\t\t\t\t\tif(e.getColumn()==4 && e.getFirstRow()==0) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(2) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==1) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(5) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==2) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(8) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==3) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(11) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==4) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(14) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==5) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(17) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==6) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(20) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==7) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(23) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==8) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(26) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==9) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(29) +\"'\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(e.getColumn()==4 && e.getFirstRow()==10) {\n\n\t\t\t\t\t\t\tsqlupdt=\"UPDATE DBO.tabla_isr_anual SET \"+ colName_PORCENTAJE_EXCEDENTE +\" = '\"+ modeloPuestos.getValueAt(e.getFirstRow(), e.getColumn()) +\"' where PORCENTAJE_EXCEDENTE= '\"+listaDatosISRAnual.get(32) +\"'\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tSystem.out.println(sqlupdt);\n\t\t\t\t\t\tPoolNYCH nych1 = new PoolNYCH();\n\t\t\t\t\t\tConnection con1 = null;\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcon1 = nych1.datasource.getConnection();\n\t\t\t\t\t\t\tPreparedStatement pps = con1.prepareStatement(sqlupdt);\n\t\t\t\t\t\t\tpps.executeUpdate();\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Datos Actualizados\");\n\t\t\t\t\t\t\t//dispose();\n\t\t\t\t\t\t} catch (SQLException se) {\n\t\t\t\t\t\t\tse.printStackTrace();\n\t\t\t\t\t\t\tStringWriter errors = new StringWriter();\n\t\t\t\t\t\t\tse.printStackTrace(new PrintWriter(errors));\n\t\t\t\t\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Datos No Actualizados\");\n\t\t\t\t\t\t}finally {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tcon1.close();\n\t\t\t\t\t\t\t} catch (SQLException ep) {\n\t\t\t\t\t\t\t\tep.printStackTrace();\n\t\t\t\t\t\t\t\tStringWriter errors = new StringWriter();\n\t\t\t\t\t\t\t\tep.printStackTrace(new PrintWriter(errors));\n\t\t\t\t\t\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, ep, \"Error de desconexion\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}//fin del if e.getype\n\n\t\t\t\t}\n\t\t\t});\n\t\t\ttableTablaIsrAnual.setModel(modeloPuestos);\n\t\t}catch (SQLException el) {\n\t\t\tel.printStackTrace();\n\t\t\tStringWriter errors = new StringWriter();\n\t\t\tel.printStackTrace(new PrintWriter(errors));\n\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\tJOptionPane.showMessageDialog(null,\"Error de conexión, vuelva a intentarlo\");\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\tcon.close();\n\t\t\t} catch (SQLException ep) {\n\t\t\t\tep.printStackTrace();\n\t\t\t\tStringWriter errors = new StringWriter();\n\t\t\t\tep.printStackTrace(new PrintWriter(errors));\n\t\t\t\tLOG.info(\"Excepcion: \"+ errors );\n\t\t\t\tJOptionPane.showMessageDialog(null,\"Error de conexión, vuelva a intentarlo\");\n\t\t\t}\n\t\t}//FIN DEL FINALLY\n\t}", "title": "" }, { "docid": "79b3adfcb0ef179be4c35ec1802e7803", "score": "0.74365115", "text": "public void selectData() {\n String kolom[] = {\"NIS\",\"NamaSiswa\",\"JenisKelamin\",\"Tempat Lahir\",\"Tanggal Lahir\",\"Kelas\",\"Email\",\"Alamat\"};\n DefaultTableModel dtm = new DefaultTableModel(null, kolom);\n String SQL = \"SELECT * FROM `t_siswa`\";\n ResultSet rs = Koneksi_DB.executeQuery(SQL);\n try {\n while(rs.next()){\n String NIS = rs.getString(1);\n String NamaSiswa = rs.getString(2);\n String JenisKelamin = \"\";\n if(\"L\".equals(rs.getString(3))){\n JenisKelamin = \"Laki-Laki\";\n }\n else{\n JenisKelamin = \"Perempuan\";\n }\n String TempatLahir = rs.getString(4);\n String TanggalLahir = rs.getString(5);\n String Kelas = rs.getString(6);\n String Email = rs.getString(7);\n String Alamat = rs.getString(8);\n String data[] = {NIS, NamaSiswa, JenisKelamin, TempatLahir, TanggalLahir, Kelas, Email, Alamat};\n dtm.addRow(data);\n }\n } catch(SQLException ex){\n Logger.getLogger(frmMain.class.getName()).log(Level.SEVERE, null, ex);\n }\n tabelData.setModel(dtm);\n }", "title": "" }, { "docid": "eacabc533ee92f1f6ca90887fd274d37", "score": "0.74325323", "text": "private void fetchDataToTable() {\n try {\n ResultSet rs = Database.getData(\"SELECT grn.grn_id, grn.`grn_isu_date`, grn.`grn_isu_time`, grn.`grn_ite_qty`, grn.`grn_total`, sup.`sup_name` FROM GRN grn, Supplier sup WHERE grn.`sup_id` = sup.`sup_id`\");\n DefaultTableModel dtm = (DefaultTableModel) jTable1.getModel();\n //dtm.setRowCount(0);\n while (rs.next()) {\n Vector v = new Vector();\n v.add(rs.getString(\"grn_id\"));\n v.add(rs.getString(\"sup_name\"));\n v.add(rs.getString(\"grn_ite_qty\"));\n v.add(rs.getString(\"grn_total\"));\n v.add(rs.getString(\"grn_isu_date\"));\n v.add(rs.getString(\"grn_isu_time\"));\n dtm.addRow(v);\n }\n } catch (Exception e) {\n System.out.println(e);\n }\n }", "title": "" }, { "docid": "fc42103c6d5430c8b0972828a9a9054d", "score": "0.7432147", "text": "private void rellenarTablaProductos() {\n String[][] lista = new String[listaProductosMedicamento.size()][7];\n for (int i = 0; i < listaProductosMedicamento.size(); i++) {\n lista[i][0] = listaProductosMedicamento.get(i).getOrden();\n lista[i][1] = listaProductosMedicamento.get(i).getProductos().getComponente();\n lista[i][2] = listaProductosMedicamento.get(i).getProductos().getReferencia();\n lista[i][3] = listaProductosMedicamento.get(i).getCantidad();\n lista[i][4] = listaProductosMedicamento.get(i).getUnidades();\n\n }\n vista.jTableProductos.setModel(new javax.swing.table.DefaultTableModel(\n lista,\n new String[]{\n \"Orden\", \"Productos\", \"Código referencia\", \"Cantidad\", \"Unidad\", \"Proveedor\", \"Lote\", \"Caducidad\"\n }\n ) {\n Class[] types = new Class[]{\n java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class\n };\n boolean[] canEdit = new boolean[]{\n false, false, false, false, false, false, false, false\n };\n\n public Class getColumnClass(int columnIndex) {\n return types[columnIndex];\n }\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit[columnIndex];\n }\n });\n if (vista.jTableProductos.getColumnModel().getColumnCount() > 0) {\n vista.jTableProductos.getColumnModel().getColumn(0).setPreferredWidth(50);\n vista.jTableProductos.getColumnModel().getColumn(1).setPreferredWidth(225);\n vista.jTableProductos.getColumnModel().getColumn(2).setPreferredWidth(100);\n }\n\n }", "title": "" }, { "docid": "6b460491deba4005f86210414cbb7b4b", "score": "0.7396073", "text": "private void TampilData() {\n DefaultTableModel datalist = new DefaultTableModel();\n \n datalist.addColumn(\"No\");\n datalist.addColumn(\"ID Akun\");\n datalist.addColumn(\"ID Customer\");\n \n try{\n int i=1;\n \n prepared=connection.prepareStatement(\"select * from akun\");\n resultset=prepared.executeQuery();\n while(resultset.next())\n datalist.addRow(new Object[]{\n (\"\"+i++),\n resultset.getString(2), resultset.getString(3)\n });\n tbllihat.setModel(datalist);\n }catch(Exception e){\n JOptionPane.showMessageDialog(null,\"Error \"+e.getMessage());\n }\n }", "title": "" }, { "docid": "d97f41eb26ee26ef370a9ace62614703", "score": "0.7381132", "text": "public void fillMesocosmJTable(JTable table)\r\n {\r\n PreparedStatement ps;\r\n ResultSet rs;\r\n String selectQuery = \"SELECT e.IDE, s.IDS, m.IDM, `doi`, `Total_dose`, `Total_time`, `Ecosystem`, `Injection_mode`, `Primary_consumer`,\"\r\n + \" `Secondary_consumer`, `Benthic_inocolum`, `Planctonic_inocolum`, `Metal`, `Mineralogy`, `Shape`, `Coating`, `Size`, `Contaminant`,\"\r\n + \" `Sampling_time`, `PH`, `Temperature`, `Conductivity`, `Dissolved_oxygen`, `TOC`, `ORP_water`, `ORP_sediment`, `ORP_interface`,\"\r\n + \" `Particles_water`, `Metal_sediment`, `Metal_water`, `Dissolved_Metal`, `Metal_layings`, `Metal_gland`, `Metal_adult`, `Metal_juveniles`,\"\r\n + \" `CU_NI_sediment`, `Speciation_digestive`, `Speciation_layings`, `Speciation_juveniles`, `Adult`, `Juveniles`, `Picoplankton`,\"\r\n + \" `Picobenthos`, `Algae_water`, `Algae_sediment`, `TBARS`, `TAOC` FROM experiment e, sampling s, measure m \"\r\n + \"WHERE e.IDE = s.IDE AND s.IDS = m.IDS Order by Sampling_time\";\r\n\r\n \r\n try {\r\n ps = my_connection.createConnection().prepareStatement(selectQuery);\r\n \r\n rs = ps.executeQuery();\r\n \r\n DefaultTableModel tableModel = (DefaultTableModel)table.getModel();\r\n \r\n Object[] row;\r\n \r\n while(rs.next())\r\n {\r\n row = new Object[45];\r\n row[0] = rs.getLong(1)+\"_\"+rs.getLong(2)+\"_\"+rs.getLong(3);\r\n row[1] = rs.getString(4);\r\n row[2] = rs.getFloat(5);\r\n row[3] = rs.getInt(6);\r\n row[4] = rs.getString(7);\r\n row[5] = rs.getString(8);\r\n row[6] = rs.getString(9);\r\n row[7] = rs.getString(10);\r\n row[8] = rs.getString(11);\r\n row[9] = rs.getString(12); \r\n row[10] = rs.getString(13);\r\n row[11] = rs.getString(14);\r\n row[12] = rs.getString(15);\r\n row[13] = rs.getString(16);\r\n row[14] = rs.getString(17);\r\n row[15] = rs.getString(18);\r\n row[16] = rs.getInt(19); \r\n row[17] = rs.getFloat(20);\r\n row[18] = rs.getFloat(21);\r\n row[19] = rs.getFloat(22);\r\n row[20] = rs.getFloat(23);\r\n row[21] = rs.getFloat(24);\r\n row[22] = rs.getFloat(25);\r\n row[23] = rs.getFloat(26);\r\n row[24] = rs.getFloat(27); \r\n row[25] = rs.getFloat(28);\r\n row[26] = rs.getFloat(29);\r\n row[27] = rs.getFloat(30);\r\n row[28] = rs.getFloat(31);\r\n row[29] = rs.getFloat(32);\r\n row[30] = rs.getFloat(33);\r\n row[31] = rs.getFloat(34);\r\n row[32] = rs.getFloat(35);\r\n row[33] = rs.getFloat(36);\r\n row[34] = rs.getFloat(37);\r\n row[35] = rs.getFloat(38);\r\n row[36] = rs.getFloat(39);\r\n row[37] = rs.getFloat(40);\r\n row[38] = rs.getFloat(41);\r\n row[39] = rs.getFloat(42);\r\n row[40] = rs.getFloat(43);\r\n row[41] = rs.getFloat(44);\r\n row[42] = rs.getFloat(45);\r\n row[43] = rs.getFloat(46);\r\n row[44] = rs.getFloat(47);\r\n \r\n tableModel.addRow(row);\r\n }\r\n \r\n \r\n } catch (SQLException ex) {\r\n Logger.getLogger(MESOCOSM1.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n \r\n \r\n \r\n }", "title": "" }, { "docid": "c0a834796bdc4450f23a39eb7b79d695", "score": "0.7381074", "text": "private void cargaDatosTrabajador() {\r\n int vFilaSelect = tblListaTrabajadores.getSelectedRow();\r\n\r\n VariablesUsuarios.vCodTrab = FarmaUtility.getValueFieldJTable(tblListaTrabajadores, vFilaSelect, COL_COD_TRAB);\r\n VariablesUsuarios.vCodTrab_RRHH =\r\n FarmaUtility.getValueFieldJTable(tblListaTrabajadores, vFilaSelect, COL_COD_TRAB_RRHH);\r\n /*VariablesUsuarios.vApePat = (String) tblListaTrabajadores.getValueAt(vFilaSelect,1);\r\n VariablesUsuarios.vApeMat = (String) tblListaTrabajadores.getValueAt(vFilaSelect,2);\r\n VariablesUsuarios.vNombres = (String) tblListaTrabajadores.getValueAt(vFilaSelect,3);\r\n VariablesUsuarios.vDNI = (String) tblListaTrabajadores.getValueAt(vFilaSelect,4);\r\n VariablesUsuarios.vDireccion = (String) tblListaTrabajadores.getValueAt(vFilaSelect,6);\r\n VariablesUsuarios.vTelefono = (String) tblListaTrabajadores.getValueAt(vFilaSelect,7);\r\n VariablesUsuarios.vFecNac = (String) tblListaTrabajadores.getValueAt(vFilaSelect,8);\r\n\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vCodTrab);\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vApePat);\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vApeMat);\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vNombres);\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vDNI);\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vDireccion);\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vTelefono);\r\n log.debug(\"Datos: \"+ VariablesUsuarios.vFecNac);*/\r\n\r\n }", "title": "" }, { "docid": "f8d717c07ae5fd5160b6feaaf1b8cd82", "score": "0.7368451", "text": "private void actualizarTablaIngresos(){\n\t\tvista.getTbIngresos().setModel(new TableModel() {\n\n\t\t\t@Override\n\t\t\tpublic int getRowCount() {\n\t\t\t\treturn ingresos.size();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic int getColumnCount() {\n\t\t\t\treturn columnasIngresos.length;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic String getColumnName(int columnIndex) {\n\t\t\t\treturn columnasIngresos[columnIndex];\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Class<?> getColumnClass(int i) {\n\t\t\t\treturn String.class;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic boolean isCellEditable(int rowIndex, int columnIndex) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Object getValueAt(int rowIndex, int columnIndex) {\n\t\t\tColaboracion col;\n\t\t\tC_Empresa emp;\n\t\t\tC_Persona per;\n\t\t\t\tswitch(columnIndex){\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\treturn formateador.format(ingresos.get(rowIndex).getFecha());\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\treturn ingresos.get(rowIndex).getImporte();\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tif(ingresos.get(rowIndex).getClass() == Colaboracion.class){\n\t\t\t\t\t\t\tcol = (Colaboracion)ingresos.get(rowIndex);\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\temp = C_EmpresaJDBC.getInstance().obtenerC_Empresa(col.getOIDColaborador());\n\t\t\t\t\t\t\t\treturn emp.getCIF();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcatch(SQLException ex){\n\t\t\t\t\t\t\t\tLogger.getLogger(ControladorContabilidad.class.getName()).log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\tper = C_PersonaJDBC.getInstance().obtenerC_Persona(col.getOIDColaborador().toString());\n\t\t\t\t\t\t\t\treturn per.getDNI();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tcatch(SQLException ex){\n\t\t\t\t\t\t\t\tLogger.getLogger(ControladorContabilidad.class.getName()).log(Level.SEVERE, null, ex);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn \"\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\tdefault: return \"\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void setValueAt(Object o, int i, int i1) {\n\t\t\t\t\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void addTableModelListener(TableModelListener tl) {\n\t\t\t\t\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void removeTableModelListener(TableModelListener tl) {\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t});\n\t}", "title": "" }, { "docid": "51b312eb3d2ab9dab9ee8a8a9c9c3993", "score": "0.7344412", "text": "public void atualizar(){\n try {\n ArrayList<Veiculo> listaDeVeiculos;\n ArrayList<Modelo> listaDeModelos;\n ArrayList<Marca> listaDeMarcas;\n \n ClasseDAO dao = new ClasseDAO();\n \n listaDeMarcas = dao.recuperarMarca();\n listaDeModelos = dao.recuperarModelo();\n listaDeVeiculos = dao.recuperarVeiculo();\n model = (DefaultTableModel) jTableVeiculo.getModel();\n \n model.setNumRows(0);\n for(int posVeiculo=0; posVeiculo<listaDeVeiculos.size();posVeiculo++){\n String[] saida = new String[8];\n Veiculo aux = listaDeVeiculos.get(posVeiculo);\n saida[0] = aux.getPlaca();\n for(int pos=0; pos<listaDeModelos.size();pos++){\n Modelo auxMod = listaDeModelos.get(pos);\n if((aux.getIdModelo())==(auxMod.getId())){\n for(int pos2=0; pos2<listaDeMarcas.size();pos2++){\n Marca aux2 = listaDeMarcas.get(pos2);\n if((auxMod.getIdMarca())==(aux2.getId())){\n saida[2] = aux2.getDescricao();\n }\n saida[1] = auxMod.getDescricao();\n saida[6] = auxMod.getTipo(); \n }\n }\n }\n saida[3] = aux.getCor();\n saida[4] = String.valueOf(aux.getValor());\n saida[5] = String.valueOf(aux.getCaucao());\n saida[7] = aux.getSituacao();\n model.addRow(saida);\n } \n } catch (Exception erro) {\n JOptionPane.showMessageDialog(this, erro.getMessage());\n }\n}", "title": "" }, { "docid": "1a556f4de728a499537dee037fab0ae2", "score": "0.7343785", "text": "private void loadTable() {\n String[] columnNames = {\"Factuurnummer\", \"Factuurdatum\",\n \"Vervaldatum\",\n \"Lidnummer\",\n \"Totaalbedrag\",\n \"Lidnaam\",\"Status\"};\n\n\n TableModel model = new DefaultTableModel(PASApplication.getQueryManager().getAllInvoice(), columnNames) {\n\n public Class getColumnClass(int column) {\n Class returnValue;\n if ((column >= 0) && (column < getColumnCount())) {\n returnValue = getValueAt(0, column).getClass();\n } else {\n returnValue = Object.class;\n }\n return returnValue;\n }\n\n @Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }\n };\n table = new JTable(model);\n sorter = new TableRowSorter<TableModel>(model);\n table.setRowSorter(sorter);\n table.getColumnModel().getColumn(0).setWidth(50);\n table.getColumnModel().getColumn(0).setMaxWidth(50);\n table.getColumnModel().getColumn(0).setMinWidth(50);\n table.addMouseListener(new MouseAdapter() {\n\n public void mouseClicked(MouseEvent e) {\n if (e.getClickCount() == 2) {\n MainFrame.setModifyInvoice(Integer.parseInt(table.getValueAt(table.rowAtPoint(e.getPoint()), 0).toString()));\n MainFrame.changePanel(MainFrame.MODIFYINVOICE);\n }\n }\n });\n JScrollPane scrollPane = new JScrollPane(table);\n scrollPane.setSize(560, 600);\n\n this.add(scrollPane);\n //getAllInvoice\n }", "title": "" }, { "docid": "eb429f965b577d037e75dff841cfeab5", "score": "0.73351276", "text": "public void initTable()\n {\n String q = \"Select d.ID, d.emri, o.ID from Doktori as d, Orari as o where d.ID = o.Doktori_ID \";\n try\n {\n ps = con.prepareStatement(q);\n \n rs = ps.executeQuery();\n \n jTable1.setModel(DbUtils.resultSetToTableModel(rs));\n /*ResultSetMetaData meta = rs.getMetaData();\n int numberOfColumns = meta.getColumnCount();\n \n while(rs.next())\n {\n Object [] rowData = new Object[numberOfColumns];\n for (int i = 0; i < rowData.length; ++i)\n {\n rowData[i] = rs.getObject(i+1);\n }\n dtm.addRow(rowData);\n }\n jTable1.setModel(dtm);\n dtm.fireTableDataChanged();*/\n }\n catch(SQLException e){}\n \n }", "title": "" }, { "docid": "12f63243408de4ded8ee0d9b95743038", "score": "0.7309259", "text": "public void cargarTitulosTabla(JTable tabla) {\r\n String titulos[] = {\"USUARIO\",\"NOMBRES\", \"APELLIDOS\",\"DNI\"};\r\n modeloAsistencias = new DefaultTableModel(null, titulos);\r\n tabla.setModel(modeloAsistencias);\r\n }", "title": "" }, { "docid": "8a6301efe09766d1cbdb202069efd329", "score": "0.7307567", "text": "private void BuscarNomeLivro(String busca, String titulo) {\n ResultSet rs = null;\n Connection con = Conexao.getConnection();\n PreparedStatement stmt = null;\n ArrayList dados = new ArrayList();\n String[] Colunas = new String[]{\"Titulo\", \"Autor\", \"Genero\", \"Ano\", \"Valor\"};\n \n int cont = 0;\n try {\n //select pessoa.nome_completo from (select aluno.Id_pessoaFK as id from (select * from academia where academia.nome_academia=\"Academia Sol\") as acad inner join aluno on aluno.Id_academiaFK = acad.Id_academia) as alu inner join pessoa on pessoa.Id_pessoa = alu.id;\n stmt = con.prepareStatement(\"SELECT * FROM livro WHERE \"+busca+\"\");\n rs = stmt.executeQuery();\n \n while(rs.next()){\n dados.add(new Object[]{rs.getString(\"_titulo\"), rs.getString(\"_autor\"), rs.getString(\"_genero\"), rs.getInt(\"_ano\"), rs.getString(\"_valor\")});\n cont++;\n }\n \n if(cont == 0){\n JOptionPane.showMessageDialog(null, \"Não Foram Encontrados Registros Para: \"+ busca);\n }else{\n \n ModeloTabela modelo = new ModeloTabela(dados, Colunas);\n\n table.setModel(modelo);\n\n table.getColumnModel().getColumn(0).setPreferredWidth(216);\n table.getColumnModel().getColumn(0).setResizable(false);\n\n table.getColumnModel().getColumn(1).setPreferredWidth(216);\n table.getColumnModel().getColumn(1).setResizable(false);\n\n table.getColumnModel().getColumn(2).setPreferredWidth(155);\n table.getColumnModel().getColumn(2).setResizable(false);\n\n table.getColumnModel().getColumn(3).setPreferredWidth(150);\n table.getColumnModel().getColumn(3).setResizable(false);\n\n table.getColumnModel().getColumn(4).setPreferredWidth(150);\n table.getColumnModel().getColumn(4).setResizable(false);\n\n table.getTableHeader().setReorderingAllowed(false);\n table.setAutoResizeMode(table.AUTO_RESIZE_OFF);\n\n table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n \n }\n \n } catch (SQLException ex) {\n Logger.getLogger(buscarLivro.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "545177edd04d129f016babb59b1f2fd7", "score": "0.72916335", "text": "private void consultar() {\n try {\n Statement stmt = cn.createStatement();\n String query = \"select * from marca ;\";\n ResultSet rs = stmt.executeQuery(query);\n modelo = (DefaultTableModel) this.tableMarca.getModel();\n modelo.setRowCount(0);\n Object Datos[] = new Object[2];\n while (rs.next()) {\n for (int i = 0; i < 2; i++) {\n Datos[i] = rs.getObject(i + 1);\n }\n modelo.addRow(Datos);\n }\n this.tableMarca.setModel(modelo);\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"HA OCURRIDO UN ERROR: \" + e.toString(),\n \"Error\", JOptionPane.ERROR_MESSAGE);\n }\n }", "title": "" }, { "docid": "3284b732e8cb44f7d004e51e65b591b6", "score": "0.72805643", "text": "public static void completarTabla(ArrayList<Pasaporte> pasaportes, JTable tabla) {\r\n //creamos una tabla\r\n DefaultTableModel modeloTabla = new DefaultTableModel();\r\n tabla.setModel(modeloTabla);//definimos tabla\r\n //añadimos columnas\r\n modeloTabla.addColumn(\"Pasaporte\");\r\n modeloTabla.addColumn(\"Contraseña\");\r\n modeloTabla.addColumn(\"Fecha nacimiento\");\r\n modeloTabla.addColumn(\"Nacionalidad\");\r\n modeloTabla.addColumn(\"Estado civil\");\r\n modeloTabla.addColumn(\"Nombre\");\r\n modeloTabla.addColumn(\"Apellidos\");\r\n modeloTabla.addColumn(\"Sexo\");\r\n modeloTabla.addColumn(\"Fecha vencimiento\");\r\n modeloTabla.addColumn(\"Fecha emision\");\r\n modeloTabla.addColumn(\"Pais Actual\");\r\n modeloTabla.addColumn(\"Millas recorridas\");\r\n //llenamos filas\r\n for (Pasaporte pasaporte : pasaportes) {\r\n modeloTabla.addRow(new Object[]{pasaporte.getPasaporte(),pasaporte.getContrasenia(),pasaporte.getFechaNacimiento(),pasaporte.getNacionalidad(),pasaporte.getEstadoCivil(),pasaporte.getNombres(),pasaporte.getApellidos(),pasaporte.getSexo(),pasaporte.getFechaVencimientoPasaporte(),pasaporte.getFechaEmisionPasaporte(),pasaporte.getPaisActual(),pasaporte.getMillasRecorridas()});\r\n }\r\n\r\n }", "title": "" }, { "docid": "8d93b8b3fb4eb1fbc97a52817c08e7db", "score": "0.72690445", "text": "private void Mahasiswa() {\n String[] ciko = {\"id\", \"nama\", \"jurusan\",\"almameter\"};\n DefaultTableModel model = new DefaultTableModel(null, ciko);\n Mahasiswa.setModel(model);\n \n String sql = \"select * from mhs\";\n\n try {\n int no = 1;\n\n java.sql.Connection conn = (Connection)konfig.configDB();\n java.sql.Statement stm = conn.createStatement();\n java.sql.ResultSet res = stm.executeQuery(sql);\n while (res.next()) {\n String id = res.getString(\"id\");\n String nama = res.getString(\"nama\");\n String jurusan = res.getString(\"jurusan\");\n String almameter = res.getString(\"almameter\");\n String[] data = {id, nama, jurusan,almameter};\n model.addRow(data);\n }\n\n } catch (Exception e) {\n }\n }", "title": "" }, { "docid": "1f874aa0af8becc4c90aca2d9e51c7a8", "score": "0.72678405", "text": "void isiTabel(){\n Object data[][]=new Object[record.size()][6];\n int x = 0;\n \n for (Iterator it = record.iterator(); it.hasNext();) {\n Maulana ss = (Maulana) it.next();\n data[x][0] = ss.getId();\n data[x][1] = ss.getNama();\n data[x][2] = ss.getNilaiUTS();\n data[x][3] = ss.getNilaiUAS();\n data[x][4] = ss.getNilaiAkhir();\n data[x][5] = ss.getGrade();\n x++;\n }\n String judul[]={\"ID\",\"Nama\",\"Nilai UTS\",\"Nilai UAS\",\"Nilai Akhir\",\"Grade\"};\n tContent.setModel(new DefaultTableModel(data, judul));\n spTable.setViewportView(tContent);\n }", "title": "" }, { "docid": "a4cb4dddd96310546b3b5742e73c3f0c", "score": "0.72650325", "text": "public DataMahasiswa() {\n initComponents();\n datatable();\n }", "title": "" }, { "docid": "9adc5d86757f627d45fdcce14b54b9dd", "score": "0.72489524", "text": "public ListeCaserne() {\n initComponents();\n \n\n Connection cnt = ConnexionBdd.ouvrirConnexion();\n ArrayList<Caserne> lesCasernes = CaserneDAO.getLesCasernes(cnt);\n \n System.out.println(lesCasernes.size());\n \n DefaultTableModel model = new DefaultTableModel(new String[]{\"ID\", \"NOM\", \"RUE\", \"CP\", \"VILLE\"}, 1);\n \n \n jTable.setModel(model);\n for(int i = 0; i < lesCasernes.size(); i++){\n Caserne uneCaserne = lesCasernes.get(i) ;\n System.out.println(String.valueOf(uneCaserne.getId()) + uneCaserne.getNom() + uneCaserne.getRue() + uneCaserne.getCp() + uneCaserne.getVille());\n model.addRow(new Object[] { String.valueOf(uneCaserne.getId()), uneCaserne.getNom(), uneCaserne.getRue(), uneCaserne.getCp(), uneCaserne.getVille()});\n\n }\n \n System.out.println(lesCasernes);\n \n \n }", "title": "" }, { "docid": "69432b40fa76a6c589f8e65cdd3c62fa", "score": "0.72353035", "text": "private void loadTable() {\n\t\t\r\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"#.00\");\r\n\t//\t\r\n\t\tmodel.setRowCount(0);\r\n\t\tfila = new Object[model.getColumnCount()];\r\n\t\t\r\n\t\tfor (Prismas figuras: PrismasLab.getLogin().getMisFiguras()) {\r\n\t\t\tfila[0] = figuras.getNombre();\r\n\t\t\tfila[1] = figuras.tipoFigura();\r\n\t\t\tfila[2] = decimalFormat.format(figuras.areaLateral());\r\n\t\t\tfila[3] = decimalFormat.format(figuras.areaTotal());\r\n\t\t\tfila[4] = decimalFormat.format(figuras.volumen());\r\n\t\t\tmodel.addRow(fila);\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fa7179670500ed6858648b215963f0fc", "score": "0.7218529", "text": "public void preencherTabela(String sql) {\n ArrayList dados = new ArrayList();\n\n String[] colunas = new String[]{\"COD\", \"Nome\", \"Usuario\", \"CPF\", \"Acesso\", \"E-mail\"};\n conection.conexao();\n conection.executaSql(sql);\n try {\n conection.rs.first();\n do {\n\n dados.add(new Object[]{conection.rs.getInt(\"id_usu\"), conection.rs.getString(\"nome_usu\"), conection.rs.getString(\"usuario_usu\"),\n conection.rs.getString(\"cpf_usu\"),conection.rs.getString(\"permissao_usu\"), conection.rs.getString(\"email_usu\")});\n\n } while (conection.rs.next());\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(rootPane, \"Busque por outro Usuario para preencher a tabela\"+ex);\n }\n BeansTabela modelo = new BeansTabela(dados, colunas);\n jTableUsuario.setModel(modelo);\n jTableUsuario.getColumnModel().getColumn(0).setPreferredWidth(40);// muda tamanho da linha na tabela \n jTableUsuario.getColumnModel().getColumn(0).setResizable(false);//Nao deixa o usuario mexe o tamanho da coluna\n jTableUsuario.getColumnModel().getColumn(1).setPreferredWidth(210);// muda tamanho da linha na tabela \n jTableUsuario.getColumnModel().getColumn(1).setResizable(false);//Nao deixa o usuario mexe o tamanho da coluna\n jTableUsuario.getColumnModel().getColumn(2).setPreferredWidth(180);// muda tamanho da linha na tabela \n jTableUsuario.getColumnModel().getColumn(2).setResizable(false);//Nao deixa o usuario mexe o tamanho da coluna\n jTableUsuario.getColumnModel().getColumn(3).setPreferredWidth(130);// muda tamanho da linha na tabela \n jTableUsuario.getColumnModel().getColumn(3).setResizable(false);//Nao deixa o usuario mexe o tamanho da coluna\n jTableUsuario.getColumnModel().getColumn(4).setPreferredWidth(100);// muda tamanho da linha na tabela \n jTableUsuario.getColumnModel().getColumn(4).setResizable(false);//Nao deixa o usuario mexe o tamanho da coluna\n jTableUsuario.getColumnModel().getColumn(5).setPreferredWidth(230);// muda tamanho da linha na tabela \n jTableUsuario.getColumnModel().getColumn(5).setResizable(false);//Nao deixa o usuario mexe o tamanho da coluna\n jTableUsuario.getTableHeader().setReorderingAllowed(false); // muda tamanho da linha na tabela */\n jTableUsuario.setAutoResizeMode(jTableUsuario.AUTO_RESIZE_OFF);//Tabela nao podera ser remimensionada\n jTableUsuario.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n conection.desconecta();\n\n }", "title": "" }, { "docid": "c6a0b8c5d588da26ff9e2034c2676a8f", "score": "0.7217284", "text": "public frmEstacionamiento() {\n initComponents(); \n MostrarTabla();\n String Titulos[] = {\"ID PARKING\", \"UBICACION\", \"ID NIVEL\"};\n DefaultTableModel df = new DefaultTableModel(null, Titulos);\n ClsJoinParkingNivel ClsJoinPN = new ClsJoinParkingNivel();\n var MostrarJoinParkingNivel = ClsJoinPN.MostrarJoinParkingNivel();\n String Filas[] = new String[3];\n\n for (var iterador : MostrarJoinParkingNivel) {\n\n Filas[0] = String.valueOf(iterador.getId_parking());\n Filas[1] = iterador.getUbicacion();\n Filas[2] = String.valueOf(iterador.getId_nivel());\n df.addRow(Filas);\n }\n\n tbParkinsYEstacionamientos.setModel(df);\n\n }", "title": "" }, { "docid": "a627680bbeb69b29b3aece47ec070c12", "score": "0.7211835", "text": "private void Cargar_Datos() {\n Cargar_Datos_Socios(this.pGUI.getCmbSocios());\n Cargar_Datos_Libros(this.pGUI.getCmbLibros());\n //Cargar_CheckBox_JTable();\n Cargar_ComboBox_JTable();\n Cargar_JDateChooser_JTable();\n \n }", "title": "" }, { "docid": "3f639e29c35830376f9e110930e4a7ed", "score": "0.7206587", "text": "private void mostrarNoCarrinho() {\n String[] columns = {\"codigo pedido\", \"cod.barras\", \"nome\", \"quantidade\", \"descrição\", \"preço total\"};\n String[][] data = null;\n try {\n List<ItemPedido> ipedidos = ipdao.listar();\n data = new String[ipedidos.size()][6];\n int i = 0;\n for (ItemPedido ip : ipedidos) {\n data[i][0] = \"\" + ip.getId();\n data[i][1] = \"\" + ip.getProduto().getCodBarras();\n data[i][2] = ip.getProduto().getNome();\n data[i][3] = \"\" + ip.getQuantidade();\n data[i][4] = ip.getProduto().getDescricao();\n data[i][5] = \"\" + ip.getPrecototal();\n i++;\n }\n } catch (IOException | ClassNotFoundException ex) {\n JOptionPane.showMessageDialog(this, \"erro ao montar o carrinho\");\n }\n\n TableModel model = new DefaultTableModel(data, columns);\n\n jTable1.setModel(model);\n\n }", "title": "" }, { "docid": "3e5b2bce5321d02a1e2fa60dc79a4472", "score": "0.72035784", "text": "public void initTable()\n {\n\t\tArrayList data = null;\n\t\ttry {\n\t\t\tdata = ProjectsParser.getInstance().getProjects(XAGDOP.getInstance().getUser().getLogin());\n\t\t} catch (XPathExpressionException e) {\n\t\t\tErrorManager.getInstance().display();\n\t\t} catch (SVNException e) {\n\t\t\tErrorManager.getInstance().display();\n\t\t} catch (IOException e) {\n\t\t\tErrorManager.getInstance().display();\n\t\t} catch (Exception e) {\n\t\t\tErrorManager.getInstance().display();\n\t\t}\n\t\tthis.JTProjets = new JTable(new ProjectTableModel(data));\n\t\t\n\t\t//Suppression de l'affichage de la grille et de l'entete\n\t\tthis.JTProjets.setShowGrid(false);\n\t\tthis.JTProjets.setTableHeader(null);\n\t\t\n\t\t//JTable non redimensionnable\n\t\tthis.JTProjets.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);\n\t\tthis.JTProjets.setSize(new Dimension(300,200));\n \n //Colonnes non redimensionnables\n\t\tthis.JTProjets.getColumnModel().getColumn(0).setResizable(false);\n\t\tthis.JTProjets.getColumnModel().getColumn(1).setResizable(false);\n \n //Configuration des tailles des colonnes\n\t\tthis.JTProjets.getColumnModel().getColumn(0).setMaxWidth(20);\n\t\tthis.JTProjets.getColumnModel().getColumn(1).setMinWidth(105);\n\t\t\n\t\t//Changement de la couleur de fond\n\t\tthis.JTProjets.setBackground(this.JPMain.getBackground());\n\t\t\n\t\tJTProjets.setPreferredScrollableViewportSize(JTProjets.getSize());\n }", "title": "" }, { "docid": "9a79e19adc4f8e16ab59ef02cb34bfef", "score": "0.7189822", "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 jt_informacion = new javax.swing.JTable();\n jLabel1 = new javax.swing.JLabel();\n jtf_valor = new javax.swing.JTextField();\n jb_pagar = new javax.swing.JButton();\n jLabel2 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jl_dolares = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"PAhorro ©\");\n setResizable(false);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowClosing(java.awt.event.WindowEvent evt) {\n formWindowClosing(evt);\n }\n });\n\n jt_informacion.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n\n },\n new String [] {\n \"Fecha\", \"Abono\", \"Abono Agendado\", \"Total Lps.\", \"Total Abonado\"\n }\n ) {\n Class[] types = new Class [] {\n java.lang.String.class, java.lang.Double.class, java.lang.Double.class, java.lang.Double.class, java.lang.Double.class\n };\n boolean[] canEdit = new boolean [] {\n false, false, false, false, false\n };\n\n public Class getColumnClass(int columnIndex) {\n return types [columnIndex];\n }\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n jScrollPane1.setViewportView(jt_informacion);\n if (jt_informacion.getColumnModel().getColumnCount() > 0) {\n jt_informacion.getColumnModel().getColumn(0).setResizable(false);\n jt_informacion.getColumnModel().getColumn(1).setResizable(false);\n jt_informacion.getColumnModel().getColumn(2).setResizable(false);\n jt_informacion.getColumnModel().getColumn(3).setResizable(false);\n jt_informacion.getColumnModel().getColumn(4).setResizable(false);\n }\n\n jLabel1.setText(\"Valor\");\n\n jb_pagar.setText(\"Pago\");\n jb_pagar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jb_pagarMouseClicked(evt);\n }\n });\n\n jLabel2.setText(\"Total Lps.\");\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n jLabel4.setText(\"34,500\");\n\n jLabel3.setText(\"Total $\");\n\n jl_dolares.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n jl_dolares.setText(\"0\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 618, Short.MAX_VALUE)\n .addContainerGap())\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(37, 37, 37)\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(jtf_valor, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(60, 60, 60))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jb_pagar, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(93, 93, 93)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel3))\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addComponent(jl_dolares, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(25, 25, 25))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(55, 55, 55)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(jtf_valor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2)\n .addComponent(jLabel4))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jb_pagar)\n .addComponent(jLabel3)\n .addComponent(jl_dolares))\n .addGap(31, 31, 31)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "0064aa65fbf54341bab4846759efdfee", "score": "0.7188871", "text": "public VentanaFacturaEncontrada(ControladorFacturaCabecera controladorFacturaCabecera,ControladorCliente controladorCliente,ControladorFacturaDetalle controladorFacturaDetalle,ControladorProducto controladorProducto) {\n initComponents();\n int codigo;\n this.controladorFacturaCabecera=controladorFacturaCabecera;\n this.controladorCliente=controladorCliente;\n this.controladorFacturaDetalle=controladorFacturaDetalle;\n this.controladorProducto=controladorProducto;\n codigoFactura=VentanaBuscarFactura.codigoFactura; \n modeloTabla = new DefaultTableModel();\n listaFacturaDetalles = controladorFacturaDetalle.getLista();\n modeloTabla = new DefaultTableModel();\n Object[] columnas = {\"Codigo \", \"Nombre\", \"Precio Unitario\", \"Cantidad\", \"Sub Total\"};\n modeloTabla.setColumnIdentifiers(columnas);\n for (FacturaDetalle facturaDetalle : listaFacturaDetalles) {\n Producto producto = controladorProducto.read(facturaDetalle.getProducto().getCodigo());\n Object[] fila = {facturaDetalle.getCodigo(), producto.getNombre(), facturaDetalle.getPrecio(), facturaDetalle.getCantidad(), facturaDetalle.getSubtotal()};\n modeloTabla.addRow(fila);\n }\n tblDetalle.setModel(modeloTabla);\n\n factura = controladorFacturaCabecera.read(codigoFactura);\n Cliente cliente = controladorCliente.read(factura.getCliente().getCodigo());\n txtNombre.setText(cliente.getNombre());\n txtCedula.setText(cliente.getCedula());\n txtDireccion.setText(cliente.getDireccion());\n txtTelefono.setText(cliente.getTelefono());\n SimpleDateFormat sdf = new SimpleDateFormat(\"dd/MM/yyyy\");\n String fecha = sdf.format(factura.getFecha());\n txtFecha.setText(fecha);\n txtCodigo.setText(String.valueOf(codigoFactura));\n txtIva.setText(String.valueOf(factura.getIva()));\n txtSubTotal.setText(String.valueOf(factura.getSubtotal()));\n txtTotal.setText(String.valueOf(factura.getTotal()));\n }", "title": "" }, { "docid": "3711e1d02c53f2ac1df5866c357ced69", "score": "0.71860814", "text": "public FinancePaymentTable() {\n super();\n //initComponents();\n this.setTableHeader(new String[]{\"Codigo\", \"Data\",\"Valor\"});\n getObjectTable().setModel(new DefaultTableModel(new Object[0][0], getTableHeader()));\n getObjectTable().setVisible(true);\n }", "title": "" }, { "docid": "a481a5223133a4240c2382f9685c789b", "score": "0.71610063", "text": "public void mostrar_sector_personal(){\n String consulta=\"\";\n try {\n tbSectorizacion.setModel(new DefaultTableModel());\n String titulos[]={\"ID\",\"N° Sector Ini.\",\"N° Sector Term.\",\"Departamento\",\"Provincia\",\"Distrito\",\"Personal\",\"Fecha Inicio\",\"Fecha Termino\",\"Estado\"};\n m=new DefaultTableModel(null,titulos);\n JTable p=new JTable(m);\n String fila[]=new String[10];\n //int index = cbxTipoBusqueda.getSelectedIndex();\n consulta=\"EXEC [SP_SISTEMASECTOR_BUSQUEDA_PERSONAL]\";\n PreparedStatement cmd = se.getCn().prepareStatement(consulta);\n ResultSet r= cmd.executeQuery();\n int c=1;\n while(r.next()){\n fila[0]=r.getString(1); // id de sector\n fila[1]=r.getString(2); // codigo de hc\n fila[2]=r.getString(3);\n fila[3]=r.getString(4); // dni\n fila[4]=r.getString(5); // apellido pat \n fila[5]=r.getString(6); // apellido pat\n fila[6]=r.getString(7); // apellido pat\n fila[7]=r.getString(8); // apellido pat\n fila[8]=r.getString(9); // apellido pat \n fila[9]=r.getString(10); // apellido pat\n m.addRow(fila);\n c++;\n }\n tbSectorizacion.setModel(m);\n TableRowSorter<TableModel> elQueOrdena=new TableRowSorter<TableModel>(m);\n tbSectorizacion.setRowSorter(elQueOrdena);\n this.tbSectorizacion.setModel(m);\n formatoSector();\n } catch (Exception e) {\n System.out.println(\"Error_buscar_Sector: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "289082e349cfed76b0391a8bca2a9d44", "score": "0.71584165", "text": "private void Cargar_JDateChooser_JTable(){\n IncluirFechaAJTable(4);\n //Incluimos la FechaFin a la tabla\n IncluirFechaAJTable(5);\n }", "title": "" }, { "docid": "8e5d4ad6e9f8043e5897de36001ecc12", "score": "0.7157116", "text": "public void getData(){\n \n \n Session session = NewHibernateUtil.getSessionFactory().openSession();\n //penelusuran baris pada tabel tblGaji dari database\n Transaction tx = null;\n Object header[]={\"NPM\",\"NAMA\"};\nDefaultTableModel data = new DefaultTableModel(null, header);\ntbobat.setModel(data);\n\n try{\n tx = session.beginTransaction();\n List employees = session.createQuery(\"FROM Obat\").list(); \n for (Iterator iterator = \n employees.iterator(); iterator.hasNext();){\n Obat obat = (Obat) iterator.next(); \n System.out.print(\"First Name: \" + obat.getKdObat()); \n System.out.print(\" Last Name: \" + obat.getNmObat()); \n System.out.println(\" Salary: \" + obat.getTglkadaluarsa()); \n String kolom1 = obat.getKdObat();\n String kolom2 = obat.getNmObat(); \n String kolom[] = {kolom1, kolom2};\n data.addRow(kolom);\n }\n \n tx.commit();\n }catch (Exception e) {\n if (tx!=null) tx.rollback();\n e.printStackTrace(); \n }finally {\n session.close(); \n }\n}", "title": "" }, { "docid": "eb640262e4fbb124b60cfd5a7a80fb52", "score": "0.7154909", "text": "public void tablelord() {\n try {\n String sqll = \"SELECT * FROM battry.schudle where status= 'تم الانتهاء' order by id DESC\";\n pst = (PreparedStatement) DBConnect.con.prepareStatement(sqll);\n rs = pst.executeQuery();\n DefaultTableModel model = (DefaultTableModel) tdetails.getModel();\n model.setRowCount(0);\n int x = 1;\n while (rs.next()) {\n Object row[] = {\n rs.getString(\"id\"),\n rs.getString(\"finishdate\"),\n rs.getString(\"work\"),\n rs.getString(\"customer\")\n\n };\n model.addRow(row);\n x++;\n\n }\n if (x >= 11) {\n } else {\n for (int z = x; z < 20; z++) {\n Object rowData[] = {\n \"\", \"\", \"\", \"\", \"\",};\n model.addRow(rowData);\n }\n }\n } catch (SQLException ex) {\n\n }\n }", "title": "" }, { "docid": "fa20a35c29164465a34e45cd4a064c9f", "score": "0.7140958", "text": "public void affichageSalles() throws ClassNotFoundException, SQLException{\n //Les données du tableau qui seront à chercher depuis la BDD\n Class.forName(\"com.mysql.jdbc.Driver\");\n String urlDatabase = \"jdbc:mysql://localhost/calendrier\";\n Connection connect = DriverManager.getConnection(urlDatabase, \"root\", \"root\");\n ResultSet result4 = connect.createStatement(\n ResultSet.TYPE_SCROLL_INSENSITIVE,\n ResultSet.CONCUR_READ_ONLY)\n .executeQuery(\"SELECT * FROM salle INNER JOIN site ON salle.Id_site=site.id\");\n int rowcount =0;\n if (result4.last()) {\n rowcount = result4.getRow();\n result4.beforeFirst(); // not rs.first() because the rs.next() below will move on, missing the first element\n }\n Object[][] data = new Object[rowcount][2];\n int i=0;\n while (result4.next()){\n data[i][0]=result4.getString(\"site.nom\");\n data[i][1]=result4.getString(\"salle.nom\");\n i++;\n }\n //Les titres des colonnes\n Object title[] = {\"Site\", \"Salle\"};\n JTable tableau = new JTable(data, title);\n //instance table model\n DefaultTableModel tableModel = new DefaultTableModel(data, title) {\n @Override\n public boolean isCellEditable(int row, int column) {\n //all cells false\n return false;\n }\n };\n tableau.setModel(tableModel);\n //Nous ajoutons notre tableau à notre contentPane dans un scroll\n //Sinon les titres des colonnes ne s'afficheront pas !\n this.add(new JScrollPane(tableau));\n }", "title": "" }, { "docid": "3d568065fe8131f0058d90533a968b06", "score": "0.7140476", "text": "private void Afficher(){\n \n \n try{\n dt.setRowCount(0);\n String Sql = \"Select * From s_actualite\";\n Connection con=Connect.conDB();\n ps=con.prepareStatement(Sql);\n rs = ps.executeQuery();\n //dt.setRowCount(0); // vider la list des stagiaires.\n // rs = ps.executeQuery(\"Select * From s_actualite\");\n System.out.println(rs);\n while(rs.next()){\n //System.out.println(\"kk\");\n int id = rs.getInt(\"titreAR_sactualite\");\n System.out.println(id);\n titreAR = rs.getString(\"titreAR_sactualite\");\n titreFr = rs.getString(\"titreFR_sactualite\");\n textFR = rs.getString(\"textFR_sactualite\");\n textAR = rs.getString(\"textAR_sactualite\");\n Object[] jTab = {titreAR,titreFr,id,textFR,textAR};\n dt.addRow(jTab);\n }\n }catch(Exception e){\n //JOptionPane.showMessageDialog(null, \"Erreur afficher la liste des stagiaire\\n\"+e.getMessage());\n }\n \n\n}", "title": "" }, { "docid": "7fab703ef4da723d9cf5ccbb8c37b4c0", "score": "0.7132527", "text": "public static void llenarTablaTodosDatos() {\n lb_facturadaPor.setText(\"\");\n panelDatosDespuesDeVenta.setVisible(false);\n panelHistorialFacturas_botonEliminarFactura.setVisible(false);\n panelHistorialFacturas_botonImprimirFactura.setVisible(false);\n llenarTablaResultSet(DataBase.Facturacion.FacturaVenta.Venta.Select\n .FacturasBusquedaAvanzada(), true);\n\n }", "title": "" }, { "docid": "f0379305801f2032e578e41774a80cf5", "score": "0.7124199", "text": "public FramePersonas() {\n initComponents();\n\n leerProperties();\n\n DefaultTableModel model = new DefaultTableModel();\n\n model.addColumn(\"ID\");\n model.addColumn(\"NOMBRE\");\n\n jTable1.setModel(model);\n cargarFactoria();\n //cargarPersonasXML();\n //cargarPersonasXstream();\n jTable1.getSelectionModel().addListSelectionListener(new ListSelectionListener() {\n @Override\n public void valueChanged(ListSelectionEvent lse) {\n\n if (jTable1.getSelectedRow() >= 0) {\n jTextField1.setText(\n jTable1.getValueAt(\n jTable1.getSelectedRow(), Constantes.COLUMN_ID).toString());\n jTextField2.setText(\n jTable1.getValueAt(\n jTable1.getSelectedRow(), Constantes.COLUMN_NOMBRE).toString());\n }\n }\n });\n\n }", "title": "" }, { "docid": "75246377a03b46e184a1d25a563795a3", "score": "0.71240616", "text": "private void LoadGrilla2(ResultSet rs) throws SQLException, ClassNotFoundException, ParseException{\n DefaultTableModel modelo= (DefaultTableModel)tblCliente.getModel();\n// Date f1;\n// Date f2;\n String fecha1,fecha2;\n while(rs.next())\n {\n \n Object[] fila=new Object[5];\n fila[0]=rs.getString(\"codcli\");\n fila[1]=rs.getString(\"nomcli\");\n fila[2]=rs.getString(\"ruccli\");\n fila[3]=rs.getString(\"dircli\");\n \n modelo.addRow(fila); \n }\n \n\n tblCliente.updateUI();\n }", "title": "" }, { "docid": "cc1ade86aff88b7451db12330d05f8cb", "score": "0.7121833", "text": "private void inicializarTabla(int lineas){\n DefaultTableModel model = (DefaultTableModel)this.jTable1.getModel();\n model.setNumRows(lineas);\n String[] titCol = new String[]{\n \"Sector\", \"Numero\", \"Nombre Cliente\", \"Nro Puesto\"\n };\n model.setColumnIdentifiers(titCol);\n }", "title": "" }, { "docid": "63123122cdbd6cbaee045dca412d973d", "score": "0.7121506", "text": "public productos() {\n initComponents();\n String[] campos = {\"id\", \"nombre\", \"descripcion\"};\n dm.setColumnIdentifiers(campos);\n tablaDatos.setModel(dm);\n //actualizarTabla();\n }", "title": "" }, { "docid": "8e330af2c07be763d07369e07e375e67", "score": "0.7118065", "text": "public void cargarProdAlternativo(){\r\n\t\t\t//Obtener fila seleccionada de la tabla\r\n\t\t\tint fila = tblLista.getSelectedRow();\r\n\t\t\t/*String titulo2[]={\"COD\",\"PRODUCTO\",\"COSTE\",\"CMAR\",\"MARCA\",\"UMED\",\"FECHA\",\"COD\",\"PROVEEDOR\",\"COD_ALT\",\"NOM_ALT\"};\r\n\t\t\t DefaultTableModel modelo2 =new DefaultTableModel(null,titulo2);\r\n\t\t\t public static String COD_PROD,NOM_PROD,COSTE,COD_MAR,MARCA,UMED,FECHA,COD_PROVEE,PROVEEDOR,COD_PRODALT,NOM_PRODALT;\r\n\t\t\t */\r\n\t\t\t COD_PROD=\"\"+ modelo2.getValueAt(fila, 0);\r\n\t\t\t NOM_PROD=\"\"+ modelo2.getValueAt(fila, 1);\r\n\t\t\t COSTE=\"\"+ modelo2.getValueAt(fila, 2);\r\n\t\t\t COD_MAR=\"\"+ modelo2.getValueAt(fila, 3);\r\n\t\t\t MARCA=\"\"+ modelo2.getValueAt(fila, 4);\r\n\t\t\t CUMED=\"\"+ modelo2.getValueAt(fila, 5);\r\n\t\t\t UMED=\"\"+ modelo2.getValueAt(fila, 6);\r\n\t\t\t FECHA=\"\"+ modelo2.getValueAt(fila, 7);\r\n\t\t\t COD_PROVEE=\"\"+ modelo2.getValueAt(fila, 8);\r\n\t\t\t PROVEEDOR=\"\"+ modelo2.getValueAt(fila, 9);\r\n\t\t\t COD_PROD1=\"\"+ modelo2.getValueAt(fila, 10);\r\n\t\t\t NOM_PROD1=\"\"+ modelo2.getValueAt(fila, 11);\r\n PESO_PRODUC=\"\"+ modelo2.getValueAt(fila, 12);\r\n MODPROD=\"\"+ modelo2.getValueAt(fila, 13);\r\n\t\t}", "title": "" }, { "docid": "62f30bcf92973d88d3afa6713bf464b3", "score": "0.71139926", "text": "private void loadData(ArrayList<NhanVienDTO> dskh){//Load toan bo du lieu vao table\n tableQLNV.removeAll();\n String []colsName = {\"Mã nhân viên\",\"Họ tên\",\"Giới tính\",\"CMND\",\"Địa chỉ\",\"Mã tài khoản\"};\n model.setColumnIdentifiers(colsName);\n model.setRowCount(0);\n for(NhanVienDTO kht :dskh)\n {\n String row[];\n row = new String[6];\n row[0] = kht.getMaNV();\n row[1] = kht.getTenNV();\n row[2] = kht.getGioiTinh();\n row[3] = kht.getCMND();\n row[4] = kht.getDiaChi();\n row[5] = kht.getMaTK();\n model.addRow(row); \n }\n tableQLNV.setModel(model); \n }", "title": "" }, { "docid": "b248fe9c214dbcb9241e90a1eed3b4be", "score": "0.71090764", "text": "public Consumos(String id,String empleado, String sucursal) {\n // t_MontoPro = new DefaultTableModel(new Object[]{\"ID\",\"DESCRIPCION\", \"PRECIO VENTA\",\"DESCUENTO\",\"TOTAL\"},0);\n /*t_MontoPro.addColumn(\"ID\");\n t_MontoPro.addColumn(\"DESCRIPCION\");\n t_MontoPro.addColumn(\"PRECIO VENTA\");\n t_MontoPro.addColumn(\"DESCUENTO\");\n t_MontoPro.addColumn(\"TOTAL\");*/\n\n\n // Agregar las columnas que se necesiten utilizando el método\n // addColumn(Object columnName) de DefaultTableModel.\n // También es posible utilizar un constructor sobrecargado\n // que recibe como parámetros un vector Object[] { ... } cuyos\n // elementos son los nombres de las columnas y un int con la\n // cantidad inicial de filas (se crean vacías):\n // DefaultTableModel(new Object[] { \"Col 1\", \"Col 2\" }, 5)\n\n\n\n\n idempleado = id;\n nombreempleado = empleado;\n nombresucursal = sucursal;\n initComponents();\n }", "title": "" }, { "docid": "0ed5950650460c0d94b965ea8722f8ca", "score": "0.710379", "text": "public void getDataPetugas(){\n //kosongkan tabel\n model.getDataVector().removeAllElements();\n model.fireTableDataChanged();\n \n //eksekusi koneksi dan kirimkan query ke database\n try{\n //tes koneksi\n Statement stat = (Statement) koneksi.getKoneksi().createStatement();\n \n //perintah sql untuk membaca data dari tabel gaji \n String sql = \"SELECT * FROM tbpetugas\";\n ResultSet res = stat.executeQuery(sql);\n \n //baca data\n while(res.next()){\n //membuat obyek berjenis array\n Object[] obj = new Object[4];\n obj[0]=res.getString(\"Id_petugas\");\n obj[1]=res.getString(\"Nm_petugas\");\n obj[2]=res.getString(\"Alamat\");\n obj[3]=res.getString(\"No_telp\");\n model.addRow(obj);\n }\n }catch(SQLException err){\n JOptionPane.showMessageDialog(null, err.getMessage());\n }\n }", "title": "" }, { "docid": "1a5dae21095e79810271d1e7bcbb5dd0", "score": "0.7094819", "text": "private void setDatapetugas(){\n convert con = new convert();\n String[][] dataptgs = con.getpetugas();\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\n dataptgs,\n new String [] {\n \"id petugas\", \"nama petugas\", \"alamat petugas\", \"password\"\n }\n ));\n jScrollPane1.setViewportView(jTable1);\n }", "title": "" }, { "docid": "0ad181dc42fee24dc5d45e4f537c9744", "score": "0.7083729", "text": "public DefaultTableModel viewData() {\n DefaultTableModel petugastable = new DefaultTableModel();\n petugastable.addColumn(\"ID\");\n petugastable.addColumn(\"NAMA\");\n petugastable.addColumn(\"JENIS KELAMIN\");\n petugastable.addColumn(\"USERNAME\");\n petugastable.addColumn(\"PASSWORD\");\n petugastable.addColumn(\"HAK AKSES\");\n petugastable.addColumn(\"ALAMAT\");\n\n try {\n String sql = \"select * from petugas\";\n Statement stmt = con.connect().prepareStatement(sql);\n ResultSet res = stmt.executeQuery(sql);\n // Mengisi pegawaiTable dengan perulangan hasil dari Query\n while (res.next()) {\n petugastable.addRow(new Object[]{\n res.getString(1),\n res.getString(2),\n res.getString(3),\n res.getString(4),\n res.getString(5),\n res.getString(6),\n res.getString(7)}\n ); //APAKAH INI SAMPAH? ATAU ADA FUNGSINYA?\n }\n } catch (Exception e) {\n }\n return petugastable;\n }", "title": "" }, { "docid": "99ca69cda7125c0e87e586fa0cc17382", "score": "0.707801", "text": "public void cargatablaAr() {\n //añadimos a traves de una lista los datos a la tabla\n /*List<Arbitro> lista = control.listarEquipo();\n\n for (Equipo actlist : lista) {\n\n String nombre = String.valueOf(actlist.getNombreEquipo());\n String a = String.valueOf(actlist.getEntrnadorEquipo());\n String ali = String.valueOf(actlist.getAliasEquipo());\n modelo.addRow(new Object[]{actlist.getId_equi(), nombre, a, ali,});\n }*/\n }", "title": "" }, { "docid": "6ea0b51bf4d711be3bcf493d8ded4b8f", "score": "0.7075528", "text": "public void Agregar_En_Tabla_Compras(JTable tabla, ArrayList<Dato_Compras> lista){\r\n Modelo_Tabla mt = new Modelo_Tabla();\r\n mt.Limpiar_Tabla(tabla);\r\n DefaultTableModel modelo = (DefaultTableModel) tabla.getModel();\r\n for (Dato_Compras dato_compra : lista) {\r\n Object[] disco = {dato_compra.getNombre(),dato_compra.getCedula(),\r\n dato_compra.getCorreo(),dato_compra.getNombre_Articulo(),\r\n dato_compra.getCantidad_Comprado()};\r\n modelo.addRow(disco);\r\n }\r\n }", "title": "" }, { "docid": "7119b297a1c1cc3b992f11d63ec0c309", "score": "0.7072055", "text": "private void inicializarTablaConsultas ()\n {\n modeloConsultas = new DefaultTableModel() // modelo instanciado\n {\n @Override // ihabilitamos la tabla para no permitir la edicion de sus columnas\n public boolean isCellEditable(int rowIndex, int columnIndex)\n {\n return false;\n }// fin del metodo isCellEditable\n }; // modelo de la tabla de consultas\n \n modeloConsultas.addColumn(\"Fecha\"); // agregamos las cabeceras de columnas\n modeloConsultas.addColumn(\"Id\"); // al modelo\n \n NegocioConsultaMedica objNegocioConMed = new NegocioConsultaMedica();\n String fila [] = new String [2];\n ResultSet rs;\n \n try\n {\n rs = objNegocioConMed.listarConsultasPorPaciente(idExpedienteMedico);\n \n while (rs.next())\n {\n fila[0] = rs.getString(\"fecha\");\n fila[1] = rs.getString(\"id\");\n \n modeloConsultas.addRow(fila); // agregamos una fila al modelo por el arreglo\n }// fin del while\n \n tblConsultas.setModel(modeloConsultas);\n \n // Escondemos la columna de Id\n tblConsultas.getColumnModel().getColumn(1).setMaxWidth(0);\n tblConsultas.getColumnModel().getColumn(1).setMinWidth(0);\n tblConsultas.getColumnModel().getColumn(1).setPreferredWidth(0);\n }// fin del try\n catch (SQLException sqle)\n {\n System.out.println(sqle.getErrorCode() + sqle.getMessage());\n }// fin del catch\n \n }", "title": "" }, { "docid": "fcacb800b21d5b3a377abb09820c7290", "score": "0.70687443", "text": "private void LlenatablaAdm() {\n SqlUsuarios mdlsql=new SqlUsuarios();\n try {\n DefaultTableModel modelo = new DefaultTableModel();\n jtAdmin.setModel(modelo);\n ResultSet rs;\n rs = mdlsql.extraerAdmins();\n ResultSetMetaData rsMD = rs.getMetaData();\n int cantidadCol = rsMD.getColumnCount();\n\n modelo.addColumn(\"Nombre\");\n modelo.addColumn(\"Apellido\");\n modelo.addColumn(\"Telefono\");\n modelo.addColumn(\"Correo\");\n modelo.addColumn(\"Foto\");\n \n \n //int[] tamaños=nes int[];\n\n while (rs.next()) {\n Object[] filas = new Object[cantidadCol];\n for (int i = 0; i < cantidadCol; i++) {\n filas[i] = rs.getObject(i + 1);\n }\n modelo.addRow(filas);\n \n }\n\n } catch (SQLException ex) {\n System.err.println(ex.toString());\n }\n }", "title": "" }, { "docid": "138e93e2500d369db88a27598a309f28", "score": "0.70638", "text": "public daftarPasien() {\n initComponents();\n \n for(int i=1;i<=31;i++){\n tgl.addItem(\"\"+i);\n }\n \n String[] bln={\"Bulan\",\"Januari\",\"Febuari\",\"Maret\",\"April\",\"Mei\",\"Juni\",\"Juli\",\"Agustus\",\"September\",\"Oktober\",\"November\",\"Desember\"};\n for(int i=0;i<=12;i++){\n bulan.addItem(bln[i]);\n }\n \n thn.addItem(\"Tahun\");\n for(int i=2000;i<2021;i++){\n thn.addItem(\"\"+i);\n }\n tablePasien.setModel(model);\n model.addColumn(\"No\");\n model.addColumn(\"Tgl Daftar\");\n model.addColumn(\"ID Pasien\");\n model.addColumn(\"Nama Pasien\");\n model.addColumn(\"JK\");\n model.addColumn(\"TTL\");\n model.addColumn(\"GolDar\");\n model.addColumn(\"Nama Wali\");\n model.addColumn(\"Kontak Pasien\");\n model.addColumn(\"ID Dokter\");\n \n try{\n int no=1;\n String sql = \"select * from pasien\";\n java.sql.Connection conn = (java.sql.Connection)koneksi.configDB();\n java.sql.Statement stm = conn.createStatement();\n java.sql.ResultSet res=stm.executeQuery(sql);\n while(res.next()){\n model.addRow(new Object[]{no++,res.getString(1),res.getString(2),res.getString(3),res.getString(4),res.getString(5),res.getString(6),res.getString(7),res.getString(8),res.getString(9)});\n noAkhir=no;\n idPasienAkhir=res.getInt(2);\n }\n \n } catch (Exception e){\n }\n \n }", "title": "" }, { "docid": "6633747658ccfa26c5ce92fb0f32cd4c", "score": "0.7059529", "text": "private void loadData() {\n try {\n dt = (DefaultTableModel) jTable1.getModel();\n dt.setRowCount(0);\n con = DBconnect.connect();\n Statement s = con.createStatement();\n ResultSet rs = s.executeQuery(\"select * from student \");\n while (rs.next()) {\n Vector v = new Vector();\n v.add(rs.getString(\"admission\"));\n v.add(rs.getString(\"name\"));\n v.add(rs.getString(\"grade\"));\n v.add(rs.getString(\"mobile\"));\n v.add(rs.getString(\"status\"));\n dt.addRow(v);\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "a2130005481e45f3a23986c7e0cb4f42", "score": "0.70513344", "text": "private void cargarTablaTarjeta() {\n this.tablaTarjetaModel = new TablaTarjetaModel();\n tablaTarjeta.setRowSelectionAllowed(true);\n this.tablaTarjeta.setModel(tablaTarjetaModel);\n this.tablaTarjetaModel.setFila(listaTarjeta());\n //System.out.println(this.usuario.toString());\n }", "title": "" }, { "docid": "85b31609483e6f4db576933d386325d8", "score": "0.7050731", "text": "public petugas() {\n initComponents();\n //membuat obyek\n model = new DefaultTableModel();\n \n //memberi nama header pada tabel\n tbpetugas.setModel(model);\n model.addColumn(\"ID PETUGAS\");\n model.addColumn(\"NAMA PETUGAS\");\n model.addColumn(\"ALAMAT\");\n model.addColumn(\"NO TELP\");\n \n \n //fungsi ambil data\n getDataPetugas();\n }", "title": "" }, { "docid": "e719808e2a804b7efe9627904ace9c26", "score": "0.7049553", "text": "public void TablaTerminados(int c) {\n //SE SACA EL MODELO DE LA TABLA DE FINALIZACION\n DefaultTableModel modelo2 = (DefaultTableModel) jTableFin.getModel();\n //SE CREAN VARIABLES AUXILIARES\n int tiempollegada = 0;\n int numproceso = 0;\n //RRECORRE LA COLA DE LOS PROCESOS YA ORDENADOS\n for (int j = 0; j < ProcesosOrdenados.Length(); j++) {\n numproceso = ProcesosOrdenados.getProceso(j).getNumProceso();\n //COMPRUEBA QUE LOS PROCESOS COINCIDAN\n if (numproceso == c) {\n\n tiempollegada = ProcesosOrdenados.getProceso(j).getTiempoLlegada();\n }\n }\n int TiempoRespuesta = tiempollegada - tiempoProceso;\n\n Object[] Table = new Object[7];//SE CREA UN NUEVO OBJETO PARA AGEGAR UN RENGLON A LA TABLA DE FINALIZACION \n Table[0] = (idb);\n Table[1] = tiempoEjecucion; //TIEMPO DE EJECUCION\n Table[2] = quantum;//VALOR DEL QUANTUM\n Table[3] = tiempoProceso;//+\" Segundos\";\n Table[4] = TiempoRespuesta; //VALOR DEL TIEMPO DE RESPUESTA\n Table[5] = TiempoRespuesta - tiempoEjecucion;//VALOR DEL TIEMPO DE ESPERA\n Table[6] = TiempoRespuesta / tiempoEjecucion;//VALOR DEL TIEMPO DE PENALIZACION\n modelo2.addRow(Table);//SE AGREGA EL RENGLON A LA TABLA DE FINALIZACION\n jTableFin.setModel(modelo2);\n //CantidadProcesos++; \n jLCantidadTiempo.setText(String.valueOf(tiempoProceso + \" Segundos\"));//se le asigna al label pero solo captura el tiempo de los procesos pero eso esta un poco incomprendible?\n }", "title": "" }, { "docid": "de5404a010f7024855809ef3d5ec014a", "score": "0.70475006", "text": "public void ordenarDatosTabla(){\n jTable1.setAutoCreateRowSorter(true);\n TableRowSorter<TableModel> sorter = new TableRowSorter<>(jTable1.getModel());\n jTable1.setRowSorter(sorter);\n sorter.sort();\n sorter.setSortable(0, false);\n }", "title": "" }, { "docid": "899844a8553e24eab27a1658ce810824", "score": "0.7043633", "text": "public void listarAjustesByAlmacen() {\n try {\n DefaultTableModel modelo = (DefaultTableModel) this.tablaAjustes.getModel();//creando el modela ára llenar los datos al JTableje\n Validaciones.limpiarTabla(tablaAjustes);\n //realizando la consulta para realizar el listado de los ajustes realizados\n ajustesDao proDao = new ajustesDao();\n List<Object[]> lista = proDao.listarAjustesByAlmacen(new almacenDao().buscarAlmacenId(comboAlmacenTabla.getSelectedItem().toString()));\n Object[] fila = new Object[modelo.getColumnCount()];\n\n for (int i = 0; i < lista.size(); i++) {\n fila[0] = lista.get(i)[0];//id\n fila[1] = lista.get(i)[1];//producto\n fila[2] = lista.get(i)[2];//cantidad original\n fila[3] = lista.get(i)[3];//cantidad ajuste\n fila[4] = lista.get(i)[4];//nombre responsable\n fila[5] = lista.get(i)[5];//apellido responsable\n fila[6] = lista.get(i)[6];//glosa\n fila[7] = lista.get(i)[7];//fecha\n fila[8] = lista.get(i)[8];//almacen\n\n modelo.addRow(fila);\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Error--> \" + e, null, JOptionPane.ERROR_MESSAGE);\n }\n }", "title": "" }, { "docid": "d29fd11e044b732c446e388015b2f67c", "score": "0.70311004", "text": "public frmInscripcion() {\n try {\n initComponents();\n con = new Conexion(\"jdbc:mariadb://localhost:3306/universidad\", \"root\", \"\");\n modelo = new DefaultTableModel();\n \n alumnoData = new AlumnoData(con);\n listaAlumnos = (ArrayList)alumnoData.obtenerAlumnos();\n materiaData = new MateriaData(con);\n listaMaterias = (ArrayList)materiaData.obtenerMaterias();\n cursadaData = new CursadaData(con);\n listaCursada = (ArrayList)cursadaData.obtenerCursadas();\n \n cargarAlumnos();\n armarCabezeraTabla();\n cargarDatosTablaInscriptas();\n \n } catch (ClassNotFoundException ex) {\n Logger.getLogger(frmInscripcion.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "516e8c8c74f0d25f990ffd0d610dd0e7", "score": "0.70178914", "text": "private void MostrarDatos()\r\n {\r\n DefaultTableModel dtm = (DefaultTableModel) resutlado.getModel();\r\n \r\n try {\r\n BufferedReader leer = new BufferedReader(new FileReader(\"src/Datos/envios.txt\")); //archivo con los numeros de pedidos enviados\r\n BufferedReader leer2 = new BufferedReader(new FileReader(\"src/Datos/pedidos.txt\")); //archivos con todos los pedidos, enviados y sin enviar\r\n \r\n \r\n try {\r\n while(leer.ready())\r\n {\r\n \r\n dtm.addRow(new Object[]{leer.readLine(),\" SI\"});\r\n }\r\n while(leer2.ready())\r\n {\r\n \r\n dtm.addRow(new Object[]{leer2.readLine(),\" ?\"});\r\n }\r\n } catch (IOException ex) {\r\n \r\n }\r\n } catch (FileNotFoundException ex) {\r\n JOptionPane aviso = new JOptionPane();\r\n JOptionPane.showMessageDialog(aviso, \"NO HAY ENVIOS\", \"Aviso\", JOptionPane.WARNING_MESSAGE);\r\n }\r\n }", "title": "" }, { "docid": "87717a060cff0c2d2c491336c2f96499", "score": "0.70171356", "text": "private void cargarTablaPedidos(){\n for(int i=0; i<tPedidos.getRowCount(); i++){\n dtmPedidos.removeRow(i);\n i-=1;\n }\n SelectQuery<Record> query = create.selectQuery();\n query.addFrom(V_PEDIDOS);\n query.addOrderBy(V_PEDIDOS.FECHA.asc());\n query.addOrderBy(V_PEDIDOS.NUMERO.asc());\n Result<Record> result = query.fetch();\n for (Record r : result){\n Object[] row = {\n r.getValue(V_PEDIDOS.NUMERO),\n Fechero.baseToReal(r.getValue(V_PEDIDOS.FECHA)),\n r.getValue(V_PEDIDOS.NOMBRECLIENTE),\n r.getValue(V_PEDIDOS.PAGADO),\n r.getValue(V_PEDIDOS.DEBE),\n r.getValue(V_PEDIDOS.TOTAL),\n r.getValue(V_PEDIDOS.ESTADO)\n };\n dtmPedidos.addRow(row);\n }\n /*if(tPedidos.getRowCount()>0){\n tPedidos.changeSelection(0, 1, false, false);\n }*/\n }", "title": "" }, { "docid": "b436222495dfd8b50780a38e0a0f8720", "score": "0.6998754", "text": "public nombres() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.tabla.setModel(model);\n model.addColumn(\"0\");\n model.addColumn(\"1\");\n model.addColumn(\"2\");\n }", "title": "" }, { "docid": "d6a44ee39a73cda90ff2c0d27e984726", "score": "0.69986445", "text": "public formpom() {\n initComponents();\n datatable();\n PilihDataanggota();\n }", "title": "" }, { "docid": "d26ea43e7eea9b166bd61dd9106e747a", "score": "0.69969577", "text": "private DefaultTableModel inicializarTablaTrabajadores(DefaultTableModel modelo) {\n// \n modelo = new DefaultTableModel(null, new String[]{\"ID\", \"DPI\", \"Nombre\", \"Apellido\", \"Telefono\", \"Comision\", \"Direccion\", \"Salario Base\", \"Bono\", \"Inicio\", \"Fecha de Bono\"}){\n boolean[] canEdit = new boolean [] {\n false, false, false, false,false,false,false,false,false,false,false\n };\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n };\n return modelo;\n }", "title": "" }, { "docid": "638235519720e6a6838efbaa4ffd3f0e", "score": "0.69955236", "text": "public void getData_Makanan(){\n //kosongkan tabel\n model.getDataVector().removeAllElements();\n model.fireTableDataChanged();\n \n //eksekusi koneksi dan kirimkan query ke database\n try{\n //tes koneksi\n Statement stat = (Statement) koneksiRST.getKoneksi().createStatement();\n \n //perintah sql untuk membaca data dari tabel gaji \n String sql = \"SELECT * FROM tabel_makanan\";\n ResultSet res = stat.executeQuery(sql);\n \n //baca data\n while(res.next()){\n //membuat obyek berjenis array\n Object[] obj = new Object[4];\n obj[0]=res.getString(\"kode_makanan\");\n obj[1]=res.getString(\"nama_makanan\");\n obj[2]=res.getString(\"harga_makanan\");\n obj[3]=res.getString(\"satuan\");\n model.addRow(obj);\n }\n }catch(SQLException err){\n JOptionPane.showMessageDialog(null, err.getMessage());\n }\n }", "title": "" }, { "docid": "c0c26e2f6d12d40a1078c994dd477ac2", "score": "0.6991523", "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 jTable_tabla = new javax.swing.JTable();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n jTable_tabla.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"Title 1\", \"Title 2\", \"Title 3\", \"Title 4\"\n }\n ));\n jScrollPane1.setViewportView(jTable_tabla);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 761, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 470, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "a8f4f5030f19f35aa373060a1920ea88", "score": "0.6990638", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n btnCargar = new javax.swing.JButton();\n jScrollPane1 = new javax.swing.JScrollPane();\n tblData = new javax.swing.JTable();\n\n setClosable(true);\n setMaximizable(true);\n setResizable(true);\n setTitle(\"RESUMEN 001\");\n\n jLabel1.setBackground(java.awt.Color.black);\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 24)); // NOI18N\n jLabel1.setForeground(javax.swing.UIManager.getDefaults().getColor(\"CheckBoxMenuItem.selectionBackground\"));\n jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel1.setText(\"RESUMEN 001\");\n jLabel1.setOpaque(true);\n\n btnCargar.setText(\"Cargar Consulta\");\n btnCargar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCargarActionPerformed(evt);\n }\n });\n\n tblData.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"COD.SUCU.\", \"NOM. SUCU.\", \"SOLES\", \"DOLARES\"\n }\n ) {\n Class[] types = new Class [] {\n java.lang.String.class, java.lang.String.class, java.lang.Double.class, java.lang.Double.class\n };\n boolean[] canEdit = new boolean [] {\n false, false, false, false\n };\n\n public Class getColumnClass(int columnIndex) {\n return types [columnIndex];\n }\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n jScrollPane1.setViewportView(tblData);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 560, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnCargar, javax.swing.GroupLayout.PREFERRED_SIZE, 270, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(96, Short.MAX_VALUE))\n .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(1, 1, 1)\n .addComponent(btnCargar, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 164, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 161, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "e2d45b7354005f24414e254c8385566e", "score": "0.6979793", "text": "private void loadDataMotor(ArrayList<Motor> motors){\n //Instansiasi model tabel dan deklarasi variabel yang digunakan\n tablem = new DefaultTableModel();\n //Tambahkan semua kolom yang digunakan kedalam model tabel yang telah diinstansiasi\n tablem.addColumn(\"No\");\n tablem.addColumn(\"Kode Motor\");\n tablem.addColumn(\"Nama\");\n tablem.addColumn(\"Model\");\n tablem.addColumn(\"Warna\");\n tablem.addColumn(\"Tahun\");\n tablem.addColumn(\"Harga\");\n tablem.addColumn(\"Stok\");\n tablem.addColumn(\"Deskripsi\");\n \n //Perulangan loop for untuk memasukkan semua data ArrayList datak kedalam model tabel\n for(int i=0; i<motors.size(); i++){\n tablem.addRow(new Object[] {\n (i+1),\n motors.get(i).getKodeMotor(),\n motors.get(i).getNama(),\n motors.get(i).getModel(),\n motors.get(i).getWarna(),\n motors.get(i).getTahun(),\n motors.get(i).getHarga(),\n motors.get(i).getStok(),\n motors.get(i).getDeskripsi()\n });\n }\n //Set model JTable menjadi model tabel yang telah dibuat\n tabelmotor.setModel(tablem);\n }", "title": "" }, { "docid": "fbc5fa3b58c523364b05dfa7bd741b7b", "score": "0.6977448", "text": "public void select()\n {\n try {\n Connection con = koneksi.GetConnection();\n Statement st = con.createStatement();\n ResultSet rs = st.executeQuery(\"Select kd_sp,kd_plgn,nama_pelanggan,kd_sales,nama_sales,tgl from cek_pesanan \"\n + \"inner join pelanggan on kd_plgn = kd_pelanggan inner join sales on no_sales=kd_sales\");\n DefaultTableModel tabel_tes = new DefaultTableModel();\n tabel_tes.addColumn(\"Kd SP\");\n tabel_tes.addColumn(\"KD Pelanggan\");\n tabel_tes.addColumn(\"Nama Pelanggan\");\n tabel_tes.addColumn(\"Kd Sales\");\n tabel_tes.addColumn(\"Nama Sales\");\n tabel_tes.addColumn(\"Tanggal\");\n while (rs.next()) { \n tabel_tes.addRow(new Object[]{\n rs.getString(\"kd_sp\"),\n rs.getString(\"kd_plgn\"),\n rs.getString(\"nama_pelanggan\"),\n rs.getString(\"kd_sales\"),\n rs.getString(\"nama_sales\"),\n rs.getString(\"tgl\"),\n });\n jTable2.setModel(tabel_tes);\n// jTable2.setModel(DbUtils.resultSetToTableModel(rs));\n }\n } catch (SQLException sqlEx) {\n System.out.println(sqlEx.getMessage());\n }\n finally {\n jTable2.getColumnModel().getColumn(0).setPreferredWidth(80);\n jTable2.getColumnModel().getColumn(1).setPreferredWidth(70);\n jTable2.getColumnModel().getColumn(2).setPreferredWidth(180);\n jTable2.getColumnModel().getColumn(3).setPreferredWidth(50);\n jTable2.getColumnModel().getColumn(4).setPreferredWidth(100);\n jTable2.getColumnModel().getColumn(5).setPreferredWidth(75);\n }\n }", "title": "" }, { "docid": "bdfbc3f4acf28d1af7150ddf546e77c9", "score": "0.6976424", "text": "private void initTable()\n {\n tableModel = new FarmaTableModel(ConstantsInventario.columnsListaTransferenciasRealizadas,ConstantsInventario.defaultValuesListaTransferenciasRealizadas,0);\n FarmaUtility.initSimpleList(tblListaTransferencias,tableModel,ConstantsInventario.columnsListaTransferenciasRealizadas);\n filtro = \"%\";\n cargaListaTransferencias();\n }", "title": "" }, { "docid": "fcf9b1fa2a4184653dcf97f7d69b0595", "score": "0.69762135", "text": "public void Show_Pacient_In_Table() {\n\n ArrayList<Pagesa> list = getPacientList();\n\n DefaultTableModel model = (DefaultTableModel) jTable_pagesat.getModel();\n\n //clear jtable content\n model.setRowCount(0);\n\n Object[] row = new Object[8];\n\n for (int i = 0; i < list.size(); i++) {\n\n row[0] = list.get(i).getId();\n\n row[1] = list.get(i).getEmri();\n\n row[2] = list.get(i).getMbiemri();\n\n row[3] = list.get(i).getIneksionet();\n\n row[4] = list.get(i).getCmimi();\n\n model.addRow(row);\n\n }\n }", "title": "" } ]
e9bd66bf2ded280aaec80d478dbb24b1
Camera view Constructor for our DrawGame panel, used to draw the game
[ { "docid": "615682d1d1e2d0041e1099eb0b9a9af7", "score": "0.0", "text": "public DrawStage(Game game) {\n\t\tthis.game = game;\n\t\tx1 = 0;\n\t\tx2 = 640;\n\t\ty1 = 0;\n\t\ty2 = 480;\n\t\tsetup();\n\t\tsetVisible(true);\n\t}", "title": "" } ]
[ { "docid": "cd1fb03511950101459fd1915cd7dd0b", "score": "0.7236854", "text": "public GameCamera (int width, int height) {\n cam = new OrthographicCamera();\n viewport = new StretchViewport(width, height, cam);\n viewport.apply();\n cam.position.set(width / 2, height / 2, 0);\n cam.update();\n }", "title": "" }, { "docid": "810f3f3e078c2f22e4f68989432b6489", "score": "0.7231612", "text": "public View() {\r\n initComponents();\r\n\r\n gameController = new GameController(this, scorePanel);\r\n image = new BufferedImage(FRAME_WIDTH, 850, BufferedImage.TYPE_INT_ARGB);\r\n }", "title": "" }, { "docid": "2bce9a6d99d2fe7e7697b396a77da34d", "score": "0.718807", "text": "public ModelCamera()\r\n\t{\r\n\t\t/*\r\n\t\t * ModelCamera();\r\n\t\t */\r\n\t\tm_wndHeight = 0;\r\n\t\tm_wndWidth = 0;\r\n\t\tm_zoom = -10;\r\n\t\tm_rotAngle = 0;\r\n\t\tm_mode = kMODE.IDLE;\r\n\t\tm_panX = 0;\r\n\t\tm_panY = 0;\r\n\t\tm_rotAxis = new Vector3(0, 1, 0);\r\n\t\tm_start = new Vector3();\r\n\t\tm_RotMatrix = new Matrix4();\r\n\t\tm_RotMatrix.loadIdentity();\r\n\t\t\r\n\t\t//m_gl = p_gl;\r\n\t}", "title": "" }, { "docid": "ed091921d7d66afcfdc247f7f384d273", "score": "0.71750164", "text": "public View() {\n aspect = 1f;\n projection = new Matrix4f();\n modelViewWorld = new Stack<>();\n trackballRadius = 300;\n trackballTransform = new Matrix4f();\n scenegraph = null;\n screenCaptureUtil = null;\n cameraPosition = new Vector3f(0, 0, 500);\n centerPosition = new Vector3f(0, 0, 0);\n angleOfView = 120;\n }", "title": "" }, { "docid": "0c64211d658190276259a4ee81f2fdc1", "score": "0.69042534", "text": "public Camera(){\r\n\t\t\r\n\t\tthis.pos = new Vector3f(0, 0, 0);\r\n\t\tthis.direction = Vector3f.forward;\r\n\t\tthis.fov = 90;\r\n\t\tthis.projectionPlane = new ProjectionPlane();\r\n\t\t\r\n\t\tthis.update();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "03bcdce0b8e86cb813eb4ae4bcb03a04", "score": "0.68939227", "text": "public World(HCamera view) {\n \t this(new PostOffice(), view);\n \t }", "title": "" }, { "docid": "16fcf6bc053f18a36cdfa38778591736", "score": "0.6862822", "text": "public CameraPanel() {\n initComponents();\n }", "title": "" }, { "docid": "634a68945d3a6911731db278b336ebfd", "score": "0.67906153", "text": "public Camera2D() {\n this(DEFAULT_LEFT, DEFAULT_BOTTOM, Crispin.getSurfaceWidth(), Crispin.getSurfaceHeight());\n }", "title": "" }, { "docid": "0bdf914adcbf39d6605f2abb1a3e2d8b", "score": "0.6768315", "text": "public View() {\n proj = new Matrix4f().identity();\n lookAt = new Matrix4f().identity();\n rotation = new Matrix4f().identity();\n }", "title": "" }, { "docid": "5b8d5d7d2f8002f91b67789c1116a232", "score": "0.67664164", "text": "public Camera() {\n updateProjection();\n }", "title": "" }, { "docid": "085f59532ce37ea086dad12b1ae36eba", "score": "0.67491627", "text": "public Camera(GameContainer gc) {\n\t\tthis.gc = gc;\n\t\tx = 0;\n\t\ty = 0;\n\t\thorizontalCentering = true;\n\t\tverticalCentering = true;\n\t}", "title": "" }, { "docid": "adaf8ed1de326ee7e0b89de4071c7048", "score": "0.67276955", "text": "public Camera() {\n this(new Vector3(1, 1, -2), new Vector3(0,0,1), new Vector3(0,1,0));\n }", "title": "" }, { "docid": "657b631b2f2e64e0ef6e6c4aef592b2f", "score": "0.66445976", "text": "public ViewPlane(Camera camera) {\r\n\t\tthis(camera, 90);\r\n\t}", "title": "" }, { "docid": "a0bcd7245cf549c4d7d2a5c739119791", "score": "0.6636458", "text": "public abstract void drawGame(GL10 gl, Camera camera);", "title": "" }, { "docid": "d0d102d1b5b13460d190e36a6c04875c", "score": "0.65688264", "text": "protected void toGameView() {\n gameview = new GameView(this, screenwidth, screenheight, 10, 3);\n this.setContentView(gameview);\n }", "title": "" }, { "docid": "59621e523c01b835af3de04171ab6270", "score": "0.65277904", "text": "public Camera() {\n\t\tthis.scale = 1.0;\n\t\tthis.translation = new Vector2();\n\t}", "title": "" }, { "docid": "44852b744b61b562097fd301db009819", "score": "0.6526062", "text": "public Camera(GameObject gameObject) {\n\t\tsuper(new Vec2(0, 0), null, false);\n\t\ttarget = gameObject;\n\t}", "title": "" }, { "docid": "643677e497c4567af1e4a553113e0e62", "score": "0.6524857", "text": "public GameSceneCameraController(GameScene scene) {\n super();\n getTransforms().addAll(t, p, rx, rz, ry, s, ip);\n\n camera = scene.getCamera();\n this.getChildren().add(camera);\n\n zoomLevel = new SimpleFloatProperty(MAX_ZOOM*0.7f);\n // bind zoomLevel to y property of the camera\n camera.translateZProperty().bind(zoomLevel);\n camera.setRotate(180f);\n\n chartHeight = new SimpleFloatProperty(400f);\n scene.chartTranslateY().bind(chartHeight);\n bindEvents(scene);\n }", "title": "" }, { "docid": "5cf12c269732cf009be1d9989e686bb2", "score": "0.65125865", "text": "public Screen() {\n\t\ttry {\n\t\t\tDisplay.setDisplayMode(new DisplayMode(WIDTH, HEIGHT));\n\t\t\tDisplay.setTitle(\"Avocado \" + Theater.version + \" FPS: \" + Theater.fps + \" Full of Bugs Edition\");\n\t\t\ttry {\n\t\t\t\tDisplay.setIcon(loadIcon(System.getProperty(\"resources\") + \"/ui/Icon.png\"));\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.out.println(\"Failed to load icon\");\n\t\t\t}\n\t\t\tDisplay.setResizable(true);\n\t\t\tDisplay.create();\n\n\t\t\tGL11.glEnable(GL11.GL_TEXTURE_2D);\n\t\t\tGL11.glDisable(GL11.GL_DEPTH_TEST);\n\t\t\tGL11.glMatrixMode(GL11.GL_PROJECTION);\n\t\t\tGL11.glLoadIdentity();\n\t\t\tGL11.glOrtho(0, WIDTH, HEIGHT, 0, -1, 1);\n\t\t\tGL11.glViewport(0, 0, displayWidth, displayHeight);\n\t\t} catch (LWJGLException e) {\n\t\t\tSystem.err.println(\"Could not create display.\");\n\t\t}\n\t\t\t\n\t\tcamera = new Rectangle2D.Double(0, 0, displayWidth, displayHeight);\n\t}", "title": "" }, { "docid": "0de8d0ad1a5a07165a9a6974fecf8806", "score": "0.64936566", "text": "public Game() {\r\n\r\n // make the world\r\n GameWorld world = new GameWorld();\r\n world.setGravity(15);\r\n\r\n // make a view starting with level 1\r\n view = new GameView(world, 800, 500);\r\n view.setZoom(20);\r\n world.setView(view);\r\n\r\n PlayerController playerController = new PlayerController(world.getPlayers());\r\n view.addKeyListener(playerController);\r\n\r\n view.addMouseListener(new GiveFocus(view));\r\n\r\n // add the view to a frame (Java top level window)\r\n final JFrame frame = new JFrame(\"Football heads\");\r\n frame.add(view);\r\n // enable the frame to quit the application\r\n // when the x button is pressed\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n frame.setLocationByPlatform(true);\r\n // don't let the frame be resized\r\n frame.setResizable(false);\r\n // size the frame to fit the world view\r\n frame.pack();\r\n // finally, make the frame visible\r\n frame.setVisible(true);\r\n\r\n // uncomment this to make a debugging view\r\n //JFrame debugView = new DebugViewer(world, 500, 500);\r\n\r\n // start our game world simulation!\r\n world.start();\r\n }", "title": "" }, { "docid": "f4ac34909ee309008d3971592ff3f829", "score": "0.6474224", "text": "public Camera()\r\n {\r\n needUpdate = true;\r\n apply();\r\n }", "title": "" }, { "docid": "afb38c64a35e343d7b78466f14d540c3", "score": "0.646025", "text": "public Game() \n {\n gameModel = new GameModel();\n \n gameView = new GameView(gameModel);\n gameModel.addObserver(gameView);\n gameModel.addGameView(gameView);\n\n }", "title": "" }, { "docid": "a959b1c7a283bc94a65962e5db904da5", "score": "0.63948846", "text": "@Override\n public void init() {\n mCamera2D = new Camera2D();\n\n //create instance of 3D camera and position it\n mCamera3D = new Static3DCamera(0, 1, -7);\n //enable 3D projection\n mCamera3D.initializePerspective();\n\n //get frustum visible area\n Rectangle2D visibleArea = mCamera2D.getVisibleArea();\n\n double squareSize = 0.2;\n Point leftBottom = new Point(visibleArea.getMinX(),visibleArea.getMaxY() - squareSize);\n Point rightTop = new Point(visibleArea.getMinX() + squareSize,visibleArea.getMaxY());\n\n Rectangle rec = new Rectangle(leftBottom,rightTop);\n// mColorSquare = new ColorSquare(rec);\n\n }", "title": "" }, { "docid": "92a365b6a30303fe871b9c3505083433", "score": "0.63747567", "text": "public GameView(GameModel model) {\n this.model = model;\n this.tiles = new ArrayList<JButton>();\n\n\n // Set various GUI related settings\n background = new GameBackground();\n this.getContentPane().add(background);\n\n this.setSize(Constants.WIDTH, Constants.HEIGHT);\n this.setLocationRelativeTo(null);\n this.setResizable(false);\n this.setFocusable(true);\n }", "title": "" }, { "docid": "6eec96207f8487b3e6297c36c4133f39", "score": "0.63499343", "text": "public GameView(Context context) {\n //call super method\n super(context);\n //this function initializes the view and starts the game thread\n initView();\n }", "title": "" }, { "docid": "8926d398296fdfb2e23b2c4685853a51", "score": "0.63479143", "text": "public GameController(GameModel theModel, GameView theView)\n {\n this.theModel = theModel;\n this.theView = theView;\n theView.show();\n theView.addBoxListeners(new ButtonListener());\n theView.addForFeitAndResetListeners(new ForfeitAndNewListener());\n theView.addUndoListeneer(new UndoListener());\n theView.changePlayerPaneColor(STARTING_PLAYER_COLOR);\n }", "title": "" }, { "docid": "c66ba95c6566fb90cec70abc4eeed06a", "score": "0.63465637", "text": "private void display()\n\t{\n\t\tGdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT | GL20.GL_DEPTH_BUFFER_BIT);\n\n\t\tGdx.gl.glEnable(GL20.GL_DEPTH_TEST);\n\t\t//Gdx.gl.glDisable(GL20.GL_DEPTH_TEST);\n/*\n\t\tGdx.gl.glEnable(GL20.GL_BLEND);\n\t\tGdx.gl.glBlendFunc(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA);\n\t\t//Gdx.gl.glBlendFunc(GL20.GL_ONE, GL20.GL_ONE);\n\t\t//Gdx.gl.glBlendFunc(GL20.GL_SRC_ALPHA, GL20.GL_ONE);\n*/\n\t\tfor(int viewNum = 0; viewNum < 2; viewNum++)\n\t\t{\n\t\t\tif(viewNum == 0)\n\t\t\t{\n\t\t\t\tGdx.gl.glViewport(0, 0, Gdx.graphics.getWidth() / 2, Gdx.graphics.getHeight());\n\t\t\t\tcam.perspectiveProjection(fov, (float)Gdx.graphics.getWidth() / (float)(2*Gdx.graphics.getHeight()), 0.2f, 100.0f);\n\t\t\t\tshader.setViewMatrix(cam.getViewMatrix());\n\t\t\t\tshader.setProjectionMatrix(cam.getProjectionMatrix());\n\t\t\t\tshader.setEyePosition(cam.eye.x, cam.eye.y, cam.eye.z, 1.0f);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tGdx.gl.glViewport(Gdx.graphics.getWidth() / 2, 0, Gdx.graphics.getWidth() / 2, Gdx.graphics.getHeight());\n\t\t\t\ttopCam.look(new Point3D(cam.eye.x, 20.0f, cam.eye.z), cam.eye, new Vector3D(0,0,-1));\n\t\t\t\t//orthoCam.look(new Point3D(7.0f, 40.0f, -7.0f), new Point3D(7.0f, 0.0f, -7.0f), new Vector3D(0,0,-1));\n\t\t\t\ttopCam.perspectiveProjection(30.0f, (float)Gdx.graphics.getWidth() / (float)(2*Gdx.graphics.getHeight()), 3, 100);\n\t\t\t\tshader.setViewMatrix(topCam.getViewMatrix());\n\t\t\t\tshader.setProjectionMatrix(topCam.getProjectionMatrix());\n\t\t\t\tshader.setEyePosition(topCam.eye.x, topCam.eye.y, topCam.eye.z, 1.0f);\n\t\t\t}\n\n\t\n\t\t\t//BoxGraphic.drawOutlineCube();\n\t\t\t//SphereGraphic.drawSolidSphere();\n\t\t\t//SphereGraphic.drawOutlineSphere();\n\n\n\t\t\tModelMatrix.main.loadIdentityMatrix();\n\n\t\t\t//ModelMatrix.main.addRotationZ(angle);\n\n\t\t\tfloat s = (float)Math.sin((angle / 2.0) * Math.PI / 180.0);\n\t\t\tfloat c = (float)Math.cos((angle / 2.0) * Math.PI / 180.0);\n\n\t\t\tshader.setLightPosition(0.0f + c * 3.0f, 5.0f, 0.0f + s * 3.0f, 1.0f);\n\t\t\t//shader.setLightPosition(3.0f, 4.0f, 0.0f, 1.0f);\n\t\t\t//shader.setLightPosition(cam.eye.x, cam.eye.y, cam.eye.z, 1.0f);\n\n\n\t\t\tfloat s2 = Math.abs((float)Math.sin((angle / 1.312) * Math.PI / 180.0));\n\t\t\tfloat c2 = Math.abs((float)Math.cos((angle / 1.312) * Math.PI / 180.0));\n\n\t\t\tshader.setSpotDirection(s2, -0.3f, c2, 0.0f);\n\t\t\t//shader.setSpotDirection(-cam.n.x, -cam.n.y, -cam.n.z, 0.0f);\n\t\t\tshader.setSpotExponent(0.0f);\n\t\t\tshader.setConstantAttenuation(1.0f);\n\t\t\tshader.setLinearAttenuation(0.00f);\n\t\t\tshader.setQuadraticAttenuation(0.00f);\n\n\t\t\t//shader.setLightColor(s2, 0.4f, c2, 1.0f);\n\t\t\tshader.setLightColor(1.0f, 1.0f, 1.0f, 1.0f);\n\t\t\t\n\t\t\tshader.setGlobalAmbient(0.3f, 0.3f, 0.3f, 1);\n\n\t\t\t//shader.setMaterialDiffuse(s, 0.4f, c, 1.0f);\n\t\t\tshader.setMaterialDiffuse(1.0f, 1.0f, 1.0f, 1.0f);\n\t\t\tshader.setMaterialSpecular(1.0f, 1.0f, 1.0f, 1.0f);\n\t\t\t//shader.setMaterialSpecular(0.0f, 0.0f, 0.0f, 1.0f);\n\t\t\tshader.setMaterialEmission(0, 0, 0, 1);\n\t\t\tshader.setShininess(50.0f);\n\n\t\t\tModelMatrix.main.pushMatrix();\n\t\t\tModelMatrix.main.addTranslation(0.0f, 4.0f, 0.0f);\n\t\t\tModelMatrix.main.addRotation(angle, new Vector3D(1,1,1));\n\t\t\tshader.setModelMatrix(ModelMatrix.main.getMatrix());\n\n\t\t\tBoxGraphic.drawSolidCube(shader, tex);\n\t\t\t//model.draw(shader);\n\n\t\t\tModelMatrix.main.popMatrix();\n\t\n\t\t\tdrawPyramids();\n\t\t}\n\t}", "title": "" }, { "docid": "af1828e945717aaf5b7f31128b30aa8f", "score": "0.63398635", "text": "public GamePanel() {\r\n\t\t\r\n\t\tthis.setBounds(0, 0, WIDTH, HEIGHT);\r\n\t\tthis.setFocusable(true);\r\n\t\tthis.setBackground(Color.BLACK);\r\n\t\t\r\n\t\tstart();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "492801f3c08f3deb48e33292a902ac26", "score": "0.6323304", "text": "private void setupCamera(float partialTicks) {\n glMatrixMode(GL_PROJECTION);\n glLoadIdentity();\n\n // Set camera perspective\n gluPerspective(70, width / (float) height, 0.05F, 1000);\n\n glMatrixMode(GL_MODELVIEW);\n glLoadIdentity();\n\n // Move camera to middle of level\n moveCameraToPlayer(partialTicks);\n }", "title": "" }, { "docid": "8a55bee23600e4a899c8650c9e6abeed", "score": "0.63144505", "text": "public static void initview(){\r\n\t\tglViewport(0, 0, Display.getWidth(), Display.getHeight());\r\n\t\tglMatrixMode(GL_PROJECTION);\t\t\t\t\t// We'll use orthogonal projection.\r\n\t\tglLoadIdentity();\t\t\t\t\t\t\t\t\t// REset the current matrix.\r\n\t\tglOrtho(0, Display.getWidth(), top, bottom, 1, -1);\r\n\t\tglMatrixMode(GL_MODELVIEW);\t\r\n\t}", "title": "" }, { "docid": "be3dd852ae3a68abd19213db52a8452c", "score": "0.6285242", "text": "public GLScreen() {\n// super(game);\n// glGameApp = game;\n glGraphics = AndroidGameGlobal.glGraphics;\n }", "title": "" }, { "docid": "cce1d78efd542ccb55794fa6fd7f76b7", "score": "0.6252614", "text": "public GameView (GameLev lev, int width, int height) {\r\n\r\n super(lev, width, height);\r\n this.lev = lev;\r\n levelOneBack = new ImageIcon(\"data/glacier.png\").getImage();\r\n levelTwoBack = new ImageIcon(\"data/parallax1.png\").getImage();\r\n levelThreeBack = new ImageIcon(\"data/far-buildings.png\").getImage();\r\n\r\n\r\n }", "title": "" }, { "docid": "e106ab7086f7a0f8838adb1d562a7cb2", "score": "0.62385684", "text": "public Camera(float xMinUnits, float yMinUnits) {\n this.xMinUnits = xMinUnits;\n this.yMinUnits = yMinUnits;\n\n viewMatrix = new Matrix4f();\n recalculate();\n }", "title": "" }, { "docid": "f60f9d0df4e36415e4a16ec45a617921", "score": "0.62303066", "text": "public World(int portIn, int portOut, HCamera view) {\n \t this(new PostOffice(portIn, portOut), view);\n \t }", "title": "" }, { "docid": "ab4207b37189494e79980605088764db", "score": "0.62148166", "text": "void initView(){\n //get the holder\n SurfaceHolder holder = getHolder();\n //add callback\n holder.addCallback(this);\n setFocusable(true);\n //create game thread\n gameThread = new GameThread(holder);\n }", "title": "" }, { "docid": "b28816ba008f6a3f207565718846e74a", "score": "0.6202403", "text": "protected DisplayPanel() {\r\n super();\r\n myGameOver = false;\r\n myGamePaused = false;\r\n myActiveTheme = LIGHT_THEME;\r\n build();\r\n setBackground(Color.LIGHT_GRAY);\r\n setLayout(DEFAULT_LAYOUT);\r\n }", "title": "" }, { "docid": "8f49b183fbf8e510006b2b1f566b39b8", "score": "0.61916184", "text": "public SurfaceCanvas(){\r\n\t\tsuper();\r\n\t\tprojector = new Projector();\r\n\t\tprojector.setDistance(65);\r\n\t\tprojector.set2DScaling(11);\r\n\t\tprojector.setRotationAngle(220);\r\n\t\tprojector.setElevationAngle(25);\r\n\t\tPoint3D.setProjector(projector);\r\n\t}", "title": "" }, { "docid": "922c901385805c1eace24bba91e55aaf", "score": "0.6191017", "text": "public MyCameraView(Context context,Camera camera){\n super(context);\n con=context;\n mCamera=camera;\n mHolder=getHolder();\n mHolder.addCallback(this);\n mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);\n }", "title": "" }, { "docid": "3ccbf056fcd07f6fd5c7cfd8310da404", "score": "0.617947", "text": "public GameController() {\n\t\tgameView = new GameView();\n\t\tgame = new Game(gameView);\n\n\t\tsetupListeners();\n\t}", "title": "" }, { "docid": "1bc5d70e3deff103036b818fa30dc6f7", "score": "0.6157493", "text": "public PlayerView() {\n initComponents();\n }", "title": "" }, { "docid": "1bc5d70e3deff103036b818fa30dc6f7", "score": "0.6157493", "text": "public PlayerView() {\n initComponents();\n }", "title": "" }, { "docid": "e9185df1bae15cd6a1f95cd66240ec82", "score": "0.61564314", "text": "public void setCamera ()\n { \n GLU.gluLookAt(\n \t\t(float)myCamFrom.x, (float)myCamFrom.y, (float)myCamFrom.z, // from position\n \t\t(float)myCamTo.x, \t(float)myCamTo.y, \t(float)myCamTo.z, // to position\n \t\t(float)myCamUp.x, \t(float)myCamUp.y, \t(float)myCamUp.z);\n }", "title": "" }, { "docid": "1eefafa8e1146bcc0fe0275040054fa3", "score": "0.6152683", "text": "GameController(MainView mainView) {\n this.mainView=mainView;\n connect = new Connection(mainView);\n openGameView();\n }", "title": "" }, { "docid": "0ffe2d259a4e17c4a368098a0b234073", "score": "0.61495703", "text": "public Rect getCamView() {\n\t\treturn _camView;\n\t}", "title": "" }, { "docid": "6b2b87fdc411fa84c0553c9784820ffd", "score": "0.6137069", "text": "public GamePanel() {\n initComponents();\n SquareMatrix.initMatrix();\n this.requestFocus();\n nextObj = -1;\n score = 0;\n level = 1;\n gameStatus = -1;\n }", "title": "" }, { "docid": "f58614f5a10d49c1c1151e4677ccaf74", "score": "0.61252666", "text": "public Screen(Game game)\n {\n this.game = game;\n }", "title": "" }, { "docid": "85f873b9669f581b7bbfcc787b211a17", "score": "0.6124255", "text": "public CartographyView(Context context){\n super(context); // On utilise le context comme la classe SurfaceView\n gSurfaceHolder = getHolder();\n gSurfaceHolder.addCallback(this); //On associe un holder à la surface view et on permet les callbacks\n\n gThread = new DrawingThread();\n\n gPaint = new Paint();\n if(Config.CHOIX_STYLE == 0) {\n gPaint.setStyle(Paint.Style.STROKE);\n }\n else{\n gPaint.setStyle(Paint.Style.FILL);\n }\n gRobot = new Robot();\n }", "title": "" }, { "docid": "b9c7034febd3907d1723383ad9b0b946", "score": "0.61168724", "text": "public GameGLView(Context context)\n {\n\t super(context);\n\t _level = new GameLevel();\n\t this.setRenderer(_level);\n }", "title": "" }, { "docid": "9b176b7d73efa5621cc0e4a751d8dcf3", "score": "0.61060095", "text": "public RowGameController() {\n\tgameModel = new RowGameModel();\n\tgameView = new RowGameGUI(this);\n\t\n\tresetGame();\n }", "title": "" }, { "docid": "769d504494cb3dcf742035d8d3ec567a", "score": "0.6100699", "text": "@SuppressWarnings(\"rawtypes\")\n \tpublic World(PostOffice postOffice, HCamera view) {\n \t\t\n \t\tassert postOffice != null : \"World constructor: postOffice must be a valid PostOffice\";\n \t\tassert view != null : \"World constructor: camera must be a valid Camera\";\n \t\t\n \t\t//set the World's PApplet to the one set in Hermes\n \t\t_postOffice = postOffice;\n \t\t_camera = view;\n \t\t\n \t\t_interactions = new LinkedList<Interaction>();\n \t\t_addQueue = new LinkedList<Pair<HObject,GenericGroup<?,?>>>();\n \t\t_removeQueue = new LinkedList<Pair<HObject,GenericGroup<?,?>>>();\n \t\t_removeFromAllGroupsQueue = new LinkedList<HObject>();\n \t\t_groupsToUpdate = new LinkedList<GenericGroup<?,?>>();\n \t\t\n \t\t_masterGroup = new Group<Being>(this);\n \t\t_updateGroup = new Group<Being>(this);\n \t\t\n \t\t//initialize the Camera\n \t\tregister(_camera, true);\n \t\t_cameraGroup = new Group<HCamera>(this);//make _cameraGroup\n \t\t_cameraGroup.add(_camera);//add _camera to _cameraGroup\n \t\t//register an Interaction between _cameraGroup and _masterGroup\n \t\tthis.register(_cameraGroup, _masterGroup, new CameraBeingInteractor());\n \n \t\tlockUpdateRate(60); // lock the update rate to 60 updates/sec by default\n \t}", "title": "" }, { "docid": "16b9de6ec74cedd7652eccc2d33dbe5e", "score": "0.6084216", "text": "public ViewPlane(Camera camera, int resolution_width, int resolution_height, double field_of_view) {\r\n\t\tthis.camera = camera;\r\n\r\n\t\tthis.field_of_view = Math.toRadians(field_of_view);\r\n\t\tfield_of_view_factor = Math.tan(this.field_of_view / 2);\r\n\r\n\t\tthis.resolution_width = resolution_width;\r\n\t\tthis.resolution_height = resolution_height;\r\n\t\tresolution = resolution_width * resolution_height;\r\n\r\n\t\tpixels = new Pixel[resolution];\r\n\r\n\t\tambientLighting = 1;\r\n\t}", "title": "" }, { "docid": "1c7422e6a44aa06442d9c358e684348c", "score": "0.60824734", "text": "public Container(Game game) {\r\n \t\t\tsuper(game);\r\n \t\t\t\r\n \t\t\twidth = CanvasGameContainer.this.getWidth();\r\n \t\t\theight = CanvasGameContainer.this.getHeight();\r\n \t\t}", "title": "" }, { "docid": "21d7c83540ea05b06dd298eff3203c6a", "score": "0.6080904", "text": "private void initCamera() {\n mCamera = getCameraInstance();\n\n mCamera.setDisplayOrientation(90);\n // Create our Preview view and set it as the content of our activity.\n mPreview = new CameraPreview(this, mCamera);\n FrameLayout preview = (FrameLayout) findViewById(R.id.camera_preview);\n preview.addView(mPreview);\n }", "title": "" }, { "docid": "b92cf4c51e2108be27b5c008d48cfe2f", "score": "0.6066762", "text": "public game_panel() {\n random = new Random();\n this.setBounds(0, 0, screen_width, screen_height);\n //this.setPreferredSize(new Dimension(screen_width, screen_height)); // preparing screen size\n this.setBackground(Color.BLACK); // backgroud colore of game\n this.setFocusable(true); // for get focus to listers\n this.addKeyListener(new my_key_adapter()); // listining action\n startGame(); // run/call start game\n }", "title": "" }, { "docid": "45caa7e9eb579190d2e8a14eb92a8266", "score": "0.606557", "text": "public ViewPlane(Camera camera, double fieldOfView) {\r\n\t\tthis(camera, 400, 400, fieldOfView);\r\n\t}", "title": "" }, { "docid": "651f59f3931954dc6a7093c33dfdc65a", "score": "0.6058754", "text": "public GCustomView() {\n\n viewInputHandler = new GCustomViewInputHandler();\n viewLimits = new GCustomViewLimits();\n\n _inputState = GInputState.ORBIT;\n\n _collisionSupport.setCollisionThreshold(COLLISION_THRESHOLD);\n _collisionSupport.setNumIterations(COLLISION_NUM_ITERATIONS);\n getViewInputHandler().setStopOnFocusLost(false);\n loadConfigurationValues();\n }", "title": "" }, { "docid": "ee3732db5ac835678a59320214cad046", "score": "0.6053494", "text": "public CameraDisplay(String path, int player1x, int player1y, int player2x, int player2y) {\n\t\tSystem.loadLibrary(\"opencv_java341\");\n\t\tthis.path = path;\n\t\tthis.player1x=player1x;\n\t\tthis.player1y=player1y;\n\t\tthis.player2x=player2x;\n\t\tthis.player2y=player2y;\n\t}", "title": "" }, { "docid": "d73b737687c05c5524b05c960a9df222", "score": "0.6049997", "text": "public GamePanel()\n\t{\n\t\tthis.init();\n\t\tthis.addKeyListener(this);\n\t\tthis.setFocusable(true);\n\t\tthis.setFocusTraversalKeysEnabled(false);\n\t\t\n\t\tthis.timer.start();\n\t\tthis.animation_timer.start();\n\t\tthis.menu_timer.start();\n\t}", "title": "" }, { "docid": "ac65a1189aad1a71b335dabebf6e2baa", "score": "0.60446185", "text": "public GameController(Game game, GameView view, boolean canRoll,\n boolean canBuy, boolean canMortgage, boolean canDraw) {\n this.game = game;\n this.view = view;\n this.canRoll = canRoll;\n this.canBuy = canBuy;\n this.canMortgage = canMortgage;\n this.canDraw = canDraw;\n\n }", "title": "" }, { "docid": "5bf362a9c73e167f74294a321b77f781", "score": "0.6030144", "text": "public GamePanel(Game m, int rx, int ry, int mx, int my) {\r\n setLayout(null);\r\n addMouseMotionListener(this);\r\n addMouseListener(this);\r\n setFocusable(true);\r\n addKeyListener(this);\r\n\r\n cam = new Camera(rx, ry, mx, my);\r\n\r\n map = new SMap(mPic, rx, ry, cam, mx, my, \"mapInfo.txt\");\r\n map.initialize();\r\n\r\n vision = new Vision(map);\r\n\r\n miniMap = new MiniMap(miniPic, map, cam, 0, 446, 224, 224);\r\n\r\n mainFrame = m;\r\n setSize(rx, ry);\r\n\r\n spriteBase = new SpriteDataBase();\r\n loadSoundBase();\r\n audioTimePassed = 100;\r\n audioDelay = 100;\r\n soundsPlayed = 0;\r\n maxSounds = 4;\r\n mineralSound = false;\r\n\r\n keys = new boolean[10000];\r\n keysUsing = new boolean[10000];\r\n selectedPt = null;\r\n oldPt = null;\r\n curPt = null;\r\n selectingRect = null;\r\n selectingPoint = null;\r\n ansRect = null;\r\n atkMove = false;\r\n\r\n goodGuy = new Player(this, 0);\r\n badGuy = new Player(this, 1);\r\n neutral = new Player(this, -1);\r\n\r\n mineralText = new JLabel(goodGuy.getMinerals() + \"hello\");\r\n mineralText.setFont(new Font(\"Comic Sans MS\", Font.BOLD, 20));\r\n mineralText.setSize(120, 40);\r\n mineralText.setLocation(1014, 9);\r\n mineralText.setForeground(Color.green);\r\n add(mineralText);\r\n\r\n addBase1(goodGuy, neutral);\r\n addBase2(badGuy, neutral);\r\n addBase3(badGuy, neutral);\r\n addGroup1(badGuy);\r\n addGroup2(badGuy);\r\n\r\n }", "title": "" }, { "docid": "0c09c3a63b01cf53b53946617d4ee20c", "score": "0.6019185", "text": "private void initViews() {\n requestWindowFeature(Window.FEATURE_NO_TITLE);\n getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);\n\n // Inflate view.\n setContentView(R.layout.activity_capture_mrz_idv);\n\n // Side menu with steps.\n mLayoutTutorial = findViewById(R.id.mrz_view_capture_tutorial_layout);\n\n // Camera preview frame. Used as step detail parent.\n mLayoutPreview = findViewById(R.id.mrz_view_capture_preview_layout);\n\n // Capture Frame\n mCaptureFrame = findViewById(R.id.mrz_capture_frame);\n mCaptureFrameMrz = findViewById(R.id.capture_frame_mrz);\n\n resizeCaptureFrame();\n\n // Camera & Overlay for MRZ\n mCamera = findViewById(R.id.mrz_camera);\n mDrawOverlayView = findViewById(R.id.mrz_draw_overlay);\n\n // Load side panel with steps based on configuration.\n loadTutorialSteps();\n }", "title": "" }, { "docid": "7cdba386403620900dac00e5f9991576", "score": "0.6015583", "text": "@Override\n\tpublic void render(Camera camera) {\n\t}", "title": "" }, { "docid": "d08225047be185aee8cfa6b997e65817", "score": "0.60142106", "text": "public Camera(double levelWidth, double levelHeight, double camWidth, double camHeight) {\n\t\tthis.levelWidth = levelWidth;\n\t\tthis.levelHeight = levelHeight;\n\t\tthis.camWidth = camWidth;\n\t\tthis.camHeight = camHeight;\n\t}", "title": "" }, { "docid": "415191f63420bb8f65768b86331c5680", "score": "0.60113764", "text": "public Display (String[] args)\n {\n myCamFrom = new Point3();\n myCamTo = new Point3();\n myCamUp = new Point3();\n \tss = new SolarSystem();\n setDefaultCamera();\n }", "title": "" }, { "docid": "2ca6fab746287949ef79b853cb923025", "score": "0.5983971", "text": "public PlayScreen(MarioBros game) {\n atlas = new TextureAtlas(\"Mario_and_Enemies.pack\");\n\n this.game = game;\n gameCam = new OrthographicCamera();\n\n //All different ViewPorts\n// gamePort = new StretchViewport(MarioBros.V_WIDTH, MarioBros.V_HEIGHT, gameCam);//Stretches to the whole screen\n gamePort = new FitViewport(MarioBros.V_WIDTH / MarioBros.PPM, MarioBros.V_HEIGHT / MarioBros.PPM, gameCam); //Maintains aspect Ratio, sets border if it cannot use all the screen\n// gamePort = new ScreenViewport(gameCam); //Larger Screen = More World, \n //1 World unit == 1 screen Pixel\n //Could give an unfair advantage to players with huge Screens\n\n hud = new Hud(game.batch);\n\n mapLoader = new TmxMapLoader();\n map = mapLoader.load(\"level1.tmx\");\n renderer = new OrthogonalTiledMapRenderer(map, 1 / MarioBros.PPM);\n //set gameCam to be centered correctly\n gameCam.position.set(gamePort.getWorldWidth() / 2, gamePort.getWorldHeight() / 2, 0);\n\n world = new World(new Vector2(0, 0), true);//Vector = gravity, true= sleep objects\n b2dr = new Box2DDebugRenderer();\n\n //create mario in our game world\n world = new World(new Vector2(0, -10), true);\n player = new Mario(world, this);\n\n new B2WorldCreator(world, map);\n }", "title": "" }, { "docid": "db1a085e97702f7d5b06839825acd52e", "score": "0.59808683", "text": "public void setCameraView(TextureView cameraView){\n this.cameraView = cameraView;\n this.cameraController = new CameraController(this.context, cameraView);\n }", "title": "" }, { "docid": "45e4d1ef5fa31ea2d106411fdcf8348b", "score": "0.598005", "text": "@Override\n\tpublic void render () {\n\t\tsuper.render();//Delegamos el renderizado al constructor padre de juego (Game).\n\n\t}", "title": "" }, { "docid": "a6cb05a27045b33616c66177aa17462a", "score": "0.5964504", "text": "public Game() {\n\t\tdata = new Data(this);\n\t\timages = new GraphicLoader(this);\n\t\tdata.initZones();\n\t\tplayer = new Player(this);\n\t\tcamera = new Camera(this);\n\n\t\tpause = new PauseMenu(this);\n\t\tmain = new MainMenu(this);\n\t\twin = new WinScreen(this);\n\t\tlose = new LoseScreen(this);\n\t\tcontrols = new ControlsMenu(this);\n\n\t\tsetMaximumSize(new Dimension(data.WIDTH, data.HEIGHT));\n\t\tsetMinimumSize(new Dimension(data.WIDTH, data.HEIGHT));\n\t\tsetPreferredSize(new Dimension(data.WIDTH, data.HEIGHT));\n\n\t\tinput = new Input(this);\n\n\t\taddKeyListener(input);\n\t\taddMouseListener(input);\n\t\taddMouseMotionListener(input);\n\t}", "title": "" }, { "docid": "97185e48378cb61a0989d9ad3a27063b", "score": "0.5961462", "text": "public MainView(AirHockeyMania game) {\n super(game);\n }", "title": "" }, { "docid": "cbd76935355b8a0e267a33cc160314b4", "score": "0.5958818", "text": "@Override\n public void draw() {\n super.draw();\n renderer.render(world, camera.combined);\n }", "title": "" }, { "docid": "8019c9913ec5d18487ac9695eeffece1", "score": "0.59576917", "text": "public CarParkView() {\n\t\tsize = new Dimension(0, 0);\n\t}", "title": "" }, { "docid": "469d48f8a5ffe943879f5dffbe024a90", "score": "0.595552", "text": "public CameraSubsystem() {\n\t\t// TODO Auto-generated constructor stub\t\t\n\t\tnetworkTableValues.put(\"area\", (double) 0);\n\t\tnetworkTableValues.put(\"centerX\", (double) 0);\n\t\tnetworkTableValues.put(\"centerY\", (double) 0);\n\t\tnetworkTableValues.put(\"width\", (double) 0);\n\t\tnetworkTableValues.put(\"height\", (double) 0);\n\t\t\n\t\tcoordinates.put(\"p1x\", (double) 0);\n\t\tcoordinates.put(\"p1y\", (double) 0);\n\t\tcoordinates.put(\"p2x\", (double) 0);\n\t\tcoordinates.put(\"p2y\", (double) 0);\n\t\tcoordinates.put(\"p3x\", (double) 0);\n\t\tcoordinates.put(\"p3y\", (double) 0);\n\t\tcoordinates.put(\"p4x\", (double) 0);\n\t\tcoordinates.put(\"p4y\", (double) 0);\t\n\t}", "title": "" }, { "docid": "20801b169a89eb97393c4e15ec079e15", "score": "0.59531265", "text": "private void setCamera(int number){\n mGLView.setCameraGLSurfaceView(number);\n }", "title": "" }, { "docid": "396a2b247ada4f8f6b7591718de71457", "score": "0.59528804", "text": "private void initOpenCvCameraView() {\n\t\tmOpenCvCameraView = (PreviewView) findViewById(R.id.cameraPreviewView);\n\t\tmOpenCvCameraView.setVisibility(SurfaceView.VISIBLE);\n\t\tmOpenCvCameraView.setCvCameraViewListener(this);\n\t}", "title": "" }, { "docid": "8ffd4dedc1c7d20847ea4410c15b7986", "score": "0.59514314", "text": "public void setCanvasCameraView(int width, int height)\n\t{\n\t\tMatrix.setLookAtM(mVMatrix, 0, width / 2.0f, height / 2.0f, -1.0f, width / 2.0f, height / 2.0f, 10.0f, 0.0f, -1.0f, 0.0f);\n\t}", "title": "" }, { "docid": "7519921506062c4a458dbe37f6b1790a", "score": "0.5950999", "text": "@Override\r\n\tpublic void draw()\r\n\t{\t\t\r\n\t\tFlxCamera camera = FlxG.getActiveCamera();\r\n\t\t\r\n\t\tif (cameras == null)\r\n\t\t\tcameras = FlxG.cameras;\r\n\t\t\r\n\t\tif (!cameras.contains(camera, true))\r\n\t\t\treturn;\r\n\t\t\r\n\t\tif(FlxG.visualDebug && !ignoreDrawDebug)\r\n\t\t\tdrawDebug(camera);\r\n\t}", "title": "" }, { "docid": "7f8a466c3e501b93398a38ce74c26930", "score": "0.594805", "text": "public void build(JPanel panel, String directions, String charges){\n protien= new cords(directions);\n protien.setCords(directions);\n originalx =protien.getAvgX()/3;\n originaly =protien.getAvgY()/3;\n originalz =protien.getAvgZ()/3;\n camera = new InnerView (protien.getAvgX(),protien.getAvgY(),protien.getAvgZ());\n //setup camera around protein\n setCameraView(camera.getViewingPlatform());\n //build 3d model of protein\n BranchGroup contentBranch = createSceneGraph (charges);\n //place model in sceen\n camera.setModel (model);\n model.setScene (contentBranch);\n //panel.add (\"Center\", view1.getCanvas3D ());\n panel.add(camera.getCanvas3D ()); \n //pack();\n }", "title": "" }, { "docid": "595d06b3c2247ad2895ead5f74021c1e", "score": "0.59437144", "text": "public Drawer (Cube c){\n \n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n Container pane = this.getContentPane();\n \n pane.setLayout(new BorderLayout());\n\n pane.add(headingSlider, BorderLayout.SOUTH);\n\n pane.add(pitchSlider, BorderLayout.EAST);\n \n JPanel renderPanel = new JPanel(){\n @Override\n public void paintComponent(Graphics g){\n Graphics2D g2 = (Graphics2D)g;\n g2.setColor(Color.black);\n g2.fillRect(0, 0, getWidth(), getHeight());\n g2.translate(getWidth()/2, getHeight()/2);\n Setka(g);\n c.PerspecProekcDraw(g2);\n //c.draw(g2);\n \n \n }\n };\n \n final JButton button = new JButton(\"Perspective\");\n// button.setVerticalTextPosition(AbstractButton.CENTER);\n// button.setHorizontalTextPosition(AbstractButton.CENTER);\n// button.setPreferredSize(new Dimension(200, 100));\n renderPanel.add(button);\n \n button.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n \n }\n });\n \n pane.add(renderPanel, BorderLayout.CENTER);\n this.setSize(800, 800);\n this.setVisible(true);\n }", "title": "" }, { "docid": "91b22f0fa5e0a5925b43c098a8ce89bc", "score": "0.59294736", "text": "public void setupCamera() \n\t{\n\t\tp.camera\n\t\t(\n\t\t\t\twidth/2.0f, height/2.0f, cameraZ,\n\t\t\t\twidth/2.0f, height/2.0f, 0, \n\t\t\t\t0,\t\t\t1,\t\t\t 0\n\t\t);\n\n\t\tif(isTiling) \n\t\t{\n\t\t\tfloat mod=1f/10f;\n\t\t\tp.frustum\n\t\t\t(\n\t\t\t\twidth*((float)tileX/(float)tileNum-.5f)*mod,\n\t\t\t\twidth*((tileX+1)/(float)tileNum-.5f)*mod,\n\t\t\t\theight*((float)tileY/(float)tileNum-.5f)*mod,\n\t\t\t\theight*((tileY+1)/(float)tileNum-.5f)*mod,\n\t\t\t\tcameraZ*mod,\n\t\t\t\t10000\n\t\t\t);\n\t\t}\n\t}", "title": "" }, { "docid": "d4743454b0f2ceb46eac206d96423aaf", "score": "0.5924522", "text": "public SceneTutorial() {\n fillCamera = new OrthographicCamera();\n fillViewport = new FillViewport(1280, 720, fillCamera);\n fillViewport.apply();\n fillCamera.position.set(fillCamera.viewportWidth / 2, fillCamera.viewportHeight / 2, 0);\n fillViewport.update(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());\n\n bg = new Texture(\"tutorial_screen.png\");\n bgSprite = new Sprite(bg);\n bgSprite.setPosition(0, 0);\n bgSprite.setSize(1280, 720);\n }", "title": "" }, { "docid": "6188b765b6fc0b31b2dcf48a682913ce", "score": "0.59193593", "text": "public Camera(PApplet applet) {\n this(applet, 15, 1.03f);\n }", "title": "" }, { "docid": "37f58c7b29d7dd90ec3f7e6ef80725b5", "score": "0.59169704", "text": "public PlayerView() {\n initComponents();\n pendingBadConsequenceView2.setVisible(false);\n }", "title": "" }, { "docid": "674d6b6fd38509a93747977c61acd592", "score": "0.591066", "text": "public GamePanel(Context context) {\n super(context);\n if(First.isKuro) turn=0;\n else turn=1;\n EDGE=46;//for 9x9 board, the distance is closer to 46\n touching=false;//initially, no touch\n mKS = new int[9][9];//array gor\n getHolder().addCallback(this);\n thread = new MainThread(getHolder(), this);\n //make gamePanel focusable so it can handle events\n setFocusable(true);\n }", "title": "" }, { "docid": "77d3af0ffc3ca2b277c8af99eb135b38", "score": "0.5903829", "text": "public void onDrawFrame(GL10 gl) {\r\n\t\t// Clear color and depth buffers using clear-value set earlier\r\n\t gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);\r\n\t \r\n\t //resets all the matrix options\r\n\t //!!should only be called once in one draw or never\r\n\t gl.glLoadIdentity(); // Reset model-view matrix ( NEW )\r\n\t \r\n\t /* view angle */\r\n\t //GLU.gluLookAt(gl, gameObjects.get(0).posx, gameObjects.get(0).posy, 20.0f, gameObjects.get(0).posx, gameObjects.get(0).posy, 0.0f, 0.0f, 1.0f, 0.0f);\r\n\t gl.glTranslatef(0.0f, 0.0f, -birdViewHeight);\r\n\t \r\n\t /* print map */\r\n\t gl.glPushMatrix();\r\n\t map.draw(gl, player.posx, player.posy, -paletteWidth/2f, -paletteHeight/2f, paletteWidth/2f, paletteHeight/2f);\r\n\t gl.glPopMatrix();\r\n\t \r\n\t gl.glPushMatrix();\r\n\t gl.glTranslatef(.5f, .5f, 0.0f);//\r\n\t int firstx = (int)Math.max(player.posx-Math.ceil(paletteWidth/2f), 0);\r\n\t int lastx = (int)Math.min(player.posx+Math.ceil(paletteWidth/2f), 95);\r\n\t int firsty = (int)Math.max(player.posy-Math.ceil(paletteHeight/2f), 0);\r\n\t int lasty = (int)Math.min(player.posy+Math.ceil(paletteHeight/2f), 95);\r\n\t gl.glTranslatef(firstx-player.posx, firsty-player.posy, 0);\r\n\t for (int i = firstx;i<=lastx;i++) {\r\n\t \tgl.glPushMatrix();\r\n\t \tfor(int j = firsty;j<=lasty;j++) {\r\n\t \t\tif (mapGrid[i][j] != '0') {\r\n\t \t\t\tswitch (mapGrid[i][j]) {\r\n\t \t\t\t\tcase '1': steel.draw(gl);\r\n\t \t\t\t\t\tbreak;\r\n\t \t\t\t\tcase '2': grass.draw(gl);\r\n\t \t\t\t\t\tbreak;\r\n\t \t\t\t\tcase '3': \tlong currMiTime = System.currentTimeMillis()%500;\r\n\t \t\t\t\t\tif (currMiTime < 250) {\r\n\t \t\t\t\t\t\twater1.draw(gl);\r\n\t \t\t\t\t\t}\r\n\t \t\t\t\t\telse if (currMiTime < 500) {\r\n\t \t\t\t\t\t\tgl.glRotatef(180, 0, 0, 1);\r\n\t \t\t\t\t\t\twater1.draw(gl);\r\n\t \t\t\t\t\t\tgl.glRotatef(-180, 0, 0, 1);\r\n\t \t\t\t\t\t}\r\n\t \t\t\t\t\tbreak;\r\n\t \t\t\t\tcase '4': ice.draw(gl);\r\n\t \t\t\t\t\tbreak;\r\n\t \t\t\t\tcase '5': brick.draw(gl);\r\n\t \t\t\t\t\tbreak;\r\n\t \t\t\t\tdefault : \r\n\t \t\t\t\t\tbreak;\r\n\t \t\t\t}\r\n\t \t\t}\r\n\t \t\tgl.glTranslatef(0, 1, 0);\r\n\t \t}\r\n\t \tgl.glPopMatrix();\r\n\t \tgl.glTranslatef(1, 0, 0);\r\n\t }\r\n\t gl.glPopMatrix();\t\r\n\t \r\n\t \r\n\t try {\r\n\t\t\t/* print all objects */\r\n\t\t\tfor (GameObject g:gameObjects) {\r\n\t\t\t\tg.draw(gl, imageResources, player.posx, player.posy);\r\n\t\t\t}\r\n\t\t\taStick.draw(gl, imageResources, player.posx, player.posy);\r\n\t\t\t//for (GameObject g:uiObjects) {\r\n\t\t\t//\tg.draw(gl, imageResources, player.posx, player.posy);\r\n\t\t\t//}\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t \r\n\t}", "title": "" }, { "docid": "dd7bf1fb8eda1ca19a4d915f62b7b405", "score": "0.5885606", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_play, container, false);\n\n mGameView = (GameSurfaceView)v.findViewById(R.id.surface_game);\n mGameView.setListener(this);\n\n mGameInfoPanel = (RelativeLayout)v.findViewById(R.id.panel_game_info);\n mGameScorePanel = (LinearLayout)mGameInfoPanel.findViewById(R.id.panel_player_scores);\n\n mGameActionPanel = (RelativeLayout)v.findViewById(R.id.panel_game_actions);\n mSwitchCameraButton = (ImageButton)mGameActionPanel.findViewById(R.id.button_switch_camera_mode);\n mConfirmButton = (Button)mGameActionPanel.findViewById(R.id.button_confirm_move);\n\n mPlayForwardButton = (Button)mGameActionPanel.findViewById(R.id.button_play_forward);\n mPlayNextButton = (Button)mGameActionPanel.findViewById(R.id.button_play_next);\n mPlayPrevButton = (Button)mGameActionPanel.findViewById(R.id.button_play_prev);\n\n\n mSwitchCameraButton.setOnClickListener(this);\n mConfirmButton.setOnClickListener(this);\n mPlayForwardButton.setOnClickListener(this);\n mPlayNextButton.setOnClickListener(this);\n mPlayPrevButton.setOnClickListener(this);\n\n mHandler = new Handler(Looper.myLooper());\n\n return v;\n }", "title": "" }, { "docid": "e5e2eee92c2228ac684b7ce334bc7906", "score": "0.58750165", "text": "public void enableCameraView() {\n mMainLayout.addView(cameraView, new AbsoluteLayout.LayoutParams(8, 16, 0, 0));\n }", "title": "" }, { "docid": "d4652240699f570ddeec7d94497f454f", "score": "0.5872069", "text": "public ErosionCanvas()\r\n {\r\n\t// Some initial values\r\n\txSize = 200; ySize = 200; // Just a random initial value\r\n\r\n\tbackgroundColor = 0; // black \r\n\r\n\theading = -30.0f * (float)Math.PI / 180.0f;\r\n\taltitude = 30.0f * (float)Math.PI / 180.0f;\r\n\r\n\t// 3D transformation initialization\r\n\tclipToScreen = new Xform();\r\n\tcameraToClip = new Xform();\r\n\tcameraToScreen = new Xform();\r\n\tworldToCamera = new Xform();\r\n\tworldToScreen = new Xform();\r\n\tgridToWorld = new Xform();\r\n\tgridToScreen = new Xform();\r\n\r\n\taspect = (float)xSize / ySize;\r\n\r\n\tcalculateClipToScreen();\r\n\tcalculateCameraToClip();\r\n\tXform.mult(cameraToScreen, clipToScreen, cameraToClip);\r\n\tcalculateWorldToCamera();\r\n\tXform.mult(worldToScreen, cameraToScreen, worldToCamera);\r\n\tcalculateGridToWorld();\r\n\tXform.mult(gridToScreen, worldToScreen, gridToWorld);\r\n\t\r\n\t// Data grid initialization\r\n\tgridxSize = gridySize = 1;\r\n\tgridZ = new float [1];\r\n\tgridColor = new int[1];\r\n\r\n\txRenderStart = 0; xRenderEnd = gridxSize; xRenderInc = 1;\r\n\tyRenderStart = gridySize - 1; yRenderEnd = -1; yRenderInc = -1;\r\n\r\n\t// Rendering parameter initialization\r\n\tscreen1old = new float [3];\r\n\tscreen2old = new float [3];\r\n\tscreen1new = new float [3];\r\n\tscreen2new = new float [3];\r\n\t\r\n\tworld1old = new float [3];\r\n\tworld2old = new float [3];\r\n\tworld1new = new float [3];\r\n\tworld2new = new float [3];\r\n\r\n\tv1 = new float [3];\r\n\tv2 = new float [3];\r\n\tnormal = new float[3];\r\n\t\r\n\t// State flag initialization\r\n\tnewCanvasSize = false;\r\n\tnewOrientation = false;\r\n\tdataChange = false;\r\n\r\n\tbackingImageSetup = false;\r\n\trenderImageSetup = false;\r\n\tsetup = backingImageSetup && renderImageSetup;\r\n\r\n\r\n\t// Set up the clipping pipeline\r\n\tunclippedVertexX = new float [MAX_VERTEX_LIST_SIZE];\r\n\tunclippedVertexY = new float [MAX_VERTEX_LIST_SIZE];\r\n\tclippedVertexX = new float [MAX_VERTEX_LIST_SIZE * 2];\r\n\tclippedVertexY = new float [MAX_VERTEX_LIST_SIZE * 2];\r\n\tnVertex = 0;\r\n\r\n\t// Set up the scan conversion structures\r\n\tedges = new Edge [MAX_VERTEX_LIST_SIZE * 2];\r\n\tfor(int i = 0; i < edges.length; i++)\r\n\t edges[i] = new Edge();\r\n\r\n\t// Set up the new thread\r\n\tthread = new Thread(this);\r\n }", "title": "" }, { "docid": "fb62f54ebc239932a6ab655222f7dea9", "score": "0.5861848", "text": "@Override\n\tpublic void onDrawFrame(GL10 gl) {\n\t\t\n\t\tint width = mView.getWidth();\n\t\tint height = mView.getHeight();\n\t\t\n\t\tgl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);\n\t\t\n\t\tgl.glMatrixMode(GL10.GL_PROJECTION);\n\t\tgl.glLoadIdentity();\n\t\tgl.glViewport(0,0,width,height);\n\t\tGLU.gluPerspective(gl, 45.0f, ((float)width)/height, 1f, 100f);\n\t\t\t\n\t\tgl.glMatrixMode(GL10.GL_MODELVIEW);\n\t\tgl.glLoadIdentity();\n\t\tGLU.gluLookAt(gl, 0, 0, 3, 0, 0, 0, 0, 1, 0);\n\t\t\n\t\tgl.glRotatef(10.0f, 1, 0, 0);\n\t\tgl.glRotatef(40.0f, 0, 1, 0);\n\t\n\t\tgl.glColor4f(1.0f, 1, 1, 1.0f);\n\t\tgl.glNormal3f(0,0,1);\n\t\tgl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4);\n\t\tgl.glNormal3f(0,0,-1);\n\t\tgl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 4, 4);\n\t\n\t\tgl.glColor4f(1, 1.0f, 1, 1.0f);\n\t\tgl.glNormal3f(-1,0,0);\n\t\tgl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 8, 4);\n\t\tgl.glNormal3f(1,0,0);\n\t\tgl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 12, 4);\n\t\t\n\t\tgl.glColor4f(1, 1, 1.0f, 1.0f);\n\t\tgl.glNormal3f(0,1,0);\n\t\tgl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 16, 4);\n\t\tgl.glNormal3f(0,-1,0);\n\t\tgl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 20, 4);\n\t}", "title": "" }, { "docid": "b8424e8dffc6e6e29296afd3677d6bff", "score": "0.58615035", "text": "private GamePanel() {\n initComponents();\n \n }", "title": "" }, { "docid": "6001c98e0f544b7d7bb1ababdecb4f40", "score": "0.58606696", "text": "public GameController(int numberOfPlayers, int mapSize) {\n\n }", "title": "" }, { "docid": "36929c74969ce701128605a79a810fb8", "score": "0.58445275", "text": "public void buildUI() {\n\t\t\n setContentView(R.layout.assist_surface_view);\n\t\tLinearLayout pickGroup = new LinearLayout(getApplicationContext());\n\t\tpickGroup.setGravity(Gravity.CENTER_HORIZONTAL);\n pickGroup.setOrientation(LinearLayout.HORIZONTAL);\n\t\n\t\tmOpenCvCameraView = (CameraBridgeViewBase) findViewById(R.id.assist_activity_surface_view);\n mOpenCvCameraView.setCvCameraViewListener(this);\n mOpenCvCameraView.setZOrderMediaOverlay(false);\n \n mColorPickerView = new LinearLayout(getApplicationContext());\n mColorPickerView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.MATCH_PARENT));\n mColorPickerView.setGravity(Gravity.CENTER_VERTICAL);\n mColorPickerView.setOrientation(LinearLayout.VERTICAL);\n \n\t\tLinearLayout options = new LinearLayout(getApplicationContext());\n\t\toptions.setGravity(Gravity.CENTER_HORIZONTAL);\n options.setOrientation(LinearLayout.HORIZONTAL);\n\t\t\n\t\tButton useColor = new Button(getApplicationContext());\n\t\tuseColor.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));\n\t\tuseColor.setText(\"From Camera\");\n\t\tuseColor.setGravity(Gravity.CENTER_HORIZONTAL);\n\t\tuseColor.setOnClickListener(new OnClickListener() {\n\n\t\t public void onClick(View button) {\n\t\t \tsavedColors[selectedColor] = camColor;\n\t\t \tsetPreview(camColor);\n\t\t }\n\n\t\t});\n \n Button setColor = new Button(getApplicationContext());\n setColor.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));\n setColor.setText(\"Set Custom\");\n setColor.setGravity(Gravity.CENTER_HORIZONTAL);\n \n setColor.setOnClickListener(new OnClickListener() {\n\t\t public void onClick(View button) {\n\t\t \tdialog.show();\n\t\t }\n\n\t\t});\n \n LinearLayout previewOptions = new LinearLayout(getApplicationContext());\n previewOptions.setGravity(Gravity.CENTER_HORIZONTAL);\n previewOptions.setOrientation(LinearLayout.HORIZONTAL);\n \n TextView colorPreview = new TextView(getApplicationContext());\n colorPreview.setBackgroundColor(Color.argb(255, 255, 255, 255));\n colorPreview.setLayoutParams(new LayoutParams(32,32));\n colorPreview.setGravity(Gravity.CENTER_HORIZONTAL);\n colorPreview.setTag(Integer.valueOf(10));\n previewOptions.addView(colorPreview);\n \n TextView blank = new TextView(getApplicationContext());\n blank.setBackgroundColor(Color.argb(255, 255, 255, 0));\n blank.setLayoutParams(new LayoutParams(32,32));\n blank.setGravity(Gravity.CENTER_HORIZONTAL);\n blank.setVisibility(View.INVISIBLE);\n \n TextView blank2 = new TextView(getApplicationContext());\n blank.setBackgroundColor(Color.argb(255, 255, 255, 0));\n blank2.setGravity(Gravity.CENTER_HORIZONTAL);\n blank2.setVisibility(View.INVISIBLE);\n \n TextView blank4 = new TextView(getApplicationContext());\n blank.setBackgroundColor(Color.argb(255, 255, 255, 0));\n blank4.setGravity(Gravity.CENTER_HORIZONTAL);\n blank4.setVisibility(View.INVISIBLE);\n \n TextView hueLabel = new TextView(getApplication());\n hueLabel.setText(\"Hue: 0 Red: 255 Green: 255 Blue: 255\");\n hueLabel.setGravity(Gravity.CENTER_HORIZONTAL);\n hueLabel.setPadding(0, 32, 0, 0);\n\t\thueLabel.setTag(Integer.valueOf(11));\n \n pickGroup.addView(useColor);\n\t\tpickGroup.addView(setColor);\n\t\toptions.addView(pickGroup);\n\n\t\tmColorPickerView.addView(blank);\n mColorPickerView.addView(hueLabel);\n\t\tmColorPickerView.addView(options);\n\t\tmColorPickerView.addView(previewOptions);\n\t\tmColorPickerView.addView(blank2);\n mColorPickerView.addView(blank4);\n\t\t\n LinearLayout colorOptions = new LinearLayout(getApplicationContext());\n colorOptions.setGravity(Gravity.CENTER_HORIZONTAL);\n colorOptions.setOrientation(LinearLayout.VERTICAL);\n \n int colorNumber = 0;\n int row = 3;\n int col = 3;\n savedColors = new char[row*col][3];\n\t\tfor (; row > 0; row--) {\n\t\t\tLinearLayout buttons = new LinearLayout(getApplicationContext());\n\t buttons.setOrientation(LinearLayout.HORIZONTAL);\n\t\t\tbuttons.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));\n\t\t\tbuttons.setGravity(Gravity.CENTER_HORIZONTAL);\n\n\t for (col=3; col > 0; col--) {\n\t\t Button button = new Button(getApplicationContext());\n\t\t button.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));\n\t\t\t\tbutton.setText(\"Color \"+(colorNumber+1));\n\t\t\t\tbutton.setGravity(Gravity.CENTER_HORIZONTAL);\n\t\t\t\tbutton.setId(colorNumber);\n\t\t\t\tbutton.setTag(Integer.valueOf(colorNumber));\n\t\t savedColors[colorNumber] = new char[] {255, 255, 255};\n\t\t\t\tbuttons.addView(button);\n\t\t\t\tbutton.setOnTouchListener(new OnTouchListener() {\n\t\t @Override\n\t\t\t\t public boolean onTouch(View button, MotionEvent event) {\n\t\t\t\t \tif (event.getAction()==MotionEvent.ACTION_DOWN) {\n\t\t\t\t\t \tView parent = (View) button.getParent().getParent();\n\t\t\t\t\t \tfor (int i=0; i<9; i++) {\n\t\t\t\t\t\t \tView btn = parent.findViewWithTag(Integer.valueOf(i));\n\t\t\t\t\t\t \tbtn.setPressed(false);\n\t\t\t\t\t \t}\n\t\t\t\t \t\tselectedColor = button.getId();\n\t\t\t\t \t\tsetPreview(savedColors[selectedColor]);\n\t\t\t\t\t \tbutton.setPressed(true);\n\t\t\t\t \t}\n\t\t\t\t \treturn true;\n\t\t\t\t }\n\n\t\t\t\t});\n\t\t\t\tcolorNumber++;\n\t }\n\t colorOptions.addView(buttons);\n\t \n }\n\t\tcolorOptions.findViewWithTag(Integer.valueOf(0)).setPressed(true);\n mColorPickerView.addView(colorOptions);\n addContentView(mColorPickerView, mColorPickerView.getLayoutParams());\n \n mChannelsView = new LinearLayout(getApplicationContext());\n mChannelsView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.MATCH_PARENT));\n mChannelsView.setGravity(Gravity.BOTTOM);\n mChannelsView.setOrientation(LinearLayout.HORIZONTAL);\n \n CheckBox redChannel = new CheckBox(getApplicationContext());\n redChannel.setChecked(true);\n redChannel.setText(\"Red\");\n redChannel.setOnCheckedChangeListener(new OnCheckedChangeListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onCheckedChanged(CompoundButton arg0, boolean arg1) {\n\t\t\t\tredOn = arg1;\n\t\t\t\targ0.setChecked(arg1);\n\t\t\t}\n \n });\n CheckBox greenChannel = new CheckBox(getApplicationContext());\n greenChannel.setChecked(true);\n greenChannel.setText(\"Green\");\n greenChannel.setOnCheckedChangeListener(new OnCheckedChangeListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onCheckedChanged(CompoundButton arg0, boolean arg1) {\n\t\t\t\tgreenOn = arg1;\n\t\t\t\targ0.setChecked(arg1);\n\t\t\t}\n \n });\n CheckBox blueChannel = new CheckBox(getApplicationContext());\n blueChannel.setChecked(true);\n blueChannel.setText(\"Blue\");\n blueChannel.setOnCheckedChangeListener(new OnCheckedChangeListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onCheckedChanged(CompoundButton arg0, boolean arg1) {\n\t\t\t\tblueOn = arg1;\n\t\t\t\targ0.setChecked(arg1);\n\t\t\t}\n \n });\n mChannelsView.addView(redChannel);\n mChannelsView.addView(greenChannel);\n mChannelsView.addView(blueChannel);\n mChannelsView.setVisibility(View.GONE);\n \n addContentView(mChannelsView, mChannelsView.getLayoutParams());\n \n mSettingsView = new LinearLayout(getApplicationContext());\n mSettingsView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,LayoutParams.MATCH_PARENT));\n mSettingsView.setGravity(Gravity.CENTER);\n mSettingsView.setOrientation(LinearLayout.VERTICAL);\n \n TextView sizeLabel = new TextView(getApplicationContext());\n sizeLabel.setText(\"Preview Size:\");\n mSettingsView.addView(sizeLabel);\n \n RadioGroup sizeGroup= new RadioGroup(getApplicationContext());\n sizeGroup.setLayoutParams(new RadioGroup.LayoutParams(\n LinearLayout.LayoutParams.MATCH_PARENT,\n LinearLayout.LayoutParams.WRAP_CONTENT));\n sizeGroup.setOrientation(LinearLayout.HORIZONTAL);\n OnClickListener radioListener = new OnClickListener(){\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t \t boolean checked = ((RadioButton) v).isChecked();\n\t \t \n\t \t switch(v.getId()) {\n\t \t case 12:\n\t \t if (checked)\n\t \t displaySize = 3;\n\t \t break;\n\t \t case 13:\n\t \t if (checked)\n\t \t displaySize = 2;\n\t \t break;\n\t \t case 14:\n\t \t if (checked)\n\t \t displaySize = 1;\n\t \t break;\n\t \t }\n\t\t\t\t\n\t\t\t}\n\n \t};\n RadioButton btn1 = new RadioButton(getApplicationContext());\n btn1.setOnClickListener(radioListener);\n btn1.setId(12);\n btn1.setText(\"Small\");\n \n RadioButton btn2 = new RadioButton(getApplicationContext());\n btn2.setOnClickListener(radioListener);\n btn2.setId(13);\n btn2.setText(\"Medium\");\n btn2.setChecked(true);\n \n RadioButton btn3 = new RadioButton(getApplicationContext());\n btn3.setOnClickListener(radioListener);\n btn3.setId(14);\n btn3.setText(\"Large\");\n \n \n sizeGroup.addView(btn1);\n sizeGroup.addView(btn2);\n sizeGroup.addView(btn3);\n mSettingsView.addView(sizeGroup);\n \n CheckBox inverted = new CheckBox(getApplicationContext());\n inverted.setChecked(true);\n inverted.setText(\"Invert Preview \");\n inverted.setOnCheckedChangeListener(new OnCheckedChangeListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onCheckedChanged(CompoundButton arg0, boolean arg1) {\n\t\t\t\tinvert = arg1;\n\t\t\t\targ0.setChecked(arg1);\n\t\t\t}\n \n });\n mSettingsView.addView(inverted);\n mSettingsView.setVisibility(View.GONE);\n addContentView(mSettingsView, mSettingsView.getLayoutParams());\n\t\n\t}", "title": "" }, { "docid": "6fda1e38a1bbdac25d1d08629fbfc978", "score": "0.5835474", "text": "public void onCameraViewStarted(int width, int height) {\n currentFrame = new Mat();\n greyscaleFrame = new Mat();\n //Reset the frame window and counter.\n frameCounter = 0;\n Arrays.fill(frameWindow,0);\n }", "title": "" }, { "docid": "6c536585514adc5a0bc99b812f61037d", "score": "0.58348316", "text": "public MarineView(AgentModel agentModel, HashMap<String, ArrayList<Image>> all, Image selectImage, Image overWatch)\r\n/* 19: */ {\r\n/* 20:22 */ super(agentModel);\r\n/* 21: */ try\r\n/* 22: */ {\r\n/* 23:27 */ this.playerSelected = selectImage;\r\n/* 24: */ \r\n/* 25:29 */ initGraphics(all);\r\n/* 26:30 */ this.overwatch = new Animation();\r\n/* 27:31 */ this.overwatch.addFrame(overWatch, 1);\r\n/* 28: */ }\r\n/* 29: */ catch (Exception e)\r\n/* 30: */ {\r\n/* 31:35 */ e.printStackTrace();\r\n/* 32: */ }\r\n/* 33: */ }", "title": "" }, { "docid": "7cf3c41cb574504b6106c75e9dc7a7eb", "score": "0.5822379", "text": "@Override\n\tpublic void render(Graphics g) {\n\t\tg.drawImage(getCurrentAnimationFrame(), (int) (x - handler.getGameCamera().getxOffset()),\n\t\t\t\t(int) (y - handler.getGameCamera().getyOffset()), width , height, null);\n\t\n }", "title": "" }, { "docid": "e96ab955a0574bbf5bf23d9ca7b13192", "score": "0.5822303", "text": "@Override\n public void onDraw() {\n GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);\n glClearColor(0, 0.5f, 0.5f, 1.0f);\n\n //translate view according to 3D camera\n mCamera3D.lookThrough();\n\n glColor3f(0.7f, 1f, 1f);\n\n //render grid mesh\n SimpleShapesRenderer.renderGridMesh(90);\n\n glTranslated(0, -1, 0);\n\n glColor3f(0, 0.5f, 0.0f);\n SimpleShapesRenderer.renderSimpleFloor(new Vector2f(-100, -100), new Vector2f(100, 100));\n\n SimpleShapesRenderer.drawSnowMan();\n\n //save 3d projection\n mCamera3D.saveProjection();\n\n //switch to 2d projection\n mCamera2D.lookThrough();\n\n\n //Reset ModelView Matrix\n glLoadIdentity();\n\n //draw cursor\n drawCursor(mCamera2D.screenToWorld(new Vector2f(Mouse.getX(), Mouse.getY())));\n\n //Draw Interface\n drawInterface();\n\n //restore 3d Projection\n mCamera3D.restoreProjection();\n\n }", "title": "" }, { "docid": "25e8c188da3fa0350ba6df1d8d9f5562", "score": "0.5805907", "text": "public GameScene(String name) {\n\t\tsuper(new Group(), GameManager.NATIVE_WIDTH, GameManager.NATIVE_HEIGHT);\n\n\t\tthis.name = name;\n\t\t\n\t\t// initialize scene's canvas and simple camera\n\t\tcanvas = new Canvas(GameManager.NATIVE_WIDTH, GameManager.NATIVE_HEIGHT);\n\t\tsimpleCamera = new SimpleCamera(canvas);\n\n\t\t// remove any lingering input\n\t\tInputUtil.reset();\n\n\t\t// detect key press\n\t\tsetOnKeyPressed(e -> {\n\t\t\tInputUtil.setKeyPressed(e.getCode(), true);\n\t\t});\n\t\tsetOnKeyReleased(e -> {\n\t\t\tInputUtil.setKeyPressed(e.getCode(), false);\n\t\t});\n\n\t\tinitializeGroups();\n\t\taddGUIElement(canvas);\n\t\taddGameObject(simpleCamera);\n\t}", "title": "" }, { "docid": "09b83e744409d2427af6e973e9fed603", "score": "0.5795257", "text": "public Game() {\n Settings settings = Settings.getSettings();\n Rectangle windowBounds = settings.getWindowBounds();\n\n // Initiate the window\n frame = new JFrame(\"Draw & Guess\");\n frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n frame.addWindowListener(this);\n frame.setBackground(new Color(0xe67e22));\n frame.setPreferredSize(new Dimension(windowBounds.width, windowBounds.height));\n frame.setMinimumSize(new Dimension(500, 500));\n frame.setPreferredSize(new Dimension(800, 800));\n\n // Initiate the LayeredPane\n initTopLayer();\n\n // Start in the main menu\n setContentPanel(new MainMenu(this));\n\n // Move and show window\n if (windowBounds.x < 0 || windowBounds.y < 0)\n frame.setLocationRelativeTo(null);\n else\n frame.setLocation(windowBounds.x, windowBounds.y);\n frame.setVisible(true);\n\n // Start timer for updating graphics\n Timer timer = new Timer(1000 / 30, this);\n timer.setInitialDelay(1000 / 30);\n timer.start();\n\n instance = this;\n }", "title": "" }, { "docid": "3a25e48e6c25e10aaa060a1f67d007a7", "score": "0.5794439", "text": "@Override\n public void onCameraViewStarted(int width, int height) {\n mRgba = new Mat();\n hierarchy = new Mat();\n finalColor=\"\";\n greenFrame=0;\n redFrame=0;\n missedFrames=0;\n\n\n }", "title": "" }, { "docid": "69dc378661bc5c5cc6efb3501338c852", "score": "0.5791709", "text": "public abstract void renderOptional(Camera camera);", "title": "" }, { "docid": "4d7999444cba5eb41d559cc52e21d452", "score": "0.5783721", "text": "private void buildViewFrame(final IModel model) {\n\t\tthis.setModel(model);\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tthis.setResizable(true);\n\t\tthis.addKeyListener(this);\n\t\tthis.setContentPane(new ViewPanel(this));\n\t\tthis.setSize(655,420);\n\t\tthis.setLocationRelativeTo(null);\n\t\t\n\t \n\t\n\t\t/*JLabel image = new JLabel( new ImageIcon( \"C:/Users/Drazyl Dul/Desktop/sprite/pd.png\"));\n\t\tJLabel image2 = new JLabel( new ImageIcon( \"C:/Users/Drazyl Dul/Desktop/sprite/purse.png\"));\n\t\tJLabel image3 = new JLabel( new ImageIcon( \"C:/Users/Drazyl Dul/Desktop/sprite/lorann_r.png\"));\n\t\tJLabel image4 = new JLabel( new ImageIcon( \"C:/Users/Drazyl Dul/Desktop/sprite/lorann_u.png\"));\n\t\tJLabel image5 = new JLabel( new ImageIcon( \"C:/Users/Drazyl Dul/Desktop/sprite/lorann_l.png\"));\n\t\tJLabel image6 = new JLabel( new ImageIcon( \"C:/Users/Drazyl Dul/Desktop/sprite/lorann_bl.png\"));\n\t\tJLabel image7 = new JLabel( new ImageIcon( \"C:/Users/Drazyl Dul/Desktop/sprite/lorann_br.png\"));\n\t\tGridLayout grille = new GridLayout(6,1);\n\t\tthis.setLayout(grille);*/\n\t\t\n\t\t/*JFrame t = new JFrame();\n\t\tJPanel pan = new JPanel (new GridLayout (12,20));\n\t\tBorder blackline = BorderFactory.createLineBorder(Color.black,1); \n\t\tfor(int i = 0; i<240;i++){\n\t\t JPanel ptest = new JPanel();\n\t\t ptest.setBorder(blackline);\n\t\t pan.add(ptest);\n\t\t ptest.setVisible(true);\n\t\t}\n\t\tpan.setBorder(blackline);\n\t\tt.add(pan);\n\t\tt.setVisible(true);*/\n\t\t\n\t}", "title": "" }, { "docid": "899d5984bce0190faa1a7cafb27dbb15", "score": "0.5783057", "text": "public DrawPlayer() {\n initComponents();\n }", "title": "" } ]
0dd646ea5c135dbffee1548500934bcc
Ensures that a proof attempt is not broken if the PO didn't change.
[ { "docid": "fa2cc736d1bdeb07aacc5a076289c7c3", "score": "0.7478293", "text": "@Test\n\tpublic void testNotBroken() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tassertFalse(pa.isBroken());\n\t}", "title": "" } ]
[ { "docid": "6d5d77696421458eb2c85ca82e828b22", "score": "0.7714323", "text": "@Test\n\tpublic void testNotBrokenOtherPOChanges() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tincreasePOStamp(PO2);\n\t\tassertFalse(pa.isBroken());\n\t}", "title": "" }, { "docid": "8fc5feea5e7269fb99d13c4a41b3d56b", "score": "0.7222788", "text": "@Test\n\tpublic void testBroken() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tincreasePOStamp(PO1);\n\t\trunBuilder();\n\t\tassertTrue(pa.isBroken());\n\t}", "title": "" }, { "docid": "ffbbbce6fb523edbc468d6d9e88f1a7f", "score": "0.71887445", "text": "@Test\n\tpublic void testNotBrokenNoStamp() throws Exception {\n\t\tremovePOStamps();\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tassertFalse(pa.isBroken());\n\t}", "title": "" }, { "docid": "c588a894a7f65d4789422c6155493459", "score": "0.71602464", "text": "@Test\n\tpublic void testBrokenNoPO() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tpoRoot.getSequent(PO1).delete(false, null);\n\t\tsaveRodinFileOf(poRoot);\n\t\trunBuilder();\n\t\tassertTrue(pa.isBroken());\n\t}", "title": "" }, { "docid": "aef776de34557d8caf8f9afdaa667a16", "score": "0.6992995", "text": "@Test\n\tpublic void testBrokenNoStamp() throws Exception {\n\t\tremovePOStamps();\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tincreasePOStamp(PO1);\n\t\trunBuilder();\n\t\tassertTrue(pa.isBroken());\n\t}", "title": "" }, { "docid": "db54ed569de9337b60144bc7c4a86b5c", "score": "0.6393071", "text": "@Test\n\tpublic void testCommitBroken() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tdischargeTrueGoal(pa);\n\t\tincreasePOStamp(PO1);\n\t\tpa.commit(true, null);\n\t\tassertNonEmptyProof(pc.getProofSkeleton(PO1, ff, null));\n\t\tassertStatus(DISCHARGED_MAX, true, true, pc.getStatus(PO1));\n\t}", "title": "" }, { "docid": "a44746e9b970a9dda1e7475abb654eab", "score": "0.6283094", "text": "@Test\n\tpublic void testBrokenClean() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tpoRoot.getRodinFile().delete(false, null);\n\t\tcreatePOFile();\n\t\trunBuilder();\n\t\tassertTrue(pa.isBroken());\n\t}", "title": "" }, { "docid": "213a4ec8266724fc29dd50273d5bc693", "score": "0.60070527", "text": "private void enforceRent(State state) {\n\n if (state.getRentStatus() == RentOfficePaymentStatus.NotPaid) {\n printReminder(ANSI_RED + \"REMEMBER to pay your rent!\");\n printReminder(\"If you don't pay within 7 days you will be HOMELESS!\" + ANSI_RESET);\n if (state.getRentStatus() == RentOfficePaymentStatus.Homeless) {\n state.setHappinessPoints(0);\n }\n }\n }", "title": "" }, { "docid": "5d5a5d80851d7ed27401ce1cdae095a3", "score": "0.5878408", "text": "@Test\n\tpublic void testIsDisposed() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tassertFalse(pa.isDisposed());\n\t\tpa.dispose();\n\t\tassertTrue(pa.isDisposed());\n\t}", "title": "" }, { "docid": "64e0a8f55409a587c567d382e999890f", "score": "0.57888037", "text": "@Override\n public boolean IsBearProof() { return false; }", "title": "" }, { "docid": "ef089f3470b09cffb6091889c23d769e", "score": "0.57670015", "text": "@Test\n\tpublic void commitPOFactoryChanged() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tdischargeTrueGoal(pa);\n\t\t\n\t\tPrimeFormulaExtensionProvider.add(poRoot);\n\t\tassertTrue(pa.isBroken());\n\t\t\n\t\tpa.commit(true, null);\n\t\tassertClosedBrokenManualProof(pc, PO1);\n\t\t\n\t\tpc.save(null, false);\n\t\tassertClosedBrokenManualProof(pc, PO1);\n\t}", "title": "" }, { "docid": "2c1bf253e105785c88260687ccaa0bec", "score": "0.56330943", "text": "@Test\n\tpublic void testCommitDischarge() throws Exception {\n\t\tfinal DeltaListener dl = new DeltaListener();\n\t\ttry {\n\t\t\tdl.start();\n\t\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\t\tdischargeTrueGoal(pa);\n\t\t\tpa.commit(true, null);\n\t\t\tdl.assertDeltas(\n\t\t\t\t\t\"Unexpected deltas for proof commit\",\n\t\t\t\t\t\"P[*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\tm.bpr[*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\tm[org.eventb.core.prFile][*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\t\tPO1[org.eventb.core.prProof][*]: {CHILDREN | ATTRIBUTE}\\n\" + \n\t\t\t\t\t\"\t\t\t\tL[org.eventb.core.lang][+]: {}\\n\" +\n\t\t\t\t\t\"\t\t\t\tr0[org.eventb.core.prRule][+]: {}\\n\" + \n\t\t\t\t\t\"\t\t\t\tp0[org.eventb.core.prPred][+]: {}\\n\" + \n\t\t\t\t\t\"\t\t\t\tr0[org.eventb.core.prReas][+]: {}\\n\" + \n\t\t\t\t\t\"\tm.bps[*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\tm[org.eventb.core.psFile][*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\t\tPO1[org.eventb.core.psStatus][*]: {ATTRIBUTE}\");\n\t\t\tassertNonEmptyProof(pc.getProofSkeleton(PO1, ff, null));\n\t\t\tassertStatus(DISCHARGED_MAX, false, true, pc.getStatus(PO1));\n\t\t} finally {\n\t\t\tdl.stop();\n\t\t}\n\t}", "title": "" }, { "docid": "3d8c7e69d03900ecbaeab2da09189b60", "score": "0.5582648", "text": "@Test\r\n\tpublic void testVerifyIsNotStuckNominal() throws CircularRequirementException{\r\n\t\tAssignment a = new Assignment(5);\r\n\t\tAssignment b = new Assignment(5);\r\n\t\tblocked = new HashSet<Assignment>(Arrays.asList(a));\r\n\t\tstarted = new HashSet<Assignment>(Arrays.asList(b));\r\n\t\ttry{\r\n\t\t\tCircularRequirementException.verifyIsNotStuck(blocked, started);\r\n\t\t}\r\n\t\tcatch(CircularRequirementException e){\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "821f14da084718a4f030f51f64e92dcd", "score": "0.5551784", "text": "void forceCheck() throws RuntimeException;", "title": "" }, { "docid": "7d61dc72d2bdbd8c0b5e117c20dd20a0", "score": "0.5436927", "text": "@Then(\"^I should be presented with a fully compatible build below my max price$\")\n\tpublic void i_should_be_presented_with_a_fully_compatible_build_below_my_max_price() throws Throwable {\n\t throw new PendingException();\n\t}", "title": "" }, { "docid": "3cf57c7bd6766cf4080e47fd7ace3cc9", "score": "0.54232395", "text": "private void PayCheck()\n\t{\n\t\tif (!amountOwed.isGreaterThan(cash))\n\t\t{\n\t\t\tcashier.msgHereIsTheMoney(amountOwed);\n\t\t\tcash.subtract(amountOwed);\n\t\t\tamountOwed = new Money(0, 0);\n\t\t}\n\t\t// not enough money\n\t\telse\n\t\t{\n\t\t\tcashier.msgHereIsPartialMoney(cash, amountOwed);\n\t\t\tamountOwed.subtract(cash);\n\t\t\tcash = new Money(0, 0);\n\t\t}\n\t\tstate = AgentState.DonePaying;\n\t\tstateChanged();\n\t}", "title": "" }, { "docid": "721bf88f0f4076a55884cd5f1d603ee1", "score": "0.54114115", "text": "public void retry()\r\n\t{\n\t\tquitGame = false;\r\n\t\tlose = false;\r\n\t\twin = false;\r\n\t\t//Money is reset to 0.\r\n\t\tmoney = 0;\r\n\t\t//Level is reset to 1.\r\n\t\tlevel = 1;\r\n\t\t//qNum gets a random number generated for the question.\r\n\t\tqNum = generateRandom();\r\n\t}", "title": "" }, { "docid": "33b4d414ece75e367ce110aaaa6e4775", "score": "0.54024506", "text": "@Then(\"^I should be able to see if the part is in stock or not$\")\n\tpublic void i_should_be_able_to_see_if_the_part_is_in_stock_or_not() throws Throwable {\n\t throw new PendingException();\n\t}", "title": "" }, { "docid": "c2ac601ea72b390e7eeba3373cc456fd", "score": "0.5382564", "text": "private void checkPredictedErr() {\n final Integer[] count = {0};\n gamePersons.forEach(competitor -> {\n if (competitor.getPersonType() == DATA.PERSON_TYPE.Referee) {\n if (competitor.isPredictedWinner()) {\n competitor.setPredictedWinner(false);\n addPfeedback.setText(\"Referee cannot be the predicted winner!\");\n addPfeedback.getStyleClass().add(\"warning\");\n gameNotif(\"Drag Persons in Here!\");\n }\n } else {\n if (competitor.isPredictedWinner()) {\n if (count[0] > 0) competitor.setPredictedWinner(false);\n count[0]++;\n }\n }\n });\n checkGameCanStart();\n }", "title": "" }, { "docid": "ab698612f538f87a535d9fff577b2fae", "score": "0.5376753", "text": "public void bad_calls_needsPolicyLock() {\n synchronized (this) {\n // BAD: need to lock on plock\n needsPolicyLock();\n }\n }", "title": "" }, { "docid": "41dbdd7c46fe8c1697ec455f53a3b441", "score": "0.5344179", "text": "private void repOK() {\n\t\tassert (rank >= 1 && rank <= 13);\n\n\t\t// Suit must be one of the allowed values\n\t\tassert (suit == CLUBS || suit == DIAMONDS || suit == SPADES || suit == HEARTS);\n\t}", "title": "" }, { "docid": "19a42b1437334948c8c669ba7e1116c7", "score": "0.53261817", "text": "public boolean canSettle() {\n for (Object item : oneToTwo) {\n if(item instanceof Integer && partyOne.getCash() < (Integer) item){\n LOG.debug(partyOne.getName() + \" can't afford to give \" + partyTwo.getName() + \" £\" + item);\n return false;\n }\n else if(item instanceof PropertySquare && !partyOne.getProperties().contains(item)){\n return false;\n }\n }\n for (Object item : twoToOne) {\n if(item instanceof Integer && partyTwo.getCash() < (Integer) item){\n LOG.debug(partyTwo.getName() + \" can't afford to give \" + partyOne.getName() + \" £\" + item);\n return false;\n }\n else if(item instanceof PropertySquare && !partyTwo.getProperties().contains(item)){\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "5d17c442550be12c33ecafce1cc4b4b7", "score": "0.5305801", "text": "boolean checkPoison();", "title": "" }, { "docid": "602a9436ed800cd5758e290401096155", "score": "0.5298899", "text": "private void checkRep() throws RuntimeException{\n assert newName.equals(name);\n assert ((this.getSpeed() <= 200) && (0.00 <= this.getSpeed()));\n }", "title": "" }, { "docid": "9aa6639cf56fa771a0e316b9647e6e74", "score": "0.52978146", "text": "public void checkAndUpdate()\r\n {\r\n \tcheckIfWon();\r\n \tcheckIfKilled();\r\n \tcheckIfShot();\r\n \tcheckIntersections();\r\n \tgarbageDisposal();\r\n }", "title": "" }, { "docid": "0042c1dd81b2b5c4b7446626fd4245d7", "score": "0.5296222", "text": "@Then(\"^I could see my score and money$\")\n public void i_could_see_my_score_and_money() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "a26c3d8ce9fef5c5a9a5633ca7802c15", "score": "0.52890754", "text": "@Test\n public final void testPurchaseOrderPaymentHold() throws Exception {\n createAndRoutePOChangeDocument(\n PurapConstants.PurchaseOrderDocTypes.PURCHASE_ORDER_PAYMENT_HOLD_DOCUMENT,\n PurapConstants.PurchaseOrderStatuses.APPDOC_PENDING_PAYMENT_HOLD);\n assertMatchChangePO(poDocument, poChange);\n assertFalse(poDocument.isPurchaseOrderCurrentIndicator());\n assertFalse(poDocument.isPendingActionIndicator());\n assertTrue(poDocument.getDocumentHeader().getWorkflowDocument().getApplicationDocumentStatus().equals(PurapConstants.PurchaseOrderStatuses.APPDOC_RETIRED_VERSION));\n assertTrue(poChange.isPurchaseOrderCurrentIndicator());\n assertFalse(poChange.isPendingActionIndicator());\n assertTrue(poChange.getDocumentHeader().getWorkflowDocument().getApplicationDocumentStatus().equals(PurapConstants.PurchaseOrderStatuses.APPDOC_PAYMENT_HOLD));\n }", "title": "" }, { "docid": "a19cd715323b27e4a508f300978fe4e8", "score": "0.52707773", "text": "@Test\n\tpublic void testAccessors() throws Exception {\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tassertEquals(pc, pa.getComponent());\n\t\tassertEquals(PO1, pa.getName());\n\t\tassertEquals(TEST, pa.getOwner());\n\t\tassertEquals(pc.getStatus(PO1), pa.getStatus());\n\n\t\tfinal IProofTree pt = pa.getProofTree();\n\t\tfinal IProverSequent sequent = pt.getSequent();\n\t\tassertEquals(GOAL, sequent.goal());\n\t\tassertEquals(mSet(GHYP, LHYP), mSet(sequent.hypIterable()));\n\t}", "title": "" }, { "docid": "dab0e419279923b393cb19a18c1aacf6", "score": "0.5260642", "text": "@Test\n\tpublic void testCommitNoStamp() throws Exception {\n\t\tremovePOStamps();\n\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\tdischargeTrueGoal(pa);\n\t\tpa.commit(true, null);\n\t\tassertNonEmptyProof(pc.getProofSkeleton(PO1, ff, null));\n\t\tassertStatus(DISCHARGED_MAX, false, true, pc.getStatus(PO1));\n\t}", "title": "" }, { "docid": "4159f1b1e40754d1e979e35f40a1b927", "score": "0.5260106", "text": "private void checkRep() {\n assert true;\n }", "title": "" }, { "docid": "f8d07648d667223d7376bf4fce8e9452", "score": "0.52311444", "text": "private void apply ( DefaultSmallStepProofRule rule ,\n final DefaultSmallStepProofNode node ) throws ProofRuleException\n {\n // evaluate the expression and determine the proof steps\n DefaultSmallStepProofContext context = new DefaultSmallStepProofContext (\n node , this.ruleSet ) ;\n final Expression expression = context.getExpression ( ) ;\n ProofStep [ ] evaluatedSteps = context.getSteps ( ) ;\n // determine the completed steps for the node\n final ProofStep [ ] completedSteps = node.getSteps ( ) ;\n // check if the node is already completed\n if ( completedSteps.length == evaluatedSteps.length )\n {\n // check if the interpreter is stuck\n SmallStepProofRule lastRule = ( SmallStepProofRule ) evaluatedSteps [ evaluatedSteps.length - 1 ]\n .getRule ( ) ;\n if ( ! lastRule.isAxiom ( ) )\n {\n // the proof is stuck\n throw new ProofRuleException ( node , rule ) ;\n }\n // an internal error in the upper layers\n throw new IllegalStateException ( \"Cannot prove an already proven node\" ) ; //$NON-NLS-1$\n }\n else if ( completedSteps.length > evaluatedSteps.length )\n {\n // this is a bug then\n throw new IllegalStateException ( \"completedSteps > evaluatedSteps\" ) ; //$NON-NLS-1$\n }\n // verify the completed steps\n int n ;\n for ( n = 0 ; n < completedSteps.length ; ++ n )\n {\n if ( ! completedSteps [ n ].getRule ( ).equals (\n evaluatedSteps [ n ].getRule ( ) ) )\n throw new IllegalStateException (\n \"Completed steps don't match evaluated steps\" ) ; //$NON-NLS-1$\n }\n // check if the rule is valid, accepting regular meta-rules for EXN rules\n int m ;\n for ( m = n ; m < evaluatedSteps.length ; ++ m )\n {\n if ( evaluatedSteps [ m ].getRule ( ).equals ( rule )\n || evaluatedSteps [ m ].getRule ( ).equals ( rule.toExnRule ( ) ) )\n break ;\n }\n // check if rule is invalid\n if ( m >= evaluatedSteps.length )\n {\n throw new ProofRuleException ( node , rule ) ;\n }\n // determine the new step(s) for the node\n final ProofStep [ ] newSteps = new ProofStep [ m + 1 ] ;\n System.arraycopy ( evaluatedSteps , 0 , newSteps , 0 , m + 1 ) ;\n // check if the node is finished (the last\n // step is an application of an axiom rule)\n if ( ( ( SmallStepProofRule ) newSteps [ m ].getRule ( ) ).isAxiom ( ) )\n {\n // create the child node for the node\n final DefaultSmallStepProofNode child = new DefaultSmallStepProofNode (\n expression , context.getStore ( ) ) ;\n // add the undoable edit\n addUndoableTreeEdit ( new UndoableTreeEdit ( )\n {\n @ SuppressWarnings ( \"synthetic-access\" )\n public void redo ( )\n {\n // update the \"finished\" state\n setFinished ( expression.isException ( ) || expression.isValue ( ) ) ;\n // apply the new steps and add the child\n node.setSteps ( newSteps ) ;\n node.add ( child ) ;\n nodesWereInserted ( node , new int [ ]\n { node.getIndex ( child ) } ) ;\n nodeChanged ( node ) ;\n }\n\n\n @ SuppressWarnings ( \"synthetic-access\" )\n public void undo ( )\n {\n // update the \"finished\" state\n setFinished ( false ) ;\n // remove the child and revert the steps\n int [ ] indices =\n { node.getIndex ( child ) } ;\n node.remove ( child ) ;\n nodesWereRemoved ( node , indices , new Object [ ]\n { child } ) ;\n node.setSteps ( completedSteps ) ;\n nodeChanged ( node ) ;\n }\n } ) ;\n }\n else\n {\n // add the undoable edit\n addUndoableTreeEdit ( new UndoableTreeEdit ( )\n {\n @ SuppressWarnings ( \"synthetic-access\" )\n public void redo ( )\n {\n // apply the new steps\n node.setSteps ( newSteps ) ;\n nodeChanged ( node ) ;\n }\n\n\n @ SuppressWarnings ( \"synthetic-access\" )\n public void undo ( )\n {\n // revert to the previous steps\n node.setSteps ( completedSteps ) ;\n nodeChanged ( node ) ;\n }\n } ) ;\n }\n }", "title": "" }, { "docid": "680d453f35e5919c7ebe6048e3a232f5", "score": "0.5217343", "text": "@Test\n\tpublic void testCommitEmpty() throws Exception {\n\t\tfinal DeltaListener dl = new DeltaListener();\n\t\ttry {\n\t\t\tdl.start();\n\t\t\tfinal IProofAttempt pa = pc.createProofAttempt(PO1, TEST, null);\n\t\t\tpa.commit(true, null);\n\t\t\tdl.assertDeltas(\"Unexpected deltas for proof commit\",\n\t\t\t\t\t\"P[*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\tm.bpr[*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\tm[org.eventb.core.prFile][*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\t\tPO1[org.eventb.core.prProof][*]: {ATTRIBUTE}\\n\" + \n\t\t\t\t\t\"\tm.bps[*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\tm[org.eventb.core.psFile][*]: {CHILDREN}\\n\" + \n\t\t\t\t\t\"\t\t\tPO1[org.eventb.core.psStatus][*]: {ATTRIBUTE}\"\n\t\t\t);\n\t\t\tassertEmptyProof(pc.getProofSkeleton(PO1, ff, null));\n\t\t\tassertStatus(UNATTEMPTED, false, true, pc.getStatus(PO1));\n\t\t} finally {\n\t\t\tdl.stop();\n\t\t}\n\t}", "title": "" }, { "docid": "54c2393c7b70ec09a455e817bb70e6a8", "score": "0.52095836", "text": "public void recordBroken(boolean broken) {\n taken = Optional.of(broken);\n }", "title": "" }, { "docid": "b8b6ccb615e66d150812fd19eeb2ba1b", "score": "0.51698184", "text": "@Then(\"^DiscAlive! will let me know so I don't waste my time$\")\n public void discalive_will_let_me_know_so_I_don_t_waste_my_time() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "a2004a31f3ab6f9ec115e74bf69a057b", "score": "0.5159585", "text": "@Test(expected = InsufficientMoneyException.class)\n public void dontSpendStubs() throws Exception {\n WalletTestObjects objects = new WalletTestObjects(() -> new PledgingWallet(UnitTestParams.get()));\n PledgingWallet wallet = (PledgingWallet) objects.wallet;\n objects.sendAmounts(1_000_000);\n Project project = new Project(makeProject(wallet, 3_000_000));\n PledgingWallet.PendingPledge pledge = wallet.createPledge(project, 1_000_000, null);\n pledge.commit(true);\n // Check that pledges are serialized.\n wallet = roundtripWallet(wallet);\n // This line should fail because the output we received is already pledged elsewhere.\n wallet.createPledge(project, 800_000, null);\n }", "title": "" }, { "docid": "b11c880f14ab393e152d95a02e291ebf", "score": "0.51234496", "text": "@Override\n public void verify(LedgerTransaction tx) {\n final CommandWithParties<Commands> command = requireSingleCommand(tx.getCommands(), Commands.class);\n\n if (command.getValue() instanceof Commands.Issue) {\n/* if (!tx.getInputs().isEmpty())\n throw new IllegalArgumentException(\"No inputs should be consumed when creating a new property.\");\n if (!(tx.getOutputs().size() == 1))\n throw new IllegalArgumentException(\"There should be one output state.\");\n\n final PropertyState outputState = tx.outputsOfType(PropertyState.class).get(0);\n Party owner = outputState.getOwner();\n Party surveyor = outputState.getSurveyor();\n\n boolean surveyorApproved = outputState.isSurveyorApproved();\n\n if (!owner.getName().equals(\"GOI\"))\n throw new IllegalArgumentException(\"Property cannot be issued to anyone other than GOI\");*//*\n if (!surveyorApproved == true)\n throw new IllegalArgumentException(\"Must be approved by surveyor\");*/\n final PropertyState outputState = tx.outputsOfType(PropertyState.class).get(0);\n boolean surveyorApproved = outputState.isSurveyorApproved();\n if (!surveyorApproved == true)\n throw new IllegalArgumentException(\"Must be approved by surveyor\");\n\n\n }\n\n\n if (command.getValue() instanceof Commands.Update) {\n //TODO Purchase Contract Logic\n }\n\n if (command.getValue() instanceof Commands.Transfer) {\n //TODO Purchase Contract Logic\n }\n\n }", "title": "" }, { "docid": "78c867dcd730c86c54495ebc8d77eb40", "score": "0.51206654", "text": "protected void verifyAlive() {\n if (! isConnectionValid()) {\n // Connection must be broken\n // lets reinitialize everything.\n initialize();\n resetProducer();\n }\n }", "title": "" }, { "docid": "20a631b9052f8c1e8a0d90864fb1cc73", "score": "0.51033926", "text": "@Then(\"^I should not be hungry anymore$\")\n public void i_should_not_be_hungry_anymore() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "bf2a4cf4d8701de4f7a8f95f733e99ce", "score": "0.50956005", "text": "@Then(\"^My wishlist should be successfully saved$\")\n public void myWishlistShouldBeSuccessfullySaved() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "acb6b581dc6fc97d27995fda09232b0f", "score": "0.5079167", "text": "private void checkRep() {\n // same BookCopy cannot be both in inLibrary and checkedOut\n for (BookCopy copy : checkedOut) {\n assert !inLibrary.contains(copy);\n }\n }", "title": "" }, { "docid": "3e99afaa8f3ba9e60e58fe053b5252b2", "score": "0.50701165", "text": "public void check() {\n try {\n evaluate();\n } catch (AssertionFailureException ase) {\n m_handler.handleProblem(ase.getAssertionFailure());\n }\n }", "title": "" }, { "docid": "7bc176fc9514e1f0b0ecec553fe4f316", "score": "0.50588274", "text": "@Test\n public void corrupted() throws CryptoException {\n KeyPair keyPair = Crypto.generateRSAKeys();\n String user2 = \"user2\";\n users.add(\n new User(userID, keyPair.getPublic())\n );\n users.add(\n new User(user2, keyPair.getPublic())\n );\n\n goods.add(\n new Good(goodID, userID, false)\n );\n\n notary.dummyPopulate(users, goods);\n // Create intention to sell request\n Message request = createGetStateOfGoodRequest();\n //Add freshness\n request.setNonce(userID + random.nextInt());\n //Sign\n request.setSignature(Crypto.sign(request.getBytesToSign(), keyPair.getPrivate()));\n\n //Change user\n request.setBuyerID(user2);\n\n Message response = notary.process(request);\n Assert.assertEquals(Message.Operation.ERROR, response.getOperation());\n }", "title": "" }, { "docid": "5abae71ec2716899b63be9f6e4becebb", "score": "0.5053939", "text": "public void ensureWellFormedPolicy () throws DialogueException {\n\t\t\t\t\n\t\tif (nodes == null || initNode == null || finalNodes == null ) {\n\t\t\tthrow new DialogueException(\"Warning: null values\");\n\t\t}\n\t\t\n\t\tif (nodes.size() <= 0) {\n\t\t\tthrow new DialogueException(\"Warning: no action\");\n\t\t}\n\t\t\n\t\tif (!nodes.containsKey(initNode)) {\n\t\t\tthrow new DialogueException(\"Warning: initNode not contained in nodes\");\n\t\t}\n\t\t\n\t\tif (!nodes.get(initNode).isInitialNode()) {\n\t\t\tthrow new DialogueException(\"Warning: initial node not explicitly set as such\");\n\t\t}\n\t\t\n\t\tfor (String f : finalNodes) {\n\t\t\tif (!nodes.containsKey(f)) {\n\t\t\t\tthrow new DialogueException(\"Warning: final node not contained in nodes\");\n\t\t\t}\n\t\t\telse if (!nodes.get(f).isFinalNode()) {\n\t\t\t\tthrow new DialogueException(\"Warning: final node not explicitly set as such\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tif (finalNodes.size() <= 0) {\n\t\t\tthrow new DialogueException(\"Warning: no final node\");\n\t\t}\n\t\t\n\t\tfor (PolicyNode a : nodes.values()) {\n\t\t\t\n\t\t\tif (a.getAction() == null) {\n\t\t\t\tthrow new DialogueException(\"Warning: no action specified in node\");\n\t\t\t}\n\t\t\n\t\tif (!isNodeLeadingToFinal(initNode, 0)) {\n\t\t\tthrow new DialogueException(\"Warning: initial node not leading to any final node\");\n\t\t}\n\t\t}\n\t\t\n\t\tfor (PolicyEdge e : edges.values()) {\n\t\t\t\n\t\t\tif (e.getCondition() == null) {\n\t\t\t\tthrow new DialogueException(\"Warning: no observation specified in edge\");\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e9c3616298091383e9a1746f231f1e3a", "score": "0.5050186", "text": "@Test\n public void checkingWinningConditionFailed() {\n // given\n List<Ship> shipList = createShipList();\n Arbiter arbiter = new ArbiterImpl(shipList);\n\n // when\n // ...\n\n // then\n assertFalse(arbiter.isWinner());\n }", "title": "" }, { "docid": "0dd82454d273f2aa72e3b63f13dd912a", "score": "0.50469446", "text": "@Before(unless=\"show\")\n\tpublic static void checkPO(){\t\t\n\t\tif(!AccessRules.isPO()) {\n\t\t\tHTMLFlash.notAuthorized();\n\t\t\tredirect(\"/\");\n\t\t}\n\t\t//PO is the only user who can create a document\n\t\tif(!request.actionMethod.equals(\"create\") && !AccessRules.sprintDefined()) {\n\t\t\tHTMLFlash.noSprintDefined();\n\t\t\tredirect(\"/\");\n\t\t}\n\t}", "title": "" }, { "docid": "8cb04f4aec059be95348dd266f9ba12d", "score": "0.50460166", "text": "@Test\n public void confirmCheckpoint() throws Exception {\n final int chkCount = 3;\n final int confirmed = chkCount - 1;\n List<TaskStateSnapshot> taskStateSnapshots = storeStates(chkCount);\n taskLocalStateStore.confirmCheckpoint(confirmed);\n checkPrunedAndDiscarded(taskStateSnapshots, 0, confirmed);\n checkStoredAsExpected(taskStateSnapshots, confirmed, chkCount);\n }", "title": "" }, { "docid": "1722def4a7f57b0c20875c017d0f9abc", "score": "0.50436366", "text": "@Then(\"^I can share my score$\")\n public void i_can_share_my_score() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "680061bf1a86582c1cb0058690e4262a", "score": "0.5037111", "text": "private void checkRep() {\n assert parts != null;\n assert music != null;\n assert title != null;\n assert keySignature != null;\n assert composer != null;\n assert voices != null;\n assert meter != null;\n assert defaultNote != null;\n assert tempo != null;\n assert voices.equals(parts.keySet());\n assert !voices.isEmpty();\n }", "title": "" }, { "docid": "68dd160dff3241bdfd11640f1dfdd149", "score": "0.50325304", "text": "@Test(expected = IllegalArgumentException.class)\n\tpublic void answerQuestionNotRSVPd() {\n\t\tthis.authenticate(\"user4\");\n\t\tfinal Rendezvous r = this.rendezvousService.findOne(this.getEntityId(\"rendezvous2\"));\n\t\tfinal Question question = (Question) r.getQuestions().toArray()[0];\n\n\t\tfinal Answer answer = this.answerService.create();\n\t\tanswer.setQuestion(question);\n\t\tanswer.setResponse(\"Test response\");\n\n\t\tfinal Answer result = this.answerService.save(answer);\n\t\tthis.answerService.flush();\n\n\t\tAssert.isTrue(this.userService.findByPrincipal().getAnswers().contains(result));\n\n\t\tthis.authenticate(null);\n\t}", "title": "" }, { "docid": "fcd888666b24eb0fb693246b5c68169d", "score": "0.50269306", "text": "private void validationPromo(String promo) throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "ecce671031d1f65011f2e98ec7596b71", "score": "0.50266653", "text": "public void wrongAnswer() {\n chancesLeft--;\n }", "title": "" }, { "docid": "e190e3f6f40e84f599e630cf1e478302", "score": "0.5020093", "text": "public void verifyHitler() {\r\n\t\tif (roles[currentChancellor].equals(\"hitler\") && fascistPolicies >= 3)\r\n\t\t\tgameOver();\t\t\r\n\t}", "title": "" }, { "docid": "3c627ef6a84a7764dd1c2fd2f6c4f5b3", "score": "0.50189096", "text": "protected void ensure( boolean v ) throws Exception{\n\tint curVal = counter ;\n\t\tif( !v ){\n\t\t\tcounter = 0 ;\n\t\t\tthrow new Exception(\"contaKm error: \"+curVal);\n\t\t}\n\t}", "title": "" }, { "docid": "3da5446af5627912a3e457e2287fe430", "score": "0.50151384", "text": "@Test\n public void pledgeImperfectSize() throws Exception {\n WalletTestObjects objects = new WalletTestObjects(() -> new PledgingWallet(UnitTestParams.get()));\n PledgingWallet wallet = (PledgingWallet) objects.wallet;\n objects.sendAmounts(1_000_000, 2_000_000);\n\n Project project = new Project(makeProject(wallet, 3_000_000));\n PledgingWallet.PendingPledge pledge = wallet.createPledge(project, 2_500_000, null);\n assertNotNull(pledge.dependency);\n assertNotNull(pledge.pledge);\n assertEquals(2, pledge.dependency.getOutputs().size());\n assertTrue(2_500_000 == pledge.dependency.getOutput(0).getValue().longValue() ||\n 2_500_000 == pledge.dependency.getOutput(1).getValue().longValue());\n pledge.commit(true);\n\n // Do a second one. We have a 490k output available.\n PledgingWallet.PendingPledge pledge2 = wallet.createPledge(project, 400_000, null);\n assertNotNull(pledge2.dependency);\n assertNotNull(pledge2.pledge);\n assertEquals(2, pledge2.dependency.getOutputs().size());\n assertTrue(400_000 == pledge2.dependency.getOutput(0).getValue().longValue() ||\n 400_000 == pledge2.dependency.getOutput(1).getValue().longValue());\n // Check that the dependency of this pledge spends the change of the prior dependency.\n assertEquals(pledge2.dependency.getInput(0).getOutpoint().getHash(),\n pledge.dependency.getHash());\n\n pledge2.commit(true);\n System.out.println(roundTrip(wallet));\n }", "title": "" }, { "docid": "216befe67be8950fe08c2ae95f1c4d76", "score": "0.5002836", "text": "@Test\n public final void testPurchaseOrderRemoveHold() throws Exception {\n poDocument.getDocumentHeader().getWorkflowDocument().setApplicationDocumentStatus((PurapConstants.PurchaseOrderStatuses.APPDOC_PENDING_PAYMENT_HOLD));\n poDocument.refreshNonUpdateableReferences();\n createAndRoutePOChangeDocument(\n PurapConstants.PurchaseOrderDocTypes.PURCHASE_ORDER_REMOVE_HOLD_DOCUMENT,\n PurapConstants.PurchaseOrderStatuses.APPDOC_PENDING_PAYMENT_HOLD);\n assertMatchChangePO(poDocument, poChange);\n assertFalse(poDocument.isPurchaseOrderCurrentIndicator());\n assertFalse(poDocument.isPendingActionIndicator());\n assertTrue(poDocument.getDocumentHeader().getWorkflowDocument().getApplicationDocumentStatus().equals(PurapConstants.PurchaseOrderStatuses.APPDOC_RETIRED_VERSION));\n assertTrue(poChange.isPurchaseOrderCurrentIndicator());\n assertFalse(poChange.isPendingActionIndicator());\n assertTrue(poChange.getDocumentHeader().getWorkflowDocument().getApplicationDocumentStatus().equals(PurapConstants.PurchaseOrderStatuses.APPDOC_OPEN));\n }", "title": "" }, { "docid": "3e9dcc6986072a02f9dbe269741bcf75", "score": "0.50016266", "text": "@Override\n @PublicAtsApi\n public void verifyNotChecked() {\n\n boolean isActuallyChecked = isChecked();\n if (isActuallyChecked) {\n throw new VerificationException(\"It was expected to have \" + this.toString()\n + \" unchecked, but it is checked indeed\");\n }\n }", "title": "" }, { "docid": "c155dc87e0f5639c98d66896ed8f4f7d", "score": "0.49992883", "text": "@Then(\"^I should see prepared invoice$\")\n public void iShouldSeePreparedInvoice() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "11125594be405558d553689c4fdfbac3", "score": "0.49917725", "text": "protected void verifyGameIsNotOver() throws HantoException\n\t{\n\t\tif(state.isGameOver()) {\n\t\t\tthrow new HantoException(\"Illegal move: game has already ended!\");\n\t\t}\n\t}", "title": "" }, { "docid": "879765c2a6e20d5e0e9e58336950b88e", "score": "0.4985982", "text": "@Test\n\tpublic void legalPlayerExecutesSingleAllowedMoveTriangulate() {\n\t\tLegalPlayer player = getLegalPlayer();\n\t\tplayer.setOpponent( opponent );\n\n\t\tPosition position = new Position( Side.BLACK );\n\t\tposition.add( Side.WHITE, \"h8\", PieceType.KING );\n\t\tposition.add( Side.BLACK, \"g5\", PieceType.KING );\n\n\t\tplayer.setPosition( position, Side.WHITE );\n\n\t\tplayer.opponentMoved( new Move( \"g5\", \"g6\" ) );\n\t\t//leaving for whites only single move:\n\n\t\tverify( opponent ).opponentMoved( new Move( \"h8\", \"g8\" ) );\n\t}", "title": "" }, { "docid": "aaa505946d0571f32d35907b00636856", "score": "0.49819914", "text": "@Override\r\n\tpublic boolean checkRule() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "8ff400fddd49c5b53ca1aa4cca8d08a6", "score": "0.49703315", "text": "public void verify() throws TablesawException;", "title": "" }, { "docid": "416be85b7dac5050da90ecb989d334f3", "score": "0.49659285", "text": "@Override\r\n\tpublic boolean solved()\r\n\t{\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "614a47a53dbd2413f25a007e7c6aaf87", "score": "0.49648637", "text": "@Override\n @PublicAtsApi\n public void verifyChecked() {\n\n boolean isActuallyChecked = isChecked();\n if (!isActuallyChecked) {\n throw new VerificationException(\"It was expected to have \" + this.toString()\n + \" checked, but it is unchecked indeed\");\n }\n }", "title": "" }, { "docid": "0cdeb2d96114fc24a1e8ab83e65886a9", "score": "0.49629164", "text": "@Test\n\tpublic void testEscapeAttemptInTheory() {\n\t\t\t\t\n\t\t// Set this up with Drake, Number One, and 300 Villagers in the Village.\n\t\tfor (int i = 0; i < 300; i++) {\n\t\t\tPerson p = new Person();\n\t\t\tp.enterVillage();\n\t\t}\t\t\n\t\tjohnDrake.enterVillage();\t\t\n\t\tnumberOne.enterVillage();\n\t\t\n\t\t// Drake asks all the Villagers to find Number Six\n\t\tfor (Person p : Village.INSTANCE.getOccupants()) {\n\t\t\t// \"Could you look for Number Six please, I've got an important message about his family...\"\n\t\t\tp.find(6);\n\t\t}\n\t\t\n\t\t// Now surely if Drake collects the villagers' notepads, he'll find one liar in their notes...\t\t\n\t\tHashMap<Person, LiarException> liars = new HashMap<Person, LiarException>();\n\t\tLiarException lastLie = null;\n\t\tfor (Person p : Village.INSTANCE.getOccupants()) {\n\t\t\ttry {\n\t\t\t\tp.shareNotepad(johnDrake);\t\n\t\t\t} catch (LiarException ex) {\n\t\t\t\tif (!liars.containsKey(ex.getPerson())) {\n\t\t\t\t\tliars.put(ex.getPerson(), ex);\n\t\t\t\t\tlastLie = ex;\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\t\t\t\n\t\tnumberOne.youAreNumberOne(lastLie.getFirst(), lastLie.getSecond(), johnDrake);\n\t\t\n\t\t// Check that in theory, John Drake would discover Number One and be kicked out of the Village\n\t\tAssert.assertEquals(\"The plan won't work\", \n\t\t\t\tfalse,\n\t\t\t\tVillage.INSTANCE.getOccupants().contains(johnDrake)\n\t\t);\n\t}", "title": "" }, { "docid": "d25f4a5a12a2c26230906a3f7085d0ff", "score": "0.49627772", "text": "@Override\r\n public boolean verify()\r\n {\n return false;\r\n }", "title": "" }, { "docid": "d1c371878ae873a95fa310595f63afa7", "score": "0.49619192", "text": "@Test\n public void shouldDeserializedProofCorrect() throws VerificationFailedException {\n BigInteger balance = BigInteger.valueOf(13 * 100_000_000); // 13 coins.\n\n //this is a blinding factor (r).\n BigInteger randomness = ProofUtils.randomNumber();\n\n //we are using points on elliptic curve Secp256k1 here in Pedersen commitment. Can use any.\n //see below method GeneratorParams.generateParams() - we can use different curves for G and H.\n Group<BouncyCastleECPoint> curve = Secp256k1.INSTANCE;\n\n // bulletproof to be generated for value in [0 .. 2^N-1] range, N = 64 as below (should be power of 2).\n // 64 is the closest power of 2 to be more than 200 000 000 coins x 10^8 - our integer representation of the maximum balance.\n final int N = 64;\n GeneratorParams parameters = GeneratorParams.generateParams(N, curve);\n\n // get Pedersen commitment representation of our blinding factor and the value.\n PeddersenCommitment<BouncyCastleECPoint> witness = new PeddersenCommitment<>(parameters.getBase(), balance, randomness);\n\n // reset operations to 0 (just a performance test).\n BouncyCastleECPoint.addCount=0;\n BouncyCastleECPoint.expCount=0;\n\n // calculate actual Pedersen commitment value.\n GroupElement v = parameters.getBase().commit(balance, randomness);\n\n // calculate the proof.\n // todo: RangeProofProver can be a singleton service.\n RangeProof proof = new RangeProofProver().generateProof(parameters, v, witness);\n\n byte[] proofSer = RangeProof.serialize(proof);\n System.out.println(\"Proof size in bytes: \" + proofSer.length);\n\n // output how many additions and multiplications we did (around ~ 1000 each, quite a lot).\n System.out.println(BouncyCastleECPoint.expCount);\n System.out.println(BouncyCastleECPoint.addCount);\n\n // todo: can be a singleton service.\n RangeProofVerifier verifier = new RangeProofVerifier();\n\n long t0 = System.currentTimeMillis();\n\n RangeProof proofDeserialized = RangeProof.deserialize(proofSer);\n\n // verify a bulletproof against a committed value using completely new objects (deserialized).\n // Throws an exception in case of various errors (I've checked).\n GeneratorParams parameters2 = GeneratorParams.generateParams(N, curve);\n GroupElement v2 = new BouncyCastleECPoint( ((BouncyCastleCurve)curve).getCurve().decodePoint(v.canonicalRepresentation())); //copy\n\n verifier.verify(parameters2, v2, proofDeserialized);\n System.out.println(\"Verify ended in \" + (System.currentTimeMillis()-t0));\n }", "title": "" }, { "docid": "8217b3df1d615cb3d3b4ede10270a46d", "score": "0.49541134", "text": "@When(\"User should verify msg\")\n\tpublic void user_should_verify_msg() {\n\t throw new cucumber.api.PendingException();\n\t}", "title": "" }, { "docid": "001ca69aee4b04d87cca4819293c6881", "score": "0.49536157", "text": "protected void checkMissingPlasmid()\n\t{\n\t\tint nIter = _plasmidHosted.size();\n\t\tEpisome anEpi;\n\t\tfor(int i = 0; i < nIter; i++)\n\t\t{\n\t\t\tanEpi = _plasmidHosted.removeFirst();\n\t\t\tif (anEpi.getCopyNumber() <= 0)\n\t\t\t\tlosePlasmid(anEpi);\n\t\t\telse\n\t\t\t\t_plasmidHosted.addLast(anEpi);\t\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "a9065dc0b39e6c9507ab07458c8b51de", "score": "0.49519175", "text": "public void checkOverdue() {\n\t\tif (state == LoanState.CURRENT &&\n\t\t\tCalendar.getInstance().getDate().after(date)) {\n\t\t\tthis.state = LoanState.OVER_DUE;\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "8f5f0845b455891d5059501c29906431", "score": "0.49498057", "text": "public static boolean isPropositionalContradiction(Sentence sentence) {\n if (!sentence.isPropositional())\n throw new RuntimeException(\"Cannot run propositional proof over a quantified statement.\");\n HashSet<Sentence> s = new HashSet<>();\n s.add(sentence);\n Prover prover = new Prover(s, Collections.emptySet(), false);\n prover.run();\n return !prover.isConsistent();\n }", "title": "" }, { "docid": "a98f3afda3e5b47220483d4f6330b811", "score": "0.49438685", "text": "public void checkRound() {\n if (this.player.getDone() && this.bot.getDone()) {\n this.player.setDone(false);\n this.bot.setDone(false);\n this.player_lead = this.player.getScore() >= this.bot.getScore();\n }\n }", "title": "" }, { "docid": "2eb7f8477bf9e36212408e4d8dc57328", "score": "0.49404204", "text": "private void checkAwait(E thePhase) {\n\t\tE currentPhase = getPhase();\n\t\tif (currentPhase.ordinal() < thePhase.ordinal()) {\n\t\t\t// Explicitly progressing lock-step is safer for most tests.\n\t\t\t// But we could allow waiting multiple phases with a loop here instead of failing. MB\n\t\t\tfail(String.format(\"Can't wait for end of phase %s, still in phase %s\", thePhase, currentPhase));\n\t\t} else if (currentPhase.ordinal() > thePhase.ordinal()) {\n\t\t\tfail(String.format(\"Can't wait for end of phase %s, already in phase %s\", thePhase, currentPhase));\n\t\t}\n\t}", "title": "" }, { "docid": "b079188f89945142bcd94dc1c0217b27", "score": "0.49398428", "text": "private boolean areAssumptionsFulfilled() {\r\n\t\tfinal Graph<Vertex, Edge> graph = graphView.getGraph();\r\n\t\tfinal List<List<Vertex>> subsets = GraphUtils.getBipartiteVertexSets(graph);\r\n\t\t\r\n\t\t// Kn or Kn/2,n/2 with n mod 2 = 0\r\n\t\tif(graph.getOrder() % 2 != 0)\r\n\t\t\treturn false;\r\n\t\telse\r\n\t\t\treturn (GraphUtils.isComplete(graph)) || (GraphUtils.isCompleteBipartite(graph) && subsets.get(0).size() == graph.getOrder() / 2 && subsets.get(0).size() == subsets.get(1).size());\r\n\t}", "title": "" }, { "docid": "3b79be18f73e353e83668d7ad0432184", "score": "0.49370277", "text": "@Test\n public final void testAmendPurchaseOrder() throws Exception {\n createAndSavePOChangeDocument(\n PurapConstants.PurchaseOrderDocTypes.PURCHASE_ORDER_AMENDMENT_DOCUMENT,\n PurapConstants.PurchaseOrderStatuses.APPDOC_AMENDMENT);\n assertMatchChangePO(poDocument, poChange);\n if (!poChange.getDocumentHeader().getWorkflowDocument().getStatus().equals(\"F\")) {\n assertTrue(poDocument.isPurchaseOrderCurrentIndicator());\n assertTrue(poDocument.isPendingActionIndicator());\n assertTrue(poDocument.getDocumentHeader().getWorkflowDocument().getApplicationDocumentStatus().equals(PurapConstants.PurchaseOrderStatuses.APPDOC_AMENDMENT));\n assertFalse(poChange.isPurchaseOrderCurrentIndicator());\n assertFalse(poChange.isPendingActionIndicator());\n assertTrue(poChange.getDocumentHeader().getWorkflowDocument().getApplicationDocumentStatus().equals(PurapConstants.PurchaseOrderStatuses.APPDOC_CHANGE_IN_PROCESS));\n }\n }", "title": "" }, { "docid": "6bee560175eba857fd7672a188486906", "score": "0.49350393", "text": "private void runChecks() {\n if (getLevel(mainPlayer, Skill.EXPLORATION) != 1) throw new AssignmentFailed(\"Exploration XP should be set to level 1\");\n if (getLevel(mainPlayer, Skill.CONSTRUCTION) != 2) throw new AssignmentFailed(\"Construction XP should be set to level 2\");\n if (getItem(someOtherPlayer, Item.COINS).getQuantity() != 1000) throw new AssignmentFailed(\"Player does not have 1000 coins in their inventory\");\n if (getLevel(mainPlayer, Skill.MINING) != 6) throw new AssignmentFailed(\"Mining XP should be set to level 6\");\n if (!hasItem(mainPlayer, Item.SHRIMP) || hasItem(mainPlayer, Item.BURNT_SHRIMP) ) { throw new AssignmentFailed(mainPlayer.getName()+\" burnt the Shrimp!!! run this again!\"); }\n }", "title": "" }, { "docid": "e0c89807269e3a0ca62e2234a546d2c2", "score": "0.49321684", "text": "public boolean isViolate() {\n\t\tboolean result = value/provision < constraint;\n\t\tif (result) {\n\t\t\ttimer.increaseTimer();\n\t\t}\n\t\t\n\t\treturn timer.isValidViolation();\n\t}", "title": "" }, { "docid": "7a2e22a24b418f59181bbdfce61f9d5b", "score": "0.49300846", "text": "protected void sequence_Proof(EObject context, Proof semanticObject) {\n\t\tif(errorAcceptor != null) {\n\t\t\tif(transientValues.isValueTransient(semanticObject, SemiFormalProofPackage.Literals.PROOF__TITLE) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SemiFormalProofPackage.Literals.PROOF__TITLE));\n\t\t\tif(transientValues.isValueTransient(semanticObject, SemiFormalProofPackage.Literals.PROOF__JUSTIFICATIONS) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SemiFormalProofPackage.Literals.PROOF__JUSTIFICATIONS));\n\t\t\tif(transientValues.isValueTransient(semanticObject, SemiFormalProofPackage.Literals.PROOF__PROOF_STEPS) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SemiFormalProofPackage.Literals.PROOF__PROOF_STEPS));\n\t\t}\n\t\tINodesForEObjectProvider nodes = createNodeProvider(semanticObject);\n\t\tSequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);\n\t\tfeeder.accept(grammarAccess.getProofAccess().getTitleTextParserRuleCall_2_0(), semanticObject.getTitle());\n\t\tfeeder.accept(grammarAccess.getProofAccess().getJustificationsJustificationsParserRuleCall_4_0(), semanticObject.getJustifications());\n\t\tfeeder.accept(grammarAccess.getProofAccess().getProofStepsProofStepsParserRuleCall_6_0(), semanticObject.getProofSteps());\n\t\tfeeder.finish();\n\t}", "title": "" }, { "docid": "8ed83e43d14421b530df3eb9590c5f95", "score": "0.4924446", "text": "private void checkRep() {\n assert (this.upperLeftCornerOfBoundingBox.x() >= 0 && this.upperLeftCornerOfBoundingBox.x() <= Board.SIDELENGTH);\n assert (this.upperLeftCornerOfBoundingBox.y() >= 0 && this.upperLeftCornerOfBoundingBox.y() <= Board.SIDELENGTH);\n }", "title": "" }, { "docid": "8f567b8810468a69e889672efb18f582", "score": "0.49200028", "text": "@Test\n\tpublic void testUpdateRefLockFailureLocked() throws IOException {\n\t\tObjectId opid = db.resolve(\"refs/heads/master\");\n\t\tObjectId pid = db.resolve(\"refs/heads/master^\");\n\t\tRefUpdate updateRef = db.updateRef(\"refs/heads/master\");\n\t\tupdateRef.setNewObjectId(pid);\n\t\tLockFile lockFile1 = new LockFile(new File(db.getDirectory(),\n\t\t\t\t\"refs/heads/master\"));\n\t\ttry {\n\t\t\tassertTrue(lockFile1.lock()); // precondition to test\n\t\t\tResult update = updateRef.update();\n\t\t\tassertEquals(Result.LOCK_FAILURE, update);\n\t\t\tassertEquals(opid, db.resolve(\"refs/heads/master\"));\n\t\t\tLockFile lockFile2 = new LockFile(new File(db.getDirectory(),\"refs/heads/master\"));\n\t\t\tassertFalse(lockFile2.lock()); // was locked, still is\n\t\t} finally {\n\t\t\tlockFile1.unlock();\n\t\t}\n\t}", "title": "" }, { "docid": "2038a9fd7e28b12f7da3e91e73f0c936", "score": "0.49193013", "text": "@Then(\"^purchase the dress$\")\n\tpublic void purchase_the_dress() throws Throwable {\n\t throw new PendingException();\n\t}", "title": "" }, { "docid": "947b4f94e567a712ad7ffceccb49d4f2", "score": "0.49164814", "text": "public static boolean isFOLContradiction(Sentence sentence) {\n HashSet<Sentence> s = new HashSet<>();\n s.add(sentence);\n Prover prover = new FOLProver(s, Collections.emptySet(), false);\n prover.run();\n return !prover.isConsistent();\n }", "title": "" }, { "docid": "07f501e1f031c5dad5e0320092e46cfc", "score": "0.49155807", "text": "void denyNonReplied()\n\t{\n\t\tif (verify != null) return;\n\t\tverify = new boolean [rgidSet.size()];\n\t\tArrays.fill(verify, false);\n\t}", "title": "" }, { "docid": "9d8bcaa1128dfb1942ab98a58d1036c0", "score": "0.4912792", "text": "public void checkRep() {\n boolean correctRep = (this.xLocation > -1 && this.yLocation > -1 && this.xLocation < 21 && this.yLocation < 21);\n if (!correctRep) {\n throw new RuntimeException(\"SquareBumper is not initialized correctly.\");\n }\n }", "title": "" }, { "docid": "cf9bcb51b4e3515bec082d67e86b89f4", "score": "0.49086997", "text": "public boolean validForPEdge()\r\n\t{\r\n\t\treturn !hasFixedPoint();\r\n\t}", "title": "" }, { "docid": "c78d40da6d8734ea67de8ffc915fe6ca", "score": "0.49074024", "text": "@Override\n @Test(enabled = false)\n public void required_spec303_mustNotAllowUnboundedRecursion() throws Throwable {\n notVerified();\n }", "title": "" }, { "docid": "1a4329e160facf50a5b412e7dc40773c", "score": "0.4895924", "text": "public ProofResult prove(Prover prover) {\n\n\t\tboolean investigateNonGeometricMaximalIndependentSet = false;\n\n\t\tGeoElement statement = prover.getStatement();\n\t\tProverSettings proverSettings = ProverSettings.get();\n\t\tKernel k = statement.getKernel();\n\t\tboolean showproof = prover.getShowproof();\n\n\t\t/*\n\t\t * Decide quickly if proving this kind of statement is already\n\t\t * implemented at all:\n\t\t */\n\t\tif (!(statement\n\t\t\t\t.getParentAlgorithm() instanceof SymbolicParametersBotanaAlgoAre)) {\n\t\t\tLog.info(statement.getParentAlgorithm() + \" unimplemented\");\n\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t/*\n\t\t\t * If not, let's not spend any time here, but give up immediately.\n\t\t\t */\n\t\t}\n\n\t\t/* If Singular is not available, let's try Giac (mainly on web) */\n\t\tSingularWebService singularWS = prover.getConstruction()\n\t\t\t\t.getApplication().getSingularWS();\n\t\tif (singularWS == null || (!singularWS.isAvailable())) {\n\t\t\tproverSettings.transcext = false;\n\t\t}\n\n\t\t/* The NDG conditions (automatically created): */\n\t\tif (proverSettings.freePointsNeverCollinear == null) {\n\t\t\tproverSettings.freePointsNeverCollinear = false;\n\t\t}\n\n\t\tAlgebraicStatement as = new AlgebraicStatement(statement, null, prover, false);\n\n\t\t/*\n\t\t * It's possible that we already know the answer without computing\n\t\t * anything on the polynomials. If yes, we quit here and return the\n\t\t * known result.\n\t\t */\n\t\tif (as.result != null) {\n\t\t\treturn as.result;\n\t\t}\n\n\t\t/* Set substitutions. */\n\t\tTreeMap<PVariable, BigInteger> substitutions = null;\n\t\tint fixcoords;\n\t\tif (prover.isReturnExtraNDGs()) {\n\t\t\tfixcoords = proverSettings.useFixCoordinatesProveDetails;\n\t\t} else {\n\t\t\tfixcoords = proverSettings.useFixCoordinatesProve;\n\t\t}\n\t\tif (as.maxFixcoords >= 0 && as.maxFixcoords < fixcoords) {\n\t\t\tfixcoords = as.maxFixcoords;\n\t\t}\n\t\tif (fixcoords > 0) {\n\t\t\ttry {\n\t\t\t\tsubstitutions = fixValues(prover, fixcoords);\n\t\t\t} catch (NoSymbolicParametersException e) {\n\t\t\t\tas.result = ProofResult.UNKNOWN;\n\t\t\t\tLog.debug(\"Cannot add fix values\");\n\t\t\t\treturn as.result;\n\t\t\t}\n\t\t\tLog.debug(\"substitutions: \" + substitutions);\n\t\t\tif (prover.getShowproof()) {\n\t\t\t\tprover.addProofLine(\"Without loss of generality, some coordinates can be fixed:\");\n\t\t\t\t// Do it in reversed order (which is the natural order here).\n\t\t\t\tIterator<PVariable> it = substitutions.keySet().iterator();\n\t\t\t\tString substs = \"}\";\n\t\t\t\twhile (it.hasNext()) {\n\t\t\t\t\tPVariable entry = it.next();\n\t\t\t\t\tBigInteger val = substitutions.get(entry);\n\t\t\t\t\tif (substs.length() > 1) {\n\t\t\t\t\t\tsubsts = \",\" + substs;\n\t\t\t\t\t}\n\t\t\t\t\tsubsts = entry + \"=\" + val + substs;\n\t\t\t\t}\n\t\t\t\tsubsts = \"{\" + substs;\n\t\t\t\tprover.addProofLine(substs);\n\t\t\t}\n\t\t}\n\n\t\tPPolynomial ndgproduct = new PPolynomial(BigInteger.ONE);\n\n\t\tif (prover.isReturnExtraNDGs() ||\n\t\t\t\t!prover.getConstruction().getApplication()\n\t\t\t\t\t\t.singularWSisAvailable()) {\n\t\t\t/* START OF PROVEDETAILS. */\n\t\t\tSet<Set<PPolynomial>> eliminationIdeal;\n\t\t\tNDGDetector ndgd = new NDGDetector(prover, substitutions,\n\t\t\t\t\tas.freeVariables);\n\n\t\t\tboolean found = false;\n\t\t\tint permutation = 0;\n\t\t\tint MAX_PERMUTATIONS = 1; /*\n\t\t\t * Giac cannot permute the variables at\n\t\t\t * the moment.\n\t\t\t */\n\t\t\tif (prover.getConstruction().getApplication()\n\t\t\t\t\t.singularWSisAvailable()) {\n\t\t\t\t/*\n\t\t\t\t * TODO: Limit MAX_PERMUTATIONS to (#freevars-#substitutes)! to\n\t\t\t\t * prevent unneeded computations:\n\t\t\t\t */\n\t\t\t\tMAX_PERMUTATIONS = 8; /*\n\t\t\t\t * intuitively set, see Polynomial.java\n\t\t\t\t * for more on info (Pappus6 will work\n\t\t\t\t * with 7, too)\n\t\t\t\t */\n\t\t\t\t/* Pappus6 is at https://www.geogebra.org/m/TEQGgRKe */\n\t\t\t\tMAX_PERMUTATIONS = 1; // it is unnecessary to look after more readable NDGs\n\t\t\t}\n\t\t\twhile (!found && permutation < MAX_PERMUTATIONS) {\n\n\t\t\t\teliminationIdeal = PPolynomial.eliminate(\n\t\t\t\t\t\tas.getPolynomials()\n\t\t\t\t\t\t\t\t.toArray(new PPolynomial[as.getPolynomials()\n\t\t\t\t\t\t\t\t\t\t.size()]),\n\t\t\t\t\t\tsubstitutions, k, permutation++, true, false,\n\t\t\t\t\t\tas.freeVariables);\n\t\t\t\tif (eliminationIdeal == null) {\n\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t}\n\n\t\t\t\tIterator<Set<PPolynomial>> ndgSet = eliminationIdeal.iterator();\n\n\t\t\t\tList<TreeSet<GeoPoint>> xEqualSet = new ArrayList<>();\n\t\t\t\t// xEqualSet.add(new TreeSet<GeoPoint>());\n\t\t\t\tList<TreeSet<GeoPoint>> yEqualSet = new ArrayList<>();\n\t\t\t\t// yEqualSet.add(new TreeSet<GeoPoint>());\n\t\t\t\tboolean xyRewrite = (eliminationIdeal.size() == 2);\n\n\t\t\t\tList<NDGCondition> bestNdgSet = new ArrayList<>();\n\t\t\t\tdouble bestScore = Double.POSITIVE_INFINITY;\n\t\t\t\tint ndgI = 0;\n\t\t\t\twhile (ndgSet.hasNext()) {\n\t\t\t\t\tndgI++;\n\t\t\t\t\tLog.debug(\"Considering NDG \" + ndgI + \"...\");\n\t\t\t\t\tList<NDGCondition> ndgcl = new ArrayList<>();\n\t\t\t\t\tdouble score = 0.0;\n\t\t\t\t\t/*\n\t\t\t\t\t * All NDGs must be translatable into human readable form.\n\t\t\t\t\t */\n\t\t\t\t\tboolean readable = true;\n\t\t\t\t\tSet<PPolynomial> thisNdgSet = ndgSet.next();\n\t\t\t\t\tIterator<PPolynomial> ndg = thisNdgSet.iterator();\n\t\t\t\t\tndgproduct = new PPolynomial(BigInteger.ONE);\n\t\t\t\t\twhile (ndg.hasNext() && readable) {\n\t\t\t\t\t\tPPolynomial poly = ndg.next();\n\t\t\t\t\t\tif (poly.isZero()) {\n\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * Here we know that the statement is reported to be\n\t\t\t\t\t\t\t * not generally true.\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tLog.debug(\"Statement is NOT GENERALLY TRUE\");\n\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * It is possible that the statement is not\n\t\t\t\t\t\t\t * generally false, either.\n\t\t\t\t\t\t\t *\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\tas.removeThesis();\n\t\t\t\t\t\t\tas.addNegatedThesis();\n\t\t\t\t\t\t\teliminationIdeal = PPolynomial.eliminate(\n\t\t\t\t\t\t\t\t\tas.getPolynomials()\n\t\t\t\t\t\t\t\t\t\t\t.toArray(new PPolynomial[as\n\t\t\t\t\t\t\t\t\t\t\t\t\t.getPolynomials().size()]),\n\t\t\t\t\t\t\t\t\tsubstitutions, k, permutation++, true,\n\t\t\t\t\t\t\t\t\tfalse, as.freeVariables);\n\t\t\t\t\t\t\tif (eliminationIdeal == null) {\n\t\t\t\t\t\t\t\tLog.debug(\"eliminationIdeal is null\");\n\t\t\t\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tndgSet = eliminationIdeal.iterator();\n\t\t\t\t\t\t\twhile (ndgSet.hasNext()) {\n\t\t\t\t\t\t\t\tthisNdgSet = ndgSet.next();\n\t\t\t\t\t\t\t\tndg = thisNdgSet.iterator();\n\t\t\t\t\t\t\t\twhile (ndg.hasNext()) {\n\t\t\t\t\t\t\t\t\tpoly = ndg.next();\n\t\t\t\t\t\t\t\t\tif (poly.isZero()) {\n\t\t\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t\t\t * Here we know that the statement is\n\t\t\t\t\t\t\t\t\t\t * may be not generally false if we\n\t\t\t\t\t\t\t\t\t\t * are working with a maximal independent\n\t\t\t\t\t\t\t\t\t\t * set of variables.\n\t\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\t\tas.removeThesis();\n\t\t\t\t\t\t\t\t\t\tint naivDim = as.getFreeVariables()\n\t\t\t\t\t\t\t\t\t\t\t\t.size()\n\t\t\t\t\t\t\t\t\t\t\t\t- substitutions.keySet().size();\n\t\t\t\t\t\t\t\t\t\tLog.debug(\n\t\t\t\t\t\t\t\t\t\t\t\t\"Naive dimension = \" + naivDim);\n\t\t\t\t\t\t\t\t\t\tif (!HilbertDimension.isDimGreaterThan2(\n\t\t\t\t\t\t\t\t\t\t\t\tas, substitutions, naivDim)) {\n\t\t\t\t\t\t\t\t\t\t\tLog.debug(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Statement is NOT GENERALLY FALSE\");\n\t\t\t\t\t\t\t\t\t\t\treturn ProofResult.TRUE_ON_COMPONENTS;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif (!investigateNonGeometricMaximalIndependentSet) {\n\t\t\t\t\t\t\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t/* Check again if the statement is generally\n\t\t\t\t\t\t\t\t\t\t * false by using a maximum independent set\n\t\t\t\t\t\t\t\t\t\t * of variables.\n\t\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\t\tas.addNegatedThesis();\n\t\t\t\t\t\t\t\t\t\teliminationIdeal = PPolynomial.eliminate(\n\t\t\t\t\t\t\t\t\t\t\t\tas.getPolynomials()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.toArray(new PPolynomial[as\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.getPolynomials().size()]),\n\t\t\t\t\t\t\t\t\t\t\t\tsubstitutions, k, permutation++, true,\n\t\t\t\t\t\t\t\t\t\t\t\tfalse, HilbertDimension.getAMaximalSet());\n\t\t\t\t\t\t\t\t\t\tndgSet = eliminationIdeal.iterator();\n\t\t\t\t\t\t\t\t\t\twhile (ndgSet.hasNext()) {\n\t\t\t\t\t\t\t\t\t\t\tthisNdgSet = ndgSet.next();\n\t\t\t\t\t\t\t\t\t\t\tndg = thisNdgSet.iterator();\n\t\t\t\t\t\t\t\t\t\t\twhile (ndg.hasNext()) {\n\t\t\t\t\t\t\t\t\t\t\t\tpoly = ndg.next();\n\t\t\t\t\t\t\t\t\t\t\t\tif (poly.isZero()) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tLog.debug(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Statement is NOT GENERALLY FALSE\");\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn ProofResult.TRUE_ON_COMPONENTS;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\treturn ProofResult.FALSE;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t * End of checking if the statement is not generally\n\t\t\t\t\t\t\t * false.\n\t\t\t\t\t\t\t */\n\n\t\t\t\t\t\t\tif (as.interpretFalseAsUndefined) {\n\t\t\t\t\t\t\t\tLog.debug(\"Interpreting FALSE as UNKNOWN\");\n\t\t\t\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn ProofResult.FALSE;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * Here we know that the statement is reported to be\n\t\t\t\t\t\t * generally true with some NDGs.\n\t\t\t\t\t\t */\n\t\t\t\t\t\tif (!poly.isConstant()) {\n\t\t\t\t\t\t\tif (as.interpretTrueAsUndefined) {\n\t\t\t\t\t\t\t\tLog.debug(\"Interpreting TRUE as UNKNOWN\");\n\t\t\t\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tndgproduct = ndgproduct.multiply(poly);\n\t\t\t\t\t\t\tNDGCondition ndgc = ndgd.detect(poly);\n\t\t\t\t\t\t\tif (ndgc == null) {\n\t\t\t\t\t\t\t\treadable = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t * Check if this elimination ideal equals to\n\t\t\t\t\t\t\t\t * {xM-xN,yM-yN}:\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\txyRewrite = (xyRewrite\n\t\t\t\t\t\t\t\t\t\t&& thisNdgSet.size() == 1);\n\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t * Note that in some cases the CAS may return\n\t\t\t\t\t\t\t\t * (xM-xN)*(-1) which consists of two factors,\n\t\t\t\t\t\t\t\t * so thisNdgSet.size() == 1 will fail. Until\n\t\t\t\t\t\t\t\t * now there is no experience of such behavior\n\t\t\t\t\t\t\t\t * for such simple ideals, so maybe this check\n\t\t\t\t\t\t\t\t * is OK.\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tif (xyRewrite) {\n\t\t\t\t\t\t\t\t\tif (ndgc.getCondition()\n\t\t\t\t\t\t\t\t\t\t\t.equals(\"xAreEqual\")) {\n\t\t\t\t\t\t\t\t\t\tTreeSet<GeoPoint> points = new TreeSet<>();\n\t\t\t\t\t\t\t\t\t\tpoints.add(\n\t\t\t\t\t\t\t\t\t\t\t\t(GeoPoint) ndgc.getGeos()[0]);\n\t\t\t\t\t\t\t\t\t\tpoints.add(\n\t\t\t\t\t\t\t\t\t\t\t\t(GeoPoint) ndgc.getGeos()[1]);\n\t\t\t\t\t\t\t\t\t\txEqualSet.add(points);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (ndgc.getCondition()\n\t\t\t\t\t\t\t\t\t\t\t.equals(\"yAreEqual\")) {\n\t\t\t\t\t\t\t\t\t\tTreeSet<GeoPoint> points = new TreeSet<>();\n\t\t\t\t\t\t\t\t\t\tpoints.add(\n\t\t\t\t\t\t\t\t\t\t\t\t(GeoPoint) ndgc.getGeos()[0]);\n\t\t\t\t\t\t\t\t\t\tpoints.add(\n\t\t\t\t\t\t\t\t\t\t\t\t(GeoPoint) ndgc.getGeos()[1]);\n\t\t\t\t\t\t\t\t\t\tyEqualSet.add(points);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (xEqualSet.size() == 1\n\t\t\t\t\t\t\t\t\t\t\t&& xEqualSet.equals(yEqualSet)) {\n\t\t\t\t\t\t\t\t\t\t/*\n\t\t\t\t\t\t\t\t\t\t * If yes, set the condition to\n\t\t\t\t\t\t\t\t\t\t * AreEqual(M,N) and readable enough:\n\t\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\t\tndgc.setCondition(\"AreEqual\");\n\t\t\t\t\t\t\t\t\t\tndgc.setReadability(0.5);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tndgcl.add(ndgc);\n\t\t\t\t\t\t\t\tscore += ndgc.getReadability();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t/*\n\t\t\t\t\t * Now we take the set if the conditions are readable and\n\t\t\t\t\t * the set is the current best. TODO: Here we should\n\t\t\t\t\t * simplify the NDGs, i.e. if one of them is a logical\n\t\t\t\t\t * consequence of others, then it should be eliminated.\n\t\t\t\t\t */\n\t\t\t\t\tif (readable && score < bestScore) {\n\t\t\t\t\t\tLog.debug(\"Found a better NDG score (\" + score\n\t\t\t\t\t\t\t\t+ \") than \" + bestScore);\n\t\t\t\t\t\tbestScore = score;\n\t\t\t\t\t\tbestNdgSet = ndgcl;\n\t\t\t\t\t\tfound = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (readable) {\n\t\t\t\t\t\t\tLog.debug(\"Not better than previous NDG score (\"\n\t\t\t\t\t\t\t\t\t+ bestScore + \"), this is \" + score);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tLog.debug(\"...unreadable\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (found && bestNdgSet.size() > 0) {\n\t\t\t\t\tLocalization loc = prover.getConstruction().getApplication().getLocalization();\n\t\t\t\t\tif (prover.getShowproof()) {\n\t\t\t\t\t\tprover.addProofLine(\"The statement can be suspected to be true under some non-degeneracy conditions:\");\n\t\t\t\t\t}\n\t\t\t\t\tndgproduct = new PPolynomial(new PVariable(statement.getKernel()));\n\t\t\t\t\tfor (NDGCondition aBestNdgSet : bestNdgSet) {\n\t\t\t\t\t\tprover.addNDGcondition(aBestNdgSet);\n\t\t\t\t\t\tPPolynomial[] polys = aBestNdgSet.getPolys();\n\t\t\t\t\t\tif (polys != null) {\n\t\t\t\t\t\t\tfor (PPolynomial p : polys) {\n\t\t\t\t\t\t\t\tndgproduct = ndgproduct.multiply(p);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (prover.getShowproof()) {\n\t\t\t\t\t\t\t\taBestNdgSet.rewrite(prover.getConstruction(), false);\n\t\t\t\t\t\t\t\tString explanation = aBestNdgSet.explain(loc).toString();\n\t\t\t\t\t\t\t\texplanation = explanation.replaceAll(\"<[^>]*>\", \"\");\n\t\t\t\t\t\t\t\tprover.addProofLine(Unicode.BULLET + \" \" + explanation);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tndgproduct = ndgproduct.subtract(new PPolynomial(BigInteger.ONE));\n\t\t\t\t\tif (prover.getShowproof()) {\n\t\t\t\t\t\tprover.addProofLine(\"ndg:\" + ndgproduct + \"=0\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*\n\t\t\t * No readable NDGs was found, search for another prover to make a\n\t\t\t * better job:\n\t\t\t */\n\t\t\tif (!found) {\n\t\t\t\tLog.debug(\"Statement is TRUE but NDGs are UNREADABLE\");\n\t\t\t\tif (prover.getShowproof()) {\n\t\t\t\t\tprover.addProofLine(\"The statement is true under some non-degeneracy conditions (they cannot be expressed in simple geometric terms):\");\n\t\t\t\t\tndgproduct = ndgproduct.multiply(new PPolynomial(new PVariable(statement.getKernel())));\n\t\t\t\t\tndgproduct = ndgproduct.subtract(new PPolynomial(BigInteger.ONE));\n\t\t\t\t\tprover.addProofLine(\"ndg:\" + ndgproduct + \"=0\");\n\t\t\t\t\tsyzygy(as, ndgproduct, substitutions, statement.getKernel(), proverSettings.transcext, prover);\n\t\t\t\t}\n\t\t\t\treturn ProofResult.TRUE_NDG_UNREADABLE;\n\t\t\t}\n\t\t\t/* END OF PROVEDETAILS. */\n\n\t\t\t/* START OF PROVE. */\n\t\t} else { /* TODO: Remove this completely. That is, compute everything via ProveDetails. */\n\t\t\tExtendedBoolean solvable = PPolynomial.solvable(\n\t\t\t\t\tas.getPolynomials()\n\t\t\t\t\t\t\t.toArray(new PPolynomial[as.getPolynomials()\n\t\t\t\t\t\t\t\t\t.size()]),\n\t\t\t\t\tsubstitutions, statement.getKernel(),\n\t\t\t\t\tproverSettings.transcext, as.freeVariables);\n\t\t\tif (ExtendedBoolean.UNKNOWN.equals(solvable)) {\n\t\t\t\t/*\n\t\t\t\t * Prover returned with no success, search for another prover:\n\t\t\t\t */\n\t\t\t\tLog.debug(\n\t\t\t\t\t\t\"Unsuccessful run, statement is UNKNOWN at the moment\");\n\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t}\n\t\t\tif (solvable.boolVal()) {\n\t\t\t\tif (!proverSettings.transcext) {\n\t\t\t\t\t/*\n\t\t\t\t\t * We cannot reliably tell if the statement is really false:\n\t\t\t\t\t */\n\t\t\t\t\tLog.debug(\n\t\t\t\t\t\t\t\"No transcext support, system is solvable, statement is UNKNOWN\");\n\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t}\n\t\t\t\t/* Here we know that the statement is not generally true. */\n\t\t\t\tLog.debug(\"Statement is NOT GENERALLY TRUE\");\n\n\t\t\t\t/*\n\t\t\t\t * It is possible that the statement is not generally false,\n\t\t\t\t * either.\n\t\t\t\t */\n\t\t\t\tas.removeThesis();\n\t\t\t\tas.addNegatedThesis();\n\t\t\t\tsolvable = PPolynomial\n\t\t\t\t\t\t.solvable(\n\t\t\t\t\t\t\t\tas.getPolynomials()\n\t\t\t\t\t\t\t\t\t\t.toArray(new PPolynomial[as\n\t\t\t\t\t\t\t\t\t\t\t\t.getPolynomials().size()]),\n\t\t\t\t\t\t\t\tsubstitutions, statement.getKernel(),\n\t\t\t\t\t\t\t\tproverSettings.transcext, as.freeVariables);\n\t\t\t\tif (ExtendedBoolean.UNKNOWN.equals(solvable)) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Prover returned with no success, search for another\n\t\t\t\t\t * prover:\n\t\t\t\t\t */\n\t\t\t\t\tLog.debug(\n\t\t\t\t\t\t\t\"Unsuccessful run on negated statement, statement is UNKNOWN at the moment\");\n\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t}\n\t\t\t\tif (solvable.boolVal()) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Here we know that the statement is not generally false.\n\t\t\t\t\t */\n\t\t\t\t\tas.removeThesis();\n\t\t\t\t\tint naivDim = as.getFreeVariables().size()\n\t\t\t\t\t\t\t- substitutions.keySet().size();\n\t\t\t\t\tLog.debug(\"Naive dimension = \" + naivDim);\n\t\t\t\t\tif (!HilbertDimension.isDimGreaterThan2(as, substitutions,\n\t\t\t\t\t\t\tnaivDim)) {\n\t\t\t\t\t\tLog.debug(\"Statement is NOT GENERALLY FALSE\");\n\t\t\t\t\t\treturn ProofResult.TRUE_ON_COMPONENTS;\n\t\t\t\t\t}\n\t\t\t\t\tif (!investigateNonGeometricMaximalIndependentSet) {\n\t\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t\t}\n\t\t\t\t\t/*\n\t\t\t\t\t * Check again if the statement is generally false by using\n\t\t\t\t\t * a maximum independent set of variables.\n\t\t\t\t\t */\n\t\t\t\t\tas.addNegatedThesis();\n\t\t\t\t\tsolvable = PPolynomial.solvable(\n\t\t\t\t\t\t\tas.getPolynomials()\n\t\t\t\t\t\t\t\t\t.toArray(new PPolynomial[as.getPolynomials()\n\t\t\t\t\t\t\t\t\t\t\t.size()]),\n\t\t\t\t\t\t\tsubstitutions, statement.getKernel(),\n\t\t\t\t\t\t\tproverSettings.transcext,\n\t\t\t\t\t\t\tHilbertDimension.getAMaximalSet());\n\t\t\t\t\tif (solvable.boolVal()) {\n\t\t\t\t\t\tLog.debug(\"Statement is NOT GENERALLY FALSE\");\n\t\t\t\t\t\treturn ProofResult.TRUE_ON_COMPONENTS;\n\t\t\t\t\t}\n\t\t\t\t\treturn ProofResult.FALSE;\n\t\t\t\t}\n\t\t\t\t/* End of checking if the statement is not generally false. */\n\n\t\t\t\tif (as.interpretFalseAsUndefined\n\t\t\t\t\t\t&& !as.interpretTrueAsUndefined) {\n\t\t\t\t\tLog.debug(\"Interpreting FALSE as UNKNOWN\");\n\t\t\t\t\treturn ProofResult.UNKNOWN;\n\t\t\t\t}\n\t\t\t\treturn ProofResult.FALSE;\n\t\t\t}\n\t\t}\n\t\tif (as.interpretTrueAsUndefined) {\n\t\t\tLog.debug(\"Interpreting TRUE as UNKNOWN\");\n\t\t\treturn ProofResult.UNKNOWN;\n\t\t}\n\t\tLog.debug(\"Statement is GENERALLY TRUE\");\n\t\tif (prover.getShowproof()) {\n\t\t\t// We compute the syzygy. TODO: Do this for the other cases as well.\n\t\t\tsyzygy(as, ndgproduct, substitutions, statement.getKernel(), proverSettings.transcext, prover);\n\n\t\t}\n\t\treturn ProofResult.TRUE;\n\t}", "title": "" }, { "docid": "3dada1c6b56cb4e4491194203cff6cfe", "score": "0.48928913", "text": "@Test(expected = AssertionError.class)\n\tpublic void testCheckFalseOrderNumberPlayerInThird() {\n\t\tPlayer master = new Player(\"Room master\");\n\t\tmaster.setGlobalBalance(5000);\n\t\tRoom room = new Room(master, BlindLevel.BLIND_10_20);\n\t\tGame game = room.createNewGame();\n\n\t\tPlayer player2 = new Player(\"Player 2\");\n\t\tplayer2.setGlobalBalance(5000);\n\t\troom.addPlayer(player2);\n\t\tPlayer player3 = new Player(\"Player 3\");\n\t\tplayer3.setGlobalBalance(5000);\n\t\troom.addPlayer(player3);\n\t\tPlayer player4 = new Player(\"Player 4\");\n\t\tplayer4.setGlobalBalance(5000);\n\t\troom.addPlayer(player4);\n\t\tPlayer player5 = new Player(\"Player 5\");\n\t\tplayer5.setGlobalBalance(5000);\n\t\troom.addPlayer(player5);\n\n\t\tgame.setDealer(player5);\n\n\t\tgame.startGame();\n\t\t\n\t\tplayer3.fold();\n\t\tplayer4.bet(20);\n\t\tplayer5.bet(30);\n\t\tmaster.bet(20);\n\t\tplayer2.bet(10);\n\t\tplayer4.bet(10);\n\t\t\n\t\tmaster.check();\n\t\tplayer2.check();\n\t\tplayer4.fold();\n\t\tplayer5.bet(10);\n\t\tmaster.bet(10);\n\t\tplayer2.bet(10); \t \n\n\t\tmaster.check();\n\t\tplayer2.bet(20);\n//\t\tplayer5 need bet before master in this turn\n\t\tmaster.fold();\n\t\tplayer5.bet(20);\n\n\t\tassertFalse(true);\n\t}", "title": "" }, { "docid": "735c888757d4016fbbf827e1e2f12be1", "score": "0.48739353", "text": "@Test\n public void verifyAttemptsIsChangeAfterAWhack() {\n final int posX = 4;\n final int posY = 2;\n whackAMole.whack(posX, posY);\n assertEquals(ATTEMPTS - 1, whackAMole.getAttemptsLeft());\n }", "title": "" }, { "docid": "302df8bfe7548007de80c87cf2d81c94", "score": "0.4863884", "text": "public void checkFrozen() {\n if (status == Status.FROZEN) {\n throw new FrozenAccount();\n }\n }", "title": "" }, { "docid": "884cf6547231ca8706a4af58f29f69e9", "score": "0.48572543", "text": "private void thenTheBalanceDoesNotChange() {\n then(account.getBalance()).isEqualTo(50.0);\n }", "title": "" }, { "docid": "dc993dd5cbafa6e162b2c3b8fb94979b", "score": "0.4852605", "text": "@Test\n public void testSetPiosonousLandDinoInvalid(){\n landDino.setHabitat(\"forest\");\n boolean piosonous = true;\n try{\n landDino.setPiosonous(piosonous);\n }\n catch(IllegalArgumentException e)\n {\n System.out.printf(\"setPiosonous (landDino) correctly identified improper piosonous -> \\\"%s\\\"%n\",e.getMessage());\n } \n }", "title": "" }, { "docid": "4f016765e77a8334cefc8eb15208c4de", "score": "0.48469278", "text": "public boolean noRespectedLockPiece(Piece p) {\r\n\t\tif( p.getI() > 0 ) {\r\n\t\t\tif( this.cases[p.getI()-1][p.getJ()].getLock() == 1 && this.cases[p.getI()-1][p.getJ()].getLinks()[2] != p.getLinks()[0]) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif( p.getI() < this.height-1 ) {\r\n\t\t\tif( this.cases[p.getI()+1][p.getJ()].getLock() == 1 && this.cases[p.getI()+1][p.getJ()].getLinks()[0] != p.getLinks()[2]) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\t\t\r\n\t\t}\r\n\t\tif( p.getJ() > 0 ) {\r\n\t\t\tif( this.cases[p.getI()][p.getJ()-1].getLock() == 1 && this.cases[p.getI()][p.getJ()-1].getLinks()[1] != p.getLinks()[3] ) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif( p.getJ() < this.width-1 ) {\r\n\t\t\tif( this.cases[p.getI()][p.getJ()+1].getLock() == 1 && this.cases[p.getI()][p.getJ()+1].getLinks()[3] != p.getLinks()[1] ) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\t\t\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "02c2e2c6e05fdc2d8fe1613db55ff44d", "score": "0.48463544", "text": "private void checkRep() throws RuntimeException {\n\t\tif (data == null) {\n\t\t\tthrow new RuntimeException(\"Data cannot be null\");\n\t\t} \n\t}", "title": "" }, { "docid": "6d2914618779940b0ba13df43b8962ba", "score": "0.48421365", "text": "@ForceInline\n final void checkValidState() {\n if (owner != null && owner != Thread.currentThread()) {\n throw new IllegalStateException(\"Attempted access outside owning thread\");\n }\n checkAliveConfined(this);\n }", "title": "" }, { "docid": "fa150c9bcaf8ad05cece85a5ef654349", "score": "0.48405096", "text": "public void checkPitfalls() {\n pitfall.processFeature();\n }", "title": "" }, { "docid": "cc6a31ea5d3c43f09fdbb4c5179f3380", "score": "0.48403454", "text": "void freezeChallenge();", "title": "" }, { "docid": "6090a049e3691177ee386088eb1842ea", "score": "0.48390847", "text": "private void checkCompleted() {\n if (privateIsCompletedProperty().get())\n throw new IllegalStateException(\"The anime is completed; \" +\n \"the episode count cannot be modified.\");\n }", "title": "" }, { "docid": "018b4860b85a355d52a6b8a10472b4e0", "score": "0.48214173", "text": "private void z_nop() throws Throwable {\n throw new PendingException();\n }", "title": "" }, { "docid": "5dfc7d72651bbabd4d3f68a7ecd87935", "score": "0.48183188", "text": "@Transient\n public boolean isLossPossible() {\n return reminders.size() >= 3 && !isCompleted();\n }", "title": "" }, { "docid": "ebad5305744cbdcb7c8c5b56d70723ae", "score": "0.4816385", "text": "public static void verifyResourceOwnership(String myClientId, EppResource resource)\n throws EppException {\n if (!myClientId.equals(resource.getPersistedCurrentSponsorClientId())) {\n throw new ResourceNotOwnedException();\n }\n }", "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": "f806d284e2820b78ffce18acf3cdaa12", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n Atras = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n z = new javax.swing.JTextField();\n zcritica = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Distribucion normal\");\n\n Atras.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n Atras.setText(\"Atras\");\n Atras.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n AtrasMouseClicked(evt);\n }\n });\n\n jLabel1.setText(\"Ingrese el valor que necesita y luego oprima ingresar:\");\n\n jLabel2.setText(\"Z:\");\n\n jLabel3.setText(\"Distribucion\");\n\n z.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n zKeyTyped(evt);\n }\n });\n\n zcritica.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n zcriticaKeyTyped(evt);\n }\n });\n\n jButton1.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jButton1.setText(\"Ingresar:\");\n jButton1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jButton1MouseClicked(evt);\n }\n });\n\n jButton2.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jButton2.setText(\"Borrar\");\n jButton2.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jButton2MouseClicked(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(Atras)\n .addContainerGap())\n .addGroup(layout.createSequentialGroup()\n .addGap(54, 54, 54)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jButton1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jButton2))\n .addComponent(jLabel3)\n .addComponent(jLabel2)\n .addComponent(jLabel1)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(zcritica, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)\n .addComponent(z, javax.swing.GroupLayout.Alignment.LEADING)))\n .addContainerGap(193, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(Atras)\n .addGap(40, 40, 40)\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(z, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(46, 46, 46)\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(zcritica, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(46, 46, 46)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(jButton2))\n .addContainerGap(62, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" } ]
[ { "docid": "5a3ef8ce8c5f955012b5237ca22e404b", "score": "0.7672663", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\" Generated Code \">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n }", "title": "" }, { "docid": "19ee2cfde2a048934748f1fec5fe9fc1", "score": "0.74767", "text": "public Constructor() {\n initComponents();\n }", "title": "" }, { "docid": "99a2bfe451a5330a1cab70b04b2edbd8", "score": "0.7475039", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n }", "title": "" }, { "docid": "204412a9614c0d5d2681682f1350504c", "score": "0.7404335", "text": "public ClerkForm() {\n initComponents();\n }", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7394026", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7394026", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "f2bd14cf92ebc8824685b7773af91c99", "score": "0.7339741", "text": "public Form() {\n initComponents();\n setLocationRelativeTo(null);\n setResizable(false);\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72913563", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72913563", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72913563", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72913563", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.72913563", "text": "public MainForm() {\n initComponents();\n }", "title": "" }, { "docid": "0b384de6c01a8a63d2c5c5e2d305fd19", "score": "0.72658783", "text": "public Manufac_Form() {\n initComponents();\n }", "title": "" }, { "docid": "c237ec1b06e33519571a405cc1f35ef6", "score": "0.726489", "text": "public MF1() {\n initComponents();\n }", "title": "" }, { "docid": "9106c5458f930a57c2b8d137e43bc7cf", "score": "0.72165483", "text": "public MyForm() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "77cfab6eb8dad37f3de0e37f434bca35", "score": "0.7203636", "text": "public RBAForm() {\n initComponents();\n }", "title": "" }, { "docid": "4a33183675a51e63313b363a0290d046", "score": "0.717755", "text": "public LZWForm() {\n initComponents();\n }", "title": "" }, { "docid": "dc2f08b42a34e6a8da7dc62a9360334a", "score": "0.71496904", "text": "public SecretaryMainForm() {\n initComponents();\n }", "title": "" }, { "docid": "aac8005974042b946893f0fcb212d11d", "score": "0.71390104", "text": "public FormInicial() {\n initComponents(); \n }", "title": "" }, { "docid": "3fc6086f5ef302ae1e0cc0de120556fa", "score": "0.71348906", "text": "public Game_Form() {\n initComponents();\n }", "title": "" }, { "docid": "3e4e15d9122ce73392aafe800ab82b02", "score": "0.71348065", "text": "public Addkocation() {\n initComponents();\n }", "title": "" }, { "docid": "8ea70ccf2e5d83099f805a33b710a63b", "score": "0.71292967", "text": "public Exemplo01_Form() {\n initComponents();\n \n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "6ea5372a13aa12adc96467ad611a1a65", "score": "0.7119352", "text": "public EOY() {\n initComponents();\n }", "title": "" }, { "docid": "a5fe42e1a468f42d9c8dddb16566206e", "score": "0.71101004", "text": "public FrmDangKi() {\n initComponents();\n }", "title": "" }, { "docid": "d90b2a38c0bbdb2b24c1c47711329954", "score": "0.709211", "text": "public Frend() {\r\n initComponents();\r\n }", "title": "" }, { "docid": "449bddaeb996ef19b3b6cc5a4dad43de", "score": "0.70915157", "text": "public HocSinhForm() {\n initComponents();\n }", "title": "" }, { "docid": "2841f4c05b68f8351a8e9b295038ecf2", "score": "0.7085519", "text": "public BidonForm() {\n initComponents();\n }", "title": "" }, { "docid": "3ebb0cbc87dd22fb8a3507d2de1db6f8", "score": "0.70670646", "text": "public QuanLyLichThiDauForm() {\n initComponents();\n }", "title": "" }, { "docid": "028fc4bb7eda5977e01bf724817d3c56", "score": "0.70530474", "text": "public Fenster() {\n initComponents();\n postInitComponents();\n }", "title": "" }, { "docid": "54950644a6137ba47b1f740e428d9570", "score": "0.7048515", "text": "public LivroForm() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "a61feab38d70b641108ca5384ae9ebb3", "score": "0.7043935", "text": "public ClientForm() {\n initComponents();\n }", "title": "" }, { "docid": "3a7657c90637ea1d016c4bda54f4e6d3", "score": "0.70032656", "text": "public field() {\n initComponents();\n setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n }", "title": "" }, { "docid": "42334834cfa01ce06b56ae00b1ac07f4", "score": "0.70023656", "text": "public frmThemMoiHangHoa() {\n initComponents();\n }", "title": "" }, { "docid": "a33d22fff0aac4e9e7a7537dd2db8c5b", "score": "0.6995441", "text": "public TaschenrechnerForm() {\n initComponents();\n }", "title": "" }, { "docid": "29a78b7db81cbc68c21bcc86dc84df3a", "score": "0.6992786", "text": "public FrmThongKe() {\n initComponents();\n }", "title": "" }, { "docid": "ad89c0e9da4faca0b3d37e42ee460b99", "score": "0.6991693", "text": "public FormMain() {\n initComponents();\n setLocationRelativeTo(null);\n setTitle(\"QUẢN LÍ ĐƠN HÀNG\");\n }", "title": "" }, { "docid": "801905ba4305b7fcc22ee39d61153c67", "score": "0.69831944", "text": "public telafim2() {\n initComponents();\n }", "title": "" }, { "docid": "ef889b9dbf59a26c205b5cc3ca171612", "score": "0.696154", "text": "public DiemDanh() {\n initComponents();\n }", "title": "" }, { "docid": "c4dae6c342e01425848232103f4ccb1d", "score": "0.6958159", "text": "public UpdateTextForm() {\n initComponents();\n }", "title": "" }, { "docid": "1a12a156bd6b23b65c99a1afd74893ca", "score": "0.69552803", "text": "public HistoryForm() {\n initComponents();\n }", "title": "" }, { "docid": "9ac215807e463b5d6d261e69c6d6dea0", "score": "0.69540125", "text": "public adde() {\n initComponents();\n }", "title": "" }, { "docid": "9181d5779ec4640f7f2109aecd01e476", "score": "0.6942753", "text": "public Form_ChiTiet_Xe() {\n initComponents();\n }", "title": "" }, { "docid": "d806cde1572d49bcfa2ce6a9dcb710c5", "score": "0.6931848", "text": "public SegmentForm()\n {\n initComponents();\n }", "title": "" }, { "docid": "47e69fcc7cf8e69a7fc37238d6c45100", "score": "0.6917996", "text": "public SearchClientForm()\n {\n\n setTitle(\"Simple Legal System Search a client here\");\n initComponents();\n this.setIconImage(new ImageIcon(\"legal.gif\").getImage());\n // centre the user interface on the screen\n Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n setLocation((screenSize.width - getWidth()) / 2,\n (screenSize.height - getHeight()) / 2);\n UpdatejButton.setEnabled(false);\n CanceljButton.setEnabled(false);\n\n }", "title": "" }, { "docid": "ea271aac5f21b766c9c549f4e0ce6e50", "score": "0.6917814", "text": "public FormPelanggan() {\n initComponents();\n judul();\n tampilData();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "da407921ac709e7ff77374b5e60a77c5", "score": "0.6913768", "text": "public AddMarksFrame() {\n initComponents();\n }", "title": "" }, { "docid": "a5d0ece6c6fcc969c24b71f041bcc542", "score": "0.6912348", "text": "public FrmB9Mang() {\n initComponents();\n }", "title": "" }, { "docid": "0cce69fd9c4d6d49088a792600b5c89a", "score": "0.69049996", "text": "public UI4() {\n initComponents();\n }", "title": "" }, { "docid": "408aa081e030f854e14f4308a97e4e56", "score": "0.68989956", "text": "public UpdaterGUI() {\n initComponents();\n }", "title": "" }, { "docid": "dd278303c6b256f98864b71bbbe16e57", "score": "0.6895059", "text": "public CadastroForm() {\n initComponents();\n }", "title": "" }, { "docid": "083edc216a050e80945fad04a8ba1d27", "score": "0.68938756", "text": "public frmDispSensor1() {\n initComponents();\n }", "title": "" }, { "docid": "d2a76203cd77923e29cf1e1409010d7e", "score": "0.6891305", "text": "public FormMusteriBilgi() {\n initComponents();\n }", "title": "" }, { "docid": "7ae564795c9527cbbacfaf68f33bfb43", "score": "0.68868375", "text": "public SelectCountForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "026799a2980f8306e746b5f4a8d2eb55", "score": "0.6883391", "text": "public ingudang() {\n initComponents();\n }", "title": "" }, { "docid": "2295395c7af3f6c406ac6afc2921de4d", "score": "0.68800133", "text": "public szerverke() {\n initComponents();\n }", "title": "" }, { "docid": "fb7da473be4aa6b3c7f51fe9b1cc0945", "score": "0.68758136", "text": "public GuiVendedor() {\n initComponents();\n }", "title": "" }, { "docid": "064a66098983ab89a27a25b16b9fc391", "score": "0.68756926", "text": "public SingUpForm() {\n initComponents();\n addListeners();\n\n \n }", "title": "" }, { "docid": "1f10a2eba9d9465154f63e24a2b5ded3", "score": "0.6871707", "text": "public formTinhToan() {\n initComponents();\n }", "title": "" }, { "docid": "5c80849434e5659a05db8d4c7fe093f9", "score": "0.6857694", "text": "public Latihan1() {\n initComponents();\n }", "title": "" }, { "docid": "23c6a3a89ad282e58aca3fa5de6c16cf", "score": "0.6849248", "text": "public formMessage() {\n initComponents();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "37ec79bdab5f2597eb764dfc3c3426de", "score": "0.6847366", "text": "public PlaceOrderForm() {\n\tinitComponents();\n }", "title": "" }, { "docid": "dc127b7d84c0ecf5199b06430f6419b5", "score": "0.68464655", "text": "public userForm() {\n initComponents();\n }", "title": "" }, { "docid": "d9f1869bf452241e0c705ca3b17538d4", "score": "0.6837357", "text": "public frm_GiaoDien() {\n initComponents();\n }", "title": "" }, { "docid": "c437edf010543caf28aaa138c4bcba97", "score": "0.6836058", "text": "public Class8() {\n initComponents();\n }", "title": "" }, { "docid": "98ca0ee1c1deb838a0b51412b7352688", "score": "0.6832757", "text": "public formpersegipanjang() {\n initComponents();\n }", "title": "" }, { "docid": "99f406b519783c71ca7e201baa52b2ef", "score": "0.68316805", "text": "public BarangGUI() {\n initComponents();\n }", "title": "" }, { "docid": "2c9e9fdf22dfa5454761296db9b476b4", "score": "0.683075", "text": "public frmAnaSayfa() {\n initComponents();\n }", "title": "" }, { "docid": "7e00ffda8e4567aef4537e2cd871e6cf", "score": "0.6810601", "text": "public FormColegio() {\n initComponents();\n }", "title": "" }, { "docid": "c02c8248d1a3c4ba2bd1d1b9508d9b69", "score": "0.6807805", "text": "public CustomerForm() {\n initComponents();\n }", "title": "" }, { "docid": "9a83e5e3318b3993c42660e377abdbf4", "score": "0.6804242", "text": "public TestForm() {\n initComponents();\n }", "title": "" }, { "docid": "28ea379bc7c52f6e27d938a85a5e4ef2", "score": "0.6802983", "text": "public RateDoctorsForm() {\n initComponents();\n }", "title": "" }, { "docid": "6132d62f562c63e3984d8fb568d93fd7", "score": "0.68027604", "text": "public Saque() {\n initComponents();\n }", "title": "" }, { "docid": "c2c84b636c71eb087025df86e0cdf245", "score": "0.67975485", "text": "public customerForm() {\n initComponents();\n }", "title": "" }, { "docid": "2efa4378f9a23a15072175ba7a415069", "score": "0.67916745", "text": "public frmVentas() {\n initComponents();\n }", "title": "" }, { "docid": "fc915da8861e32be8d0700a2ff2cc7d2", "score": "0.6779584", "text": "public CalculatorUI() {\n initComponents();\n }", "title": "" }, { "docid": "f0cf51fd83c6e6b57e4516162765c53d", "score": "0.6778401", "text": "public StaffEntryForm() {\n initComponents();\n conn = connectjava.ConnectDb();\n setPosition();\n }", "title": "" }, { "docid": "8702e15408b22483c550e8978900ee1f", "score": "0.6772158", "text": "public ReconcilliationFormShow() {\r\n \r\n }", "title": "" }, { "docid": "c3a3aa73ed32470d3627d288ac7dc6e3", "score": "0.6769391", "text": "public EA_Grille_Salaire1() {\n initComponents();\n }", "title": "" }, { "docid": "e7d9785197d460099f202688d0330e70", "score": "0.67647314", "text": "public FoodInformation1() {\n initComponents();\n }", "title": "" }, { "docid": "482b51227287fc5ea148ee2c8f8fd942", "score": "0.675658", "text": "public AddMovieForm() {\n this.setTitle(\"Add New Movie\");\n initComponents();\n setDefaultCloseOperation (JFrame.DISPOSE_ON_CLOSE);\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "123cc7227df1c809d01567bfc463f57e", "score": "0.67564416", "text": "public NhanVienThem() {\n initComponents();\n }", "title": "" }, { "docid": "09b64bcf7956277111d9ed7491a6afcd", "score": "0.67563224", "text": "public PFCS() {\n initComponents();\n }", "title": "" }, { "docid": "3e2b73ba732b381ea2ba977c7e1c90ed", "score": "0.6751674", "text": "public StudentForm() {\n initComponents();\n }", "title": "" }, { "docid": "c2db6273aed8830e031d0e05860e7617", "score": "0.6751453", "text": "public Adatbevitel() {\n initComponents();\n }", "title": "" }, { "docid": "bad7a908eeaa27ed08dafe3202b07026", "score": "0.6750723", "text": "public MenuFormAdmin() {\n initComponents();\n }", "title": "" }, { "docid": "b6305bc5f6786de3ad56ebb1767b89b2", "score": "0.6743639", "text": "public adminform() {\n initComponents();\n setDefaultCloseOperation (adminform.DISPOSE_ON_CLOSE);\n }", "title": "" }, { "docid": "24cb0028ee3e389614a0b84e65871f99", "score": "0.6743114", "text": "public GUIDelivaryON() {\n initComponents();\n }", "title": "" }, { "docid": "ff7b4f3bb826ade333e0e48569aa5f4f", "score": "0.6739312", "text": "public rfidReaderUI() {\n initComponents();\n }", "title": "" }, { "docid": "0cecc4cda5b48929e0755f0f44ba5ff0", "score": "0.67378145", "text": "public Hilos() {\n initComponents();\n }", "title": "" }, { "docid": "690086143b943747a117f693f6736fb1", "score": "0.67370063", "text": "public CustomFormFiled() {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper();\n\t\t}", "title": "" }, { "docid": "5b985dbc394aad1ef5588ae4f3972cd7", "score": "0.67357296", "text": "public AddDistrictGUI() {\n initComponents();\n }", "title": "" }, { "docid": "2b40cc57ca46598a81869c35bdc8c0d7", "score": "0.67356724", "text": "public JFrame_FinancialAddUI() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "5dc9fc947c84c68f70019db3b6963f45", "score": "0.67335653", "text": "public giuBILLET() {\n initComponents();\n }", "title": "" }, { "docid": "1a1f0ad16e7ee29f6af66a571a6ce2d8", "score": "0.673317", "text": "public BarraN() {\n initComponents();\n }", "title": "" }, { "docid": "fed485b82dd2c4ac7e23ae828f65828b", "score": "0.6733123", "text": "public Jformation() {\n super();\n initComponents();\n \n }", "title": "" }, { "docid": "86a3bda007fd8e5094b7ceecc68f1b1e", "score": "0.67276675", "text": "public Stokdetay1() {\n initComponents();\n }", "title": "" }, { "docid": "1fb1b57be89665c32204604440bad22c", "score": "0.6727541", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jFormattedTextFieldCpf = new javax.swing.JFormattedTextField();\n TextNome = new javax.swing.JTextField();\n ComboBoxSexo = new javax.swing.JComboBox<>();\n jFormattedTextFieldData = new javax.swing.JFormattedTextField();\n jFormattedTextFieldTel = new javax.swing.JFormattedTextField();\n TextEmail = new javax.swing.JTextField();\n jFormattedTextFieldRg = new javax.swing.JFormattedTextField();\n TextSenha = new javax.swing.JPasswordField();\n jButtonCancelar = new javax.swing.JButton();\n jButtonCadastrar = new javax.swing.JButton();\n jLabelCPF = new javax.swing.JLabel();\n jLabelNome = new javax.swing.JLabel();\n jLabelSexo = new javax.swing.JLabel();\n jLabelDate = new javax.swing.JLabel();\n jLabelTel = new javax.swing.JLabel();\n jLabelEmail = new javax.swing.JLabel();\n jLabelRg = new javax.swing.JLabel();\n jLabelSenha = new javax.swing.JLabel();\n jLabelCdPessoa = new javax.swing.JLabel();\n jLabelFundoCadastro = new javax.swing.JLabel();\n jLabelFundoPrincipal = new javax.swing.JLabel();\n jMenuBar1 = new javax.swing.JMenuBar();\n jMenuCadastrar = new javax.swing.JMenu();\n jMenuItemFuncionario = new javax.swing.JMenuItem();\n jMenuItemProduto = new javax.swing.JMenuItem();\n jMenuOperacao = new javax.swing.JMenu();\n jMenuItemConsultarPreco = new javax.swing.JMenuItem();\n jMenuItemRealizarVenda = new javax.swing.JMenuItem();\n jMenuItemExcluirProduto = new javax.swing.JMenuItem();\n jMenuItemAlterarPreco = new javax.swing.JMenuItem();\n jMenuItemRelatorioDeEstoque = new javax.swing.JMenuItem();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"DevelopersMarket\");\n setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n setExtendedState(6);\n setResizable(false);\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n try {\n jFormattedTextFieldCpf.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter(\"###.###.###-##\")));\n } catch (java.text.ParseException ex) {\n ex.printStackTrace();\n }\n jFormattedTextFieldCpf.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jFormattedTextFieldCpfActionPerformed(evt);\n }\n });\n jFormattedTextFieldCpf.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jFormattedTextFieldCpfKeyPressed(evt);\n }\n });\n getContentPane().add(jFormattedTextFieldCpf, new org.netbeans.lib.awtextra.AbsoluteConstraints(910, 410, 170, -1));\n\n TextNome.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n TextNomeKeyPressed(evt);\n }\n });\n getContentPane().add(TextNome, new org.netbeans.lib.awtextra.AbsoluteConstraints(910, 440, 240, -1));\n\n ComboBoxSexo.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Selecione\", \"Masculino\", \"Feminino\", \"Indefinido\" }));\n ComboBoxSexo.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n ComboBoxSexo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ComboBoxSexoActionPerformed(evt);\n }\n });\n ComboBoxSexo.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n ComboBoxSexoKeyPressed(evt);\n }\n });\n getContentPane().add(ComboBoxSexo, new org.netbeans.lib.awtextra.AbsoluteConstraints(910, 470, 100, -1));\n\n try {\n jFormattedTextFieldData.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter(\"##/##/####\")));\n } catch (java.text.ParseException ex) {\n ex.printStackTrace();\n }\n jFormattedTextFieldData.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jFormattedTextFieldDataActionPerformed(evt);\n }\n });\n jFormattedTextFieldData.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jFormattedTextFieldDataKeyPressed(evt);\n }\n });\n getContentPane().add(jFormattedTextFieldData, new org.netbeans.lib.awtextra.AbsoluteConstraints(909, 500, 170, -1));\n\n try {\n jFormattedTextFieldTel.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter(\"(##) #####-####\")));\n } catch (java.text.ParseException ex) {\n ex.printStackTrace();\n }\n jFormattedTextFieldTel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jFormattedTextFieldTelActionPerformed(evt);\n }\n });\n jFormattedTextFieldTel.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jFormattedTextFieldTelKeyPressed(evt);\n }\n });\n getContentPane().add(jFormattedTextFieldTel, new org.netbeans.lib.awtextra.AbsoluteConstraints(910, 530, 170, -1));\n\n TextEmail.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n TextEmailKeyPressed(evt);\n }\n });\n getContentPane().add(TextEmail, new org.netbeans.lib.awtextra.AbsoluteConstraints(910, 560, 170, -1));\n\n try {\n jFormattedTextFieldRg.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter(\"#.###.###\")));\n } catch (java.text.ParseException ex) {\n ex.printStackTrace();\n }\n jFormattedTextFieldRg.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jFormattedTextFieldRgKeyPressed(evt);\n }\n });\n getContentPane().add(jFormattedTextFieldRg, new org.netbeans.lib.awtextra.AbsoluteConstraints(910, 590, 170, -1));\n\n TextSenha.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n TextSenhaActionPerformed(evt);\n }\n });\n TextSenha.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n TextSenhaKeyPressed(evt);\n }\n });\n getContentPane().add(TextSenha, new org.netbeans.lib.awtextra.AbsoluteConstraints(910, 620, 170, -1));\n\n jButtonCancelar.setFont(new java.awt.Font(\"Tw Cen MT Condensed\", 0, 18)); // NOI18N\n jButtonCancelar.setText(\"Cancelar\");\n jButtonCancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonCancelarActionPerformed(evt);\n }\n });\n jButtonCancelar.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jButtonCancelarKeyPressed(evt);\n }\n });\n getContentPane().add(jButtonCancelar, new org.netbeans.lib.awtextra.AbsoluteConstraints(880, 680, 110, -1));\n\n jButtonCadastrar.setFont(new java.awt.Font(\"Tw Cen MT Condensed\", 0, 18)); // NOI18N\n jButtonCadastrar.setText(\"Cadastrar\");\n jButtonCadastrar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonCadastrarActionPerformed(evt);\n }\n });\n jButtonCadastrar.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jButtonCadastrarKeyPressed(evt);\n }\n });\n getContentPane().add(jButtonCadastrar, new org.netbeans.lib.awtextra.AbsoluteConstraints(1070, 680, 110, -1));\n\n jLabelCPF.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelCPF.setForeground(new java.awt.Color(255, 255, 255));\n jLabelCPF.setText(\"CPF\");\n getContentPane().add(jLabelCPF, new org.netbeans.lib.awtextra.AbsoluteConstraints(860, 410, 60, -1));\n\n jLabelNome.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelNome.setForeground(new java.awt.Color(255, 255, 255));\n jLabelNome.setText(\"Nome\");\n getContentPane().add(jLabelNome, new org.netbeans.lib.awtextra.AbsoluteConstraints(860, 440, 60, -1));\n\n jLabelSexo.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelSexo.setForeground(new java.awt.Color(255, 255, 255));\n jLabelSexo.setText(\"Sexo\");\n getContentPane().add(jLabelSexo, new org.netbeans.lib.awtextra.AbsoluteConstraints(860, 470, 60, -1));\n\n jLabelDate.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelDate.setForeground(new java.awt.Color(255, 255, 255));\n jLabelDate.setText(\"Nascimento\");\n getContentPane().add(jLabelDate, new org.netbeans.lib.awtextra.AbsoluteConstraints(820, 500, 90, -1));\n\n jLabelTel.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelTel.setForeground(new java.awt.Color(255, 255, 255));\n jLabelTel.setText(\"Telefone\");\n getContentPane().add(jLabelTel, new org.netbeans.lib.awtextra.AbsoluteConstraints(840, 530, 60, -1));\n\n jLabelEmail.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelEmail.setForeground(new java.awt.Color(255, 255, 255));\n jLabelEmail.setText(\"Email\");\n getContentPane().add(jLabelEmail, new org.netbeans.lib.awtextra.AbsoluteConstraints(860, 560, 60, -1));\n\n jLabelRg.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelRg.setForeground(new java.awt.Color(255, 255, 255));\n jLabelRg.setText(\"RG\");\n getContentPane().add(jLabelRg, new org.netbeans.lib.awtextra.AbsoluteConstraints(880, 590, 60, -1));\n\n jLabelSenha.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelSenha.setForeground(new java.awt.Color(255, 255, 255));\n jLabelSenha.setText(\"Senha\");\n getContentPane().add(jLabelSenha, new org.netbeans.lib.awtextra.AbsoluteConstraints(860, 620, 60, -1));\n\n jLabelCdPessoa.setFont(new java.awt.Font(\"Tw Cen MT Condensed Extra Bold\", 0, 18)); // NOI18N\n jLabelCdPessoa.setForeground(new java.awt.Color(255, 255, 255));\n jLabelCdPessoa.setText(\"CADASTRO DE FUNCIONARIO\");\n getContentPane().add(jLabelCdPessoa, new org.netbeans.lib.awtextra.AbsoluteConstraints(920, 310, 210, -1));\n\n jLabelFundoCadastro.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/background.jpg\"))); // NOI18N\n jLabelFundoCadastro.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));\n getContentPane().add(jLabelFundoCadastro, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 290, 710, 480));\n\n jLabelFundoPrincipal.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/naom_5982f96d4ab62.jpg\"))); // NOI18N\n getContentPane().add(jLabelFundoPrincipal, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, -20, -1, -1));\n\n jMenuCadastrar.setText(\"Cadastrar\");\n\n jMenuItemFuncionario.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F1, 0));\n jMenuItemFuncionario.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/Icons/cliente-icon.png\"))); // NOI18N\n jMenuItemFuncionario.setText(\"Funcionario\");\n jMenuItemFuncionario.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemFuncionarioActionPerformed(evt);\n }\n });\n jMenuCadastrar.add(jMenuItemFuncionario);\n\n jMenuItemProduto.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F2, 0));\n jMenuItemProduto.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/Icons/shopping-bag_1.png\"))); // NOI18N\n jMenuItemProduto.setText(\"Produto\");\n jMenuItemProduto.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemProdutoActionPerformed(evt);\n }\n });\n jMenuCadastrar.add(jMenuItemProduto);\n\n jMenuBar1.add(jMenuCadastrar);\n\n jMenuOperacao.setText(\"Operação\");\n\n jMenuItemConsultarPreco.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F3, 0));\n jMenuItemConsultarPreco.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/Icons/Consultar Preço.png\"))); // NOI18N\n jMenuItemConsultarPreco.setText(\"Consultar Preço\");\n jMenuItemConsultarPreco.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemConsultarPrecoActionPerformed(evt);\n }\n });\n jMenuOperacao.add(jMenuItemConsultarPreco);\n\n jMenuItemRealizarVenda.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F4, 0));\n jMenuItemRealizarVenda.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/Icons/Realizar Venda.png\"))); // NOI18N\n jMenuItemRealizarVenda.setText(\"Realizar Venda\");\n jMenuItemRealizarVenda.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemRealizarVendaActionPerformed(evt);\n }\n });\n jMenuOperacao.add(jMenuItemRealizarVenda);\n\n jMenuItemExcluirProduto.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F5, 0));\n jMenuItemExcluirProduto.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/Icons/Excluir Produto.png\"))); // NOI18N\n jMenuItemExcluirProduto.setText(\"Excluir Produto\");\n jMenuItemExcluirProduto.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemExcluirProdutoActionPerformed(evt);\n }\n });\n jMenuOperacao.add(jMenuItemExcluirProduto);\n\n jMenuItemAlterarPreco.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F6, 0));\n jMenuItemAlterarPreco.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/Icons/Alterar Preço.png\"))); // NOI18N\n jMenuItemAlterarPreco.setText(\"Alterar Preço\");\n jMenuItemAlterarPreco.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemAlterarPrecoActionPerformed(evt);\n }\n });\n jMenuOperacao.add(jMenuItemAlterarPreco);\n\n jMenuItemRelatorioDeEstoque.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F7, 0));\n jMenuItemRelatorioDeEstoque.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/View/Imagens/Icons/Relatorio de Estoque.png\"))); // NOI18N\n jMenuItemRelatorioDeEstoque.setText(\"Relatorio de Estoque\");\n jMenuItemRelatorioDeEstoque.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItemRelatorioDeEstoqueActionPerformed(evt);\n }\n });\n jMenuOperacao.add(jMenuItemRelatorioDeEstoque);\n\n jMenuBar1.add(jMenuOperacao);\n\n setJMenuBar(jMenuBar1);\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "925b7b5f8b39f949a52e5a2fc066246b", "score": "0.6726794", "text": "public Utama() {\n initComponents();\n }", "title": "" }, { "docid": "59104e8e50595e3442ba7643b888d9e5", "score": "0.6720994", "text": "public Kuis2() {\n initComponents();\n }", "title": "" }, { "docid": "59104e8e50595e3442ba7643b888d9e5", "score": "0.6720994", "text": "public Kuis2() {\n initComponents();\n }", "title": "" }, { "docid": "6ff700cf957ef36319a908bc8bd5e28e", "score": "0.6718316", "text": "public Form_Project() {\n initComponents();\n }", "title": "" } ]
1dff7d5d6606150b8f41053bb0093d56
Get Payment. Payment identifier
[ { "docid": "459b5f46bc7b43e6f46c0e4a9f606d59", "score": "0.763409", "text": "public int getC_Payment_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_Payment_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "title": "" } ]
[ { "docid": "33f7e5d8cebf959655f814c17247e53e", "score": "0.8722552", "text": "String getPaymentId();", "title": "" }, { "docid": "a8ea34e2a61e43471511b38e05398e87", "score": "0.8075976", "text": "public java.lang.Integer getPaymentId () {\n\t\treturn paymentId;\n\t}", "title": "" }, { "docid": "e389a72d36c9aa8a2bc0cc19bde76eb7", "score": "0.79767305", "text": "public int getPaymentId() {\n\t\treturn paymentId;\n\t}", "title": "" }, { "docid": "2406af3fbe8e8821a5be3c58bcc92991", "score": "0.75321716", "text": "String getPaymentRefNum();", "title": "" }, { "docid": "d23e88f58c601b94e0eee86d31215265", "score": "0.75184894", "text": "public int getPaymentNumber() {\n\t\treturn(this.paymentNumber);\n\t}", "title": "" }, { "docid": "5566d63b81b8b35a83f86119713b8d72", "score": "0.6994868", "text": "public String getPaymentTypeId() {\n return paymentTypeId;\n }", "title": "" }, { "docid": "a4e2dece7303bd66df9612cb0a65c19d", "score": "0.69886744", "text": "java.lang.String getSourcePaymentNumber();", "title": "" }, { "docid": "e2d179be0fbe2e0425a8ca9f7484f849", "score": "0.69387263", "text": "public String getPayment() { return Payment; }", "title": "" }, { "docid": "2ee3764e28ab9ad4c21b83e7b0ed5673", "score": "0.685422", "text": "public br.com.barroso.kafka.avroclient.avro.Payment getPayment() {\n return payment;\n }", "title": "" }, { "docid": "18fcec2acbe5cfe8fd00572aff8635a0", "score": "0.6849281", "text": "public br.com.barroso.kafka.avroclient.avro.Payment getPayment() {\n return payment;\n }", "title": "" }, { "docid": "dbe727fb27ba2bec6b3481950642813b", "score": "0.6837708", "text": "public Integer getPaymentMethodId() {\r\n return paymentMethodId;\r\n }", "title": "" }, { "docid": "c58ed36fce9828ba38115d0d90507041", "score": "0.68054146", "text": "public Integer getPayId() {\n return payId;\n }", "title": "" }, { "docid": "a4a1bff8b1cda97ccab6095bc0c03fa2", "score": "0.68027884", "text": "public Integer getPaymentMethodId() {\n return paymentMethodId;\n }", "title": "" }, { "docid": "72ce003e824ec5ae6fec859d23e90151", "score": "0.6676665", "text": "public int getPaymentType() {\n\t\treturn paymentType;\n\t}", "title": "" }, { "docid": "79ab2786973bfe9e149806add4ca7dde", "score": "0.6656617", "text": "@Override\n\tpublic Payment getPayment(int id) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ce36e370b63c0f49b8ec90feec4a4ba9", "score": "0.6628625", "text": "public int getPaymentOrder() {\n return paymentOrder;\n }", "title": "" }, { "docid": "e01d79722ad2ed9fec581fc0f50834a6", "score": "0.6581392", "text": "public Integer getPersonRepaymentId() {\r\n return personRepaymentId;\r\n }", "title": "" }, { "docid": "5b8a36cbda0d7ef7beeaed644f2dd39a", "score": "0.6555845", "text": "public Number getPaymentOptionId() {\r\n return (Number)getAttributeInternal(PAYMENTOPTIONID);\r\n }", "title": "" }, { "docid": "de59a5f2bd3aa240ecb3139e9b0eda20", "score": "0.65492934", "text": "public String paymentToken() {\n return this.paymentToken;\n }", "title": "" }, { "docid": "cc76091fe1ce64becb359a7c51d3a9d8", "score": "0.6534554", "text": "PaymentType getPaymentType();", "title": "" }, { "docid": "e2e3a1c57dd85f0754d8006fa615e27a", "score": "0.65096945", "text": "static String referenceTypeId() {\n return \"payment\";\n }", "title": "" }, { "docid": "dfd0f8e952b38ff6ea9121db6ae8cc85", "score": "0.64825445", "text": "public int getPaymentPlanKey() {\r\n return paymentPlanKey;\r\n }", "title": "" }, { "docid": "dfd0f8e952b38ff6ea9121db6ae8cc85", "score": "0.64825445", "text": "public int getPaymentPlanKey() {\r\n return paymentPlanKey;\r\n }", "title": "" }, { "docid": "9f0804c3c502eb92e4020725ff4fc0d4", "score": "0.6479967", "text": "@ApiModelProperty(value = \"The ID of the payment assocated with this refund.\")\n public String getPaymentId() {\n return paymentId;\n }", "title": "" }, { "docid": "70f5e3fc7985e6b77564cbb6fdf02b63", "score": "0.64735925", "text": "public String getPurchaseIdentifier();", "title": "" }, { "docid": "95a5c3c5419142410cd352db39c92923", "score": "0.6455914", "text": "public Payment getSelectedPayment() {\n if (payment != null) {\n Query q = HibernateUtil.openCurrentSession().createNativeQuery(Constants.SQL_CURRENT_PAYMENT, Payment.class);\n q.setParameter(\"payment_ID\", payment.getPayment_id());\n Payment payment = (Payment) q.uniqueResult();\n HibernateUtil.closeCurrentSession();\n return payment;\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "e766677a93721cbc49c1d9c4e7d5695c", "score": "0.6452877", "text": "public String paymentType() {\n return this.paymentType;\n }", "title": "" }, { "docid": "dabb55788e1f10b5af563d1e06d7d847", "score": "0.64214367", "text": "public double getPayment() {\n return payment;\n }", "title": "" }, { "docid": "63de4441d83c07931be93657442966eb", "score": "0.64149326", "text": "public OrderPayment getPayment() {\n return payment;\n }", "title": "" }, { "docid": "9234270256e8a7312267c7688af3ca18", "score": "0.6404255", "text": "com.google.protobuf.ByteString\n getSourcePaymentNumberBytes();", "title": "" }, { "docid": "08cda6e54277142c7a51fca15ccee30b", "score": "0.63758856", "text": "PaymentMethod getPaymentMethod();", "title": "" }, { "docid": "cf23bf94837c8c03cb5f7fa1d9b6b103", "score": "0.6332057", "text": "public String getPayOrderId() {\n return payOrderId;\n }", "title": "" }, { "docid": "ee5cf2a136dc76484450057a2db0dfd7", "score": "0.6298847", "text": "private String getPaymentLedgerId(String paymentLedger) {\n\t\ttry {\n\t\t\tString sql=\"select ledgerId from tbAccfledger where ledgertitle='\"+paymentLedger+\"'\";\n\t\t\tResultSet rs=databaseHandler.execQuery(sql);\n\t\t\tif(rs.next()) {\n\t\t\t\treturn rs.getString(\"ledgerId\");\n\t\t\t}\n\t\t}catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tJOptionPane.showMessageDialog(null, e);\n\t\t}\n\t\treturn \"0\";\n\t}", "title": "" }, { "docid": "226d3995e46f37b46dc529006e456e8c", "score": "0.6262196", "text": "public int getPaymentTitle() {\n\t\treturn paymentTitle;\n\t}", "title": "" }, { "docid": "2d33f10a37861f30ba8a52dbc0a12a15", "score": "0.61958677", "text": "public long getTimePayment() {\n return timePayment_;\n }", "title": "" }, { "docid": "1a7bf071da981c39f92c4cbae2c980e7", "score": "0.61949605", "text": "public java.lang.String getPaymentMode() {\r\n return paymentMode;\r\n }", "title": "" }, { "docid": "d50b317829c93e99c2787657333c4ac8", "score": "0.61944866", "text": "public String getPaymentDescription()\r\n\t{\r\n\t\treturn paymentDescription;\r\n\t}", "title": "" }, { "docid": "501436ca4144d2c41cbe7d29958b44c4", "score": "0.6193621", "text": "public long getTimePayment() {\n return timePayment_;\n }", "title": "" }, { "docid": "9d2188dd3cecfd4ef40c0f64f25ce30c", "score": "0.6172632", "text": "double getpayment();", "title": "" }, { "docid": "e3143e1027422221328c00fbad67e5e0", "score": "0.61721176", "text": "public String billPayment() {\n\n\t\tBillDelegate billDelegate = new BillDelegate();\n\t\tbillerList = billDelegate.getBiller();\n\t\tstateList = billDelegate.getState();\n\t\treturn \"billPayment\";\n\t}", "title": "" }, { "docid": "06b3cac22ba1239978112c5ceda98dc1", "score": "0.61655486", "text": "public java.lang.String getPaymentMode () {\n\t\treturn paymentMode;\n\t}", "title": "" }, { "docid": "e8f6be005c612e41b35f938abe1497c8", "score": "0.6148826", "text": "public String getGeneratedInvoiceNumber(PaymentService paymentService) {\r\n String generateSequesnceNumber =\r\n paymentService.generateSequence(\"GIFT_AID\", \"INVOICE\");\r\n String referenceNumber =\r\n generateSequenceHelper.prefixReferenceType(\"GIFT_AID\",\r\n \"INVOICE\", generateSequesnceNumber);\r\n if(LOGGER.isDebugEnabled()) {\r\n LOGGER.debug(\"generate sequence number is\" + referenceNumber);\r\n }\r\n return referenceNumber;\r\n }", "title": "" }, { "docid": "2c854ddf52c7b252250cf5902bdae4ea", "score": "0.6125447", "text": "public java.lang.Long getPaymentAmt() {\r\n return paymentAmt;\r\n }", "title": "" }, { "docid": "2cc241eaccb11b1f36feea9ec87e313d", "score": "0.611819", "text": "public Object getPaymentInformation(String key) {\n\t\treturn paymentInformation.get(key);\n\t}", "title": "" }, { "docid": "e27da9b5d9586bef0665bac6818a62b4", "score": "0.6081941", "text": "public java.lang.String getPaymentStatus() {\r\n return paymentStatus;\r\n }", "title": "" }, { "docid": "4d5e9c9bcbd3e113ca4e1c35ea76fdb1", "score": "0.60595196", "text": "int getReceiptId();", "title": "" }, { "docid": "f77a86ec5539e6c8937dfb19128d6de7", "score": "0.60531247", "text": "public java.lang.String getPayphoneId() {\n return payphoneId;\n }", "title": "" }, { "docid": "b2b371a01561b0c0a5968831c41a0575", "score": "0.6051455", "text": "long getTimePayment();", "title": "" }, { "docid": "fbf7c3b57a51653eedae66535303c2ee", "score": "0.6035125", "text": "OrderPaymentPreference getPaymentPreference();", "title": "" }, { "docid": "5173309a1322e3228dc12609835e79f3", "score": "0.603065", "text": "public Card getPaymentMethod ( ) {\r\n\t\treturn paymentMethod;\r\n\t}", "title": "" }, { "docid": "5d5aa2615b70c0a087f8487f7951918f", "score": "0.6027614", "text": "@Override\r\n\tpublic double getPayment() {\n\t\tSystem.out.println(this);\r\n\t\treturn this.getSalary();\t}", "title": "" }, { "docid": "88589e992b1155ddd7ca6235f9d05139", "score": "0.6025928", "text": "private void getNewJobPaymentId() throws ClassNotFoundException, SQLException {\n String paymentCode = IdGenerator.getNewId(3);\n txtJobPaymentId.setText(paymentCode);\n jobPayID = paymentCode;\n }", "title": "" }, { "docid": "9fb3e7e59f421ab0018f9955058c9acb", "score": "0.6015548", "text": "public java.lang.String getPaymentMethod() {\n return paymentMethod;\n }", "title": "" }, { "docid": "4eee19d070726b0db4cac7112a78e381", "score": "0.5979669", "text": "java.lang.String getPaymentHash();", "title": "" }, { "docid": "8cfd4c5940a8c24ab42f1ecada944f26", "score": "0.59623814", "text": "public String getPayCode() {\n return payCode;\n }", "title": "" }, { "docid": "3f93ff3b4058d7f21b0e800b5a15e771", "score": "0.59600854", "text": "public String getPaidMethod() {\n return paidMethod;\n }", "title": "" }, { "docid": "ebf44c15665e0858c6fbb2792cf1b37a", "score": "0.59584105", "text": "public java.lang.String getPaypalBillingAgreementId() {\r\n return paypalBillingAgreementId;\r\n }", "title": "" }, { "docid": "7c5c876721149d6dece7e7d84e4eb1b6", "score": "0.5951917", "text": "public Object getTransactionIdentifier(Transaction transaction);", "title": "" }, { "docid": "1d80bf3d264284108b8a67a7668ff0d8", "score": "0.59469545", "text": "PaymentMethodType getPaymentMethodType();", "title": "" }, { "docid": "2d57d225e118468d4ea6fbbf9d3b24b9", "score": "0.5943173", "text": "Payment takePayment();", "title": "" }, { "docid": "cb7f3840b111f420540a183aca28cb99", "score": "0.5932171", "text": "@Override\n\tpublic Integer makePayment(Payment pay) throws Exception {\n\t\treturn paymentDao.add(pay).getId();\n\t}", "title": "" }, { "docid": "d65bc1957861f8a9b03fe15932a29692", "score": "0.5924411", "text": "public int getTransactionID();", "title": "" }, { "docid": "c6aeb3a8c2e3eb45c64d65ef35a06168", "score": "0.59143597", "text": "java.lang.String getDealerId();", "title": "" }, { "docid": "d90a2a0e567738810c6cd2ca7b50426d", "score": "0.5903447", "text": "java.lang.String getPayer();", "title": "" }, { "docid": "c17a973ac8169256eb36c410d0b85cdf", "score": "0.58895737", "text": "public Long getTaxablePaymentId() {\n return taxablePaymentId;\n }", "title": "" }, { "docid": "9f908f4ecdee29580a7b0db2eb873fbc", "score": "0.5889105", "text": "public double getPaymentAmount() {\r\n return paymentAmount;\r\n }", "title": "" }, { "docid": "18e566a7fa51b7895c0536e40d9cfbf3", "score": "0.5884264", "text": "public Date getDateOfPayment() {\n return dateOfPayment;\n }", "title": "" }, { "docid": "832002acb35b1ed7586d10fe960308d7", "score": "0.58653253", "text": "public void setPaymentId (java.lang.Integer paymentId) {\n\t\tthis.paymentId = paymentId;\n\t}", "title": "" }, { "docid": "f95ee5f0420338c8da3afb867e7d1838", "score": "0.58424824", "text": "public long getProcurationId();", "title": "" }, { "docid": "965f26b7957d8f96e08fb71360e4c6aa", "score": "0.5828681", "text": "public int getPaidBy() {\n\t\treturn paidBy;\n\t}", "title": "" }, { "docid": "0295497dd8a25fac5d4d6e445fb5386c", "score": "0.5826847", "text": "public java.lang.String getPaymentDate() {\n return paymentDate;\n }", "title": "" }, { "docid": "9a01ecf6a365555fe97a7da05851bbaf", "score": "0.5822229", "text": "private String processPayment () { Should do payment confirmation by calling third party api\n //\n return OrderStatuses.PAYMENT_SUCCESS;\n }", "title": "" }, { "docid": "5f2cbbc877a88c11f138ae2074137bb3", "score": "0.58001494", "text": "public abstract double getPayment();", "title": "" }, { "docid": "ceec1140a269d2bd7ed5211bbc70b10b", "score": "0.57804924", "text": "public String currencyId();", "title": "" }, { "docid": "96645a71bdb0b5be43e8294914222798", "score": "0.57596844", "text": "cosmos.base.v1beta1.CoinOuterClass.Coin getPayment();", "title": "" }, { "docid": "01be86cd762182144040c3732a680988", "score": "0.5755264", "text": "public BigDecimal getBillingId() {\n return billingId;\n }", "title": "" }, { "docid": "eb3104b9732d8b5eb569c54c47951f62", "score": "0.5755194", "text": "AbstractPayment findOneByMerchantIdAndPaymentId(long merchantId, long paymentId) throws MerchantNotFoundException,\n PaymentNotFoundException;", "title": "" }, { "docid": "7446ba65a1ac183ce945fa51124465a6", "score": "0.57535046", "text": "public OlePaymentMethod getPaymentMethod() {\n return paymentMethod;\n }", "title": "" }, { "docid": "41f81f7e414b9e4eb680323f5b52459d", "score": "0.57519466", "text": "public String getPay() {\n return pay;\n }", "title": "" }, { "docid": "47a984511f05cbe77840e73f252b3e15", "score": "0.57490504", "text": "public void setPaymentId(int paymentId) {\n\t\tthis.paymentId = paymentId;\n\t}", "title": "" }, { "docid": "b723af3a1e80bfcedd6391c47c9db502", "score": "0.57196057", "text": "GIACOrderOfPayment getGIACOrderOfPaymentDtl(int tranId) throws SQLException;", "title": "" }, { "docid": "e3609f9bd69d3790a399a7bec0e613d3", "score": "0.5701143", "text": "@Override\n\tpublic String getRegistrationNo() {\n\t\treturn proposalNo;\n\t}", "title": "" }, { "docid": "1e1fc807523771223342f03d9fc3926b", "score": "0.570046", "text": "String getSerialNumber();", "title": "" }, { "docid": "76e5cbf6fa3eeabbf2ca833994ee51a3", "score": "0.56909955", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"Payment [id=\" + id + \", result=\" + status + \"]\";\n\t}", "title": "" }, { "docid": "5b038f7e1635d697ae45c4ee0a1dfbce", "score": "0.5690889", "text": "public String getTaxpayerIdnumber() {\r\n return taxpayerIdnumber;\r\n }", "title": "" }, { "docid": "5b038f7e1635d697ae45c4ee0a1dfbce", "score": "0.5690889", "text": "public String getTaxpayerIdnumber() {\r\n return taxpayerIdnumber;\r\n }", "title": "" }, { "docid": "a694629522fb0256bad9ba69ce67f7ea", "score": "0.5677115", "text": "@java.lang.Override\n public cosmos.base.v1beta1.CoinOuterClass.Coin getPayment() {\n return payment_ == null ? cosmos.base.v1beta1.CoinOuterClass.Coin.getDefaultInstance() : payment_;\n }", "title": "" }, { "docid": "b8c534c7099881adc7c0e06e769e9662", "score": "0.56768054", "text": "String getSubscription_id();", "title": "" }, { "docid": "56aee71b6781b207ea19959d1994d540", "score": "0.56761473", "text": "public Long getPayType() {\n return payType;\n }", "title": "" }, { "docid": "38b0a9b9c2bbde89254bcaede6b2dc27", "score": "0.5668371", "text": "public int getPay(){\r\n\t\treturn pay;\r\n\t}", "title": "" }, { "docid": "c8bb49c61defec39edc77186d097fd75", "score": "0.5666023", "text": "public int getId() {\n\t\treturn this.idCard;\n\t}", "title": "" }, { "docid": "a93de6c9ec5316d28bf2466686b79adc", "score": "0.5653042", "text": "@Schema(description = \"\")\n public String getPaymentdueamt() {\n return paymentdueamt;\n }", "title": "" }, { "docid": "369de9e3caeba3505282e12a81cb1ef2", "score": "0.56490093", "text": "public String getPaidIntegral() {\n return paidIntegral;\n }", "title": "" }, { "docid": "d9c094930c434ef2bf17f4a1004e2f95", "score": "0.56483924", "text": "public String billingPeriodId() {\n return this.billingPeriodId;\n }", "title": "" }, { "docid": "37d3ec4ecb72d850935d7def306cf9e0", "score": "0.5648273", "text": "public Date getPaymentDate()\r\n\t{\r\n\t\treturn paymentDate;\r\n\t}", "title": "" }, { "docid": "a43b486196ba91af7d9d1423120d5394", "score": "0.56458956", "text": "public String getOrderID() throws RemoteException;", "title": "" }, { "docid": "1208b505a6b992e2f2e90c9a613ce3e6", "score": "0.5645022", "text": "public String getIdCardNo() {\n return idCardNo;\n }", "title": "" }, { "docid": "f35b0899a927869dc5b8645e94d0c6df", "score": "0.5642887", "text": "@Override\n\tpublic String getPayrollNo() {\n\t\treturn _reinstatement.getPayrollNo();\n\t}", "title": "" }, { "docid": "4f33210876881f106ac7bb5a99311060", "score": "0.5628079", "text": "String processPayment(String paymentInfo);", "title": "" }, { "docid": "43bbe433508bc45c39ac0fcece4489b5", "score": "0.56264096", "text": "java.lang.String getPaymentPreimage();", "title": "" } ]
bbdc567edee2c468a1396cd705aa2e03
Sets the transaction instance that contains the INVITE which started this call.
[ { "docid": "1e6051c25d48dcd9a0fbc1640d4a0328", "score": "0.6667839", "text": "public void setLatestInviteTransaction(Transaction transaction)\n {\n this.latestInviteTransaction = transaction;\n }", "title": "" } ]
[ { "docid": "3f22a5e85c774652c53db3bef88d0c3e", "score": "0.62641627", "text": "public void setTransaction(Tmedequipment anTransaction) {\n getTransactionMainCtrl().setSelectedTransaction(anTransaction);\r\n }", "title": "" }, { "docid": "254db28e2e89edd5aad86c6a9c94f06d", "score": "0.6068771", "text": "void setTransactionId(int transactionId);", "title": "" }, { "docid": "cfebdab489f60c96ec3e58129c222680", "score": "0.5883715", "text": "public void setTransaction(AbstractTransaction transaction) {\n this.currentTransaction = transaction;\n }", "title": "" }, { "docid": "1d60ffaefc806e6826bc81382995d07d", "score": "0.56343424", "text": "protected void setUserTransaction(UserTransaction txn) {\n \t_transaction = txn;\n }", "title": "" }, { "docid": "f5dbda7724435c2e653042790d3afb5f", "score": "0.56108445", "text": "public void setTx(int tx)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TX$0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TX$0);\n }\n target.setIntValue(tx);\n }\n }", "title": "" }, { "docid": "0b2d99f7673b46566df9744825aa222d", "score": "0.5593023", "text": "public void setTransactionId(TransactionId_type3 param){\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "962e1461121b7d73127e600fc1745506", "score": "0.5548125", "text": "public void begin(Transaction transaction);", "title": "" }, { "docid": "08f9a8557d4593bf67333314266ee08f", "score": "0.551873", "text": "public void setTransactionId(TransactionId_type1 param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "b71066a5b00aae72ebbb4f0ece85d9f7", "score": "0.5495703", "text": "public void setTransaction(String val) {\n transaction = val;\n }", "title": "" }, { "docid": "94e28cb51b62b3b57959f9559234d1e3", "score": "0.54847425", "text": "public void setTransactionId(final String transactionId) {\r\n _transactionId = transactionId;\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "6162279ff7e60bbd0519bd185d64a2a0", "score": "0.54677606", "text": "public void setTransactionId(java.lang.String param){\r\n localTransactionIdTracker = param != null;\r\n \r\n this.localTransactionId=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "cc778b2023b42afc65de7f7e1be9289b", "score": "0.54631937", "text": "public void setInTransaction(boolean inTransaction) {\n this.inTransaction = inTransaction;\n }", "title": "" }, { "docid": "ea5b4cfe32a44c441750cd400c32d7c4", "score": "0.5445524", "text": "protected void setTransactionID(TransactionID tranID) {\n //logger.debug(\"setTransactionID: {}\", String.valueOf(tranID));\n this.transactionID = tranID;\n }", "title": "" }, { "docid": "0d915d80a72ec40b782e74c12eeac064", "score": "0.54051423", "text": "public void changeTransaction(){\n\t\t\n\t\tupdateBlock();\n\t\t\n\t}", "title": "" }, { "docid": "7136bb31adc0d3f09b9e6bd33173d1c2", "score": "0.53988373", "text": "public void setTransactionID(TransactionID_type1E param){\r\n \r\n this.localTransactionID=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "03aced4e45972e14357f354181fec9e8", "score": "0.53860956", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "dd8b785cd10fe2c6a52d0c5916b369d0", "score": "0.5377656", "text": "void xsetTransactionId(org.apache.xmlbeans.XmlInt transactionId);", "title": "" }, { "docid": "a70ef0bab23fabb9ac0fa2b6f81edae2", "score": "0.53529114", "text": "public void setUserTransaction(UserTransaction userTransaction) {\n\t\tthis.userTransaction = userTransaction;\n\t}", "title": "" }, { "docid": "cd05960568788ea264e73d9a2bed44f8", "score": "0.5326252", "text": "private void setTransactionId() {\n if (sourceInfo.getCurrentGtid() != null) {\n this.transactionId = sourceInfo.getCurrentGtid();\n }\n else {\n this.transactionId = String.format(NON_GTID_TRANSACTION_ID_FORMAT,\n this.restartBinlogFilename, this.restartBinlogPosition);\n }\n }", "title": "" }, { "docid": "e1f87ca12ea1956cb69552a1b293c552", "score": "0.5322309", "text": "public void setTransactionId(long transactionId)\n {\n this._transactionId = transactionId;\n this._has_transactionId = true;\n }", "title": "" }, { "docid": "28f9779be8fa37b0ca9308b927a913f2", "score": "0.531879", "text": "public void invite()\n throws OperationFailedException\n {\n try\n {\n ClientTransaction inviteTran\n = (ClientTransaction) getLatestInviteTransaction();\n Request invite = inviteTran.getRequest();\n\n // Content-Type\n ContentTypeHeader contentTypeHeader\n = getProtocolProvider()\n .getHeaderFactory()\n .createContentTypeHeader(\"application\", \"sdp\");\n\n invite.setContent(\n getMediaHandler().createOffer(),\n contentTypeHeader);\n\n processExtraHeaders(invite);\n\n inviteTran.sendRequest();\n if (logger.isDebugEnabled())\n logger.debug(\"sent request:\\n\" + inviteTran.getRequest());\n }\n catch (Exception ex)\n {\n ProtocolProviderServiceSipImpl.throwOperationFailedException(\n \"An error occurred while sending invite request\",\n OperationFailedException.NETWORK_FAILURE,\n ex,\n logger);\n }\n }", "title": "" }, { "docid": "023bcd072c64fe2b83c2ba963d476c61", "score": "0.5290587", "text": "public void setInvite(java.lang.String param){\r\n \r\n clearAllSettingTrackers();\r\n localInviteTracker = param != null;\r\n \r\n this.localInvite=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "023bcd072c64fe2b83c2ba963d476c61", "score": "0.5290587", "text": "public void setInvite(java.lang.String param){\r\n \r\n clearAllSettingTrackers();\r\n localInviteTracker = param != null;\r\n \r\n this.localInvite=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "764aa9687be896e54c12ce89a109ea4e", "score": "0.5286738", "text": "public void setTransactionContext(WCCTTxnContext param){\r\n localTransactionContextTracker = param != null;\r\n \r\n this.localTransactionContext=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "fd43bc5947840ff7e42fe416710c0a56", "score": "0.52301323", "text": "public void processInvite(RequestEvent requestEvent,ServerTransaction serverTransaction) {\n SipProvider sipProvider = (SipProvider) requestEvent.getSource();\n Request request = requestEvent.getRequest();\n try {\n log.debug(\"Got an Invite sending Trying\");\n\n FromHeader from = (FromHeader) request.getHeader(\"From\");\n \tlog.debug(\"Call from: \" + from.getAddress().getDisplayName() +\"/\"+ from.getAddress().getURI());\n\n \tContactHeader contact = (ContactHeader) request.getHeader(\"Contact\");\n \tlog.debug(\"Contact: \" + contact.getAddress().getDisplayName() +\"/\"+ contact.getAddress().getURI());\n \n // log.debug(\"shootme: \" + request);\n Response response = messageFactory.createResponse(Response.TRYING,\n request);\n ServerTransaction st = requestEvent.getServerTransaction();\n\n if (st == null) {\n st = sipProvider.getNewServerTransaction(request);\n }\n dialog = st.getDialog();\n\n st.sendResponse(response);\n\n Response okResponse = messageFactory.createResponse(Response.NOT_FOUND,\n request);\n \n ToHeader toHeader = (ToHeader) okResponse.getHeader(ToHeader.NAME);\n toHeader.setTag(\"4321\"); // Application is supposed to set.\n \n inviteTid = st;\n // Defer sending the OK to simulate the phone ringing.\n inviteRequest = request;\n \n try {\n if (inviteTid.getState() != TransactionState.COMPLETED) {\n inviteTid.sendResponse(okResponse);\n }\n } catch (SipException ex) {\n ex.printStackTrace();\n } catch (InvalidArgumentException ex) {\n ex.printStackTrace();\n } \n \n } catch (Exception ex) {\n ex.printStackTrace();\n System.exit(0);\n }\n }", "title": "" }, { "docid": "b02287a490ee7d19d999033e878d844e", "score": "0.52138686", "text": "public void startTransaction();", "title": "" }, { "docid": "1ab497ec07363e20785ec79efcc0d3eb", "score": "0.52110046", "text": "void transactionStarted();", "title": "" }, { "docid": "0caa55d3c0ed353d327804bca41f33ce", "score": "0.52073956", "text": "public void setSelectedTransaction(Tmedequipment selectedTransaction) {\n getTransactionMainCtrl().setSelectedTransaction(selectedTransaction);\r\n }", "title": "" }, { "docid": "0d02ec46e4ed161d686e56f5c8ca5ae5", "score": "0.51884913", "text": "private void setTransactionId(com.google.protobuf.StringValue value) {\n value.getClass();\n transactionId_ = value;\n \n }", "title": "" }, { "docid": "160a5acd47fcb87b24d85fe7984c1976", "score": "0.5152275", "text": "void addTransaction(BlockchainTransaction transaction);", "title": "" }, { "docid": "c0defe45a885ed37c6c723f8ae84f0bc", "score": "0.51440585", "text": "public Builder setTx(forge_abi.Type.Transaction value) {\n if (txBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n tx_ = value;\n onChanged();\n } else {\n txBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "c0defe45a885ed37c6c723f8ae84f0bc", "score": "0.51440585", "text": "public Builder setTx(forge_abi.Type.Transaction value) {\n if (txBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n tx_ = value;\n onChanged();\n } else {\n txBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "cdc384922a5f2c0cc118b87ae607bd68", "score": "0.5138991", "text": "public void setTransactionID(java.lang.String param){\r\n localTransactionIDTracker = param != null;\r\n \r\n this.localTransactionID=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "cdc384922a5f2c0cc118b87ae607bd68", "score": "0.5138991", "text": "public void setTransactionID(java.lang.String param){\r\n localTransactionIDTracker = param != null;\r\n \r\n this.localTransactionID=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "cdc384922a5f2c0cc118b87ae607bd68", "score": "0.5138991", "text": "public void setTransactionID(java.lang.String param){\r\n localTransactionIDTracker = param != null;\r\n \r\n this.localTransactionID=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "4c73b749e39576359a9d1c87a1137c80", "score": "0.513748", "text": "public TransitsampleitemBean setTransitactBean(TransitsampleitemBean pObject,TransitactBean pObjectToBeSet)\n {\n pObject.setTransitactid(pObjectToBeSet.getTransitactid());\n return pObject;\n }", "title": "" }, { "docid": "7a4a17eafb20080ad8016aac9fb074ce", "score": "0.51271194", "text": "public void transactionStart(Application application, Object transactionData) {\n\n\t\tif (application == StartApplication.this) {\n\t\t\tthisApplication.set(this);\n\t\t}\n\t}", "title": "" }, { "docid": "f06f51a0d5148954a4fdb1382f7bbb13", "score": "0.5109965", "text": "public SessionInvite() {\r\n\t\t// timestamp to NOW\r\n\t\tcreateDate=new Date();\r\n\t}", "title": "" }, { "docid": "a18fd551c5215255daa3ba00b43dc3f7", "score": "0.5106244", "text": "public void setTransactionId(String transactionId) {\n this.transactionId = transactionId;\n }", "title": "" }, { "docid": "a1a58c443f4de7564ff0849dbc5e73a1", "score": "0.50974387", "text": "public void setTransactionId(java.lang.String transactionId) {\r\n this.transactionId = transactionId;\r\n }", "title": "" }, { "docid": "a1a58c443f4de7564ff0849dbc5e73a1", "score": "0.50974387", "text": "public void setTransactionId(java.lang.String transactionId) {\r\n this.transactionId = transactionId;\r\n }", "title": "" }, { "docid": "b6fea54a26dada3e8ee12849308f5880", "score": "0.5084175", "text": "public void setTransactionInterceptor(TxInterceptor interceptor) {\n\t\tthis.transactionInterceptor = interceptor;\n\t}", "title": "" }, { "docid": "43cb10e8fdd2d21cead352d43c2b2238", "score": "0.50702214", "text": "public void processInvite(RequestEvent requestEvent,\n ServerTransaction serverTransaction) {\n SipProvider sipProvider = (SipProvider) requestEvent.getSource();\n Request request = requestEvent.getRequest();\n try {\n logger.info(\"shootme: got an Invite sending Trying\");\n // logger.info(\"shootme: \" + request);\n\n ServerTransaction st = requestEvent.getServerTransaction();\n\n if (st == null) {\n logger.info(\"null server tx -- getting a new one\");\n st = sipProvider.getNewServerTransaction(request);\n }\n\n logger.info(\"getNewServerTransaction : \" + st);\n\n String txId = ((ViaHeader)request.getHeader(ViaHeader.NAME)).getBranch();\n this.serverTxTable.put(txId, st);\n\n // Create the 100 Trying response.\n Response response = messageFactory.createResponse(Response.TRYING,\n request);\n ListeningPoint lp = sipProvider.getListeningPoint(transport);\n int myPort = lp.getPort();\n\n Address address = addressFactory.createAddress(\"Shootme <sip:\"\n + myAddress + \":\" + myPort + \">\");\n\n // Add a random sleep to stagger the two OK's for the benifit of implementations\n // that may not be too good about handling re-entrancy.\n// int timeToSleep = (int) ( Math.random() * 1000);\n//\n// Thread.sleep(timeToSleep);\n\n st.sendResponse(response);\n\n Response ringingResponse = messageFactory.createResponse(Response.RINGING,\n request);\n ContactHeader contactHeader = headerFactory.createContactHeader(address);\n response.addHeader(contactHeader);\n ToHeader toHeader = (ToHeader) ringingResponse.getHeader(ToHeader.NAME);\n String toTag = \"\" + System.nanoTime();\n toHeader.setTag(toTag);\n if ( sendRinging ) {\n ringingResponse.addHeader(contactHeader);\n st.sendResponse(ringingResponse);\n }\n Dialog dialog = st.getDialog();\n dialog.setApplicationData(st);\n\n this.inviteSeen = true;\n\n timer.schedule(new MyTimerTask(requestEvent,st,toTag), this.delay);\n } catch (Exception ex) {\n ex.printStackTrace();\n System.exit(0);\n }\n }", "title": "" }, { "docid": "e3c74a6ebdeb1830b941f1d52187d30f", "score": "0.5034453", "text": "public void start(long txID) {\n\t\t// TODO: Not implemented for non-durable transactions, you should implement this\n\t}", "title": "" }, { "docid": "520748f59f840927175fb0bca1baf3e7", "score": "0.4953576", "text": "public void pushTransaction(Transaction transaction);", "title": "" }, { "docid": "50d2f6df7df8e94608da10161553ba7b", "score": "0.49214607", "text": "public Builder setSteamIdInvited(long value) {\n bitField0_ |= 0x00000001;\n steamIdInvited_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "85043442997049c79770c470d6472f71", "score": "0.49182174", "text": "void annulerTransaction();", "title": "" }, { "docid": "01311233c1127cda9ca7f2f68510858c", "score": "0.48985755", "text": "public void beginTransaction();", "title": "" }, { "docid": "334f6e882798225358b43a2d10ead0b2", "score": "0.48960698", "text": "void addTransaction(Transaction t);", "title": "" }, { "docid": "84e95654b3f1db4bced93cd507e524ec", "score": "0.48891646", "text": "private void setTransactionIdBytes(\n com.google.protobuf.ByteString value) {\n checkByteStringIsUtf8(value);\n transactionId_ = value.toStringUtf8();\n \n }", "title": "" }, { "docid": "84e95654b3f1db4bced93cd507e524ec", "score": "0.48891646", "text": "private void setTransactionIdBytes(\n com.google.protobuf.ByteString value) {\n checkByteStringIsUtf8(value);\n transactionId_ = value.toStringUtf8();\n \n }", "title": "" }, { "docid": "84e95654b3f1db4bced93cd507e524ec", "score": "0.48891646", "text": "private void setTransactionIdBytes(\n com.google.protobuf.ByteString value) {\n checkByteStringIsUtf8(value);\n transactionId_ = value.toStringUtf8();\n \n }", "title": "" }, { "docid": "4afd555e56386b69da3ec8478d521783", "score": "0.48832932", "text": "private void setTransactionId(\n java.lang.String value) {\n value.getClass();\n \n transactionId_ = value;\n }", "title": "" }, { "docid": "4afd555e56386b69da3ec8478d521783", "score": "0.48832932", "text": "private void setTransactionId(\n java.lang.String value) {\n value.getClass();\n \n transactionId_ = value;\n }", "title": "" }, { "docid": "4afd555e56386b69da3ec8478d521783", "score": "0.48832932", "text": "private void setTransactionId(\n java.lang.String value) {\n value.getClass();\n \n transactionId_ = value;\n }", "title": "" }, { "docid": "c9f051360461e1ddca6b1ede0f44e71d", "score": "0.48657307", "text": "void putTxn(Transaction txn);", "title": "" }, { "docid": "51c74ab8787c2c2669639ecfd6f46d67", "score": "0.48646647", "text": "public void setTransactionId(String transactionId) {\n\t\tthis.transactionId = transactionId;\n\t}", "title": "" }, { "docid": "701cbb4a223189da82d4343cf4fb3632", "score": "0.4858784", "text": "@Override\n public void begin() {\n new SimulatedTransactionManager().push();\n }", "title": "" }, { "docid": "b585bcb3436ce96d8c4f513038d95b56", "score": "0.48469758", "text": "public CardTransaction setTransactionNo(java.lang.String transactionNo) {\n return genClient.setOther(transactionNo, CacheKey.transactionNo);\n }", "title": "" }, { "docid": "189b78d1ef91290d6462e7c17cdfb210", "score": "0.48460877", "text": "public void setActivity(MyTlc activity) {\r\n // Store the reference to our activity\r\n this.activity = activity;\r\n // If there's a message in queue...\r\n if (!sMessage.equals(\"\")) {\r\n // Sending the message again\r\n setDefaultMessage();\r\n }\r\n }", "title": "" }, { "docid": "922368901d65e00a13a40e0b4c8429c3", "score": "0.48353878", "text": "public void setTransaction(TenderableTransactionIfc value)\n {\n setTenderableTransaction(value);\n }", "title": "" }, { "docid": "11b8e08149f69397200deb563d33d4b3", "score": "0.48346466", "text": "public void setRecipient(int tmp) {\n this.recipient = tmp;\n }", "title": "" }, { "docid": "f85868179ce9e1f2c23af1c6bb6f5d11", "score": "0.4832727", "text": "public Builder setTransaction(com.ilmservice.personalbudget.protobufs.Data.Transaction value) {\n if (transactionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n transaction_ = value;\n onChanged();\n } else {\n transactionBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }", "title": "" }, { "docid": "7d39bcbadf1dc20f475540ab82d12660", "score": "0.48287323", "text": "private void sendCallInvite ()\n {\n \n }", "title": "" }, { "docid": "d3f1fd6b9215ccd4d1cc11a52d3077df", "score": "0.4794102", "text": "public void setTransactionId(String transactionId) {\n this.transactionId = transactionId == null ? null : transactionId.trim();\n }", "title": "" }, { "docid": "81e98d25c439a395d4ad7042c19dc3b1", "score": "0.47897774", "text": "public static void advertise(String transaction) {\r\n\r\n }", "title": "" }, { "docid": "e8750e7b847aef46baf705f98a127434", "score": "0.47859874", "text": "public void updateTransactionIdFromMachine(TransceiverInterface txrx)\n\t\t\tthrows IOException, ProcessException, InterruptedException {\n\t\ttransactionId = txrx.readUser1(this);\n\t}", "title": "" }, { "docid": "0329db4e34cf3448ab0a14b35b26d3a1", "score": "0.47697872", "text": "@Override\n\tpublic void resume(Transaction tobj) throws InvalidTransactionException, IllegalStateException, SystemException {\n\t\t\n\t}", "title": "" }, { "docid": "dfc5b13d4e1e4b579e68e529267410ee", "score": "0.47630337", "text": "private static void setTo(MimeMessage m, String jTx) throws AddressException, MessagingException {\n\t\tm.addRecipient(Message.RecipientType.TO, new InternetAddress(jTx));\n\t}", "title": "" }, { "docid": "75c9b64693ea84b83bb2177cbde7bba6", "score": "0.47599825", "text": "public Builder clearSteamIdInvited() {\n bitField0_ = (bitField0_ & ~0x00000001);\n steamIdInvited_ = 0L;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d8c03f0f919822ed69eb4b576cb95d34", "score": "0.4748611", "text": "public RecipientsTransfersRequestBuilder() {\r\n recipientsTransfersRequest = new RecipientsTransfersRequest();\r\n }", "title": "" }, { "docid": "12fa4bfbd840f39476a0468d5fef3660", "score": "0.47462195", "text": "public Transaction() {\n this(DSL.name(\"transaction\"), null);\n }", "title": "" }, { "docid": "0f402e5c7ce1d26c75833452cd1bd091", "score": "0.47372967", "text": "final public ZTransactStmt SetTransactionStatement() throws ParseException {\n\t\tStringBuffer b;\n\t\tZTransactStmt t = new ZTransactStmt(\"SET TRANSACTION\");\n\t\tboolean rdonly = false;\n\t\tjj_consume_token(K_SET);\n\t\tjj_consume_token(K_TRANSACTION);\n\t\tjj_consume_token(K_READ);\n\t\tswitch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {\n\t\tcase K_ONLY:\n\t\t\tjj_consume_token(K_ONLY);\n\t\t\trdonly = true;\n\t\t\tbreak;\n\t\tcase K_WRITE:\n\t\t\tjj_consume_token(K_WRITE);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tjj_la1[13] = jj_gen;\n\t\t\tjj_consume_token(-1);\n\t\t\tthrow new ParseException();\n\t\t}\n\t\tjj_consume_token(91);\n\t\tt.readOnly_ = rdonly;\n\t\t{\n\t\t\tif (true)\n\t\t\t\treturn t;\n\t\t}\n\t\tthrow new Error(\"Missing return statement in function\");\n\t}", "title": "" }, { "docid": "81dd4d3d651e50999b7410d1321434f4", "score": "0.4724257", "text": "public void setTransactionService(TransactionService transactionService)\n {\n this.transactionService = transactionService;\n }", "title": "" }, { "docid": "fe1a04ccdae6801fb3abfdb090f1cfb8", "score": "0.4720435", "text": "public void setUserTransactionName(String userTransactionName) {\n\t\tthis.userTransactionName = userTransactionName;\n\t}", "title": "" }, { "docid": "aa6a385ffd447cf4b862f9f7d2622e16", "score": "0.47193962", "text": "public void setTSIdentification(TSIdentification tsi) {\n\n if (tsi == null) {\n return;\n }\n\n this.tsi = tsi;\n this.tsiImpl = (TSIdentificationImpl) tsi;\n this.sender = this.tsiImpl.getSender();\n this.receiver = this.tsiImpl.getReceiver();\n }", "title": "" }, { "docid": "7f71a131f33521bbf07f741e7e0079b4", "score": "0.47106752", "text": "public void setTransactionClass(eBLBaseComponents.apis.ebay.PaymentTransactionClassCodeType transactionClass) {\r\n this.transactionClass = transactionClass;\r\n }", "title": "" }, { "docid": "5231ecec00b99938afa162a950ea6722", "score": "0.4710372", "text": "@Override\n public void onListFragmentInteraction(SettlementItem item)\n {\n FragmentManager fm=getSupportFragmentManager();\n FragmentTransaction transaction=fm.beginTransaction();\n Fragment fragment=new SettlementViewer();\n Intent intent=new Intent();\n intent.setClass(MainActivity.this,SettlementViewer.class);\n Bundle bundle=new Bundle();\n bundle.putInt(\"Id\",item.id);\n intent.putExtras(bundle);\n transaction.replace(R.id.container,fragment);\n transaction.commit();\n\n }", "title": "" }, { "docid": "b1b54560933dbc58b88447fb4cf2eacd", "score": "0.46954396", "text": "private ExchangeTransactionContract(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" } ]
e4cf2e0bac064dae1cac6a4fec170078
Required Passes: None Element Tested: IR Risk Weight (regular) Risk Measure: Delta Group: Rates & Fx
[ { "docid": "ff2362f977919df8f93a39ca422cc543", "score": "0.0", "text": "@Test\n public void testC13() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_IR_13);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"104000000\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" } ]
[ { "docid": "299c41c2b66c28adc2075b2dff1657f0", "score": "0.589165", "text": "@Test(timeout = 4000)\n public void test49() throws Throwable {\n JRip jRip0 = new JRip();\n FileSystemHandling.setPermissions((EvoSuiteFile) null, false, false, false);\n ArrayList<Locale.LanguageRange> arrayList0 = new ArrayList<Locale.LanguageRange>();\n Locale locale0 = Locale.CHINESE;\n Locale locale1 = Locale.ITALY;\n locale1.getUnicodeLocaleAttributes();\n Locale.FilteringMode locale_FilteringMode0 = Locale.FilteringMode.MAP_EXTENDED_RANGES;\n Set<String> set0 = locale1.getUnicodeLocaleKeys();\n List<String> list0 = Locale.filterTags((List<Locale.LanguageRange>) arrayList0, (Collection<String>) set0, locale_FilteringMode0);\n Attribute attribute0 = new Attribute(\"\", list0, (-69));\n Attribute attribute1 = new Attribute(\"@attribute\", \"\", 1);\n attribute0.equalsMsg(\"\");\n Attribute attribute2 = new Attribute(\"\", 1);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute2);\n DecisionTable decisionTable0 = new DecisionTable();\n DecisionTable decisionTable1 = new DecisionTable();\n Instances instances0 = decisionTable1.m_theInstances;\n double[] doubleArray0 = new double[2];\n doubleArray0[0] = (double) 1;\n doubleArray0[1] = (double) 2;\n DenseInstance denseInstance0 = new DenseInstance(0, doubleArray0);\n boolean boolean0 = jRip_NumericAntd0.covers(denseInstance0);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute2);\n boolean boolean1 = jRip_NominalAntd0.covers(denseInstance0);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertFalse(boolean1 == boolean0);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertFalse(boolean1);\n }", "title": "" }, { "docid": "5f4e83facc5f00d56b2e8cc20b380fcc", "score": "0.58803487", "text": "@Test\n public void testDoomDashTotalResistances2(){\n System.out.println(\"testDoomDashTotalResistances2\");\n final int totalRes = 28;\n float resFromParser = 0;\n for (Item i: items){\n if ( i.name.equals(\"Doom Dash\")){\n for (Tuple t : i.calculatedTotalValues){\n if (t.getKey().equals(\"(Total) +##% to Elemental Resistances\")){\n resFromParser = (float) t.getValue();\n break;\n }\n }\n }\n }\n \n assertEquals(totalRes, resFromParser,0);\n }", "title": "" }, { "docid": "2b8cad07b60ed808ba64f1714a4af4f7", "score": "0.581887", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n Discretize discretize0 = new Discretize(\" else if (format.attribute(i).isNumeric())\\n\");\n double[][] doubleArray0 = new double[2][5];\n double[] doubleArray1 = new double[4];\n doubleArray1[0] = (-1009.31);\n doubleArray1[1] = (-1.0);\n doubleArray1[2] = 224.51444802211;\n doubleArray1[3] = 5164.7781685921;\n doubleArray0[0] = doubleArray1;\n double[] doubleArray2 = new double[9];\n doubleArray2[0] = (-1009.31);\n doubleArray2[1] = (-1009.31);\n doubleArray2[2] = (-1009.31);\n doubleArray2[3] = (-1.0);\n doubleArray2[4] = (-1009.31);\n doubleArray2[5] = 224.51444802211;\n doubleArray2[6] = 224.51444802211;\n doubleArray2[7] = (-1009.31);\n doubleArray2[8] = (-1009.31);\n doubleArray0[1] = doubleArray2;\n discretize0.m_CutPoints = doubleArray0;\n // Undeclared exception!\n try { \n discretize0.setOutputFormat();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "96d419432d1a818c5141addc96e11035", "score": "0.58006376", "text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[9] = (double) 584;\n doubleArray0[0] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixCSV0.setSize(18, 0);\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(18, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(18, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n boolean boolean0 = resultMatrixCSV0.isMean(584);\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(18, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(18, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertTrue(boolean0);\n \n String string0 = resultMatrixSignificance0.stdDevWidthTipText();\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", string0);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "b1c24b7e53bbbc9872aadcb8d9d0aefc", "score": "0.5716616", "text": "@Test(timeout = 4000)\n public void test024() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.toStringRanking();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 2);\n resultMatrixSignificance0.toStringKey();\n resultMatrixSignificance0.getAverage(0);\n resultMatrixSignificance0.isStdDev(2356);\n }", "title": "" }, { "docid": "279df462219dbeedc0e6348ea8a47f61", "score": "0.570268", "text": "@Test(timeout = 4000)\n public void test192() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixSignificance0);\n resultMatrixHTML0.setCount(278, 2950.9441);\n resultMatrixSignificance0.setRowNameWidth(278);\n assertEquals(278, resultMatrixSignificance0.getRowNameWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(26, 26);\n resultMatrixSignificance1.setStdDevWidth(2);\n double double0 = resultMatrixSignificance1.getStdDev(0, 0);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "0c17745722db5f62f3196605f0e069e9", "score": "0.5692", "text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.toStringRanking();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 2);\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(3094, 0);\n resultMatrixCSV0.m_ShowStdDev = true;\n resultMatrixCSV0.getOptions();\n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML(0, 2011);\n resultMatrixHTML1.m_MeanWidth = 2011;\n resultMatrixHTML1.setShowStdDev(true);\n resultMatrixHTML1.getColOrder();\n assertEquals(2011, resultMatrixHTML1.getMeanWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n }", "title": "" }, { "docid": "0c0000c72995742ab4ab1b73020af99f", "score": "0.56448233", "text": "@Test(timeout = 4000)\n public void test002() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedRecall();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "437b1b3517d497b0eaa4a335d56ff8dd", "score": "0.5643107", "text": "public double getRiskMeasure() {\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "8acab64fe36f787d8bb825827ee0e743", "score": "0.5616921", "text": "@Test(timeout = 4000)\n public void test068() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedFalseNegativeRate();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "b3948fb694d0fbf94cfa0868bb8a1a32", "score": "0.56161743", "text": "io.opencannabis.schema.product.struct.testing.TestValue getMeasurement();", "title": "" }, { "docid": "476feff9a0411119868f6823f804fd5f", "score": "0.56141704", "text": "@Test\n public void testDoomDashTotalResistances(){\n System.out.println(\"testDoomDashTotalResistances\");\n final int totalRes = 51;\n float resFromParser = 0;\n for (Item i: items){\n if ( i.name.equals(\"Doom Dash\")){\n for (Tuple t : i.calculatedTotalValues){\n if (t.getKey().equals(\"(Total) +##% to Resistances\")){\n resFromParser = (float) t.getValue();\n break;\n }\n }\n }\n }\n \n assertEquals(totalRes, resFromParser,0);\n }", "title": "" }, { "docid": "224ebe7163bb589491d3949466fdfbc0", "score": "0.5595391", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n JRip jRip0 = new JRip();\n SystemInUtil.addInputLine(\"S ;KvH<D/7|D/%Y\");\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd((Attribute) null);\n double double0 = jRip_NumericAntd0.getAttrValue();\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(1L, jRip0.getSeed());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertFalse(jRip0.getDebug());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "43c8ec9857ee59a8fa74b469000a7155", "score": "0.5592634", "text": "double getExpectation() throws DStatException;", "title": "" }, { "docid": "d9fbfd65798fed61f6567b0f8457812b", "score": "0.5577603", "text": "@Test(timeout = 4000)\n public void test63() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\" rules are deleted\", (List<String>) null);\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute0);\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"string\", arrayList0, 0);\n JRip.NominalAntd jRip_NominalAntd1 = jRip0.new NominalAntd(attribute0);\n instances0.toSummaryString();\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n jRip_NominalAntd1.maxInfoGain = (-485.86);\n jRip_NominalAntd1.splitData(instances0, 2, (-5862.3705864289));\n CoverTree coverTree0 = new CoverTree();\n FileSystemHandling.appendLineToFile((EvoSuiteFile) null, \"qD)IZ[0}@U\");\n StringReader stringReader0 = new StringReader(\"@attribute\");\n BufferedReader bufferedReader0 = null;\n try {\n bufferedReader0 = new BufferedReader(stringReader0, (-46));\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // Buffer size <= 0\n //\n verifyException(\"java.io.BufferedReader\", e);\n }\n }", "title": "" }, { "docid": "f462e652f95af2599b94a9c209a32546", "score": "0.5574723", "text": "@Test(timeout = 4000)\n public void test069() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTrueNegativeRate();\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "8d5ea0ea78bbeff7ee0a69ee4b7f2925", "score": "0.55515873", "text": "@Test(timeout = 4000)\n public void test24() throws Throwable {\n JRip jRip0 = new JRip();\n Utils.SMALL = 522.29199;\n DecisionTable decisionTable0 = new DecisionTable();\n Instances instances0 = decisionTable0.m_dtInstances;\n try { \n jRip0.rulesetForOneClass(0.0, (Instances) null, 1, 5);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.rules.RuleStats\", e);\n }\n }", "title": "" }, { "docid": "8e9147d9fe5369f811616a8fee3b5b9b", "score": "0.554271", "text": "@Test\npublic void calculateFundWegightWithMultipleParentInAnyOrderTest() throws IOException, ValidationFailException {\n\t List<CalculatedWeightResult> expectedResultList=new ArrayList<>();\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"H\", 0.333));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"G\", 0.333));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"F\", 0.083));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"D\", 0.167));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"E\", 0.083));\n\t expectedResultList.add(new CalculatedWeightResult(\"X\", \"F\", 1.000));\n\t expectedResultList.add(new CalculatedWeightResult(\"Z\", \"H\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"Z\", \"G\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"B\", \"F\", 0.250));\t \n\t expectedResultList.add(new CalculatedWeightResult(\"B\", \"D\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"B\", \"E\", 0.250));\n\t expectedResultList.add(new CalculatedWeightResult(\"C\", \"H\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"C\", \"G\", 0.500));\n\t \n\t\n\t PortCalService testInput=new PortCalService();\n\t System.out.println(\"Output For Test Results With Input In Any Order\");\n\t testInput.crateTreeAndValidateInput(inputInAnyOrderMultipleParentFileName);\n\t testInput.calulateFundWeight();\n\t System.out.println(\"------------------------------------------\");\n\t int rownum=0;\n\t for(CalculatedWeightResult eachExpectedResult:expectedResultList)\n\t {\n\t assertTrue(\"Fund Weight Did not Match Expected Result Expected: \"+eachExpectedResult.toString() + \"But Got \"+testInput.fundWeightList.get(rownum).toString(),(eachExpectedResult.toString().equalsIgnoreCase(testInput.fundWeightList.get(rownum).toString())));\n\t rownum++;\n\t }\n\t \n }", "title": "" }, { "docid": "fc9430a79be3c528daba9a529c5a2ad2", "score": "0.55404824", "text": "public double ytdInterest () {\n return 0.0; // Stub\n }", "title": "" }, { "docid": "09d6f9ca6687fe3a2e3e8dc1e31fc826", "score": "0.5528492", "text": "@Test(timeout = 4000)\n public void test073() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.toStringRanking();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 2);\n String string0 = resultMatrixSignificance0.toStringKey();\n assertEquals(\"Key:\\n(1) col0\\n\", string0);\n \n double double0 = resultMatrixSignificance0.getAverage(0);\n assertEquals(Double.NaN, double0, 0.01);\n \n resultMatrixHTML0.getDefaultStdDevWidth();\n int int0 = resultMatrixHTML0.getRowCount();\n assertEquals(2, int0);\n \n resultMatrixHTML0.getShowStdDev();\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n }", "title": "" }, { "docid": "52e32c28c58887b8cfc5f8b36cd4bc0d", "score": "0.55174553", "text": "@Test\n public void testPainBaneElementalDamage(){\n System.out.println(\"testPainBaneElementalDamage\");\n final float totalEleDamage = 12;\n //pain bane has 4 min and 12 max dmg, and 1.5 aps, which = 12 dps. \n float totalEleDamageFromParser = 0;\n for (Item i: items){\n if (i.name.equals(\"Pain Bane\")){\n for (Tuple p: i.calculatedTotalValues){\n if (p.getKey().equals(\"Total Elemental Damage to Attacks\")){\n totalEleDamageFromParser = (Float)p.getValue();\n }\n }\n }\n }\n \n assertEquals((int)totalEleDamage, (int)totalEleDamageFromParser);\n }", "title": "" }, { "docid": "56ccdeab493de6f11251b65963e64937", "score": "0.5500002", "text": "@Test(timeout = 4000)\n public void test216() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n String[] stringArray0 = new String[0];\n resultMatrixSignificance0.setOptions(stringArray0);\n resultMatrixSignificance0.getColCount();\n resultMatrixSignificance0.getSignificance(44, (-2413));\n assertEquals(0, resultMatrixSignificance0.getStdDevPrec());\n }", "title": "" }, { "docid": "fed2707c462e926549e805045851f23e", "score": "0.54947466", "text": "@Test(timeout = 4000)\n public void test115() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[7] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV0);\n \n Vector<Integer> vector0 = new Vector<Integer>();\n assertEquals(10, vector0.capacity());\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertNotNull(vector0);\n assertFalse(vector0.contains(584));\n \n resultMatrixSignificance0.m_HeaderValues = vector0;\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(10, vector0.capacity());\n assertTrue(vector0.isEmpty());\n assertEquals(0, vector0.size());\n assertEquals(\"[]\", vector0.toString());\n assertEquals(0, resultMatrixSignificance0.m_HeaderValues.size());\n assertEquals(10, resultMatrixSignificance0.m_HeaderValues.capacity());\n assertEquals(\"[]\", resultMatrixSignificance0.m_HeaderValues.toString());\n assertTrue(resultMatrixSignificance0.m_HeaderValues.isEmpty());\n \n boolean boolean0 = vector0.add((Integer) 1);\n assertEquals(\"[1]\", vector0.toString());\n assertEquals(10, vector0.capacity());\n assertFalse(vector0.isEmpty());\n assertEquals(1, vector0.size());\n assertTrue(boolean0);\n assertTrue(vector0.contains(1));\n assertFalse(vector0.contains(584));\n \n resultMatrixSignificance0.setCountWidth(934);\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(934, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixSignificance0.setMean(0, 0, 0.0);\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(934, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixSignificance0.getRevision();\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(934, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n assertNotNull(string0);\n \n String string1 = resultMatrixCSV0.getColName(2);\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNull(string1);\n }", "title": "" }, { "docid": "985ec285fc0a108a884f54094ac405aa", "score": "0.54924583", "text": "@Test(timeout = 4000)\n public void test005() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedFalsePositiveRate();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "f824943f2cda36e85686303261ea3de3", "score": "0.5488949", "text": "@Test(timeout = 4000)\n public void test015() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBInformation();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "5e71774ab0f3265bda3f8dcc774b634f", "score": "0.5482422", "text": "@Test(timeout = 4000)\n public void test174() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[1];\n resultMatrixSignificance0.setColOrder(intArray0);\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, intArray0.length);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertArrayEquals(new int[] {0}, intArray0);\n \n int int0 = resultMatrixSignificance0.getSignificanceCount(0, 3085);\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, int0);\n \n String string0 = resultMatrixSignificance0.getRevision();\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"8034\", string0);\n assertNotNull(string0);\n \n int[][] intArray1 = new int[4][1];\n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n intArray1[2] = intArray0;\n }", "title": "" }, { "docid": "628ef4e6874c4ab2c3d9dd340431afb8", "score": "0.54802847", "text": "@Test(timeout = 4000)\n public void test018() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double[] doubleArray0 = new double[4];\n int[] intArray0 = new int[7];\n SparseInstance sparseInstance0 = new SparseInstance(4.9E-324, doubleArray0, intArray0, 3291);\n try { \n evaluation0.updateStatsForConditionalDensityEstimator((ConditionalDensityEstimator) null, sparseInstance0, 507.0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.Evaluation\", e);\n }\n }", "title": "" }, { "docid": "161dc55784ca498ae08c37ac3e269ee3", "score": "0.5477723", "text": "public double getPerceivedMedicalNeeds() {\n\t\n\tdouble firstElement=0.0;\t// First part of the equation\n\tdouble secondElement=0.0;\t// Second part of the equation\n\t\n\t\n\t\n\t// Loop over all medical conditions\n\tfor(MedicalCondition mc: this.medConditions){\n\t\t//mc.describe();\n\t\tif(mc.getDuration()>0){ // check if visible\n\t\t\t\n\t\t\t// Compute the first element\n\t\t\tif(mc.getCurrentSeverity()>=mc.getSeverity(1) && !mc.illness.treatments.contains(mc.treatment)){ // only add something if severity was not reduced\n\t\t\t\tdouble dm = mc.getDuration();\n\t\t\t\tfirstElement += mc.getCurrentSeverity() * (dm/(1+dm));\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t//Compute second element \n\t\t\tsecondElement += mc.getCurrentSeverity();\n\t\t\t\t\t\n\t\t} // end check if visible\n\t\t\n\t} // end loop over all severities\n\t\n\treturn firstElement * secondElement;\n\n}", "title": "" }, { "docid": "4b23330410474f16686e19369d47e8e2", "score": "0.54769087", "text": "@Test\npublic void calculateFundWegightWithMultipleParentInOrderTest() throws IOException, ValidationFailException {\n\t List<CalculatedWeightResult> expectedResultList=new ArrayList<>();\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"D\", 0.167));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"E\", 0.083));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"F\", 0.083));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"G\", 0.333));\n\t expectedResultList.add(new CalculatedWeightResult(\"A\", \"H\", 0.333));\n\t expectedResultList.add(new CalculatedWeightResult(\"X\", \"F\", 1.000));\n\t expectedResultList.add(new CalculatedWeightResult(\"Z\", \"G\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"Z\", \"H\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"B\", \"D\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"B\", \"E\", 0.250));\n\t expectedResultList.add(new CalculatedWeightResult(\"B\", \"F\", 0.250));\n\t expectedResultList.add(new CalculatedWeightResult(\"C\", \"G\", 0.500));\n\t expectedResultList.add(new CalculatedWeightResult(\"C\", \"H\", 0.500));\n\t\n\t PortCalService testInput=new PortCalService();\n\t System.out.println(\"Output For Test Results With Input In Proper Order\");\n\t testInput.crateTreeAndValidateInput(inputInOrderMultipleParentFileName);\n\t testInput.calulateFundWeight();\n\t System.out.println(\"------------------------------------------\");\n\t int rownum=0;\n\t for(CalculatedWeightResult eachExpectedResult:expectedResultList)\n\t {\n\t assertTrue(\"Fund Weight Did not Match Expected Result Expected: \"+eachExpectedResult.toString() + \"But Got \"+testInput.fundWeightList.get(rownum).toString(),(eachExpectedResult.toString().equalsIgnoreCase(testInput.fundWeightList.get(rownum).toString())));\n\t rownum++;\n\t }\n\t \n }", "title": "" }, { "docid": "4ab77e020f370ce4b3124d60b1387859", "score": "0.54749215", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"5\");\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n attribute0.value(23);\n double double0 = jRip_NumericAntd0.getCover();\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NumericAntd0.getSplitPoint(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertTrue(jRip0.getUsePruning());\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "14fc11a723a0d3236dc495997c7b62e9", "score": "0.5470506", "text": "@Test\n public void testgetSavingsYearsWhenOneYearBeforeRetirementHasAccurateData() {\n RetirementScenario testScenario = new RetirementScenario(64, 65, 10000, 297, .06, 12000, 50000);\n SavingsYear year = testScenario.getSavingsYears().get(0);\n int expectedAppreciation = (int) (10000 * .06);\n int expectedEndBalance = 10000 + 297 + expectedAppreciation;\n assertEquals(64, year.getAge());\n assertEquals(10000, year.getBeginBalance());\n assertEquals(297, year.getContribution());\n assertEquals(expectedAppreciation, year.getAppreciation());\n assertEquals(expectedEndBalance, year.getEndBalance());\n }", "title": "" }, { "docid": "5e08f459492ea0c2993c50a94a8796a5", "score": "0.5454703", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n Discretize discretize0 = new Discretize(\" else if (format.attribute(i).isNumeric())\\n\");\n double[] doubleArray0 = new double[6];\n doubleArray0[0] = 2609.0;\n discretize0.m_IgnoreClass = true;\n doubleArray0[1] = 0.0;\n doubleArray0[2] = (-1177.063);\n doubleArray0[3] = (-1177.063);\n doubleArray0[4] = (-1177.063);\n doubleArray0[5] = (-1177.063);\n BinarySparseInstance binarySparseInstance0 = new BinarySparseInstance((-1177.063), doubleArray0);\n discretize0.getOptions();\n discretize0.mayRemoveInstanceAfterFirstBatchDone();\n discretize0.getOptions();\n // Undeclared exception!\n try { \n discretize0.calculateCutPoints();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.filters.unsupervised.attribute.Discretize\", e);\n }\n }", "title": "" }, { "docid": "67ff7f4a36c9aefe05f5a7c57910d44c", "score": "0.5447498", "text": "@Test(timeout = 4000)\n public void test058() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n int int0 = ResultMatrix.SIGNIFICANCE_TIE;\n assertEquals(0, int0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertNotNull(resultMatrixHTML0);\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int1 = ResultMatrix.SIGNIFICANCE_TIE;\n assertTrue(int1 == int0);\n assertEquals(0, int1);\n \n String string0 = resultMatrixSignificance0.toStringKey();\n assertNotNull(string0);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Key:\\n(1) col0\\n\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n double double0 = resultMatrixHTML0.getStdDev(26, 1);\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0.0, double0, 0.01);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "3300ff6c3feead4c7d51d515fad937ce", "score": "0.54324406", "text": "@Test(timeout = 4000)\n public void test154() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[1];\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixCSV0.setRowOrder(intArray0);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, intArray0.length);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertArrayEquals(new int[] {0}, intArray0);\n \n String string0 = resultMatrixCSV0.getSummaryTitle((-3170));\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"I\", string0);\n assertNotNull(string0);\n \n double double0 = resultMatrixSignificance0.getMean(22, 584);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0.0, double0, 0.01);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(22, 1);\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(22, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(22, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(resultMatrixLatex0);\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(22, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(22, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(22, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(22, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n String string1 = resultMatrixHTML0.padString(\"\", 2, true);\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(22, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(22, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(22, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(22, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(string1.equals((Object)string0));\n assertEquals(\" \", string1);\n assertNotNull(string1);\n \n String string2 = resultMatrixHTML0.printColNamesTipText();\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(22, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(22, resultMatrixLatex0.getVisibleColCount());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(22, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(22, resultMatrixHTML0.getVisibleColCount());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(string2.equals((Object)string0));\n assertFalse(string2.equals((Object)string1));\n assertEquals(\"Whether to output column names or just numbers representing them.\", string2);\n assertNotNull(string2);\n }", "title": "" }, { "docid": "2f3473b0416b301fd3eda7e3bf3f60a4", "score": "0.54318726", "text": "@Test(timeout = 4000)\n public void test052() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixSignificance0);\n \n boolean boolean0 = resultMatrixSignificance0.getColHidden((-1));\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(boolean0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n double double0 = resultMatrixHTML0.getAverage(797);\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0.0, double0, 0.01);\n \n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML();\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML1.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML1.stdDevPrecTipText());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML1.showAverageTipText());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML1.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertNotNull(resultMatrixHTML1);\n \n int int0 = resultMatrixHTML0.getVisibleColCount();\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixHTML0.equals((Object)resultMatrixHTML1));\n assertEquals(1, int0);\n assertNotSame(resultMatrixHTML0, resultMatrixHTML1);\n \n int int1 = resultMatrixHTML0.getDisplayCol(1);\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixHTML0.equals((Object)resultMatrixHTML1));\n assertFalse(int1 == int0);\n assertEquals((-1), int1);\n assertNotSame(resultMatrixHTML0, resultMatrixHTML1);\n \n String string0 = resultMatrixHTML1.toStringSummary();\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML1.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML1.stdDevPrecTipText());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML1.showAverageTipText());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML1.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertEquals(\"-summary data not set-\", string0);\n assertNotSame(resultMatrixHTML1, resultMatrixHTML0);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "bdd86716540162b919606fef8578f478", "score": "0.5430106", "text": "@Test(timeout = 4000)\n public void test009() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.meanPriorAbsoluteError();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "6a3b376379ebfbe17317dc1ea6d164b0", "score": "0.542822", "text": "@Test(timeout = 4000)\n public void test34() throws Throwable {\n JRip jRip0 = new JRip();\n // Undeclared exception!\n try { \n jRip0.getMeasure(\"p!9^#r@*h}>//V S+\");\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // p!9^#r@*h}>//V S+ not supported (RIPPER)\n //\n verifyException(\"weka.classifiers.rules.JRip\", e);\n }\n }", "title": "" }, { "docid": "e7a23a83fbded606108ceda53b586f42", "score": "0.54177415", "text": "@Test(timeout = 4000)\n public void test006() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedFMeasure();\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "dc378fbae690a5618235217668c77a1c", "score": "0.54150003", "text": "Data teleMeasure(){\r\n Random rand = new Random();\r\n double measureCollected = rand.nextDouble();\r\n return(new Value(measureCollected));\r\n }", "title": "" }, { "docid": "8dfac8f684f7b529ecb691f23a151418", "score": "0.54069984", "text": "@Test(timeout = 4000)\n public void test073() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int0 = resultMatrixSignificance0.getDisplayCol(0);\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int1 = resultMatrixCSV0.getDefaultStdDevPrec();\n assertFalse(int1 == int0);\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, int1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "3485096bda8d5283fc3bdabb4f204817", "score": "0.54035556", "text": "@Test(timeout = 4000)\n public void test006() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[1];\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixCSV0.setRowOrder(intArray0);\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, intArray0.length);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertArrayEquals(new int[] {0}, intArray0);\n \n String string0 = resultMatrixSignificance0.toStringSummary();\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(\"-summary data not set-\", string0);\n assertNotNull(string0);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(1, 2);\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n \n double double0 = resultMatrixSignificance1.getStdDev(1, 2292);\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(0.0, double0, 0.01);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n \n boolean boolean0 = resultMatrixSignificance1.getColHidden(2738);\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(boolean0);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n }", "title": "" }, { "docid": "ae2206ccbd1e79c0d09b692dd4f56115", "score": "0.5401367", "text": "@Test(timeout = 4000)\n public void test001() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedTruePositiveRate();\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "17049bee9b6c7586de408f6dc0437a2a", "score": "0.53988034", "text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixCSV0);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixCSV resultMatrixCSV1 = new ResultMatrixCSV(2, 81);\n assertFalse(resultMatrixCSV1.equals((Object)resultMatrixCSV0));\n assertNotNull(resultMatrixCSV1);\n assertEquals(0, resultMatrixCSV1.getDefaultCountWidth());\n assertTrue(resultMatrixCSV1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV1.getPrintColNames());\n assertEquals(2, resultMatrixCSV1.getMeanPrec());\n assertFalse(resultMatrixCSV1.getDefaultShowAverage());\n assertFalse(resultMatrixCSV1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV1.getSignificanceWidth());\n assertEquals(25, resultMatrixCSV1.getRowNameWidth());\n assertFalse(resultMatrixCSV1.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV1.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV1.getStdDevWidth());\n assertEquals(2, resultMatrixCSV1.getColCount());\n assertFalse(resultMatrixCSV1.getShowAverage());\n assertFalse(resultMatrixCSV1.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV1.removeFilterNameTipText());\n assertFalse(resultMatrixCSV1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV1.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV1.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV1.getColNameWidth());\n assertEquals(81, resultMatrixCSV1.getVisibleRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV1.colNameWidthTipText());\n assertEquals(81, resultMatrixCSV1.getRowCount());\n assertEquals(0, resultMatrixCSV1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV1.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV1.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV1.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV1.getRemoveFilterName());\n assertTrue(resultMatrixCSV1.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV1.meanPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV1.getDisplayName());\n assertEquals(2, resultMatrixCSV1.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV1.showAverageTipText());\n assertEquals(2, resultMatrixCSV1.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV1.getPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV1.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV1.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV1.countWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV1.meanWidthTipText());\n assertEquals(2, resultMatrixCSV1.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV1.printRowNamesTipText());\n assertFalse(resultMatrixCSV1.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV1.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV1.showStdDevTipText());\n assertEquals(0, resultMatrixCSV1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV1.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV1.getVisibleColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.setPrintRowNames(false);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertNotNull(resultMatrixGnuPlot0);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixGnuPlot0.getDisplayName();\n assertNotNull(string0);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"GNUPlot\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance2 = new ResultMatrixSignificance(81, 2);\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance2.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance2);\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance2.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance2.meanPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance2.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance2.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance2.getDefaultColNameWidth());\n assertEquals(40, resultMatrixSignificance2.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance2.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getCountWidth());\n assertFalse(resultMatrixSignificance2.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance2.getRemoveFilterName());\n assertEquals(40, resultMatrixSignificance2.getRowNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateRowNamesTipText());\n assertEquals(81, resultMatrixSignificance2.getVisibleColCount());\n assertEquals(81, resultMatrixSignificance2.getColCount());\n assertEquals(0, resultMatrixSignificance2.getColNameWidth());\n assertFalse(resultMatrixSignificance2.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance2.getRowCount());\n assertEquals(0, resultMatrixSignificance2.getMeanWidth());\n assertFalse(resultMatrixSignificance2.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance2.getVisibleRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance2.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance2.colNameWidthTipText());\n assertTrue(resultMatrixSignificance2.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance2.getStdDevWidth());\n assertFalse(resultMatrixSignificance2.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance2.globalInfo());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance2.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance2.getDisplayName());\n assertEquals(2, resultMatrixSignificance2.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance2.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance2.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance2.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance2.significanceWidthTipText());\n assertTrue(resultMatrixSignificance2.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance2.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance2.getPrintColNames());\n assertFalse(resultMatrixSignificance2.getShowStdDev());\n assertTrue(resultMatrixSignificance2.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance2.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance2.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance2.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance2.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance2.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance2.printColNamesTipText());\n assertFalse(resultMatrixSignificance2.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance2.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance2.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance2.getDefaultMeanPrec());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int int0 = resultMatrixCSV0.getVisibleColCount();\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance2);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance2);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertNotSame(resultMatrixCSV0, resultMatrixCSV1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance2));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance2));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(resultMatrixCSV0.equals((Object)resultMatrixCSV1));\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertFalse(resultMatrixCSV0.getPrintRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance2));\n assertFalse(resultMatrixGnuPlot1.equals((Object)resultMatrixGnuPlot0));\n assertNotNull(resultMatrixGnuPlot1);\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateColNamesTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot1.printColNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot1.colNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot1.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot1.stdDevPrecTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixGnuPlot1.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot1.removeFilterNameTipText());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleColCount());\n assertTrue(resultMatrixGnuPlot1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot1.showAverageTipText());\n assertEquals(50, resultMatrixGnuPlot1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot1.printRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot1.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot1.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot1.getShowAverage());\n assertEquals(2, resultMatrixGnuPlot1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot1.getStdDevWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot1.rowNameWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getShowStdDev());\n assertTrue(resultMatrixGnuPlot1.getEnumerateColNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixGnuPlot1.getMeanWidth());\n assertEquals(2, resultMatrixGnuPlot1.getMeanPrec());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowAverage());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixGnuPlot1.getRowCount());\n assertFalse(resultMatrixGnuPlot1.getPrintColNames());\n assertEquals(0, resultMatrixGnuPlot1.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot1.getEnumerateRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot1.getDisplayName());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot1.stdDevWidthTipText());\n assertEquals(40, resultMatrixGnuPlot1.getRowNameWidth());\n assertFalse(resultMatrixGnuPlot1.getDefaultShowStdDev());\n assertEquals(1, resultMatrixGnuPlot1.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot1.countWidthTipText());\n assertEquals(2, resultMatrixGnuPlot1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot1.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot1.getDefaultEnumerateColNames());\n assertTrue(resultMatrixGnuPlot1.getDefaultPrintRowNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot1.globalInfo());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot1.showStdDevTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string1 = resultMatrixGnuPlot0.getColName(0);\n assertNotSame(resultMatrixGnuPlot0, resultMatrixGnuPlot1);\n assertFalse(resultMatrixGnuPlot0.equals((Object)resultMatrixGnuPlot1));\n assertFalse(string1.equals((Object)string0));\n assertNotNull(string1);\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(\"col0\", string1);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n // Undeclared exception!\n try { \n resultMatrixGnuPlot1.toStringHeader();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "8bab41fb424d6fccb53c05cfd2dbcc7f", "score": "0.53954303", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.SFEntropyGain();\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "6535ad0ccccd9d5f3f9add62caf1b158", "score": "0.53877866", "text": "@Test\n public void testCalculateDPwithFailingMarks() {\n // Scenario 2:\n Double testAss = 30.0;\n Double testSem = 35.0;\n Double testCont = 23.0;\n // End of variable creation\n // create objects needed for thest\n DPcalc calc2 = new DPcalc(testAss, testSem, testCont);\n // End of object creation\n // END OF SETUP FOR SCENARIO 2\n // Do the test\n Double testResult2 = calc2.calculateDP();\n // Test the results\n Assert.assertEquals(29.6, testResult2, 2);\n }", "title": "" }, { "docid": "ecfcb21db9454195f440facea4aa944f", "score": "0.53865325", "text": "@Test(timeout = 4000)\n public void test137() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixSignificance0);\n assertNotNull(resultMatrixPlainText0);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int[] intArray0 = new int[1];\n resultMatrixPlainText0.setColOrder(intArray0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(1, intArray0.length);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertArrayEquals(new int[] {0}, intArray0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n boolean boolean0 = resultMatrixSignificance1.getDefaultEnumerateRowNames();\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "a369cab623b899c2ee3734ee1eeed295", "score": "0.5384787", "text": "@Test(timeout = 4000)\n public void test048() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[1];\n resultMatrixSignificance0.setColOrder(intArray0);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, intArray0.length);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertArrayEquals(new int[] {0}, intArray0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixCSV0);\n \n String string0 = resultMatrixCSV0.globalInfo();\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", string0);\n assertNotNull(string0);\n \n int int0 = resultMatrixSignificance0.getSignificanceCount(1, 7);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, int0);\n }", "title": "" }, { "docid": "79407ef43aa651360c9523a73d1429c8", "score": "0.5383142", "text": "@Override\n\tpublic Risk calculateImpact() {\n\t\t\n\t\tRiskControl control = new RiskControl();\n\t\tRisk risk = new Risk(\"1\");\n\t\tRiskCommand likelihood = new RiskLikelihoodCommand(risk);\n\t\tcontrol.setCommand(likelihood);\n\t\tcontrol.applyrisk();\n\t\t\t\t\t \n\t\treturn risk;\n\t}", "title": "" }, { "docid": "565563b04d994e28f146fc7f7d2a62dd", "score": "0.5378294", "text": "@Test(timeout = 4000)\n public void test018() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[1];\n resultMatrixSignificance0.setColOrder(intArray0);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, intArray0.length);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertArrayEquals(new int[] {0}, intArray0);\n \n resultMatrixSignificance0.setColOrder(intArray0);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, intArray0.length);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertArrayEquals(new int[] {0}, intArray0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixCSV0);\n \n double double0 = resultMatrixSignificance0.getMean((-2600), 3);\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0.0, double0, 0.01);\n }", "title": "" }, { "docid": "56f4dc763a09a0f3096977c3dc687b08", "score": "0.5375475", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n textDirectoryLoader0.getRevision();\n instances0.stratify(1003);\n Evaluation evaluation0 = new Evaluation(instances0);\n MockRandom mockRandom0 = new MockRandom(1003);\n mockRandom0.longs();\n instances0.resampleWithWeights((Random) mockRandom0);\n String string0 = evaluation0.toClassDetailsString();\n assertEquals(\"=== Detailed Accuracy By Class ===\\n\\n TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class\\nWeighted Avg. NaN NaN NaN NaN NaN NaN NaN NaN \\n\", string0);\n \n evaluation0.KBMeanInformation();\n double double0 = evaluation0.SFEntropyGain();\n assertEquals(0.0, double0, 0.01);\n \n textDirectoryLoader0.getStructure();\n evaluation0.setPriors(instances0);\n String[] stringArray0 = new String[0];\n TextDirectoryLoader.main(stringArray0);\n IBk iBk0 = new IBk((-3286));\n JRip jRip0 = new JRip();\n AbstractClassifier.runClassifier(jRip0, stringArray0);\n textDirectoryLoader0.setOutputFilename(true);\n Evaluation.getGlobalInfo(iBk0);\n AbstractClassifier.makeCopies(iBk0, 4384);\n evaluation0.weightedFMeasure();\n iBk0.setKNN(4384);\n Evaluation.makeOptionString(iBk0, true);\n evaluation0.SFSchemeEntropy();\n evaluation0.setPriors(instances0);\n evaluation0.numTruePositives(0);\n String string1 = evaluation0.toCumulativeMarginDistributionString();\n assertEquals(\" -1 0 \\n\", string1);\n \n evaluation0.recall((-1106));\n evaluation0.toSummaryString(true);\n evaluation0.numFalseNegatives(11);\n assertEquals(Double.NaN, evaluation0.weightedPrecision(), 0.01);\n }", "title": "" }, { "docid": "db4231cc142fee17d7c4389cc02317f8", "score": "0.5375085", "text": "@Test(timeout = 4000)\n public void test105() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getStructure();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.pctCorrect();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "5199e6475b4a94262acbfcbed06b5648", "score": "0.5373532", "text": "@Test(timeout = 4000)\n public void test084() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.KBRelativeInformation();\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "a4419ca60c1dcf9309c30908d5bddcea", "score": "0.5372299", "text": "@Test\n public void test09() throws Throwable {\n String string0 = EWrapperMsgGenerator.tickEFP(110, 110, (double) 110, \"@\", (double) 110, 110, \"@\", (double) 110, (double) 110);\n assertEquals(\"id=110 unknown: basisPoints = 110.0/@ impliedFuture = 110.0 holdDays = 110 futureExpiry = @ dividendImpact = 110.0 dividends to expiry = 110.0\", string0);\n }", "title": "" }, { "docid": "feaba6e1c66a96dc317987ccf8e8ab3f", "score": "0.5371976", "text": "@Test(timeout = 4000)\n public void test034() throws Throwable {\n OneR oneR0 = new OneR();\n String string0 = Evaluation.getGlobalInfo(oneR0);\n assertEquals(\"\\nSynopsis for weka.classifiers.rules.OneR:\\n\\nClass for building and using a 1R classifier; in other words, uses the minimum-error attribute for prediction, discretizing numeric attributes. For more information, see:\\n\\nR.C. Holte (1993). Very simple classification rules perform well on most commonly used datasets. Machine Learning. 11:63-91.\", string0);\n }", "title": "" }, { "docid": "ef65659921218c91ff117790dc570f01", "score": "0.53714246", "text": "@Test(timeout = 4000)\n public void test021() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.truePositiveRate((-2027));\n assertEquals(0.0, double0, 0.01);\n assertEquals(0.0, evaluation0.SFPriorEntropy(), 0.01);\n }", "title": "" }, { "docid": "57438b051451a4a8bb40ee5585da88d8", "score": "0.5369401", "text": "@Test(timeout = 4000)\n public void test058() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n \n int int0 = resultMatrixSignificance1.getColCount();\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(1, int0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n \n int[] intArray0 = new int[7];\n intArray0[0] = 2;\n intArray0[1] = 1;\n intArray0[2] = 1;\n intArray0[3] = 0;\n intArray0[4] = 0;\n intArray0[5] = 2;\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixHTML0);\n \n int int1 = resultMatrixHTML0.getDisplayRow(0);\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(int1 == int0);\n assertEquals(0, int1);\n \n int[][] intArray1 = new int[4][7];\n intArray1[0] = intArray0;\n intArray1[1] = intArray0;\n intArray1[2] = intArray0;\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixGnuPlot0);\n \n String string0 = resultMatrixGnuPlot0.getRowName(1);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNull(string0);\n \n int int2 = resultMatrixGnuPlot0.getDefaultColNameWidth();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(int2 == int1);\n assertFalse(int2 == int0);\n assertEquals(50, int2);\n \n String string1 = resultMatrixGnuPlot0.toStringRanking();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleRowCount());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixGnuPlot0.meanPrecTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateColNames());\n assertEquals(2, resultMatrixGnuPlot0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixGnuPlot0.showAverageTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixGnuPlot0.showStdDevTipText());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintRowNames());\n assertFalse(resultMatrixGnuPlot0.getDefaultEnumerateColNames());\n assertEquals(\"GNUPlot\", resultMatrixGnuPlot0.getDisplayName());\n assertEquals(1, resultMatrixGnuPlot0.getRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixGnuPlot0.countWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getEnumerateRowNames());\n assertEquals(2, resultMatrixGnuPlot0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixGnuPlot0.meanWidthTipText());\n assertFalse(resultMatrixGnuPlot0.getRemoveFilterName());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowStdDev());\n assertTrue(resultMatrixGnuPlot0.getPrintColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixGnuPlot0.printRowNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getDefaultRemoveFilterName());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultColNameWidth());\n assertEquals(\"Generates output for a data and script file for GnuPlot.\", resultMatrixGnuPlot0.globalInfo());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultMeanWidth());\n assertFalse(resultMatrixGnuPlot0.getDefaultShowAverage());\n assertEquals(1, resultMatrixGnuPlot0.getColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixGnuPlot0.removeFilterNameTipText());\n assertEquals(0, resultMatrixGnuPlot0.getMeanWidth());\n assertEquals(50, resultMatrixGnuPlot0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixGnuPlot0.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixGnuPlot0.stdDevWidthTipText());\n assertEquals(0, resultMatrixGnuPlot0.getDefaultStdDevWidth());\n assertFalse(resultMatrixGnuPlot0.getShowAverage());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixGnuPlot0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixGnuPlot0.significanceWidthTipText());\n assertEquals(1, resultMatrixGnuPlot0.getVisibleColCount());\n assertEquals(0, resultMatrixGnuPlot0.getStdDevWidth());\n assertTrue(resultMatrixGnuPlot0.getPrintRowNames());\n assertEquals(0, resultMatrixGnuPlot0.getSignificanceWidth());\n assertTrue(resultMatrixGnuPlot0.getDefaultPrintColNames());\n assertEquals(50, resultMatrixGnuPlot0.getColNameWidth());\n assertEquals(50, resultMatrixGnuPlot0.getRowNameWidth());\n assertEquals(0, resultMatrixGnuPlot0.getCountWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixGnuPlot0.enumerateColNamesTipText());\n assertFalse(resultMatrixGnuPlot0.getShowStdDev());\n assertEquals(2, resultMatrixGnuPlot0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixGnuPlot0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixGnuPlot0.rowNameWidthTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"-ranking data not set-\", string1);\n assertNotNull(string1);\n \n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML();\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML1.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML1.printColNamesTipText());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertNotNull(resultMatrixHTML1);\n \n resultMatrixHTML1.setSignificance(0, (-3250), 97);\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML1.colNameWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML1.printColNamesTipText());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertNotSame(resultMatrixHTML1, resultMatrixHTML0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixHTML0);\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(25, resultMatrixLatex0.getRowNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixHTML0.equals((Object)resultMatrixHTML1));\n assertNotNull(resultMatrixLatex0);\n }", "title": "" }, { "docid": "ba2c1b38c58332090262cd810672fbc4", "score": "0.53660846", "text": "@Test(timeout = 4000)\n public void test239() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.getDisplayName();\n double double0 = resultMatrixSignificance0.getAverage(1);\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0.0, double0, 0.01);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n }", "title": "" }, { "docid": "23cedbf67dfc781e051a77b7dc92aa29", "score": "0.53634", "text": "@Test\n public void testC4() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_IR_4);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"177000000\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" }, { "docid": "b7abea50e039d018fd126f7d981b0c42", "score": "0.5359409", "text": "@Test(timeout = 4000)\n public void test171() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[1];\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV0);\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(resultMatrixSignificance0);\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(40, resultMatrixLatex0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixLatex0);\n \n boolean boolean0 = resultMatrixCSV0.isSignificance(1050);\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(boolean0);\n \n resultMatrixSignificance0.setShowStdDev(false);\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixCSV0.setRowOrder(intArray0);\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, intArray0.length);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertArrayEquals(new int[] {0}, intArray0);\n }", "title": "" }, { "docid": "89fb69e403cd71a0a89eb5c7558856a5", "score": "0.53582776", "text": "@Test(timeout = 4000)\n public void test112() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n String string0 = evaluation0.toSummaryString(false);\n assertEquals(0.0, evaluation0.unclassified(), 0.01);\n assertEquals(\"=== Summary ===\\n\\nTotal Number of Instances 0 \\n\", string0);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "346abc0e1f52e078c8a86ab081974149", "score": "0.53531474", "text": "@Test(timeout = 4000)\n public void test085() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(1, 2);\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixHTML0);\n \n double double0 = resultMatrixHTML0.getAverage((-1785));\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0.0, double0, 0.01);\n \n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML();\n assertFalse(resultMatrixHTML1.getEnumerateRowNames());\n assertEquals(25, resultMatrixHTML1.getRowNameWidth());\n assertEquals(0, resultMatrixHTML1.getSignificanceWidth());\n assertFalse(resultMatrixHTML1.getPrintColNames());\n assertTrue(resultMatrixHTML1.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML1.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML1.getMeanPrec());\n assertFalse(resultMatrixHTML1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML1.showStdDevTipText());\n assertFalse(resultMatrixHTML1.getShowStdDev());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML1.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML1.getDefaultSignificanceWidth());\n assertEquals(25, resultMatrixHTML1.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML1.printColNamesTipText());\n assertEquals(2, resultMatrixHTML1.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML1.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML1.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML1.getVisibleColCount());\n assertFalse(resultMatrixHTML1.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML1.getColCount());\n assertEquals(0, resultMatrixHTML1.getCountWidth());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML1.globalInfo());\n assertEquals(0, resultMatrixHTML1.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateColNamesTipText());\n assertEquals(\"HTML\", resultMatrixHTML1.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML1.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML1.rowNameWidthTipText());\n assertTrue(resultMatrixHTML1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML1.getMeanWidth());\n assertEquals(0, resultMatrixHTML1.getColNameWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixHTML1.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML1.getVisibleRowCount());\n assertEquals(0, resultMatrixHTML1.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML1.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML1.enumerateRowNamesTipText());\n assertFalse(resultMatrixHTML1.getShowAverage());\n assertFalse(resultMatrixHTML1.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML1.getEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML1.meanWidthTipText());\n assertEquals(2, resultMatrixHTML1.getStdDevPrec());\n assertFalse(resultMatrixHTML1.getDefaultShowStdDev());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML1.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML1.colNameWidthTipText());\n assertEquals(2, resultMatrixHTML1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixHTML1.getDefaultCountWidth());\n assertEquals(1, resultMatrixHTML1.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML1.meanPrecTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(resultMatrixHTML1.equals((Object)resultMatrixHTML0));\n assertNotNull(resultMatrixHTML1);\n \n int int0 = ResultMatrix.SIGNIFICANCE_WIN;\n assertEquals(1, int0);\n \n int int1 = resultMatrixHTML0.getDisplayCol(1);\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixHTML0.equals((Object)resultMatrixHTML1));\n assertFalse(int1 == int0);\n assertEquals((-1), int1);\n assertNotSame(resultMatrixHTML0, resultMatrixHTML1);\n \n String string0 = resultMatrixHTML0.toStringSummary();\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(2, resultMatrixHTML0.getVisibleRowCount());\n assertEquals(2, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixHTML0.equals((Object)resultMatrixHTML1));\n assertEquals(\"-summary data not set-\", string0);\n assertNotSame(resultMatrixHTML0, resultMatrixHTML1);\n assertNotNull(string0);\n }", "title": "" }, { "docid": "820eb013471f916db0f7f82ead4fe822", "score": "0.5348264", "text": "@Test(timeout = 4000)\n public void test226() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.toStringRanking();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 2);\n String string0 = resultMatrixSignificance0.toStringKey();\n assertEquals(\"Key:\\n(1) col0\\n\", string0);\n \n double double0 = resultMatrixSignificance0.getAverage(0);\n assertEquals(Double.NaN, double0, 0.01);\n \n resultMatrixSignificance0.getDefaultStdDevPrec();\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n }", "title": "" }, { "docid": "9c788d4d38ad7fd02644495ad402d0c3", "score": "0.53479165", "text": "@Test(timeout = 4000)\n public void test008() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = new Evaluation(instances0);\n double double0 = evaluation0.weightedAreaUnderPRC();\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0.0, evaluation0.SFEntropyGain(), 0.01);\n }", "title": "" }, { "docid": "d93e694d7f95a43be86b1bdea200f7c6", "score": "0.53447974", "text": "@Test(timeout = 4000)\n public void test010() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.WIN_STRING = \"\";\n resultMatrixSignificance0.setOptions((String[]) null);\n resultMatrixSignificance0.isStdDev((-2276));\n }", "title": "" }, { "docid": "a2933a108441b803575870a56cdbd123", "score": "0.5338614", "text": "@Test\n public void testC24() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_IR_24);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"80000000\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" }, { "docid": "e0d56c3a8ab6d7db001cb087949bd2e3", "score": "0.53363013", "text": "@Test(timeout = 4000)\n public void test159() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[2] = (double) 584;\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[1];\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixCSV0.setShowAverage(true);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.globalInfo();\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", string0);\n assertNotNull(string0);\n \n resultMatrixCSV0.setRowNameWidth((-249));\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n boolean boolean0 = resultMatrixCSV0.getRemoveFilterName();\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertFalse(boolean0);\n \n boolean boolean1 = resultMatrixCSV0.isSignificance(2);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(boolean1 == boolean0);\n assertFalse(boolean1);\n \n resultMatrixSignificance0.setShowStdDev(false);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.setRowOrder(intArray0);\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, intArray0.length);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertArrayEquals(new int[] {0}, intArray0);\n }", "title": "" }, { "docid": "f091f513049495b3134898eaf0a154f0", "score": "0.5334667", "text": "public double getRTDResistance()\r\n{\r\n return RTDR1;\r\n}", "title": "" }, { "docid": "ae387ccf231859953c1559307911b11d", "score": "0.533435", "text": "@Test(timeout = 4000)\n public void test002() throws Throwable {\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(0, 0);\n resultMatrixHTML0.setStdDevPrec(427);\n int[][] intArray0 = new int[4][2];\n resultMatrixHTML0.setRanking(intArray0);\n resultMatrixGnuPlot0.getSignificance(428, 0);\n }", "title": "" }, { "docid": "b1cc605d4bdeaf6c50a89cb0f188d0fd", "score": "0.53341603", "text": "@Test(timeout = 4000)\n public void test56() throws Throwable {\n JRip jRip0 = new JRip();\n DecisionTable decisionTable0 = new DecisionTable();\n Instances instances0 = decisionTable0.m_dtInstances;\n jRip0.setDebug(true);\n try { \n jRip0.rulesetForOneClass(2.147483647E9, (Instances) null, 2.147483647E9, 4609.9806631920865);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.classifiers.rules.RuleStats\", e);\n }\n }", "title": "" }, { "docid": "86af04f00ffe3731d271376dbd2cd8dd", "score": "0.5332812", "text": "@Test(timeout = 4000)\n public void test116() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.setShowAverage(true);\n int[][] intArray0 = new int[1][0];\n resultMatrixLatex0.setSummary(intArray0, intArray0);\n resultMatrixHTML0.setShowStdDev(true);\n resultMatrixHTML0.trimString((String) null, (-1514));\n assertTrue(resultMatrixHTML0.getShowStdDev());\n \n String string0 = resultMatrixLatex0.stdDevPrecTipText();\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", string0);\n }", "title": "" }, { "docid": "9c0cdcd7a28e539c28e8a6a0bd68a04c", "score": "0.53325754", "text": "@Test(timeout = 4000)\n public void test245() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixHTML0);\n resultMatrixHTML0.setRemoveFilterName(true);\n resultMatrixHTML0.getRevision();\n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n resultMatrixLatex0.getColName(0);\n resultMatrixLatex0.setColHidden(0, true);\n resultMatrixHTML0.getDefaultEnumerateColNames();\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(80, 2);\n double[] doubleArray0 = new double[3];\n doubleArray0[0] = (double) 0;\n doubleArray0[1] = 0.0;\n doubleArray0[2] = (double) 2;\n resultMatrixSignificance0.m_Counts = doubleArray0;\n ResultMatrixGnuPlot resultMatrixGnuPlot1 = new ResultMatrixGnuPlot();\n ResultMatrixHTML resultMatrixHTML1 = new ResultMatrixHTML(resultMatrixGnuPlot1);\n resultMatrixSignificance0.WIN_STRING = \"?/|#xG1voZS27\";\n resultMatrixHTML0.toStringMatrix();\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixGnuPlot1);\n resultMatrixSignificance0.toStringMatrix();\n // Undeclared exception!\n try { \n resultMatrixSignificance0.toStringKey();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 2\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "1aa28253817b64358c455f87b4d5f853", "score": "0.5332242", "text": "@Test(timeout = 4000)\n public void test077() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 3);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(3, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(3, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n resultMatrixSignificance0.m_StdDevPrec = 3;\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(3, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(3, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(3, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n \n resultMatrixSignificance0.setPrintRowNames(false);\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(3, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(3, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(3, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n String[] stringArray0 = new String[2];\n stringArray0[0] = \"*\";\n ResultMatrixGnuPlot.main(stringArray0);\n assertEquals(2, stringArray0.length);\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.padString(stringArray0[1], (-708));\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "49ba181ae66e53fd0c7e07696c2969ae", "score": "0.53303576", "text": "@Test(timeout = 4000)\n public void test045() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(1, 0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int int0 = resultMatrixSignificance0.getSignificance(0, 0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n double double0 = resultMatrixSignificance0.getAverage(0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixCSV0);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n int int1 = resultMatrixCSV0.getVisibleRowCount();\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertTrue(int1 == int0);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getRowCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, int1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "ffca5097f732f0582ae2ff834b7111d7", "score": "0.53233486", "text": "@Test(timeout = 4000)\n public void test192() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(0, 2315);\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(2315, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2315, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n \n int int0 = resultMatrixSignificance0.getMeanPrec();\n assertEquals(2, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(2315, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2315, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n \n int int1 = resultMatrixSignificance0.getDefaultRowNameWidth();\n assertEquals(40, int1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(int1 == int0);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2315, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n \n String string0 = resultMatrixSignificance0.getRevision();\n assertEquals(\"8034\", string0);\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(2315, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2315, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n \n String string1 = resultMatrixSignificance0.countWidthTipText();\n assertEquals(\"The width of the counts (0 = optimal).\", string1);\n assertNotNull(string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(string1.equals((Object)string0));\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(2315, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2315, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n \n int[] intArray0 = new int[1];\n intArray0[0] = 40;\n resultMatrixSignificance0.setRowOrder(intArray0);\n assertEquals(1, intArray0.length);\n assertArrayEquals(new int[] {40}, intArray0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2315, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex(2315, 325);\n }", "title": "" }, { "docid": "edf6992567907d72d845c51cd8c4e510", "score": "0.53230387", "text": "@Test(timeout = 4000)\n public void test035() throws Throwable {\n int int0 = ResultMatrix.SIGNIFICANCE_TIE;\n assertEquals(0, int0);\n \n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n assertNotNull(resultMatrixHTML0);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixHTML0.toStringSummary();\n assertNotNull(string0);\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixHTML0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixHTML0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixHTML0.significanceWidthTipText());\n assertEquals(1, resultMatrixHTML0.getRowCount());\n assertFalse(resultMatrixHTML0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixHTML0.stdDevWidthTipText());\n assertEquals(0, resultMatrixHTML0.getSignificanceWidth());\n assertFalse(resultMatrixHTML0.getShowStdDev());\n assertFalse(resultMatrixHTML0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixHTML0.removeFilterNameTipText());\n assertTrue(resultMatrixHTML0.getDefaultPrintRowNames());\n assertFalse(resultMatrixHTML0.getDefaultShowAverage());\n assertEquals(2, resultMatrixHTML0.getStdDevPrec());\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixHTML0.stdDevPrecTipText());\n assertEquals(0, resultMatrixHTML0.getMeanWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixHTML0.colNameWidthTipText());\n assertEquals(0, resultMatrixHTML0.getColNameWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultCountWidth());\n assertEquals(0, resultMatrixHTML0.getStdDevWidth());\n assertEquals(25, resultMatrixHTML0.getRowNameWidth());\n assertFalse(resultMatrixHTML0.getShowAverage());\n assertFalse(resultMatrixHTML0.getDefaultPrintColNames());\n assertTrue(resultMatrixHTML0.getEnumerateColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixHTML0.countWidthTipText());\n assertFalse(resultMatrixHTML0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixHTML0.rowNameWidthTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixHTML0.printRowNamesTipText());\n assertTrue(resultMatrixHTML0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixHTML0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixHTML0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixHTML0.showAverageTipText());\n assertEquals(2, resultMatrixHTML0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixHTML0.meanPrecTipText());\n assertEquals(0, resultMatrixHTML0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleRowCount());\n assertFalse(resultMatrixHTML0.getRemoveFilterName());\n assertEquals(1, resultMatrixHTML0.getColCount());\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateRowNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixHTML0.enumerateColNamesTipText());\n assertEquals(\"Generates the matrix output as HTML.\", resultMatrixHTML0.globalInfo());\n assertEquals(\"HTML\", resultMatrixHTML0.getDisplayName());\n assertEquals(25, resultMatrixHTML0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixHTML0.printColNamesTipText());\n assertFalse(resultMatrixHTML0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixHTML0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixHTML0.getVisibleColCount());\n assertEquals(0, resultMatrixHTML0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixHTML0.getDefaultSignificanceWidth());\n assertEquals(\"-summary data not set-\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "770f87b3a903dc8dfc71ff03e492a44e", "score": "0.5319631", "text": "@Test(timeout = 4000)\n public void test116() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n \n boolean boolean0 = resultMatrixSignificance0.getRowHidden((-1111));\n assertFalse(boolean0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n \n String string0 = null;\n boolean[] booleanArray0 = new boolean[0];\n resultMatrixSignificance0.m_StdDevPrec = (-1111);\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals((-1111), resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n \n resultMatrixSignificance0.m_ColHidden = booleanArray0;\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals((-1111), resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n \n // Undeclared exception!\n try { \n resultMatrixSignificance0.padString((String) null, 2399, true);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "c5a3d557c7b8ad84f5597cec3ebf1750", "score": "0.531127", "text": "@Test(timeout = 4000)\n public void test140() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[0] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixCSV0);\n \n boolean boolean0 = resultMatrixCSV0.isMean(18);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "e208d01f70e376c5e7274365d705fad9", "score": "0.5310224", "text": "@Test\n public void testC1() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_IR_1);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"464000000\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" }, { "docid": "6453bff744d42a3eab7dffc3964438fd", "score": "0.53073347", "text": "@Test(timeout = 4000)\n public void test178() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n \n String string0 = resultMatrixSignificance0.getColName((-1));\n assertNull(string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertNotNull(resultMatrixCSV0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n \n resultMatrixCSV0.m_ShowAverage = true;\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n \n int int0 = resultMatrixCSV0.getSignificance((-1), 31);\n assertEquals(0, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n }", "title": "" }, { "docid": "4eaf307f4c4c1ff7ee1ee527b996b0a3", "score": "0.5306442", "text": "@Test\n public void testC415() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_EQV_1, S_EQV_7, S_EQV_7, S_EQV_7, S_EQV_7, S_EQV_7);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"117609230\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" }, { "docid": "537e6b09afb4031b385590372c62b427", "score": "0.5305253", "text": "@Test(timeout = 4000)\n public void test158() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(40, 0);\n assertNotNull(resultMatrixCSV0);\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(40, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(40, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixCSV0.setRowNameWidth(0);\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(40, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(40, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n boolean boolean0 = resultMatrixCSV0.getDefaultEnumerateColNames();\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getRowNameWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(40, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(40, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(boolean0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int0 = resultMatrixSignificance1.getDisplayCol((-2014));\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals((-1), int0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "6d1b79f6a91769f2ed19e4b46b7d92ce", "score": "0.53045315", "text": "@Test(timeout = 4000)\n public void test061() throws Throwable {\n double[] doubleArray0 = new double[10];\n doubleArray0[4] = (double) 584;\n doubleArray0[5] = (double) 584;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[15];\n resultMatrixSignificance0.setColOrder(intArray0);\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(15, intArray0.length);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotNull(resultMatrixCSV0);\n \n boolean boolean0 = resultMatrixCSV0.isMean((-3080));\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(boolean0);\n \n int int0 = resultMatrixCSV0.getDefaultMeanWidth();\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, int0);\n }", "title": "" }, { "docid": "33788cd36858cc7158516ad5da51602d", "score": "0.5304148", "text": "@Test\n void backstagePassesTenDaysTest() throws Exception {\n\t Item[] items = new Item[] { new Item(\"Backstage passes to a TAFKAL80ETC concert\", 10, 10,ProductType.BACKSTAGEPASSES) };\n\t\tGildedRose app = new GildedRose(items);\n\t\tapp.updateQuality();\n\t\tAssertions.assertEquals(\"Backstage passes to a TAFKAL80ETC concert\", app.items[0].name);\n\t Assertions.assertEquals(10-1, app.items[0].sellIn);\n\t Assertions.assertEquals(10+2, app.items[0].quality);\n\t}", "title": "" }, { "docid": "99a181a59e27910e277f3ec8d058a660", "score": "0.52993405", "text": "@Test(timeout = 4000)\n public void test044() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixSignificance0);\n assertNotNull(resultMatrixPlainText0);\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int[] intArray0 = new int[1];\n resultMatrixPlainText0.setColOrder(intArray0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(1, intArray0.length);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertArrayEquals(new int[] {0}, intArray0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertNotNull(resultMatrixCSV0);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n resultMatrixCSV0.clear();\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.significanceWidthTipText();\n assertNotNull(string0);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", string0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "61bae293ddc6cf19e22a14a34c020be4", "score": "0.52971447", "text": "@Test(timeout = 4000)\n public void test197() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n resultMatrixHTML0.m_SignificanceWidth = 0;\n assertEquals(2, resultMatrixHTML0.getMeanPrec());\n \n resultMatrixHTML0.m_MeanPrec = 2449;\n resultMatrixHTML0.getDisplayName();\n double[] doubleArray0 = new double[12];\n doubleArray0[0] = (double) 0;\n doubleArray0[1] = (double) 2;\n doubleArray0[2] = (double) 0;\n resultMatrixHTML0.m_Counts = doubleArray0;\n resultMatrixHTML0.m_RemoveFilterName = true;\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(24, 30);\n int[] intArray0 = new int[6];\n intArray0[0] = 0;\n intArray0[1] = 1;\n intArray0[2] = 30;\n intArray0[3] = 2449;\n intArray0[4] = 2449;\n intArray0[5] = 0;\n resultMatrixSignificance0.m_RowOrder = intArray0;\n resultMatrixSignificance0.setMean(0, 2449, 0.0);\n resultMatrixSignificance0.getRevision();\n resultMatrixHTML0.getDisplayName();\n assertEquals(0, resultMatrixHTML0.getCountWidth());\n }", "title": "" }, { "docid": "d9a42188e3b1cd68b35bfa86305c5a1b", "score": "0.5291661", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertNotNull(resultMatrixSignificance0);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertNotNull(resultMatrixCSV0);\n \n resultMatrixSignificance0.setMeanPrec(511);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n resultMatrixCSV0.LOSS_STRING = \"<>N\";\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n \n Vector<String> vector0 = new Vector<String>();\n assertFalse(vector0.contains(\"<>N\"));\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertNotNull(vector0);\n \n resultMatrixSignificance1.m_HeaderKeys = vector0;\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, vector0.capacity());\n assertEquals(0, vector0.size());\n assertEquals(0, resultMatrixSignificance1.m_HeaderKeys.size());\n assertEquals(10, resultMatrixSignificance1.m_HeaderKeys.capacity());\n assertEquals(\"[]\", resultMatrixSignificance1.m_HeaderKeys.toString());\n assertTrue(resultMatrixSignificance1.m_HeaderKeys.isEmpty());\n \n resultMatrixCSV0.setMeanWidth(2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n boolean boolean0 = vector0.add(\"yt){%2p/RtTb\");\n assertFalse(vector0.contains(\"<>N\"));\n assertTrue(vector0.contains(\"yt){%2p/RtTb\"));\n assertEquals(10, vector0.capacity());\n assertEquals(\"[yt){%2p/RtTb]\", vector0.toString());\n assertFalse(vector0.isEmpty());\n assertEquals(1, vector0.size());\n assertTrue(boolean0);\n \n resultMatrixSignificance0.m_EnumerateColNames = false;\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n \n String string0 = resultMatrixSignificance0.printColNamesTipText();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Whether to output column names or just numbers representing them.\", string0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertNotNull(string0);\n \n String string1 = resultMatrixSignificance1.toStringRanking();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(2, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(\"-ranking data not set-\", string1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertFalse(string1.equals((Object)string0));\n assertNotNull(string1);\n \n String string2 = resultMatrixSignificance0.toString();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"Dataset \\n--------\\nrow0 \\n\", string2);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(string2.equals((Object)string1));\n assertFalse(string2.equals((Object)string0));\n assertNotNull(string2);\n \n int int0 = resultMatrixSignificance0.getStdDevPrec();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(511, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(2, int0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n \n ResultMatrixLatex resultMatrixLatex0 = new ResultMatrixLatex();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertNotNull(resultMatrixLatex0);\n \n resultMatrixLatex0.setRemoveFilterName(false);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n \n String string3 = resultMatrixLatex0.toStringRanking();\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertEquals(\"-ranking data not set-\", string3);\n assertFalse(string3.equals((Object)string0));\n assertFalse(string3.equals((Object)string2));\n assertNotNull(string3);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertNotNull(resultMatrixPlainText0);\n \n resultMatrixPlainText0.LEFT_PARENTHESES = \" \";\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n \n String string4 = resultMatrixPlainText0.toStringRanking();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"-ranking data not set-\", string4);\n assertFalse(string4.equals((Object)string0));\n assertFalse(string4.equals((Object)string2));\n assertNotNull(string4);\n \n String string5 = resultMatrixPlainText0.toStringMatrix();\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertTrue(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertEquals(5, resultMatrixPlainText0.getCountWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(\"Dataset 1) col0 \\n-----------------------------------\\nrow0 (0) |\\n-----------------------------------\\n v/ /*) |\\n\", string5);\n assertFalse(string5.equals((Object)string1));\n assertFalse(string5.equals((Object)string3));\n assertFalse(string5.equals((Object)string4));\n assertFalse(string5.equals((Object)string0));\n assertFalse(string5.equals((Object)string2));\n assertNotNull(string5);\n \n boolean boolean1 = resultMatrixLatex0.isStdDev(724);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(resultMatrixLatex0.getShowStdDev());\n assertTrue(resultMatrixLatex0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixLatex0.stdDevWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixLatex0.significanceWidthTipText());\n assertFalse(resultMatrixLatex0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixLatex0.showStdDevTipText());\n assertEquals(0, resultMatrixLatex0.getStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getRowCount());\n assertFalse(resultMatrixLatex0.getEnumerateRowNames());\n assertTrue(resultMatrixLatex0.getDefaultPrintRowNames());\n assertEquals(\"LaTeX\", resultMatrixLatex0.getDisplayName());\n assertEquals(2, resultMatrixLatex0.getStdDevPrec());\n assertEquals(0, resultMatrixLatex0.getSignificanceWidth());\n assertFalse(resultMatrixLatex0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixLatex0.removeFilterNameTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixLatex0.meanWidthTipText());\n assertEquals(2, resultMatrixLatex0.getMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixLatex0.stdDevPrecTipText());\n assertEquals(0, resultMatrixLatex0.getMeanWidth());\n assertEquals(0, resultMatrixLatex0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixLatex0.colNameWidthTipText());\n assertEquals(0, resultMatrixLatex0.getColNameWidth());\n assertTrue(resultMatrixLatex0.getEnumerateColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixLatex0.showAverageTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixLatex0.getRowNameWidth());\n assertEquals(2, resultMatrixLatex0.getDefaultStdDevPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixLatex0.rowNameWidthTipText());\n assertFalse(resultMatrixLatex0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixLatex0.getDefaultMeanPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixLatex0.meanPrecTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultColNameWidth());\n assertEquals(1, resultMatrixLatex0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixLatex0.getCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixLatex0.printRowNamesTipText());\n assertFalse(resultMatrixLatex0.getRemoveFilterName());\n assertFalse(resultMatrixLatex0.getDefaultShowAverage());\n assertEquals(1, resultMatrixLatex0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixLatex0.enumerateColNamesTipText());\n assertFalse(resultMatrixLatex0.getDefaultShowStdDev());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixLatex0.printColNamesTipText());\n assertEquals(0, resultMatrixLatex0.getDefaultStdDevWidth());\n assertEquals(1, resultMatrixLatex0.getVisibleColCount());\n assertEquals(0, resultMatrixLatex0.getDefaultMeanWidth());\n assertTrue(resultMatrixLatex0.getPrintRowNames());\n assertEquals(\"Generates the matrix output in LaTeX-syntax.\", resultMatrixLatex0.globalInfo());\n assertFalse(resultMatrixLatex0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixLatex0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixLatex0.countWidthTipText());\n assertFalse(boolean1);\n assertFalse(boolean1 == boolean0);\n \n String[] stringArray0 = new String[0];\n ResultMatrixGnuPlot.main(stringArray0);\n assertEquals(0, stringArray0.length);\n }", "title": "" }, { "docid": "16e1e7d07d7649d8f02a10c35f7d73bb", "score": "0.5283414", "text": "@Test(timeout = 4000)\n public void test182() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n String[] stringArray0 = new String[0];\n resultMatrixSignificance0.setOptions(stringArray0);\n resultMatrixSignificance0.stdDevWidthTipText();\n assertEquals(0, resultMatrixSignificance0.getStdDevPrec());\n }", "title": "" }, { "docid": "b8878bec5c124a74dbca201c75054ee2", "score": "0.52781636", "text": "@Test(timeout = 4000)\n public void test076() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertNotNull(resultMatrixCSV0);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string0 = resultMatrixCSV0.toStringMatrix();\n assertNotNull(string0);\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(\"Dataset,[1]\\nrow0,''\\n'[v/ /*]',''\\n\", string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n String string1 = resultMatrixSignificance0.removeFilterNameTipText();\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(string1.equals((Object)string0));\n assertNotNull(string1);\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", string1);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixSignificance1.addHeader(\"*\", \"\");\n assertNotSame(resultMatrixSignificance1, resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n }", "title": "" }, { "docid": "3879297117024688a6d5a7b2ecdebf4e", "score": "0.5275171", "text": "@Test\n public void testC414() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_EQV_1, S_EQV_3);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"65396786\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" }, { "docid": "c1cb5b3a1b28a1cb868d5080a68d8121", "score": "0.5274398", "text": "@Test(timeout = 4000)\n public void test157() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n int int0 = resultMatrixSignificance0.getSignificance(0, 0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(0, int0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n double double0 = resultMatrixSignificance0.getAverage(0);\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixSignificance0.getSummaryTitle((-501));\n assertNotSame(resultMatrixSignificance0, resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertNotNull(string0);\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Z\", string0);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(1, 0);\n assertNotNull(resultMatrixCSV0);\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getRowCount());\n assertEquals(0, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "52f4c92390a5e29ea08b724be2ec2183", "score": "0.5272267", "text": "@Test(timeout = 4000)\n public void test049() throws Throwable {\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixHTML0);\n ResultMatrixGnuPlot resultMatrixGnuPlot0 = new ResultMatrixGnuPlot(resultMatrixCSV0);\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(resultMatrixGnuPlot0);\n resultMatrixHTML0.setMeanPrec(0);\n resultMatrixSignificance0.assign(resultMatrixCSV0);\n resultMatrixHTML0.setEnumerateRowNames(false);\n resultMatrixSignificance0.getRowName(1);\n resultMatrixSignificance0.setCount((-2394), 124.851561);\n resultMatrixGnuPlot0.getRemoveFilterName();\n resultMatrixGnuPlot0.getDefaultEnumerateRowNames();\n resultMatrixSignificance0.getDefaultCountWidth();\n resultMatrixGnuPlot0.stdDevWidthTipText();\n }", "title": "" }, { "docid": "b08236f9f5d9fdec130d63b4163345f6", "score": "0.52705604", "text": "@Test(timeout = 4000)\n public void test227() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.getSignificance(68, 23);\n resultMatrixSignificance0.getDefaultShowStdDev();\n double double0 = resultMatrixSignificance0.getCount(23);\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0.0, double0, 0.01);\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n }", "title": "" }, { "docid": "038daecdbf69e5e93039e1caec0913c2", "score": "0.5267207", "text": "@Test(timeout = 4000)\n public void test024() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixPlainText resultMatrixPlainText0 = new ResultMatrixPlainText(resultMatrixSignificance0);\n assertNotNull(resultMatrixPlainText0);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixPlainText0);\n assertFalse(resultMatrixSignificance0.equals((Object)resultMatrixSignificance1));\n assertNotNull(resultMatrixCSV0);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText0.colNameWidthTipText());\n assertFalse(resultMatrixPlainText0.getRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getVisibleColCount());\n assertEquals(0, resultMatrixPlainText0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText0.printColNamesTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixPlainText0.getColNameWidth());\n assertEquals(0, resultMatrixPlainText0.getMeanWidth());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText0.showAverageTipText());\n assertEquals(2, resultMatrixPlainText0.getDefaultMeanPrec());\n assertTrue(resultMatrixPlainText0.getPrintRowNames());\n assertEquals(0, resultMatrixPlainText0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText0.countWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultStdDevWidth());\n assertTrue(resultMatrixPlainText0.getEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText0.significanceWidthTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText0.removeFilterNameTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintColNames());\n assertEquals(\"Plain Text\", resultMatrixPlainText0.getDisplayName());\n assertEquals(0, resultMatrixPlainText0.getSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText0.stdDevPrecTipText());\n assertFalse(resultMatrixPlainText0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateColNamesTipText());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText0.globalInfo());\n assertFalse(resultMatrixPlainText0.getShowStdDev());\n assertEquals(2, resultMatrixPlainText0.getMeanPrec());\n assertFalse(resultMatrixPlainText0.getEnumerateRowNames());\n assertEquals(1, resultMatrixPlainText0.getRowCount());\n assertFalse(resultMatrixPlainText0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixPlainText0.getShowAverage());\n assertEquals(0, resultMatrixPlainText0.getStdDevWidth());\n assertFalse(resultMatrixPlainText0.getDefaultRemoveFilterName());\n assertEquals(1, resultMatrixPlainText0.getVisibleRowCount());\n assertTrue(resultMatrixPlainText0.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixPlainText0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText0.stdDevWidthTipText());\n assertEquals(0, resultMatrixPlainText0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixPlainText0.getDefaultStdDevPrec());\n assertEquals(25, resultMatrixPlainText0.getDefaultRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText0.meanPrecTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText0.showStdDevTipText());\n assertTrue(resultMatrixPlainText0.getDefaultPrintRowNames());\n assertFalse(resultMatrixPlainText0.getDefaultShowStdDev());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText0.enumerateRowNamesTipText());\n assertEquals(5, resultMatrixPlainText0.getDefaultCountWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText0.printRowNamesTipText());\n assertFalse(resultMatrixPlainText0.getDefaultShowAverage());\n assertEquals(2, resultMatrixPlainText0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText0.meanWidthTipText());\n assertEquals(1, resultMatrixPlainText0.getColCount());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n ResultMatrixPlainText resultMatrixPlainText1 = new ResultMatrixPlainText();\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertNotNull(resultMatrixPlainText1);\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n double double0 = resultMatrixPlainText1.getMean(0, 1);\n assertNotSame(resultMatrixPlainText1, resultMatrixPlainText0);\n assertFalse(resultMatrixPlainText1.equals((Object)resultMatrixPlainText0));\n assertEquals(0, resultMatrixPlainText1.getSignificanceWidth());\n assertEquals(25, resultMatrixPlainText1.getRowNameWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixPlainText1.showStdDevTipText());\n assertEquals(\"Plain Text\", resultMatrixPlainText1.getDisplayName());\n assertTrue(resultMatrixPlainText1.getDefaultPrintColNames());\n assertEquals(1, resultMatrixPlainText1.getRowCount());\n assertFalse(resultMatrixPlainText1.getShowStdDev());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixPlainText1.stdDevWidthTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixPlainText1.meanWidthTipText());\n assertFalse(resultMatrixPlainText1.getEnumerateRowNames());\n assertFalse(resultMatrixPlainText1.getDefaultShowAverage());\n assertTrue(resultMatrixPlainText1.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixPlainText1.getStdDevPrec());\n assertEquals(2, resultMatrixPlainText1.getMeanPrec());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateRowNamesTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixPlainText1.significanceWidthTipText());\n assertEquals(0, resultMatrixPlainText1.getDefaultMeanWidth());\n assertFalse(resultMatrixPlainText1.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixPlainText1.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixPlainText1.getDefaultStdDevWidth());\n assertFalse(resultMatrixPlainText1.getDefaultEnumerateRowNames());\n assertEquals(5, resultMatrixPlainText1.getCountWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixPlainText1.countWidthTipText());\n assertTrue(resultMatrixPlainText1.getPrintColNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixPlainText1.showAverageTipText());\n assertEquals(2, resultMatrixPlainText1.getDefaultMeanPrec());\n assertEquals(1, resultMatrixPlainText1.getVisibleColCount());\n assertTrue(resultMatrixPlainText1.getPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixPlainText1.printRowNamesTipText());\n assertEquals(0, resultMatrixPlainText1.getDefaultColNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixPlainText1.meanPrecTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixPlainText1.enumerateColNamesTipText());\n assertEquals(25, resultMatrixPlainText1.getDefaultRowNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixPlainText1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixPlainText1.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixPlainText1.printColNamesTipText());\n assertFalse(resultMatrixPlainText1.getRemoveFilterName());\n assertEquals(5, resultMatrixPlainText1.getDefaultCountWidth());\n assertFalse(resultMatrixPlainText1.getDefaultShowStdDev());\n assertEquals(\"Generates the output as plain text (for fixed width fonts).\", resultMatrixPlainText1.globalInfo());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixPlainText1.removeFilterNameTipText());\n assertEquals(1, resultMatrixPlainText1.getColCount());\n assertEquals(1, resultMatrixPlainText1.getVisibleRowCount());\n assertTrue(resultMatrixPlainText1.getEnumerateColNames());\n assertTrue(resultMatrixPlainText1.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixPlainText1.getMeanWidth());\n assertEquals(0, resultMatrixPlainText1.getColNameWidth());\n assertFalse(resultMatrixPlainText1.getShowAverage());\n assertEquals(2, resultMatrixPlainText1.getDefaultStdDevPrec());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixPlainText1.colNameWidthTipText());\n assertEquals(0, resultMatrixPlainText1.getStdDevWidth());\n assertEquals(0.0, double0, 0.01);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n // Undeclared exception!\n try { \n resultMatrixCSV0.toStringHeader();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "cc0f63b3c9794bd96509d189662aee2c", "score": "0.52670854", "text": "@Test(timeout = 4000)\n public void test115() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n String string0 = resultMatrixSignificance0.getColName((-165));\n assertNull(string0);\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n resultMatrixSignificance0.clear();\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance();\n assertFalse(resultMatrixSignificance1.equals((Object)resultMatrixSignificance0));\n assertNotNull(resultMatrixSignificance1);\n assertFalse(resultMatrixSignificance1.getEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance1.getDefaultCountWidth());\n assertEquals(2, resultMatrixSignificance1.getMeanPrec());\n assertEquals(0, resultMatrixSignificance1.getSignificanceWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowAverage());\n assertFalse(resultMatrixSignificance1.getPrintColNames());\n assertEquals(\"Significance only\", resultMatrixSignificance1.getDisplayName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance1.globalInfo());\n assertEquals(1, resultMatrixSignificance1.getRowCount());\n assertTrue(resultMatrixSignificance1.getDefaultEnumerateColNames());\n assertEquals(40, resultMatrixSignificance1.getRowNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance1.stdDevWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultRemoveFilterName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance1.countWidthTipText());\n assertEquals(2, resultMatrixSignificance1.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance1.meanWidthTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultSignificanceWidth());\n assertEquals(1, resultMatrixSignificance1.getVisibleRowCount());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance1.showStdDevTipText());\n assertFalse(resultMatrixSignificance1.getDefaultEnumerateRowNames());\n assertTrue(resultMatrixSignificance1.getDefaultPrintRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateRowNamesTipText());\n assertEquals(0, resultMatrixSignificance1.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance1.getDefaultStdDevWidth());\n assertFalse(resultMatrixSignificance1.getDefaultShowStdDev());\n assertEquals(0, resultMatrixSignificance1.getCountWidth());\n assertEquals(1, resultMatrixSignificance1.getColCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance1.printColNamesTipText());\n assertFalse(resultMatrixSignificance1.getRemoveFilterName());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance1.enumerateColNamesTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance1.printRowNamesTipText());\n assertEquals(2, resultMatrixSignificance1.getDefaultMeanPrec());\n assertEquals(2, resultMatrixSignificance1.getDefaultStdDevPrec());\n assertTrue(resultMatrixSignificance1.getPrintRowNames());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance1.meanPrecTipText());\n assertEquals(1, resultMatrixSignificance1.getVisibleColCount());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance1.showAverageTipText());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance1.colNameWidthTipText());\n assertFalse(resultMatrixSignificance1.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance1.getStdDevWidth());\n assertFalse(resultMatrixSignificance1.getShowAverage());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance1.significanceWidthTipText());\n assertFalse(resultMatrixSignificance1.getShowStdDev());\n assertTrue(resultMatrixSignificance1.getEnumerateColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance1.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance1.getMeanWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance1.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance1.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance1.getColNameWidth());\n assertEquals(40, resultMatrixSignificance1.getDefaultRowNameWidth());\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV();\n assertNotNull(resultMatrixCSV0);\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(25, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n \n // Undeclared exception!\n try { \n resultMatrixCSV0.getHeader(\"(\");\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }", "title": "" }, { "docid": "12203945244eb9f446a343d91ceacd43", "score": "0.5266914", "text": "@Test\n public void testC59() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_IR_11, S_IR_12);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"386025647\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" }, { "docid": "e6c9f01c08ddce9d4efca560757f40a8", "score": "0.5266294", "text": "@Test(timeout = 4000)\n public void test139() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertNotNull(resultMatrixCSV0);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n resultMatrixCSV0.setSignificanceWidth((-250));\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n int int0 = resultMatrixCSV0.getDisplayRow(0);\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertEquals(0, int0);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n \n // Undeclared exception!\n try { \n resultMatrixCSV0.toStringHeader();\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 0\n //\n verifyException(\"weka.experiment.ResultMatrix\", e);\n }\n }", "title": "" }, { "docid": "b92f263b69bdcd117ec3e59085327ad7", "score": "0.5260768", "text": "@Test(timeout = 4000)\n public void test145() throws Throwable {\n double[] doubleArray0 = new double[12];\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance(24, 30);\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(30, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(24, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(30, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(24, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertNotNull(resultMatrixSignificance0);\n \n int[] intArray0 = new int[6];\n intArray0[0] = 0;\n intArray0[1] = 1;\n intArray0[2] = 30;\n intArray0[3] = 2449;\n resultMatrixSignificance0.clear();\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(30, resultMatrixSignificance0.getVisibleRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertEquals(24, resultMatrixSignificance0.getColCount());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(30, resultMatrixSignificance0.getRowCount());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertEquals(24, resultMatrixSignificance0.getVisibleColCount());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n }", "title": "" }, { "docid": "9a988255cc87fbb4e760301e57b3fcc3", "score": "0.52560043", "text": "@Test(timeout = 4000)\n public void test126() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n assertNotNull(resultMatrixSignificance0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(2, resultMatrixSignificance0.getMeanPrec());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n \n resultMatrixSignificance0.m_MeanPrec = 3;\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n \n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(resultMatrixSignificance0);\n assertNotNull(resultMatrixCSV0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(3, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n \n Vector<String> vector0 = new Vector<String>();\n assertNotNull(vector0);\n assertEquals(0, vector0.size());\n assertEquals(10, vector0.capacity());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n \n resultMatrixCSV0.m_HeaderKeys = vector0;\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(3, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n assertEquals(0, vector0.size());\n assertEquals(10, vector0.capacity());\n assertEquals(\"[]\", vector0.toString());\n assertTrue(vector0.isEmpty());\n assertEquals(10, resultMatrixCSV0.m_HeaderKeys.capacity());\n assertEquals(\"[]\", resultMatrixCSV0.m_HeaderKeys.toString());\n assertEquals(0, resultMatrixCSV0.m_HeaderKeys.size());\n assertTrue(resultMatrixCSV0.m_HeaderKeys.isEmpty());\n \n int[][] intArray0 = new int[8][3];\n int[] intArray1 = new int[5];\n intArray1[0] = 3;\n intArray1[1] = 2;\n intArray1[2] = 1;\n intArray1[3] = 2;\n intArray1[4] = (-3179);\n intArray0[0] = intArray1;\n int[] intArray2 = new int[3];\n assertFalse(intArray2.equals((Object)intArray1));\n \n intArray2[0] = 1;\n intArray2[1] = 39;\n intArray2[2] = (-224);\n intArray0[1] = intArray2;\n int[] intArray3 = new int[5];\n assertFalse(intArray3.equals((Object)intArray2));\n assertFalse(intArray3.equals((Object)intArray1));\n \n intArray3[0] = 2;\n intArray3[1] = 3;\n intArray3[2] = (-3179);\n intArray3[3] = (-224);\n intArray3[4] = 0;\n intArray0[2] = intArray3;\n int[] intArray4 = new int[9];\n assertFalse(intArray4.equals((Object)intArray1));\n assertFalse(intArray4.equals((Object)intArray3));\n assertFalse(intArray4.equals((Object)intArray2));\n \n intArray4[0] = 1067;\n intArray4[1] = 3;\n intArray4[2] = 1;\n intArray4[3] = 0;\n intArray4[4] = 1;\n intArray4[5] = 0;\n intArray4[6] = 20;\n intArray4[7] = 2;\n intArray4[8] = 39;\n intArray0[3] = intArray4;\n int[] intArray5 = new int[5];\n assertFalse(intArray5.equals((Object)intArray3));\n assertFalse(intArray5.equals((Object)intArray1));\n assertFalse(intArray5.equals((Object)intArray2));\n assertFalse(intArray5.equals((Object)intArray4));\n \n intArray5[0] = 3;\n intArray5[1] = 0;\n intArray5[2] = (-3179);\n intArray5[3] = 2;\n intArray5[4] = 39;\n intArray0[4] = intArray5;\n int[] intArray6 = new int[6];\n assertFalse(intArray6.equals((Object)intArray2));\n assertFalse(intArray6.equals((Object)intArray4));\n assertFalse(intArray6.equals((Object)intArray5));\n assertFalse(intArray6.equals((Object)intArray1));\n assertFalse(intArray6.equals((Object)intArray3));\n \n intArray6[0] = (-3179);\n intArray6[1] = (-224);\n intArray6[2] = 2;\n intArray6[3] = 1067;\n intArray6[4] = 2002;\n intArray6[5] = 2;\n intArray0[5] = intArray6;\n int[] intArray7 = new int[1];\n assertFalse(intArray7.equals((Object)intArray3));\n assertFalse(intArray7.equals((Object)intArray6));\n assertFalse(intArray7.equals((Object)intArray5));\n assertFalse(intArray7.equals((Object)intArray2));\n assertFalse(intArray7.equals((Object)intArray1));\n assertFalse(intArray7.equals((Object)intArray4));\n \n intArray7[0] = 2002;\n intArray0[6] = intArray7;\n int[] intArray8 = new int[4];\n assertFalse(intArray8.equals((Object)intArray7));\n assertFalse(intArray8.equals((Object)intArray1));\n assertFalse(intArray8.equals((Object)intArray6));\n assertFalse(intArray8.equals((Object)intArray3));\n assertFalse(intArray8.equals((Object)intArray2));\n assertFalse(intArray8.equals((Object)intArray4));\n assertFalse(intArray8.equals((Object)intArray5));\n \n intArray8[0] = 12;\n intArray8[1] = (-3179);\n intArray8[2] = 3;\n intArray8[3] = (-681);\n intArray0[7] = intArray8;\n resultMatrixSignificance0.m_Wins = intArray0;\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n \n String string0 = resultMatrixCSV0.padString(\"\", 2);\n assertEquals(\" \", string0);\n assertNotNull(string0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(3, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n \n String string1 = resultMatrixCSV0.getRevision();\n assertEquals(\"8034\", string1);\n assertNotNull(string1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(string1.equals((Object)string0));\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(3, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n \n int int0 = resultMatrixCSV0.getSignificanceWidth();\n assertEquals(0, int0);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(3, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n \n int int1 = resultMatrixSignificance0.getDefaultMeanWidth();\n assertEquals(0, int1);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertTrue(int1 == int0);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n \n int int2 = resultMatrixCSV0.getMeanPrec();\n assertEquals(3, int2);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(0, ResultMatrix.SIGNIFICANCE_TIE);\n assertEquals(1, ResultMatrix.SIGNIFICANCE_WIN);\n assertEquals(2, ResultMatrix.SIGNIFICANCE_LOSS);\n assertFalse(int2 == int0);\n assertFalse(int2 == int1);\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixSignificance0.significanceWidthTipText());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixSignificance0.stdDevWidthTipText());\n assertTrue(resultMatrixSignificance0.getDefaultEnumerateColNames());\n assertEquals(3, resultMatrixSignificance0.getMeanPrec());\n assertTrue(resultMatrixSignificance0.getEnumerateColNames());\n assertFalse(resultMatrixSignificance0.getShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultStdDevWidth());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixSignificance0.colNameWidthTipText());\n assertEquals(\"Significance only\", resultMatrixSignificance0.getDisplayName());\n assertEquals(0, resultMatrixSignificance0.getStdDevWidth());\n assertEquals(\"Only outputs the significance indicators. Can be used for spotting patterns.\", resultMatrixSignificance0.globalInfo());\n assertEquals(1, resultMatrixSignificance0.getColCount());\n assertFalse(resultMatrixSignificance0.getEnumerateRowNames());\n assertFalse(resultMatrixSignificance0.getDefaultPrintColNames());\n assertFalse(resultMatrixSignificance0.getRemoveFilterName());\n assertEquals(0, resultMatrixSignificance0.getDefaultCountWidth());\n assertEquals(1, resultMatrixSignificance0.getRowCount());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixSignificance0.printRowNamesTipText());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixSignificance0.meanWidthTipText());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixSignificance0.showStdDevTipText());\n assertTrue(resultMatrixSignificance0.getDefaultPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getStdDevPrec());\n assertFalse(resultMatrixSignificance0.getDefaultShowAverage());\n assertEquals(0, resultMatrixSignificance0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixSignificance0.getDefaultColNameWidth());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateRowNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getRowNameWidth());\n assertEquals(1, resultMatrixSignificance0.getVisibleRowCount());\n assertFalse(resultMatrixSignificance0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixSignificance0.getDefaultEnumerateRowNames());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixSignificance0.countWidthTipText());\n assertEquals(0, resultMatrixSignificance0.getDefaultSignificanceWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixSignificance0.meanPrecTipText());\n assertTrue(resultMatrixSignificance0.getPrintRowNames());\n assertEquals(2, resultMatrixSignificance0.getDefaultStdDevPrec());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixSignificance0.showAverageTipText());\n assertEquals(2, resultMatrixSignificance0.getDefaultMeanPrec());\n assertEquals(1, resultMatrixSignificance0.getVisibleColCount());\n assertFalse(resultMatrixSignificance0.getPrintColNames());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixSignificance0.enumerateColNamesTipText());\n assertEquals(40, resultMatrixSignificance0.getDefaultRowNameWidth());\n assertEquals(0, resultMatrixSignificance0.getSignificanceWidth());\n assertEquals(0, resultMatrixSignificance0.getCountWidth());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixSignificance0.printColNamesTipText());\n assertEquals(0, resultMatrixSignificance0.getMeanWidth());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixSignificance0.removeFilterNameTipText());\n assertEquals(0, resultMatrixSignificance0.getColNameWidth());\n assertFalse(resultMatrixSignificance0.getShowStdDev());\n assertFalse(resultMatrixSignificance0.getDefaultShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixSignificance0.rowNameWidthTipText());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixSignificance0.stdDevPrecTipText());\n assertTrue(resultMatrixCSV0.getDefaultEnumerateColNames());\n assertEquals(0, resultMatrixCSV0.getDefaultCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultEnumerateRowNames());\n assertEquals(0, resultMatrixCSV0.getDefaultColNameWidth());\n assertEquals(\"The width of the standard deviation (0 = optimal).\", resultMatrixCSV0.stdDevWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultRemoveFilterName());\n assertFalse(resultMatrixCSV0.getShowAverage());\n assertEquals(\"Whether to display the standard deviation column.\", resultMatrixCSV0.showStdDevTipText());\n assertEquals(0, resultMatrixCSV0.getStdDevWidth());\n assertEquals(40, resultMatrixCSV0.getRowNameWidth());\n assertEquals(\"The number of decimals after the decimal point for the mean.\", resultMatrixCSV0.meanPrecTipText());\n assertEquals(\"Whether to show the row with averages.\", resultMatrixCSV0.showAverageTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultStdDevPrec());\n assertEquals(1, resultMatrixCSV0.getRowCount());\n assertEquals(\"Whether to enumerate the row names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateRowNamesTipText());\n assertEquals(1, resultMatrixCSV0.getColCount());\n assertEquals(25, resultMatrixCSV0.getDefaultRowNameWidth());\n assertTrue(resultMatrixCSV0.getDefaultPrintRowNames());\n assertEquals(\"Whether to output row names or just numbers representing them.\", resultMatrixCSV0.printRowNamesTipText());\n assertEquals(2, resultMatrixCSV0.getStdDevPrec());\n assertEquals(\"The width of the mean (0 = optimal).\", resultMatrixCSV0.meanWidthTipText());\n assertFalse(resultMatrixCSV0.getDefaultShowAverage());\n assertFalse(resultMatrixCSV0.getEnumerateRowNames());\n assertFalse(resultMatrixCSV0.getDefaultShowStdDev());\n assertFalse(resultMatrixCSV0.getRemoveFilterName());\n assertEquals(1, resultMatrixCSV0.getVisibleRowCount());\n assertEquals(\"Whether to output column names or just numbers representing them.\", resultMatrixCSV0.printColNamesTipText());\n assertEquals(0, resultMatrixCSV0.getColNameWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultMeanWidth());\n assertEquals(0, resultMatrixCSV0.getDefaultStdDevWidth());\n assertEquals(\"The number of decimals after the decimal point for the standard deviation.\", resultMatrixCSV0.stdDevPrecTipText());\n assertEquals(0, resultMatrixCSV0.getMeanWidth());\n assertEquals(1, resultMatrixCSV0.getVisibleColCount());\n assertEquals(\"The maximum width of the column names (0 = optimal).\", resultMatrixCSV0.colNameWidthTipText());\n assertEquals(\"Generates the matrix in CSV ('comma-separated values') format.\", resultMatrixCSV0.globalInfo());\n assertTrue(resultMatrixCSV0.getEnumerateColNames());\n assertEquals(\"CSV\", resultMatrixCSV0.getDisplayName());\n assertEquals(\"The width of the counts (0 = optimal).\", resultMatrixCSV0.countWidthTipText());\n assertEquals(0, resultMatrixCSV0.getDefaultSignificanceWidth());\n assertEquals(3, resultMatrixCSV0.getMeanPrec());\n assertFalse(resultMatrixCSV0.getShowStdDev());\n assertEquals(\"The maximum width for the row names (0 = optimal).\", resultMatrixCSV0.rowNameWidthTipText());\n assertEquals(\"The width of the significance indicator (0 = optimal).\", resultMatrixCSV0.significanceWidthTipText());\n assertEquals(2, resultMatrixCSV0.getDefaultMeanPrec());\n assertTrue(resultMatrixCSV0.getPrintRowNames());\n assertEquals(0, resultMatrixCSV0.getCountWidth());\n assertFalse(resultMatrixCSV0.getDefaultPrintColNames());\n assertEquals(0, resultMatrixCSV0.getSignificanceWidth());\n assertEquals(\"Whether to enumerate the column names (prefixing them with '(x)', with 'x' being the index).\", resultMatrixCSV0.enumerateColNamesTipText());\n assertEquals(\"Whether to remove the classname package prefixes from the filter names in datasets.\", resultMatrixCSV0.removeFilterNameTipText());\n assertFalse(resultMatrixCSV0.getPrintColNames());\n }", "title": "" }, { "docid": "6b5a15d74ce0e1588cb9c9d64171b779", "score": "0.5255921", "text": "@Override\n\tpublic double riskFactorFor() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "6e8254f0b07fd99089c6e84db82a378e", "score": "0.52553064", "text": "@Test(timeout = 4000)\n public void test043() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n resultMatrixSignificance0.toStringRanking();\n ResultMatrixHTML resultMatrixHTML0 = new ResultMatrixHTML(2, 2);\n resultMatrixSignificance0.toStringKey();\n int[][] intArray0 = new int[0][2];\n resultMatrixHTML0.setRanking(intArray0);\n resultMatrixSignificance0.getAverage(0);\n resultMatrixSignificance0.significanceWidthTipText();\n }", "title": "" }, { "docid": "0184df139c0151a6fe3f420ee9a05c4d", "score": "0.52548116", "text": "@Test\n public void testC412() {\n List<FixedAmount> fixed = Arrays.asList();\n List<NotionalFactor> factors = Arrays.asList();\n List<Notional> notional = Arrays.asList();\n List<ProductMultiplier> multipliers = Arrays.asList();\n List<Sensitivity> sensitivities = new ArrayList<>();\n\t\taddAnything(sensitivities, S_EQV_1, S_EQV_2);\n BigDecimal amount = Simm.calculateTotal(sensitivities, multipliers, factors, notional, fixed, FxRate.USD, HoldingPeriod.TEN_DAY);\n Assert.assertEquals(new BigDecimal(\"108409524\"), amount.setScale(0, RoundingMode.HALF_UP));\n }", "title": "" } ]
766d8053b37e8c5031bfc0db37e17bf2
This method creates a new TradingSessionEventStateConsumer callback Corba object.
[ { "docid": "4cdf046218a7b28c2dd0a52512f2a35b", "score": "0.8005173", "text": "public static TradingSessionEventStateConsumer create(EventChannelAdapter eventProcessor)\n {\n try\n {\n TradingSessionEventStateCallbackConsumer eventStateConsumer = new TradingSessionEventStateCallbackConsumerImpl(eventProcessor);\n POA_TradingSessionEventStateConsumer_tie evenStatePOAObj = new TradingSessionEventStateConsumerDelegate(eventStateConsumer);\n TradingSessionEventStateConsumer callbackConsumer =\n com.cboe.idl.consumers.TradingSessionEventStateConsumerHelper.narrow(ServicesHelper.connectToOrb(evenStatePOAObj));\n return callbackConsumer;\n }\n catch (Exception e)\n {\n GUILoggerHome.find().exception(e, \"TradingSessionEventStateCallbackConsumerFactory.create\");\n return null;\n }\n }", "title": "" } ]
[ { "docid": "72e50133a17a5718a205bd5419701c1d", "score": "0.8164499", "text": "public TradingSessionEventStateCallbackConsumerFactory()\n {\n super();\n }", "title": "" }, { "docid": "58a75331d564a95bab3330ff6f5fbab7", "score": "0.55773765", "text": "AsyncEventState createAsyncEventState();", "title": "" }, { "docid": "d3e8b654fa1359e459afc2afc5d80ca1", "score": "0.52614486", "text": "protected static void initializeCallbacks()\n {\n callbackConsumer = new TestCallback();\n initPOA();\n try {\n UserSessionAdminConsumerDelegate sessionListener = new UserSessionAdminConsumerDelegate(callbackConsumer);\n org.omg.CORBA.Object orbObject = getPOA().servant_to_reference(sessionListener);\n userSessionListener = CMIUserSessionAdminHelper.narrow(orbObject);\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "8871da6436f2ed0ffaa78d7b8c91ced4", "score": "0.5212136", "text": "Callback createCallback();", "title": "" }, { "docid": "e045294714df498eefc205a2bdc77bfc", "score": "0.506943", "text": "public void testSessionCallbackInvocation() throws Exception {\n final int callbackInvoked = 0;\n final int sessionCreatedInvoked = 1;\n final int sessionCreatedInvokedBeforeCallback = 2;\n final boolean[] assertions = {false, false, false};\n final CountDownLatch latch = new CountDownLatch(2);\n final ConnectFuture[] callbackFuture = new ConnectFuture[1];\n \n int port = AvailablePortFinder.getNextAvailable(4025);\n IoAcceptor acceptor = createAcceptor();\n acceptor.setHandler(new IoHandlerAdapter());\n InetSocketAddress address = new InetSocketAddress(port);\n acceptor.bind(address);\n\n IoConnector connector = createConnector();\n connector.setHandler(new IoHandlerAdapter() {\n @Override\n public void sessionCreated(IoSession session) throws Exception {\n assertions[sessionCreatedInvoked] = true;\n assertions[sessionCreatedInvokedBeforeCallback] = !assertions[callbackInvoked];\n latch.countDown();\n } \n });\n \n ConnectFuture future = connector.connect(new InetSocketAddress(\"127.0.0.1\", port), new IoSessionInitializer<ConnectFuture>() {\n public void initializeSession(IoSession session, ConnectFuture future) {\n assertions[callbackInvoked] = true;\n callbackFuture[0] = future;\n latch.countDown();\n }\n });\n \n assertTrue(\"Timed out waiting for callback and IoHandler.sessionCreated to be invoked\", latch.await(5, TimeUnit.SECONDS));\n assertTrue(\"Callback was not invoked\", assertions[callbackInvoked]);\n assertTrue(\"IoHandler.sessionCreated was not invoked\", assertions[sessionCreatedInvoked]);\n assertFalse(\"IoHandler.sessionCreated was invoked before session callback\", assertions[sessionCreatedInvokedBeforeCallback]);\n assertSame(\"Callback future should have been same future as returned by connect\", future, callbackFuture[0]);\n }", "title": "" }, { "docid": "0b873b36ca2b3ecc16172e50db85b744", "score": "0.4889458", "text": "void subscribePositionState(CharacteristicCallback callback);", "title": "" }, { "docid": "f8b068f86600c0d37151b24ee9b47220", "score": "0.47979912", "text": "public ThreadCB() {\n\t\t// super constructor\n\t\tsuper();\n\t}", "title": "" }, { "docid": "0038c9d211484d31990edfd3c60efeec", "score": "0.47782156", "text": "CompletableFuture<?> startAsync(Consumer<TorrentSessionState> listener, long period);", "title": "" }, { "docid": "6cf978adfa7da26378a962098306af42", "score": "0.46619916", "text": "public UacfClientEventAttributes createEvent() {\n return new UacfClientEventAttributes();\n }", "title": "" }, { "docid": "722846981d777fd39f1f934b55de115b", "score": "0.46288022", "text": "public interface StateCallback {\n void onStateChange(final ConnectState state);\n}", "title": "" }, { "docid": "dfd9f804dcc4ee60d4dc04e5dc241e3f", "score": "0.46147192", "text": "public ActivateConsumerRequest() {}", "title": "" }, { "docid": "e08bf9395ca822f93267f3b702f84287", "score": "0.46143028", "text": "protected DailyStartEndCB newMyCB() {\n return new DailyStartEndCB();\n }", "title": "" }, { "docid": "d78d86e291b46f922fc30c8bb07b93dc", "score": "0.45981342", "text": "public interface ConversationFragmentCallbackListener {\n\n void addClientConnectionCallback(QBRTCSessionStateCallback<ConferenceSession> clientConnectionCallbacks);\n void removeClientConnectionCallback(QBRTCSessionStateCallback clientConnectionCallbacks);\n\n void addCurrentCallStateCallback (CallActivity.CurrentCallStateCallback currentCallStateCallback);\n void removeCurrentCallStateCallback (CallActivity.CurrentCallStateCallback currentCallStateCallback);\n\n void addOnChangeDynamicToggle (CallActivity.OnChangeDynamicToggle onChangeDynamicCallback);\n void removeOnChangeDynamicToggle (CallActivity.OnChangeDynamicToggle onChangeDynamicCallback);\n\n void onSetAudioEnabled(boolean isAudioEnabled);\n\n void onSetVideoEnabled(boolean isNeedEnableCam);\n\n void onSwitchAudio();\n\n void onLeaveCurrentSession();\n\n void onSwitchCamera(CameraVideoCapturer.CameraSwitchHandler cameraSwitchHandler);\n\n void onStartJoinConference();\n}", "title": "" }, { "docid": "3e558706c884e76915cd98c60cb3df58", "score": "0.45525265", "text": "public void createSession(InputMethod.SessionCallback callback) {\n/* 119 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "0ac260e0035a6bb341e3a3c47c09a18b", "score": "0.452568", "text": "public static ConsumerStateBuilder builder() {\n return new ConsumerStateBuilder();\n }", "title": "" }, { "docid": "f1e2e20f115fd45b36fca526a9f39fbd", "score": "0.45133403", "text": "EventLibrary createEventLibrary();", "title": "" }, { "docid": "5dceed8c84db59329bd4637b3aa41a94", "score": "0.44956535", "text": "void setCallback(FHActCallback pCallback);", "title": "" }, { "docid": "db88b5eb0c0b8cb6f948341021a5fbfe", "score": "0.4484923", "text": "@OnOpen\n public void onOpen(Session session, EndpointConfig ec) {\n \t// Store the WebSocket session for later use.\n currentSession = session;\n clientWebSocket = new ClientWebSocket(uriString, this);\n clientWebSocket.pause();\n streamsSessionOpen = true;\n \n }", "title": "" }, { "docid": "59c9337e89301a7db86f9cef38881b62", "score": "0.44605714", "text": "void createTransaction(CubieTransactionRequest request, final CubieServiceCallback<Void> callback);", "title": "" }, { "docid": "a5f1fc95a76b472cb7b3a92efb998777", "score": "0.44551328", "text": "public final C160631 invoke() {\n return new PaymentStateListener(this) {\n /* class com.zhihu.android.app.p1311ui.p1329f.NextCashierPayActionPresenter.C16062e.C160631 */\n\n /* renamed from: a */\n final /* synthetic */ C16062e f55951a;\n\n /* JADX WARN: Incorrect args count in method signature: ()V */\n {\n this.f55951a = r1;\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67859a(int i, boolean z) {\n PaymentStateListener.C23398a.m113362a(this, i, z);\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: b */\n public void mo67863b() {\n PaymentStateListener.C23398a.m113366c(this);\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: c */\n public void mo67865c() {\n PaymentStateListener.C23398a.m113365b(this);\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67858a() {\n this.f55951a.f55950a.f55939i = ProgressDialog.show(this.f55951a.f55950a.f51869c, null, \"\", false, false);\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67861a(SkuOrder skuOrder) {\n C32569u.m150519b(skuOrder, C6969H.m41409d(\"G7A88C035AD34AE3B\"));\n this.f55951a.f55950a.f55940j = skuOrder;\n ProgressDialog progressDialog = this.f55951a.f55950a.f55939i;\n if (progressDialog != null) {\n progressDialog.dismiss();\n }\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67862a(Integer num, String str) {\n ProgressDialog progressDialog = this.f55951a.f55950a.f55939i;\n if (progressDialog != null) {\n progressDialog.dismiss();\n }\n String currentSkuId = NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCurrentSkuId();\n if (currentSkuId == null) {\n C32569u.m150511a();\n }\n String currentPaymentChanel = NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCurrentPaymentChanel();\n SkuOrder skuOrder = this.f55951a.f55950a.f55940j;\n String str2 = skuOrder != null ? skuOrder.dealId : null;\n PayResultZaUtils.m84779b(currentSkuId, currentPaymentChanel, str2, (double) NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCostPrice(), null, C6969H.m41409d(\"G6A8CD817B624EB2DE30F9C12B2\") + str, SkuOrderZA.f81191a.mo103178a(), SkuOrderZA.f81191a.mo103179b(), 16, null);\n ToastUtils.m84449a(this.f55951a.f55950a.f51869c, str);\n this.f55951a.f55950a.mo79899a(PaymentResult.ERR_FAIL);\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: b */\n public void mo67864b(SkuPayResult skuPayResult) {\n C32569u.m150519b(skuPayResult, C6969H.m41409d(\"G7B86C60FB324\"));\n this.f55951a.f55950a.f55941k = skuPayResult;\n String currentSkuId = NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCurrentSkuId();\n C32569u.m150513a((Object) currentSkuId, \"paymentModel.currentSkuId\");\n String currentPaymentChanel = NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCurrentPaymentChanel();\n SkuOrder skuOrder = this.f55951a.f55950a.f55940j;\n PayResultZaUtils.m84772a(currentSkuId, currentPaymentChanel, skuOrder != null ? skuOrder.dealId : null, (double) NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCostPrice(), null, null, ZAUrlUtils.m91720a(\"cashier\", new PageInfoType[0]), SkuOrderZA.f81191a.mo103179b(), 48, null);\n this.f55951a.f55950a.m78235h();\n this.f55951a.f55950a.mo79899a(C6969H.m41409d(\"G5AB6F6399A0398\"));\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67860a(SkuPayResult skuPayResult) {\n C32569u.m150519b(skuPayResult, C6969H.m41409d(\"G7B86C60FB324\"));\n this.f55951a.f55950a.f55941k = skuPayResult;\n String currentSkuId = NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCurrentSkuId();\n if (currentSkuId == null) {\n C32569u.m150511a();\n }\n String currentPaymentChanel = NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCurrentPaymentChanel();\n SkuOrder skuOrder = this.f55951a.f55950a.f55940j;\n String str = skuOrder != null ? skuOrder.dealId : null;\n PayResultZaUtils.m84779b(currentSkuId, currentPaymentChanel, str, (double) NextCashierPayActionPresenter.m78232f(this.f55951a.f55950a).getCostPrice(), null, C6969H.m41409d(\"G6C91C715AD13A42DE354\") + skuPayResult.errorCode + C6969H.m41409d(\"G2986C708B022863AE154D0\") + skuPayResult.errorMsg, SkuOrderZA.f81191a.mo103178a(), SkuOrderZA.f81191a.mo103179b(), 16, null);\n Context context = this.f55951a.f55950a.f51869c;\n String str2 = skuPayResult.message;\n if (str2 == null) {\n str2 = this.f55951a.f55950a.f51869c.getString(R.string.bui);\n }\n C16893ag.m83429a(context, str2);\n this.f55951a.f55950a.mo79899a(C6969H.m41409d(\"G4CB1E72599118205\"));\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: c */\n public void mo67866c(SkuPayResult skuPayResult) {\n C32569u.m150519b(skuPayResult, C6969H.m41409d(\"G7B86C60FB324\"));\n this.f55951a.f55950a.f55941k = skuPayResult;\n if (skuPayResult.isPaymentCancel()) {\n this.f55951a.f55950a.mo79899a(C6969H.m41409d(\"G4CB1E7259C11850AC3\"));\n }\n }\n };\n }", "title": "" }, { "docid": "a533ebf10419a5bf322163d5cc3d6738", "score": "0.44522828", "text": "@Override\r\n\tpublic void onReceiveNewSession(final QBRTCSession session) {\n\t\trunOnUiThread(new Runnable() {\r\n @Override\r\n public void run() {\r\n\r\n String curSession = (getCurrentSession() == null) ? null : getCurrentSession().getSessionID();\r\n\r\n if (getCurrentSession() == null) {\r\n initCurrentSession(session);\r\n addIncomeCallFragment(session);\r\n\r\n isInCommingCall = true;\r\n initIncommingCallTask();\r\n } else {\r\n Log.d(TAG, \"Stop new session. Device now is busy\");\r\n session.rejectCall(null);\r\n }\r\n\r\n }\r\n });\r\n\t}", "title": "" }, { "docid": "443946eba8a23a2f9cd79c6042511fcd", "score": "0.44103244", "text": "@JsOverlay\n\tpublic static NativeCallback create(String code) {\n\t\treturn create(DEFAULT_CONTEXT_ARGUMENT, code);\n\t}", "title": "" }, { "docid": "d30a509ec63c8480212340ce45f077f0", "score": "0.44093972", "text": "public static PlayerTradeFactory createFactory(EventBusBuilder eventBusBuilder) {\n return (first, second) -> create(eventBusBuilder.build(), first, second);\n }", "title": "" }, { "docid": "a58f215aeae4978b2ba1db2733f170d0", "score": "0.44022882", "text": "public ConcurrentResultCallback(NioEventloop eventloop, ResultCallback<T> callback) {\n\t\tthis.eventloop = eventloop;\n\t\tthis.callback = callback;\n\t}", "title": "" }, { "docid": "bc57c7f9ad21451934378742f2dd1c2f", "score": "0.4389359", "text": "Callback mo651a(Callback callback) {\n return new C0776a(this, callback);\n }", "title": "" }, { "docid": "70882b28ec4e7b8115acb5c2c5fddd4f", "score": "0.4384609", "text": "public HNfeRecepcaoEventos2CallbackHandler(Object clientData) {\n this.clientData = clientData;\n }", "title": "" }, { "docid": "5759157456725da7e52b70147aade9d0", "score": "0.4383935", "text": "@Override public void registerCallback(org.spontaneous.trackservice.IRemoteServiceCallback cb) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeStrongBinder((((cb!=null))?(cb.asBinder()):(null)));\nmRemote.transact(Stub.TRANSACTION_registerCallback, _data, _reply, 0);\n_reply.readException();\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\n}", "title": "" }, { "docid": "0194513455543ee669bcd6e6680b489f", "score": "0.43750197", "text": "public ConsumerState build() {\n return new ConsumerState(state);\n }", "title": "" }, { "docid": "454b983ebc9a66696b6b3c544fa4494e", "score": "0.4362809", "text": "public static kafkamodule.proxies.ConsumerConfig initialize(com.mendix.systemwideinterfaces.core.IContext context, com.mendix.systemwideinterfaces.core.IMendixObject mendixObject)\r\n\t{\r\n\t\treturn new kafkamodule.proxies.ConsumerConfig(context, mendixObject);\r\n\t}", "title": "" }, { "docid": "08ef7a22f8306e54293c8995ed7e2e1b", "score": "0.43595645", "text": "public Consumer(Consumer source) {\n if (source.ConnectedSince != null) {\n this.ConnectedSince = new String(source.ConnectedSince);\n }\n if (source.ConsumerAddr != null) {\n this.ConsumerAddr = new String(source.ConsumerAddr);\n }\n if (source.ConsumerName != null) {\n this.ConsumerName = new String(source.ConsumerName);\n }\n if (source.ClientVersion != null) {\n this.ClientVersion = new String(source.ClientVersion);\n }\n if (source.Partition != null) {\n this.Partition = new Long(source.Partition);\n }\n }", "title": "" }, { "docid": "42b389aa228588fafb9afab8287d47f5", "score": "0.43565083", "text": "public EventCreation() {\r\n }", "title": "" }, { "docid": "f2ecadc0faf2f0e6cfc6fadb93c3cf10", "score": "0.43396607", "text": "public HNfeRecepcaoEventos2CallbackHandler() {\n this.clientData = null;\n }", "title": "" }, { "docid": "dbb21d6ef1f711ba3cf67b8105181dd6", "score": "0.43346998", "text": "CTC createCTC();", "title": "" }, { "docid": "ec73296eb00f72b33e5f3fa4cc0ea713", "score": "0.43301982", "text": "SubflowState createSubflowState();", "title": "" }, { "docid": "df313bb90cdc06a0320dd0d4a17450ae", "score": "0.43279287", "text": "MessageReceivedEvent createMessageReceivedEvent();", "title": "" }, { "docid": "7b1f22c05da6bd831fd3e5720f5ef940", "score": "0.4308159", "text": "public interface SnowboyCallBack {\n enum Event{\n ACTIVE,STARTRECORDING,STOPRECORDING\n }\n void onEvent(Event event);\n}", "title": "" }, { "docid": "22a207ad649e3e3044c02262888ec4b7", "score": "0.42990026", "text": "public SFSBBeanState createSFSBBeanState(Object sessionId,\n\t long lastAccess, boolean isNew, byte[] state);", "title": "" }, { "docid": "2f9e32d29e0c33235c9e49637e98eb15", "score": "0.42896277", "text": "@Override\n\tprotected void inquiryDone() {\n\t\tCallbackObject callBackObject = new CallbackObject(mState, getBluetoothAddress());\n\t\tmyUIThread.callBackMethod(MSG_IDENTIFIER_STATE_CHANGE, callBackObject);\n\t\tisReadyForStreaming();\n\t}", "title": "" }, { "docid": "537c05d55c175be5b1aabd51bac5845b", "score": "0.42892674", "text": "public final C238591 invoke() {\n return new PaymentStateListener(this) {\n /* class com.zhihu.android.premium.viewmodel.NextVipPayActionVM.C23858c.C238591 */\n\n /* renamed from: a */\n final /* synthetic */ C23858c f83465a;\n\n /* JADX WARN: Incorrect args count in method signature: ()V */\n {\n this.f83465a = r1;\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67858a() {\n this.f83465a.f83464a.f83458h = ProgressDialog.show(this.f83465a.f83464a.f83455e, null, \"\", false, false);\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67861a(SkuOrder skuOrder) {\n C32569u.m150519b(skuOrder, C6969H.m41409d(\"G7A88C035AD34AE3B\"));\n this.f83465a.f83464a.f83453c = skuOrder;\n ProgressDialog progressDialog = this.f83465a.f83464a.f83458h;\n if (progressDialog != null) {\n progressDialog.dismiss();\n }\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67862a(Integer num, String str) {\n ProgressDialog progressDialog = this.f83465a.f83464a.f83458h;\n if (progressDialog != null) {\n progressDialog.dismiss();\n }\n ToastUtils.m84449a(this.f83465a.f83464a.f83455e, str);\n String skuId = NextVipPayActionVM.m116501e(this.f83465a.f83464a).getSkuId();\n if (skuId == null) {\n C32569u.m150511a();\n }\n String currentPayMethod = NextVipPayActionVM.m116501e(this.f83465a.f83464a).getCurrentPayMethod();\n SkuOrder skuOrder = this.f83465a.f83464a.f83453c;\n String str2 = skuOrder != null ? skuOrder.dealId : null;\n PayResultZaUtils.m84779b(skuId, currentPayMethod, str2, (double) NextVipPayActionVM.m116501e(this.f83465a.f83464a).getCostPrice(), null, C6969H.m41409d(\"G6A8CD817B624EB2DE30F9C12B2\") + str, SkuOrderZA.f81191a.mo103178a(), SkuOrderZA.f81191a.mo103179b(), 16, null);\n this.f83465a.f83464a.mo105233a(PaymentResult.ERR_FAIL);\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67859a(int i, boolean z) {\n if (i == 2 && !z) {\n this.f83465a.f83464a.m116503f();\n }\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: b */\n public void mo67863b() {\n this.f83465a.f83464a.m116503f();\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: c */\n public void mo67865c() {\n this.f83465a.f83464a.m116503f();\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: b */\n public void mo67864b(SkuPayResult skuPayResult) {\n C32569u.m150519b(skuPayResult, C6969H.m41409d(\"G7B86C60FB324\"));\n PayCoreLogger.f81188a.mo103163a().mo9825b(\"新版会员购买页支付成功\");\n String skuId = NextVipPayActionVM.m116501e(this.f83465a.f83464a).getSkuId();\n if (skuId == null) {\n C32569u.m150511a();\n }\n String currentPayMethod = NextVipPayActionVM.m116501e(this.f83465a.f83464a).getCurrentPayMethod();\n SkuOrder skuOrder = this.f83465a.f83464a.f83453c;\n PayResultZaUtils.m84772a(skuId, currentPayMethod, skuOrder != null ? skuOrder.dealId : null, (double) NextVipPayActionVM.m116501e(this.f83465a.f83464a).getCostPrice(), null, null, ZAUrlUtils.m91720a(C6969H.m41409d(\"G6A82C612B635B9\"), new PageInfoType[0]), SkuOrderZA.f81191a.mo103179b(), 48, null);\n this.f83465a.f83464a.f83459i = skuPayResult;\n this.f83465a.f83464a.m116502e();\n this.f83465a.f83464a.mo105233a(C6969H.m41409d(\"G5AB6F6399A0398\"));\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: a */\n public void mo67860a(SkuPayResult skuPayResult) {\n C32569u.m150519b(skuPayResult, C6969H.m41409d(\"G7B86C60FB324\"));\n this.f83465a.f83464a.f83459i = skuPayResult;\n String skuId = NextVipPayActionVM.m116501e(this.f83465a.f83464a).getSkuId();\n if (skuId == null) {\n C32569u.m150511a();\n }\n String currentPayMethod = NextVipPayActionVM.m116501e(this.f83465a.f83464a).getCurrentPayMethod();\n SkuOrder skuOrder = this.f83465a.f83464a.f83453c;\n String str = null;\n String str2 = skuOrder != null ? skuOrder.dealId : null;\n PayResultZaUtils.m84779b(skuId, currentPayMethod, str2, (double) NextVipPayActionVM.m116501e(this.f83465a.f83464a).getCostPrice(), null, C6969H.m41409d(\"G6C91C715AD13A42DE354\") + skuPayResult.errorCode + C6969H.m41409d(\"G2986C708B022863AE154D0\") + skuPayResult.errorMsg, SkuOrderZA.f81191a.mo103178a(), SkuOrderZA.f81191a.mo103179b(), 16, null);\n Context context = this.f83465a.f83464a.f83455e;\n String str3 = skuPayResult.message;\n if (str3 != null) {\n str = str3;\n } else {\n Context context2 = this.f83465a.f83464a.f83455e;\n if (context2 != null) {\n str = context2.getString(R.string.bui);\n }\n }\n C16893ag.m83429a(context, str);\n this.f83465a.f83464a.mo105233a(C6969H.m41409d(\"G4CB1E72599118205\"));\n }\n\n @Override // com.zhihu.android.paycore.order.PaymentStateListener\n /* renamed from: c */\n public void mo67866c(SkuPayResult skuPayResult) {\n C32569u.m150519b(skuPayResult, C6969H.m41409d(\"G7B86C60FB324\"));\n this.f83465a.f83464a.f83459i = skuPayResult;\n if (skuPayResult.isPaymentCancel()) {\n this.f83465a.f83464a.mo105233a(C6969H.m41409d(\"G4CB1E7259C11850AC3\"));\n }\n }\n };\n }", "title": "" }, { "docid": "64d332a1a4c0add79afc343e513ac74d", "score": "0.4286041", "text": "private KafkaConsumer<String, byte[]> setupConsumer() {\n KafkaConsumer<String, byte[]> consumer = new KafkaConsumer<>(\n ImmutableMap.of(\n ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, kafkaContainer.getBootstrapServers(),\n ConsumerConfig.GROUP_ID_CONFIG, \"test-group\",\n ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, \"earliest\"\n ),\n new StringDeserializer(),\n new ByteArrayDeserializer()\n );\n consumer.subscribe(singletonList(\"proto-spans\"));\n\n return consumer;\n }", "title": "" }, { "docid": "2b1fcdb20ecf1752e0ce8245cbb08eab", "score": "0.42792186", "text": "public EventHandler(EventFactory<T> factory) {\n\t\tbuffer = new ArrayList<T>();\n\t\tevents = new ArrayList<T>();\n\t\tpool = new EventPool<T>(factory, POOL_SIZE);\n\t}", "title": "" }, { "docid": "c03631a4813176f8f2b0d7026c6f67d4", "score": "0.42724144", "text": "InternalEcuReceiver createInternalEcuReceiver();", "title": "" }, { "docid": "8cfeae70ab5e52cb859c3b321fab3033", "score": "0.42549416", "text": "public DebtCf() {\n\t}", "title": "" }, { "docid": "a8ef34471d969b42d6cd292e17e1fdfb", "score": "0.42521715", "text": "@Override\n protected MessageConsumer createConsumer() throws JMSException {\n if (consumerConnection == null) return null;\n consumerSession = consumerConnection.createTopicSession(false, Session.CLIENT_ACKNOWLEDGE);\n MessageConsumer consumer = null;\n if (consumerName != null && consumerName.length() > 0) {\n if (selector != null && selector.length() > 0) {\n consumer = consumerSession.createDurableSubscriber(consumerTopic, consumerName, selector,\n false);\n } else {\n consumer = consumerSession.createDurableSubscriber(consumerTopic, consumerName);\n }\n } else {\n if (selector != null && selector.length() > 0) {\n consumer = consumerSession.createSubscriber(consumerTopic, selector, false);\n } else {\n consumer = consumerSession.createSubscriber(consumerTopic);\n }\n }\n\n consumer.setMessageListener(this);\n\n return consumer;\n }", "title": "" }, { "docid": "2dcf6bb91a6c8ce66e1addc0fc510057", "score": "0.42470375", "text": "public interface OmmConsumerEvent\r\n{\r\n\t/**\r\n\t * Returns a unique item identifier (a.k.a., item handle) associated by EMA with an open item stream.<br>\r\n\t * Item identifier is returned from all OmmConsumer registerClient() methods.\r\n\t * \r\n\t * @return item identifier or handle\r\n\t */\r\n\tpublic long handle();\r\n\r\n\t/**\r\n\t * Returns an identifier (a.k.a., closure) associated with an open stream by consumer application.<br>\r\n\t * Application associates the closure with an open item stream on<br>\r\n\t * OmmConsumer registerClient(... , ... , Object closure, ...) methods\r\n\t * \r\n\t * @return closure value\r\n\t */\r\n\tpublic Object closure();\r\n\r\n\t/**\r\n\t * Returns current item's parent item identifier (a.k.a. parent item handle).<br>\r\n\t * Application specifies parent item identifier on<br>\r\n\t * OmmConsumer registerClient(... , ... , ... , long parentHandle) methods.\r\n\t * \r\n\t * @return parent item identifier or parent handle\r\n\t*/\r\n\tpublic long parentHandle();\r\n}", "title": "" }, { "docid": "b30e26607c0a19175e20c6c288344ce4", "score": "0.42459172", "text": "public void Initialize(final BA ba, String EventName, String ServerURI, String ClientId) throws MqttException {\n\t\tthis.ba = ba;\n\t\tthis.eventName = EventName.toLowerCase(BA.cul);\n\t\tclient = new MqttAsyncClient(ServerURI, ClientId, new MemoryPersistence());\n\t\tclient.setCallback(new MqttCallback() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void messageArrived(String topic, MqttMessage message)\n\t\t\t\t\tthrows Exception {\n\t\t\t\tba.raiseEventFromDifferentThread(client, null, 0, eventName + \"_messagearrived\", false, \n\t\t\t\t\t\tnew Object[] {topic, message.getPayload()});\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void deliveryComplete(IMqttDeliveryToken token) {\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void connectionLost(Throwable cause) {\n\t\t\t\tsetThrowable(cause);\n\t\t\t\tba.raiseEventFromDifferentThread(client, null, 0, eventName + \"_disconnected\", false, null);\n\t\t\t\t\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "51f522325a64314a6e1d7287b5bbb3fc", "score": "0.42351067", "text": "private CHAlpnConsumer() {\n // blank\n }", "title": "" }, { "docid": "f07b252ae789d1c0e8c96c521a536684", "score": "0.42342618", "text": "void create(Event event);", "title": "" }, { "docid": "9b09d28900da20cadcd837e4cc2b0abb", "score": "0.4230786", "text": "public void sessionCreated(HttpSessionEvent event) {\n }", "title": "" }, { "docid": "71e9fadb148eeeb6629946170a58c642", "score": "0.42271814", "text": "public void createEvent(Event event);", "title": "" }, { "docid": "2a64abf8b48e38c6c11ab593a63ff871", "score": "0.42226407", "text": "private Consumer<String, String> createConsumer() {\n final Consumer<String, String> consumer =\n new KafkaConsumer<>(KafkaPropertyFactory.getConsumerProperties());\n // Subscribe to the topic.\n consumer.subscribe(Collections.singletonList(Config.URL_FRONTIER_TOPIC));\n return consumer;\n }", "title": "" }, { "docid": "8e975d95dfd9c3474e50eb31c550b110", "score": "0.4220203", "text": "public static void main(String[] args) {\n String API_KEY = System.getenv(\"API_KEY\"); \n\n //API_BASEPATH is the base URL used to access PureEngage Cloud APIs.\n String API_BASEPATH = System.getenv(\"API_BASEPATH\");\n\n //SERVICE_NAME is the name of the Callback execution service that you need to provision in Designer.\n String SERVICE_NAME = System.getenv(\"SERVICE_NAME\");\n \n //PHONE_NUMBER is the phone number where you want to receive the callback\n String PHONE_NUMBER = System.getenv(\"PHONE_NUMBER\"); \n \n //endregion\n \n CreateCallbackParms callbackParams = new CreateCallbackParms();\n callbackParams.setServiceName(SERVICE_NAME);\n callbackParams.setPhoneNumber(PHONE_NUMBER);\n\n\n //region Initialize CallbacksApi instance\n //We need to set the url for this API, then we need to customize JSON serializer\n CallbacksApi callbacksApi = new CallbacksApi();\n callbacksApi.getApiClient().setBasePath(API_BASEPATH);\n JSON.createGson().registerTypeAdapter(Date.class, new JsonSerializer<Date>() {\n public JsonElement serialize(Date date, Type typeOfSrc, JsonSerializationContext context) {\n TimeZone tz = TimeZone.getTimeZone(\"UTC\");\n DateFormat df = new SimpleDateFormat(\"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'\"); // Quoted \"Z\" to indicate UTC, no\n // timezone offset\n df.setTimeZone(tz);\n String nowAsISO = df.format(date);\n\n return nowAsISO == null ? null : new JsonPrimitive(nowAsISO);\n }\n }).create();\n //endregion\n\n try {\n callbacksApi.bookCallbackExternalAsync( API_KEY, callbackParams ,\n new ApiCallback<CreateCallbackResponse200>() {\n //region Response Handling\n //Get the Callback Id that was created \n @Override\n public void onSuccess(CreateCallbackResponse200 result, int statusCode,\n Map<String, List<String>> responseHeaders) {\n logger.info(\"Callback created: \"+ result.getData().getId());\n return;\n }\n //endregion\n\n //region Error Handling\n //Get the code associated to the error \n @Override\n public void onFailure(ApiException e, int statusCode,\n Map<String, List<String>> responseHeaders) {\n logger.error(\"Callback error: \"+ e.getMessage()+ \" status code \"+ statusCode);\n return;\n }\n //endregion\n\n @Override\n public void onUploadProgress(long bytesWritten, long contentLength, boolean done) {\n // not needed\n }\n\n @Override\n public void onDownloadProgress(long bytesRead, long contentLength, boolean done) {\n // not needed\n }\n\n });\n\n } catch (ApiException e) {\n System.err.println(\"Exception when calling CallbacksApi#bookCallbackExternal\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "021471147a02aae0d07c72e91d592de2", "score": "0.42176864", "text": "protected RoyVendorCheckCB newMyCB() {\n return new RoyVendorCheckCB();\n }", "title": "" }, { "docid": "3cdf094318e3c4a148dc240e75dfa67c", "score": "0.4216295", "text": "public AccountServiceCallbackHandler(Object clientData){\n this.clientData = clientData;\n }", "title": "" }, { "docid": "8a84b5b179dcef1571f7ca3e7122424d", "score": "0.4208464", "text": "public e(FlipChatApiCallback flipChatApiCallback) {\n super(1);\n this.$callback = flipChatApiCallback;\n }", "title": "" }, { "docid": "9094c47f6ab871eeb18a855a19097d04", "score": "0.42044994", "text": "@Override\n public AirbyteMessageConsumer getConsumer(final JsonNode config,\n final ConfiguredAirbyteCatalog configuredCatalog,\n final Consumer<AirbyteMessage> outputRecordCollector) {\n final KinesisStream kinesisStream = new KinesisStream(new KinesisConfig(config));\n return new KinesisMessageConsumer(configuredCatalog, kinesisStream, outputRecordCollector);\n }", "title": "" }, { "docid": "5ce6b46ae8ef0bfaaa06999f32a77f19", "score": "0.41862026", "text": "private ConsumerState(Map<ConsumerPartition, Long> state) {\n this.state = Tools.immutableCopy(state);\n }", "title": "" }, { "docid": "9863f3389e0f8e775d8cc2267bebb1dc", "score": "0.41814297", "text": "public n(FlipChatApiCallback flipChatApiCallback) {\n super(1);\n this.$callback = flipChatApiCallback;\n }", "title": "" }, { "docid": "b0f4eead12c7e1c17d5ffd3f1a97fee4", "score": "0.41773254", "text": "public void addCallback(SoCallbackListCB f, Object userData) {\n\t\t\n\t\t\t if (f == null)\n\t\t\t\t return;\n\t\t\t\t \n\t\t\t\t SoCallbackStruct cb = new SoCallbackStruct();\n\t\t\t\t cb.func = f;\n\t\t\t\t cb.userData = userData;\n\t\t\t\t \n\t\t\t\t list.append(cb);\n\t\t\t\t \t}", "title": "" }, { "docid": "c5063da018b03b2737e9281fb61dbf99", "score": "0.4174129", "text": "public abstract void createEvent();", "title": "" }, { "docid": "92be323e59d252884bba739469080417", "score": "0.41731182", "text": "public void callback(CallbackObject cb){\n offset = cb.getStreamOffset();\n String name = null;\n Object type = cb.getCallbackType();\n service.setBytesProcessed(offset);\n //if (LOGGER.isLoggable(Level.FINEST))\n //LOGGER.info(offset + \" offset for \" + describeType(type));\n if (!type.equals(currentType)){\n currentType = type;\n LOGGER.info(\"NDMP \" + opVerb +\" \" + describeType(currentType));\n }\n try{\n cb.checkStatus();\n if (CallbackObject.SESSION_COMPLETED.equals(currentType)){\n LOGGER.info(\"NDMP normal exit \" + opVerb + \" \" + countObjects + \" objects, \" + offset + \" bytes\");\n }\n else{\n if (CallbackObject.OBJECT_CALLBACK.equals(cb.getCallbackType())){\n SystemMetadata sm = cb.getObjectCallback();\n if (GENERATE_FILE_HISTORY)\n noteFH(sm);\n countObjects++;\n name = sm.getOID().toExternalHexString();\n //System.out.println(\"DataServer: \" + countObjects + \" \" + name + \" \" + offset);\n if (logEvery != 0 && countObjects % logEvery == 0){\n ndmp_log_message_post(\"NDMP \" + opVerb + \" \" + name + \" \" + \n new Date(sm.getCTime()), NDMP_LOG_NORMAL);\n LOGGER.info(\"NDMP \" + opVerb + \" \" + countObjects + \" objects, \" + offset + \" bytes\");\n }\n service.setObjectsProcessed(countObjects);\n }\n }\n }\n catch (InterruptedException e){\n if (state != NDMP_DATA_STATE_HALTED){\n fail(e);\n }\n else {\n throw new HaltedGracefully();\n }\n }\n catch (Exception e){\n fail(e);\n }\n }", "title": "" }, { "docid": "242aca0536f30af206c0bd26bdf8769c", "score": "0.41724315", "text": "@SystemApi\npublic interface LnbCallback {\n /**\n * Invoked when there is a LNB event.\n */\n void onEvent(@EventType int lnbEventType);\n\n /**\n * Invoked when there is a new DiSEqC message.\n *\n * @param diseqcMessage a byte array of data for DiSEqC (Digital Satellite\n * Equipment Control) message which is specified by EUTELSAT Bus Functional\n * Specification Version 4.2.\n */\n void onDiseqcMessage(@NonNull byte[] diseqcMessage);\n}", "title": "" }, { "docid": "931e638304e355a9f523efb39e18ffdf", "score": "0.4165939", "text": "private HardwareWalletEvents() {\n }", "title": "" }, { "docid": "3ea40bd1cc03eb3611f04044a7e401b0", "score": "0.41641685", "text": "@Override\n public XSiteStateConsumer getStateConsumer() {\n return consumer;\n }", "title": "" }, { "docid": "95499702727e624a0e4fab2d200eecd0", "score": "0.4163225", "text": "AnalyticsClient newClient() {\n return new AnalyticsClient(\n messageQueue,\n null,\n segmentService,\n 50,\n TimeUnit.HOURS.toMillis(1),\n 0,\n MAX_BATCH_SIZE,\n log,\n threadFactory,\n networkExecutor,\n Collections.singletonList(callback),\n isShutDown,\n writeKey);\n }", "title": "" }, { "docid": "36caf02406372430fd0be58e662e1ffb", "score": "0.41617447", "text": "private BeaconConnection.ConnectionCallback createConnectionCallback() {\n\t\treturn new BeaconConnection.ConnectionCallback() {\n\n\t\t\t// when disconected draw text\n\t\t\t@Override\n\t\t\tpublic void onDisconnected() {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\trunOnUiThread(new Runnable() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tstatusTextView.setText(\"Disconected from beacon.\");\n\t\t\t\t\t}\n\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// when authentication error draw text\n\t\t\t@Override\n\t\t\tpublic void onAuthenticationError() {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\trunOnUiThread(new Runnable() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tstatusTextView.setText(\"Authentication error.\");\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t}\n\n\t\t\t// when connected to beacon display its characteristics\n\t\t\t@Override\n\t\t\tpublic void onAuthenticated(\n\t\t\t\t\tfinal BeaconCharacteristics beaconDetales) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\trunOnUiThread(new Runnable() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\tnameTextView.setText(\"Name: \" + beacon.getName());\n\t\t\t\t\t\tuuidTextView.setText(\"UUID: \"\n\t\t\t\t\t\t\t\t+ beacon.getProximityUUID());\n\t\t\t\t\t\tmacAdressTextView.setText(\"Mac adress: \"\n\t\t\t\t\t\t\t\t+ beacon.getMacAddress());\n\t\t\t\t\t\trssiTextView.setText(\"RSSI: \" + beacon.getRssi());\n\t\t\t\t\t\tstatusTextView.setText(\"Connected to beacon.\");\n\t\t\t\t\t\tintervalTextView.setText(\"Advertising interval: \"\n\t\t\t\t\t\t\t\t+ beaconDetales.getAdvertisingIntervalMillis()\n\t\t\t\t\t\t\t\t+ \"ms\");\n\t\t\t\t\t\tbatteryTextView.setText(\"Battery: \"\n\t\t\t\t\t\t\t\t+ beaconDetales.getBatteryPercent() + \"%\");\n\t\t\t\t\t\tpowerTextView.setText(\"Broadcast power: \"\n\t\t\t\t\t\t\t\t+ beaconDetales.getBroadcastingPower() + \"dBm\");\n\t\t\t\t\t\thardwareVersionTextView.setText(\"Hardware version: \"\n\t\t\t\t\t\t\t\t+ beaconDetales.getHardwareVersion());\n\t\t\t\t\t\tsoftwareVersionTextView.setText(\"Software version: \"\n\t\t\t\t\t\t\t\t+ beaconDetales.getSoftwareVersion());\n\t\t\t\t\t\tconnectedView1.setVisibility(View.VISIBLE);\n\t\t\t\t\t\tconnectedView2.setVisibility(View.VISIBLE);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "a87ac66528298298ac17f8aca5f60c5d", "score": "0.41598788", "text": "@Override\r\n\tpublic void onCreation(CtxChangeEvent event) {\n\t}", "title": "" }, { "docid": "5c430662ac9b2de17fb2594b74d0ceab", "score": "0.41582623", "text": "ExternalEcuReceiver createExternalEcuReceiver();", "title": "" }, { "docid": "2516eb1efa6ea8f0e4cfc1124699edef", "score": "0.41492322", "text": "public void setSvrCallback(CallbackImpl cb)\n{\n svrCallback = cb;\n}", "title": "" }, { "docid": "d84fc77d62907d50ddfdb7fb8d690a64", "score": "0.41471386", "text": "public interface SessionListener extends EventListener {\n\n/**\n * Listener's method called when an event is generated. Note, processing\n * should be kept to an absolute minimum as the callback may be occuring on \n * a service processing thread.\n */\n public void sessionUpdate(SessionEvent e);\n}", "title": "" }, { "docid": "7bd18f393d1c901c82471ab7b5a7bc35", "score": "0.41332448", "text": "public interface PollNextEvent_callback extends Callback {\r\n\t\tbyte apply(VREvent_t pEvent, int uncbVREvent);\r\n\t}", "title": "" }, { "docid": "e5223c8cd30220752c91bc55a664b488", "score": "0.4131985", "text": "public f(FlipChatApiCallback flipChatApiCallback) {\n super(1);\n this.$callback = flipChatApiCallback;\n }", "title": "" }, { "docid": "f92d95c0596dff0ef147ffff4768e62c", "score": "0.41225317", "text": "public AccountServiceCallbackHandler(){\n this.clientData = null;\n }", "title": "" }, { "docid": "1495ff31a28e277b51a25ba4f8a5a710", "score": "0.4121178", "text": "public DbCallback() {\n super(VERSION);\n }", "title": "" }, { "docid": "5892bec34d1cd76c20f6dd2ada05dccd", "score": "0.4121145", "text": "public ClosureReceiver(ContextFactory contextFactory) {\n this(Thread.currentThread().getContextClassLoader(), contextFactory);\n }", "title": "" }, { "docid": "06096aa0ee8cb73cfc3aefc599baaaa3", "score": "0.41160712", "text": "public void startcreateCourseCalendarItem(\n\n com.blackboard.bbdn.bbws.generated.CalendarWSStub.CreateCourseCalendarItem createCourseCalendarItem6,\n\n final com.blackboard.bbdn.bbws.generated.CalendarWSCallbackHandler callback)\n\n throws java.rmi.RemoteException{\n\n org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[3].getName());\n _operationClient.getOptions().setAction(\"createCourseCalendarItem\");\n _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);\n\n \n \n addPropertyToOperationClient(_operationClient,org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,\"&\");\n \n\n\n // create SOAP envelope with that payload\n org.apache.axiom.soap.SOAPEnvelope env=null;\n final org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext();\n\n \n //Style is Doc.\n \n \n env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),\n createCourseCalendarItem6,\n optimizeContent(new javax.xml.namespace.QName(\"http://calendar.ws.blackboard/\",\n \"createCourseCalendarItem\")));\n \n // adding SOAP soap_headers\n _serviceClient.addHeadersToEnvelope(env);\n // create message context with that soap envelope\n _messageContext.setEnvelope(env);\n\n // add the message context to the operation client\n _operationClient.addMessageContext(_messageContext);\n\n\n \n _operationClient.setCallback(new org.apache.axis2.client.async.AxisCallback() {\n public void onMessage(org.apache.axis2.context.MessageContext resultContext) {\n try {\n org.apache.axiom.soap.SOAPEnvelope resultEnv = resultContext.getEnvelope();\n \n java.lang.Object object = fromOM(resultEnv.getBody().getFirstElement(),\n com.blackboard.bbdn.bbws.generated.CalendarWSStub.CreateCourseCalendarItemResponse.class,\n getEnvelopeNamespaces(resultEnv));\n callback.receiveResultcreateCourseCalendarItem(\n (com.blackboard.bbdn.bbws.generated.CalendarWSStub.CreateCourseCalendarItemResponse)object);\n \n } catch (org.apache.axis2.AxisFault e) {\n callback.receiveErrorcreateCourseCalendarItem(e);\n }\n }\n\n public void onError(java.lang.Exception error) {\n\t\t\t\t\t\t\t\tif (error instanceof org.apache.axis2.AxisFault) {\n\t\t\t\t\t\t\t\t\torg.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault) error;\n\t\t\t\t\t\t\t\t\torg.apache.axiom.om.OMElement faultElt = f.getDetail();\n\t\t\t\t\t\t\t\t\tif (faultElt!=null){\n\t\t\t\t\t\t\t\t\t\tif (faultExceptionNameMap.containsKey(faultElt.getQName())){\n\t\t\t\t\t\t\t\t\t\t\t//make the fault by reflection\n\t\t\t\t\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\t\t\t\t\t\tjava.lang.String exceptionClassName = (java.lang.String)faultExceptionClassNameMap.get(faultElt.getQName());\n\t\t\t\t\t\t\t\t\t\t\t\t\tjava.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);\n\t\t\t\t\t\t\t\t\t\t\t\t\tjava.lang.Exception ex=\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(java.lang.Exception) exceptionClass.newInstance();\n\t\t\t\t\t\t\t\t\t\t\t\t\t//message class\n\t\t\t\t\t\t\t\t\t\t\t\t\tjava.lang.String messageClassName = (java.lang.String)faultMessageMap.get(faultElt.getQName());\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tjava.lang.Class messageClass = java.lang.Class.forName(messageClassName);\n\t\t\t\t\t\t\t\t\t\t\t\t\tjava.lang.Object messageObject = fromOM(faultElt,messageClass,null);\n\t\t\t\t\t\t\t\t\t\t\t\t\tjava.lang.reflect.Method m = exceptionClass.getMethod(\"setFaultMessage\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnew java.lang.Class[]{messageClass});\n\t\t\t\t\t\t\t\t\t\t\t\t\tm.invoke(ex,new java.lang.Object[]{messageObject});\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t callback.receiveErrorcreateCourseCalendarItem(new java.rmi.RemoteException(ex.getMessage(), ex));\n } catch(java.lang.ClassCastException e){\n // we cannot intantiate the class - throw the original Axis fault\n callback.receiveErrorcreateCourseCalendarItem(f);\n } catch (java.lang.ClassNotFoundException e) {\n // we cannot intantiate the class - throw the original Axis fault\n callback.receiveErrorcreateCourseCalendarItem(f);\n } catch (java.lang.NoSuchMethodException e) {\n // we cannot intantiate the class - throw the original Axis fault\n callback.receiveErrorcreateCourseCalendarItem(f);\n } catch (java.lang.reflect.InvocationTargetException e) {\n // we cannot intantiate the class - throw the original Axis fault\n callback.receiveErrorcreateCourseCalendarItem(f);\n } catch (java.lang.IllegalAccessException e) {\n // we cannot intantiate the class - throw the original Axis fault\n callback.receiveErrorcreateCourseCalendarItem(f);\n } catch (java.lang.InstantiationException e) {\n // we cannot intantiate the class - throw the original Axis fault\n callback.receiveErrorcreateCourseCalendarItem(f);\n } catch (org.apache.axis2.AxisFault e) {\n // we cannot intantiate the class - throw the original Axis fault\n callback.receiveErrorcreateCourseCalendarItem(f);\n }\n\t\t\t\t\t\t\t\t\t } else {\n\t\t\t\t\t\t\t\t\t\t callback.receiveErrorcreateCourseCalendarItem(f);\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t callback.receiveErrorcreateCourseCalendarItem(f);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t callback.receiveErrorcreateCourseCalendarItem(error);\n\t\t\t\t\t\t\t\t}\n }\n\n public void onFault(org.apache.axis2.context.MessageContext faultContext) {\n org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);\n onError(fault);\n }\n\n public void onComplete() {\n try {\n _messageContext.getTransportOut().getSender().cleanup(_messageContext);\n } catch (org.apache.axis2.AxisFault axisFault) {\n callback.receiveErrorcreateCourseCalendarItem(axisFault);\n }\n }\n });\n \n\n org.apache.axis2.util.CallbackReceiver _callbackReceiver = null;\n if ( _operations[3].getMessageReceiver()==null && _operationClient.getOptions().isUseSeparateListener()) {\n _callbackReceiver = new org.apache.axis2.util.CallbackReceiver();\n _operations[3].setMessageReceiver(\n _callbackReceiver);\n }\n\n //execute the operation client\n _operationClient.execute(false);\n\n }", "title": "" }, { "docid": "42bce54e2c992e5e9a1a269201d79280", "score": "0.41156211", "text": "CompletableFuture<Boolean> createStream(final String scopeName,\n final String streamName,\n final StreamConfiguration configuration,\n final long createTimestamp,\n final OperationContext context,\n final Executor executor);", "title": "" }, { "docid": "94413f7bfce19d1d72bd64ecf0d1cdbe", "score": "0.41155484", "text": "@Override\n public ITraceTypeReader createInstance() {\n return new CTFLTTngSysCallTraceReader();\n }", "title": "" }, { "docid": "d59759fca0b6b74432f4f1c593cc251e", "score": "0.41138747", "text": "public DiscoveryServiceCallbackHandler getCallBackHandler() ;", "title": "" }, { "docid": "c655e357891149d7a0dec66594db8fa7", "score": "0.4110962", "text": "C27015b(KeyboardStateListener keyboardStateListener) {\n super(1);\n this.f93914a = keyboardStateListener;\n }", "title": "" }, { "docid": "ee1d8bbf54b468f3476732b03e00f18b", "score": "0.41019714", "text": "public abstract void onComposingEvent(String chatId, ContactId contact, boolean status);", "title": "" }, { "docid": "39b72d6363979434d294f0b804e43042", "score": "0.40981328", "text": "CallbackContext provide();", "title": "" }, { "docid": "3b72e79088e25746bb590ce22322781f", "score": "0.40901828", "text": "@Override public void addConnectionCreatedListener(info.guardianproject.otr.app.im.IConnectionCreationListener listener) throws android.os.RemoteException\n{\nandroid.os.Parcel _data = android.os.Parcel.obtain();\nandroid.os.Parcel _reply = android.os.Parcel.obtain();\ntry {\n_data.writeInterfaceToken(DESCRIPTOR);\n_data.writeStrongBinder((((listener!=null))?(listener.asBinder()):(null)));\nmRemote.transact(Stub.TRANSACTION_addConnectionCreatedListener, _data, _reply, 0);\n_reply.readException();\n}\nfinally {\n_reply.recycle();\n_data.recycle();\n}\n}", "title": "" }, { "docid": "7040474048d506ab7d13271702bb1f40", "score": "0.40888512", "text": "public void createNewSession() {\n mLocalBroadcastManager.registerReceiver(mUpdateReceiver, makeGattUpdateIntentFilter());\n if (!mBound) {\n bindService(new Intent(this, TrackingManagerService.class), mConnection, 0);\n mBound = true;\n }\n dataMeasured = new ArrayList<>();\n sessionStarted = true;\n Toast.makeText(getApplicationContext(), \"New Session created\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "629e3edfd9b6355aab74ded7fe94e3df", "score": "0.40870413", "text": "void subscribeObstructionDetected(CharacteristicCallback callback);", "title": "" }, { "docid": "fab50023bffd59f033775e7ffe359fe0", "score": "0.40791485", "text": "@Override\n public void onGotCallback(String ack) {\n Toast.makeText(getApplicationContext(), ack, Toast.LENGTH_LONG).show();\n if (ack.equals(CommandList.CURRENT_STAT)) {\n mBluetoothHandler.write(CommandList.A_TERMINATE);\n }\n }", "title": "" }, { "docid": "76a85e44bbecc2c690ac15b4cfd0bf72", "score": "0.40790316", "text": "public Callback getCallback()\n {\n return _callback;\n }", "title": "" }, { "docid": "7ccc9b06f55f4f9f60338c90483f10fd", "score": "0.40762", "text": "public CambriaOutboundEventStream build() throws CambriaApiException {\n\t\t\treturn new CambriaOutboundEventStream(this);\n\t\t}", "title": "" }, { "docid": "6755e030bd6b1c83515727e3199a8781", "score": "0.40758595", "text": "public interface AcceptCallback {\n public void onAccept(NioTicket ticket);\n}", "title": "" }, { "docid": "52380bb957b05e40bb5d85d50469534e", "score": "0.40748778", "text": "java.util.concurrent.Future<CreateTimelineEventResult> createTimelineEventAsync(CreateTimelineEventRequest createTimelineEventRequest);", "title": "" }, { "docid": "8a75ef789a04dc71c01321d98d6c839a", "score": "0.4074339", "text": "@Bean\n ConcurrentKafkaListenerContainerFactory<?, ?> kafkaListenerContainerFactory() {\n ConcurrentKafkaListenerContainerFactory<Integer, LibraryEvent> factory = new ConcurrentKafkaListenerContainerFactory<>();\n factory.setConsumerFactory(consumerFactory());\n// configurer.configure(factory, kafkaConsumerFactory);\n// factory.setConcurrency(3);\n// factory.getContainerProperties().setAckMode(ContainerProperties.AckMode.MANUAL);\n factory.setErrorHandler(((thrownException, data) -> {\n log.info(\"Exception in consumer config is {} and the record is {}\", thrownException.getMessage(), data);\n //Usually this implementation to use a custom error handler is done to persist some damaged record to DB or keep track of it\n //Persist\n }));\n factory.setRetryTemplate(retryTemplate());\n factory.setRecoveryCallback(context -> {\n if(context.getLastThrowable().getCause() instanceof RecoverableDataAccessException){\n //invoke recovery logic\n log.info(\"Inside the recoverable logic\");\n// Arrays.asList(context.attributeNames())\n// .forEach( attributeName -> {\n// log.info(\"Attribute names is {}: \", attributeName);\n// log.info(\"Attribute value is {}: \", context.getAttribute(attributeName));\n// });\n final ConsumerRecord<Integer, LibraryEvent> consumerRecord = (ConsumerRecord<Integer, LibraryEvent>) context.getAttribute(\"record\");\n libraryEventsService.handleRecovery(consumerRecord);\n }else{\n log.info(\"Inisde the non recoverable logic\");\n throw new RuntimeException(context.getLastThrowable().getMessage());\n }\n return null;\n });\n return factory;\n }", "title": "" }, { "docid": "41fb38b2c323ba7ae4c2848fcd632cfa", "score": "0.40720412", "text": "PointerByReference rs2_create_processing_block_fptr(Realsense2Library.rs2_frame_processor_callback_ptr proc, Realsense2Library.rs2_context context, PointerByReference error);", "title": "" }, { "docid": "1c2097a5ce811d39148d94a30bd3b36c", "score": "0.40672314", "text": "public CallbackFragment() {\n }", "title": "" }, { "docid": "182c247a5ae689d9a841337ee2ba2b62", "score": "0.40635824", "text": "public h(FlipChatApiCallback flipChatApiCallback) {\n super(1);\n this.$callback = flipChatApiCallback;\n }", "title": "" }, { "docid": "117296a55e330121e3492442d3fe1311", "score": "0.4061951", "text": "EventHandler createEventHandler();", "title": "" }, { "docid": "f418f620cc9c5331f53fcc2e773dabb3", "score": "0.40614635", "text": "public j(FlipChatApiCallback flipChatApiCallback) {\n super(1);\n this.$callback = flipChatApiCallback;\n }", "title": "" }, { "docid": "2bcafa8930963a785dfd39d4bef448d8", "score": "0.4061342", "text": "FlowEvent createFlowEvent();", "title": "" }, { "docid": "79bae017d67dbe0f9eee2d6b128f9105", "score": "0.40601265", "text": "public static native void subscribeToEvent(final String eventName, final AsyncCallback<FacebookSession> callback)/*-{\n\t\t$wnd.FB.Event.subscribe(eventName, function(response) {\n\t\tvar result = new Boolean(true);\n\t\[email protected]::callbackOnSuccessResponse(Lcom/google/gwt/user/client/rpc/AsyncCallback;Lcom/google/gwt/core/client/JavaScriptObject;)(callback,response.session);\n\t\t});\n\t}-*/;", "title": "" }, { "docid": "3bc685c6151da8c9ed3dc229989f6b39", "score": "0.40452498", "text": "private static RoomDatabase.Callback getCallBackInstance(final Context context) {\n return new RoomDatabase.Callback(){\n public void onCreate (@NonNull SupportSQLiteDatabase database){\n populateDB(context);\n }\n\n @Override\n public void onOpen(@NonNull SupportSQLiteDatabase db) {\n super.onOpen(db);\n EventBus.getDefault().post(RequestCodes.DB_OPENED);\n }\n };\n }", "title": "" }, { "docid": "d6132f615af5260c190fb2957577fd2e", "score": "0.40451398", "text": "protected ImmuProductPriceCB newMyCB() {\r\n return new ImmuProductPriceCB();\r\n }", "title": "" } ]
8ce020ab750c9fc021baace4b6083952
/ pre: list != null post: return true if list is sorted in ascedning order, false otherwise
[ { "docid": "ca56e777026fac0cc9c5a2efc3c1d631", "score": "0.7189702", "text": "public boolean isAscending( int[] list )\n\t{\tboolean ascending = true;\n\t\tint index = 1;\n\t\twhile( ascending && index < list.length )\n\t\t{\t\n\t\t\tascending = (list:[index - 1] <= list:[index]);\n\t\t\tindex++;\n\t\t}\n\n\t\treturn ascending;\n\t}", "title": "" } ]
[ { "docid": "f4fcfde22c7b51a95c818fac3102e75d", "score": "0.7502298", "text": "private boolean isSorted(List<Event> l) {\n Event lastEvent = null;\n for (Event e : l) {\n if (lastEvent == null) {\n lastEvent = e;\n } else if (lastEvent.getT() > e.getT()) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "c99b14444993069da184e110b23fb1c9", "score": "0.72744", "text": "private static boolean isSorted(int[] data){\n // iterate through each index in the list\n for(int i = 1; i < data.length; i++){\n if(data[i-1] > data[i]){\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "2c1e06d3be5385a5226c6ee423875aca", "score": "0.71893555", "text": "public static boolean isListSorted(ArrayList<String> list) {\n String previous = \"\";\n for (final String current: list) {\n if (current.compareTo(previous) < 0)\n return false;\n previous = current;\n }\n return true;\n }", "title": "" }, { "docid": "f451ab2f4539bab7d142b5965e9bcb99", "score": "0.71479034", "text": "boolean isOrdered();", "title": "" }, { "docid": "dbd04a5966dc7f4039e2ff0dee631224", "score": "0.7052459", "text": "static boolean sorted(List<Integer> a) {\n\t\tif (a.isEmpty() || a.getTail().isEmpty()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tif (a.getHead() < a.getTail().getHead()) {\n\t\t\t\treturn false;\n\t\t\t} else\n\t\t\t\treturn sorted(a.getTail());\n\t\t}\n\t}", "title": "" }, { "docid": "0f9cf40659d3873f02705c0fedbcc4b1", "score": "0.6906743", "text": "public static final boolean isSorted(final List<Double> data) {\n for (int i = 1; i < data.size(); i++) {\n if (data.get(i - 1) > data.get(i)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "478302d35681e311de8a105925bcb0e2", "score": "0.6871648", "text": "private static boolean isSorted(List<Float> listOfFloat) {\n Iterator<Float> it = listOfFloat.iterator();\n float current, previous = it.next();\n while (it.hasNext()) {\n current = it.next();\n if (previous<current) {\n System.out.println(previous+\"\\t\"+current);\n return false;\n }\n previous = current;\n }\n return true;\n }", "title": "" }, { "docid": "a4360f0bba65640da94eaa8a6c82f5fc", "score": "0.6862991", "text": "public static boolean isSorted(ArrayList<Integer> arrList) {\n\t\tfor (int i = 0; i < arrList.size() - 1; ++i) {\n\t\t\tif (arrList.get(i) > arrList.get(i + 1))\n\t\t\t\treturn false;\n\t\t}\n\t\t// fall-through case\n\t\treturn true;\n\t}", "title": "" }, { "docid": "cff40f26a4e7e1aaea7d5f5732cd4da8", "score": "0.6861952", "text": "Boolean isSortEntries();", "title": "" }, { "docid": "cff40f26a4e7e1aaea7d5f5732cd4da8", "score": "0.6861952", "text": "Boolean isSortEntries();", "title": "" }, { "docid": "624c1cb2d614ccf487bae897a9cbdbd9", "score": "0.6857179", "text": "public static boolean isSortedRec(ArrayList<Integer> list, int i) {\n // YOUR CODE HERE\n return false;\n }", "title": "" }, { "docid": "0755cebdd0a7b8eb37e7eeba02c4782f", "score": "0.68063104", "text": "private boolean sorted ()\n {\n boolean isSorted = true;\n int oldValue = 0;\n for (int i = 0 ; i < this.size ; i++)\n {\n if (oldValue > this.elements [i])\n {\n isSorted = false;\n }\n oldValue = this.elements [i];\n }\n return isSorted;\n }", "title": "" }, { "docid": "7f0ebfd7cb16ddc29c0d479127bd9b0b", "score": "0.67815375", "text": "public static boolean isSorted(ArrayList<Comparable> data){\n\tfor (int i = 0; i < data.size()-1; i++){\n\t if (data.get(i).compareTo(data.get(i+1)) > 0){ //if a prev element larger than latter...\n\t\treturn false; //not sorted\n\t }\n\t}\n\treturn true;\n }", "title": "" }, { "docid": "51b76e14c3d225160c2d39e238b72cf5", "score": "0.6724801", "text": "public boolean isSorted(){\n if (this.next == null) return true;\n if (aminoAcid < next.aminoAcid) return next.isSorted();\n return false;\n }", "title": "" }, { "docid": "2bfa0464e2877067b376e30c28ba1f7d", "score": "0.6621641", "text": "public boolean shouldSort() {\n return displayStatus.equals(ListStatus.OVERDUE) || displayStatus.equals(ListStatus.UPCOMING);\n }", "title": "" }, { "docid": "448316756806bce8b5095d922313489f", "score": "0.6611239", "text": "public boolean isSorted() { \n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "7917e5152bc0f4979003f3706e733db6", "score": "0.65725577", "text": "public boolean isSorted(){\n if(containers.size() >= 2){\n for(int i = 1; i<containers.size(); i++){\n if (containers.get(i-1).getGc() > containers.get(i).getGc())\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "58994ddb382c97326388e7ba94112fda", "score": "0.65459144", "text": "public boolean isOrdered()\n {\n return isOrdered( head);\n }", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6541113", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6541113", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6541113", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "31b2518f5c02dfa10ca9c759f44c6e9e", "score": "0.6540077", "text": "boolean hasOrder();", "title": "" }, { "docid": "f75b4146a991febd094af79e92d847c5", "score": "0.6492874", "text": "public boolean isSorted() { return false; }", "title": "" }, { "docid": "01ab669e7dc65a7ad6e73d46bb88fe9b", "score": "0.6476636", "text": "boolean isLevelOrderSorted();", "title": "" }, { "docid": "a7e9085c0ce54058566314e5002c99bc", "score": "0.64554304", "text": "boolean isOrder();", "title": "" }, { "docid": "d726b5aee7d0590b8a1b514b096b7820", "score": "0.63896286", "text": "private <Item extends Comparable> boolean isSorted(Queue<Item> items) {\n if (items.size() <= 1) {\n return true;\n }\n Item curr = items.dequeue();\n Item prev = curr;\n while (!items.isEmpty()) {\n prev = curr;\n curr = items.dequeue();\n if (curr.compareTo(prev) < 0) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "8958a48475f51018885f7942d19f79e1", "score": "0.6270777", "text": "public boolean checkSorted() {\r\n\t\tfor (int i=1;i<main_array.length;i++) {\r\n\t\t\tif (main_array[i] < main_array[i-1]) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "c0d001f7a6103508d1832c92aa931e45", "score": "0.62387884", "text": "public boolean isOrdered(Iterable<? extends T> iterable) {\n Iterator<? extends T> it = iterable.iterator();\n if (!it.hasNext()) {\n return true;\n }\n Object next = it.next();\n while (it.hasNext()) {\n Object next2 = it.next();\n if (compare(next, next2) > 0) {\n return false;\n }\n next = next2;\n }\n return true;\n }", "title": "" }, { "docid": "df330d307a76d0e40b9662d7508d5560", "score": "0.62347174", "text": "public boolean isOrdered() {\n boolean ordered = true;\n for (int i = 0; i < places.size(); i++) {\n if (ordered) {\n ordered = (places.get(i) == i);\n }\n }\n return ordered;\n }", "title": "" }, { "docid": "8caca18e750745ffb66549e1ce500ace", "score": "0.6175051", "text": "@Override\n public void sortListAscAlreadySorted()\n {\n\n }", "title": "" }, { "docid": "02faffae036dd2807ed29dd9370e4582", "score": "0.6132888", "text": "public boolean isSorted(double[] array) {\n boolean inOrder = true;\n\n // scan the list starting at index 0\n for (int j = 0; j < array.length - 1 && inOrder; j++) {\n // check the pair starting at j\n inOrder = array[j] <= array[j + 1];\n }\n\n return inOrder;\n }", "title": "" }, { "docid": "197c24724f25a99a6407148731eae404", "score": "0.61319935", "text": "private static boolean isSorted(Comparable[] a) {\n for (int i = 1; i < a.length; i++)\n if (less(a[i], a[i - 1])) return false;\n return true;\n }", "title": "" }, { "docid": "dc18c06d07aa3a592d36bf04248fdd68", "score": "0.61149895", "text": "public final boolean test(List<Bookmark> list) {\n return !list.isEmpty();\n }", "title": "" }, { "docid": "ceaaac01258dcccc8e3642a8f792a82e", "score": "0.6076772", "text": "private static boolean isSorted(int[] number) {\n for (int i = 0; i < number.length - 1; i++) {\n if (number[i] > number[i + 1]) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "da59278629e557aee65672c8fb9edd96", "score": "0.6066908", "text": "public boolean isSorted() {\n synchronized (monitor) {\n return sorted;\n }\n }", "title": "" }, { "docid": "ecb855fa9f12a8a73d2145d954a2e1bd", "score": "0.60623074", "text": "private boolean isValidList(ArrayList<Integer> list) {\n return (list != null) && (list.size() == students.size());\n }", "title": "" }, { "docid": "d672b51b2c59a90d070ab088c79e5ffa", "score": "0.59951675", "text": "boolean equals(List L){\r\n \t//if the two lists are of the same size and their front element is the same,\r\n \t//make the comparison.\r\n if (L.length()==size){\r\n Node firstFront = front;\r\n Node secondFront = L.front;\r\n for (moveFront();index()>=0;moveNext()){\r\n \tif (firstFront.entry!=secondFront.entry){\r\n \t\treturn false;\r\n \t}\r\n \tfirstFront=firstFront.next;\r\n \tsecondFront=secondFront.next;\r\n }\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "4dafab5ac5cff44995171388d6915ac3", "score": "0.59715354", "text": "@Override\n public void sortListDescAlreadySorted()\n {\n\n }", "title": "" }, { "docid": "3db069f37cc3392d27f7d51375b1885c", "score": "0.596421", "text": "@Test\n public void testisSorted() {\n String a = \"GCUACGGAGCUUCGGAGCCCGUAGGUGGACAAG\";\n AminoAcidLL list = new AminoAcidLL();\n list = list.createFromRNASequence(a);\n assertEquals(list.isSorted(), false);\n }", "title": "" }, { "docid": "54eb9d557cc6cca561ee926715f66860", "score": "0.59640425", "text": "public static boolean sorted(int a, int b, int c)\r\n {\r\n return false;\r\n }", "title": "" }, { "docid": "1c8c7e6fc0f738abb45b4d4b39a3cc1d", "score": "0.5960442", "text": "private static boolean isSorted(Comparable[] a) {\n return isSorted(a, 0, a.length - 1);\n }", "title": "" }, { "docid": "c343633df2b44a9b061759616c9b005b", "score": "0.5957723", "text": "private boolean isSorted(double[] a) {\n for (int i = 0; i < a.length - 1; i++)\n if (a[i] > a[i + 1])\n return false;\n return true;\n }", "title": "" }, { "docid": "4dc164823abc762d9dc33d4c33620415", "score": "0.5956205", "text": "default boolean isSorted(P[] array, Order order) {\n int length = array.length;\n switch (order) {\n case Ascending:\n for (int i = 0; i < length - 1; i++)\n if (isGreater(array[i], array[i + 1]))\n return false;\n break;\n case Descending:\n for (int i = 0; i < length - 1; i++)\n if (isLess(array[i], array[i + 1]))\n return false;\n break;\n }\n return true;\n }", "title": "" }, { "docid": "2598817a257bd7cc3a4ccf9914532026", "score": "0.59531856", "text": "public boolean isStrictlyOrdered(Iterable<? extends T> iterable) {\n Iterator<? extends T> it = iterable.iterator();\n if (!it.hasNext()) {\n return true;\n }\n Object next = it.next();\n while (it.hasNext()) {\n Object next2 = it.next();\n if (compare(next, next2) >= 0) {\n return false;\n }\n next = next2;\n }\n return true;\n }", "title": "" }, { "docid": "02aba875abb88cb2ff59525fcfeb62b9", "score": "0.59139365", "text": "boolean hasReorder();", "title": "" }, { "docid": "bfbeaf27a6decdb9ee6673e158b12fdc", "score": "0.5908419", "text": "private void assertTrueNaturalOrdering(List<BigDecimal> sortedList) {\n\n Iterator<BigDecimal> iter = sortedList.iterator();\n boolean done = false;\n\n if (iter.hasNext()) {\n // Must have at least one.\n\n BigDecimal prior = iter.next();\n\n while (iter.hasNext()) {\n BigDecimal current = iter.next();\n\n if (DEBUG_SEARCH) {\n System.out.println(prior + \" \" + current);\n }\n\n assertTrue(prior.compareTo(current) <= 0);\n prior = current;\n }\n done = true;\n }\n assertTrue(done);\n\n }", "title": "" }, { "docid": "50fd1e588b2db4f53b26718ab7ddc3e5", "score": "0.59069216", "text": "public Boolean verifySortedByPrice() {\n\t\ttry {\n\t\t\tboolean isSorted = Ordering.isListSortedDescending(this.pricesOfFilteredRecords);\n\t\t\tif (isSorted) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\tinstanceLogger.severe(\"Oops! Encountered Exception in verifySortedByPrice!\" + e.getMessage());\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9d882a11e71b2317c4be904e1d38bd0c", "score": "0.5904033", "text": "public boolean sortMatchingResults() {\r\n return sortMatchingResultRule.equals(SortMatchingResultRules.sort);\r\n }", "title": "" }, { "docid": "fcc06dafcd00198b96ea733847a83253", "score": "0.587133", "text": "public boolean AALLCompare(AminoAcidLL inList) {\n if (this == null && inList == null) return true;\n if (next == null && inList.next == null) {\n if (singleCodonCompare(inList)) return true;\n else return false;\n }\n if (!singleCodonCompare(inList)) return false;\n return next.AALLCompare(inList.next);\n }", "title": "" }, { "docid": "7ff186713e7fba1eb732ba38b38aeacc", "score": "0.58677775", "text": "@DISPID(2574)\n @PropGet\n boolean getSortUsingCustomLists();", "title": "" }, { "docid": "2767e297523e93843e2c350645db5947", "score": "0.58489", "text": "public boolean isOrdered( Node node)\n {\n if( node.next == null)\n {\n return true;\n }\n else if ( ( node.data).compareTo( ( node.next.data)) < 0)\n {\n return false;\n }\n else\n {\n return isOrdered( node.next);\n }\n }", "title": "" }, { "docid": "9b8964e95a481d0ee6887e3316548b4a", "score": "0.5825501", "text": "@Override\n public void sortListAscFewUnique()\n {\n\n }", "title": "" }, { "docid": "eab9a3d194d2d1e15fc42cc741d0c0c3", "score": "0.58100396", "text": "public static /* synthetic */ boolean m60944a(List list) throws Exception {\n return list.size() > 0;\n }", "title": "" }, { "docid": "21665ec2f455b8978d11c29328bef824", "score": "0.58044165", "text": "@DISPID(2573)\n @PropGet\n boolean getFieldListSortAscending();", "title": "" }, { "docid": "620093f8fa9e127222556250c7556362", "score": "0.58020914", "text": "public static boolean isSorted(Table t) {\n\t\tint[][] tempArray = tableConverter(t);\n\t\tint[] sortedArray = oneDimension(tempArray);\n\t\tboolean check = true;\n\t\tfor(int i =1; i < sortedArray.length; i++) {\n\t\t\tif(sortedArray[i-1] > sortedArray[i]) {\n\t\t\t\tcheck = false;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\t\treturn check;\n\t}", "title": "" }, { "docid": "4bc33808dbaed398412252307d55203e", "score": "0.57996994", "text": "boolean checkList(List<T> list, Comparator<? super T> comparator);", "title": "" }, { "docid": "a897a63b0c4b4cea9c798d09f8754056", "score": "0.57939357", "text": "public boolean isSorted(Container container){\n containers.add(container);\n if(containers.size() >= 2){\n for(int i = 1; i<containers.size(); i++){\n if (containers.get(i-1).getGc() > containers.get(i).getGc()) {\n containers.remove(container);\n return false;\n }\n }\n }\n containers.remove(container);\n return true;\n }", "title": "" }, { "docid": "4d49f5a609873d218ab9feeedc253b66", "score": "0.5785844", "text": "@Override\n public void sortListAscComparatorPermitsNullElements()\n {\n\n }", "title": "" }, { "docid": "881bd6804da3db33e683affa00f269fa", "score": "0.57833326", "text": "private static <T> boolean listEqualsIgnoreOrder(List<T> list1, List<T> list2) {\n return new HashSet<>(list1).equals(new HashSet<>(list2));\n }", "title": "" }, { "docid": "db996f706e487be1e11449dbd9ee5782", "score": "0.5764073", "text": "protected final SnowType snw_sort(SnowType list)\n\t{\n\t\tthrow new UnsupportedOperationException(\"Sort not implemented :(\");\n\t}", "title": "" }, { "docid": "7ec8e2ac7165ca2b164797de608899e1", "score": "0.57615143", "text": "@Override\n\t\t\tprotected boolean hasNextObject() {\n\t\t\t\tif(firstRun){ \n\t\t\t\t\t// this will cache all elements in the list, sort them an reset the cursor\n\t\t\t\t\tinternal_sort(comp);\n\t\t\t\t\t// TODO: als optimierung könnte man jetzt einen \"ist sortiert\" flag setzen und\n\t\t\t\t\t// bei joins, gruppierungen etc die sorted varianten nehmen\n\t\t\t\t} \n\t\t\t\treturn super.hasNextObject();\n\t\t\t}", "title": "" }, { "docid": "744a6d024cbc48d28d8b1c30cf373a34", "score": "0.57474107", "text": "@Override\n public void sortListAscComparatorDoesntPermitNullElementsFails()\n {\n\n }", "title": "" }, { "docid": "6fc09dd423ff8ee4a32981fc527847fc", "score": "0.5715451", "text": "public static final <T extends Comparable<? super T>> void m68602c(@NotNull List<T> list) {\n C2668g.b(list, \"$receiver\");\n if (list.size() > 1) {\n Collections.sort(list);\n }\n }", "title": "" }, { "docid": "0b247d411736e2c1cdf9338e310c34c1", "score": "0.56999564", "text": "@Override\n public void sortListAscAlreadySortedFewUnique()\n {\n\n }", "title": "" }, { "docid": "56c6cba3c78fb822f5b3b28833949e7e", "score": "0.5698421", "text": "public static boolean m44518a(List<HttpHeader> list, List<HttpHeader> list2) {\n if (list == list2) {\n return true;\n }\n if (list == null || list2 == null || list.size() != list2.size()) {\n return false;\n }\n return new HashSet(list).equals(new HashSet(list2));\n }", "title": "" }, { "docid": "a7f5ff780a81b80a27d8508564b3cb2b", "score": "0.5688522", "text": "public static boolean isSorted(Comparable[] a) {\r\n for (int i = 1; i < a.length; i++)\r\n if (less(a[i], a[i-1]))\r\n return false;\r\n \r\n return true;\r\n }", "title": "" }, { "docid": "cd9834f0037651537aa9b42102e89746", "score": "0.566274", "text": "@Override\n public void sortListAscWithNullComparatorFails()\n {\n\n }", "title": "" }, { "docid": "9d32f88612594d88912995856309d54b", "score": "0.56624454", "text": "private static void sortIn(int[] list) {\n for (int i = 0; i < list.length; i++) {\n int x = (list[i] % minInt) / (minInt / 10);\n while (x >= 10) {\n x /= 10;\n }\n order[x].push(list[i]);\n }\n int pointer = list.length - 1;\n for (int i = 9; i >= 0; i--) {\n while (!order[i].isEmpty()) {\n list[pointer] = order[i].pop();\n pointer--;\n }\n }\n }", "title": "" }, { "docid": "057962d27895fd6a8385f4d23bcbc4f2", "score": "0.564475", "text": "boolean hasElementList();", "title": "" }, { "docid": "7fd0841b896664926710eec25f575af1", "score": "0.5623259", "text": "@Test\n @SuppressWarnings({\"AssertStatement\", \"AssertionCanBeIf\", \"MethodCallInLoopCondition\", \"Convert2streamapi\", \"ComparatorResultComparison\", \"WeakerAccess\", \"LawOfDemeter\"})final\n void sort() {\n\n final List<E> data = getSortingAlgorithm().sorted();\n\n for (int i = 1; i < data.size(); i++)\n Assertions.assertTrue(data.get(i).compareTo(data.get(i - 1)) >= 0,\n getSortingErrorMsg(data.get(i), data.get(i - 1), data));\n }", "title": "" }, { "docid": "79e26333ba114c5ca0cfc1f4be58cd28", "score": "0.5618224", "text": "@Test\n\tpublic void testSortedLinkedList() {\n\t\tassertEquals(0, list.size());\n\t}", "title": "" }, { "docid": "99587714d3664b25bba460afd02d7dcb", "score": "0.5616089", "text": "@Override\n public void sortListDescComparatorPermitsNullElements()\n {\n\n }", "title": "" }, { "docid": "aee1420d35a55c5e28b68a2a0155f1d0", "score": "0.5598946", "text": "public boolean isList();", "title": "" }, { "docid": "428bdfd855936fca4c22aa1d4d44f575", "score": "0.5589228", "text": "public static final <E extends Comparable<E>> boolean isSorted(E[] array) {\n\t\tif (array[0] == null) return false;\n\n\t\t// go thru each element, testing for order\n\t\tfor (int i=1; i<array.length; i++) {\n\t\t\tif (array[i] == null) return false;\n\t\t\tif (array[i].compareTo(array[i-1]) < 0) return false;\n\t\t}\n\n\t\t// return true if we finished the loop without problem\n\t\treturn true;\n\t}", "title": "" }, { "docid": "ad6dee54c0691ac1308cc868965005f6", "score": "0.55833536", "text": "@Override\n public void sortListDescWithNullComparatorFails()\n {\n\n }", "title": "" }, { "docid": "384040a78ba096c1613e8a4615c77f51", "score": "0.55833423", "text": "@Override\n public void sortListDescAlreadySortedFewUnique()\n {\n\n }", "title": "" }, { "docid": "26c583b60157cd1e59a48d684ac8cb56", "score": "0.5582609", "text": "@Override\n public void sortListDescFewUnique()\n {\n\n }", "title": "" }, { "docid": "76c2ca13dff75f430c454b31bf789df4", "score": "0.55649257", "text": "public boolean containsDuplicateSort(int[] nums) {\n //Sorting Array in Ascending order\n Arrays.sort(nums);\n for (int i = 1; i < nums.length; i++) {\n if (nums[i - 1] == nums[i]) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "348d3e52b9e438089d328ccb8b25d118", "score": "0.55640125", "text": "public static boolean isSorted(TestInteger[] array) {\n for (int i = 0; i < array.length - 1; i++) {\n if (array[i].compareTo(array[i + 1]) > 0) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "6041cfbb3c7818998bf4b83723fc9a62", "score": "0.55594337", "text": "public void sort(List<T> list) {\n\t\tfor(int i=0; i < list.size(); i++) { //i = visitor pointer\n\t\t\tfor(int j = i; j > 0; j--) { \n\t\t\t\t//Make sure all elements between 0 and visitor are sorted. Don't visit beyond the visitor pointer\n\t\t\t\tif(Commons.less(list.get(j), list.get(j-1))) {\n\t\t\t\t\tCommons.exchange(j, j-1, list);\n\t\t\t\t} else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a562b0ebdb38ec03c0e2b98dcd035ab1", "score": "0.5554268", "text": "@Override\n public boolean isOrdered() {\n return false;\n }", "title": "" }, { "docid": "9600adea63266ee391bed296ca31dc80", "score": "0.55496645", "text": "public boolean buildFromList(ArrayList<T> list) {\r\n\t\tBinarySearchTree t1 = new BinarySearchTree();\r\n\t\tfor (int i = 0; i < list.size(); i++) { \r\n\t\t\tt1.insert(i);\r\n\t\t}\r\n\t\tif (t1.size() != 0) {\r\n\t\t\treturn true; \r\n\t\t}\r\n\t return false;\r\n\t}", "title": "" }, { "docid": "9444418662cb61e78b745ed788b48609", "score": "0.55438983", "text": "public boolean pallindromeApproach2(LinkedList list){\n boolean result = true;\n\n //reverse linked list. head is the head of reversed linked list\n Node head = null;\n Node n = list.head;\n while (n != null){\n Node nd = new Node(n.a);\n nd.next = head;\n head = nd;\n n = n.next;\n }\n\n //Now compare\n Node n1 = list.head;\n\n while (n1 != null){\n if(n1.a != head.a){\n return false;\n }\n n1 = n1.next;\n head = head.next;\n }\n\n return result;\n }", "title": "" }, { "docid": "9d1295603c61cad7df7a92f77e476eea", "score": "0.5537209", "text": "boolean distinct(ArrayList<String> idList){\n HashSet hs = new HashSet<String>(idList);\n if(hs.size() < idList.size()) return false;\n else return true;\n }", "title": "" }, { "docid": "54a5577f0895a80a90042eb20341ca84", "score": "0.5533393", "text": "public boolean isSetAsc() {\n return this.asc != null;\n }", "title": "" }, { "docid": "54a5577f0895a80a90042eb20341ca84", "score": "0.5533393", "text": "public boolean isSetAsc() {\n return this.asc != null;\n }", "title": "" }, { "docid": "c8e351068b0a2a32d2159ade43f7e4da", "score": "0.5528318", "text": "@DISPID(2573)\n @PropPut\n void setFieldListSortAscending(\n boolean rhs);", "title": "" }, { "docid": "163a2cf9d18158473a548247b375d184", "score": "0.5522822", "text": "@Override\n public void sortListAscFewUniqueReverse()\n {\n\n }", "title": "" }, { "docid": "98fe13349c3a5945cab363876964ed8a", "score": "0.5519168", "text": "public boolean isSort() {\n return getFieldFlag(FF_SORT);\n }", "title": "" }, { "docid": "e7a9192611a3d69ce1b9fd7cc25a651a", "score": "0.55179673", "text": "@Override\n\tpublic boolean containsAll(List<T> list) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "68e33f976da6bb9632a3e99932a9f26e", "score": "0.5514761", "text": "@Override\n public void sortListDescComparatorDoesntPermitNullElementsFails()\n {\n\n }", "title": "" }, { "docid": "462e68803b82da8c3bd942b162a2ab82", "score": "0.55131406", "text": "@Override\n public void sortListAscWithOneElement()\n {\n\n }", "title": "" } ]
64ff288b010f6cf239ca80410f7a0df7
getItemCount() is called many times, and when it is first called, has not been updated (means initially, it's null, and we can't return null).
[ { "docid": "59207a9ef4158db7d31ef8e629bf9ba3", "score": "0.0", "text": "@Override\n public int getItemCount() {\n if (mAllSessions != null)\n return mAllSessions.size();\n else return 0;\n }", "title": "" } ]
[ { "docid": "fcbf568dbabc92e050e1fec562d0ddc2", "score": "0.7904832", "text": "int getItemsCount();", "title": "" }, { "docid": "fcbf568dbabc92e050e1fec562d0ddc2", "score": "0.7904832", "text": "int getItemsCount();", "title": "" }, { "docid": "fcbf568dbabc92e050e1fec562d0ddc2", "score": "0.7904832", "text": "int getItemsCount();", "title": "" }, { "docid": "fcbf568dbabc92e050e1fec562d0ddc2", "score": "0.7904832", "text": "int getItemsCount();", "title": "" }, { "docid": "fcbf568dbabc92e050e1fec562d0ddc2", "score": "0.7904832", "text": "int getItemsCount();", "title": "" }, { "docid": "fcbf568dbabc92e050e1fec562d0ddc2", "score": "0.7904832", "text": "int getItemsCount();", "title": "" }, { "docid": "23f275b50effd961b083969381f9c4b5", "score": "0.7646246", "text": "public int itemCount() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "6d7bbc72129a4e0c790656e9848388d3", "score": "0.7633485", "text": "public int getItemCount () {\n\tcheckWidget ();\n\tif (!parent.checkData (this)) error (SWT.ERROR_WIDGET_DISPOSED);\n\treturn itemCount;\n}", "title": "" }, { "docid": "55b29bedf9cfe3e14e70ecbb5b97287d", "score": "0.7492584", "text": "public abstract int getItemCount();", "title": "" }, { "docid": "a1ef0f0059e6da9e3846f6bf1a0e12cd", "score": "0.74609655", "text": "public int itemCount() {\n return numItems;\n }", "title": "" }, { "docid": "8c5c51a29b830c6d3fba1e31e9cb917c", "score": "0.74253017", "text": "int getItemCount();", "title": "" }, { "docid": "8c5c51a29b830c6d3fba1e31e9cb917c", "score": "0.74253017", "text": "int getItemCount();", "title": "" }, { "docid": "8c5c51a29b830c6d3fba1e31e9cb917c", "score": "0.74253017", "text": "int getItemCount();", "title": "" }, { "docid": "a822d1e356a906910c41d21da5ed557c", "score": "0.7415151", "text": "public int getNumberOfItems();", "title": "" }, { "docid": "2e6334f2c4667b1647ee7ca15e0b3310", "score": "0.732794", "text": "int getNumItems();", "title": "" }, { "docid": "3405bd3ddcf7005858427721ea9ecc59", "score": "0.7322029", "text": "@Override\n public int getItemCount() {\n Log.i(\"========== ItemRecyclerViewAdapter.GetItemCount ============\", String.valueOf(this.items.size()));\n return this.items.size();\n }", "title": "" }, { "docid": "468fc6edda94a0d77f367d2f1d3660e3", "score": "0.7304502", "text": "public int count() {\r\n\t\treturn numItems;\r\n\t}", "title": "" }, { "docid": "f207699a9b2128c3286ce6181eb9e734", "score": "0.72833467", "text": "public int getCount() {\n\t\t\treturn items.size();\r\n\t\t}", "title": "" }, { "docid": "8393fb1bc969a92f2b9d27ad238d9f31", "score": "0.7281025", "text": "public int getNumberOfItems () {\n // ADD YOUR CODE HERE\n return this.numberOfItems;\n }", "title": "" }, { "docid": "fbd273a8c124785467900ab25099616c", "score": "0.7252442", "text": "public int getItemsCount() {\n return items_.size();\n }", "title": "" }, { "docid": "f65cdb7a3931a376bb5cb6ccf8adcad1", "score": "0.72458684", "text": "public int getNoOfItem() {\n return itemList.size();\n }", "title": "" }, { "docid": "056e0df7a53dac5b0b265d0957a1d0cd", "score": "0.72314394", "text": "@Override\n\tpublic int getCount() {\n\t\treturn GoodsItemManager.instance().getGoodsItems().size() + 1;\n\t}", "title": "" }, { "docid": "3eb1aa51f99e226c28c728d7e3778196", "score": "0.7207512", "text": "public long getNumItems() {\n\t\tif (items == 0) {\n\t\t\tthrow new IllegalStateException(\"Cursor is not pointing at an event\");\n\t\t}\n\t\treturn numItems;\n\t}", "title": "" }, { "docid": "24629879f0cdb6535f7e2dc5b5918479", "score": "0.7202965", "text": "public int getItemsCount(){\n\n String itemsCountQuery = \" SELECT * FROM \" + TABLE_ITEM;\n SQLiteDatabase database = this.getWritableDatabase();\n Cursor cursor = database.rawQuery(itemsCountQuery, null);\n cursor.close();\n\n return cursor.getCount();\n\n }", "title": "" }, { "docid": "e41d4de4c79e6c2178e7173739674ff7", "score": "0.72018045", "text": "int getItemListCount();", "title": "" }, { "docid": "cb9f55d77df7801e3b51370909f20b5c", "score": "0.7196574", "text": "@Override\n public int getItemCount() {\n if (mCursor == null) return 0;\n return mCursor.getCount();\n }", "title": "" }, { "docid": "3955bf5836254395272507907360cd2c", "score": "0.7190762", "text": "public int getItemCount() {\n return mItemCount;\n }", "title": "" }, { "docid": "8ba019447d64e697a3b97135e94f7c32", "score": "0.718546", "text": "@Override\n public int getItemCount() {\n if (items == null)\n return 0;\n else return items.size();\n }", "title": "" }, { "docid": "93594d58ef93a043eb6ffca9f8c44ed3", "score": "0.7184232", "text": "public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "93594d58ef93a043eb6ffca9f8c44ed3", "score": "0.7184232", "text": "public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "93594d58ef93a043eb6ffca9f8c44ed3", "score": "0.7184232", "text": "public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "4a087fd2309514836efb7612d4cf710d", "score": "0.71822214", "text": "public int getCount() {\n int total = 0;\n for(int num : itemCounts )\n {\n total += num;\n }\n return total;\n }", "title": "" }, { "docid": "23ca7a80e628cd9445233606c8669a6c", "score": "0.7181934", "text": "public int getItemsCount() {\n return items_.size();\n }", "title": "" }, { "docid": "23ca7a80e628cd9445233606c8669a6c", "score": "0.7181934", "text": "public int getItemsCount() {\n return items_.size();\n }", "title": "" }, { "docid": "23ca7a80e628cd9445233606c8669a6c", "score": "0.7181934", "text": "public int getItemsCount() {\n return items_.size();\n }", "title": "" }, { "docid": "011368d8ac851bd6ebeca9a99d865451", "score": "0.7175488", "text": "@Test\n public void checkIfgetItemCountReturnsCorrectNumber() throws Exception{\n int itemCount = adapter.getItemCount();\n assertEquals(itemCount,2);\n }", "title": "" }, { "docid": "1343e533b04acf744588998596cd5d4a", "score": "0.717171", "text": "public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "e03a619261a4cce321c4800954f2ac22", "score": "0.7157255", "text": "public int getCount() {\n return items.size();\n }", "title": "" }, { "docid": "8e2f6138581e1e22831160475b9fe6d1", "score": "0.7153439", "text": "public synchronized int getItemCount() {\n return items.size();\n }", "title": "" }, { "docid": "32e4fda94058b58703a80777e9395419", "score": "0.71531445", "text": "public int getCount() {\n return mItems.size();\n }", "title": "" }, { "docid": "2e6f55a6c96d61a1315f63191584b03f", "score": "0.7147221", "text": "@Override\n public int getItemCount() {\n return items == null\n ? 0\n : items.size();\n }", "title": "" }, { "docid": "f658b7018ba30ed66dbd96f4d96b3582", "score": "0.70831287", "text": "public Integer getItemCount() {\n\t return this.itemCount;\n\t}", "title": "" }, { "docid": "0c17fcea13868f18b4491cf43d151a48", "score": "0.706339", "text": "public int getItemInUseCount()\n {\n return this.itemInUseCount;\n }", "title": "" }, { "docid": "759fbefcf222d6c9db63c6db40691733", "score": "0.70538825", "text": "public int size() {\n return itemCount;\n }", "title": "" }, { "docid": "ddb97cbf02f7c35bfc25d24abba972d4", "score": "0.7047392", "text": "public int getItemCount() {\n/* 2337 */ return this.items.length;\n/* */ }", "title": "" }, { "docid": "bc98cd26b69cbee03e17993f616d4ef0", "score": "0.7046442", "text": "public int getItemCount() {\n\t\tcheckWidget();\n\t\tif (this.elements == null) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn this.elements.size();\n\n\t}", "title": "" }, { "docid": "100c9cfedb589b34c50fd4fdb696b991", "score": "0.7046429", "text": "public int getItemListCount() {\n if (itemListBuilder_ == null) {\n return itemList_.size();\n } else {\n return itemListBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "413af226cefa3c28c2a8d1c1ac7dc802", "score": "0.704139", "text": "public int getItemCount() {\n if (!isSorted())\n sort(); // sort to remove duplicates\n return size;\n }", "title": "" }, { "docid": "d2913292a5c09ba7e187b1a172f7237b", "score": "0.70209575", "text": "@Override\n public int getItemCount() {\n if (mGItems != null)\n return mGItems.size();\n else return 0;\n }", "title": "" }, { "docid": "8e11bdc5c4766fec3ebcc9d130e520c9", "score": "0.70175886", "text": "@Override\n public int getItemCount() {\n if (productList != null)\n return productList.size();\n else return 0;\n }", "title": "" }, { "docid": "2684e68b20c51e9a5f8f9a7d3577b868", "score": "0.70141065", "text": "public int getItemCount() {\r\n return getRowCount() * getColCount();\r\n }", "title": "" }, { "docid": "5246e13aa28f69a9a8abdb00c4c844b1", "score": "0.7008735", "text": "public int getCount() {\r\n\t\treturn m_count;\r\n\t}", "title": "" }, { "docid": "96635c173d34256c536f3696872759e7", "score": "0.700673", "text": "public int getItemCount () {\r\n \treturn itemCount;\r\n }", "title": "" }, { "docid": "fae463fc4535cc5cf813691bdb54b554", "score": "0.6988774", "text": "@Override\n public int getItemCount() {\n int count = (datas != null ? datas.size() : 0);\n return isLoadMore ? count + 1 : count;\n }", "title": "" }, { "docid": "f8e7d331556719f7637cbd339d3ae775", "score": "0.69819736", "text": "public int size() {\n return itemCount;\n }", "title": "" }, { "docid": "ec221ba0a8a4acb4eaa650798d94f47a", "score": "0.69711727", "text": "@Override\n public int getItemCount() {\n return items == null ? 0 : items.size();\n }", "title": "" }, { "docid": "ec221ba0a8a4acb4eaa650798d94f47a", "score": "0.69711727", "text": "@Override\n public int getItemCount() {\n return items == null ? 0 : items.size();\n }", "title": "" }, { "docid": "7ef26561061e6031244fb21bcfb4d51e", "score": "0.69687897", "text": "public int getNumOfItems() {\r\n\t\treturn _noOfItems;\r\n\t}", "title": "" }, { "docid": "bdaff8a5b2ac23cf929e3f6d660da77f", "score": "0.69630235", "text": "public int getNumberOfItems(){\n\t\treturn _itemList.size();\n\t}", "title": "" }, { "docid": "fe0fff6367e3a912433abf57cab16700", "score": "0.6951923", "text": "public synchronized int getCount() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "a307cb041f2dcd9a61eeb08a069e7758", "score": "0.6947799", "text": "public int getCount() {\n return order.getItemObjArr().size();\n }", "title": "" }, { "docid": "3e4e747a98b674b8176df736b5deac83", "score": "0.69404423", "text": "public int getItemsAmount()\r\n {\r\n return items.size();\r\n }", "title": "" }, { "docid": "c310bc2a1590cae1140d3d566ddef06b", "score": "0.693755", "text": "@Override\n public int getItemCount() {\n return this.mDataValid && this.mCursor != null?this.mCursor.getCount():0;\n }", "title": "" }, { "docid": "3bfd09d42bb059b3c07fa0cdd1ab4582", "score": "0.6933683", "text": "@Override\n public abstract long getCount();", "title": "" }, { "docid": "732768a898162f348bcacd40cd6a4201", "score": "0.69263905", "text": "public int getCount(){\n return items.size();\n }", "title": "" }, { "docid": "2a4eb8b6ad89543871812a228c45a9c9", "score": "0.69134706", "text": "public int getNumItems() {\r\n return this.numItems;\r\n }", "title": "" }, { "docid": "623ba2c2c7366ef604f4df68e6b2f02c", "score": "0.69080395", "text": "protected long doGetNumberOfItemIdentifiers() {\r\n\t\treturn getParentIndex().getItemIdentifiers().size();\r\n\t}", "title": "" }, { "docid": "7c717eeea8c9ebda98f334fb0ae2990b", "score": "0.69067645", "text": "public int getCount() {\n return mCount;\n }", "title": "" }, { "docid": "ee40d3c50b81f494e61066ae1e2aebfa", "score": "0.6898981", "text": "public int getCount();", "title": "" }, { "docid": "ee40d3c50b81f494e61066ae1e2aebfa", "score": "0.6898981", "text": "public int getCount();", "title": "" }, { "docid": "ee40d3c50b81f494e61066ae1e2aebfa", "score": "0.6898981", "text": "public int getCount();", "title": "" }, { "docid": "945712df17ee2e50b6ea6d1c37813240", "score": "0.6896183", "text": "@Override\r\n\tpublic int finditemCountAll() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "8a9d9fd3a2d24cc7385d572fd8c4a5c7", "score": "0.68936235", "text": "public Integer getCount() {\n return count;\n }", "title": "" }, { "docid": "8a9d9fd3a2d24cc7385d572fd8c4a5c7", "score": "0.68936235", "text": "public Integer getCount() {\n return count;\n }", "title": "" }, { "docid": "8a9d9fd3a2d24cc7385d572fd8c4a5c7", "score": "0.68936235", "text": "public Integer getCount() {\n return count;\n }", "title": "" }, { "docid": "8a9d9fd3a2d24cc7385d572fd8c4a5c7", "score": "0.68936235", "text": "public Integer getCount() {\n return count;\n }", "title": "" }, { "docid": "8a9d9fd3a2d24cc7385d572fd8c4a5c7", "score": "0.68936235", "text": "public Integer getCount() {\n return count;\n }", "title": "" }, { "docid": "8a9d9fd3a2d24cc7385d572fd8c4a5c7", "score": "0.68936235", "text": "public Integer getCount() {\n return count;\n }", "title": "" }, { "docid": "3095a5c0926deee49fe96f9b9c6b2000", "score": "0.6890322", "text": "public long getCount() {\n return count;\n }", "title": "" }, { "docid": "b2018b47328d97240088af2b8bb9d374", "score": "0.6888455", "text": "public synchronized int getCount()\n {\n return count++;\n }", "title": "" }, { "docid": "7ae62e08d097cd482474dddb49055512", "score": "0.6888404", "text": "public int getCount() {\n \t\treturn mCount;\n \t}", "title": "" }, { "docid": "c67bd14a974ee4d3bcc651d0b3762f4f", "score": "0.6887389", "text": "public Integer findItemsCount(){\n return findAllItems().size();\n }", "title": "" }, { "docid": "113967a4caf2b43624466927271e2b62", "score": "0.6883201", "text": "public static int getCount()\n {\n return count;\n }", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "2bc0c8328870e90988eea69a1bbb08af", "score": "0.68685126", "text": "int getCount();", "title": "" }, { "docid": "a37d15c605e4fb0128012410b8f8049a", "score": "0.68662673", "text": "public static int getCount() {\n return count;\n }", "title": "" }, { "docid": "3182f7e073aae73099ac5ae2e41c3fd0", "score": "0.68658537", "text": "@Override\n public int getItemCount() {\n if (null == data) return 0;\n return data.size();\n }", "title": "" }, { "docid": "dd638bebebb5b7f7ce5025f31636c228", "score": "0.6864311", "text": "@Override\n public int getItemCount() {\n if (mData != null)\n return mData.size();\n else return 0;\n }", "title": "" }, { "docid": "7c648879e4c7dd121429717f99b56fe9", "score": "0.68621296", "text": "@Override\n public int getItemCount() {\n\n return _itemsData.size();\n }", "title": "" }, { "docid": "462ce0d4608179c3f62435d71ed4d1b4", "score": "0.6857231", "text": "public int getCount() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "462ce0d4608179c3f62435d71ed4d1b4", "score": "0.6857231", "text": "public int getCount() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "462ce0d4608179c3f62435d71ed4d1b4", "score": "0.6857231", "text": "public int getCount() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "6ca9ac0fffefbfe6e1995c9eb8b1bb6c", "score": "0.68570435", "text": "public int getCount() {\n\t\treturn mCount;\n\t}", "title": "" }, { "docid": "6ca9ac0fffefbfe6e1995c9eb8b1bb6c", "score": "0.68570435", "text": "public int getCount() {\n\t\treturn mCount;\n\t}", "title": "" } ]
8db6afde564f694f1103444c813a5bbd
Opens activity to record a hive.
[ { "docid": "e3568ffa6bad4c24e4fd7736756e3a12", "score": "0.6968247", "text": "void startNewRecording(long apiaryId, long hiveId);", "title": "" } ]
[ { "docid": "4919d155779ab67171cca4d74d54a82b", "score": "0.5749782", "text": "void showRecordingDetail(long apiaryId, long hiveId, Date date);", "title": "" }, { "docid": "cfda7794ad9b953ae52acb3d5055b2c8", "score": "0.537364", "text": "public Record openMainRecord()\n {\n return new TourHeader(this);\n }", "title": "" }, { "docid": "24f21dfd4595eb246a779f113e1314b3", "score": "0.5364708", "text": "void showInfo(Hive hive);", "title": "" }, { "docid": "b34b22e74c17e01318d05c5c1a308441", "score": "0.52820295", "text": "void openRecordingsDetail(@NonNull Recording recording);", "title": "" }, { "docid": "7082325a6a7dfca4be942656985f924a", "score": "0.525783", "text": "@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tStartRecordActivity();\n\t\t\t\t\t}", "title": "" }, { "docid": "ffcf86efcbfbe43bdcd5f4a2957fb83f", "score": "0.52537036", "text": "public void open() {\n bdd = gestBDD.getWritableDatabase();\n }", "title": "" }, { "docid": "4fe3c8a80178ea35e5bf32c25a94077e", "score": "0.5227185", "text": "void enterRecord();", "title": "" }, { "docid": "116ce2e46939325b85495f62d16c790a", "score": "0.52190244", "text": "public void openTravelahDb() {\n\n this.travelahDb = openHelper.getWritableDatabase();\n }", "title": "" }, { "docid": "a87c3816c2fd4fd9008225117a793a76", "score": "0.5194304", "text": "public ActivityRecord() {\n super(Activity.ACTIVITY);\n }", "title": "" }, { "docid": "0ee979471744d78c179950752cb602fa", "score": "0.5160029", "text": "private void startRecord() {\n final Camera camera = FPVDemoApplication.getCameraInstance();\n if (camera != null) {\n camera.startRecordVideo(new CommonCallbacks.CompletionCallback() {\n @Override\n public void onResult(DJIError djiError) {\n if (djiError == null) {\n showToast(\"Record video: success\");\n } else {\n showToast(djiError.getDescription());\n }\n }\n }); // Execute the startRecordVideo API\n }\n }", "title": "" }, { "docid": "fbc999db374e886298a8baa1879bdbcf", "score": "0.50701123", "text": "@Override\n\t\tpublic void onClick(View arg0) {\n\t\t\t\n\t\t\tIntent myIntent = new Intent(getApplicationContext(),Activity_Login_recordshow.class);\n\t\t\tBundle bundle = new Bundle();\n\t\t\tbundle.putInt(\"myID\", id);\n\t\t\tbundle.putString(\"key\", key);\n\t\t\tmyIntent.putExtras(bundle);\n\t\t\tstartActivity(myIntent);\n\t\t}", "title": "" }, { "docid": "d249d3b9e2da34f30b4e42f9dd6f37a7", "score": "0.500369", "text": "public Record openMainRecord()\n {\n return new Inventory(this);\n }", "title": "" }, { "docid": "7681b28b30ec3f3821712c2bb029f7c5", "score": "0.4992521", "text": "public void onClickRecord(View view){\n Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);\n if (takeVideoIntent.resolveActivity(getPackageManager()) != null) {\n startActivityForResult(takeVideoIntent, REQUEST_VIDEO_CAPTURE);\n }\n }", "title": "" }, { "docid": "873c1db52d0d565e764755c2c3826fc0", "score": "0.49880794", "text": "private void launchMeasurementViewer()\n {\n int idMeasurement = MeasurementsController.getLastRecord(getApplicationContext()).getIdMeasurements();\n Intent intent = new Intent(this, MeasurementView.class);\n Log.d(TAG, \"idMeasure: \"+idMeasurement);\n intent.putExtra(\"idRooms\", idRooms);\n intent.putExtra(\"process\", process);\n intent.putExtra(\"idMeasurement\", idMeasurement);\n startActivity(intent);\n }", "title": "" }, { "docid": "e7a27102d9a5dfdfb8a8201b82b8e24d", "score": "0.4945748", "text": "public HiveTable(Integer id, String dbname, String tablename, String location, Date createtime, Date updatetime) {\n this.id = id;\n this.dbname = dbname;\n this.tablename = tablename;\n this.location = location;\n this.createtime = createtime;\n this.updatetime = updatetime;\n }", "title": "" }, { "docid": "c79b6216fc45df9302d2f74e3981d083", "score": "0.48833886", "text": "@Override\n public void onClick(View view) {\n Intent stepsRecordIntent = new Intent(MainActivity.this, StepsRecord.class);\n startActivity(stepsRecordIntent);\n }", "title": "" }, { "docid": "b9c2fab5d91752d849363ccdaa3e9bf7", "score": "0.48660943", "text": "public void tapOnRecord(){\r\n tap(record);\r\n// info(\"Tapping on:\" + record.getText());\r\n }", "title": "" }, { "docid": "46583c423260e6aabb3ab07a440f3b25", "score": "0.48534083", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\t\n\t\tIntent storeIntent = getIntent(); // gets the intent from the store function\n\t\tDataAssembler db = new DataAssembler(this); // instantiates a database object and opens the connection\n\t\t\n\t\tList<Record> temp = db.getAllRecords(); // retrieves all the records from the database\n\t\t\n\t\tfor(Record record : temp) { // prints all the parameters of each record to the console.\n\t\t\tSystem.out.println(\"Heart Rate: \" + record.getHeartRate() + \n\t\t\t\t\t\t\t \" Time Stamp: \" + record.getTimeStamp() + \n\t\t\t\t\t\t\t \" Song: \" \t + record.getSong() \t + \t\n\t\t\t\t\t\t\t \" Artist: \" \t + record.getArtist() +\n\t\t\t\t\t\t\t \" Genre: \" \t + record.getGenre() \t );\n\t\t}\n\t\t\n\t\t\n\t\tsetContentView(R.layout.activity_retrieve);\n\t}", "title": "" }, { "docid": "49b92e6f5d4e12373e7fe31f2f3311af", "score": "0.48332256", "text": "public long createRecord(ActivityRecord ar);", "title": "" }, { "docid": "d3820f7afdd37dee8be73fcd891c489a", "score": "0.48250824", "text": "public static void recordUse() {\n RecordUserAction.record(\"Android.LaunchNewIncognitoTab\");\n }", "title": "" }, { "docid": "878d869d75b34604ac1374637a837267", "score": "0.48040333", "text": "public void openOtherRecords()\n {\n super.openOtherRecords();\n new RequestDetail(this);\n // The following files are needed to set up the brochure query\n new RequestControl(this);\n new BundleDetail(this);\n new Brochure(this);\n new RequestInput(this); // Memory-based file\n }", "title": "" }, { "docid": "d7b5f8b7b630ffdd0d2c9da7d35c727b", "score": "0.47983024", "text": "void showRecord();", "title": "" }, { "docid": "d587b72aec673791707b55b7142eeb32", "score": "0.47914687", "text": "void startNewRecording();", "title": "" }, { "docid": "ed5261d07d395856414cc826866be9a9", "score": "0.47796366", "text": "public Record addScreenRecord()\n {\n return new TourHeaderScreenRecord(this);\n }", "title": "" }, { "docid": "497f21309170287ec452ef588d737cfe", "score": "0.47569412", "text": "public void open() {\n Log.i(LOGTAG, \"Database Opened\");\n database = dbhandler.getWritableDatabase();\n }", "title": "" }, { "docid": "5bb545a6de7fd605f9b340817714309d", "score": "0.47530985", "text": "public void record_Message(View view) {\n Intent intent = new Intent(this, RecordMessageActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "f9caf59313fac6b9588c27a8c2a9d5da", "score": "0.4749263", "text": "public void recordEvent() {\r\n if (boatSelected) {\r\n Intent intent = new Intent(this, RecordActivity.class);\r\n intent.putExtra(\"Race\", race);\r\n intent.putExtra(\"Boat\", String.valueOf(boatNum));\r\n startActivity(intent);\r\n } else {\r\n Toast toast = Toast.makeText(this, \"Please select a boat.\",\r\n Toast.LENGTH_SHORT);\r\n toast.show();\r\n }\r\n }", "title": "" }, { "docid": "47bb9266f3b1b4fe435a10706f3cfdb7", "score": "0.473546", "text": "public void addRecord(Record record) {\n// this.myRecords.add(record);\n ElasticSearchClient.AddRecord addNewRecord = new ElasticSearchClient.AddRecord();\n addNewRecord.execute(record.getTitle(),record.getDate(),record.getConcernTitle(),record.getUserName(),new Date().toString());\n\n// context = ListConcernActivity.getContextOfApplication();\n// SharedPreference sp = new SharedPreference();\n// sp.saveRecords(context, myRecords, this.title);\n }", "title": "" }, { "docid": "bc962f7ca44d8ea07a528e46fe6dcb72", "score": "0.4730103", "text": "public void open() {\n this.database = openHelper.getWritableDatabase();\n Log.e(\"Open database\", \"Open\");\n }", "title": "" }, { "docid": "ef10453d10f587c5a4bf143ddf16bbc1", "score": "0.46727598", "text": "@Test\n public void createActivationRecordTest() {\n Interpreter interpreter\n = new Interpreter(new KnowledgeBase(Arrays.asList()), this.goal);\n \n assertEquals(this.goal, interpreter.getQuery().getGoal());\n }", "title": "" }, { "docid": "8f79dffa16f6e2bc2c9797fd593665e9", "score": "0.46498495", "text": "public void open() {\r\n\t\t//TODO\r\n\t}", "title": "" }, { "docid": "dbe292ec181f2df5e4106225b4ac6be3", "score": "0.46401605", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(),PatientHearRateMonitorActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "ce3b15386876693bfac9d2c53dc24340", "score": "0.4628169", "text": "@Override\n public void onClick(View view) {\n measurementService.stopRecording();\n Intent a = new Intent(getApplicationContext(), History.class);\n startActivity(a);\n finish();\n }", "title": "" }, { "docid": "081147bcbdd0d8a6d45145a7e8abfe00", "score": "0.46203864", "text": "void open(StateDataViewStore store) throws Exception;", "title": "" }, { "docid": "c54fb9a10e236b9a7e173ee0caa07cda", "score": "0.46162418", "text": "public void open() {\n\t\ttry {\n\t\t\tcreate();\n\t\t} catch (SQLException e) {\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "37b6acedf3d00402b0540dffa66ad359", "score": "0.46096468", "text": "private void createLogForTimelineRecord(TimelineRecord record) {\n\n TaskLog log = createTfsLog(\"logs\\\\\" + record.getId().toString());\n logger.info(\"Setting up record \" + record.getType() + \" log path: \" + log.getPath() + \", log id: \" + log.getId());\n record.setLog(log);\n }", "title": "" }, { "docid": "cd16f02c48fcdfde3ec5e59b7dd7e0d3", "score": "0.460629", "text": "@Override\n public void onClick(View v) {\n startRecording();\n\n }", "title": "" }, { "docid": "a92fb9ac76bf14dab8368ebcd1a99101", "score": "0.4598407", "text": "@Override\n\t\tpublic void open() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "450496978f21764a06f88a480992fa62", "score": "0.45937526", "text": "public void startRecording() {\n\n\t\tLog.d(LCAT, \"[METHODSDEMO] start recording\");\n\t\ttry {\n\t\t\t//this.setZOrderOnTop(false);\n\t\t\ttry {\n\t\t\t\tinitRecorder(mHolder.getSurface());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\tmMediaRecorder.start();\n\t\t\tLog.d(LCAT, \"start recording\");\n\t\t} catch (Exception ee) {\n\t\t\tLog.e(LCAT, \"Caught io exception \" + ee.getMessage());\n\t\t\tee.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "d1587d0375e1e29032f5cf4dbb41be46", "score": "0.4578328", "text": "private void recordScreenView() {\n String screenName = title();\n String screenClass = classForCoder().toString();\n\n // [START set_current_screen]\n FIRAnalytics.setScreenNameScreenClass(screenName, screenClass);\n // [END set_current_screen]\n }", "title": "" }, { "docid": "acb1549ec844efc0075fc2193fe9f54c", "score": "0.45703208", "text": "public void open() {\n\t\tif (TableAdapter.sDb != null) {\n\t\t\tTableAdapter.sDb = null;\n\t\t}\n\t\tTableAdapter.sDb = mDbOpenHelper.getWritableDatabase();\n\t}", "title": "" }, { "docid": "fc8cf28a24c0c46ada537bf4aa1af993", "score": "0.4567824", "text": "@Override\r\n public void onClick(View v) {\n\r\n addDataInRecpHDRTable();\r\n\r\n Intent intent = new Intent(parent,HomeScreen.class);\r\n startActivity(intent);\r\n finish();\r\n }", "title": "" }, { "docid": "4e0ab359cb4652eb90d74fc7135f7ca9", "score": "0.45672688", "text": "protected org.apache.hadoop.hive.ql.metadata.Hive client () { throw new RuntimeException(); }", "title": "" }, { "docid": "85bb437086d0fe07b33f19d2afa2d838", "score": "0.4561177", "text": "public void open();", "title": "" }, { "docid": "6a99de98a80bd4c3ab72ca53c582459f", "score": "0.4559688", "text": "public void onCreatePressed(View v) {\n String date = new SimpleDateFormat(\"MM/dd/yyyy\").format(new Date());\n CSVReader.addSighting(new RatSighting(date, locationSpinner.getSelectedItem().toString(), zip.getText().toString(), address.getText().toString(), city.getText().toString(), boroughSpinner.getSelectedItem().toString(), latitude.getText().toString(), longitude.getText().toString()), this);\n Intent intent = new Intent(this, ScrollingActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "2889734bd0b07edff761cf87d9996222", "score": "0.45559126", "text": "interface HiveContract {\r\n\r\n interface HiveRecordingsView extends BaseView<HiveContract.Presenter> {\r\n\r\n /**\r\n * Displays or hide loading indicator.\r\n *\r\n * @param active true or false.\r\n */\r\n void setLoadingIndicator(final boolean active);\r\n\r\n /**\r\n * Shows list of recordings.\r\n *\r\n * @param recordings recordings to show (list cannot be empty).\r\n */\r\n void showRecordings(@NonNull List<Recording> recordings);\r\n\r\n /**\r\n * Opens activity to record a hive.\r\n *\r\n * @param apiaryId apiary id.\r\n * @param hiveId hive id.\r\n */\r\n void startNewRecording(long apiaryId, long hiveId);\r\n\r\n /**\r\n * Opens activity to show the details of the given recording.\r\n *\r\n * @param apiaryId apiary id.\r\n * @param hiveId hive id.\r\n * @param date recording date.\r\n */\r\n void showRecordingDetail(long apiaryId, long hiveId, Date date);\r\n\r\n /**\r\n * Shows loading recordings error message.\r\n */\r\n void showLoadingRecordingsError();\r\n\r\n /**\r\n * Makes visible the no recordings view.\r\n */\r\n void showNoRecordings();\r\n\r\n /**\r\n * Shows successfully saved message.\r\n */\r\n void showSuccessfullySavedMessage();\r\n\r\n /**\r\n * Shows error while saving message.\r\n */\r\n void showSaveErrorMessage();\r\n\r\n /**\r\n * Shows recording too short error message.\r\n */\r\n void showRecordingTooShortErrorMessage();\r\n\r\n /**\r\n * Shows successfully deleted message.\r\n */\r\n void showSuccessfullyDeletedMessage();\r\n\r\n /**\r\n * Shows error while deleting recording message.\r\n */\r\n void showDeletedErrorMessage();\r\n\r\n /**\r\n * Sets the title in the action bar.\r\n *\r\n * @param title title.\r\n */\r\n void showTitle(@NonNull String title);\r\n\r\n /**\r\n * Checks whether ACCESS_FINE_LOCATION permission is granted. If not, asks for it.\r\n *\r\n * @return if the permission is granted.\r\n */\r\n boolean checkCameraPermission();\r\n }\r\n\r\n interface HiveInfoView extends BaseView<HiveContract.Presenter> {\r\n\r\n /**\r\n * Displays or hide loading indicator.\r\n *\r\n * @param active true or false.\r\n */\r\n void setLoadingIndicator(final boolean active);\r\n\r\n /**\r\n * Shows the hive info.\r\n *\r\n * @param hive hive to show.\r\n */\r\n void showInfo(Hive hive);\r\n }\r\n\r\n interface Presenter extends BaseLoadDataPresenter {\r\n\r\n /**\r\n * Shows a snackbar showing whether a hive was successfully added or not.\r\n *\r\n * @param requestCode request code from the intent.\r\n * @param resultCode result code from the intent.\r\n * @param data intent data.\r\n */\r\n void result(int requestCode, int resultCode, Intent data);\r\n\r\n /**\r\n * Orders to open activity to record a hive.\r\n */\r\n void startNewRecording();\r\n\r\n /**\r\n * Opens activity to show the details of the given hive.\r\n *\r\n * @param recording recording.\r\n */\r\n void openRecordingsDetail(@NonNull Recording recording);\r\n\r\n /**\r\n * Deletes given recording.\r\n *\r\n * @param recording recording to delete.\r\n */\r\n void deleteRecording(@NonNull Recording recording);\r\n }\r\n}", "title": "" }, { "docid": "9c318b704d1d9d6457d0dd3e05a9b690", "score": "0.45484573", "text": "public void open() throws DbAmbitException {\n\r\n }", "title": "" }, { "docid": "177d15739228a5a33707dcec199eb7bf", "score": "0.45314234", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(MainActivity.this, RecordingArchiveActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "83ea98f6a55532afa7f8b2cce5cf2646", "score": "0.4525426", "text": "public void open() {\n \t\t\r\n \t}", "title": "" }, { "docid": "f21ff5db41689781823e1926c6b6fdbf", "score": "0.45180693", "text": "public void startReport(View view) {\n startActivity(reportIntent);\n }", "title": "" }, { "docid": "b98bc9493b6478c3cf2835345c83d947", "score": "0.45140436", "text": "public AttackRecord createAttackRecord() {\n\t\tAttackRecord record = new AttackRecord();\n\t\trecord.setAttack_id(attack_id);\n record.setSync_id(attack_id);\n if(SyncDevice.currentDevice()!=null)\n \trecord.setDevice(SyncDevice.currentDevice().getDeviceID());\n else\n \trecord.setDevice(UUID.randomUUID().toString());\n\t\trecord.setProtocol(protocol.toString());\n\t\trecord.setExternalIP(externalIP);\n\t\trecord.setLocalIP(client.getLocalAddress().getHostAddress());\n\t\trecord.setLocalPort(client.getLocalPort());\n\t\trecord.setWasInternalAttack(checkIfIsInternalAttack());\n\t\trecord.setRemoteIP(client.getInetAddress().getHostAddress());\n\t\trecord.setRemotePort(client.getPort());\n\t\trecord.setBssid(BSSID);\n\t\treturn record;\n\t}", "title": "" }, { "docid": "eb9e4ba4eac35cc826d5b2779307781c", "score": "0.45131752", "text": "ActivityRecord getActivityRecordById(long activityRecordId);", "title": "" }, { "docid": "99ae3cfb989e07de4c67a5648044d74a", "score": "0.45125735", "text": "@Override\n public void onClick(View v) {\n preferences.putString(PrefConstants.SOURCE, \"Physician\");\n Intent i = new Intent(getActivity(), GrabConnectionActivity.class);\n i.putExtra(\"TAB\", \"New\");\n startActivity(i);\n dialog.dismiss();\n }", "title": "" }, { "docid": "7a34877d9f285889c5edc5b1c079b44c", "score": "0.4505455", "text": "public abstract void open();", "title": "" }, { "docid": "7a34877d9f285889c5edc5b1c079b44c", "score": "0.4505455", "text": "public abstract void open();", "title": "" }, { "docid": "4476f21226cfad79063c98ab36dd8437", "score": "0.45041367", "text": "private void startRecording() {\r\n\r\n String gait = getGaitLabel();\r\n\r\n // save prev data if available\r\n try {\r\n if (dataFile == null) {\r\n try {\r\n long timestamp = System.currentTimeMillis();\r\n filename = gait + \"_\" + timestamp + \".csv\";\r\n dataFile = new File(dir, filename);\r\n Log.i(TAG, \"startRecording: file: \" + filename);\r\n writer = new FileWriter(dataFile, false);\r\n } catch (IOException e) {\r\n Log.e(TAG, \"startRecording: dataFile open status: \" + dataFile);\r\n }\r\n }\r\n else {\r\n Log.i(TAG, \"startRecording: dataFile is null on btnStart event ********\");\r\n }\r\n } catch (Exception e) {\r\n Log.e(TAG, \"Start failed: \");\r\n }\r\n\r\n sensorManager.registerListener(this, accelerometer, SensorManager.SENSOR_DELAY_FASTEST);\r\n }", "title": "" }, { "docid": "fcd8fc05212893b970e8147fb4daf896", "score": "0.45005015", "text": "public Record openMainRecord()\n {\n return new Request(this);\n }", "title": "" }, { "docid": "7b36685c6f5f9f4ad2d4551cc94639bb", "score": "0.44946605", "text": "@Override\n\tpublic void open()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "b736a9d88a0e8ea357b0a05c9175b77d", "score": "0.4488423", "text": "@Override\r\n\tpublic void open() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f46e61661515e176b9646dd96badc23", "score": "0.44876248", "text": "public void openJournal(View view){\r\n Intent journalIntent = new Intent(this, Journal.class);\r\n journalIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);\r\n startActivity(journalIntent);\r\n }", "title": "" }, { "docid": "1ccf012d6e855cc49f19f47b42298219", "score": "0.4485326", "text": "public void recordTransaction() throws IOException {\n BufferedWriter bw = null;\n FileWriter fw = null;\n try {\n fw = new FileWriter(\"MOBLIMA/Data/Transaction History.csv\", true);\n bw = new BufferedWriter(fw);\n\n bw.write(transactionID + \",\" + customerName + \",\" + String.valueOf(customerMobileNo) + \",\" + customerEmail + \",\" + movieName + \",\" + String.valueOf(cineplexID) + \",\" + String.valueOf(cinemaID) + \",\" + String.valueOf(transactionAmount) + \",\" + String.valueOf(quantity));\n\n bw.write(\"\\n\");\n } catch (IOException e) {\n\n e.printStackTrace();\n\n } finally {\n\n try {\n\n if (bw != null)\n bw.close();\n\n if (fw != null)\n fw.close();\n\n } catch (IOException ex) {\n\n ex.printStackTrace();\n\n }\n }\n }", "title": "" }, { "docid": "2238523ad221f3319e75cf19ce407dc9", "score": "0.44796118", "text": "public void timetableLayer(View aView) {\n Intent timetable = new Intent(this,Timetable.class);\n startActivity(timetable);\n }", "title": "" }, { "docid": "f70bb83ec1ddb5ac0b76a63073cba209", "score": "0.4478931", "text": "public void openWritableDb() throws SQLiteException {\n database = mHelper.getWritableDatabase();\n daoMaster = new DaoMaster(database);\n daoSession = daoMaster.newSession();\n asyncSession = daoSession.startAsyncSession();\n asyncSession.setListener(this);\n }", "title": "" }, { "docid": "8e6f0d0154ba82698aa0c8ca0c345a77", "score": "0.4473681", "text": "public void open() throws IOException\n {\n container.prepare(containerWrapper.getRecordPOs());\n }", "title": "" }, { "docid": "0b6bbcaf052dfb1e9a4e3700e93846af", "score": "0.44728062", "text": "public void openWritableDb() throws SQLiteException {\n daoMaster = new DaoMaster(database);\n daoSession = daoMaster.newSession();\n asyncSession = daoSession.startAsyncSession();\n asyncSession.setListener(this);\n }", "title": "" }, { "docid": "0b6bbcaf052dfb1e9a4e3700e93846af", "score": "0.44728062", "text": "public void openWritableDb() throws SQLiteException {\n daoMaster = new DaoMaster(database);\n daoSession = daoMaster.newSession();\n asyncSession = daoSession.startAsyncSession();\n asyncSession.setListener(this);\n }", "title": "" }, { "docid": "06b9dd53bf7338bcd54622f3f2bf50eb", "score": "0.44723102", "text": "public static void startRecord() {\r\n time = System.currentTimeMillis();\r\n }", "title": "" }, { "docid": "51756ffbea89779f718f18caa6353eef", "score": "0.44710267", "text": "private void startrecord() {\n startListening();\n startTime = SystemClock.uptimeMillis();\n timer = new Timer();\n MyTimerTask myTimerTask = new MyTimerTask();\n timer.schedule(myTimerTask, 1000, 1000);\n vibrate();\n }", "title": "" }, { "docid": "0afd966d634d332643916b47baad2ead", "score": "0.44703844", "text": "@RequiresApi(api = Build.VERSION_CODES.N)\r\n public void addNewRecord(View view)\r\n {\r\n Intent addRecordActivity = new Intent(RankMainActivity.this, AddRecord.class);\r\n addRecordActivity.putExtra(\"current_round_score\", current_score);\r\n startActivity(addRecordActivity);\r\n }", "title": "" }, { "docid": "24e413d5470a89365eb92e992062c097", "score": "0.44635385", "text": "public DcatRecordAdaptor(JsonRecord record) {\n super(record);\n this.record = record;\n }", "title": "" }, { "docid": "166cfcad3abe9cbea18ee4e17872e4be", "score": "0.44622457", "text": "@Override\n\tpublic void open() {\n\t\t\n\t}", "title": "" }, { "docid": "166cfcad3abe9cbea18ee4e17872e4be", "score": "0.44622457", "text": "@Override\n\tpublic void open() {\n\t\t\n\t}", "title": "" }, { "docid": "166cfcad3abe9cbea18ee4e17872e4be", "score": "0.44622457", "text": "@Override\n\tpublic void open() {\n\t\t\n\t}", "title": "" }, { "docid": "0f49f16bab41279220e0ba1df8edf237", "score": "0.44584614", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tmSoundRecorder.startRecording();\n\t\t\t\ttime = sDateFormat.format(new java.util.Date());\n filename = time + \".txt\";\n svFile = logData.createFile(filename);\n \t\t\ttimerset();\n \t\t\tLog.d(\"My::\",\"Start button listener.\");\n\t\t\t}", "title": "" }, { "docid": "2418b42221a622077499a661fcf09eb6", "score": "0.44579628", "text": "@Override\n\tpublic void recordAdhocTicketEntry() {\n\t\t\n\t}", "title": "" }, { "docid": "889969795322ef9f7cf19e1cc03d7563", "score": "0.4457442", "text": "public void onArrivedButtonClicked() throws IOException {\n screenController.openScreen(SAVELOT);\n }", "title": "" }, { "docid": "52923fda5eadcd82813936340fb8979f", "score": "0.44392538", "text": "public void openPlanner(View view){\r\n Intent plannerIntent = new Intent(this, Planner.class);\r\n plannerIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);\r\n startActivity(plannerIntent);\r\n }", "title": "" }, { "docid": "bd89ef0c73b74a77642173efe0f6c931", "score": "0.44353592", "text": "public void insert(Record record) {\n ContentValues values = new ContentValues();\n values.put(IRecord.RECORD_AVERAGE_PACE_COLUMN, record.getAveragePace());\n values.put(IRecord.RECORD_TIME_COLUMN, record.getTime());\n values.put(IRecord.RECORD_DATE_COLUMN, record.getDate());\n values.put(IRace.RACE_ID_COLUMN, record.getRaceId());\n Log.i(TAG, \"Inserting a new record\");\n super.insert(values);\n }", "title": "" }, { "docid": "7df1c078afefa3d11c47673edb5f635e", "score": "0.4434312", "text": "public void logEvent() {\n LandingScreen.pinpointManager.getSessionClient().startSession();\n final AnalyticsEvent event =\n LandingScreen.pinpointManager.getAnalyticsClient().createEvent(\"BakeryScores\")\n .withAttribute(\"Score\", String.valueOf(BakeryActivityOne.getScore()))\n .withMetric(\"DemoMetric1\", (double) BakeryActivityOne.getScore());\n LandingScreen.pinpointManager.getAnalyticsClient().recordEvent(event);\n LandingScreen.pinpointManager.getSessionClient().stopSession();\n LandingScreen.pinpointManager.getAnalyticsClient().submitEvents();\n\n }", "title": "" }, { "docid": "8a88798a26e71eddafa0f0a27d712442", "score": "0.4431141", "text": "void startRecording( boolean withBluetooth) {\n\t\t// create a File object for the parent directory\n\t\tFile snapDirectory = new File(\"/sdcard/cygx1/hablame/\");\n\t\t// have the object build the directory structure, if needed.\n\t\tsnapDirectory.mkdirs();\n\t\t\n\t\t\n\t\tif( getIntent().getAction() == Hablame.ACTION_RECORDING_START || sequenceNumber == -1) {\n\t\t\tfileNameBase = snapDirectory + File.separator + String.format(\"h%d\", System.currentTimeMillis());\n\t\t}\n\n\t\t// create a File object for the output file\n\t\tString path = fileNameBase + \"-\" + (++sequenceNumber) + \".3gp\";\n\t\tLog.d(getClass().getName(), \"File name = \" + path);\n\n\t\t// Update informational widgets\n\t\tif (withBluetooth) {\n\t\t\trecordingSource.setText(\"bluetooth\");\n\t\t} else {\n\t\t\trecordingSource.setText(\"built-in mic\");\n\t\t}\n\n\t audioManager.setBluetoothScoOn( withBluetooth);\n\n\t // could use setPreviewDisplay() to display a preview to suitable View here\n\t recorder.reset();\n\t recorder.setAudioSource(MediaRecorder.AudioSource.MIC);\n\t //\tRecording from bluetooth headset requires mono, 8kHz\n\t recorder.setAudioChannels( 1);\n\t recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);\n\t recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);\n\t recorder.setOutputFile( path);\n\n\t // Schedule a periodic timer to display the audio amplitude\n\t amplitudeHandler.removeCallbacks(updateRecordAmplitudeTask);\n\t amplitudeHandler.postDelayed(updateRecordAmplitudeTask, AMPLITUDE_UPDATE_FREQ);\n\t \n\t try {\n\t\t\trecorder.prepare();\n\t\t recorder.start();\t\t\t\t\n\t\t} catch (IllegalStateException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// Start the timer counting up\n\t\tclock.start();\n\n\t\tstate = STATE_RECORDING;\n }", "title": "" }, { "docid": "b84df666dc0a04f859e2dedabd0e85a1", "score": "0.44264805", "text": "public void startRecording(String sessionId) {\n }", "title": "" }, { "docid": "01258ccee246ee4b2b8a6d70df3bafa4", "score": "0.44258916", "text": "public static void createRecord() {\n fLogger.log(Level.OFF, \"RECORD CREATED\");\n }", "title": "" }, { "docid": "98ff4da98cf3230dd0af601962259370", "score": "0.44189155", "text": "public void startRecording() {\n\n Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);\n intent.putExtra(MediaStore.EXTRA_DURATION_LIMIT, 60);\n startActivityForResult(intent, VIDEO_CAPTURED);\n\n }", "title": "" }, { "docid": "6532989ba95317f695b4a61f237e726c", "score": "0.4416957", "text": "int insert(TBUserActivity record);", "title": "" }, { "docid": "117f022e457d0e42221cf38bbaac8865", "score": "0.44054297", "text": "public void open() { }", "title": "" }, { "docid": "1fa71e5e4c1b814021aaa097d107beaf", "score": "0.44050273", "text": "@Override\n public void open() {\n }", "title": "" }, { "docid": "c8cc9c3acb50ad5c64211099664d7c68", "score": "0.44005513", "text": "public LandInfoScreenRecord()\n {\n super();\n }", "title": "" }, { "docid": "76a52a8c95f623e6aa801930118338ea", "score": "0.4400458", "text": "public void open() {\r\n m_db = m_dbHelper.getWritableDatabase();\r\n\t}", "title": "" }, { "docid": "9a0595e9c71a0ac17ab6852965d00589", "score": "0.43862465", "text": "public void openActionLog(View view){\n\n Intent intent = new Intent(this, ActionLogPopup.class);\n //Never read response code so it doesn't matter\n startActivityForResult(intent,RESULT_CANCELED);\n\n }", "title": "" }, { "docid": "1f5247a6233161d6fc569529923746c4", "score": "0.43752745", "text": "EncounterActivity createEncounterActivity();", "title": "" }, { "docid": "752e3647023de06773077c25ab50840c", "score": "0.43725556", "text": "@Override\n public void open() {\n }", "title": "" }, { "docid": "93141870439b2e370378c7e261432901", "score": "0.43708724", "text": "@Override\n public void onClick(View v) {\n Intent i = new Intent(getActivity(), ExerciseLogActivity.class);\n startActivity(i);\n }", "title": "" }, { "docid": "c737d92dbd0d94790b3dcb77aefe1eda", "score": "0.43685433", "text": "private void openMapActivity()\n {\n Intent mapActivityIntent = new Intent(TripInfoActivity.this, MapsActivity.class);\n\n mapActivityIntent.putExtra(BUNDLE_DATA, bundleData);\n\n startActivity(mapActivityIntent);\n\n }", "title": "" }, { "docid": "2c82b605eea47ede77e8465eb03e075a", "score": "0.43651867", "text": "public void addRecordFromAdd(View view) {\n // Create an intent object containing the bridge to between the two activities\n Intent intent = new Intent(EditProblem.this, AddorEditRecordView.class);\n intent.putExtra(\"ProblemTitle\",problem.getTitle());\n // Launch the activity\n startActivityForResult(intent, 1);\n }", "title": "" }, { "docid": "899ba3aced1a5eaad35ef56ab1077978", "score": "0.436123", "text": "public CaseStudy (String loc, Context context){\n this.location = loc;\n this.hist = new History();\n this.context = context;\n this.type = \"DISK\";\n this.cacheJSON();\n this.PRIMARY_KEY = CaseStudy.addCaseStudy(this.id, this.getJSONName(), this.getJSONDesc(), loc, this.type);\n //this.load(); //load data from the database\n }", "title": "" }, { "docid": "0a9c45eb075ccb90a6d4e7ee524fa72c", "score": "0.43598875", "text": "void open() throws Throwable {\n if (globals.rintf == null) {\n // globals.rintf = new JdbcRestore();\n globals.rintf = new HibRestore(globals.config.getDebug());\n globals.rintf.init(globals);\n globals.rintf.open();\n }\n \n if (globals.config.getFrom2p3px()) {\n // System prefs are set up by run time pars\n \n globals.rintf.restoreSyspars(globals.syspars);\n \n // Ensure timezones get saved\n globals.getTzcache();\n }\n }", "title": "" }, { "docid": "03b5068031882d508f48571f285939da", "score": "0.4351854", "text": "public void openReadableDb() throws SQLiteException {\n database = mHelper.getReadableDatabase();\n daoMaster = new DaoMaster(database);\n daoSession = daoMaster.newSession();\n asyncSession = daoSession.startAsyncSession();\n asyncSession.setListener(this);\n }", "title": "" }, { "docid": "81684a637e017d056951fe46454c8613", "score": "0.4346279", "text": "@Override\r\n\t\tpublic void onClick(View arg0) {\n\t\t\tIntent intent = new Intent(KdbDetailActivity.this,\r\n\t\t\t\t\tTenderConstructionActivity.class);\r\n\t\t\tintent.putExtra(\"type\", \"kdb\");\r\n\t\t\tKdbDetailActivity.this.startActivity(intent);\r\n\t\t}", "title": "" }, { "docid": "b86a5e6947bb662dab98045ecd243194", "score": "0.4340743", "text": "public ActorInfoRecord() {\n super(ActorInfo.ACTOR_INFO);\n }", "title": "" }, { "docid": "c5a9a7c291b4d70f7457487ecded0ad9", "score": "0.43398538", "text": "public Hashtable getRecord( String target )\n {\n return execute( \"getRecord\", target );\n }", "title": "" } ]
e8d339fcabe285a7202018a68a129f24
Get the relative probability of observation of this action for the given RelationshipType.
[ { "docid": "03fc29b356d533015274ff3388e40f7c", "score": "0.8256112", "text": "public Double getRelativeProbabilityGiven(RelationshipType relationshipType) {\n\t\treturn relativeObservationDistribution.get(relationshipType);\n\t}", "title": "" } ]
[ { "docid": "8e899252cd00cb3b2f39f1c43ffcbca0", "score": "0.6293693", "text": "public double getProbability() {\n\t\tif(parents != null) {\n\t\t\t// Constructing bit vector to contain values of parents\n\t\t\tBitVector event = new BitVector(parents.length+1);\n\t\t\tfor(int i=0;i<parents.length;i++) {\n\t\t\t\tevent.set(i, parents[i].getValue());\n\t\t\t}\n\t\t\tevent.set(parents.length, true);\n\t\t\t//Applying bit vector to obtain cpt output\n\t\t\treturn cpt.getWeight(event);\n\t\t}\n\t\telse {\n\t\t\tBitVector event = new BitVector(1);\n\t\t\tevent.set(0, true);\n\t\t\treturn cpt.getWeight(event);\n\t\t}\n\t}", "title": "" }, { "docid": "451ed8f69b15db6bb306ae35c94a5ee4", "score": "0.59758025", "text": "public Map<RelationshipType, Double> getProbabilities() {\n\t\treturn this.relativeObservationDistribution;\n\t}", "title": "" }, { "docid": "0ab0eecc4b1d48514c1c7a12aa35acb3", "score": "0.58729243", "text": "public java.lang.Integer getProbability() {\r\n return probability;\r\n }", "title": "" }, { "docid": "ea3dcd53ca6df9d1b55cedc2dc28e4f0", "score": "0.58452415", "text": "public Integer getProbability() {\r\n return probability;\r\n }", "title": "" }, { "docid": "fd29080873949d62e4267bd3401a2280", "score": "0.58067757", "text": "double getProbability();", "title": "" }, { "docid": "a7afe96558e705a7a61601f7da45522e", "score": "0.57183343", "text": "@java.lang.Override\n public double getProbability() {\n return probability_;\n }", "title": "" }, { "docid": "9e04840a0af938133855279d66e82074", "score": "0.56851095", "text": "@java.lang.Override\n public double getProbability() {\n return probability_;\n }", "title": "" }, { "docid": "16b88ede7bce222042ba5930684366c4", "score": "0.5682169", "text": "public double probability() {\r\n \treturn probability;\r\n }", "title": "" }, { "docid": "5f786d4a8ee2064f44090514b02cae56", "score": "0.5563946", "text": "BigDecimal getEstimatedProbability();", "title": "" }, { "docid": "3ea05ee9e9cb111e35794f06e17f0fef", "score": "0.5554893", "text": "public Double getProbability() {\n Object o = getLabel(TransitionLabelType.PROBABILITY_LABEL);\n if (o == null) {\n return null;\n }\n assert (o instanceof Double);\n return (Double) o;\n }", "title": "" }, { "docid": "34567cbfdfa24b5b8e6c0f1c942893ed", "score": "0.55267745", "text": "public TipoChance getTipoChance() {\r\n\t\treturn tipoChance;\r\n\t}", "title": "" }, { "docid": "240a5764803fe52ad99f7c3821a4b2d0", "score": "0.5415748", "text": "public int calculateChance() {\n\t\tRandom randomGenerator = new Random();\n\t\tint chance = randomGenerator.nextInt(101);\n\t\treturn chance;\n\t}", "title": "" }, { "docid": "1ee0f0b60662567cfda5501db7f21d4b", "score": "0.54115975", "text": "float getProbabilityUttered();", "title": "" }, { "docid": "99732b6de3831fd02f44a0a11b698cbe", "score": "0.5379024", "text": "public double getProbability() {\n\t\tdouble sum = 0.0;\n\t for(int state = 0; state < this.alpha.length; state++) {\n\t \tsum += this.alpha[state][this.alpha[0].length-1];\n\t }\n\t return sum;\n\t}", "title": "" }, { "docid": "18418f97720034169b0493c99725433d", "score": "0.53549963", "text": "public final double Probability(double x)\r\n\t{\r\n\t\tdouble p = 0.0;\r\n\t\tdouble totWeights = 0.0;\r\n\t\tdouble freq;\r\n\t\tfor (double val : histogram.GetValues())\r\n\t\t{\r\n\t\t\tfreq = histogram.GetFreq(val);\r\n\t\t\tp += freq * ns.pNorm(x, val, s);\r\n\t\t\ttotWeights += freq;\r\n\t\t}\r\n\t\tif (totWeights == 0)\r\n\t\t{\r\n\t\t\treturn 0.0;\r\n\t\t}\r\n\t\treturn p / totWeights;\r\n\t}", "title": "" }, { "docid": "b2ab1b8b455b7f3fb43b58bebfdb757f", "score": "0.52307016", "text": "public void incrProbability() {\n\t\tthis.setProbability(this.getProbability() + 1);\n\t}", "title": "" }, { "docid": "2f53cd566547d966b703e87744386f43", "score": "0.52205133", "text": "public double probabilityOf(ActionEvent validDescriptionUnit, ActionROD actionKnowledge) throws Exception;", "title": "" }, { "docid": "cc976047082c3db9ad1fbbb7f0621ff6", "score": "0.52156436", "text": "public double getProb () {\n \n double a = this.occurrencies;\n double b = this.prec_occurrencies;\n double res = a/b;\n \n res = Math.round(res * 1000);\n res = res/1000;\n return res;\n }", "title": "" }, { "docid": "fec0e9cc6273d566b3d92806597c1b5e", "score": "0.5184574", "text": "public static double cost(int type){\n switch(type){\n case 0: return ADULT;\n case 1: return SENIOR;\n case 2: return CHILD;\n default : return 0;\n }\n }", "title": "" }, { "docid": "c252c4aaa8d84b78c9e00b1a9433e8e8", "score": "0.5179923", "text": "public double getRatio(ParticipantEntity participantEntity){\n if(participantEntity.getDeaths()!=0){\n return ((double) participantEntity.getKills() +\n (double) participantEntity.getAssists()) /\n (double) participantEntity.getDeaths();\n } else{\n return -1;\n }\n }", "title": "" }, { "docid": "8c7e4fbf0f0ff76951ae00769ed9b2ff", "score": "0.5146616", "text": "public int getProbability() {\r\n\t\tint probability = 100;\r\n\t\t\r\n\t\tif (speed <= 0) // invalid GPS data\r\n\t\t{\r\n\t\t\tif (this.name.equals(\"driving\") || this.name.equals(\"biking\"))\r\n\t\t\t\tprobability = probability - 40;\r\n\t\t\t// interprets acceleration data\r\n\t\t\tif (accelDependent && Math.abs(avgAcc - acceleration) > accDev)\r\n\t\t\t{\r\n\t\t\t\tif (acceleration > maxAcc || acceleration < minAcc)\r\n\t\t\t\t{\r\n\t\t\t\t\t// activity is not within range so it's unlikely\r\n\t\t\t\t\tprobability = probability - 30;\r\n\t\t\t\t}\r\n\t\t\t\telse if (Math.abs(avgAcc - acceleration) < accDev*1.5)\r\n\t\t\t\t{\r\n\t\t\t\t\tprobability = probability - 5;\r\n\t\t\t\t}\r\n\t\t\t\telse if (Math.abs(avgAcc - acceleration) < accDev*2)\r\n\t\t\t\t{\r\n\t\t\t\t\tprobability = probability - 10;\r\n\t\t\t\t}\r\n\t\t\t\telse if (Math.abs(avgAcc - acceleration) < accDev*2.5)\r\n\t\t\t\t{\r\n\t\t\t\t\tprobability = probability - 15;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tprobability = probability - 20;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// interprets sound data\r\n\t\t\tif (noiseDependent && Math.abs(avgDb - dB) > noiseDev)\r\n\t\t\t{\r\n\t\t\t\tif (dB > maxDb || dB < minDb)\r\n\t\t\t\t{\r\n\t\t\t\t\t// activity is not within range so it's unlikely\r\n\t\t\t\t\tif ((this.name).equals(\"talking\") || (this.name).equals(\"shouting\"))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tprobability = 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tprobability = probability - 30;\r\n\t\t\t\t}\r\n\t\t\t\telse if (Math.abs(avgDb - dB) < noiseDev*1.5)\r\n\t\t\t\t{\r\n\t\t\t\t\tprobability = probability - 5;\r\n\t\t\t\t}\r\n\t\t\t\telse if (Math.abs(avgDb - dB) < noiseDev*2)\r\n\t\t\t\t{\r\n\t\t\t\t\tprobability = probability - 10;\r\n\t\t\t\t}\r\n\t\t\t\telse if (Math.abs(avgDb - dB) < noiseDev*2.5)\r\n\t\t\t\t{\r\n\t\t\t\t\tprobability = probability - 15;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tprobability = probability - 20;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// gives extra points if gyroscope data is within range\r\n\t\t\tif (gyroDependent)\r\n\t\t {\r\n\t\t\t\tif (gyroscope > minGyro && gyroscope < maxGyro)\r\n\t\t\t\t\tprobability = probability + 15;\r\n\t\t\t\telse if (gyroscope > minGyro)\r\n\t\t\t\t\tprobability = probability + 10;\r\n\t\t }\r\n\t\t\t\r\n\t\t\treturn probability;\r\n\t\t} // ends if statement\r\n\t\t// interprets speed data\r\n\r\n\t\tif (speedDependent && Math.abs(avgSpeed - speed) > speedDev)\r\n\t\t{\r\n\t\t\tif (speed > maxSpeed || speed < minSpeed)\r\n\t\t\t{\r\n\t\t\t\t// activity is not within range so it's unlikely\r\n\t\t\t\t//probability = probability - 40;\r\n\t\t\t\treturn 0;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgSpeed - speed) < speedDev*1.5)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 10;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgSpeed - speed) < speedDev*2)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 15;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgSpeed - speed) < speedDev*2.5)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 20;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgSpeed - speed) < speedDev*3)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 25;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tprobability = probability - 30;\r\n\t\t}\r\n\t\t\r\n\t\t// interprets acceleration data\r\n\t\tif (accelDependent && Math.abs(avgAcc - acceleration) > accDev)\r\n\t\t{\r\n\t\t\tif (acceleration > maxAcc || acceleration < minAcc)\r\n\t\t\t{\r\n\t\t\t\t// activity is not within range so it's unlikely\r\n\t\t\t\tprobability = probability - 30;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgAcc - acceleration) < accDev*1.5)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 5;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgAcc - acceleration) < accDev*2)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 10;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgAcc - acceleration) < accDev*2.5)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 15;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tprobability = probability - 20;\r\n\t\t}\r\n\t\t\r\n\t\t// interprets sound data\r\n\t\tif (noiseDependent && Math.abs(avgDb - dB) > noiseDev)\r\n\t\t{\r\n\t\t\tif (dB > maxDb || dB < minDb)\r\n\t\t\t{\r\n\t\t\t\t// activity is not within range so it's unlikely\r\n\t\t\t\tif ((this.name).equals(\"talking\") || (this.name).equals(\"shouting\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tprobability = 0;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tprobability = probability - 30;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgDb - dB) < noiseDev*1.5)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 5;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgDb - dB) < noiseDev*2)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 10;\r\n\t\t\t}\r\n\t\t\telse if (Math.abs(avgDb - dB) < noiseDev*2.5)\r\n\t\t\t{\r\n\t\t\t\tprobability = probability - 15;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tprobability = probability - 20;\r\n\t\t}\r\n\t\t\r\n\t\t// gives extra points if gyroscope data is within range\r\n\t\tif (gyroDependent)\r\n\t {\r\n\t\t\tif (gyroscope > minGyro && gyroscope < maxGyro)\r\n\t\t\t\tprobability = probability + 15;\r\n\t\t\telse if (gyroscope > minGyro)\r\n\t\t\t\tprobability = probability + 10;\r\n\t }\r\n\t\t\r\n\t\treturn probability;\r\n\t}", "title": "" }, { "docid": "e130d7c2b7b22b7e947254f70d1fa47e", "score": "0.51434106", "text": "public double probabilityCalculation(Tokensequence<K> nseq) {\n\t\t//a small test, maybe invalid and meaningless\n\t\tif (ngram.getBasicNgramProbModel().keySet().contains(nseq)) {\n\t\t\treturn (ngram.getBasicNgramProbModel().get(nseq).doubleValue());\n\t\t}\n\t\t\n\t\tint len = nseq.length();\n\t\tif (len == 1 || len == 2) {\n\t\t\treturn (gramArray[len].getBasicNgramProbModel().get(nseq).doubleValue());\n\t\t}\n\t\t\n\t\t//without smoothing\n\t\tdouble prob = 1.0;\n\n\t\tfor (int i = 0; i < maxN; i++) {\n\t\t\t\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < nseq.length(); i++) {\n\t\t\t//p(a1) * p(a1 a2) * p(a1 a2 a3) * p(a2 a3 a4) * ... * p(a_(n-2) a_(n-1) a_(n)) /\n\t\t\t//p(a1) * p(a1 a2) * p(a2 a3) * p(a3 a4) * p(a4 a5) * ... * p(a_(n-2) a_(n-1))\n\t\t}\n\t\t\n\t\treturn prob;\n\t}", "title": "" }, { "docid": "17932f9bb8098f420c8f56908f32690c", "score": "0.51162004", "text": "public double CalculRatePP(String type, double AnnualRate, Asset asset) throws Exception{\r\n\t\t\r\n\t\tdouble ratePP;\r\n\t\tif(type==\"proportional\"){\r\n\t\t\tratePP=AnnualRate/getNbPeriodsPY(asset);\r\n\t\t}\r\n\t\telse if(type==\"actuarial\"){\r\n\t\t\tratePP=Math.pow((1+AnnualRate), 1.0/getNbPeriodsPY(asset))-1;\r\n\t\t}\r\n\t\telse{\r\n\t\t\tthrow new Exception(\"no such type!\");\r\n\t\t}\r\n\t\treturn ratePP;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b7acb3a61f43ede823dc3b2814dfd789", "score": "0.5099205", "text": "public ActionROD(Map<RelationshipType,Boolean> likelyGivenRelationshipType, double ratioPermittedWithinROD) {\n\t\tthis.relativeObservationDistribution = ProbabilityMapUtility.createProbabilityMap(likelyGivenRelationshipType, ratioPermittedWithinROD);\n\t}", "title": "" }, { "docid": "69c471c5b4560063245aec4f2c08c78f", "score": "0.50966066", "text": "public abstract double get_atom_probability(int index);", "title": "" }, { "docid": "d18c11ba78b2faae2d145b735a2acc75", "score": "0.5063424", "text": "public double getNumberProbability() {\n return numberProb;\n }", "title": "" }, { "docid": "816b563ccd18f562fad0318db2f16d6c", "score": "0.5059513", "text": "public double getActionProbability(HuntState oldState, Position action) {\r\n\t\treturn this.probabilities.get(oldState).get(action);\r\n\t}", "title": "" }, { "docid": "db5bb063e4cde3d327950052dc5686d8", "score": "0.5058688", "text": "public java.lang.String getRelationshipType() {\r\n return relationshipType;\r\n }", "title": "" }, { "docid": "413f94cb6b6c27827254a7a0ce655ce1", "score": "0.50360996", "text": "public double getPercentProgress()\n {\n return (_progress * 100.0) / _goaltime;\n }", "title": "" }, { "docid": "aa7d2c70822e9d19f95aecc159036f2f", "score": "0.50356805", "text": "private int getAveragePerSkillType(SkillType type) {\n return (int) players.stream().mapToInt(player -> player.getSkill(type).map(Skill::getRating).orElse(0)).average().orElse(Double.NaN);\n }", "title": "" }, { "docid": "3d305341b819f6bfe626020720bcd04f", "score": "0.50351775", "text": "double probability(State observation, State previousState, State nextState, Action action);", "title": "" }, { "docid": "1785c3bb616ad6ee6fe1e70ca8be56f8", "score": "0.49897692", "text": "public String getRelationshipType() {\n\n\t\treturn relationshipType;\n\n\t}", "title": "" }, { "docid": "3b6d8f5e614035cc12516d9b72c7c0e8", "score": "0.49891657", "text": "public int getTradeRatio(int playerIndex, ResourceType type)\n\t{\n\t\t//Check the Map to see if they're connected to a port\n\t\t//map.getTradeRatio?\n\t\tCatanColor color = this.getPlayerColorByIndex(playerIndex);\n\t\t\n\t\tIterator<PortType> iter = map.GetPorts(color);\n\t\t\n\t\tint lowestRatio = 4;\n\t\t\n\t\twhile (iter.hasNext())\n\t\t{\n\t\t\tPortType port = iter.next();\n\t\t\tif (port == PortType.THREE && lowestRatio > 3) \n\t\t\t\tlowestRatio = 3;\n\t\t\telse if (PortType.MatchedResource(port, type))\n\t\t\t\tlowestRatio = 2;\n\t\t}\n\t\t\n\t\t//Otherwise return the default trade in value\n\t\treturn lowestRatio;\n\t}", "title": "" }, { "docid": "12497ced25c337f392ff6defafd13fad", "score": "0.4987053", "text": "public abstract double getPuissance();", "title": "" }, { "docid": "7e9b05f0bef82104a25b727788d769ce", "score": "0.4984399", "text": "@Nonnegative\n\tfloat getChance();", "title": "" }, { "docid": "ccd86dad53f200d2d0a82ef9fbc8a1b5", "score": "0.49549612", "text": "public double effectiveness_against(Type pokemon_type) {\n\t\tswitch (this.type)\n\t\t{\n\t\t\tcase NORMAL:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GHOST:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase FIGHTING:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase NORMAL:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\n\t\t\t\t\tcase FLYING:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase POISON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase BUG:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GHOST:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase PSYCHIC:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ICE:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DARK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FAIRY:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase FLYING:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FIGHTING:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase BUG:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ELECTRIC:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase POISON:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase POISON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GROUND:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GHOST:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FAIRY:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase GROUND:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FLYING:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tcase POISON:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase BUG:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ELECTRIC:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase ROCK:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FIGHTING:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FLYING:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GROUND:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase BUG:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\n\t\t\t\t\tcase ICE:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase BUG:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FIGHTING:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FLYING:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase POISON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\t\n\t\t\t\t\tcase GHOST:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase PSYCHIC:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DARK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FAIRY:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase GHOST:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase NORMAL:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GHOST:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase PSYCHIC:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DARK:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase STEEL:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase WATER:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ELECTRIC:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ICE:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FAIRY:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase FIRE:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase BUG:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase WATER:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ICE:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DRAGON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase WATER:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase GROUND:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase WATER:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DRAGON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase GRASS:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FLYING:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase POISON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GROUND:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ROCK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase BUG:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase WATER:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ELECTRIC:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DRAGON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase ELECTRIC:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FLYING:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GROUND:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase WATER:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ELECTRIC:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\n\t\t\t\t\tcase DRAGON:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase PSYCHIC:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FIGHTING:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase POISON:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase PSYCHIC:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DARK:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase ICE:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FLYING:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GROUND:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase WATER:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GRASS:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase ICE:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DRAGON:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase DRAGON:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DRAGON:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FAIRY:\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase DARK:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FIGHTING:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GHOST:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase PSYCHIC:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DARK:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FAIRY:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tcase FAIRY:\n\t\t\t\tswitch (pokemon_type)\n\t\t\t\t{\n\t\t\t\t\tcase FIGHTING:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase GROUND:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase STEEL:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase FIRE:\n\t\t\t\t\t\treturn 0.5;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DRAGON:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tcase DARK:\n\t\t\t\t\t\treturn 2;\n\t\t\t\t\t\t\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 1;\n\t\t\t\t}\n\t\t\t\t\n\t\t\tdefault:\n\t\t\t\tSystem.out.println(\"ERROR: POKEMON_TYPE: EFFECTIVENESS_AGAINST: MOVE_TYPE\");\n\t\t\t\treturn 1;\n\t\t}\n\t}", "title": "" }, { "docid": "c163ce7da4232d8e4c795c89186ad0d5", "score": "0.49511105", "text": "public double getRelation() {\n\t\treturn relation;\n\t}", "title": "" }, { "docid": "0e4057d0497c05a55d356ba9d45b08fc", "score": "0.49458212", "text": "public void setRelationshipType(java.lang.String relationshipType) {\r\n this.relationshipType = relationshipType;\r\n }", "title": "" }, { "docid": "ed9d35586543660075256fa29a056966", "score": "0.48878434", "text": "@Override\n protected int[] probabilityCalculator() { return new int[]{25, 25, 25}; }", "title": "" }, { "docid": "e706608a1cbc94fe16ae656d43692595", "score": "0.48861936", "text": "public Double ratioChorbiActivities() {\n\t\tfinal Double result = this.chorbiRepository.ratioChorbiActivities();\n\t\treturn result;\n\t}", "title": "" }, { "docid": "f6121c5360c99c276ee5d52ac63f9444", "score": "0.4881523", "text": "public double getShakeProbability() {\n int skillLevel = getSkillLevel();\n\n for (Tier tier : Tier.values()) {\n if (skillLevel >= tier.getLevel()) {\n return tier.getShakeChance();\n }\n }\n\n return 0.0;\n }", "title": "" }, { "docid": "e15f5d6337126d8ea28a97c1950f9bd6", "score": "0.48332304", "text": "@Override\n protected float getNormalizedProbability(int labelIndex) {\n return getProbability(labelIndex);\n }", "title": "" }, { "docid": "534965d686b946b56570da7a242caa3d", "score": "0.48255664", "text": "@Override\n\tpublic double recuperaRentabilidade() {\n\t\treturn 1+(percentual*taxa);\n\t}", "title": "" }, { "docid": "1420b20d06bff575151c903c17de291d", "score": "0.48162237", "text": "public int getPriorityForType(int type) {\n Integer priority;\n Map<Integer, Integer> map = this.typePriorities;\n if (map == null || (priority = map.get(Integer.valueOf(type))) == null) {\n return Integer.MAX_VALUE;\n }\n return priority.intValue();\n }", "title": "" }, { "docid": "7d1b2f691999eeacdbe05be62387e41a", "score": "0.48085976", "text": "public double getProbabilityThreshold()\n {\n return mProbabilityThreshold;\n }", "title": "" }, { "docid": "2ab8f8d2a21a6137f5490dc788631ce8", "score": "0.4793383", "text": "private int getGoalValue(ExternalizedStateProposition goalProposition){\n\t\tGdlRelation relation = (GdlRelation) goalProposition.getName();\n\t\tGdlConstant constant = (GdlConstant) relation.get(1);\n\t\treturn Integer.parseInt(constant.toString());\n\t}", "title": "" }, { "docid": "ca253704728ad27335d7ff392df2693d", "score": "0.475872", "text": "public static int getTargetPriority(RobotType type) {\n switch (type) {\n case TANK:\n return 6; // destroy the attackers/defenders first\n case SOLDIER:\n return 5; // destroy the attackers/defenders first\n case SCOUT:\n return 4; // destroy the attackers/defenders first\n case LUMBERJACK:\n return 3;\n case ARCHON:\n return 2;\n case GARDENER:\n return 1;\n default:\n return 0;\n }\n }", "title": "" }, { "docid": "7710cf14cc81b29c64b2c7ffca926dde", "score": "0.4753026", "text": "private int calculateScore(int expiresIn, int reward, String probability) {\n int score;\n if(probabilityScore.containsKey(probability)) {\n score = probabilityScore.get(probability);\n } else {\n //In case, probability is not in the PROBABILITY_SCORE Map, this means task is with corrupt probability\n // name, and non-existent Id. Assigning it minimum score so that it doesn't get selected over other valid tasks.\n return Integer.MIN_VALUE;\n }\n return score + (reward * REWARD_FACTOR) - (expiresIn * EXPIRY_FACTOR);\n }", "title": "" }, { "docid": "48e82d89c9aa48496081540b1f739295", "score": "0.47486663", "text": "public float getConceptPriority(Concept c){\n return c.getPriority();\n }", "title": "" }, { "docid": "69b9b9d0b6de2c0b07594b983a960001", "score": "0.4747431", "text": "public double getTransitionProbability(CellWorldPosition startingPosition,\n\t\t\tString actionDesired, CellWorldPosition endingPosition) {\n\n\t\tString firstRightAngledAction = determineDirectionOfActualMovement(\n\t\t\t\tactionDesired, 0.85);\n\t\tString secondRightAngledAction = determineDirectionOfActualMovement(\n\t\t\t\tactionDesired, 0.95);\n\n\t\tHashtable<String, CellWorldPosition> actionsToPositions = new Hashtable<String, CellWorldPosition>();\n\t\tactionsToPositions.put(actionDesired, moveFrom(startingPosition,\n\t\t\t\tactionDesired));\n\t\tactionsToPositions.put(firstRightAngledAction, moveFrom(\n\t\t\t\tstartingPosition, firstRightAngledAction));\n\t\tactionsToPositions.put(secondRightAngledAction, moveFrom(\n\t\t\t\tstartingPosition, secondRightAngledAction));\n\n\t\tHashtable<CellWorldPosition, Double> positionsToProbability = new Hashtable<CellWorldPosition, Double>();\n\t\tfor (CellWorldPosition p : actionsToPositions.values()) {\n\t\t\tpositionsToProbability.put(p, 0.0);\n\t\t}\n\n\t\tfor (String action : actionsToPositions.keySet()) {\n\t\t\tCellWorldPosition position = actionsToPositions.get(action);\n\t\t\tdouble value = positionsToProbability.get(position);\n\t\t\tif (action.equals(actionDesired)) {\n\t\t\t\tpositionsToProbability.put(position, value + 0.8);\n\t\t\t} else { // right angled steps\n\t\t\t\tpositionsToProbability.put(position, value + 0.1);\n\t\t\t}\n\n\t\t}\n\n\t\tif (positionsToProbability.keySet().contains(endingPosition)) {\n\t\t\treturn positionsToProbability.get(endingPosition);\n\t\t} else {\n\t\t\treturn 0.0;\n\t\t}\n\n\t}", "title": "" }, { "docid": "c712a9cc3820044b1e7f0ee54e614f75", "score": "0.47314784", "text": "private double probPromMeas(Node n ){\n\t\t\n\t\tdouble C1 = this.alpha;\n\t\tdouble C2 = 1-this.alpha;\n\t\tdouble probability = 0.0;\n\t\tdouble den = 0.0;\n\t\tdouble num = C1 * g.degree(n) + C2*neighboHoodDensity(n);\n\t\t\t\t\t\n\t\t\t// Get the neighbour of the current neighbour \n\t\t\tExtendedListIterable<Node> neighbours = g.adjacentNodes(n) ;\n\t\t\t\n\t\t\tfor(Node nn : neighbours){ \n\t\t\t\tden += C1*g.degree(nn) + C2*neighboHoodDensity(nn);\n\t\t\t}\n\t\t\t\n\t\t\tprobability = num / den;\n\t\t\n\t\treturn probability;\n\t}", "title": "" }, { "docid": "f7d4c0f664c02d0d14415d15ce5d3a04", "score": "0.47291815", "text": "public static int chance() {\n return 1;\n }", "title": "" }, { "docid": "f7d4c0f664c02d0d14415d15ce5d3a04", "score": "0.47291815", "text": "public static int chance() {\n return 1;\n }", "title": "" }, { "docid": "c1f89da09570e8c92886885d4659b90c", "score": "0.4722733", "text": "public double getRatio()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RATIO$18);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "title": "" }, { "docid": "29c3b0658b7287d1ca4e06dead75610d", "score": "0.47165996", "text": "public Byte getRelationType() {\n return relationType;\n }", "title": "" }, { "docid": "e6fb8a736a706a43f81b4e5df30ee4fa", "score": "0.47161135", "text": "public float getProximityPriority();", "title": "" }, { "docid": "edf60d53f92270d3ae152a141841179f", "score": "0.47009337", "text": "public String getType() {\n return relationshipName;\n }", "title": "" }, { "docid": "88a2109198dacd2c5b0de1b297f55cdc", "score": "0.46930006", "text": "@Override\n public Counter<L> logProbabilityOf(RVFDatum<L, F> example) {\n if (platt == null) {\n throw new UnsupportedOperationException(\"If you want to ask for the probability, you must train a Platt classify!\");\n }\n Counter<L> scores = scoresOf(example);\n scores.incrementCount(null);\n Counter<L> probs = platt.logProbabilityOf(new RVFDatum<L, L>(scores));\n //System.out.println(scores+\" \"+probs);\n return probs;\n }", "title": "" }, { "docid": "ac187ccd2aeb40a9b85bcff3af2188ba", "score": "0.46834558", "text": "public static double IndividualWeaponStrength(RavenBot pBot, RavenObject WeaponType) {\r\n\t\t//grab a pointer to the gun (if the bot owns an instance)\r\n\t\tRavenWeapon wp = pBot.getWeaponSys().getWeaponFromInventory(WeaponType);\r\n\r\n\t\tif (wp != null && wp.getWeaponType() != RavenObject.BLASTER)\r\n\t\t{\r\n\t\t\treturn wp.getRoundsRemaining() / wp.getMaxRounds();\r\n\t\t} else {\r\n\t\t\treturn 0.0;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f0a630e75344f800eb2c43f428bc3c3e", "score": "0.46793297", "text": "public float getProbability(WordSequence wordSequence);", "title": "" }, { "docid": "d92f21d07c0d34a55a60d0604985e939", "score": "0.46576878", "text": "public Double getWinProb() {\n\t\treturn winProb;\n\t}", "title": "" }, { "docid": "41be5aa3f71b494b882d151381b86e34", "score": "0.46506235", "text": "double probability(int itemIndex, int position) {\n Span span = new Span(itemIndex, position);\n Double p = probs.get(span);\n if (p != null) return p;\n \n double phi = model.getPhi();\n double p1 = Math.pow(phi, Math.abs(itemIndex - position)) * (1 - phi) / (1 - Math.pow(phi, itemIndex + 1));\n probs.put(span, p1);\n return p1;\n }", "title": "" }, { "docid": "3ac4e80d0114ae65a1f6b06442e8827c", "score": "0.465043", "text": "public void calculateProbabilities(Ant ant) {\n int i = ant.trail[currentIndex];\n double pheromone = 0.0;\n for (int l = 0; l < numberOfCities; l++) {\n if (!ant.visited(l)) {\n pheromone += Math.pow(trails[i][l], alpha) * Math.pow(1.0 / graph[i][l], beta);\n }\n }\n for (int j = 0; j < numberOfCities; j++) {\n if (ant.visited(j)) {\n probabilities[j] = 0.0;\n } else {\n double numerator = Math.pow(trails[i][j], alpha) * Math.pow(1.0 / graph[i][j], beta);\n probabilities[j] = numerator / pheromone;\n }\n }\n }", "title": "" }, { "docid": "b0c90ffc5a854edf38fca8dcad5b0c12", "score": "0.4646085", "text": "protected double getBreedingProbability() {\r\n \t\r\n \treturn 0.08;\r\n }", "title": "" }, { "docid": "5008896c4c474810012918cfad9f8d4b", "score": "0.4608096", "text": "protected double getProbabilty(){\n return infectProbability;\n }", "title": "" }, { "docid": "36fcfcf75cc9610a68aef4a36d2224c9", "score": "0.46055177", "text": "public float getProbabilityUttered() {\n return probabilityUttered_;\n }", "title": "" }, { "docid": "22b582937bafa3a661d6569af132ab04", "score": "0.45976385", "text": "public double getPriority()\r\n\t{\r\n\t\treturn this.priority;\r\n\t}", "title": "" }, { "docid": "dbcfabf8d57e08c0be8ae2863560852b", "score": "0.45956764", "text": "public float getProbabilityUttered() {\n return probabilityUttered_;\n }", "title": "" }, { "docid": "65d3d4620c099250dca84efe702cf5aa", "score": "0.45919925", "text": "public Double getDrawProb() {\n\t\treturn drawProb;\n\t}", "title": "" }, { "docid": "b1dce3ce59ad86ba785e2acae4e32a00", "score": "0.45910674", "text": "public double getGenderProbability() {\n return genderProb;\n }", "title": "" }, { "docid": "e587a3388ed5ecd5d90ab704581ed780", "score": "0.4586942", "text": "public double getPrayerMultiplier() {\n\t\tif (!isActivated())\n\t\t\treturn 1;\n\t\tint aura = player.getEquipment().getAuraId();\n\t\tswitch (aura) {\n\t\tcase 22905: // Corruption.\n\t\tcase 22899: // Salvation.\n\t\tcase 23848: // Harmony.\n\t\t\treturn 1.01;\n\t\tcase 22907: // Greater corruption.\n\t\tcase 22901: // Greater salvation.\n\t\tcase 23850: // Greater harmony.\n\t\t\treturn 1.015;\n\t\tcase 22909: // Master corruption.\n\t\tcase 22903: // Master salvation.\n\t\tcase 23852: // Master harmony.\n\t\t\treturn 1.02;\n\t\tcase 23874: // Supreme corruption.\n\t\tcase 23876: // Supreme salvation.\n\t\tcase 23854: // Supreme harmony.\n\t\t\treturn 1.025;\n\t\t}\n\t\treturn 1.0;\n\t}", "title": "" }, { "docid": "3830c8168d6e9f2255a7ce4c9a0f6210", "score": "0.45859295", "text": "public int getGoalType() { return goalType; }", "title": "" }, { "docid": "73286bd8f8c30d92b17bc0e8e58ea7b9", "score": "0.45680743", "text": "private static Priority getPriority() {\n\t\tSystem.out.println(\"Priority:\");\n\t\tSystem.out.println(\"1. Normal\");\n\t\tSystem.out.println(\"2. Urgent\");\n\t\tif (readInt(2) == 1)\n\t\t\treturn Priority.NORMAL;\n\t\telse return Priority.URGENT;\n\t}", "title": "" }, { "docid": "031130f1719feb64e4dc9ea0e407ebfb", "score": "0.45636263", "text": "public double costsPerPerson() {\n return costs()/amountOfPeople;\n }", "title": "" }, { "docid": "b379b1258418cf6a203bd40fd625cb05", "score": "0.45552897", "text": "private double getLengthProbability(Integer length, double alpha) {\n\t\t\n\t\tdouble cnt=0;\n\t\tif (this.lengthCounts.containsKey(length)) {\n\t\t\tcnt = this.lengthCounts.get(length);\n\t\t}\n\t\t\n\t\tdouble v = this.lengthCounts.size();\n\t\t\n\t\t\n\t\treturn (cnt+alpha)/(this.D+alpha*v);\n\t}", "title": "" }, { "docid": "15eb582075779c206e577269ee24648e", "score": "0.4553471", "text": "public ActionROD(Map<RelationshipType,Double> relativeObservationDistribution) {\n\t\tthis.relativeObservationDistribution = relativeObservationDistribution;\n\t}", "title": "" }, { "docid": "088b0ee35af87519bffe7beb5241e5ff", "score": "0.45533907", "text": "public Prob prob()\n\t{\n\n\t\tProb p = new Prob(1, 1);\n\t\tBoard par = this.parent;\n\t\twhile (par != null) {\n\t\t\tp.mul(new Prob(1, par.n_kids));\n\t\t\tpar = par.parent;\n\t\t}\n\t\treturn p;\n\t}", "title": "" }, { "docid": "7af09c9201a1a6b98506bea02d8cd8c6", "score": "0.4552963", "text": "public Number getPriority() {\n return (Number) getAttributeInternal(PRIORITY);\n }", "title": "" }, { "docid": "d1bdff4b3c544bd6639c92fa3a31c770", "score": "0.45499945", "text": "public double jointProbability(Scope projection, int[] variableAssignment, Scope observedVariables, int[] observation);", "title": "" }, { "docid": "aa1542df877b988cfd580d2e23eb8821", "score": "0.45347992", "text": "@Override\n public Counter<L> logProbabilityOf(Datum<L, F> example) {\n if (platt == null) {\n throw new UnsupportedOperationException(\"If you want to ask for the probability, you must train a Platt classify!\");\n }\n Counter<L> scores = scoresOf(example);\n scores.incrementCount(null);\n Counter<L> probs = platt.logProbabilityOf(new RVFDatum<L, L>(scores));\n //System.out.println(scores+\" \"+probs);\n return probs;\n }", "title": "" }, { "docid": "9614ed9f416a11d8e69d1ae7715f0ab4", "score": "0.4534778", "text": "public double getSatisfiedPercent()\n {\n return satisfiedPercent;\n }", "title": "" }, { "docid": "20f19ed9f0ad3ed592e7c37dfdd16f63", "score": "0.4529424", "text": "@Override\n\tpublic int getDelta(int histogramType) {\n\t\tint res;\n\t\tif (histogramType == EmbeddedValidation.HISTOGRAM_TYPE_C) {\n\t\t\tres = -1;\n\t\t} else {\n\t\t\tres = 1;\n\t\t}\n\t\treturn res;\n\t}", "title": "" }, { "docid": "c9c1da127e8cf3ab8e0dda0d8bbf7bbc", "score": "0.45286828", "text": "double jointProbability(Scope projection, int[] variableAssignment);", "title": "" }, { "docid": "c1c189bf987488c3eb5ba40a4deeeb8a", "score": "0.4524781", "text": "public BigDecimal getAppointmentRequestedTimePercent() {\n return appointmentRequestedTimePercent;\n }", "title": "" }, { "docid": "48b5ae55bada9dc35b53ad7a10eac405", "score": "0.4520088", "text": "public int getPriorityRating() {\n\t\treturn priorityRating;\n\t}", "title": "" }, { "docid": "f9bd86fb25f338e095b46c4fd1aad756", "score": "0.45022297", "text": "public abstract double get_upper_probability_from_base(double p);", "title": "" }, { "docid": "0646f738d370834c98a24c5211a7392a", "score": "0.44975087", "text": "float getUpgradeProb();", "title": "" }, { "docid": "6e03446edcd51a13c66fbe5629224393", "score": "0.44827837", "text": "public Number getGoalWeight() { return new Integer(weight); }", "title": "" }, { "docid": "55f88fabdab8cc5e8f31820ea6e9a754", "score": "0.44800174", "text": "public BigDecimal getPERCENTAGE() {\r\n return PERCENTAGE;\r\n }", "title": "" }, { "docid": "228ed6dde9bae11126ba70ad4c29ff10", "score": "0.44740486", "text": "@Override\n protected double getBreedingProbability() {\n return (propertiesFile.getIntTransformed(\"rabbit-BREEDING_PROBABILITY\"));\n }", "title": "" }, { "docid": "ce5734fbcea8ec656553354735da97a6", "score": "0.44435796", "text": "public void setGoalType(int pType) {\n goalType = pType;\n }", "title": "" }, { "docid": "76b72ce560c5accdf5ae2c8563446554", "score": "0.443697", "text": "public double getRatio() {\r\n return ratio;\r\n }", "title": "" }, { "docid": "43b73ca755a158df0ecbbcf0242e6e67", "score": "0.4431415", "text": "public int getPercentage()\n\t{\n\t\treturn _percentage;\n\t}", "title": "" }, { "docid": "c2db51f5a504d00a008ebdb52ea87de0", "score": "0.44306445", "text": "public Number getCommissionPct() {\r\n return (Number) getAttributeInternal(COMMISSIONPCT);\r\n }", "title": "" }, { "docid": "55251a9ecd65579aef9661dd1e3166dc", "score": "0.4429206", "text": "private Double aggregatedPreference(List<ClassProperties> ancestors) {\n Double weightedSumOfPreferences = ancestors.stream()\n .map(a -> a.getConfidence() * a.getPreference())\n .reduce((a1, a2) -> a1 + a2).orElse(0D);\n Double sumOfConfidences = ancestors.stream()\n .map(ClassProperties::getConfidence)\n .reduce((c1, c2) -> c1 + c2).orElse(0D);\n return weightedSumOfPreferences / sumOfConfidences;\n }", "title": "" }, { "docid": "5fa511dcc97e16fb4af85fb5335fc8fb", "score": "0.442878", "text": "public double getRandProb(double MEAN){\n double VARIANCE = 0.119; //0.119, (PBWS) 0.0216\n double result = 1 - getGaussian(MEAN, VARIANCE);\n if(result<0)\n {\n result = 1 - getGaussian(MEAN, VARIANCE);\n \n }\n return result;\n }", "title": "" }, { "docid": "0dc6ded6deaaff02e65ef9f4b125a2fe", "score": "0.44254476", "text": "public AttractionType getAttractionType() {\n return attractionType;\n }", "title": "" }, { "docid": "1f26d9450131d1d16ddcef441347a92b", "score": "0.44253978", "text": "public int getPercentage() {\n\t\treturn percentage;\n\t}", "title": "" }, { "docid": "e63f005ea6a4e0fc2c3fb3b070758758", "score": "0.44225532", "text": "@Override\n\tpublic <T> Relation<T> getRelation(RelationType<T> rType)\n\t{\n\t\treturn rContext != null ? rContext.getRelation(rType)\n\t\t\t\t\t\t\t\t: super.getRelation(rType);\n\t}", "title": "" }, { "docid": "6967c2bc5791063ff0487121f1113dc5", "score": "0.44152465", "text": "public int scoreChance()\n {\n return scoreCard.addToLowerScore(YahtzeeScoreTypes.CHANCE, theseDice);\n }", "title": "" } ]
f44cfb2d5282835ac16a43d3fc9981ca
Remove a student from the course
[ { "docid": "659819d6caa328661310c851e85475a7", "score": "0.6487773", "text": "public boolean removeStudent(int i) {\n\t\tif (i >= studentList.size())\n\t\t\treturn false;\n\t\tstudentList.remove(i);\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "b872f3f10d44d0049fa01b2c3271d860", "score": "0.80932903", "text": "public String removeFromCourse() {\n Students toRemove = sEJB.readOne(studentId);\n List<Students> attending = course.getStudentsList();\n attending.remove(toRemove);\n course.setStudentsList(attending);\n course = cEJB.upsert(course);\n return \"course.xhtml?id=\" + courseId + \"&faces-redirect=true\";\n }", "title": "" }, { "docid": "84f26226bc71059445ee65764d6e5d2e", "score": "0.7856859", "text": "@Override\r\n\tpublic void removeStudent(Long idStudent) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f1234eed611280a75c053aa6f26fbd0d", "score": "0.775542", "text": "public void delStudent(Student stu) {\n\n\t}", "title": "" }, { "docid": "a2facfb6cd5d0619523e75b35a194cd2", "score": "0.7617432", "text": "public void dropStudent(Student student) {\n //TODO: Remove the given student from the students array and any courses, if appropriate\n int index = -1;\n boolean flag = false;\n for (int i=0;i<this.students.length;i++){\n if (this.students[i]==student){\n index = i;\n flag = true;\n break;\n }\n }\n if (flag) {\n for (int i=index;i<this.students.length-1;i++){\n this.students[i] = this.students[i+1];\n }\n this.students[this.students.length-1] = null;\n }\n try {\n for (Course c: this.courses){\n c.dropStudent(student);\n }\n } catch (Exception e){\n\n }\n }", "title": "" }, { "docid": "86b848fc6267e55adda12413f0645996", "score": "0.7613823", "text": "public void deleteStudent( Student student ) throws RDException;", "title": "" }, { "docid": "12ddf33f91359ed64564009e442cc9cc", "score": "0.76066554", "text": "public void deleteStudent() {\n\t\tSystem.out.println(\"--- Delete student ---\");\n\t\tSystem.out.print(\"Input the ID: \");\n\t\ttry {\n\t\t\tint id = Integer.parseInt((scanner.nextLine()));\n\t\t\tif (id > 0 && id < 10000) {\n\t\t\t\tfor(int i=0; i<this.studentList.size(); i++) {\n\t\t\t\t\tif(this.studentList.get(i).getId() == id) {\n\t\t\t\t\t\tthis.studentList.remove(i);\n\t\t\t\t\t\ti--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse\n\t\t\t\tthrow new Exception();\n\t\t\t\n\t\t}catch(Exception e) {\n\t\t\tSystem.out.println(\" > Invalid id!\");\n\t\t}\n\t}", "title": "" }, { "docid": "d81c7a00c6defaa855a04aa526ce06b3", "score": "0.7551436", "text": "@Override\r\n\tpublic void remove(Student student) {\n\t\tif(student==null) {\r\n\t\t\tthrow new IllegalArgumentException();\r\n\t\t\t}\r\n\t\tStudent[] extralist=new Student[students.length-1];\r\n\t\tint index=0;\r\n\t\tfor(int i=0;i<students.length;i++)\r\n\t\t{\r\n\t\t\tif(students[index].compareTo(student)==0)\r\n\t\t\t{remove(i);\r\n\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tthrow new IllegalArgumentException(\"student does not exist\");\r\n\t}", "title": "" }, { "docid": "42d54a85dab537da6354bc5f9d3bba2d", "score": "0.74796367", "text": "public void removeReg(Student student) {\r\n registeredStud.remove(student);\r\n vacancy++;\r\n }", "title": "" }, { "docid": "c44bd275f4802c6549ac94b4c3a4d9c6", "score": "0.74784535", "text": "@Override\r\n\tpublic void remove(Student student) throws IllegalArgumentException{\n\t\tint index=-1;\r\n\t\tif(student==null)\r\n\t\t\tthrow new IllegalArgumentException(\"Student not exist\");\r\n\t\t for (int i = 0; i < students.length; i++) {\r\n if (students[i].equals(student)) {\r\n index = i;\r\n break;\r\n }\r\n }\r\n\t\tint shift = 0; \r\n for (int i = 0; i < students.length; i++) { \r\n if (shift < index && i == index) // i-th item needs to be removed\r\n shift++; // increment `shift`\r\n else \r\n students[i - shift] = students[i]; // move i-th item `shift` positions left\r\n }\r\n for (int i = students.length - shift; i < students.length; i++)\r\n students[i] = null; \r\n\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cf9c0d129f71749c611a0d512c15f267", "score": "0.74347705", "text": "public void deleteStudent(String student_ID);", "title": "" }, { "docid": "dba673a2876bb224821385ee49194297", "score": "0.7376648", "text": "@Test\n public void testRemove_Student() {\n System.out.println(\"remove\");\n Student student = null;\n Course instance = new Course();\n instance.remove(student);\n }", "title": "" }, { "docid": "72de91e88a70151cca8a78863404c819", "score": "0.7334048", "text": "public void dropStudent(Student student)throws DropFromCourseException{\n //TODO: Remove student from Course, if possible\n if (student == null){\n throw new DropFromCourseException(\"Cannot drop a null student\");\n }\n boolean checker = true;\n for (int i = 0; i < boundary; i++){\n if (students[i] != null && student.equals(students[i])){\n students[i] = students[boundary-1];\n students[boundary-1] = null;\n checker = true;\n boundary--;\n break;\n } else{\n checker = false;\n }\n }\n if (checker == false){\n throw new DropFromCourseException(\"Student not found\");\n }\n }", "title": "" }, { "docid": "aba454f37c11e02de03d8747e5f98e8a", "score": "0.73136425", "text": "void delete(Students student);", "title": "" }, { "docid": "f1f8d90c223da17108f388b0a2d40669", "score": "0.7308468", "text": "public void removeStudent(String studentName) {\n if (students.contains(studentName)) {\n students.remove(studentName);\n System.out.println(studentName + \" was un-enrolled from \" + this.name);\n\n } else {\n System.out.println(studentName + \" was not found in \" + this.name);\n }\n }", "title": "" }, { "docid": "56a2dfa511700bde803929afbcae5832", "score": "0.72966474", "text": "void deleteStudentById(Long id);", "title": "" }, { "docid": "05a36626ce09e8ead2c2adac063477dc", "score": "0.728961", "text": "public boolean remove(Student s)\r\n\t{\r\n\t\tif (numStudents == 0)\r\n\t\t\tSystem.out.println(\"Cannot remove student from empty list!\");\r\n\t\t\r\n\t\telse\r\n\t\t{\r\n\t\t\r\n\t int x; \r\n\t\t x = this.find(s);\r\n\t\t \r\n\t\t // if find() returns anything other than -1, gives students[x] the value of students[x+1] and so on\r\n\t\t if (x != NOT_FOUND)\r\n\t\t {\r\n\t for(int j = x; j < students.length - 1; j++)\r\n\t\t\t {\r\n\t students[j] = students[j + 1];\r\n\t }\r\n\t \r\n\t String studentInfo = s.toString();\r\n\t\t \t String delims = \" \";\r\n\t\t \t String[] tokens = studentInfo.split(delims);\r\n\t\t \t \r\n\t\t\t System.out.println(tokens[1] + \" \" + tokens[2] + \" has been unenrolled!\");\r\n\t\t\t numStudents--;\r\n\t\t\t return true;\r\n\t\t } \r\n\t\t else\r\n\t\t {\r\n\t System.out.println(\"Student has not been enrolled!\");\r\n\t\t\t return false;\r\n\t\t } \r\n\t\t}\r\n\t\t\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "a9f9446c8cb196a7aa7a7c0737707b4b", "score": "0.71752334", "text": "public void deleteStudent(String student_first_names, String student_surname);", "title": "" }, { "docid": "702fd36862a6fec1f21b56423a5c1a50", "score": "0.7160454", "text": "public void dropStudent(String student) {\n\t\tstudents.remove(student);\t\n\t\t}", "title": "" }, { "docid": "33c891d0b1bdb66c66b6e2a8b9651643", "score": "0.7101337", "text": "public void DeleteStudent(Student whichStudent) throws Exception{\n\t\t//State Invariant\n\t \t if (!stateInvariantCheck()) \n\t throw new InvariantException (\"CSDepartment\", \"DeleteStudent\", \"Before\");\n\t \t \n\t \t //Precondition: whichStudent is a member of students\n\t \tif(whichStudent == null || !students.contains(whichStudent))\n\t \t\tthrow new PreconditionException\n \t\t\t\t(\"CSDepartment\", \"DeleteStudent\", \"whichStudent does not exist in students\");\n\t \n\t \t//PostCondition: students' = students - whichStudent\n\t \tstudents.remove(whichStudent);\n\t \t\n\t \t//PostCondition: courses' = (all courses without whichStudent) U \n\t \t// (all courses with whichStudent such that all these courses have the whichStudent\n\t \t// removed from their students and from their marks)\n\t \tTreeSet<Course> updatedCourses = new TreeSet<Course>();\n\t \tfor(Course c : courses){\n\t \t\t//if the course contains the student..\n\t \t\tif(c.getStudents().contains(whichStudent)){\n\t \t\t\t//drop student from course because it already contains all of the desired operations\n\t \t\t\tc.DropStudent(whichStudent);\n\t \t\t}\n\t \t\tupdatedCourses.add(c);\n\t \t}\n\t \tcourses = updatedCourses;\n\t \t\n\t \t//State Invariant\n\t \t if (!stateInvariantCheck()) \n\t throw new InvariantException (\"CSDepartment\", \"DeleteStudent\", \"After\");\n\t \t \n\t \t return;\n\t}", "title": "" }, { "docid": "4bab1e3c1a93f0363d0b594c7092f05b", "score": "0.7096451", "text": "@Override\r\n\tpublic void removeToElement(Student student) throws IllegalArgumentException{\n\t\tif(student==null)\r\n\t\t\tthrow new IllegalArgumentException(\"invalid index\");\r\n\t\tint index=-1;\r\n\t\tfor (int i = 0; i < students.length; i++) {\r\n if (students[i].equals(student)) {\r\n index = i;\r\n break;\r\n }\r\n }\r\n\t\t\tStudent[] res = new Student[students.length];\r\n\t\tfor(int i=index;i<students.length;i++)\r\n\t\t\tres[i]=students[i];\r\n\t\tthis.students = res;\r\n\t\r\n\t}", "title": "" }, { "docid": "21e5af2b878e38fd5d4476dd41634bd0", "score": "0.7093896", "text": "public void removecoursefromstudentlist(CourseService c) {\r\n\t\tListIterator <CourseTakenService> itr = courseList.iterator();\r\n\t\twhile(itr.hasNext()) {\r\n\t\t\tCourseTakenService current = itr.next();\r\n\t\t\tif(c.equals(current.getCourse())) courseList.remove(current);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "16afe80dcda6856e89ecf33670982e20", "score": "0.7044442", "text": "@Override\r\n\tpublic void removeFromElement(Student student) throws IllegalArgumentException{\n\t\tif(student==null)\r\n\t\t\tthrow new IllegalArgumentException(\"invalid index\");\r\n\t\tint index=-1;\r\n\t\tfor (int i = 0; i < students.length; i++) {\r\n if (students[i].equals(student)) {\r\n index = i;\r\n break;\r\n }\r\n }\r\n\t\tStudent[] res = new Student[students.length];\r\n\t\tfor(int i=0;i<=index;i++)\r\n\t\t\tres[i]=students[i];\r\n\t\tthis.students = res;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "61a7538e892b704ccaae241980205e39", "score": "0.70331407", "text": "@Override\r\n\tpublic int removeStudent(int studId) {\n\t\treturn studentDao.removeStudent(studId);\r\n\t}", "title": "" }, { "docid": "5ef5b959118e69d99ca51128d523f119", "score": "0.7007357", "text": "@Override\r\n\tpublic void removeToElement(Student student) {\n\t\tif(student==null) {\r\n\t\t\tthrow new IllegalArgumentException();\r\n\t\t\t}\r\n\t\tint index=0;\r\n\t\tfor(int i=0;i<students.length;i++)\r\n\t\t{\r\n\t\t\tif(students[index].compareTo(student)==0)\r\n\t\t\t{index=i;\r\n\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\tStudent[] extralist=new Student[students.length-(index+1)];\r\n\t\tfor(int i=0;i<extralist.length;i++)\r\n\t\t{\r\n\t\t\t\textralist[i]=students[i+index+1];\r\n\t\t}\r\n\t\tstudents=extralist;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "69925255629470b18fee49e649f446b2", "score": "0.6996405", "text": "public boolean removeStudentbyID(String id) {\n\n int index = this.searchStudentByID(id);\n\n if (index == -1) {\n System.out.println(\"Student not found!\");\n return false;\n } else {\n this.enrolledStudents.remove(index);\n return true;\n }\n }", "title": "" }, { "docid": "675d2067da55e4796f9cfa637f395ee2", "score": "0.69921273", "text": "public void DropStudentFromCourse(Course course, Student whichStudent) throws Exception{\n\t\t//State Invariant\n \t \tif (!stateInvariantCheck()) \n throw new InvariantException (\"CSDepartment\", \"DropStudentFromCourse\", \"Before\");\n \t \t\n \t \t//Precondition: Course must be a member of Courses\n \t \tif(course == null || !courses.contains(course))\n \t \t\tthrow new PreconditionException\n \t \t\t\t(\"CSDepartment\", \"DropStudentFromCourse\", \"course isnt a member courses\");\n \t \t//Precondition: newStudent must be a member of Students\n\t \t if(whichStudent == null || !students.contains(whichStudent))\n\t\t \t\tthrow new PreconditionException\n\t\t \t\t\t(\"CSDepartment\", \"DropStudentFromCourse\", \"whichStudent isnt a member students\");\n\t \t\n\t //remove the course from the courses, perform drop, re add course\n\t \t course.DropStudent(whichStudent);\n\t \t courses.remove(course);\n\t \t //course.DropStudent(whichStudent);\n\t \t courses.add(course);\n\t \t \n\t //State Invariant\n\t \t if (!stateInvariantCheck()) \n\t throw new InvariantException (\"CSDepartment\", \"dropStudentFromCourse\", \"After\");\n\t \t \t\n\t \t return;\n\t}", "title": "" }, { "docid": "6188f9cacc158524a4c1dfb8f19e2176", "score": "0.6982977", "text": "@Override\n\tpublic boolean deleteStudent(Student student) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c90704a570a79bb3704975e88046b086", "score": "0.69645053", "text": "@Override\r\n\tpublic void removeFromElement(Student student) {\n\t\tif(student==null) {\r\n\t\t\tthrow new IllegalArgumentException();\r\n\t\t\t}\r\n\t\tint index=0;\r\n\t\tfor(int i=0;i<students.length;i++)\r\n\t\t{\r\n\t\t\tif(students[i].compareTo(student)==0)\r\n\t\t\t\tindex=i;\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t\tStudent[] extralist=new Student[index+1];\r\n\t\tfor(int i=0;i<extralist.length;i++)\r\n\t\t{\r\n\t\t\t\textralist[i]=students[i];\r\n\t\t}\r\n\t\tstudents=extralist;\t\r\n\t}", "title": "" }, { "docid": "5b3b467f3a63ea90d18da315a7dfa833", "score": "0.69640416", "text": "@Override\r\n\t@Transactional\r\n\tpublic void removeStudentEnrolment(StudentEnrolment s) {\n\t\tsrepo.delete(s);\r\n\t}", "title": "" }, { "docid": "2e16f88a2c2cdea19523a06102432bae", "score": "0.6935647", "text": "public void removeFromUni() {\n University uni = getAssignedUni();\n if (this.university != null) {\n this.university = null;\n uni.removeStudent(this);\n }\n }", "title": "" }, { "docid": "a29389e17291bfa553de8862d42139eb", "score": "0.69317883", "text": "public void deleteStudentMemberOfTeam( Student student, Team team ) throws RDException;", "title": "" }, { "docid": "60dcb7601cca79376c76688fa05cb76d", "score": "0.69284356", "text": "public void removeStudent (int studentID){\r\n\r\n\t\tif (getStudentIndex(studentList,studentID)>=0){\r\n\t\t\tlistSize--;\r\n\t\t\tfor (int i =0; i<studentList.length;i++){\r\n\t\t\t\tif ((studentList[i].studentID == studentID) && listSize ==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tstudentList = new Student[listSize];\r\n\t\t\t\t}else if (studentList[i].studentID == studentID)\r\n\t\t\t\t{\r\n\t\t\t\t\tStudent toRemove = studentList[i];\r\n\t\t\t\t\tstudentList[i] = studentList[listSize];\r\n\t\t\t\t\tstudentList[listSize] = toRemove;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (listSize>0){ // copy the array only if the size of the list is greater than one\t\r\n\t\t\t\tcopyCurListToTemp(studentList,cpyOfStudentList);\r\n\t\t\t}\r\n\t\t\tstudentList= new Student[listSize];// init. an array of objects with new size\r\n\r\n\t\t\tif (listSize>=0){\r\n\t\t\t\tcopyTempListToCur(studentList,cpyOfStudentList);\r\n\t\t\t}\r\n\t\t}else{\r\n\r\n\t\t\tSystem.out.println(\"Sorry, you cannot remove this student, because his/her Student ID #[\" + studentID + \"] does not exist.\");\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8fabf0c6571a94db1f0a1bac9a4ef213", "score": "0.6901602", "text": "public void deleteStudentCaptainOfTeam( Student student, Team team, Student newCaptain ) throws RDException;", "title": "" }, { "docid": "0344dc178aaa554eed6555e4687a2e17", "score": "0.6883545", "text": "@Override\n\tpublic void delete(Long studentId) {\n\t\t\n\t}", "title": "" }, { "docid": "2aa88cca2d95ad2a48549b7222158a21", "score": "0.6831098", "text": "public Student deleteStudent(String id){\n Student student =students.delete(id);\n if(student != null){\n notifyObservers(new StudentChangeEvent(ChangeEventType.DELETE, student));\n }\n return student;\n }", "title": "" }, { "docid": "34eb16862b3bb2e7879b43bab3d6aeb1", "score": "0.682365", "text": "public void deleteFromStudent(String sid){\n SQLiteDatabase db = getWritableDatabase();\n db.execSQL(\"delete from student where sid = '\"+sid+\"'\");\n }", "title": "" }, { "docid": "26b559596d0a9e937713088fede84998", "score": "0.68203926", "text": "@Override\r\n\tpublic void delete(Student student) {\n\t\tstudentMapper.deleteByPrimaryKey(student.getStid());\r\n\t}", "title": "" }, { "docid": "870d1e549bfffb6c2a400d3d226ed5de", "score": "0.68162835", "text": "public void removeCourse(Course c) {\n if (courses.contains(c)) { // Check if course IS already in ArrayList\n courses.remove(c);\n }\n for (Module m : c.getModuleList()){ // Call removeModule for each module in course\n removeModule(m); // (removeModule updates student lists)\n }\n if(c.getEnrolledStudents().contains(this)) { // Check if student IS already in course's student list\n c.removeStudent(this); // Update course's student list\n }\n }", "title": "" }, { "docid": "96c63ce9008f72e32676d04a766536c0", "score": "0.6808627", "text": "@Override\n\tpublic boolean deleteStudent(String name) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3b34253557e936b00705c0607b5d0a98", "score": "0.6800097", "text": "@Override\n public void remove(int id) throws RepositoryException{\n if(!this.find(new Student(id,\"\",\"\")))\n throw new RepositoryException(\"Student not contained!\");\n students.remove(new Student(id, \"\", \"\"));\n }", "title": "" }, { "docid": "933833cdb24513243c2c3acc5357aae8", "score": "0.67814344", "text": "public void deleteRecord(String studentID);", "title": "" }, { "docid": "8008b610ce43c39ffc3c97c1b4993034", "score": "0.67759055", "text": "@Test\n public void remove_student_from_list_return_one_less_in_size(){\n Student student0 = new Student(StudentId.nextId(),\"TestS1\",\"@Email\",\"Address\");\n Student student1 = new Student(StudentId.nextId(),\"TestS1\",\"@Email2\",\"Address\");\n Student student2 = new Student(StudentId.nextId(),\"TestS2\",\"@Email3\",\"Address\");\n Course course1 = new Course(CourseId.nextId(),\"TestC1\", LocalDate.parse(\"2020-04-06\"),7);\n\n getCourse.saveCourse(course1);\n getCourse.saveCourse(course1).register(student0);\n getCourse.saveCourse(course1).register(student1);\n getCourse.saveCourse(course1).register(student2);\n\n // Return size of list, should be 3 - 1 = 2\n getCourse.saveCourse(course1).unregister(student0);\n int actual = course1.getStudents().size();\n\n assertEquals(2,actual);\n }", "title": "" }, { "docid": "9a59b82651973a8a0ea1a7011852ba47", "score": "0.67676914", "text": "@Override\r\n\tpublic boolean deleteStudent(int studentId) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "eb15d4ff1255ffa2e6e5f63d2a68ce5c", "score": "0.67461824", "text": "@Override\r\n\tpublic void remove(int index) {\n\t\tif(index<0||index>students.length) {\r\n\t\t\tthrow new IllegalArgumentException();\r\n\t\t\t}\r\n\t\t\r\n\t\tStudent[] extralist=new Student[students.length-1];\r\n\t\tfor(int i=0;i<index;i++)\r\n\t\t{\r\n\t\t\textralist[i]=students[i];\r\n\t\t}\r\n\t\tfor(int i=index;i<extralist.length;i++)\r\n\t\t{\r\n\t\t\textralist[i]=students[i+1];\r\n\t\t}\r\n\t\tstudents=extralist;\r\n\t}", "title": "" }, { "docid": "93b510574b61efcf765841c839a522ff", "score": "0.6745534", "text": "Student deleteStudent(String studentId) throws FirebaseException;", "title": "" }, { "docid": "6c9d088cba4816de61b27407c8318589", "score": "0.6730674", "text": "@Override\n\tpublic Boolean deleteStudent(String studentId) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "915ba324ca15b10692eccf3791dbbd32", "score": "0.6727345", "text": "public void removeStudent(int id)\n {\n Student student = roster_.getStudent(id);\n if(student == null)\n {\n return;\n }\n\n cmdMgr_.executeCommand(new RemoveStudentCommand(roster_, student));\n }", "title": "" }, { "docid": "11961565884be699cacabf411fb731bf", "score": "0.6714995", "text": "static void removestudent(ArrayList studentlist, int b){\r\n studentlist.remove(b);\r\n }", "title": "" }, { "docid": "3ede33fbe6d990d8e72e82f3083ce4a3", "score": "0.6714606", "text": "@Override\n\tpublic int deleteCourse(String coursename) {\n\t\treturn studentDao.deleteCourse(coursename);\n\t}", "title": "" }, { "docid": "19e33dcc0049d35289b6c82fdafb4736", "score": "0.66915476", "text": "public void deleteStudent(int index) {\n\n for (int i = index; i < currentSize-1; i++) {\n students[i] = students[i+1];\n }\n students[currentSize].set(new student(\"\", \"\"));\n currentSize = currentSize-1;\n\n }", "title": "" }, { "docid": "07d3b53d2254fe23a3aaf2e9593230bd", "score": "0.6661182", "text": "public void remove(Long id) {\n\t\tif (examService.findByStudentId(id).isEmpty()) {\n\t\t\tstudentRepository.delete(id);\n\t\t}\n\t}", "title": "" }, { "docid": "cf95ada28f053924432fd47a64af1b0f", "score": "0.66484964", "text": "void deleteSemester(Semester target);", "title": "" }, { "docid": "6efa589d7ba9c5228f24a846315a4183", "score": "0.6624996", "text": "public void deleteStudent(String studentId) {\n Optional<Student> optionalStudent = studentRepository.findByStudentId(studentId);\n\n if (optionalStudent.isPresent()) {\n Student student = optionalStudent.get();\n\n List<Activity> activities = activityRepository.findAllByStudentIdOrderById(student.getId());\n\n for (Activity activity : activities) {\n activityRepository.delete(activity);\n }\n\n studentRepository.delete(student);\n }\n }", "title": "" }, { "docid": "a54dd09bcc147b886c9432f0f5e12de5", "score": "0.6589471", "text": "void removeTeacher(Teacher teacher);", "title": "" }, { "docid": "0e427a1413b1a1329eef1d251fe0ba6e", "score": "0.657797", "text": "public String deleteStudent(StudentProfile student){\n StudentInformation si = (new SiDAO()).findByIdStudent(student.getIdStudent());\n if(si == null) return \"You cannot delete something that does not exist...supped!\";\n boolean deleteResult = (new SiDAO()).delete(si);\n if(!deleteResult) return DATABASE_ERROR;\n return null;\n }", "title": "" }, { "docid": "123af6aab9e36960e9973b09772dc7cd", "score": "0.6573895", "text": "void deleteStudentById(@Param(\"student_id\") int student_id);", "title": "" }, { "docid": "82a6051a2f6defda7d52c40b9d53bfa9", "score": "0.6564278", "text": "public void cancel(int studentId, int courseId) {\n\t\tR6Course course = (R6Course) find(R6Course.class, courseId);\n\n\t\t// get managed student\n\t\tR6Student student = (R6Student) find(R6Student.class, studentId);\n\n\t\t// cancel course\n\t\tstudent.getCourses().remove(course);\n\t\tmerge(student);\n\t}", "title": "" }, { "docid": "4a8f03de24f62a1c32ddfca06dc20d03", "score": "0.6554409", "text": "@Override\n\tpublic void delete(Student c) {\n\t\tthis.studentDao.delete(c);\n\t}", "title": "" }, { "docid": "9c93660d7fec2c4f6646ee975553daa7", "score": "0.6530784", "text": "@Override\r\n\tpublic void remove(int index) throws IllegalArgumentException{\n\t\tif(index<0||index>=students.length)\r\n\t\t\tthrow new IllegalArgumentException(\"invalid index\");\r\n\t\t int shift = 0; \r\n for (int i = 0; i < students.length; i++) { \r\n if (shift < index && i == index) // i-th item needs to be removed\r\n shift++; // increment `shift`\r\n else \r\n students[i - shift] = students[i]; // move i-th item `shift` positions left\r\n }\r\n for (int i = students.length - shift; i < students.length; i++)\r\n students[i] = null; \r\n\t}", "title": "" }, { "docid": "7c0dfe7a31126d902c716413d8e9891a", "score": "0.6506058", "text": "void deleteStudentInfoById(@Param(\"student_id\") int student_id);", "title": "" }, { "docid": "d4eae95452a1ffbc78a13470c85365a0", "score": "0.65025026", "text": "public void DropStudent(Student whichStudent) throws Exception{\n \t//State Invariant\n \t if (!stateInvariantCheck()) \n throw new InvariantException (\"Course\", \"DropStudent\", \"before\");\n \t \n \t //Precondition student isnt a member of students\n \t if (!students.contains (whichStudent)) \n throw new PreconditionException\n (\"Course\", \"DropStudent\", \"New Student isnt already a member students\");\n \t //Precondition: Student isnt a member of the domain of marks\n \t if (!marks.keySet().contains (whichStudent)) \n throw new PreconditionException\n (\"Course\", \"DropStudent\", \"New Student isnt already a member dom marks\");\n \t \n \t //Postcondition: remove whichStudent from students and marks\n \t students.remove(whichStudent);\n \t marks.remove(whichStudent);\n \t \n \t//State Invariant\n \t if (!stateInvariantCheck()) \n throw new InvariantException (\"Course\", \"DropStudent\", \"after\");\n \t \n \t return;\n }", "title": "" }, { "docid": "02652a665590d4e6d634597af7a04348", "score": "0.6493429", "text": "@Override\n\tpublic void removeStudentFromGroup(LoginToken token, Student student,\n\t\t\tString groupId) throws InvalidTokenException,\n\t\t\tStudentNotFoundException, GroupNotFoundException,\n\t\t\tGroupEmptyException {\n\t\t\n\t}", "title": "" }, { "docid": "2d9f20d15db8cc9a71f195a1fb0f5a95", "score": "0.6465679", "text": "@Test\n public void testRemove_String() {\n System.out.println(\"remove\");\n String id = \"\";\n Course instance = new Course();\n instance.remove(id);\n }", "title": "" }, { "docid": "4f6238b78aebeed3cecb0f3dbad5e76a", "score": "0.6465269", "text": "public static boolean removeStudentFromCourse(Integer courseId, Integer studentId) throws ServiceLogicalException, ServiceTechnicalException {\n try {\n RatingDAO dao = DaoFactory.getDaoFactory().getRatingDao();\n if (dao.deleteForStudent(courseId, studentId)) {\n return true;\n }\n } catch (DAOTechnicalException e) {\n throw new ServiceTechnicalException(e);\n } catch (DAOLogicalException e) {\n throw new ServiceLogicalException(e);\n }\n return false;\n }", "title": "" }, { "docid": "53116567aead51c6a07011ac4454cfc6", "score": "0.6455018", "text": "public void removeLessonTest(LessonTest test);", "title": "" }, { "docid": "eaf46c196cad246bc22055607b9210c9", "score": "0.6430213", "text": "public void drop(Student st) {\n\t\tString[] info = view.getData();\n\t\t\n\t\tmodel.dropEnrollment(st, info);\n\t}", "title": "" }, { "docid": "5a36c95ae45886ce6f8fbef49781138e", "score": "0.6426762", "text": "@Override\n public Course remove(int index) {\n return null;\n }", "title": "" }, { "docid": "b44a18d7a862adb3079774cc4a9adf7e", "score": "0.6418621", "text": "@Override\n\tpublic void deleteStudent(LoginToken token, Student student)\n\t\t\tthrows InvalidTokenException {\n\t\tstudent = entityManager.merge(student);\n\t\tentityManager.remove(student);\n\t}", "title": "" }, { "docid": "499cd79d0c8623a3bca1095c9d395637", "score": "0.6401975", "text": "int deleteByExample(CourseExample example);", "title": "" }, { "docid": "ddc87de9c8d48a804859383900d1d487", "score": "0.638642", "text": "@Override\r\n\tpublic int remove(Open_course oc) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "e76996b151dcdbe446e2b60e0f0a1b36", "score": "0.6372066", "text": "@Override\r\n public Student delete (Long id){\r\n /*Student student = findOne(id);\r\n if (student != null) {\r\n studentList.remove(student);\r\n return student;\r\n }\r\n return null;*/\r\n if(findOne(id) == null){\r\n return null;\r\n }\r\n Statement stmt;\r\n Student s = findOne(id);\r\n try {\r\n stmt = conection.createStatement();\r\n stmt.execute(String.format(\"delete from \\\"Student\\\" where \\\"Id\\\" = %d;\", id));\r\n stmt.execute(String.format(\"delete from studentkurs where idstudent = %d;\", id));\r\n\r\n\r\n } catch (SQLException e) {\r\n e.printStackTrace();\r\n }\r\n return s;\r\n }", "title": "" }, { "docid": "e1a2d9eca0af5d088e4400c1efbb164f", "score": "0.63499147", "text": "@Override\r\n\tpublic void removeExam(Long idExam) {\n\t\t\r\n\t}", "title": "" }, { "docid": "7806273c5b4f03a34681cc5011057e65", "score": "0.6348431", "text": "public boolean removeStudent(int sid) {\r\n\t\tif(getStudent(sid) != null) {\r\n\t\t\tstudents.remove(getStudent(sid));\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "54be710f59b75dcfccf55bcbc8891b3b", "score": "0.63425666", "text": "public void removeWaitlist(Student student) {\r\n waitlist.remove(student);\r\n }", "title": "" }, { "docid": "a511803e0e9d62571eab4db642edbe2e", "score": "0.63352984", "text": "@Override\r\n\tpublic void deleteTCourse(int tcId) {\n\t\tString sql = \"delete from teach_course where id = ?\";\r\n\t\ttry {\r\n\t\t\tdb.execute(sql, new Object[] {tcId});\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4284794169ac026e677f52be8ef3b12d", "score": "0.63246053", "text": "void deleteStudentEnrollment(int enrollmentID) {\n try {\n String sql = \"DELETE FROM \" + studentEnrollmentTableName + \" WHERE ID = \"+enrollmentID;\n statement = jdbc_connection.prepareStatement(sql);\n statement.executeUpdate();\n System.out.println(\"Deleted Enrollment with ID = \"+ enrollmentID);\n }\n catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "7d48d37e73c4f9c39fcc70961bc3dbf2", "score": "0.63033587", "text": "@Override\r\n\tpublic Student deleteStudent(int rollNo) {\n\t\t\r\n\t\tStudent stud=findByRollno(rollNo);\r\n\t\tboolean isDeleted = false;\r\n\t\t\r\n\t\tString STUDENT_DELETE=\"delete from student where rno=?\";\r\n\t\ttry {\r\n\t\t\tPreparedStatement ps=openConnection().prepareStatement(STUDENT_DELETE);\t\r\n\t\t\t\r\n\t\t\tif(stud.getRollNo()>0) {\t\t\t\t\r\n\t\t\t\tps.setInt(1, rollNo);\r\n\t\t\t\tint i = ps.executeUpdate();\r\n\t\t\t\tif(i>0) {\r\n\t\t\t\t\tisDeleted=true;\r\n\t\t\t\t\tSystem.out.println(\"Record deleted.\");\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tSystem.out.println(\"sorry, record could not be deleted.\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"sorry, record not found.\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\r\n\t} catch (SQLException e) {\r\n\t\t// TODO Auto-generated catch block\r\n\t\te.printStackTrace();\r\n\t}\r\n\t\treturn stud;\r\n}", "title": "" }, { "docid": "818332013d07b650924074fa726c4161", "score": "0.62771523", "text": "@Override\n\tpublic int deleteStudent(int studentId) {\n\t\ttry{\n\t\t\t query=\"delete student where studentid=?\";\n\t\t\t prepareStatement=connectionObject.prepareStatement(query);\n\t\t\t prepareStatement.setInt(1, studentId);\n\t\t\t return prepareStatement.executeUpdate();\n\t\t\t}catch(SQLException exception){\n\t\t\t exception.printStackTrace();\n\t\t\t return 0;\n\t\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "19f7e4a7030be1090b646d59edb96ee4", "score": "0.62710273", "text": "public void deleteCourse(String c_no) {\n\t\tgetHibernateTemplate().delete(getHibernateTemplate().get(Course.class, c_no));\n\t}", "title": "" }, { "docid": "4d835b870646c4fec6b48c08f3c2b086", "score": "0.6251951", "text": "void deleteSemester(Plan plan, Semester target);", "title": "" }, { "docid": "89da7480de83968c3498d0db7b9f2974", "score": "0.6244485", "text": "public boolean deregister(EntityObject index, String matric) {\r\n \tcourseManager cmanager = new courseManager();\r\n studentManager smanager = new studentManager();\r\n \r\n \tStudent s = new Student();\r\n\t\ts.setMatricNum(matric);\r\n\t\ts = smanager.findByMatric(s);\r\n\t\t\r\n\t\tCourse course = new Course();\r\n\t\tcourse.setCourseCode(((Index)index).getCourseCode());\r\n\t\tcourse = cmanager.find(course); //find the course object containing this index\r\n\t\tArrayList<Index> indexList = new ArrayList<Index>();\r\n\t\tindexList = course.getIndexList();\r\n\t\t\r\n\t\tfor (Index val : indexList) {\r\n\t\t\tif (val.getIndex() == ((Index)index).getIndex()) {\r\n\t\t\t\tval.removeStudent(matric);\r\n\t\t\t\tcmanager.fileWrite();\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(\"Index not found.\");\r\n \treturn false;\r\n }", "title": "" }, { "docid": "53f4ad1f4135433fbdb7a8f95236fd27", "score": "0.62442225", "text": "void deleteCourse(int courseID) {\n try {\n String sql = \"DELETE FROM \" + courseTableName + \" WHERE ID = \"+courseID;\n statement = jdbc_connection.prepareStatement(sql);\n statement.executeUpdate();\n System.out.println(\"Deleted Course with ID = \"+ courseID);\n }\n catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "0393984b39c66d327dbdb6ac606997ce", "score": "0.6234609", "text": "public String deleteStudent() {\n sEJB.delete(student);\n return \"students?faces-redirect=true\";\n }", "title": "" }, { "docid": "0317e17d12954e5217947b10241390cc", "score": "0.6233942", "text": "@DeleteMapping(\"/students/{id}\")\n public void deleteStudent(@PathVariable(\"id\") int id) {\n studentRepo.deleteById(id);\n }", "title": "" }, { "docid": "3af038af01cd8f90806f3630a99ef3d8", "score": "0.62298954", "text": "private void delete_btnActionPerformed(ActionEvent evt)\n {\n String CIdToDelete = this.jList1.getSelectedValue();\n Course ToDelete = LoginFrame.courses.findCourse(CIdToDelete);\n LoginFrame.courses.remove(ToDelete);\n }", "title": "" }, { "docid": "5e5c0ee6abde9e489d5c4a581e820e7e", "score": "0.6228644", "text": "public void delete(int course_id_search, int course_section_search) {\n\t\tif (search(course_id_search, course_section_search) != null) {\n\t\t\tSystem.out.println(\"Course '\" + search(course_id_search, course_section_search).get_course_name() + \"' has been removed.\");\n\t\t\tcourse_list.remove(search(course_id_search, course_section_search));\n\t\t}\n\n\t\telse {\n\t\t\tSystem.out.println(\"Course not found.\");\n\t\t}\n\t}", "title": "" }, { "docid": "2242895e7bc9c8f1fa35bde29dbd0220", "score": "0.6222334", "text": "@Override\r\n\tpublic void removeFromIndex(int index) {\n\t\tif(index<0||index>students.length) {\r\n\t\t\tthrow new IllegalArgumentException();\r\n\t\t\t}\r\n\t\tStudent[] extralist=new Student[index];\r\n\t\tfor(int i=0;i<=index;i++)\r\n\t\t{\r\n\t\t\textralist[i]=students[i];\r\n\t\t}\r\n\t\tstudents=extralist;\r\n\t}", "title": "" }, { "docid": "bc9598bc31bf38e8d543f6e410e56353", "score": "0.6216329", "text": "@Test\r\n public void testRemoveCource() {\r\n System.out.println(\"removeCource\");\r\n Courses course = new Courses(\"cse241\", \"object oriented\");\r\n Administrators instance = new Administrators(\"admin\",\"admin\",\"1\");\r\n boolean expResult = true;\r\n system.courses.add(course);\r\n boolean result = instance.removeCource(course);\r\n assertEquals(expResult, result);\r\n }", "title": "" }, { "docid": "51a5621516619b4468af2d61addf7017", "score": "0.6216117", "text": "@Override\n public Student delete(Long id) {\n Student tempStudent; //temporary student for return after remove\n for(Student student: studentList) {\n if (student.getStudentId() == id)\n {\n tempStudent=student;\n studentList.remove(student);\n return tempStudent;\n }\n }\n return null;\n }", "title": "" }, { "docid": "2c16477103bf991b127df88b176d7d99", "score": "0.6210944", "text": "@Override\r\n\tpublic void removeFromIndex(int index) throws IllegalArgumentException{\n\t\tif(index<0||index>=students.length)\r\n\t\t\tthrow new IllegalArgumentException(\"invalid index\");\r\n\t\tStudent[] res = new Student[students.length];\r\n\t\tfor(int i=0;i<=index;i++)\r\n\t\t\tres[i]=students[i];\r\n\t\tthis.students = res;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "0179ffd34f5d2b4c8de1dbaf91c5bcb1", "score": "0.61953413", "text": "@Override\n\tpublic void deleteStudentByGrade(int studentid) {\n\t\tthis.studentDao.deleteStudentsByGrade(studentid);\n\t\t\n\t}", "title": "" }, { "docid": "cd56a6ae3896f3ce42c1aa75a5b55b59", "score": "0.61615306", "text": "public void withdrawStudent(Student student) throws IllegalArgumentException, IllegalStateException {\n if (null == student) throw new IllegalArgumentException(\"Student may not be null\");\n if (null == checkEnrolledStudent(student)) throw new IllegalStateException(\"Student is not enrolled\");\n\n students.remove(student);\n }", "title": "" }, { "docid": "3a7c1ac79da62e3ac590a2f4e09601b6", "score": "0.61535734", "text": "@Override\r\n\tpublic int delete(int id) {\n\t\treturn courseMapper.delete(id);\r\n\t}", "title": "" }, { "docid": "7f36f79b8605c0a261c0bdb25b2c523f", "score": "0.61502844", "text": "@RequestMapping(\"/courses/{id}/remove\")\r\n\t\tpublic String removeUserFromCourse(@PathVariable(\"id\") Long myId, Model model, HttpSession session) {\r\n\t\t\tLong userId = (Long) session.getAttribute(\"userId\");\r\n\t\t\tUser u = userService.findUserById(userId);\r\n\t\t\tCourse course = cS.findCourseById(myId);\r\n\t\t\t\r\n\t\t\tu.getCourses().remove(course);\r\n\t\t\tuserService.updateUser(u);\r\n\t\t\t\r\n\t\t\treturn \"redirect:/courses\";\r\n\t\t}", "title": "" }, { "docid": "c8f9eb09cc5346a49462c128236e4772", "score": "0.6141689", "text": "@Override\r\n\tpublic void deleteCourse(int id) {\n\t\tString sql = \"delete from course where id = ?\";\r\n\t\ttry {\r\n\t\t\tdb.execute(sql, new Object[] {id});\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a191e5e2578fdad033b066f146a450bf", "score": "0.6139709", "text": "public void removeRecord (Record r){\r\n gradeList.remove(r);\r\n }", "title": "" }, { "docid": "35da08403172c75b14b8239d284cf15a", "score": "0.6119044", "text": "public void removeCourse(int id) {\n\n Iterator<Course> iter = courses.iterator();\n\n while (iter.hasNext()) {\n Course elem = iter.next();\n if (elem.getId()==id)\n iter.remove();\n }\n }", "title": "" }, { "docid": "93f2fccc0fc3fbcf055c4297aa95eb28", "score": "0.61042064", "text": "public void delete(Integer id) {\n\t\tstudentMapper.deleteByPrimaryKey(id);\r\n\t}", "title": "" }, { "docid": "5e2cc5a7b8d64be1c128741160e10491", "score": "0.6103772", "text": "@Override\n public void delete(Long classId, Long studentId) {\n studentClassRepository.delete(new StudentClass(classId, studentId));\n }", "title": "" }, { "docid": "705cbf6797f63fdc095f7cefbb88deb5", "score": "0.61033267", "text": "@Override\r\n\tpublic void removeToIndex(int index) throws IllegalArgumentException{\n\t\tif(index<0||index>=students.length)\r\n\t\t\tthrow new IllegalArgumentException(\"invalid index\");\r\n\t\t\r\n\t\tStudent[] res = new Student[students.length];\r\n\t\tfor(int i=index;i<students.length;i++)\r\n\t\t\tres[i]=students[i];\r\n\t\tthis.students = res;\r\n\t\t\r\n\t}", "title": "" } ]
9e8484c3f133452858bf6680b76889a8
.iroha.protocol.RolesResponse roles_response = 8;
[ { "docid": "6c0346cc47eb279df77b426719566a58", "score": "0.670062", "text": "public iroha.protocol.Responses.RolesResponse getRolesResponse() {\n if (responseCase_ == 8) {\n return (iroha.protocol.Responses.RolesResponse) response_;\n }\n return iroha.protocol.Responses.RolesResponse.getDefaultInstance();\n }", "title": "" } ]
[ { "docid": "56b044e14378b2f58504fab6b7a8a355", "score": "0.8753301", "text": "iroha.protocol.Responses.RolesResponse getRolesResponse();", "title": "" }, { "docid": "6e8ae12a50efb7852e5d744789c82fd1", "score": "0.7927815", "text": "iroha.protocol.Responses.RolesResponseOrBuilder getRolesResponseOrBuilder();", "title": "" }, { "docid": "8020a616009a329c83a26589e2734b88", "score": "0.74076426", "text": "iroha.protocol.Responses.RolePermissionsResponse getRolePermissionsResponse();", "title": "" }, { "docid": "1597e900f1367822481a27cbfa57d679", "score": "0.66152096", "text": "public iroha.protocol.Responses.RolesResponse getRolesResponse() {\n if (rolesResponseBuilder_ == null) {\n if (responseCase_ == 8) {\n return (iroha.protocol.Responses.RolesResponse) response_;\n }\n return iroha.protocol.Responses.RolesResponse.getDefaultInstance();\n } else {\n if (responseCase_ == 8) {\n return rolesResponseBuilder_.getMessage();\n }\n return iroha.protocol.Responses.RolesResponse.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "b90deebaebd69bd85088d80ae92a1fb2", "score": "0.66123796", "text": "@GET(\"api/v3/roles\")\n Observable<Void> apiV3RolesGet();", "title": "" }, { "docid": "6c817f0cae75532ff4562c082e4ed94d", "score": "0.65975606", "text": "public iroha.protocol.Responses.RolesResponseOrBuilder getRolesResponseOrBuilder() {\n if (responseCase_ == 8) {\n return (iroha.protocol.Responses.RolesResponse) response_;\n }\n return iroha.protocol.Responses.RolesResponse.getDefaultInstance();\n }", "title": "" }, { "docid": "2c30e7fcf06bf30c87c665c999db64a6", "score": "0.65372163", "text": "iroha.protocol.Responses.RolePermissionsResponseOrBuilder getRolePermissionsResponseOrBuilder();", "title": "" }, { "docid": "6c6ba0e4a69ad2151668792c2bde75cf", "score": "0.647641", "text": "ManageRolesResponse manageRoles();", "title": "" }, { "docid": "9b997ccb0e47dc86895ae04ec3dc5da5", "score": "0.6473867", "text": "public iroha.protocol.Responses.RolesResponseOrBuilder getRolesResponseOrBuilder() {\n if ((responseCase_ == 8) && (rolesResponseBuilder_ != null)) {\n return rolesResponseBuilder_.getMessageOrBuilder();\n } else {\n if (responseCase_ == 8) {\n return (iroha.protocol.Responses.RolesResponse) response_;\n }\n return iroha.protocol.Responses.RolesResponse.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "a0cabbb598b0af161fe089cd4f84f664", "score": "0.6431276", "text": "boolean hasRolesResponse();", "title": "" }, { "docid": "b34bb6d18c711aa4cd97f45561621a64", "score": "0.636137", "text": "iroha.protocol.Responses.AccountResponse getAccountResponse();", "title": "" }, { "docid": "91227354910bcd3a948e1543614366c5", "score": "0.63102686", "text": "public boolean hasRolesResponse() {\n return responseCase_ == 8;\n }", "title": "" }, { "docid": "d95181a1511610bae395b6c498030277", "score": "0.62799084", "text": "public boolean hasRolesResponse() {\n return responseCase_ == 8;\n }", "title": "" }, { "docid": "1545a126816f92109c94e990826b78bd", "score": "0.62068826", "text": "public iroha.protocol.Responses.RolesResponse.Builder getRolesResponseBuilder() {\n return getRolesResponseFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "882c30c29bbc13a7dec4d8abfbd4bed9", "score": "0.6156653", "text": "private RolesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "0a90a65494bf8823a9c558aa0eddcf2b", "score": "0.60724115", "text": "public interface EncodedRolesBearer {\n\n\t/**\n\t * Returns a {@link Long} containing all encoded roles.\n\t *\n\t * @return {@link Long}. Never {@code null}.\n\t */\n\tpublic Long getEncodedRoles();\n\n}", "title": "" }, { "docid": "b72a2e66237be98fb6e0a7ff66de7d56", "score": "0.6034132", "text": "fzmsupply.Api.RequestUpdateRole getUpdateRole();", "title": "" }, { "docid": "33097fb069c8238919621f912d8bb032", "score": "0.60218495", "text": "public ArrayList<String> getRoles(){\n return this.roles;\n }", "title": "" }, { "docid": "33e45df537e7de8b8c870ca5b8b7939f", "score": "0.6015732", "text": "public int getRole()\n {\n return role;\n }", "title": "" }, { "docid": "e5d9e88e18361594a3451bdd059e7dce", "score": "0.5995144", "text": "public String getRoleId()\n/* 20: */ {\n/* 21:19 */ return this.roleId;\n/* 22: */ }", "title": "" }, { "docid": "8e51bfcea96d562aebad697b74cafa11", "score": "0.5982078", "text": "List<Role> listRoles();", "title": "" }, { "docid": "9287173a76bf356d5944f8ae12448215", "score": "0.59497434", "text": "fzmsupply.Api.RequestCreateRole getCreateRole();", "title": "" }, { "docid": "ef173e8228053f2e9176990ab805607e", "score": "0.5944783", "text": "@Test\n\tpublic void testPrincipalsRolesGet() {\n\t\tJSONArray jsonResponse;\n\t\ttry {\n\t\t\tjsonResponse = persistent.getResponseJSONArray(\n\t\t\t\t\tConst.Api.PRINCIPAL_ROLES, BasicCall.REST.GET);\n\t\t} catch (ResponseTypeMismatchException ex) {\n\t\t\tfail(ex.getFullMessage());\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tassertEquals(Const.StatusLine.OK, persistent.getStatusLine());\n\t\t\tJSONAssert.assertEquals(roles, jsonResponse,\n\t\t\t\t\tJSONCompareMode.LENIENT);\n\t\t} catch (AssertionError e) {\n\t\t\tAssertErrorHandler(e);\n\t\t}\n\t}", "title": "" }, { "docid": "4c1ed1119e4ebe099b533937edd2d081", "score": "0.59356976", "text": "public interface Roles {\n long FORUM_ADMINISTRATOR = 1;\n long FORUM_MODERATOR = 2;\n long FORUM_USER = 3;\n}", "title": "" }, { "docid": "2bd6f20eb819df8d49776c0aed52c5de", "score": "0.59266543", "text": "public Builder setRolesResponse(iroha.protocol.Responses.RolesResponse value) {\n if (rolesResponseBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n response_ = value;\n onChanged();\n } else {\n rolesResponseBuilder_.setMessage(value);\n }\n responseCase_ = 8;\n return this;\n }", "title": "" }, { "docid": "170f146e195905bb5853aa7c17045540", "score": "0.58918095", "text": "List<Role> getUserRole();", "title": "" }, { "docid": "2debfa8df766dd5122d87df5c9e64b25", "score": "0.58690995", "text": "@GET(\"api/v3/roles/{id}\")\n Observable<Void> apiV3RolesIdGet(\n @retrofit2.http.Path(\"id\") Integer id \n );", "title": "" }, { "docid": "863e0adcc04b393373c267d304a30e0e", "score": "0.5868931", "text": "public interface RoleDAOActions extends DAOActions<HibRole, RoleResponse> {\n\n}", "title": "" }, { "docid": "505dba69675e4206ae25f66f0fbf822c", "score": "0.5857377", "text": "@Test\n public void getUserRolesTest() throws ApiException {\n Integer userId = null;\n List<RoleResource> response = api.getUserRoles(userId);\n\n // TODO: test validations\n }", "title": "" }, { "docid": "cf2b61b6a6be684037a93ca20da7d013", "score": "0.5857225", "text": "iroha.protocol.Responses.Account getAccount();", "title": "" }, { "docid": "aeafd4de70608a01951daaa9e21f8267", "score": "0.58314836", "text": "@JsonProperty(\"roles\")\n public Collection<String> getRoles() {\n return this.roles;\n }", "title": "" }, { "docid": "87f0b319382abce5a2128085f108bb08", "score": "0.58246255", "text": "public UserRoleVO[] getRoles()\n {\n return this.roles;\n }", "title": "" }, { "docid": "fe1f0c3a0d402c807ececf129d9a209f", "score": "0.5823803", "text": "String getRole();", "title": "" }, { "docid": "5c2bda5a331d15531f485d59da338ed2", "score": "0.57849306", "text": "public String getRoles() {\n return roles;\n }", "title": "" }, { "docid": "7eb00f4b701947927ab38daac7b3a3cb", "score": "0.5765466", "text": "public interface RoleAdminService {\n RoleResult<ListRange<StaticRole>> selectListRangePager(Map map);\n RoleResult<StaticRole> insertRole(StaticRole staticRole);\n RoleResult<Integer> deleteRole(Long code);\n RoleResult<StaticRole> selectRole(Long code);\n RoleResult<Integer> updateRole(StaticRole staticRole);\n RoleResult<List<StaticRole>> selectAllRole();\n\n /**\n * 新增用户角色\n */\n RoleResult<StaticUserRole> insertUserRole(StaticUserRole staticUserRole);\n\n /**\n * 删除某个用户下所有已分配的角色\n * @param userId\n * @return\n */\n RoleResult<Integer> deleteUserRole(Long userId);\n\n /**\n * 角色分配\n * @param userPhone\n * @param roles\n * @return\n */\n RoleResult<Integer> distributionRole(String userPhone,String roles);\n\n\n /**\n * 获取某用户下所有角色\n * @param map\n * @return\n */\n RoleResult<List<StaticUserRole>> selectUserRoleByUserPhone(Map map);\n}", "title": "" }, { "docid": "e14494088e3175d8829b4f7edf39efb5", "score": "0.57558817", "text": "List<Role> getRoles() throws OpenXDataSecurityException;", "title": "" }, { "docid": "1ce306390bfb6d335a6164d4b42ed166", "score": "0.5752885", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n iroha.protocol.Responses.RolesResponse, iroha.protocol.Responses.RolesResponse.Builder, iroha.protocol.Responses.RolesResponseOrBuilder> \n getRolesResponseFieldBuilder() {\n if (rolesResponseBuilder_ == null) {\n if (!(responseCase_ == 8)) {\n response_ = iroha.protocol.Responses.RolesResponse.getDefaultInstance();\n }\n rolesResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n iroha.protocol.Responses.RolesResponse, iroha.protocol.Responses.RolesResponse.Builder, iroha.protocol.Responses.RolesResponseOrBuilder>(\n (iroha.protocol.Responses.RolesResponse) response_,\n getParentForChildren(),\n isClean());\n response_ = null;\n }\n responseCase_ = 8;\n onChanged();;\n return rolesResponseBuilder_;\n }", "title": "" }, { "docid": "944909ddda64c6b3a5378609ab61c7c6", "score": "0.5727677", "text": "public interface ModuleRoles extends SisRoles {\r\n\r\n}", "title": "" }, { "docid": "90284104025e9863b021faea0b2db043", "score": "0.57204896", "text": "public interface RaftResponse {\n}", "title": "" }, { "docid": "d8b076855325a901cb9e82cb1948a5d7", "score": "0.571705", "text": "public Builder setRolesResponse(\n iroha.protocol.Responses.RolesResponse.Builder builderForValue) {\n if (rolesResponseBuilder_ == null) {\n response_ = builderForValue.build();\n onChanged();\n } else {\n rolesResponseBuilder_.setMessage(builderForValue.build());\n }\n responseCase_ = 8;\n return this;\n }", "title": "" }, { "docid": "d8c1fad57e36ae12054ecfde10a678ac", "score": "0.57168067", "text": "public void setRoles(Collection<String> value) {\n this.roles = value;\n }", "title": "" }, { "docid": "8802305c7c529fee997e2383ca41c8a2", "score": "0.57165766", "text": "public long getRole();", "title": "" }, { "docid": "a434cd3a2670f0f85d66a8c58204a813", "score": "0.5716431", "text": "public interface RoleObject {\n\n int getId();\n String getName();\n String getPage();\n}", "title": "" }, { "docid": "8ec59b45deac59163c07d91c39d27b04", "score": "0.57130706", "text": "iroha.protocol.Responses.AccountDetailResponse getAccountDetailResponse();", "title": "" }, { "docid": "d6960b82dd1242e02d357bab578872cb", "score": "0.57119536", "text": "@GET\r\n\t@Path(\"/job_seeker\")\r\n\tpublic JobPortalResponse getRoles() {\r\n\r\n\t\tJobPortalResponse jobPortalResponse = new JobPortalResponse();\r\n\t\tjobPortalResponse.setData(service.getJobSeeker());\r\n\t\tjobPortalResponse.setMessage(\"JobSeeker fetched succcessfully\");\r\n\t\tjobPortalResponse.setStatus(Status.STATUS_SUCCESS);\r\n\t\tjobPortalResponse.setStatusCode(Status.STATUSCODE_SUCCESS);\r\n\r\n\t\treturn jobPortalResponse;\r\n\r\n\t}", "title": "" }, { "docid": "5917a929f6ad6262becb5a57687aa259", "score": "0.5711329", "text": "public void setRoles(Set<R> roles)\r\n\t{\r\n\t\tthis.roles = roles;\r\n\t}", "title": "" }, { "docid": "0475168a941609d13573363b621734fd", "score": "0.5695947", "text": "public List<Role> listRoles(User user);", "title": "" }, { "docid": "642c4b8052de68b1221682e7a1f381a5", "score": "0.56601375", "text": "public String getRoleName()\n {\n return roleName;\n }", "title": "" }, { "docid": "ef1b3a7430863b3c11f6c50d27490567", "score": "0.5658717", "text": "List<Role> getAllRoles();", "title": "" }, { "docid": "7cf30d71c65b0dd991842786d6d7456e", "score": "0.5650344", "text": "public List getRoleValue()\n {\n return roleValue;\n }", "title": "" }, { "docid": "9f9aa97ac4a8cc572106bf7674aa3964", "score": "0.56497806", "text": "private void getGrantedRoles() {\n\t\tremoveAllRows();\n\t\t\n\t\tif (uuid != null) {\n\t\t\tMain.get().mainPanel.desktop.browser.tabMultiple.status.setRoleSecurity();\t\n\t\t\tauthService.getGrantedRoles(uuid, callbackGetGrantedRoles);\n\t\t}\n\t}", "title": "" }, { "docid": "0de52734081dce25c958d24697da676d", "score": "0.5645691", "text": "public void setRole(String r) {\n\t\tput(\"role\",r);\n\t}", "title": "" }, { "docid": "11b9bdc71d8eb5b824698be74c74bc1f", "score": "0.5642779", "text": "public List<IRole> getRoles() throws KettleException;", "title": "" }, { "docid": "9263d1eeb13af39fa29497881aa147b4", "score": "0.5639274", "text": "CreateTokenRole.Response createTokenRole(CreateTokenRole.Request request);", "title": "" }, { "docid": "46873fcbf466f4c5233de7e70d66aa0f", "score": "0.56361556", "text": "java.lang.String getRole();", "title": "" }, { "docid": "c096150484f337b235a909957fcd775b", "score": "0.5632053", "text": "iroha.protocol.Responses.AccountResponseOrBuilder getAccountResponseOrBuilder();", "title": "" }, { "docid": "29421d243abfb7266c335f0a6c191b6a", "score": "0.5631869", "text": "public void setRoles(String roles) {\n this.roles = roles;\n }", "title": "" }, { "docid": "71f933881a3a3530edf3fb188230773d", "score": "0.5630187", "text": "@Override\n public List<MRoleMap> listRoles(String arg0, PrincipalType arg1)\n {\n return null;\n }", "title": "" }, { "docid": "f1d1e2a8c545b5bbfbfa0ea257d4f07f", "score": "0.56125534", "text": "public String getRole(){\n\t\treturn role;\n\t}", "title": "" }, { "docid": "6adccf432ee78979aabb390ceff23fdc", "score": "0.5602165", "text": "int getRoleCreate();", "title": "" }, { "docid": "5a24fe2ebb616c9d989876bcfa412572", "score": "0.55936927", "text": "ArrayList<Role> getRoleList(int user_id);", "title": "" }, { "docid": "a5c6c69cab72f1b6083af2759f9fe505", "score": "0.55897593", "text": "public Set<R> getRoles()\r\n\t{\r\n\t\treturn roles;\r\n\t}", "title": "" }, { "docid": "859c512239786d8a0f907d073c173f5d", "score": "0.5585107", "text": "public interface RolesNames {\n String APPRENTICE = \"ROLE_APPRENTICE\";\n String CONSULTANT = \"ROLE_CONSULTANT\";\n String TUTOR = \"ROLE_TUTOR\";\n String SUPER_ADMIN = \"ROLE_SUPER_ADMIN\";\n}", "title": "" }, { "docid": "bcf8c74e3bb95dc18a18120b932138a2", "score": "0.5579226", "text": "public interface Roles {\n\n\t/** USER_ROLE_APPADMIN value: appAdmin */\n\tpublic static String USER_ROLE_APPADMIN = \"appAdmin\";\n\n}", "title": "" }, { "docid": "efb1089fd36d678a26bd0a8a2b880a77", "score": "0.5573918", "text": "CodeableConcept getRole();", "title": "" }, { "docid": "da1a5b72acd4274b342e10b5cd8f056e", "score": "0.55720866", "text": "public Object getRoles() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fad7d6249869893490e4cea207b790fb", "score": "0.55582005", "text": "@Test\n public void setUserRolesTest() throws ApiException {\n List<Long> body = null;\n Integer userId = null;\n String fields = null;\n List<Role> response = api.setUserRoles(body, userId, fields);\n\n // TODO: test validations\n }", "title": "" }, { "docid": "6ee247175b54ffceda88d2cab746ffbb", "score": "0.5548027", "text": "public IRole getRole( String name ) throws KettleException;", "title": "" }, { "docid": "93b60a3a4595a412b7fca994d63c99cc", "score": "0.55452377", "text": "@GET(\"api/v1/db/get_all_roles\")\n Call<JsonObject> getAllRoles(@Header(\"Authorization\") String userToken);", "title": "" }, { "docid": "f65ac05582af10ba219fb2d371371e6b", "score": "0.5542768", "text": "com.ljh.gamedemo.proto.protoc.RoleProto.Role getOwn();", "title": "" }, { "docid": "72563e890f81ddff2e4309620ee4b240", "score": "0.55372727", "text": "boolean hasRolePermissionsResponse();", "title": "" }, { "docid": "d8db60c64810eeb4795802898da1a813", "score": "0.5534836", "text": "public interface RoleService {\n}", "title": "" }, { "docid": "86fc9bdbb18130f2ae626f7e9531af34", "score": "0.55292076", "text": "@Override\n public IRole getRole() {\n return role;\n }", "title": "" }, { "docid": "f9a9bdd51f7963d72da39d647161a3ce", "score": "0.5528226", "text": "public ResourceRole[] getAllResourceRoles() {\n if (getState() == 0 || getState() == 1) {\n ResourceRole[] roles = new ResourceRole[4];\n for (int i = 0; i < roles.length; i++) {\n roles[i] = new ResourceRole(i + 1);\n }\n roles[0].setName(\"Submitter\");\n roles[1].setName(\"Accuracy Reviewer\");\n roles[2].setName(\"Failure Reviewer\");\n roles[3].setName(\"Stress Reviewer\");\n return roles;\n }\n return new ResourceRole[0];\n }", "title": "" }, { "docid": "568da4c0c4dd9f5bdf371a3bf10ab68f", "score": "0.54895896", "text": "@RequestMapping(value= \"/\", method = RequestMethod.GET)\n public@ResponseBody List<RolClienteDto> listaRoles(HttpServletResponse response) throws ServiceException{\n \t\n \treturn serviceManager.getRolclienteservice().getAll(IdUserRequestMapping(\"cliente\"), IdUserRequestMapping(\"grupo\"));\n }", "title": "" }, { "docid": "059bbc72f099eef382d6bb844e80d1f1", "score": "0.5483431", "text": "java.util.List<in.trujobs.proto.JobRoleObject> \n getJobRoleList();", "title": "" }, { "docid": "70591b2c3af41e741c5fe78b32832dcc", "score": "0.54829764", "text": "@JsonIgnore\n\t@Transient\n\t@Override\n\tpublic List<ShiroRole> getRoleList() {\n\t\treturn Lists.newArrayList();\n\t}", "title": "" }, { "docid": "074a4bc71394db6d74ed0a796331e46f", "score": "0.54706633", "text": "@RequestMapping(value= \"/inactivos\", method = RequestMethod.GET)\n public @ResponseBody List<RolClienteDto> listaRolesInactivos(HttpServletResponse response) throws ServiceException{\n\t// System.out.println(\"rolId \"+idRol + \" clienteId \"+idCliente);\n\treturn serviceManager.getRolclienteservice().getAllinactivos(IdUserRequestMapping(\"cliente\"), IdUserRequestMapping(\"grupo\"));\n\t\n }", "title": "" }, { "docid": "5ffe6e0d6007e688283981fb261149dd", "score": "0.5464339", "text": "@Path( \"{userId}/roles\" )\n @GET\n @Produces( { MediaType.APPLICATION_JSON } )\n @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )\n @Operation( summary = \"Returns a list of all roles effectively assigned to the given user.\",\n responses = {\n @ApiResponse( responseCode = \"200\",\n description = \"The list of roles assigned to the given user\",\n content = @Content(mediaType = APPLICATION_JSON, array = @ArraySchema(schema =\n @Schema(implementation = org.apache.archiva.redback.rest.api.model.v2.RoleInfo.class )))\n ),\n @ApiResponse( responseCode = \"404\", description = \"User does not exist\",\n content = @Content(mediaType = APPLICATION_JSON, schema = @Schema(implementation = RedbackRestError.class )) ),\n @ApiResponse( responseCode = \"403\", description = \"The authenticated user has not the permission for retrieving the information.\",\n content = @Content(mediaType = APPLICATION_JSON, schema = @Schema(implementation = RedbackRestError.class )) )\n }\n )\n List<RoleInfo> getEffectivelyAssignedRoles( @PathParam( \"userId\" ) String username )\n throws RedbackServiceException;", "title": "" }, { "docid": "e9a91ee31738e0c46b7e0788e490c859", "score": "0.5456844", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Host.Role getRole();", "title": "" }, { "docid": "dad20d0912d0cf4332d639874d29786d", "score": "0.5456797", "text": "int getRoleValue();", "title": "" }, { "docid": "9113e08595eb533d8d616e0d204a1ce7", "score": "0.5450004", "text": "int getRolesCount();", "title": "" }, { "docid": "9113e08595eb533d8d616e0d204a1ce7", "score": "0.5450004", "text": "int getRolesCount();", "title": "" }, { "docid": "c3a8282273f8083902903c90bd941efa", "score": "0.5445919", "text": "int getRoleExp();", "title": "" }, { "docid": "0046661e0a8a2ae88791b2aa1092aaf4", "score": "0.544485", "text": "long countRoles();", "title": "" }, { "docid": "5ea14b1261b5a80634028604a45c7d55", "score": "0.5442979", "text": "@Test\n public void test_role_success() {\n assertEquals(Role.AS_PREDICTOR.getRole(), \"predictor\");\n assertEquals(Role.AS_NOT_PREDICTOR.getRole(), \"non Predictor\");\n }", "title": "" }, { "docid": "488c7f772454c506b7e708e97c472f4d", "score": "0.5438941", "text": "RoleAuthorization createRoleAuthorization();", "title": "" }, { "docid": "637e4f0c8ace82296bd56793574da5b5", "score": "0.54322153", "text": "iroha.protocol.Responses.SignatoriesResponse getSignatoriesResponse();", "title": "" }, { "docid": "0917b3c958ec55272e57cac6b12761d5", "score": "0.54319173", "text": "public interface RaffleMsg extends Response {\n default String getMethod() {return \"raffleMsg\";}\n\n String getChannel();\n\n String getQuestion();\n\n String getPrize();\n\n List<JsonObject> getChoices();\n\n Timestamp getStartTime();\n\n Boolean forAdmin();\n\n RaffleStatus getRaffleStatus();\n\n Color getNameColor();\n\n Boolean isSubscriberOnly();\n\n Boolean isFollowerOnly();\n}", "title": "" }, { "docid": "60a60efc02310bb15dca803d1c8c6f13", "score": "0.5430326", "text": "public Integer getYhroleid() {\n return yhroleid;\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5424743", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5424743", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5424743", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "9fce8c0d7cc32274178f3785664c1d1c", "score": "0.5424743", "text": "public String getRole() {\n return role;\n }", "title": "" }, { "docid": "bb13359072add56823c705039212b468", "score": "0.54201454", "text": "fzmsupply.Api.RequestDeleteRole getDeleteRole();", "title": "" }, { "docid": "8813495cafc20bd40e8f42c3e5805901", "score": "0.5412881", "text": "Roleinfo get(Integer iRoleId);", "title": "" }, { "docid": "34a542e2fb7e588dfeca3f1ee0272c98", "score": "0.5404149", "text": "public void setRoles( List<IRole> roles ) throws KettleException;", "title": "" }, { "docid": "61dff97780f81eda9b2aa990bffdacde", "score": "0.5403761", "text": "java.util.List<java.lang.Integer> getRolesSidList();", "title": "" }, { "docid": "03b103c940419cde23d59682f7885681", "score": "0.539896", "text": "public interface OtlEmplRolesRViewRow extends Row {\r\n Number getEmrEmplId();\r\n\r\n Number getEmrRolId();\r\n\r\n void setEmrEmplId(Number value);\r\n\r\n void setEmrRolId(Number value);\r\n}", "title": "" }, { "docid": "eba16be40879e2d858bd05d86a0e4a80", "score": "0.5395606", "text": "@Test\n\t// TODO The VoodooControl references will be replaced by VOOD-580 Create a\n\t// Roles (ACL) Module LIB\n\tpublic void Roles_21229_execute() throws Exception {\n\t\tVoodooUtils.voodoo.log.info(\"Running \" + testName + \"...\");\n\n\t\t// Set the Accounts Mass Update cell to None\n\t\tVoodooUtils.focusFrame(\"bwc-frame\");\n\t\tnew VoodooControl(\"div\", \"css\",\n\t\t\t\t\"td#ACLEditView_Access_Accounts_massupdate div:nth-of-type(2)\")\n\t\t\t\t.click();\n\t\tnew VoodooControl(\"select\", \"css\",\n\t\t\t\t\"td#ACLEditView_Access_Accounts_massupdate div select\")\n\t\t\t\t.set(\"None\");\n\t\t// Save the Role\n\t\t// TODO SP-1898\n\t\tnew VoodooControl(\"input\", \"css\", \"div#category_data .button\").click();\n\t\t// Assign a non-admin, QAuser, user to the Role\n\t\tVoodooUtils.focusDefault();\n\t\tAdminModule.assignUserToRole(roleRecord);\n\n\t\t// Log out of Sugar as Admin and log in as QAuser to verify there is no\n\t\t// Mass Update option\n\t\tsugar().logout();\n\t\tsugar().login(sugar().users.getQAUser());\n\t\tsugar().accounts.navToListView();\n\t\t// Check the Actions box and click the drop down to verify the options\n\t\tsugar().accounts.listView.toggleSelectAll();\n\t\tsugar().accounts.listView.openActionDropdown();\n\t\t// TODO VOOD-657\n\t\tnew VoodooControl(\"a\", \"css\", \".fld_addtolist_button.list a\")\n\t\t\t\t.assertVisible(true);\n\t\tnew VoodooControl(\"a\", \"css\", \".fld_merge_button.list a\")\n\t\t\t\t.assertVisible(true);\n\t\tsugar().accounts.listView.getControl(\"exportButton\").assertVisible(true);\n\t\tsugar().accounts.listView.getControl(\"deleteButton\").assertVisible(true);\n\t\tsugar().accounts.listView.getControl(\"massUpdateButton\").assertVisible(\n\t\t\t\tfalse);\n\n\t\tVoodooUtils.voodoo.log.info(testName + \" complete.\");\n\t}", "title": "" } ]
ce4c8cecdb70263a2df9b771f465d75d
Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
[ { "docid": "74410ab7b092411406aea99e4b163e00", "score": "0.0", "text": "public void setTarget(String target) {\n this.target = target;\n }", "title": "" } ]
[ { "docid": "c73a5589b844051c12f85b9074725477", "score": "0.5213983", "text": "@Override\n\tpublic String getMessageDestination() {\n\t\treturn nickname;\n\t}", "title": "" }, { "docid": "e008827dd552455fb7fd93e50d25ad0f", "score": "0.5083207", "text": "public void sendMessage(String to, String content){\n }", "title": "" }, { "docid": "93d630366c3b4176a8005594d915b350", "score": "0.5071946", "text": "void sendMessage(Object msg, String targetUser);", "title": "" }, { "docid": "f64a1027297b7af55bab93b2d6b90fa2", "score": "0.5045614", "text": "public String sender() {\r\n return getParm(2);\r\n }", "title": "" }, { "docid": "6075f825b21ed878a4c6aedb88b1bc4e", "score": "0.5038042", "text": "java.lang.String getSender();", "title": "" }, { "docid": "6075f825b21ed878a4c6aedb88b1bc4e", "score": "0.5038042", "text": "java.lang.String getSender();", "title": "" }, { "docid": "6075f825b21ed878a4c6aedb88b1bc4e", "score": "0.5038042", "text": "java.lang.String getSender();", "title": "" }, { "docid": "6075f825b21ed878a4c6aedb88b1bc4e", "score": "0.5038042", "text": "java.lang.String getSender();", "title": "" }, { "docid": "dc2651cd0dc9a637ba79cced393e4f25", "score": "0.50354636", "text": "String getOutboundCommandInvocationsTopic(SiteWhereTenant tenant);", "title": "" }, { "docid": "8f5842abe8b6ae123bd8bac3a05816c8", "score": "0.50051427", "text": "public void sendMessage(User receiver, User author, InboxMessage message){\n\t\t//some code goes here\n\t}", "title": "" }, { "docid": "1e53d1fd0bdc32bfbc5b6fc2e19ce91f", "score": "0.4980824", "text": "@CrossOrigin\n @MessageMapping(\"/chat.sendMessage\")\n @SendTo(\"/channel/public\")\n public ChatMessage sendMessage(@Payload ChatMessage chatMessage){\n return chatMessage;\n }", "title": "" }, { "docid": "fb9a198e83c9186ad70c95074f8096a6", "score": "0.4929316", "text": "String getOutboundEventsTopic(SiteWhereTenant tenant);", "title": "" }, { "docid": "d7e85288fcb9411b8d5d0a03134bd3d9", "score": "0.49179322", "text": "void send(String message, String routingKey, Message originalMessage) throws Exception;", "title": "" }, { "docid": "e1743aa8a7f1d54f658cb75832eefd4e", "score": "0.49130434", "text": "private void sendAwsSms(String phoneNumber, String msg) {\n byte[] b = new byte[20];\n new Random().nextBytes(b);\n String tmpTopicName = \"physician-message-tmp-\" + Hex.encodeHexString(b);\n // Initialize AWS client\n AmazonSNSClient snsClient = new AmazonSNSClient();\n snsClient.setRegion(Region.getRegion(Regions.US_EAST_1));\n\n // Create the topic\n CreateTopicResult createTopicResult = snsClient.createTopic(new CreateTopicRequest(tmpTopicName));\n snsClient.subscribe(createTopicResult.getTopicArn(), \"SMS\", phoneNumber);\n snsClient.publish(createTopicResult.getTopicArn(), msg);\n\n // Cleanup\n snsClient.deleteTopic(createTopicResult.getTopicArn());\n\n }", "title": "" }, { "docid": "3ca6056c7f7de3f6e74a2f91c672e070", "score": "0.4909756", "text": "public void send( String message, String toUser ) {\n\n\t}", "title": "" }, { "docid": "79258e187b5161fe4332cd38e7c5bebd", "score": "0.49087796", "text": "String getSender();", "title": "" }, { "docid": "6fa26a766a7dc8b29fb62ec289a3ee2d", "score": "0.48946735", "text": "public void sendMessageTo(ICommandSource receiver, ITextComponent component) {\n\t\treceiver.sendMessage((new StringTextComponent(\n\t\t\t\tTextFormatting.BOLD + \"\" + this.nameColor + \"[\" + this.name + \"] \" + TextFormatting.RESET))\n\t\t\t\t\t\t.append(component),\n\t\t\t\tthis.creator);\n\t}", "title": "" }, { "docid": "83c887d28abcc482087f8a08abff10b7", "score": "0.48914137", "text": "public String getTriggeredBy() {\n return this.triggeredBy;\n }", "title": "" }, { "docid": "c5cb5d802f1907aa625d24c38f9e493f", "score": "0.48334178", "text": "public interface MessageSdk {\n /**\n * Sends a message with the given body to the given recipient.\n *\n * @param body Message body\n * @param recipient Recipient user can be identified by any of the Addressing Schema types\n * @return The new message ID\n */\n String send(String body, String recipient);\n\n /**\n * Gets a message details\n *\n * @param messageId The message ID\n * @return A message object with all its properties\n */\n Message get(String messageId);\n}", "title": "" }, { "docid": "598a9fd13406f4b7e813d937cd8c5b55", "score": "0.4814221", "text": "public String getSender() {\n return sender;\n }", "title": "" }, { "docid": "082eaa1d81d001c182344d664643622b", "score": "0.48092398", "text": "@Override\r\n\tpublic String getActionMessage(Square s, Player player) {\n\t\tString message = \"BOT/\";\r\n\t\tif (s instanceof Property) {\r\n\t\t\tProperty ps = (Property) s;\r\n\t\t\tif (ps.getOwner() == null) {\r\n\t\t\t\tmessage += \"BUYPROPERTY\";\r\n\t\t\t}else {\r\n\t\t\t\tmessage += \"NOTHING\";\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn message + \"/\" + player.getName();\r\n\t}", "title": "" }, { "docid": "010bcfe49c25b2f2310b1ca5713c5a5d", "score": "0.47600183", "text": "public String getTo(){\n \treturn getBody(\"(?i)to:\");\n }", "title": "" }, { "docid": "0eb1d29c91673b78dfdc76fc8b5b58f4", "score": "0.47551233", "text": "@Override\n public void sendMessage(IMessage msg, String from) {\n\n }", "title": "" }, { "docid": "12fd47cc7217249dda892a9996a56131", "score": "0.4748945", "text": "@Override\n public void onMessage(BlaubotMessage blaubotMessage) {\n try {\n //System.out.println(\"Got message: \" + new String(blaubotMessage.getPayload()) + \" : \" + blaubotMessage);\n Input in = new Input(blaubotMessage.getPayload());\n Object msg = mKryo.readClassAndObject(in);\n if (msg instanceof StarMessage) {\n if (msg instanceof StarMessageToHub) {\n for (Consumer<Object> hub : mHubs) {\n try {\n hub.accept(((StarMessageToHub)msg).payload);\n } catch (Exception e) {\n Log.e(TAG, \"Error in hub callback\", e);\n }\n }\n } else if (msg instanceof StarMessageToSatellite) {\n String target = ((StarMessageToSatellite)msg).satellite;\n if ((target == null) || getId().equals(target)) {\n for (Consumer<Object> satellite : mSatellites) {\n try {\n satellite.accept(((StarMessageToSatellite)msg).payload);\n } catch (Exception e) {\n Log.e(TAG, \"Error in satellite callback\", e);\n }\n }\n }\n } else if (msg instanceof StarMessageBroadcast) {\n for (Consumer<Object> hub : mHubs) {\n try {\n hub.accept(((StarMessageBroadcast)msg).payload);\n } catch (Exception e) {\n Log.e(TAG, \"Error in hub callback\", e);\n }\n }\n for (Consumer<Object> satellite : mSatellites) {\n try {\n satellite.accept(((StarMessageBroadcast)msg).payload);\n } catch (Exception e) {\n Log.e(TAG, \"Error in satellite callback\", e);\n }\n }\n } else {\n Log.e(TAG, \"Unknown StarMessage type! \" + msg);\n }\n } else {\n Log.e(TAG, \"Invalid message\" + msg);\n }\n } catch (Exception e) {\n Log.e(TAG, \"Error parsing message\", e);\n }\n }", "title": "" }, { "docid": "58dc078bc60d6df0a051188599df4d54", "score": "0.47433355", "text": "public String getSender() {\n\t\treturn sender;\n\t}", "title": "" }, { "docid": "4bd32361f9e3c34549e8f0f886684db0", "score": "0.47340822", "text": "private void sendMessage(A3PMessage toSend) throws IOException{\n\t\toutputStream.write(toSend.bytesToSend());\n//\t\tLog.e(LOG_TAG, \"sent\");\n\t}", "title": "" }, { "docid": "6cdc029a36625a9a649f7897fafa016e", "score": "0.4729254", "text": "String getInboundEventsTopic(SiteWhereTenant tenant);", "title": "" }, { "docid": "30155250761a1c05beffb6c697482bab", "score": "0.4716364", "text": "public static String shout(String originalMessage) {\n\t\treturn originalMessage.toUpperCase();\n\t}", "title": "" }, { "docid": "a38919949d6c57b4abcfd4263411ddb5", "score": "0.47114488", "text": "Optional<String> getTargetMessage();", "title": "" }, { "docid": "de2374a0e71599e0c323db922c800f38", "score": "0.47093463", "text": "public void AzureSender() {\n final WatchMeWebServiceCaller webServiceCaller = new WatchMeWebServiceCaller();\n\n webServiceCaller.userId = MainActivity.userId;\n webServiceCaller.movieId = movie.getID();\n webServiceCaller.postUserMovie();\n }", "title": "" }, { "docid": "1b0548c65f61f13f4f1708f576828edd", "score": "0.4690981", "text": "public void sendToNetWorkService(Context ctx){\n\t\tIntent broadcastIntent = new Intent(NetworkService.ReceiveMessage);\n\t\tBundle bundle = new Bundle();\n\n\t\tbundle.putParcelable(\"message\", this);\n\t\tbroadcastIntent.putExtra(\"message\", bundle);\n\n\t\tctx.sendBroadcast(broadcastIntent);\n\t}", "title": "" }, { "docid": "c46379a1451826a2901f5f7dac810ab9", "score": "0.4687505", "text": "void sendInstantMessage(Contact to, ContactResource toResource, IMessage message);", "title": "" }, { "docid": "0b60aa0191c7cdc3f0c467187c4a2aa5", "score": "0.46446446", "text": "protected String getDestinationQueueName() {\n if (endpointConfiguration.getQueue() != null) {\n return endpointConfiguration.getQueue().toString();\n } else if (StringUtils.hasText(endpointConfiguration.getQueueName())) {\n return endpointConfiguration.getQueueName();\n } else {\n throw new CitrusRuntimeException(\"Neither queue name nor queue object is set - \" +\n \"please specify destination queue\");\n }\n }", "title": "" }, { "docid": "84bb29cd78a9215b2800701a8afdcaea", "score": "0.46106637", "text": "public void sendClickedSquare( int location )\n {\n // if it is my turn\n if ( myTurn ) \n {\n // Below you send the clicked location to the cloud service that will notify the opponent,\n \t // Or the opponent will retrieve the move location itself.\n // Please write your own code below.\n \t if(isGameOver()) {\n \t\t gameOver = true;\n \t\t sendMessage(\"Opponent Won\");\n \t\t sendMessage(\"\"+location);\n \t\t displayMessage(\"CONGRATULATIONS\");\n \t\t highlightGreen((myMark.equals(X_MARK) ? X_MARK : O_MARK));\n \t\t \n \t }\n \t else {\n \t sendMessage(\"Opponent moved\");\n \t sendMessage(\"\"+location);\n \t displayMessage(\"Valid move, please wait.\\n\");\n \t }\n myTurn = false; // not my turn anymore\n } // end if\n }", "title": "" }, { "docid": "361d275b73a7d6692fec1197519fe0d2", "score": "0.4606239", "text": "@Override\n public void sendBody(Endpoint endpoint, Object o) throws CamelExecutionException {\n }", "title": "" }, { "docid": "45d60c27a7deaa73b68ad796c213d33a", "score": "0.46025628", "text": "@Override\n\tpublic void sendMessage(String message, String receiver) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tSystem.out.println(\"Twitter message sended to \"+receiver+\" with message: \"+message);\n\t\t\n\t}", "title": "" }, { "docid": "2283db0dccb946f2b31f033c4d3384c6", "score": "0.46019405", "text": "@Override\n public void sendBodyAndProperty(Endpoint endpoint, Object o, String s, Object o1) throws CamelExecutionException {\n }", "title": "" }, { "docid": "e4329e704062afd9d2de8e71b05d6291", "score": "0.4601313", "text": "@Override\n\tpublic void msgAtDestination() {\n\t\t\n\t}", "title": "" }, { "docid": "f77854add80d878604c0d7b46ee002ed", "score": "0.45965475", "text": "@MessageMapping(\"/chat\")\n @SendTo(\"/topic/broadcast\")\n public ChatMessage broadcastMessage(@Payload ChatMessage chatMessage, StompHeaderAccessor accessor) {\n return chatMessage;\n }", "title": "" }, { "docid": "f95731abd68e1fcf0e1ba3dc1f0df424", "score": "0.45750228", "text": "@javax.annotation.Nonnull\n @ApiModelProperty(example = \"0x7a250d5630b4cf539739df2c5dacb4c659f2488d\", required = true, value = \"Represents the sender address with the respective amount.\")\n\n public String getSender() {\n return sender;\n }", "title": "" }, { "docid": "cd6369475cbfa0f3713be0e1b0ba7a82", "score": "0.45743644", "text": "private void sendFacebookMes(FacebookMessage facebookMessage){\n System.out.println(facebookMessage.toString());\n System.out.println(\"Facebook message sent!\");\n System.out.println();\n }", "title": "" }, { "docid": "8dae5edcb90b0fd8afa440d4a4fbf37e", "score": "0.4540756", "text": "public SENDER getSender() {\n return sender;\n }", "title": "" }, { "docid": "e211e94c7bccc728f9d1d1e02f625e6d", "score": "0.4532875", "text": "public String getAcMessageTo() {\n return acMessageTo;\n }", "title": "" }, { "docid": "35a59e32db3d2442015d587d2ad3a6bd", "score": "0.45289433", "text": "String send(String body, String recipient);", "title": "" }, { "docid": "81f219dbe649d565fcbda8708a77275f", "score": "0.45274454", "text": "void onMessageReceived(IotHubTransportMessage message);", "title": "" }, { "docid": "6debb85ae66bd8914824cea8efd66875", "score": "0.4516697", "text": "@Override\n public String getReqQueueUri(AnalysisMessageType msgType){//@formatter:off\n String queueTo = null;\n switch(msgType){\n case CREATE_RUN : queueTo = queueUriCreateRunReq; break; \n case ANALYSE_RUN : queueTo = queueUriAnalyseRunReq; break;\n case ANALYSE_SAMPLE : queueTo = queueUriAnalyseSampleReq; break;\n case ANALYSE_SEQUENCE : queueTo = queueUriAnalyseSequenceReq; break;\n default : throw new AbException(\"IllegalArguement: Unknown type of message msg=\" + msgType + \" QueueName can not be determined\");\n }//@formatter:off\n return queueTo;\n }", "title": "" }, { "docid": "e778ae3e1e083c5b4e25700876d93d97", "score": "0.45152617", "text": "public void sendmessage(String logthis) {\n Bundle b = new Bundle();\n b.putString(\"logthis\", logthis);\n Message msg = handler.obtainMessage();\n msg.setData(b);\n msg.arg1 = 1;\n msg.what = 1; //so the empty message is not used!\n handler.sendMessage(msg);\n\n }", "title": "" }, { "docid": "891a49151dcc9bb0f6992f97d44e8030", "score": "0.45120862", "text": "public void sendMessageToFaction(Faction sender, Faction reciever,\r\n\t\t\tString message) {\n\r\n\t}", "title": "" }, { "docid": "1b5a51fbdd11039ac0e9c74cd78d1dfc", "score": "0.45096242", "text": "public String getAddressSender() {\n return this.addressSender;\n }", "title": "" }, { "docid": "5291d2992d97d31dbd89a8c4c85694b5", "score": "0.4507819", "text": "public void sendMessage(Message message);", "title": "" }, { "docid": "b1ea94a648ba3ddd284d4e085cc57b43", "score": "0.4506817", "text": "public void propagate(String from, String what) {\n GodotLib.calldeferred(instanceId, \"_from_services\", new Object[]{from, what});\n //Log.d(TAG, \"Back to Godot - instance_id: \" + instanceId + \" from: \" + from + \": \" + what + \".\");\n }", "title": "" }, { "docid": "2488e7db2894750ff63652ba8fbba9b4", "score": "0.4495537", "text": "public void onMessageReceived(Context context,String source,String input) {\n if (source == null) {\n Log.e(TAG,\"SOS broadcasts from anonymous senders is not supported\");\n return;\n }\n }", "title": "" }, { "docid": "8b666c5298edf143599501fd5813db0e", "score": "0.4482803", "text": "@MessageMapping(\"/chat.sendMessage.{numdibujo}}\")\n public void sendMessage(@Payload ChatMessage chatMessage, @DestinationVariable String numdibujo) {\n msgt.convertAndSend(\"/topic/public.\"+numdibujo,chatMessage);\n }", "title": "" }, { "docid": "d73d4b73777930328cbb0519de22f229", "score": "0.4476368", "text": "public void sendMessageWhisper(String to, String message) {\n connectionHandler.sendMessage(\n MessageType.WhisperMessage,\n to,\n message);\n }", "title": "" }, { "docid": "3995eb96977847a2a57666129d9c80f0", "score": "0.44710404", "text": "String getTargetInboundTransportChain();", "title": "" }, { "docid": "3b721fd8ae4a046f889f62cc84517396", "score": "0.4461659", "text": "public String getTopicName(AsyncMockDefinition definition, EventMessage eventMessage) {\n logger.debugf(\"AsyncAPI Operation {%s}\", definition.getOperation().getName());\n // Produce service name part of topic name.\n String serviceName = definition.getOwnerService().getName().replace(\" \", \"\");\n serviceName = serviceName.replace(\"-\", \"\");\n // Produce version name part of topic name.\n String versionName = definition.getOwnerService().getVersion().replace(\" \", \"\");\n // Produce operation name part of topic name.\n String operationName = definition.getOperation().getName();\n if (operationName.startsWith(\"SUBSCRIBE \") || operationName.startsWith(\"PUBLISH \")) {\n operationName = operationName.substring(operationName.indexOf(\" \") + 1);\n }\n\n // replace the parts\n operationName = ProducerManager.replacePartPlaceholders(eventMessage, operationName);\n\n // Aggregate the 3 parts using '_' as delimiter.\n return serviceName + \"-\" + versionName + \"-\" + operationName;\n }", "title": "" }, { "docid": "f5a601757ec805239c2a3f9c6a6386a0", "score": "0.44608068", "text": "public String getSender() {\n return mSender;\n }", "title": "" }, { "docid": "fb25a17ecd17269cab099ba50b025e95", "score": "0.4459408", "text": "@Override\n public void onMessageSent(MessageClient client, Message message, String recipientId) {\n // TODO\n }", "title": "" }, { "docid": "6f7ecd4b485e92b14ad5cfdb4127760b", "score": "0.44574538", "text": "public void setMessageFromAddress(String param) {\r\n\r\n this.localMessageFromAddress = param;\r\n\r\n\r\n }", "title": "" }, { "docid": "5887b5ad0aa82c3a0a387431faabd96a", "score": "0.44570822", "text": "public void send(String recipient, Message message, boolean isCustomChannel);", "title": "" }, { "docid": "141ffd091f07e5b53191543ae0c22ca7", "score": "0.44522196", "text": "public void talkTo(Direction d,String message);", "title": "" }, { "docid": "32d2224bf594fc78d18c959f031d1a4e", "score": "0.44499025", "text": "@Override\n\tpublic void msgAtBusStop(Person person, String destinationStop) {\n\t\t\n\t}", "title": "" }, { "docid": "0bc28a8c515650218eb098f838b4b815", "score": "0.44371244", "text": "public PhysicalInfo getPhysicalSender()\n\t{\n\t\treturn this.physicalSender;\n\t}", "title": "" }, { "docid": "caa3946e206e18032215634ecf26e705", "score": "0.4436071", "text": "protected abstract String getWsAddressingActionName();", "title": "" }, { "docid": "44b830b5fe6384edf830802e6549d5f8", "score": "0.44338524", "text": "@Override\n\tpublic String handleRequest(Map<String,Object> input, Context context) {\n\t\tS3Object pi = s3.getObject(\"teamstudent509/constants\", \"pi\");\n\t\t\n\t\tS3ObjectInputStream pis = pi.getObjectContent();\n\t\tScanner sc = new Scanner(pis);\n\t\tString val = sc.nextLine();\n\t\tsc.close();\n\t\ttry {\n\t\t\tpis.close();\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t}\n\t\t\n\t\tLambdaLogger logger = context.getLogger();\n\t\tString message = (String) input.get(\"message\");\n\t\tString author = (String) input.get(\"author\");\n\t\tString str = message + \"(\" + author + \")\";\n\t\tlogger.log(\"Received:\" + str);\n\t\treturn \"Returned from AWS Lambda. pi=\" + val;\n\t}", "title": "" }, { "docid": "c52a328a0ebc8a50ee4f4716118ea123", "score": "0.44328502", "text": "public void sendMessage(int what) {\n mMainActivity.messageService(what);\n }", "title": "" }, { "docid": "6f0fb8cc898d87a7b5cf5af61d7383e4", "score": "0.4428355", "text": "private void sendMessageWithRequested(MessageEvent event, String info) {\n\n\t\tString signature = \" [ @\" + event.getUser().getNick() + \" ]\";\n\t\tbot.sendIRC().message(botConfig.channel, info + signature);\n\n\t}", "title": "" }, { "docid": "16283e1cfa178a95c52188c57e9c9629", "score": "0.44269654", "text": "protected void sendMessageToVariable(String receiver, Message msg) {\n\t\tqueue.sendMessage(owners.get(receiver), msg);\n\t}", "title": "" }, { "docid": "72bf3d24f7ad0e5b038e3c0721347331", "score": "0.44241425", "text": "default SesEndpointBuilder to(String to) {\n doSetProperty(\"to\", to);\n return this;\n }", "title": "" }, { "docid": "283d17db32af99a6972650eb36a3cd07", "score": "0.44232357", "text": "public void message(final JoinPoint call) {\n\t\tthis.message(call.getThis(), call);\n\t}", "title": "" }, { "docid": "9020c3dcef049418edb7125ac57c67b0", "score": "0.44224486", "text": "public String getSendPlace() {\r\n return sendPlace;\r\n }", "title": "" }, { "docid": "ecff54382bc20cfc1a370178dcc96f64", "score": "0.4419042", "text": "public int sendMessage(int contextHubHandle, int nanoAppHandle, android.hardware.location.ContextHubMessage msg) throws android.os.RemoteException;", "title": "" }, { "docid": "0ad2c93f69fa7de3f211e017b534f6ee", "score": "0.44171134", "text": "@Override\n public void sendBodyAndHeader(Endpoint endpoint, Object o, String s, Object o1) throws CamelExecutionException {\n }", "title": "" }, { "docid": "3d4e1644b0fb6d3da51ab8ae7604fe86", "score": "0.44167778", "text": "@Override public int sendMessage(int contextHubHandle, int nanoAppHandle, android.hardware.location.ContextHubMessage msg) throws android.os.RemoteException\n {\n return 0;\n }", "title": "" }, { "docid": "5bcb09059d4cf6eba35e978a03737a49", "score": "0.4411548", "text": "private void notifyShipping(Order order) {\n \tif (!producer.isEnabled()) {\n \t\treturn;\n \t}\n \t\n logger.info(\"Publishing order to shipping app: \" + order);\n\n String fieldName = \"order\";\n // Push a message into the list to be sent.\n\n try {\n \t// get JSON object string\n \tfinal ObjectMapper mapper = new ObjectMapper();\n \tfinal String orderJSON = mapper.writeValueAsString(order);\n \t\n \tproducer.writeMessage(PUBLISH_TOPIC, fieldName, orderJSON);\n logger.info(\"Publishing order, Done\");\n \n } catch (Exception e) {\n logger.error(\"Exception sending message to Message Hub\", e);\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "771bfc4ff1ad5f42003f1443cfad988d", "score": "0.44114912", "text": "void send(String exchange, String routingKey, Object message) throws Exception;", "title": "" }, { "docid": "3404b3d612ad44c8b8b1997d07d0c2f7", "score": "0.44046342", "text": "public String getTo() {\n return to;\n }", "title": "" }, { "docid": "3345ae35d6e5417dcdadd532548b63a2", "score": "0.4399817", "text": "void onMessageSent(Message message);", "title": "" }, { "docid": "af830179885f7aa8a9d8cc695612e4f1", "score": "0.4396963", "text": "public String getTo() {\r\n\t\treturn to;\r\n\t}", "title": "" }, { "docid": "829d42a69847e9ce85d9e6ff28eae5de", "score": "0.43946284", "text": "public String greetWithMessage(org.apache.camel.component.bean.BeanInvocation beanInvocation){\n String message = (String) beanInvocation.getArgs()[0];\n String name = (String) beanInvocation.getArgs()[1];\n return message + \" \" + name;\n }", "title": "" }, { "docid": "85cc310750270d1409eb9003aef1a3b8", "score": "0.4390609", "text": "public interface SmsSender {\r\n\r\n /**\r\n * Sends the given (tagged with trace data) message to the given member.\r\n */\r\n boolean send(Member member, String text, String traceData);\r\n\r\n}", "title": "" }, { "docid": "79d8049aacf9d5908c64fcb4af28f471", "score": "0.43859687", "text": "public void setSender(java.lang.String param){\r\n \r\n this.localSender=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "79d8049aacf9d5908c64fcb4af28f471", "score": "0.43859687", "text": "public void setSender(java.lang.String param){\r\n \r\n this.localSender=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "79d8049aacf9d5908c64fcb4af28f471", "score": "0.43859687", "text": "public void setSender(java.lang.String param){\r\n \r\n this.localSender=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "79d8049aacf9d5908c64fcb4af28f471", "score": "0.43859687", "text": "public void setSender(java.lang.String param){\r\n \r\n this.localSender=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "601691be6725b25a89e90595cf53b080", "score": "0.43854883", "text": "public void sendMessage(ConfigurableApplicationContext context){\n\t FileSystemUtils.deleteRecursively(new File(\"activemq-data\"));\n\t \n\t // Send a message\n MessageCreator messageCreator = new MessageCreator() {\n public Message createMessage(Session session) throws JMSException {\n return session.createTextMessage(\"ping!\");\n }\n };\n JmsTemplate jmsTemplate = context.getBean(JmsTemplate.class);\n System.out.println(\"Sending a new message.\");\n jmsTemplate.send(\"mailbox-destination\", messageCreator);\n\t}", "title": "" }, { "docid": "5e9b43530732e442225009fe489a8504", "score": "0.437999", "text": "public void setSender(SENDER sender) {\n this.sender = sender;\n }", "title": "" }, { "docid": "9072f951401e616d731b0d512adf1295", "score": "0.437083", "text": "String getInboundReprocessEventsTopic(SiteWhereTenant tenant);", "title": "" }, { "docid": "48bfdd21d91d99ddf5f581edf535a22b", "score": "0.43672127", "text": "public void send() {\n\t\tSystem.out.println(\"this is lightSender\");\n\t}", "title": "" }, { "docid": "0faa3c0bd77d8ae80cfbbc4334072866", "score": "0.43662", "text": "@Override\n protected String sellMessage() {\n return \"Buy Allosaur Egg\";\n }", "title": "" }, { "docid": "e520df1817e0589e21bff60c11227003", "score": "0.4359406", "text": "@Override\n\tpublic void didGetSenderName() {\n\n\t}", "title": "" }, { "docid": "7e8078091c2d965f44430aaf0d01a628", "score": "0.43590572", "text": "public interface SendMessage {\n\n\tpublic String sendMessage(String content, String sender, String topic);\n\t\n}", "title": "" }, { "docid": "b206c19329d7aac40b380af95a01510e", "score": "0.4355656", "text": "@Override\n public void sendBodyAndHeaders(Endpoint endpoint, Object o, Map<String, Object> stringObjectMap) throws CamelExecutionException {\n }", "title": "" }, { "docid": "ace1110aa81b19fbb67f885054d14e02", "score": "0.4348409", "text": "@Override\n public void membershipMessageReceived(SpreadMessage spreadMessage) {\n\n }", "title": "" }, { "docid": "2c2dc4fc7330aee938e5528c0336322c", "score": "0.4345757", "text": "@Override\n\tpublic void msgHere(Robber robber, String name) {\n\t\t\n\t}", "title": "" }, { "docid": "5e8f26fd02f9f14c14311a57d995b197", "score": "0.43445247", "text": "private void sendToDeviceBot() {\n if (System.getProperty(\"device.name\", \"\").contains(\"Plant\")){\n command(\"/device\", \"addSensor\", getProp(\"id\"));\n }\n else if (System.getProperty(\"device.name\", \"\").contains(\"Bot\")) {\n String[] split = System.getProperty(\"device.name\").split(\"\\\\|\");\n String id = split[0];\n command(\"/bot/\" + id, \"addSensor\", getProp(\"id\"));\n }\n }", "title": "" }, { "docid": "6bcdfacf5f7b2f48c2939b25be7519b7", "score": "0.43443784", "text": "private void writeMessage(final Object sender, final String msg, final String prefix) {\n\n final StringBuilder result = new StringBuilder(sender.getClass().getName());\n result.append(\" : \").append(msg);\n this.writeMessage(result.toString(), prefix);\n }", "title": "" }, { "docid": "9c6ba734276ea3dac4368aef8a2c43b0", "score": "0.43431848", "text": "@Override\n\tpublic void send(final String to, final String message) throws SmsException {\n\t\tAjahUtils.requireParam(message, \"message\");\n\t\tif (message.length() > 160) {\n\t\t\tthrow new IllegalArgumentException(\"Message must be 160 characters or less\");\n\t\t}\n\t\tfinal SmsFactory smsFactory = this.mainAccount.getSmsFactory();\n\t\tfinal Map<String, String> smsParams = new HashMap<>();\n\t\tsmsParams.put(\"To\", to); // Replace with a valid phone number\n\t\tsmsParams.put(\"From\", this.defaultSender); // Replace with a valid phone\n\t\tsmsParams.put(\"Body\", message);\n\t\ttry {\n\t\t\tsmsFactory.create(smsParams);\n\t\t} catch (final TwilioRestException e) {\n\t\t\tthrow new SmsException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "96d0098f6f790abce17a0654e47598f1", "score": "0.4341769", "text": "java.lang.String getSenderId();", "title": "" }, { "docid": "3c5503523480126c2cdde6c814af1240", "score": "0.4341598", "text": "public void sendNotification(CustomerUserDto fromUser, CustomerUserDto toUser, String description, float amount);", "title": "" }, { "docid": "753295c8216dba62fd8de894af8c452e", "score": "0.43379685", "text": "@And(\"^\\\"([^\\\"]*)\\\" message is send to \\\"([^\\\"]*)\\\"$\")\n public void messageIsSendTo(String arg0, String arg1) throws Throwable {\n throw new PendingException();\n }", "title": "" } ]
e7f3a70d3fcddf4ba2b24b408945d4b9
Prompt the user to confirm that they want to delete this product.
[ { "docid": "c0171a54fb44c41e995e02e380e8b02d", "score": "0.7393849", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, and click listeners\n // for the positive and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the product.\n deleteProduct();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the product.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" } ]
[ { "docid": "654a95d80e527ca132a731f61c10dd6b", "score": "0.7390678", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, and click listeners\n // for the positive and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the product.\n deleteProduct();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the book.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "bc40a1098913bb3ba6a4ddba46629d1e", "score": "0.7371353", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\r\n builder.setMessage(R.string.delete_dialog_msg);\r\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\r\n public void onClick(DialogInterface dialog, int id) {\r\n // User clicked the \"Delete\" button, so delete the product.\r\n deleteProduct();\r\n }\r\n });\r\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\r\n public void onClick(DialogInterface dialog, int id) {\r\n // User clicked the \"Cancel\" button, so dismiss the dialog\r\n // and continue editing the product.\r\n if (dialog != null) {\r\n dialog.dismiss();\r\n }\r\n }\r\n });\r\n\r\n // Create and show the AlertDialog\r\n AlertDialog alertDialog = builder.create();\r\n alertDialog.show();\r\n }", "title": "" }, { "docid": "b76f4f02b501e0ec72de6c248815e96c", "score": "0.72945005", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteProduct();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "4e7b532964108e6ef2f57b58044b6c5b", "score": "0.7161659", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, and click listeners\n // for the positive and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the card.\n deleteProduct();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "fd3c8be56d7eead9ade316cbe0733d82", "score": "0.70255333", "text": "@FXML\n public void deleteProduct(ActionEvent e) {\n\n int m = JOptionPane.showConfirmDialog(null, \"Are you sure you want to delete this product?\");\n\n Product p = prodTbl.getSelectionModel().getSelectedItem(); //Gets the selected product\n\n if(p.getAllAssociatedParts().isEmpty()){\n if(m == JOptionPane.YES_OPTION){\n\n Inventory.deleteProduct(p); //Deletes the product\n prodTbl.setItems(Inventory.getAllProducts()); //Updates the table\n }\n }else{\n logicError.setText(\"This product has an associated part\");\n }\n }", "title": "" }, { "docid": "7afbb0ea37f2504ebdfaa5afd2c861d5", "score": "0.6938401", "text": "@FXML\n public void deleteProduct(){\n if(productTable.getSelectionModel().getSelectedItem() == null)\n {\n Alert alert = new Alert(AlertType.ERROR);\n alert.setTitle(\"Error\");\n alert.setHeaderText(\"You must have a selected product\");\n alert.setContentText(\"in order to delete and item you must select it in the table first\");\n\n alert.showAndWait();\n }else if(!productTable.getSelectionModel().getSelectedItem().getAllAssociatedParts().isEmpty()){\n Alert alert = new Alert(AlertType.ERROR);\n alert.setTitle(\"Error\");\n alert.setHeaderText(\"Selected product has a part or parts associated with it \");\n alert.setContentText(\"in order to delete item there must be no parts associated with it\");\n\n alert.showAndWait();\n }\n else{\n Alert confirm = new Alert(AlertType.CONFIRMATION);\n\n confirm.setTitle(\"Confirm Deletion\");\n confirm.setHeaderText(\"Are you sure you want to delete product?\");\n\n Optional<ButtonType> result = confirm.showAndWait();\n\n if(result.get() == ButtonType.OK){\n Inventory.deleteProduct(productTable.getSelectionModel().getSelectedItem());\n reFillTables();\n }\n else{\n confirm.close();\n } \n }\n }", "title": "" }, { "docid": "dac0d7906842c352eff275bae3e3c435", "score": "0.69159526", "text": "@FXML\n\t\tpublic void deleteProduct(ActionEvent event) {\n\t\t\tString prodName = fxProductName.getText();\n\t\t\tInteger ProductId = lvProducts.getSelectionModel().getSelectedItem().getProductId();\n\t\t\tProduct p = new Product();\n\t\t\tp.setProductId(ProductId);\n\t\t\tp.setProdName(prodName);\n\t\t\t\n\t\t\tAlert alert = new Alert(AlertType.CONFIRMATION);\n\t\t\talert.setTitle(\"Delete Product Confirmation!\");\n\t\t\talert.setHeaderText(\"Delete Product '\" + prodName +\"'\");\n\t\t\talert.setContentText(\"Are you sure, you want delete this product?\");\n\n\t\t\tOptional<ButtonType> result = alert.showAndWait();\n\t\t\t\n\t\t\tif (result.get() == ButtonType.OK){\n\t\t\t\tBoolean i = new ProductDB().deleteProduct(p);\n\t\t\t\tif(i.equals(true)) {\n\t\t\t\t\tAlert alerts = new Alert(AlertType.INFORMATION);\n\t\t\t\t\talerts.setTitle(\"Sucess!\");\n\t\t\t\t\talerts.setHeaderText(null);\n\t\t\t\t\talerts.setContentText(\"Product Sucessfully Deleted!\");\n\t\t\t\t\talerts.showAndWait();\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tAlert alertf = new Alert(AlertType.ERROR);\n\t\t\t\t\talertf.setTitle(\"Failed!\");\n\t\t\t\t\talertf.setHeaderText(\"Look, an Error Dialog\");\n\t\t\t\t\talertf.setContentText(\"Ooops, there was an error! Unable to delete the Product!\");\n\t\t\t\t}\n\t\t\t\tloadProductList();\n\t\t\t\tclearControls();\n\t\t\t} \n\t\t\t\n\t\t}", "title": "" }, { "docid": "eb0658bfbc167c13e00b6d203effa4cf", "score": "0.69064945", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_confirmaion);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteItem();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "48a64f2980e3542311addcfdf70a810d", "score": "0.6899315", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setMessage(R.string.are_you_sure);\n builder.setPositiveButton(R.string.delete_account, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button\n deleteUser();\n }\n });\n builder.setNegativeButton(\"cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "cea11462e90c69176c7a98ee518e3334", "score": "0.6886745", "text": "public void handleProductDelete(ActionEvent event) {\n ProductInvoice selectedForDeletion = this.tableView.getSelectionModel().getSelectedItem();\n if (selectedForDeletion == null) {\n DialogHandler.showMaterialErrorDialog(this.mainContainer,\n \"Por favor seleccione um produto para apagar.\");\n return;\n }\n boolean option = DialogHandler.showMaterialConfirmationDialog(this.mainContainer,\n \"Apagar Produto\",\n \"Tem a certeza que pretende apagar o produto?\");\n if (option) {\n boolean result = DatabaseHandler.deleteInvoiceProduct(selectedForDeletion);\n if (result) {\n DialogHandler.showMaterialInformationDialog(this.mainContainer, \"Produto apagado\",\n \"Produto apagado com sucesso.\", false);\n this.list.remove(selectedForDeletion);\n } else {\n DialogHandler.showMaterialInformationDialog(this.mainContainer, \"Cancelado\",\n new String(\"Nenhuns dados serão apagados.\".getBytes(), StandardCharsets.UTF_8),\n false);\n }\n }\n }", "title": "" }, { "docid": "b117eba26fbe03fb61aab2f0990f30ba", "score": "0.6845529", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, and click listeners\n // for the postive and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteItem();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the movie.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "890bc36070c90ebf60c6045f035d7e8e", "score": "0.6821178", "text": "@Then(\"^User confirms removal of item by clicking Yes from dialogue box$\")\n\tpublic void user_confirms_removal_of_item_by_clicking_Yes_from_dialogue_box() throws Throwable {\n\t Assert.assertTrue(removeFromCart.isCartEmptyMessageDisplayed()); \n\t logger.info(\"Verify whether confirmation dialog box appears\");\n\t}", "title": "" }, { "docid": "9579c3fd1216a1b08f6054d1257b0f0a", "score": "0.6785047", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(\"Condirm delete\");\n builder.setPositiveButton(\"Delete\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteNote();\n }\n });\n builder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the Note.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "f62985a9c2eb4b0be5355dc01d7d4d9a", "score": "0.6764408", "text": "private void showDeleteConfirmationDialogue() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteItem();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "e25a773f351b089a8ca97a3e8dc1f739", "score": "0.6691146", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deletePet();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "61cc9d75ce52a0433a84bfea1cec4e56", "score": "0.66664225", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, & click listeners\n // for the positive and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked \"Delete\" so delete book.\n deleteBook();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int id) {\n // User clicked \"Cancel\" so dismiss dialog & continue editing.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create an show AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "f4bc7166bb966ee5482b248b1f6dea85", "score": "0.6636407", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, and click listeners\n // for the postivie and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_all_trips);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteAllTrips();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "be96acdf99be8bdbc64a9c6c04449a80", "score": "0.66162467", "text": "public void confirm() {\n if (fieldsAreValid()) {\n String name = this.name.getText();\n int preparationTime = Integer.parseInt(prepTime.getText());\n int cookingTime = Integer.parseInt(cookTime.getText());\n int numberOfServings = Integer.parseInt(numServings.getText());\n\n RecipeImpl newRecipe = new RecipeImpl(name, preparationTime, cookingTime, numberOfServings, newIngredients);\n recipeTable.putRecipe(newRecipe);\n responseText.setText(\"Recipe has been added!\");\n responseText.setVisible(true);\n } else {\n responseText.setVisible(true);\n }\n }", "title": "" }, { "docid": "3bb999371e03b326528f902c8fc4ba3a", "score": "0.6591624", "text": "@Override\n public void onClick(View v) {\n final String productID = model.getPid();\n\n // create a dialog box\n CharSequence options[] = new CharSequence[]{\n // here we will pass the options (btns) of the dialog box\n \"Yes\",\n \"No\"\n };\n\n AlertDialog.Builder builder = new AlertDialog.Builder(getContext());\n builder.setTitle(\"Do you want to Delete this Product, Are you Sure?\");\n // get the yes or no\n builder.setItems(options, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n // if the admin clicks Yes we have to change Product state to approved\n if (which == 0) // zero here refer to \"Yes btn\" which is the first option\n {\n //(28 - C - 7)\n RemoveProduct(productID);\n }\n else // otherwise he choose \"No\"\n {\n\n }\n }\n });\n\n builder.show();\n }", "title": "" }, { "docid": "3b55f88b5d761808cedf44067eaac627", "score": "0.6581978", "text": "private void showConfirmDelete() {\r\n\t\tDeleteConfirmDialogListener callback = new DeleteConfirmDialogListener();\r\n\t\tConfirmDialog.show(getParent().getWindow(), \"Confirm Delete\", \"Delete record?\", \"Yes\", \"Cancel\", callback);\r\n\t}", "title": "" }, { "docid": "b9dac5281e655f8de7e0ee47791153b9", "score": "0.6569269", "text": "@DefaultMessage(\"Confirm delete action\")\n\tString deleteConfirmTitle();", "title": "" }, { "docid": "5e41fb180e6ae25b0d3aa26fa624a5f5", "score": "0.65676385", "text": "private int confirmAction(String type, Integer order) {\n\t\tString message = order == null ? \"delete the selected item?\" : \"delete order \" + order + \"?\";\n\n\t\treturn Prompter.prompt(\"Are you sure you want to \" + message, \"Confirm \" + type + \" Deletion\");\n\t}", "title": "" }, { "docid": "e2700af51d767637d55fc16fd47e3324", "score": "0.65659714", "text": "private void showDeleteAllConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_all_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the products.\n deleteAllProducts();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the product.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "b71650ba94d1d40838b0a5574fe95ecf", "score": "0.6565365", "text": "private static void deleteProduct()\n\t{\n\t\tif (store.isNull(storeName))\n\t\t{\n\t\t\tSystem.out.println(\"no products\");\n\t\t\tstoreMenuFlow();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tint listCount = listProduct();\n\t\t\tif (listCount == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"no products\");\n\t\t\t\tstoreMenuFlow();\n\t\t\t}\n\t\t\tSystem.out.println(\"Which product do you want to delete?\");\n\t\t\tString product = scanner.next();\n\t\t\tint deleteIndex = store.selectProduct(storeName, product);\n\t\t\tif (deleteIndex == -1)\n\t\t\t\tSystem.out.println(\"The product does not exist.\");\t\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tstore.removeRecord(storeName, deleteIndex);\n\t\t\t\tSystem.out.println(\"The product was deleted.\");\t\n\t\t\t}\n\t\t\tstoreMenuFlow();\t\n\t\t}\n\t}", "title": "" }, { "docid": "0764bc26198b7cc787100319dfb22b04", "score": "0.6531995", "text": "private void showDeleteConfirmationDialog(){\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n\n builder.setMessage(R.string.delete_pet_dialog_message);\n builder.setPositiveButton(R.string.delete_pet, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n deletePet();\n }\n });\n\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n if(dialog!=null){\n dialog.dismiss();\n }\n }\n });\n\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "28c58f46f72b2456b51e8f1c6f8fe614", "score": "0.65205276", "text": "@Command @NotifyChange(\"deleteMessage\")\r\n public void confirmDelete(){\n deleteMessage = \"Do you want to delete \"+selected.getName()+\" ?\";\r\n }", "title": "" }, { "docid": "da51b9cc647501efc0a2afa8e9996bbc", "score": "0.650787", "text": "private boolean confirmDelete(MonsterAttack attack) {\n\t\tAlert dialog = new Alert(Alert.AlertType.CONFIRMATION);\n\t\tdialog.setContentText(\"Are you sure you want to delete this attack?\\n\" + attack);\n\t\tOptional<ButtonType> result = dialog.showAndWait();\n\t\tif (result.isPresent() && result.get() == ButtonType.OK) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3ad1f7451d8aafe62ab138cdd5eba29e", "score": "0.65068686", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg_for_all_data);\n builder.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteData();\n }\n });\n builder.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "a9115563e12e0febcdab86f15dee62bf", "score": "0.6504554", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_all_dialog_msg);\n builder.setPositiveButton(R.string.delete_all, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the pet.\n deleteAllBooks();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "0b585678a42e63c9f98837a9d0f62c8e", "score": "0.648104", "text": "public void confirmDelete(View view) {\n new AlertDialog.Builder(this)\n .setMessage(\"Are you sure you want to delete this device?\")\n .setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n deleteDevice();\n }\n })\n .setNegativeButton(R.string.no, null)\n .show();\n }", "title": "" }, { "docid": "c821157a802b79b3ec80d9ebc9b612ec", "score": "0.6454288", "text": "public void delete() {\n\t\tint x = JOptionPane.showConfirmDialog(null, \"Are you sure?\");\n\t\tDataStore instance = DataStore.getInstance();\n\t\tif(x == JOptionPane.YES_OPTION){\n\t\t\tinstance.remove(model.getSelectedRow());\n\t\t\tmodel.fireTableDataChanged();\n\t\t\tmodel.setSelectedRow(-1);\n\t\t\tdelete.setEnabled(false);\n\t\t\tedit.setEnabled(false);\n\t\t}\n\t\telse if(x == JOptionPane.NO_OPTION){\n\t\t\t//just exit the dialog\n\t\t}\n\t}", "title": "" }, { "docid": "42acee3f58d9a42cc0874510b546514d", "score": "0.64255255", "text": "@FXML\n public void MainProdDelete(ActionEvent event) throws IOException {\n Product product = MainProductsTableView.getSelectionModel().getSelectedItem();\n Alert alert = new Alert(AlertType.CONFIRMATION);\n alert.initModality(Modality.NONE);\n alert.setTitle(\"Product Delete\");\n alert.setHeaderText(\"Confirm?\");\n alert.setContentText(\"Are you sure you want to delete \" + product.getProductName() + \"?\");\n Optional<ButtonType> result = alert.showAndWait();\n if (result.get() == ButtonType.OK) {\n if ( !product.getAssociatedParts().isEmpty()){\n Alert alert2 = new Alert(Alert.AlertType.INFORMATION);\n alert.setTitle(\"Error deleting product\");\n alert.setHeaderText(\"Error\");\n alert.setContentText(\"cannot delete product with an associated part\");\n alert.showAndWait();\n } else {\n Inventory.deleteProduct(product);\n ObservableList<Product> update = Inventory.getAllProducts();\n MainProductsTableView.setItems(update); \n System.out.println(\"Part \" + product.getProductName() + \" was removed.\");\n }\n } else {\n System.out.println(\"Part \" + product.getProductName() + \" was not removed.\");\n }\n }", "title": "" }, { "docid": "9950736c72cafe1a56b3f79c80e428d4", "score": "0.6392003", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Delete\" button, so delete the reminder.\n deleteReminder();\n\n\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the pet.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "580698ded97812c9f95702cd6296d4bd", "score": "0.6350613", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, and click listeners\n // for the postivie and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_dialog_msg);\n builder.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n deleteStationery();\n }\n });\n builder.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "9e99dc4be2eb83a54875e8b2c42b57de", "score": "0.6349747", "text": "@Override\n\tpublic void buttonClick(ClickEvent event) {\n\t\t\n\t\tfinal Object id = getDeleteLink().getData();\n\t\tfinal String name = (String) getTable().getContainerProperty(id,\"articles\").getValue();\n\t\tif(getDtoToDelete().getHead().equals(name)){\n\t\t\tConfirmDialog.show(UI.getCurrent(), \"Please Confirm:\",\" Are you really sure to delete?\",\n\t\t\t \"Yes\", \"Cancel\", new ConfirmDialog.Listener() {\n\n\t\t\t\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t\t\t\tpublic void onClose(ConfirmDialog dialog) {\n\t\t\t if (dialog.isConfirmed()) {\n\t\t\t // Confirmed to continue\n\t\t\t \ttry\n\t\t\t \t{\n\t\t\t \t\tgetDtoToDelete().setIsVisible(0);\n\t\t\t \t\t((ArticleService) getService()).update(getDtoToDelete());\n\t\t\t \t\tgetTable().removeItem(id);\n\t\t\t \t\tgetTable().setPageLength(getTable().getPageLength()-1);\n\t\t\t \t\t\t\tNotification.show(getDtoToDelete().getHead()+\" article deleted succesfully\");\n\t\t\t \t}catch(AuthorizationException ex){Notification.show(\"You are not permitted to delete articles\");}\n\t\t\t } else {\n\t\t\t // User did not confirm\n\t\t\t \n\t\t\t }\n\t\t\t }\n\t\t\t });\n\t\t}\n\t}", "title": "" }, { "docid": "7972d29e723f19ea8f4c973bcb7ddb32", "score": "0.63346666", "text": "private void showDeleteConfirmationDialog() {\n // Create an AlertDialog.Builder and set the message, and click listeners\n // for the postivie and negative buttons on the dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_game_dialog_msg);\n builder.setPositiveButton(R.string.delete, new OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // UserModel clicked the \"Delete\" button, so delete the game.\n deleteGame();\n }\n });\n builder.setNegativeButton(R.string.cancel, new OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // UserModel clicked the \"Cancel\" button, so dismiss the dialog\n // and continue editing the game.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "8898d02bc41adff6a4125932bff00617", "score": "0.6275842", "text": "private void deleteProduct() {\r\n // Only perform the delete if this is an existing product.\r\n if (currentInventoryUri != null) {\r\n // Call the ContentResolver to delete the product at the given content URI.\r\n // Pass in null for the selection and selection args because the currentUri\r\n // content URI already identifies the product that we want.\r\n int rowsDeleted = getContentResolver().delete(currentInventoryUri, null, null);\r\n\r\n // Show a toast message depending on whether or not the delete was successful.\r\n if (rowsDeleted == 0) {\r\n // If no rows were deleted, then there was an error with the delete.\r\n Toast.makeText(this, getString(R.string.delete_product_failed),\r\n Toast.LENGTH_SHORT).show();\r\n } else {\r\n // Otherwise, the delete was successful and we can display a toast.\r\n Toast.makeText(this, getString(R.string.delete_product_successful),\r\n Toast.LENGTH_SHORT).show();\r\n }\r\n }\r\n\r\n // Close the activity\r\n finish();\r\n }", "title": "" }, { "docid": "28d5b784ca1ee3b91a3c0c894cde8fa0", "score": "0.6248687", "text": "private void displayConfDialog(){\n JFrame frame = new JFrame();\n UIManager.put(\"OptionPane.messageFont\", new Font(\"System\", Font.PLAIN, 18));//This will set the message Font\n UIManager.put(\"OptionPane.buttonFont\", new Font(\"System\", Font.PLAIN, 18));//This will set the button Font\n int n = JOptionPane.showConfirmDialog(\n frame, \"This product will be removed from your list. Are you sure?\",\n \"Remove confirmation\",\n JOptionPane.YES_NO_OPTION);\n if(n == JOptionPane.YES_OPTION){\n listProduct.remove(productID);//Product will be removed from the array\n managementWindow.refreshPanel();\n setVisible(false);\n } \n }", "title": "" }, { "docid": "644dacfe49577a75d237bd537e24abf5", "score": "0.62484443", "text": "@Override\n public void doConfirm() {\n }", "title": "" }, { "docid": "3d3a44f9b7d71ef78eb60d8870bdb2a5", "score": "0.62346643", "text": "private void deleteProduct() {\n // Only perform the delete if this is an existing book.\n if (mCurrentProductUri != null) {\n // Call the ContentResolver to delete the book at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentProductUri\n // content URI already identifies the book that we want.\n int rowsDeleted = getContentResolver().delete(mCurrentProductUri, null, null);\n\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_product_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_product_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n\n // Close the activity\n finish();\n }", "title": "" }, { "docid": "00642d2dbe6360fd242dbff5291d55b1", "score": "0.62269145", "text": "@FXML\r\n\tprivate void openDeleteConfirmation(Event e) {\r\n\t\tphotoalbum.util.Services.openConfirmationDialog(\"Delete \"+\r\n\t\t\t\talbumList.getSelectionModel().getSelectedItem()+\" ?\",\r\n\t\t\t\t(Boolean b) -> checkDelete(b));\r\n\t}", "title": "" }, { "docid": "c87dfbfc317cece889fe02d9e03d4770", "score": "0.6226816", "text": "@FXML\n public void deletePart(){\n if(partTable.getSelectionModel().getSelectedItem() == null)\n {\n Alert alert = new Alert(AlertType.ERROR);\n alert.setTitle(\"Error\");\n alert.setHeaderText(\"You must have a selected part\");\n alert.setContentText(\"in order to delete and item you must select it in the table first\");\n\n alert.showAndWait();\n }\n else{\n Alert confirm = new Alert(AlertType.CONFIRMATION);\n\n confirm.setTitle(\"Confirm Deletion\");\n confirm.setHeaderText(\"Are you sure you want to delete part?\");\n\n Optional<ButtonType> result = confirm.showAndWait();\n\n if(result.get() == ButtonType.OK){\n Inventory.deletePart(partTable.getSelectionModel().getSelectedItem());\n reFillTables();\n }\n else{\n confirm.close();\n } \n }\n }", "title": "" }, { "docid": "7c21f38cdb0d6286acedfdb3a669b3b1", "score": "0.62255865", "text": "private void deleteWithConfirmDialog(final Exam e) {\n\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(getActivity());\n\t\tbuilder.setMessage(R.string.dialog_delete_msg)\n\t\t .setCancelable(false)\n\t\t .setPositiveButton(R.string.dialog_confirm_txt, new DialogInterface.OnClickListener() {\n\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t deleteFinalExam(e);\n\t\t }\n\t\t })\n\t\t .setNegativeButton(R.string.dialog_cancel_txt, new DialogInterface.OnClickListener() {\n\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t dialog.cancel();\n\t\t }\n\t\t })\n\t\t //Set your icon here\n\t\t .setTitle(R.string.dialog_delete_title);\n\t\t //.setIcon(R.drawable.icon);\n\t\tAlertDialog alert = builder.create();\n\t\talert.show();//showing the dialog\n\t}", "title": "" }, { "docid": "f1e100f3b6ab07174947f86f32916a3c", "score": "0.6211773", "text": "private void confirmarSalida() {\n Object[] opciones = {\"Aceptar\", \"Cancelar\"};\n int eleccion = JOptionPane.showOptionDialog(\n rootPane, \"En realidad desea cerrar la lista de eventos?\",\n \"Mensaje de Confirmacion\",\n JOptionPane.YES_NO_OPTION,\n JOptionPane.QUESTION_MESSAGE, null, opciones, \"Aceptar\");\n if (eleccion == JOptionPane.YES_OPTION) {\n List<String> info = new ArrayList();\n info.add(\"Desbloquear\");\n com.setInfo(info);\n this.dispose();\n }\n }", "title": "" }, { "docid": "bc4ce68ece2987cdc395971d47a41009", "score": "0.6204052", "text": "public void deleteProduct();", "title": "" }, { "docid": "50796876e3a534cc44b34b4a5db6600d", "score": "0.61972004", "text": "@FXML\n public void deletePart(ActionEvent e) {\n\n int m = JOptionPane.showConfirmDialog(null, \"Are you sure you want to delete this part?\");\n\n if(m == JOptionPane.YES_OPTION){\n\n Part part = partTbl.getSelectionModel().getSelectedItem(); //Gets the selected part\n Inventory.deletePart(part); //Deletes the part\n partTbl.setItems(Inventory.getAllParts()); //Updates the table\n }\n }", "title": "" }, { "docid": "f8dcd4658e4ad04b411dc4b54c1c45b2", "score": "0.6173949", "text": "boolean askUserDeleteObjects(boolean plural) {\n // Confirmation dialog\n return MessageDialog.openQuestion(\n Display.getDefault().getActiveShell(),\n Messages.TreeViewerHelper_0,\n plural ?\n Messages.TreeViewerHelper_1 \n : \n Messages.TreeViewerHelper_2);\n }", "title": "" }, { "docid": "e92b6cea5a1189420be62b3e96051d36", "score": "0.6162813", "text": "@Override\n public void doConfirm() {\n System.exit(0);\n }", "title": "" }, { "docid": "4da71e1068f241f89fa2d408cb28f693", "score": "0.6157893", "text": "private void deleteProduct() {\n // Implement this method\n // Only perform the delete if this is an existing pet.\n if (currentProductUri != null) {\n // Call the ContentResolver to delete the pet at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentPetUri\n // content URI already identifies the pet that we want.\n int rowsDeleted = getContentResolver().delete(currentProductUri, null, null);\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_pet_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_pet_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n }", "title": "" }, { "docid": "33d2069bb91ee36f18c936d204c87375", "score": "0.615714", "text": "private void showDeleteConfirmationDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(R.string.delete_all_dialog_msg);\n builder.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n deleteAllItems();\n }\n });\n builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "92400aa90d71d1d03f488b2532636dc3", "score": "0.6154806", "text": "@FXML\r\n\tprivate void delete() {\r\n\t\tAlertBox a = new AlertBox();\r\n\t\tboolean answer = a.display(\"Delete User\", \"Are you sure you want to delete this user?\");\r\n\t\tif (answer == true) {\r\n\t\t\tif (!existingUserBox.getSelectionModel().isEmpty()) {\r\n\t\t\t\tlabelConfirm.setText(\"User \" + existingUserBox.getSelectionModel().getSelectedItem() + \" deleted\");\r\n\t\t\t\tString chosenUser = existingUserBox.getSelectionModel().getSelectedItem();\r\n\t\t\t\tremoveUserProfile(chosenUser);\r\n\t\t\t} else {\r\n\t\t\t\tlabelConfirm.setText(\"No Username Chosen!\");\t\r\n\t\t\t}\r\n\t\t\tupdateProfileChoice();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ec47052340daeff948ec06a9a09752f1", "score": "0.6150283", "text": "public static void delete() {\n do {\n\n System.out.println(\"Enter Product ID with its Supplier ID to delete\");\n System.out.println(\"Enter 0 to go back\");\n\n System.out.println(\"Product ID: \");\n\n selection = scan.nextInt();\n scan.nextLine();\n\n\n System.out.println(\"Supplier ID: \");\n selection1 = scan.nextInt();\n scan.nextLine();\n\n if (selection > 0 & selection1> 0) {\n // SQL drop statement\n Merchandise.deleteProduct(selection, selection1);\n } else if (selection < 0 || selection1 < 0) {\n System.out.println(\"The selection is invalid\");\n } else if (selection == 0) {\n System.out.println(\"Back to merchandise screen\");\n break;\n }\n System.out.println();\n } while (selection != 0);\n }", "title": "" }, { "docid": "c4f2df23f2001c36337fb496ed8d4bd9", "score": "0.6149138", "text": "public void confirmDeleteUser() {\n buttonColor = deleteConfirmButton.getCssValue(\"background-color\");\n deleteConfirmButton.click();\n }", "title": "" }, { "docid": "ab2b6cd74c68d5793124960db2398800", "score": "0.6142122", "text": "private void deleteProduct() {\n // Only perform the delete if this is an existing product.\n if (mCurrentProductUri != null) {\n // Call the ContentResolver to delete the product at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentProductUri\n // content URI already identifies the product that we want\n int rowsDeleted = getContentResolver().delete(mCurrentProductUri, null, null);\n\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_product_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_product_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n\n // Close the activity\n finish();\n }", "title": "" }, { "docid": "45b9dafc52dd88eff3c20b226a4b53d1", "score": "0.6121683", "text": "@FXML\n void handleDeleteAssociatedPartBtn(ActionEvent event) {\n if (product.getAssociatedParts().size() == 1){\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"Delete\");\n alert.setHeaderText(\"Attempt to delete\");\n alert.setContentText(\"The product must have at least ONE associated part!\");\n \n alert.showAndWait();\n }else if(bottomPartTbView.getSelectionModel().getSelectedItem() != null){\n product.removeAssociatedPart(bottomPartTbView.getSelectionModel().getSelectedItem());\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n alert.setTitle(\"Delete\");\n alert.setHeaderText(\"Delete\");\n alert.setContentText(\"Part Successfuly Deleted!\");\n \n alert.showAndWait();\n //if there is no selection\n }else{\n Alert alert = new Alert(Alert.AlertType.WARNING);\n alert.setTitle(\"No Selection\");\n alert.setHeaderText(\"No Associated part Selected\");\n alert.setContentText(\"Please select a part in the table.\");\n \n alert.showAndWait();\n }\n }", "title": "" }, { "docid": "31e586f02b56d7816315b1dbfe2c40f5", "score": "0.61173934", "text": "private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed\n try {\n if(JOptionPane.showConfirmDialog(null,\"Desea borrar este dato?\"\n ,\"Borrar formatos\",JOptionPane.YES_NO_OPTION) == JOptionPane.OK_OPTION)\n \n if(txid.getText().length() != 0){ \n stm.executeUpdate(\"Delete From stock where id = \"+txid.getText()); ver();\n }\n else { JOptionPane.showMessageDialog(null,\"Completar datos !\");} \n }catch (Exception e){\n JOptionPane.showMessageDialog(null,\"Error al borrar\\n\"+e.getMessage());\n }\n }", "title": "" }, { "docid": "7a27ba4e97bcf8c8921836fcfd06785d", "score": "0.610332", "text": "private void createAndShowAlertDialogForDelete(final int adapterPosition) {\n final AlertDialog.Builder builder = new AlertDialog.Builder(context,R.style.MyDialogTheme);\n builder.setTitle(context.getString(R.string.ask_delete_product,\n products.get(adapterPosition).getName()));\n builder.setMessage(R.string.ask_delete_product_from_database);\n builder.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n productDAO.deleteFromDatabase(products.get(adapterPosition).getId());\n products.remove(adapterPosition);\n notifyItemRemoved(adapterPosition);\n notifyItemRangeChanged(adapterPosition, products.size());\n dialog.dismiss();\n }\n });\n builder.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n }\n });\n AlertDialog dialog = builder.create();\n dialog.show();\n }", "title": "" }, { "docid": "1203c9755ed59640be4537ae95d20db9", "score": "0.6102501", "text": "protected void confirmButton(ActionEvent e) {\n\t\tString username = this.username.getText();\n\t\tif(\"\".equals(username)||username==null) {\n\t\t\tJOptionPane.showMessageDialog(this, \"请输入学号\");\n\t\t\treturn;\n\t\t}\n\t\tStudentInfoDao studeldao = new StudentInfoDao();\n\t\tJOptionPane.showMessageDialog(this, studeldao.delStuDao(username));\n\t}", "title": "" }, { "docid": "6a6c29c048f1078bfc7366de9c41fa5a", "score": "0.6089192", "text": "@Override\r\n\t\t\t\t\tpublic void confirm() {\n\t\t\t\t\t\tIntent intent = new Intent(MainActivity.this,PropertyStoreActivity.class);\r\n\t\t\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NO_USER_ACTION);\r\n\t\t\t\t\t\tstartActivityForResult(intent, REQUE_BUYPROP);\r\n\t\t\t\t\t}", "title": "" }, { "docid": "3660fa644096fdb44f3b7fb1d4eceef5", "score": "0.6086234", "text": "private void quitter() {\n int rep = JOptionPane.showConfirmDialog(this, \"Voulez-vous vraiment quitter ?\", \n \"Attention\", JOptionPane.YES_NO_OPTION);\n if (rep == JOptionPane.YES_OPTION) {\n System.exit(0);\n }\n }", "title": "" }, { "docid": "43592e5f59f8f3e93e5389ebef8cde08", "score": "0.60855603", "text": "public void DeleteFailure(){\n simpleConfirmRequest(R.string.title_inform_delete, R.string.msg_inform_deletion_fail, false);\n }", "title": "" }, { "docid": "f7860eeca02c368adf0f08dfbfce407b", "score": "0.60794216", "text": "private void showConfirmDialog() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(\"¿Seguro?\").setCancelable(true)\n .setPositiveButton(\"Sí\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dbHelper.deleteNote(ID);\n Toast.makeText(getApplicationContext(), \"Nota borrada\",\n Toast.LENGTH_SHORT).show();\n onBackPressed();\n }\n }).setNegativeButton(\"No\",\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n dialog.cancel();\n }\n });\n\n AlertDialog alert = builder.create();\n alert.show();\n\n }", "title": "" }, { "docid": "dc899fe3f32aa142f8dd281ec2d755ea", "score": "0.6071413", "text": "@Override\n public void Execute() {\n \n System.out.print(\"\\nEnter id of product to remove: \");\n int id = ScannerFactory.GetScannerInstance().nextInt();\n System.out.println(\"Removing product...\\n\");\n\n Boolean success = super.getProductCatalog().RemoveProduct(id);\n\n //If false error output\n if(!success){\n System.out.println(\"Error: Product not in Inventory...\\n\");\n }\n\n ScannerFactory.GetScannerInstance().nextLine();\n }", "title": "" }, { "docid": "0e3513093852540a3110a62b50818218", "score": "0.607015", "text": "public static Optional<ButtonType> confirmDeleteAlert(String title, String header, String content) {\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\n alert.setTitle(title);\n alert.setHeaderText(header);\n alert.setContentText(content);\n alert.initOwner(Main.getPrimaryStage());\n\n return alert.showAndWait();\n }", "title": "" }, { "docid": "49fe85a3f4c0777220748cba605e553a", "score": "0.6067548", "text": "public boolean deleteConfirmation(String selectedFile)\n {\n int result = JOptionPane.showConfirmDialog(null,\"Are you sure you want to delete this saved game?\", \"Message\",JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE);\n if(result == JOptionPane.YES_OPTION)\n {\n //Delete the saved game file\n gm.deleteSavedGame(selectedFile);\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "4a187ab559d82e0ca12c72285a755abf", "score": "0.6047464", "text": "private void showDeleteItemDialog(\n DialogInterface.OnClickListener discardButtonClickListener) {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(getString(R.string.delete_item_prompt));\n builder.setPositiveButton(getString(R.string.delete_item_prompt_yes), discardButtonClickListener);\n builder.setNegativeButton(getString(R.string.delete_item_prompt_no), new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // User clicked the \"Keep it\" button, so dismiss the dialog\n // and continue editing the item.\n if (dialog != null) {\n dialog.dismiss();\n }\n }\n });\n\n // Create and show the AlertDialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "25cae3175a7626b9a41caed16bb6bdfb", "score": "0.60424566", "text": "protected void deleteButtonHandle() {\n\t\tif (selectedRowIndex >= 0) {\n\t\t\tint click = JOptionPane.showConfirmDialog(null, \"Are you sure for delete this customer?\");\n\t\t\tif (click == JOptionPane.YES_OPTION) {\n\t\t\t\t// https://stackoverflow.com/questions/2016654/classcastexception-when-casting-object-array-to-long-array\n\t\t\t\tthis.service.delete(this.idSelectedRowList.toArray(new Long[this.idSelectedRowList.size()]));\n\t\t\t\tthis.model.loadData(this.table);\n\t\t\t}\n\t\t} else {\n\t\t\tJOptionPane.showMessageDialog(null, \"You have not selected a value to delete!\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "3f3addeef4f0a377fad84a52a80c0330", "score": "0.60369045", "text": "@FXML\n private void handleUserDeleteOption(ActionEvent event) {\n\n User selectedForDeletion = tableView.getSelectionModel().getSelectedItem();\n\n if (selectedForDeletion == null) {\n\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setHeaderText(null);\n alert.setContentText(\"User was not selected, please select an user.\");\n alert.showAndWait();\n\n return;\n }\n\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\n alert.setHeaderText(\"Deleting User\");\n alert.setContentText(\"Are you sure you want to delete the user: \" + selectedForDeletion.getEmail());\n Optional<ButtonType> answer = alert.showAndWait();\n\n if (answer.get() == ButtonType.OK) {\n\n Boolean result = DatabaseHandler.getInstance().deleteUser(selectedForDeletion.getEmail());\n\n if (result) {\n\n Alert cancelAlert = new Alert(Alert.AlertType.INFORMATION);\n cancelAlert.setHeaderText(null);\n cancelAlert.setContentText(\"User has been deleted\");\n cancelAlert.showAndWait();\n \n list.remove(selectedForDeletion);\n \n\n } else {\n\n Alert cancelAlert = new Alert(Alert.AlertType.INFORMATION);\n cancelAlert.setHeaderText(null);\n cancelAlert.setContentText(\"Delete process has failed\");\n cancelAlert.showAndWait();\n \n }\n\n } else {\n\n Alert cancelAlert = new Alert(Alert.AlertType.INFORMATION);\n cancelAlert.setHeaderText(null);\n cancelAlert.setContentText(\"Delete process canceled\");\n cancelAlert.showAndWait();\n\n }\n\n }", "title": "" }, { "docid": "db5768fa536db6524f913c349c808afc", "score": "0.60363215", "text": "private void btn_deleteSureActionPerformed(java.awt.event.ActionEvent evt) {\n \tBoolean check = controller.checkInputID(text_ID1.getText());\r\n \tBoolean success = false;\r\n \tif(check){\r\n \t\tsuccess = controller.deleteData(text_ID1.getText());\r\n \t\tif(success){\r\n \t\t\tUpdate();\r\n \t\t}else{\r\n \t\t\tJOptionPane.showMessageDialog(null, \"不存在此商品\");\r\n \t\t}\r\n \t}else{\r\n \t\tJOptionPane.showMessageDialog(null, \"ID格式错误\");\r\n \t}\r\n \ttext_ID1.setText(\"\");\r\n \ttext_ID1.setEditable(true);\r\n }", "title": "" }, { "docid": "b10672801ab5b94bdf907a30a116c9fb", "score": "0.60255706", "text": "public void confirm(AddToCart res);", "title": "" }, { "docid": "bc440e94eb79ff783e51c2e800e3b9e6", "score": "0.6018981", "text": "private void optionDeleteRecipe() {\n //Get name of existing recipe\n System.out.println(\"Enter name of existing recipe:\");\n String name = getStringFromScanner();\n\n //Delete the exisitng Recipe with this name\n boolean result = myCoffeeMaker.getRecipeBook().removeRecipe(name);\n\n if(result)\n System.out.println(\"INFO: Recipe \" + name.toLowerCase() + \" was deleted successfully\");\n else\n System.out.println(\"ERROR: Could not delete recipe \" + name.toLowerCase());\n }", "title": "" }, { "docid": "8f6e9162447e8e0138e408992ad45f52", "score": "0.6015039", "text": "@FXML\r\n private void confirmDelete(ActionEvent event) {\n contMan.deleteContact(listContacts.getItems().get(0));\r\n viewAllContacts(event);\r\n }", "title": "" }, { "docid": "ddb15511afa408c8ea13ad1b678583a0", "score": "0.6012971", "text": "@Override\n\tpublic boolean execute() {\n\t\treturn confirm();\n\t}", "title": "" }, { "docid": "e79b8e3c17c52a026d3dc472ece7b4a6", "score": "0.6011736", "text": "protected void deleteMenuItem_click(ActionEvent e) {\n\t\tint index = tblObj.getSelectedRow();\r\n\t\tif (index != -1) {\r\n\t\t\tTableModel model = tblObj.getModel();\r\n\t\t\tObject obj = model.getValueAt(index, 0);\r\n\t\t\tLong pk = Long.valueOf(obj.toString());\r\n\r\n\t\t\tString title = \"系统提示\";\r\n\t\t\tString message = \"请确认是否删除选中的数据\";\r\n\t\t\tint option = JOptionPane.YES_NO_OPTION;\r\n\t\t\tint buttonValue = JOptionPane.showConfirmDialog(null, message, title, option);\r\n\r\n\t\t\tif (buttonValue == JOptionPane.YES_OPTION) {\r\n\t\t\t\tPaperService paperService = new PaperServiceImpl();\r\n\t\t\t\tLong result = paperService.delete(pk);\r\n\t\t\t\tif (result > 0) {\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"删除成功!\");\r\n\t\t\t\t\tshowListData();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"该卷已生成,删除失败!\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4a80e175b6ec32d0cecf8c73d8539251", "score": "0.60032755", "text": "private void processDelete() {\n\t\tOrder selected_order = getSelectedOrder();\n if(selected_order == null) {\n displayAlert(\"No order was selected for removal.\");\n return;\n }\n else {\n if(displayConfirmDialog(\"<html>Are you sure you want to delete this order?<br>This cannot be undone!<html>\",\n \"Yes\", \"No\").equals(ConfirmDialog.Confirm_Status.CONFIRM)) {\n if(!master_order_list.removeOrder(selected_order)) {\n displayAlert(\"Order was NOT successfully deleted\");\n return;\n }\n master_order_list.save(MainDisplay.ORDER_LIST_FILENAME);\n loadOrders(master_order_list);\n }\n }\n\t}", "title": "" }, { "docid": "3a5079871fe5393185e88017563b9a94", "score": "0.59953994", "text": "private void showNoticeDeleteRecipeDialog(int id) {\n DialogFragment dialog = new ConfirmDialogFragment();\n Recipe recipe = MyApp.getRecipe(id);\n Bundle bundle = new Bundle();\n bundle.putInt(\"id\", id);\n bundle.putString(\"message\", String.format(getString(R.string.delete_confirm), recipe.getName()));\n dialog.setArguments(bundle);\n dialog.show(getSupportFragmentManager(), \"ConfirmDialogFragment\");\n }", "title": "" }, { "docid": "98094b4f655b8803ea6ebcc99c4804e6", "score": "0.59939855", "text": "public void deleteItem(ActionEvent event) {\n StockData selectedItem = stockTable.getSelectionModel().getSelectedItem();\n\n if (selectedItem != null) {\n Alert removeAlert = new Alert(Alert.AlertType.CONFIRMATION);\n removeAlert.setTitle(\"Remove item\");\n removeAlert.setHeaderText(\"Are you sure you want to remove this product?\");\n removeAlert.setContentText(selectedItem.getName());\n\n Optional<ButtonType> option = removeAlert.showAndWait();\n\n if (option.get() == null) {\n removeAlert.hide();\n } else if (option.get() == ButtonType.OK) {\n Connection connection = SqliteConnection.getConnection();\n try {\n PreparedStatement statement = connection.prepareStatement(\"DELETE FROM stock where name = ?\");\n statement.setString(1, selectedItem.getName());\n\n statement.executeUpdate();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n stockTable.getItems().remove(selectedItem);\n } else if (option.get() == ButtonType.CANCEL) {\n removeAlert.hide();\n }\n\n } else {\n // Error alert for stockTable\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.setTitle(\"Error\");\n alert.setHeaderText(null);\n alert.setContentText(\"Select item you want to delete from the table\");\n\n alert.showAndWait();\n }\n\n\n\n\n }", "title": "" }, { "docid": "0a11c27fa92c831adb7d09179bff637b", "score": "0.5972539", "text": "@Override\n public void onDeleteConfirm()\n {}", "title": "" }, { "docid": "f2171fed994d1896bdc569103bd83151", "score": "0.59611595", "text": "private void deleteBuildBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteBuildBtnActionPerformed\n int answer = JOptionPane.showConfirmDialog(null, \"Are You Sure You Want to Delete your Build?\", \"Delete Build\", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);\n \n if (answer == JOptionPane.YES_OPTION) {\n \n JOptionPane.showMessageDialog(null, \"Build Deleted. You will be returnd to main menu\");\n currentUser.deleteBuild(newBuild.getBuildName());\n AdminUserFrame frm = new AdminUserFrame(currentUser);\n this.dispose();\n frm.setVisible(true);\n }\n }", "title": "" }, { "docid": "b704e82e45a4f5bc41ba88641df2d02e", "score": "0.5955683", "text": "@Override\n\tpublic void deleteProduct(Product pro) {\n\t\t\n\t}", "title": "" }, { "docid": "0cc23dafd8cc45bf5bca9418299762d4", "score": "0.5951598", "text": "@FXML\n public void MainPartsDelete(ActionEvent event) {\n Part part = MainPartsTableView.getSelectionModel().getSelectedItem();\n Alert alert = new Alert(AlertType.CONFIRMATION);\n alert.initModality(Modality.NONE);\n alert.setTitle(\"Product Delete\");\n alert.setHeaderText(\"Confirm?\");\n alert.setContentText(\"Are you sure you want to delete \" + part.getName() + \"?\");\n Optional<ButtonType> result = alert.showAndWait();\n if (result.get() == ButtonType.OK) {\n Inventory.deletePart(part);\n ObservableList<Part> update = Inventory.getAllParts();\n MainPartsTableView.setItems(update); \n System.out.println(\"Part \" + part.getName() + \" was removed.\");\n } else {\n System.out.println(\"Part \" + part.getName() + \" was not removed.\");\n }\n Inventory.deletePart(part);\n ObservableList<Part> update = Inventory.getAllParts();\n MainPartsTableView.setItems(update);\n }", "title": "" }, { "docid": "2e04dbdc8313ca2983701717d11fe108", "score": "0.593403", "text": "private void alertForDelete(){\n new android.app.AlertDialog.Builder(this)\n .setIcon(android.R.drawable.ic_dialog_alert)\n .setTitle(\"delete field\")\n .setMessage(\"Are you sure you want to delete \"+fieldName+ \" field?\")\n .setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dataAccess.deleteField(fieldName); //delete from DB\n Intent intent = new Intent(EditFieldsActivity.this, ShowFieldsActivity.class);\n startActivity(intent);\n }\n })\n .setNegativeButton(\"No\", null)\n .show();\n }", "title": "" }, { "docid": "62d3f42b58b669a1ac8ea1243067acb7", "score": "0.5928505", "text": "@Override\n public void onClick(View v) {\n showDeleteConfirmationDialog ();\n }", "title": "" }, { "docid": "2aec031aea5c799b528a2fa06c26c6f3", "score": "0.59236234", "text": "private void AppSumDeleteButtonPushed(ActionEvent event){\n Appointment appDelete = appSumTableview.getSelectionModel().getSelectedItem();\n //is an appointment selected?\n //yes\n if (appDelete == null){\n Alert alert = new Alert(AlertType.INFORMATION);\n alert.setTitle(\"Error\");\n alert.setHeaderText(\"Error\");\n alert.setContentText(\"Please select an appointment to delete an appointment.\");\n alert.showAndWait();\n }\n DBManager.deleteApp(appDelete);\n }", "title": "" }, { "docid": "25612a36902e5ab9c146c28476e3eb7f", "score": "0.5919359", "text": "private void deleteWithConfirmDialog(final Assessment a) {\n\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(getActivity());\n\t\tbuilder.setMessage(R.string.dialog_delete_msg)\n\t\t .setCancelable(false)\n\t\t .setPositiveButton(R.string.dialog_confirm_txt, new DialogInterface.OnClickListener() {\n\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t deleteAssessment(a);\n\t\t }\n\t\t })\n\t\t .setNegativeButton(R.string.dialog_cancel_txt, new DialogInterface.OnClickListener() {\n\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t dialog.cancel();\n\t\t }\n\t\t })\n\t\t //Set your icon here\n\t\t .setTitle(R.string.dialog_delete_title);\n\t\t //.setIcon(R.drawable.icon);\n\t\tAlertDialog alert = builder.create();\n\t\talert.show();//showing the dialog\n\t}", "title": "" }, { "docid": "3edb54e2873e66afd2e3f15ff40ace40", "score": "0.5905807", "text": "public void doDelete_category_confirm(RunData data, Context context)\n \t{\n \t\tSessionState state = ((JetspeedRunData) data).getPortletSessionState(((JetspeedRunData) data).getJs_peid());\n \t\tParameterParser params = data.getParameters();\n \t\tString category = FormattedText.decodeNumericCharacterReferences(params.getString(\"category\"));\n \t\tstate.setAttribute(STATE_MODE, MODE_DELETE_CATEGORY_CONFIRM);\n \t\tstate.setAttribute(DELETE_CATEGORY, category);\n \n \t\tString peid = ((JetspeedRunData) data).getJs_peid();\n \t\tschedulePeerFrameRefresh(VelocityPortletPaneledAction.mainPanelUpdateId(peid));\n \t}", "title": "" }, { "docid": "6020ad23af955fa4f57f0356aadfb40e", "score": "0.5903105", "text": "public void deleteClicked() {\n\t\tnew AlertDialog.Builder(this)\n\t\t\t.setTitle(\"Delete Entry\")\n\t\t\t.setMessage(\"Are you sure you want to delete this entry?\")\n\t\t\t.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\tdeleteEntry();\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t})\n\t\t\t.setNegativeButton(\"No\", null)\n\t\t\t.show();\n\t\t\n\t}", "title": "" }, { "docid": "305ff3f1e894d46582684ee83ee90117", "score": "0.5902911", "text": "private void deleteSelected(ActionEvent event) {\n if (highlighted != null) {\n Topic topic = highlighted.getTopic();\n\n Alert alert1 = new Alert(Alert.AlertType.CONFIRMATION);\n alert1.setTitle(Messages.msg(\"topics.delete_selected\"));\n alert1.setHeaderText(Messages.msg(\"topics.confirm_delete_selected_1\",\n topic.getName()));\n alert1.setContentText(Messages.msg(\"topics.confirm_delete_selected_more_1\"));\n\n ButtonType typeDel = new ButtonType(Messages.msg(\"common.yes\"), ButtonBar.ButtonData.YES);\n ButtonType typeCancel = new ButtonType(Messages.msg(\"common.cancel\"), ButtonBar.ButtonData.CANCEL_CLOSE);\n alert1.getButtonTypes().clear();\n alert1.getButtonTypes().add(typeCancel);\n alert1.getButtonTypes().add(typeDel);\n\n Button delButton = (Button) alert1.getDialogPane().lookupButton(typeDel);\n delButton.setDefaultButton(false);\n Button cancelButton = (Button) alert1.getDialogPane().lookupButton(typeCancel);\n cancelButton.setDefaultButton(true);\n\n Optional<ButtonType> result = alert1.showAndWait();\n\n if (result.get() == typeDel) {\n Alert alert2 = new Alert(Alert.AlertType.CONFIRMATION);\n alert2.setTitle(Messages.msg(\"topics.delete_selected\"));\n alert2.setHeaderText(Messages.msg(\"topics.confirm_delete_selected_2\",\n topic.getName()));\n alert2.setContentText(Messages.msg(\"topics.confirm_delete_selected_more_2\"));\n\n typeDel = new ButtonType(Messages.msg(\"common.delete\"), ButtonBar.ButtonData.YES);\n typeCancel = new ButtonType(Messages.msg(\"common.cancel\"), ButtonBar.ButtonData.CANCEL_CLOSE);\n alert2.getButtonTypes().clear();\n alert2.getButtonTypes().addAll(typeDel, typeCancel);\n\n delButton = (Button) alert2.getDialogPane().lookupButton(typeDel);\n delButton.setDefaultButton(false);\n cancelButton = (Button) alert2.getDialogPane().lookupButton(typeCancel);\n cancelButton.setDefaultButton(true);\n\n result = alert2.showAndWait();\n\n if (result.get() == typeDel) {\n List<PersistentObject> toDelete = new ArrayList<>();\n cardLoader.loadByTopic(topic).stream().forEach(toDelete::add);\n toDelete.add(topic);\n entitySaver.delete(toDelete);\n topics.remove(topic);\n topicBoxes.remove(highlighted);\n vBox.getChildren().remove(highlighted);\n highlighted = null;\n saveOrder();\n }\n }\n } else {\n selectionMissing();\n }\n }", "title": "" }, { "docid": "10f6ebc708d253769815c09fb492b263", "score": "0.5899738", "text": "boolean deleteProduct(Shop product);", "title": "" }, { "docid": "d72af684f10e975af5a95c13c90a2d55", "score": "0.5890848", "text": "public void deleteSelectedAppointment() {\r\n if (tbl_schedule.getSelectionModel().getSelectedItem() != null) {\r\n Alert alert = new Alert(AlertType.CONFIRMATION);\r\n alert.setTitle(confirmationDialog);\r\n alert.setContentText(confirmDelete);\r\n alert.showAndWait().ifPresent(response -> {\r\n if (response == ButtonType.OK) {\r\n String deleteSql = \"DELETE FROM appointment where appointmentId ='\" + tbl_schedule.getSelectionModel().getSelectedItem().getAptID() + \"'\";\r\n dbController.updateDB(deleteSql);\r\n updateScheduleTable();\r\n }\r\n });\r\n }\r\n }", "title": "" }, { "docid": "88bbcd42805488dd88d41ba77333b056", "score": "0.58756036", "text": "private void onClickDelete()\n {\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(this);\n\n alertDialogBuilder\n .setTitle(\"Confirm Mass Delete\")\n .setMessage(\"Delete ALL Scans?\")\n .setCancelable(false)\n .setPositiveButton(\"Yes\",new DialogInterface.OnClickListener()\n {\n public void onClick(DialogInterface dialog,int id)\n {\n performMassDelete();\n }\n })\n .setNegativeButton(\"No\", new DialogInterface.OnClickListener()\n {\n public void onClick(DialogInterface dialog, int id)\n {\n dialog.cancel();\n }\n })\n .show();\n }", "title": "" }, { "docid": "4138fcb955b20d150af3a50bcec64a8c", "score": "0.58647907", "text": "public void onClick(DialogInterface dialog, int id) {\n deleteProduct();\r\n }", "title": "" }, { "docid": "5e804641c6e7ca3008dcb67d513bb962", "score": "0.58502275", "text": "public String delete() {\n\t\tHttpServletRequest request = ServletActionContext.getRequest();\n\t\ttry {\n\t\t\tString[] arrRemove = request.getParameterValues(\"cbRemove\");\n\t\t\tIProductBO IProductBO = (IProductBO) ServiceFinder.getContext(\n\t\t\t\t\trequest).getBean(\"productAOP\");\n\t\t\tif (arrRemove != null) {\n\t\t\t\tfor (String string : arrRemove) {\n\t\t\t\t\tint id = Integer.parseInt(string);\n\t\t\t\t\tIProductBO.delete(IProductBO.getById(id));\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn SUCCESS;\n\t\t} catch (Exception ex) {\n\t\t\taddActionError(ex.toString());\n\t\t\tex.printStackTrace();\n\t\t}\n\n\t\treturn ERROR;\n\t}", "title": "" }, { "docid": "0e47072c80f4e40960915f146a659745", "score": "0.5844941", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n ConfirmDialog.Hide();\n deleteItem(searchBean, section);\n }", "title": "" }, { "docid": "64d1d193ad767f415b25cf197727988a", "score": "0.5835991", "text": "void showConfirmDeleteDialog(String message, Callback callback);", "title": "" }, { "docid": "ae804c8adeedfae0a146ceb979909d5a", "score": "0.5825088", "text": "private void handleDelete() \n \t{\n \t\tfinal AlertDialog.Builder b = new AlertDialog.Builder(this);\n \t\tb.setIcon(android.R.drawable.ic_dialog_alert);\n \t\tb.setTitle(getString(R.string.app_name));\n \t\tb.setMessage(getString(R.string.confirm_delete));\n \t\tb.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n \n \ttry\n \t{\n \t // User clicked OK so go ahead and delete\n \t \t\tdeleteOriginal();\n \t \tviewImage(savedImageUri);\n \t}\n \tcatch (IOException e)\n \t{\n \t\tLog.e(ObscuraApp.TAG, \"error saving\", e);\n \t}\n \tfinally\n \t{\n \t\tfinish();\n \t}\n }\n });\n \t\tb.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n \n \tviewImage(savedImageUri);\n }\n });\n \t\tb.show();\n \t}", "title": "" }, { "docid": "3ff66b3b48958d1e8f820235829547d3", "score": "0.5812002", "text": "public void removePromoPackageUI(List<PromoPackage> promoItems) {\r\n\t\tviewPromoItemsUI((ArrayList)promoItems);\r\n\t\tSystem.out.print(\"Select item to delete: \");\r\n\t\tsc.nextLine();\r\n\t\tint choice = sc.nextInt();\r\n\t\tif(choice>promoItems.size()|| choice<1) {\r\n\t\t\tSystem.out.println(\"Choose number within the list!\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif(choice<=promoItems.size() && choice>=0)\r\n\t\tMenuMGR.removePromoPackage(promoItems, choice-1);\r\n\t\telse\r\n\t\t\tSystem.out.println(\"Choose a valid number!\");\r\n\t}", "title": "" }, { "docid": "0213ef21879a7ed443cdb7fc96a46cf0", "score": "0.5809051", "text": "public void confirmCancel() {\n Alert alert = new Alert(AlertType.CONFIRMATION);\n \n //Create alert\n alert.setTitle(\"Cancel\");\n alert.setHeaderText(\"Confirm Cancel\");\n alert.setContentText(\"Are you sure you want to cancel without saving?\");\n \n //Get the result\n Optional<ButtonType> result = alert.showAndWait();\n \n //Close if confirmed\n if(result.get() == ButtonType.OK) {\n this.closeWindow();\n }\n }", "title": "" }, { "docid": "07a979d864d5f899452683b23f66bccf", "score": "0.58088744", "text": "private void purchaseButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_purchaseButtonActionPerformed\r\n int selection = moviesQueueTable.getSelectedRow();\r\n selection = moviesQueueTable.convertRowIndexToModel(selection);\r\n Movie m = queueMoviesTableModel.getMovieAt(selection);\r\n \r\n Object[] options = {\"Yes\", \"No\"};\r\n int n = JOptionPane.showOptionDialog(this,\r\n \"Are you sure you want to purchase the movie \\\"\" \r\n + m.getTitle() \r\n + \"\\\"?\\nThe cost will be \"\r\n + \"$4.99.\",\r\n \"Confirm purchase\",\r\n JOptionPane.YES_NO_OPTION,\r\n JOptionPane.QUESTION_MESSAGE,\r\n null,\r\n options,\r\n options[1]\r\n );\r\n if ( n == 0 ) {\r\n movieTableController.addMovieToPurchased(m);\r\n Collection<Movie> temp = new ArrayList<Movie>();\r\n temp.add(m);\r\n movieTableController.removeMoviesFromQueue(temp);\r\n }\r\n }", "title": "" }, { "docid": "8fc99b2debb6873409b8e68c5949d067", "score": "0.58056754", "text": "@Override\n\t\t\tpublic void handle(ActionEvent t) {\n\t\t\t\tMateriel currentMat = devisTable.getSelectionModel().getSelectedItem();\n\t\t\t\tif (currentMat != null) {\n\t\t\t\t\tAlert alert = new Alert(AlertType.CONFIRMATION);\n\t\t\t\t\talert.setTitle(\"Suppresion du matériel\");\n\t\t\t\t\t// alert.set setIcons().add(icon);\n\t\t\t\t\tString s = \"Voulez-vous supprimer \" + currentMat.getNom() + \" de la liste?\";\n\t\t\t\t\talert.setContentText(s);\n\t\t\t\t\talert.setResizable(true);\n\t\t\t\t\talert.setWidth(300);\n\t\t\t\t\tOptional<ButtonType> result = alert.showAndWait();\n\n\t\t\t\t\tif ((result.isPresent()) && (result.get() == ButtonType.OK)) {\n\n\t\t\t\t\t\tdevisTable.getItems().remove(currentMat);\n\t\t\t\t\t\tdevisTableData.remove(currentMat);\n\t\t\t\t\t\tdelete.setDisable(true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tdelete.setDisable(true);\n\t\t\t}", "title": "" } ]
b1d2a6c32e2d50ecf39343d116c48184
Returns the crop rectangle in image space
[ { "docid": "22c5288fded2f9f0b43d26b097a297a3", "score": "0.7641054", "text": "public Rectangle2D getCropRect(ImageComponent ic) {\n switch (state) {\n case INITIAL:\n lastCropRect = null;\n break;\n case USER_DRAG:\n lastCropRect = userDrag.createPositiveRect();\n break;\n case TRANSFORM:\n lastCropRect = transformSupport.getImageSpaceRect(ic);\n break;\n }\n\n return lastCropRect;\n }", "title": "" } ]
[ { "docid": "860c46694ea9d71ac7180183f53f934c", "score": "0.7261052", "text": "public Rectangle getRect() {\n return new Rectangle(x,y,(imageWeight-50),(imageHeight-50));\n }", "title": "" }, { "docid": "af5f67660d4c63031ff7446f0b201ac7", "score": "0.7102002", "text": "public Rectangle getBounds() {\n\t\tif (img == null)\n\t\t\treturn new Rectangle();\n\t\treturn new Rectangle(new Dimension(img.getWidth(), img.getHeight()));\n\t}", "title": "" }, { "docid": "f97f210dccfc78fa7ae54bc153fe93df", "score": "0.6991081", "text": "private Rect getMinCropRect() {\n return new Rect(0, 0,\n aspectRatio < 0.0 ? minCropRectSize : (int) (minCropRectSize * aspectRatio),\n minCropRectSize);\n }", "title": "" }, { "docid": "aad1bc3d91e2a1a16f63b5edeb2b1aed", "score": "0.6968514", "text": "Rectangle getBounds();", "title": "" }, { "docid": "f0229a74f6ae191f1376330b061a8a13", "score": "0.68506956", "text": "private Rect getNewRect(float x, float y) {\n PointF currentTouchPos = viewToSourceCoord(x, y);\n\n boolean freeAspectRatio = aspectRatio < 0.0;\n\n if (freeAspectRatio) {\n if (touchedCorner == TOP_LEFT) {\n return checkRectBounds(new Rect((int) currentTouchPos.x, (int) currentTouchPos.y,\n cropRect.right, cropRect.bottom), true);\n } else if (touchedCorner == TOP_RIGHT) {\n return checkRectBounds(new Rect(cropRect.left, (int) currentTouchPos.y,\n (int) currentTouchPos.x, cropRect.bottom), true);\n } else if (touchedCorner == BOTTOM_RIGHT) {\n return checkRectBounds(new Rect(cropRect.left, cropRect.top,\n (int) currentTouchPos.x, (int) currentTouchPos.y), true);\n } else if (touchedCorner == BOTTOM_LEFT) {\n return checkRectBounds(new Rect((int) currentTouchPos.x, cropRect.top,\n cropRect.right, (int) currentTouchPos.y), true);\n }\n } else {\n // fixed aspectRatio\n if (touchedCorner == TOP_LEFT) {\n int delta = (int) Math.max(currentTouchPos.x - cropRect.left,\n currentTouchPos.y - cropRect.top);\n return checkRectBounds(new Rect((int) Math.round(cropRect.left\n + delta * aspectRatio), cropRect.top + delta,\n cropRect.right, cropRect.bottom), true);\n } else if (touchedCorner == TOP_RIGHT) {\n int delta = (int) Math.max(cropRect.right - currentTouchPos.x,\n currentTouchPos.y - cropRect.top);\n return checkRectBounds(new Rect(cropRect.left, cropRect.top + delta,\n (int) Math.round(cropRect.right - delta * aspectRatio),\n cropRect.bottom), true);\n } else if (touchedCorner == BOTTOM_RIGHT) {\n int delta = (int) Math.max(cropRect.right - currentTouchPos.x,\n cropRect.bottom - currentTouchPos.y);\n return checkRectBounds(new Rect(cropRect.left, cropRect.top,\n (int) Math.round(cropRect.right - delta * aspectRatio),\n cropRect.bottom - delta), true);\n } else if (touchedCorner == BOTTOM_LEFT) {\n int delta = (int) Math.max(currentTouchPos.x - cropRect.left,\n cropRect.bottom - currentTouchPos.y);\n return checkRectBounds(new Rect((int) Math.round(cropRect.left\n + delta * aspectRatio), cropRect.top,\n cropRect.right, cropRect.bottom - delta), true);\n }\n }\n\n return null;\n }", "title": "" }, { "docid": "c1e6dd41477b737aba629526825ba1f6", "score": "0.68416715", "text": "public boolean isRectangularCrop() {\r\n return isRectangularCrop;\r\n }", "title": "" }, { "docid": "c0200427feac14f30c3ad3eee5aa5ab2", "score": "0.68048215", "text": "public Rectangle getBounds();", "title": "" }, { "docid": "c0200427feac14f30c3ad3eee5aa5ab2", "score": "0.68048215", "text": "public Rectangle getBounds();", "title": "" }, { "docid": "076fde315f0a15a1e14850fb7ad6265c", "score": "0.6774667", "text": "public BufferedImage crop(int x, int y, int width, int height){\n return sheet.getSubimage(x, y, width, height);\n }", "title": "" }, { "docid": "0c1cd2f35c2f7c8bec52a50ee5f8228a", "score": "0.67687374", "text": "public Rectangle getBound(){\n \tint x = (int)location.getX();\n \tint y = (int)location.getY();\n \t\n \tif(isExploded == false)\n \t\treturn new Rectangle(x, y, image.getWidth(null), image.getHeight(null));\n \telse\n \t\treturn new Rectangle(x,y, 1,1);\n }", "title": "" }, { "docid": "cc46d18978d2cc01ef17660e20ab85b7", "score": "0.6756797", "text": "public abstract Rectangle getSnapshotSquareBounds();", "title": "" }, { "docid": "95435d7388cae3991e9c868991ef67c3", "score": "0.6693745", "text": "private Rect getMaxCenteredCropRect() {\n if (!isImageLoaded()) {\n return null;\n }\n if (aspectRatio < 0.0) {\n return getImageRect();\n } else {\n Rect imageRect = getImageRect();\n int imageHeight = imageRect.bottom - imageRect.top,\n imageWidth = imageRect.right - imageRect.left;\n if (imageHeight * aspectRatio <= imageWidth) {\n int padding = (int) ((imageWidth - (imageHeight * aspectRatio)) / 2);\n return new Rect(padding,\n 0,\n (int) ((imageHeight * aspectRatio) + padding),\n imageHeight);\n } else {\n int padding = (int) ((imageHeight - (imageWidth / aspectRatio)) / 2);\n return new Rect(0,\n padding,\n imageWidth,\n (int) ((imageWidth / aspectRatio) + padding));\n }\n }\n }", "title": "" }, { "docid": "574f6f8c0c8c3bc6603e5cf86ae5ab60", "score": "0.66775167", "text": "public abstract Rectangle getBounds();", "title": "" }, { "docid": "574f6f8c0c8c3bc6603e5cf86ae5ab60", "score": "0.66775167", "text": "public abstract Rectangle getBounds();", "title": "" }, { "docid": "574f6f8c0c8c3bc6603e5cf86ae5ab60", "score": "0.66775167", "text": "public abstract Rectangle getBounds();", "title": "" }, { "docid": "d458d0d93aec9eb4b15703290f0f18ad", "score": "0.6660799", "text": "private Rect getViewableRect() {\n if (previewBuilder != null) {\n Rect crop_rect = previewBuilder.get(CaptureRequest.SCALER_CROP_REGION);\n if (crop_rect != null) {\n return crop_rect;\n }\n }\n Rect sensor_rect = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE);\n sensor_rect.right -= sensor_rect.left;\n sensor_rect.left = 0;\n sensor_rect.bottom -= sensor_rect.top;\n sensor_rect.top = 0;\n return sensor_rect;\n }", "title": "" }, { "docid": "4e627260afd2454cdce65de454150a74", "score": "0.6660278", "text": "public native MagickImage cropImage(Rectangle chopInfo)\n\t\t\tthrows MagickException;", "title": "" }, { "docid": "b026fc422325c1bbf831152562c933bf", "score": "0.6656069", "text": "public BufferedImage crop(int row,int col,int width,int height){\n\t\treturn imageSheet.getSubimage((col*32)-32, (row*32)-32, width, height);\n\t}", "title": "" }, { "docid": "3a6d849eb3cb33d2fbfe53cb9650fe55", "score": "0.6652566", "text": "public abstract Rectangle getSnapshotBounds();", "title": "" }, { "docid": "047184f9d719dee5022e01aa307ad7c4", "score": "0.6652299", "text": "public Rectangle getRectangle() {\r\n return new Rectangle((int) x, (int) y, cwidth, cheight);\r\n }", "title": "" }, { "docid": "34cc7a7b175bae14c48c1c088b146d1e", "score": "0.6641334", "text": "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "title": "" }, { "docid": "391cc1913c2478ff9e2eae445e97f248", "score": "0.66339123", "text": "public RMRect getBounds() { return new RMRect(getX(), getY(), getWidth(), getHeight()); }", "title": "" }, { "docid": "e3a8cd31113c034efaf057e65559e69a", "score": "0.6633638", "text": "public String getRectangleBounds() {\n checkAvailable();\n return impl.getRectangle();\n }", "title": "" }, { "docid": "331fb1b58488f7e9408720c0627f0d19", "score": "0.6623868", "text": "@Override\n\tpublic Rectangle getBound() {\n\t\trectBound.setX(posX+20);\n\t\trectBound.setY(Y_LAND - image.getHeight() +10);\n\t\trectBound.setWidth(image.getWidth()-10);\n\t\trectBound.setHeight(image.getHeight());\n\t\treturn rectBound;\n\t}", "title": "" }, { "docid": "2d333d57a1080c6b6f97711ec0670687", "score": "0.66187775", "text": "private Rectangle computeGrabRect() {\n\t\tint grabWidth = (int) ((double) magnifierSize.width / zoom);\n\t\tint grabHeight = (int) ((double) magnifierSize.height / zoom);\n\t\t// upper left corner is current point\n\t\treturn new Rectangle(point.x-grabWidth/2, point.y-grabHeight/2, grabWidth, grabHeight);\n\t}", "title": "" }, { "docid": "22beb94669d0b41a1fc62e5bbffba6c4", "score": "0.6602944", "text": "public Rectangle getClipBounds()\r\n\t{\r\n\t\treturn _g2.getClipBounds();\r\n\t}", "title": "" }, { "docid": "d576c1b9d2b329ab178e1c9470d4fd69", "score": "0.66005796", "text": "public RMRect getBoundsInside() { return new RMRect(0, 0, getWidth(), getHeight()); }", "title": "" }, { "docid": "7b4ff6c0bc95382f6c69dd1b44e5b55d", "score": "0.6588688", "text": "@VisibleForTesting\n Rect calculateSnapshotCrop() {\n final Rect rect = new Rect();\n final HardwareBuffer snapshot = mSnapshot.getHardwareBuffer();\n rect.set(0, 0, snapshot.getWidth(), snapshot.getHeight());\n final Rect insets = mSnapshot.getContentInsets();\n\n final float scaleX = (float) snapshot.getWidth() / mSnapshot.getTaskSize().x;\n final float scaleY = (float) snapshot.getHeight() / mSnapshot.getTaskSize().y;\n\n // Let's remove all system decorations except the status bar, but only if the task is at the\n // very top of the screen.\n final boolean isTop = mTaskBounds.top == 0 && mFrame.top == 0;\n rect.inset((int) (insets.left * scaleX),\n isTop ? 0 : (int) (insets.top * scaleY),\n (int) (insets.right * scaleX),\n (int) (insets.bottom * scaleY));\n return rect;\n }", "title": "" }, { "docid": "b6d5797f531bc06475af97e5511b0757", "score": "0.65658975", "text": "public PDRectangle getRectDifference() {\n/* 615 */ COSBase base = getCOSObject().getDictionaryObject(COSName.RD);\n/* 616 */ if (base instanceof COSArray)\n/* */ {\n/* 618 */ return new PDRectangle((COSArray)base);\n/* */ }\n/* 620 */ return null;\n/* */ }", "title": "" }, { "docid": "c7af9e0300503557a3b5d356d64cd2d0", "score": "0.65571225", "text": "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "title": "" }, { "docid": "bc50a174e6afe33d6bb7d7baef6aa80c", "score": "0.65569615", "text": "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "title": "" }, { "docid": "1733736e0a0bf4096c4b3d63e542cb6f", "score": "0.6550401", "text": "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "title": "" }, { "docid": "301c039edd97214a93127a224b7148d1", "score": "0.65388715", "text": "public Rectangle getBounds()\n {\n return new Rectangle ((int)x,(int)y,32,32);\n }", "title": "" }, { "docid": "7142697f40d7e8b952b5f707be110434", "score": "0.6535609", "text": "public ConstRect cropBy(final ConstRect another)\r\n {\r\n // final ConstRect ret = new ConstRect(this);\r\n int xx = x, yy = y, w = width, h = height;\r\n if(x < another.x)\r\n {\r\n xx = another.x;\r\n w = width - (xx - x);// another.x + another.width - xx - 1;\r\n }\r\n else if(x + width > another.x + another.width)\r\n {\r\n w = another.x + another.width - x - 1;\r\n }\r\n if(y < another.y)\r\n {\r\n yy = another.y;\r\n h = height - (yy - y);\r\n }\r\n else if(y + height > another.y + another.height)\r\n {\r\n h = another.y + another.height - y - 1;\r\n }\r\n return new ConstRect(xx, yy, w, h);\r\n }", "title": "" }, { "docid": "dab6b00d466052c734178e54a33a258f", "score": "0.65129936", "text": "public Rectangle getBounds() {\n return new Rectangle((int) getX() - 20, (int) getY() - 20, 40, 40);\n }", "title": "" }, { "docid": "c140f1b329f826d7efb3bc128f66d774", "score": "0.6499837", "text": "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "title": "" }, { "docid": "0ef3094421a244e839cd51ea8125e9a4", "score": "0.6481064", "text": "private int getTouchedCorner(MotionEvent motionEvent) {\n PointF currentTouchPos = new PointF(motionEvent.getX(), motionEvent.getY());\n if (cropRect == null) {\n return NO_CORNER;\n }\n PointF topLeft = sourceToViewCoord(cropRect.left, cropRect.top);\n PointF bottomRight = sourceToViewCoord(cropRect.right, cropRect.bottom);\n Rect cropRect = new Rect((int) topLeft.x, (int) topLeft.y,\n (int) bottomRight.x, (int) bottomRight.y);\n\n if (currentTouchPos.x > cropRect.left - touchDelta\n && currentTouchPos.x < cropRect.left + touchDelta\n && currentTouchPos.y > cropRect.top - touchDelta\n && currentTouchPos.y < cropRect.top + touchDelta) {\n return TOP_LEFT;\n }\n\n if (currentTouchPos.x > cropRect.right - touchDelta\n && currentTouchPos.x < cropRect.right + touchDelta\n && currentTouchPos.y > cropRect.top - touchDelta\n && currentTouchPos.y < cropRect.top + touchDelta) {\n return TOP_RIGHT;\n }\n\n if (currentTouchPos.x > cropRect.right - touchDelta\n && currentTouchPos.x < cropRect.right + touchDelta\n && currentTouchPos.y > cropRect.bottom - touchDelta\n && currentTouchPos.y < cropRect.bottom + touchDelta) {\n return BOTTOM_RIGHT;\n }\n\n if (currentTouchPos.x > cropRect.left - touchDelta\n && currentTouchPos.x < cropRect.left + touchDelta\n && currentTouchPos.y > cropRect.bottom - touchDelta\n && currentTouchPos.y < cropRect.bottom + touchDelta) {\n return BOTTOM_LEFT;\n }\n\n return NO_CORNER;\n }", "title": "" }, { "docid": "49750b86547a25bed4db7303fa9cb299", "score": "0.6453261", "text": "Rectangle getRect(){\n \treturn new Rectangle(x,y,70,25);\n }", "title": "" }, { "docid": "68eb99de7569c0e24953e444fefc8430", "score": "0.6449123", "text": "private void cropCurrRect() {\n\t\tRectangle cropRec = currRect.getBounds();\n\t\tBufferedImage img = currImage.getSubimage(cropRec.x, cropRec.y, cropRec.width, cropRec.height);\n\t\tAffineTransform rotAT = AffineTransform.getRotateInstance(-currRect.getTheta(), cropRec.width, cropRec.height);\n\n\t\tBufferedImageOp bio;\n\t\tbio = new AffineTransformOp(rotAT, AffineTransformOp.TYPE_BICUBIC);\n\t\tBufferedImage rotImg = bio.filter(img, null);\n\t\tColorSpace cs = ColorSpace.getInstance(ColorSpace.CS_GRAY);\n\t\tColorConvertOp op = new ColorConvertOp(cs, null);\n\t\trotImg = op.filter(rotImg, null);\n\t\t\n\t\tocrExtraction(rotImg);\n\t}", "title": "" }, { "docid": "6697941da9db71c0ee4d295a3e324117", "score": "0.64408046", "text": "public void drawCropRect(Graphics g, int endX, int endY)\n\t{\n\t\tint leftX, upperY;\n\t\tif(startX < endX)\n\t\t\tleftX = startX;\n\t\telse\n\t\t\tleftX = endX;\n\t\tif(startY < endY)\n\t\t\tupperY = startY;\n\t\telse\n\t\t\tupperY = endY;\n\n\t\tg.setColor(Color.GREEN);\n\t\tg.drawRect(leftX, upperY, Math.abs(endX - startX), Math.abs(endY - startY));\n\t}", "title": "" }, { "docid": "3b0f0bec3075873d2a5ba49b12fec944", "score": "0.64377207", "text": "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "title": "" }, { "docid": "3c80eaf420a9d4e49c74c954ff11d9ad", "score": "0.6435445", "text": "public Rectangle getRectangle();", "title": "" }, { "docid": "6fddb757695549b3089097eebb0cdf1a", "score": "0.6426363", "text": "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "title": "" }, { "docid": "8a83b5038801338087c026b4add0814b", "score": "0.6425046", "text": "public BufferedImage crop(int row,int col){\n\t\treturn imageSheet.getSubimage((col*64)-64, (row*64)-64, 64, 64);\n\t}", "title": "" }, { "docid": "36c2926f91e51c36bb8794569a0c2b01", "score": "0.64221144", "text": "public Rectangle getBounds() {\r\n\t\treturn new Rectangle((int) (x * scalingX), (int) (y * scalingY), (int) rocketWidth, (int) rocketHeight);\r\n\t}", "title": "" }, { "docid": "5538880af8d738a8bce2ee9af10389d7", "score": "0.6415681", "text": "@Override\n\tpublic Rectangle getBoundingBox() {\n\t\tRectangle rectangle = new Rectangle(this.image.getWidth(), this.image.getWidth());\n\t\trectangle.setLocation(this.position);\n\t\treturn rectangle;\n\t}", "title": "" }, { "docid": "44642d86b2230fd81525c2db3fcbea19", "score": "0.6413628", "text": "@Override\n public Rectangle getBounds() {\n return new Rectangle(x,y,64,64);\n }", "title": "" }, { "docid": "881a6c0d97693f18370c566007bbb640", "score": "0.64038163", "text": "org.chromium.components.paint_preview.common.proto.PaintPreview.RectProto getRect();", "title": "" }, { "docid": "b91304493548efe9bc0ce8f2229579c3", "score": "0.63994825", "text": "public Rectangle2D getRectangle() {\n return Util.getRectangle(getLocation(), size);\n }", "title": "" }, { "docid": "4a68c131d32398942770062fb48d411b", "score": "0.63810486", "text": "public static BufferedImage cropImage(BufferedImage img, Rectangle bounds)\n\t{\n\t\tBufferedImage dest = img.getSubimage(bounds.x, bounds.y, bounds.width, bounds.height);\n\t\treturn dest; \n\t}", "title": "" }, { "docid": "11930dc5e8f3b7a0e37744766d76a1aa", "score": "0.63792855", "text": "private Rect getMovedRect(MotionEvent motionEvent) {\n if (cropRect == null) {\n return null;\n }\n\n PointF currentTouchPos = viewToSourceCoord(motionEvent.getX(),\n motionEvent.getY());\n\n int historySize = motionEvent.getHistorySize();\n if (historySize > 0) {\n PointF oldTouchPos = viewToSourceCoord(motionEvent.getHistoricalX(0),\n motionEvent.getHistoricalY(0));\n int deltaX = (int) (oldTouchPos.x - currentTouchPos.x);\n int deltaY = (int) (oldTouchPos.y - currentTouchPos.y);\n\n return checkRectBounds(new Rect(\n cropRect.left + deltaX,\n cropRect.top + deltaY,\n cropRect.right + deltaX,\n cropRect.bottom + deltaY), false);\n } else {\n return cropRect;\n }\n }", "title": "" }, { "docid": "aeb4ab92d057022f3c26c08640f216c0", "score": "0.63782924", "text": "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "title": "" }, { "docid": "1bbcbbc2f8dc1a566a974b0e5fdefa03", "score": "0.6375951", "text": "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "title": "" }, { "docid": "c355420b2ca217a543396f758c29b939", "score": "0.6363403", "text": "public @NotNull Image crop(int x, int y, int width, int height)\n {\n if (this.data != null)\n {\n validateRect(x, y, width, height);\n \n Color.Buffer output = Color.malloc(this.format, width * height);\n \n long srcPtr = this.data.address();\n long dstPtr = output.address();\n \n long bytesPerLine = Integer.toUnsignedLong(width) * this.format.sizeof;\n for (int j = 0; j < height; j++)\n {\n long src = srcPtr + Integer.toUnsignedLong((j + y) * this.width + x) * this.format.sizeof;\n long dst = dstPtr + Integer.toUnsignedLong(j * width) * this.format.sizeof;\n MemoryUtil.memCopy(src, dst, bytesPerLine);\n }\n \n this.data.free();\n \n this.data = output;\n this.width = width;\n this.height = height;\n this.mipmaps = 1;\n }\n return this;\n }", "title": "" }, { "docid": "196f548f3b13e129b946ee243563549e", "score": "0.63510925", "text": "public RMRect bounds() { return new RMRect(x(), y(), width(), height()); }", "title": "" }, { "docid": "5078752117d0e44f8b22c983d08bb561", "score": "0.6333977", "text": "Rectangle getBoundingBox(Rectangle rect);", "title": "" }, { "docid": "909d9df40d1514419a82ea14b281c90e", "score": "0.6332638", "text": "public Rectangle getBounds()\r\n\t{\r\n\t\treturn new Rectangle(x, y, w, h);\r\n\t}", "title": "" }, { "docid": "fd05eaf61a7ae12d2d3acd17fb12eeee", "score": "0.63133943", "text": "public Rectangle get_rect() {\n\t\treturn new Rectangle(\n\t\t\t\torigin_x+component_x, \n\t\t\t\torigin_y+component_y-component_height+3, \n\t\t\t\tcomponent_width, \n\t\t\t\tcomponent_height\n\t\t\t);\n\t}", "title": "" }, { "docid": "cf9f9bb9f819d7bd6137cad3a2b1f96d", "score": "0.63034457", "text": "public static BufferedImage cropImage(BufferedImage image, int topX,\r\n\t\t\tint topY, int width, int height) {\r\n\t\t// create cropping rectangle\r\n\t\tBufferedImage dest = image.getSubimage(topX, topY, width, height);\r\n\t\t// return cropped image\r\n\t\treturn dest;\r\n\t}", "title": "" }, { "docid": "e75eab6ec0656a89c83fe70a15b65db1", "score": "0.62891746", "text": "public Rectangle getRectangle() {\n if (isFacingRight) {\n return new Rectangle(getX() + R_HORIZ_OFF, getY() + VERT_OFF, SIDE_LEN, SIDE_LEN);\n } else {\n return new Rectangle(getX() + L_HORIZ_OFF, getY() + VERT_OFF, SIDE_LEN, SIDE_LEN);\n }\n }", "title": "" }, { "docid": "5ca60297b6f6bae6df154c3a3b0ab2e6", "score": "0.62792", "text": "public Rectangle2D getRectangle() {\n return rectangle;\n }", "title": "" }, { "docid": "4f8ea237f5d6d2ac53574ccee4f09d80", "score": "0.6268305", "text": "public Rectangle getBounds() {\n\t\tRectangle Box = new Rectangle(x, y, 48, 48);\n\t\treturn Box;\n\t}", "title": "" }, { "docid": "fbc77912f0a79d9a099b42c53a439303", "score": "0.62638307", "text": "private Rect convertRectToCamera2(Rect crop_rect, Rect rect) {\n double left_f = (rect.left + 1000) / 2000.0;\n double top_f = (rect.top + 1000) / 2000.0;\n double right_f = (rect.right + 1000) / 2000.0;\n double bottom_f = (rect.bottom + 1000) / 2000.0;\n int left = (int) (crop_rect.left + left_f * (crop_rect.width() - 1));\n int right = (int) (crop_rect.left + right_f * (crop_rect.width() - 1));\n int top = (int) (crop_rect.top + top_f * (crop_rect.height() - 1));\n int bottom = (int) (crop_rect.top + bottom_f * (crop_rect.height() - 1));\n left = Math.max(left, crop_rect.left);\n right = Math.max(right, crop_rect.left);\n top = Math.max(top, crop_rect.top);\n bottom = Math.max(bottom, crop_rect.top);\n left = Math.min(left, crop_rect.right);\n right = Math.min(right, crop_rect.right);\n top = Math.min(top, crop_rect.bottom);\n bottom = Math.min(bottom, crop_rect.bottom);\n\n return new Rect(left, top, right, bottom);\n }", "title": "" }, { "docid": "c4201051de7a25957a5b7fc7840396cc", "score": "0.6257699", "text": "public IRectangleBound getClipBound();", "title": "" }, { "docid": "b0828f6622b29dcea62d517fb6bff67f", "score": "0.62509406", "text": "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "title": "" }, { "docid": "57e36c1b9008faae6f79db68b1742482", "score": "0.6238243", "text": "public Rectangle getBounds() {\n\t\t\treturn new Rectangle(x_pos, y_pos, getIconWidth(), getIconHeight());\n\t\t}", "title": "" }, { "docid": "ae684551d64df279a11de895dd616900", "score": "0.62382233", "text": "private Rect checkRectBounds(Rect cropRect, boolean resize) {\n Rect image = getImageRect();\n Rect newCropRect = cropRect;\n //check if inside image\n int width = newCropRect.width();\n int height = newCropRect.height();\n\n if (!image.contains(newCropRect)) {\n if (aspectRatio >= 0.0) {\n if (resize) {\n // new cropRect to big => try and fix size\n // check corners\n if (touchedCorner == TOP_LEFT) {\n if (image.left > newCropRect.left) {\n int delta = (int) ((image.left - newCropRect.left) / aspectRatio);\n newCropRect = new Rect(image.left, newCropRect.top + delta,\n newCropRect.right, newCropRect.bottom);\n }\n if (image.top > newCropRect.top) {\n int delta = (int) ((image.top - newCropRect.top) * aspectRatio);\n newCropRect = new Rect(newCropRect.left + delta, image.top,\n newCropRect.right, newCropRect.bottom);\n }\n } else if (touchedCorner == TOP_RIGHT) {\n if (image.right < newCropRect.right) {\n int delta = (int) ((newCropRect.right - image.right) / aspectRatio);\n newCropRect = new Rect(newCropRect.left, newCropRect.top + delta,\n image.right, newCropRect.bottom);\n }\n if (image.top > newCropRect.top) {\n int delta = (int) ((image.top - newCropRect.top) * aspectRatio);\n newCropRect = new Rect(newCropRect.left, image.top,\n newCropRect.right - delta, newCropRect.bottom);\n }\n } else if (touchedCorner == BOTTOM_RIGHT) {\n if (image.right < newCropRect.right) {\n int delta = (int) ((newCropRect.right - image.right) / aspectRatio);\n newCropRect = new Rect(newCropRect.left, newCropRect.top,\n image.right, newCropRect.bottom - delta);\n }\n if (image.bottom < newCropRect.bottom) {\n int delta = (int) ((newCropRect.bottom - image.bottom) * aspectRatio);\n newCropRect = new Rect(newCropRect.left, newCropRect.top,\n newCropRect.right - delta, image.bottom);\n }\n } else if (touchedCorner == BOTTOM_LEFT) {\n if (image.left > newCropRect.left) {\n int delta = (int) ((image.left - newCropRect.left) / aspectRatio);\n newCropRect = new Rect(image.left, newCropRect.top,\n newCropRect.right, newCropRect.bottom - delta);\n }\n if (image.bottom < newCropRect.bottom) {\n int delta = (int) ((newCropRect.bottom - image.bottom) * aspectRatio);\n newCropRect = new Rect(newCropRect.left + delta, newCropRect.top,\n newCropRect.right, image.bottom);\n }\n }\n } else {\n // check edges\n // left edges\n if (image.left > newCropRect.left) {\n newCropRect = new Rect(image.left, newCropRect.top,\n image.left + width, newCropRect.bottom);\n }\n // top edge\n if (image.top > newCropRect.top) {\n newCropRect = new Rect(newCropRect.left, image.top,\n newCropRect.right, image.top + height);\n }\n // right edge\n if (image.right < newCropRect.right) {\n newCropRect = new Rect(image.right - width, newCropRect.top,\n image.right, newCropRect.bottom);\n }\n // bottom edge\n if (image.bottom < newCropRect.bottom) {\n newCropRect = new Rect(newCropRect.left, image.bottom - height,\n newCropRect.right, image.bottom);\n }\n }\n } else {\n // cropRect not inside => try to fix it\n if (image.left > newCropRect.left) {\n newCropRect = new Rect(image.left, newCropRect.top,\n resize ? newCropRect.right : image.left + width,\n newCropRect.bottom);\n }\n\n if (image.top > newCropRect.top) {\n newCropRect = new Rect(newCropRect.left, image.top, newCropRect.right,\n resize ? newCropRect.bottom : image.top + height);\n }\n\n if (image.right < newCropRect.right) {\n newCropRect = new Rect(resize ? newCropRect.left : image.right - width,\n newCropRect.top, image.right, newCropRect.bottom);\n }\n\n if (image.bottom < newCropRect.bottom) {\n newCropRect = new Rect(newCropRect.left,\n resize ? newCropRect.top : image.bottom - height,\n newCropRect.right, image.bottom);\n }\n }\n }\n\n Rect minRect = getMinCropRect();\n //check min size\n width = newCropRect.width();\n if (width < minRect.width()) {\n if (touchedCorner == TOP_LEFT) {\n newCropRect = new Rect(newCropRect.right - minRect.width(),\n newCropRect.top, newCropRect.right, newCropRect.bottom);\n } else if (touchedCorner == TOP_RIGHT) {\n newCropRect = new Rect(newCropRect.left, newCropRect.top,\n newCropRect.left + minRect.width(),\n newCropRect.bottom);\n } else if (touchedCorner == BOTTOM_RIGHT) {\n newCropRect = new Rect(newCropRect.left, newCropRect.top,\n newCropRect.left + minRect.width(),\n newCropRect.bottom);\n } else if (touchedCorner == BOTTOM_LEFT) {\n newCropRect = new Rect(newCropRect.right - minRect.width(),\n newCropRect.top, newCropRect.right, newCropRect.bottom);\n }\n }\n\n height = newCropRect.height();\n if (height < minRect.height()) {\n if (touchedCorner == TOP_LEFT) {\n newCropRect = new Rect(newCropRect.left,\n newCropRect.bottom - minRect.height(),\n newCropRect.right, newCropRect.bottom);\n } else if (touchedCorner == TOP_RIGHT) {\n newCropRect = new Rect(newCropRect.left,\n newCropRect.bottom - minRect.height(),\n newCropRect.right, newCropRect.bottom);\n } else if (touchedCorner == BOTTOM_RIGHT) {\n newCropRect = new Rect(newCropRect.left, newCropRect.top,\n newCropRect.right,\n newCropRect.top + minRect.height());\n } else if (touchedCorner == BOTTOM_LEFT) {\n newCropRect = new Rect(newCropRect.left,\n newCropRect.top, newCropRect.right,\n newCropRect.top + minRect.height());\n }\n }\n\n return newCropRect;\n }", "title": "" }, { "docid": "9fbfd0838fcc60a339c892e79d0238a0", "score": "0.62341106", "text": "Rectangle getCollisionRectangle();", "title": "" }, { "docid": "9fbfd0838fcc60a339c892e79d0238a0", "score": "0.62341106", "text": "Rectangle getCollisionRectangle();", "title": "" }, { "docid": "8ac8bd528a4dd8f41fb188ec9fea9bd9", "score": "0.62091076", "text": "public Rectangle getRectangle() {\n\t\treturn new Rectangle(x, y, imgBullet.getIconWidth(), imgBullet.getIconHeight());\n\t}", "title": "" }, { "docid": "4d1928b42dcecd638cf8f7960c75c2e5", "score": "0.61916536", "text": "public float getCropRectScaleY() {\n // No scale.\n return 1;\n }", "title": "" }, { "docid": "668c38492e446ee643ae37641f71df3c", "score": "0.6176349", "text": "private PointF getCenterOfCropRect() {\n return new PointF(\n cropRect.centerX(),\n cropRect.centerY());\n }", "title": "" }, { "docid": "af587c13b2aa79138cbb5e148b368603", "score": "0.6127113", "text": "public Rectangle bounds()\n\t{\n\t\treturn (new Rectangle(x, y, 10, 10));\n\t}", "title": "" }, { "docid": "e820892f5e6be797e1b27884780194d3", "score": "0.6122409", "text": "@Override\n\tpublic Rectangle2D getRectangle() {\n\t\treturn rect;\n\t}", "title": "" }, { "docid": "fe4be8d8a5f6aa8f30b75013c5e05d36", "score": "0.6098503", "text": "public Rect computeFramingRect() {\n\t\tPoint screenResolution = configManager.getScreenResolution();\n//\t\tLog.d(TAG, \"screenResolution: \" + screenResolution);\n\t\tif (cropRect == null) {\n\t\t\tif (camera == null) {\n\t\t\t\tLog.d(TAG, \"cant get framingRect as camera is null\");\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tint width = screenResolution.x * 3 / 4;\n\t\t\tif (width < MIN_FRAME_WIDTH) {\n\t\t\t\twidth = MIN_FRAME_WIDTH;\n\t\t\t} else if (width > MAX_FRAME_WIDTH) {\n\t\t\t\twidth = MAX_FRAME_WIDTH;\n\t\t\t}\n\t\t\tint height = screenResolution.y * 3 / 4;\n\t\t\tif (height < MIN_FRAME_HEIGHT) {\n\t\t\t\theight = MIN_FRAME_HEIGHT;\n\t\t\t} else if (height > MAX_FRAME_HEIGHT) {\n\t\t\t\theight = MAX_FRAME_HEIGHT;\n\t\t\t}\n\t\t\tint leftOffset = (screenResolution.x - width) / 2;\n\t\t\tint topOffset = (screenResolution.y - height) / 2;\n\t\t\tframingRect = new Rect(leftOffset, topOffset, leftOffset + width,\n\t\t\t\t\ttopOffset + height);\n\t\t} else {\n//\t\t\tLog.d(TAG, \"cropRect: \" + cropRect);\n\t\t\tframingRect = new Rect (cropRect);\n\t\t\tif (centeredCropRect) {\n\t\t\t\tint width = framingRect.width();\n\t\t\t\tint height = framingRect.height();\n\t\t\t\tframingRect.left = (screenResolution.x - width) / 2;\n\t\t\t\tframingRect.top = (screenResolution.y - height) / 2;\n\t\t\t\tframingRect.right = framingRect.left + width;\n\t\t\t\tframingRect.bottom = framingRect.top + height;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\tif (onlyOneDimension) {\n//\t\t\tswitch (currentOrientation) {\n//\t\t\tcase Surface.ROTATION_0:\n//\t\t\tcase Surface.ROTATION_180:\n\t\t\t\tframingRect.top += framingRect.height() / 2 - ONE_D_BAND_HEIGHT\n\t\t\t\t\t\t/ 2 + 1;\n\t\t\t\tframingRect.bottom = framingRect.top + ONE_D_BAND_HEIGHT;\n//\t\t\t\tbreak;\n//\t\t\tcase Surface.ROTATION_90:\n//\t\t\tcase Surface.ROTATION_270:\n//\t\t\t\tframingRect.left += framingRect.width() / 2 - ONE_D_BAND_HEIGHT\n//\t\t\t\t\t\t/ 2 + 1;\n//\t\t\t\tframingRect.right = framingRect.left + ONE_D_BAND_HEIGHT;\n//\t\t\t\tbreak;\n//\t\t\t}\n\t\t}\n\t\t\n\n//\t\tLog.d(TAG, \"Calculated framing rect: \" + framingRect);\n\t\treturn framingRect;\n\t}", "title": "" }, { "docid": "216b010036aed61d596670bb4b1c6a61", "score": "0.6096029", "text": "public Rectangle getOffsetBounds()\r\n\t{\r\n\t\treturn new Rectangle(mFrameX, mFrameY, mImageBuffer.getWidth(null), mImageBuffer.getHeight(null));\r\n\t}", "title": "" }, { "docid": "ff7cde4aefc3787f0d457f75cbd126de", "score": "0.6094762", "text": "public static Rectangle getSmartCropBounds(BufferedImage img, int backdrop_color)\n\t{\n\t\tint left_crop = scanLeftCrop(backdrop_color, img);\n\t\tint right_crop = scanRightCrop(backdrop_color, img);\n\t\tint top_crop = scanTopCrop(backdrop_color, img);\n\t\tint bottom_crop = scanBottomCrop(backdrop_color, img);\n\t\treturn new Rectangle(left_crop, top_crop, abs(right_crop - left_crop), abs(bottom_crop - top_crop));\n\t}", "title": "" }, { "docid": "1f510980a5cdd917fba43d07cde8baca", "score": "0.6088003", "text": "public MyRectangle getRectangle() {\n\t\treturn new MyRectangle(x, y, width, height);\n\t}", "title": "" }, { "docid": "55163f8904def5af601d2c3765588470", "score": "0.6081965", "text": "public int getCropType() {\n\n return cropType;\n }", "title": "" }, { "docid": "7df7ecff006add88d8923968d0c924a6", "score": "0.605273", "text": "public Rectangle getRectangulo() {\n\t\treturn new Rectangle(\n\t\t\t\t(int)x -clanchura,\n\t\t\t\t(int)y - claltura,\n\t\t\t\tclanchura,\n\t\t\t\tclaltura\n\t\t\t);\n\t}", "title": "" }, { "docid": "1c323fb4a2438fbddda282599807685f", "score": "0.60520446", "text": "protected Rectangle determineBounds() {\n return getNetTransform().createTransformedShape( _bounds ).getBounds();\n }", "title": "" }, { "docid": "392568bcbc990fd6a52a455d8945a84f", "score": "0.6044965", "text": "public Rectangle getCollisionRectangle() {\r\n return new Rectangle(this.rectangle.getUpperLeft(), this.rectangle.getWidth(), this.rectangle.getHeight());\r\n }", "title": "" }, { "docid": "0332030d2a0bac8d11d1384ff54a7f7d", "score": "0.60400647", "text": "@Override\r\n\tpublic Rectangle getBound() {\n\t\treturn new Rectangle((int)x, (int)y, (int)width, (int)height);\r\n\t}", "title": "" }, { "docid": "7e3cce3d50fb121db05ba3d04d3f86eb", "score": "0.6036817", "text": "public Rectangle getBounds() {\n return new Rectangle(getMinX(), getMinY(), getWidth(), getHeight());\n }", "title": "" }, { "docid": "e15070e0a192945ecfc05c14626d3473", "score": "0.6026034", "text": "RectangleLatLng getBounds();", "title": "" }, { "docid": "32a302fe836635dffd0db59c1b091a52", "score": "0.6023526", "text": "@NonNull\n public Rect getBounds() {\n return new Rect(mBounds);\n }", "title": "" }, { "docid": "637329af65c7fc481557b04f75ad49ac", "score": "0.6002464", "text": "public Rectangle getBoundsBigger() {\n return new Rectangle(x-32,y-32,128,128);\n }", "title": "" }, { "docid": "22ea1490242ff55e14219c6f9a082b41", "score": "0.6001131", "text": "@Override\n\tpublic Rectangle getBounds() {\n\t\treturn new Rectangle(screen_x, screen_y, pinWidth, pinWidth);\n\t}", "title": "" }, { "docid": "d31f442d0def2a0eb0dce8555c43e362", "score": "0.59974176", "text": "public Rectangle getRectangle() {\n return rectangle;\n }", "title": "" }, { "docid": "d346d94b30ca572e8de22b06bf0288d2", "score": "0.59824866", "text": "public Rectangle getBounds(Image sterowiec)\n {\n if(sterowiec == balon)\n return new Rectangle(wsp[0]+19, wsp[1]+8, 43, 63);\n else\n return new Rectangle(wsp[0]+7, wsp[1]+14, 69, 42);\n }", "title": "" }, { "docid": "d29fb5aa1afb3c839fd147efebdef9fb", "score": "0.5969346", "text": "public Rectangle getBounds() {\r\n return bounds;\r\n }", "title": "" }, { "docid": "fcc7a358cd6cd6e87d414fbac3287a8d", "score": "0.5967055", "text": "public RMRect getFrame() { return isRSS()? convertRectToShape(getBoundsInside(), _parent) : getBounds(); }", "title": "" }, { "docid": "b62d881c77904b131c4a4b997c75be53", "score": "0.59559757", "text": "public Shape getRectangle() {\n return rectangle;\n }", "title": "" }, { "docid": "885b9adef7feedc1c5975e6fac46524c", "score": "0.5952408", "text": "public Shape getBgetBoundingBox() {\r\n\t\t\r\n\t\tEllipse2D elilipse = new Ellipse2D.Double(0, 0, imageWidth, imageHeight);\r\n\t\tAffineTransform at = new AffineTransform(); \r\n\t\tat.translate(locationX, locationY);\r\n\t\tat.rotate(Math.toRadians(angle*sizeAngles));\r\n\t\t at.scale(0.5, 0.5);\r\n\t\tat.translate(-imageWidth/2, -imageHeight/2);\r\n\t\t\r\n\t\tShape rotatedRect = at.createTransformedShape(elilipse);\r\n\t\treturn rotatedRect;\r\n\t}", "title": "" }, { "docid": "41d17a5d62540e5f030d4a500e8dbb5f", "score": "0.5951901", "text": "public CCAABoundingRectangle boundingRect(){\n\t\treturn _myBoundingRectangle;\n\t}", "title": "" }, { "docid": "6d2559c6f5abdbd2cf53a31cd737536f", "score": "0.5943048", "text": "private Rect cropRegionForZoom(float ratio) {\n int xCenter = mSensorRect.width() / 2;\n int yCenter = mSensorRect.height() / 2;\n int xDelta = (int) (0.5f * mSensorRect.width() / ratio);\n int yDelta = (int) (0.5f * mSensorRect.height() / ratio);\n return new Rect(xCenter - xDelta, yCenter - yDelta, xCenter + xDelta, yCenter + yDelta);\n }", "title": "" }, { "docid": "4ce8ac7b3ebf66a06501c6546d4a9e55", "score": "0.5931674", "text": "public Rectangle toRectangle()\r\n {\r\n return new Rectangle(x, y, width, height);\r\n }", "title": "" }, { "docid": "eb8e26a1a263d03224ef57472c5264ce", "score": "0.5923848", "text": "public static Rectangle getSmartCropBounds(BufferedImage img, Color backdrop_color)\n\t{\n\t\treturn getSmartCropBounds(img, backdrop_color.getRGB());\n\t}", "title": "" }, { "docid": "b5c542e870a908c2e9ed62db9d8e79da", "score": "0.59177357", "text": "public Rectangle getCurrentRectangle() {\n return this.wotCharacter.getDrawable(this).getRectangle();\n }", "title": "" }, { "docid": "f2e4014f8a2a737b7fbdd7ec6b4c7591", "score": "0.58985084", "text": "public abstract void clipRect(int x, int y, int width, int height);", "title": "" } ]
7d273b277422be54e4a3900ea570ad87
Toast.makeText(getActivity(), " Database error", Toast.LENGTH_SHORT).show();
[ { "docid": "436493d4c4ff950e97dce8f030d3ea26", "score": "0.6187395", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n\n Log.e(\"Read Error\", \"Database error\");\n }", "title": "" } ]
[ { "docid": "457a41b5e20b93f5d2855896b7ee4924", "score": "0.7676612", "text": "@Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n Toast.makeText(getApplicationContext(), \"something went wrong\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "f08907762aae9e7bf68a91ca2b13f67f", "score": "0.7448043", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n Toast.makeText(MainActivity.this, databaseError.getDetails() + \" \" + databaseError.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "03cbae80633f62b1fb0ca2a65dac71e8", "score": "0.7158668", "text": "@Override\n public void onFailure(@NonNull Exception exception) {\n progressDialog.dismiss();\n\n //and displaying error message\n Toast.makeText(getActivity(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "642f8dc0c2f4da3e1b14e68d0e331101", "score": "0.7085373", "text": "void showToast(String iMessage) {\n Toast.makeText(getActivity(), iMessage, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "dc8ebaa8ab2d1e5f12b08e804a84e07f", "score": "0.70662504", "text": "private void showErrorToast(String message) {\n Toast.makeText(getActivity(), message, Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "9e86a6af096e3ec9c5d688c8fdc664b6", "score": "0.6986328", "text": "@Override\r\n public void onFailure(@NonNull Exception exception) {\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\r\n }", "title": "" }, { "docid": "6f3578d111445306f9c75dcd00ce42e0", "score": "0.6952822", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n Toast.makeText(getActivity().getApplicationContext(), error.getMessage(), Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "6f3578d111445306f9c75dcd00ce42e0", "score": "0.6952822", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n Toast.makeText(getActivity().getApplicationContext(), error.getMessage(), Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "8866ea19ebd4c01a2aee19c6688fddb6", "score": "0.6939593", "text": "@Override\r\n public void onErrorResponse(VolleyError error) {\n Toast.makeText(getActivity(), error.toString(), Toast.LENGTH_LONG).show();\r\n }", "title": "" }, { "docid": "4d3781bd39daccf4841b9edbeafd0ce3", "score": "0.6931826", "text": "@Override\n public void run() {\n Toast.makeText(getActivity(),\n getActivity().getString(R.string.place_not_found),\n Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "64084cbadeadbf593f658d760fe32171", "score": "0.69261384", "text": "@Override\n public void onFail(String error) {\n Toast.makeText(activity,error,Toast.LENGTH_LONG).show();\n\n }", "title": "" }, { "docid": "5f10e34be7789a75e17b7a52862ef5db", "score": "0.69095623", "text": "@Override\n public void onfailed() {\n Toast.makeText(getApplicationContext(), getString(R.string.toast_discon_faile),Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "336994fc46b4d5a172e023ae5aa28168", "score": "0.68958706", "text": "@Override\n\t\t\t\t\tpublic void onFail(int code) {\n\t\t\t\t\t\tToast.makeText(getActivity(), \"fail...\",\n\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t}", "title": "" }, { "docid": "f9b9be92f788f8e3455a2b4289ff4eae", "score": "0.68692946", "text": "private void showError(String error) {\n Toast.makeText(this.getActivity(), error, Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "1031fefbe3a1200809869918ed9c60a4", "score": "0.68690395", "text": "void displayExistingParticipantLoginDatabaseErrorToast(String message);", "title": "" }, { "docid": "258879733bc80fa394d84764a502d8d9", "score": "0.68501556", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n Toast.makeText(Regatta.this, \"Eventuell keine Teilnehmer vorhanden\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "56552263e130f68bb58115feb349ab2c", "score": "0.6834061", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n Toast.makeText(getApplicationContext(), \"Requisão falhou!\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "d01cdd4acde22b68084287414076cc7e", "score": "0.6830362", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n Toast.makeText(AdminActivity.this,\"Server Failure\", Toast.LENGTH_SHORT).show();\n mProgress.dismiss();\n // ...\n }", "title": "" }, { "docid": "50fa107bf97a90bd6e0efe540704ee94", "score": "0.6826127", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n Toast.makeText(MainActivity.this, \"Ahhh..Something went wrong. Please try again.\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "7db74c144634bbf3d3b587ccae8a55e4", "score": "0.6759537", "text": "@Override\n public void onFailure(@NonNull Exception exception) {\n Toast.makeText(getApplicationContext(), \"Failed!\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "7911b3f3e94dcdcf666b6f634211affc", "score": "0.67097646", "text": "private void showToastMessage(){\r\n Toast.makeText(this, R.string.layout_error, Toast.LENGTH_SHORT).show();\r\n }", "title": "" }, { "docid": "c5b8af44ba556b43c4866dfd56c2ccfd", "score": "0.66714936", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n System.out.println(databaseError.getDetails() + \" \" + databaseError.getMessage());\n loading.dismiss();\n }", "title": "" }, { "docid": "f76749301c38c63a8d02d138037053c1", "score": "0.6669861", "text": "@Override\n public void onCancelled(DatabaseError firebaseError) {\n Toast.makeText(login.this,\"Error Please try again\",Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "d21d18c2cc082cc1ae1100b43ce2c0ad", "score": "0.6659491", "text": "void displayNewParticipantSignupDatabaseErrorToast(String message);", "title": "" }, { "docid": "3f3950cb4af7f17baa42daa99383648a", "score": "0.6640105", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n\n dialog.dismiss();\n\n Toast.makeText(getApplicationContext(), e.getMessage(), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "6e8b30cb8b80f2842fdde716a04eb201", "score": "0.66300255", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(getActivity(),e.getMessage(),Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "cd68ebd33d533e9989289100ad8dbcf5", "score": "0.66283363", "text": "@Override\n public void onFailure(@NonNull Exception exception) {\n progressDialog.dismiss();\n\n //and displaying error message\n Toast.makeText(getContext().getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "b14af4958a62417756d69e714e40d884", "score": "0.6620607", "text": "@Override\n public void onFailure(Exception e) {\n Toast.makeText(getApplicationContext(), \"ERROR: \" + e.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "434877197d08a9c72c6e4b44778aaddc", "score": "0.6560675", "text": "@Override\n public void onCancelled(DatabaseError error) {\n progressDialog.dismiss();\n }", "title": "" }, { "docid": "5fcc08c7248ec4a0919860d7b2bd5239", "score": "0.65448976", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n progressDialog.dismiss();\n\n }", "title": "" }, { "docid": "d1a897a6296952b0526dc6e9445efdf1", "score": "0.6524253", "text": "@Override\n public void onCancelled(DatabaseError error) {\n Toast.makeText(ActivityRanking.this,\"error\",Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "80ebbbabe18e9707f7c95ef6bc898346", "score": "0.64850575", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n Log.w(\"Error:\", databaseError.toException());\n }", "title": "" }, { "docid": "fae2cf8c8e1e0ddc4a4aa3997958b3ab", "score": "0.6439301", "text": "@Override\n public void onError(Throwable error) {\n Log.e(\"Database\",error.getMessage());\n Toast.makeText(RegisterActivity.this,\"Registration Failed, Try again\",Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "0d32f6a423242a48122e93ec16170820", "score": "0.6433028", "text": "@Override\n public void onFailure(@NonNull Exception exception) {\n progressDialog.dismiss();\n\n //and displaying error message\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "0d32f6a423242a48122e93ec16170820", "score": "0.6433028", "text": "@Override\n public void onFailure(@NonNull Exception exception) {\n progressDialog.dismiss();\n\n //and displaying error message\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "9b034d70744eb57d56dcd6c3dc85e219", "score": "0.6377977", "text": "@Override\n public void onCancelled(DatabaseError error) {\n\n }", "title": "" }, { "docid": "8721659af84c132831e4edbad165c8dd", "score": "0.63734716", "text": "@Override\n public void fail(String error) {\n Toast.makeText(AddEleActivity.this, error,\n Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "8721659af84c132831e4edbad165c8dd", "score": "0.63734716", "text": "@Override\n public void fail(String error) {\n Toast.makeText(AddEleActivity.this, error,\n Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "d709f9eafa76d3404056eb3eb2543f90", "score": "0.6364604", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n errors = \"Failed to read data\\n\";\n errorTextView.setText(errors);\n }", "title": "" }, { "docid": "7a522816de90c41d63a29d54f2f73481", "score": "0.6360392", "text": "public void showToast(){\n Toast toast = Toast.makeText(this, \"Information not found.\", Toast.LENGTH_SHORT);\n toast.show();\n }", "title": "" }, { "docid": "967a8e65fe1a178296a7b09933eaac78", "score": "0.6345459", "text": "@Override\n public void onCancelled(DatabaseError error) {\n Log.w(\"error\", \"Failed to read value.\", error.toException());\n Toast.makeText(NewQuestionActivity.this, R.string.failed, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "6acd91171bdaf5e8aa70740ab9a24b12", "score": "0.63316137", "text": "@Override\r\n public void onCancelled(DatabaseError databaseError) {\n System.out.println(databaseError.toException());\r\n // ...\r\n }", "title": "" }, { "docid": "015f2540951deebfcf1e8ff9200b1cf0", "score": "0.63149357", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n Log.w(\"Error:\", databaseError.toException());\n }", "title": "" }, { "docid": "a54d5cbd0a26ea236acad6a0f426b979", "score": "0.63105625", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(\n context,\n R.string.toast_text,\n Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "b404ac22811534b8901b503dfe354313", "score": "0.63076854", "text": "@Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n Toast.makeText(getApplicationContext(),\"Data Gagal Dimuat\" + dataSungai, Toast.LENGTH_LONG).show();\n Log.e(\"MyListActivity\", databaseError.getDetails()+\" \"+databaseError.getMessage());\n }", "title": "" }, { "docid": "40ade6c54c93fee96e1a7844ea8d979a", "score": "0.6266781", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(getContext(), \"\" + e.getMessage(), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "8ec7ff00c11f23b76a1096b2f551e53b", "score": "0.6207793", "text": "@Override\n public void onCancelled(DatabaseError error) {\n }", "title": "" }, { "docid": "0eec708d460ac3a7adf6ae47c3105378", "score": "0.62013346", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n\n }", "title": "" }, { "docid": "21aa1cd5e486e58342c7eadba7152981", "score": "0.6194677", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this,\"\"+e.getMessage(),Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "21aa1cd5e486e58342c7eadba7152981", "score": "0.6194677", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this,\"\"+e.getMessage(),Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "21aa1cd5e486e58342c7eadba7152981", "score": "0.6194677", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this,\"\"+e.getMessage(),Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "21aa1cd5e486e58342c7eadba7152981", "score": "0.6194677", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this,\"\"+e.getMessage(),Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "276dca3e2a423ce6716661e4765c2d99", "score": "0.6190105", "text": "@Override\n public void onError(Throwable arg0, boolean arg1) {\n super.onError(arg0, arg1);\n Toast.makeText(context, arg0.toString(), Toast.LENGTH_SHORT).show();\n dialog.dismiss();\n }", "title": "" }, { "docid": "8a5949d5b14de16d119f8f4e09b38e2e", "score": "0.61885107", "text": "@Override\n public void onCancelled(DatabaseError error) {\n }", "title": "" }, { "docid": "0db9648dee7b2dde01f8a289fed04c54", "score": "0.61881554", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(getActivity(), \"Access Denid\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "1c6d280ebee8b5efb159de691801d944", "score": "0.61858606", "text": "@Override\n public void onCancelled(DatabaseError error) {\n }", "title": "" }, { "docid": "1c6d280ebee8b5efb159de691801d944", "score": "0.61858606", "text": "@Override\n public void onCancelled(DatabaseError error) {\n }", "title": "" }, { "docid": "8ee7903e4965d803f8e92c01aed9598d", "score": "0.6184464", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(getActivity(), \"Fragment2\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "a444372b71f104cfe4761a3ad8efe81c", "score": "0.6182554", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n progressDialogHolder.dismissDialog();\n Toast.makeText(MainActivity.this, \"Error: \" + e, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "230c90e71dc86ff3958ac9504ac9d72f", "score": "0.6174551", "text": "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n Toast.makeText(context, \"Nothing Happened\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "4b9dc4653a20b560f7f9d62d50ab16a9", "score": "0.617166", "text": "@Override\n public void onCancelled(DatabaseError error) {\n\n }", "title": "" }, { "docid": "4b9dc4653a20b560f7f9d62d50ab16a9", "score": "0.617166", "text": "@Override\n public void onCancelled(DatabaseError error) {\n\n }", "title": "" }, { "docid": "4b9dc4653a20b560f7f9d62d50ab16a9", "score": "0.617166", "text": "@Override\n public void onCancelled(DatabaseError error) {\n\n }", "title": "" }, { "docid": "b7a3678a1ae382ba3e49db1b8f1474db", "score": "0.6157867", "text": "@Override\n public void onErrorResponse(VolleyError volleyError) {\n Toast.makeText(getActivity(), volleyError.toString(), Toast.LENGTH_LONG).show();\n hideDialog();\n }", "title": "" }, { "docid": "41ea46ddec2b774b936b87182d55d80d", "score": "0.61406285", "text": "@Override\n public void onFailure(@NonNull Exception exception) {\n progressDialog.dismiss();\n Log.d(\"hjs\", \"onFailure: \" + exception.getLocalizedMessage());\n //and displaying error message\n Toast.makeText(getApplicationContext(), exception.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "c1ba1cad75a36bef9f9bbc4d963e607b", "score": "0.6139713", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "c1ba1cad75a36bef9f9bbc4d963e607b", "score": "0.6139713", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "39551a853cfe2f6e0a47a645c0024b77", "score": "0.6135599", "text": "@Override\n public void showError(String error) {\n Toast.makeText(this, error, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "76c2fbe8256e045c3425bb4c931d76fe", "score": "0.6129096", "text": "@Override\n public void onCancelled(DatabaseError databaseError)\n {\n }", "title": "" }, { "docid": "36ea4950cda86bb82eb7cfb35402ff1a", "score": "0.61229163", "text": "@Override\n\t\t\tpublic void onFailure(Throwable t, int errorNo, String strMsg) {\n\t\t\t\tsuper.onFailure(t, errorNo, strMsg);\n\t\t\t\t/*Toast.makeText(getActivity(), strMsg, Toast.LENGTH_SHORT)\n\t\t\t\t\t\t.show();*/\n\t\t\t}", "title": "" }, { "docid": "7a23ba623ac35653acc84e3e07113d9a", "score": "0.6108265", "text": "@Override\npublic void onCreate(SQLiteDatabase db) {\n //db.execSQL(CREATE_TABLE_SERIES);\n //Toast.makeText(myContext, \"La base est cr&#65533;&#65533;\", Toast.LENGTH_SHORT).show();\n}", "title": "" }, { "docid": "ec32a1397f092a6a61f203734a039e00", "score": "0.61060953", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "a3f94c0ab69a45bf993eb30105a632e1", "score": "0.61052406", "text": "@Override\n public void onCancelled(DatabaseError error) {\n\n }", "title": "" }, { "docid": "9c49f0bd3bc018860198203bf337fea4", "score": "0.6104483", "text": "@Override\n public void onCancelled(DatabaseError error) {\n }", "title": "" }, { "docid": "5c8f5a0278b77211c7228aee0156349b", "score": "0.6093385", "text": "@Override\n public void onCancelled(DatabaseError databaseError) { }", "title": "" }, { "docid": "617ecac1eaab530de9a2cc8acdcbbdc8", "score": "0.60867244", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n progressDialog.show();\n Toast.makeText(AddPostActivity.this, e.getMessage(), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "1b999351de543a9fdc49a868562d5aee", "score": "0.60864055", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n Toast.makeText(Login.this,\"\"+e.getMessage(),Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "e681315b610096786086f0ecd1738077", "score": "0.6084387", "text": "@Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n Toast.makeText(CustomerReviewBranch.this, \"There was a problem submitting your review.\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "a56e9e7e18ec8c79f5b2d2f2ed4c3de2", "score": "0.60836667", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "a56e9e7e18ec8c79f5b2d2f2ed4c3de2", "score": "0.60836667", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "a56e9e7e18ec8c79f5b2d2f2ed4c3de2", "score": "0.60836667", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "a56e9e7e18ec8c79f5b2d2f2ed4c3de2", "score": "0.60836667", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "a56e9e7e18ec8c79f5b2d2f2ed4c3de2", "score": "0.60836667", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "a56e9e7e18ec8c79f5b2d2f2ed4c3de2", "score": "0.60836667", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {\n }", "title": "" }, { "docid": "4866e2b4678c187d58635aa97866070d", "score": "0.608184", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n\n Toast toast = Toast.makeText(getApplicationContext(),\n \"Network Error!\", Toast.LENGTH_SHORT);\n toast.show();\n\n }", "title": "" }, { "docid": "7c769f067f4a3fc54db980a14be89a79", "score": "0.60800385", "text": "void showToastMessage(String message){\n \tToast.makeText(this, message, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "673e06b0e906e5259ab5d156877ef681", "score": "0.6075904", "text": "@Override\n public void onsucess() {\n Toast.makeText(getApplicationContext(), getString(R.string.toast_discon_success), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "f497e66ccd955a6f049e10fa6ebe422b", "score": "0.60708034", "text": "@Override\n public void onError(String code, String errorMessage) {\n final String emsg = errorMessage;\n// runOnUiThread(new Runnable() {\n// public void run() {\n// Toast.makeText(getApplicationContext(), emsg, Toast.LENGTH_SHORT).show();\n// }\n// });\n }", "title": "" }, { "docid": "83afa29082eb400f15023b231d16e693", "score": "0.60687566", "text": "@Override\n public void onFragmentInteraction(Uri uri) {\n Toast.makeText(getApplicationContext(), uri.toString(), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "741bb20a081011361a63d0098f21e1d4", "score": "0.6064141", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this, \"\" + e.getMessage(), Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "741bb20a081011361a63d0098f21e1d4", "score": "0.6064141", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this, \"\" + e.getMessage(), Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "741bb20a081011361a63d0098f21e1d4", "score": "0.6064141", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this, \"\" + e.getMessage(), Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "741bb20a081011361a63d0098f21e1d4", "score": "0.6064141", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n pd.dismiss();\n Toast.makeText(CreatePostActivity.this, \"\" + e.getMessage(), Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "78d0d8ca6e2e2d83b3ed1648983faf4d", "score": "0.60568184", "text": "@Override\n public void onError(Throwable arg0, boolean arg1) {\n super.onError(arg0, arg1);\n Toast.makeText(context, arg0.toString(), Toast.LENGTH_SHORT).show();\n mDialog.dismiss();\n }", "title": "" }, { "docid": "78d0d8ca6e2e2d83b3ed1648983faf4d", "score": "0.60568184", "text": "@Override\n public void onError(Throwable arg0, boolean arg1) {\n super.onError(arg0, arg1);\n Toast.makeText(context, arg0.toString(), Toast.LENGTH_SHORT).show();\n mDialog.dismiss();\n }", "title": "" }, { "docid": "2b56e45cf5bb37e7c72aa7479ddf3df4", "score": "0.6056425", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n progressDialog.dismiss();\n Toast.makeText(AddPostActivity.this, e.getMessage(), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "2e88c8a8a0815ebac09972ff9bfdd622", "score": "0.60518163", "text": "@Override\n public void onCancelled(DatabaseError databaseError) {}", "title": "" }, { "docid": "283b90354410c7e0b6651322c7d48cf2", "score": "0.6050631", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n\n Toast.makeText(getApplicationContext(), error.getMessage(), Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "8bc1ba66650cc8b68e986b98596569eb", "score": "0.6049695", "text": "public void onClick(View v) {\n\n Toast.makeText(getApplicationContext(), \"msg msg\", Toast.LENGTH_SHORT).show();\n\n }", "title": "" } ]
90a527cc522534ad6e2ea77ac26b3d73
Called every time the scheduler runs while the command is scheduled.
[ { "docid": "a3174c5c1997cfd62c78ebc2b114c8e0", "score": "0.0", "text": "@Override\n public void execute() {\n time = Timer.getFPGATimestamp();\n if ((time - startTime) < m_seconds){\n if (m_rightTurn){\n m_drive.getRightTalon().set(ControlMode.PercentOutput, m_speed);\n m_drive.getLeftTalon().set(ControlMode.PercentOutput, m_speed);\n finished = false;\n }\n else{\n m_drive.getRightTalon().set(ControlMode.PercentOutput, -m_speed);\n m_drive.getLeftTalon().set(ControlMode.PercentOutput, m_speed);\n finished = false;\n }\n }\n else{\n m_drive.getRightTalon().set(ControlMode.PercentOutput, 0.0);\n m_drive.getLeftTalon().set(ControlMode.PercentOutput, 0.0);\n finished = true;\n }\n }", "title": "" } ]
[ { "docid": "d94b4c3f556430b97d8e06508851e994", "score": "0.75369316", "text": "@Override\r\n public void autonomousPeriodic() {\r\n Scheduler.getInstance().run();\r\n }", "title": "" }, { "docid": "06c9d7e0bc518218683fb71e42f8d205", "score": "0.75234395", "text": "@Override\n public void autonomousPeriodic() {\n Scheduler.getInstance().run();\n \n }", "title": "" }, { "docid": "033d875688cc219b7f345cbb0a2459f9", "score": "0.751563", "text": "@Override\n public void autonomousPeriodic()\n {\n Scheduler.getInstance().run();\n sendInfoToQDash();\n }", "title": "" }, { "docid": "1555bbd4fed7e633678b19e69253af7f", "score": "0.74835414", "text": "@Override\n public void autonomousPeriodic() {\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "1555bbd4fed7e633678b19e69253af7f", "score": "0.74835414", "text": "@Override\n public void autonomousPeriodic() {\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "1555bbd4fed7e633678b19e69253af7f", "score": "0.74835414", "text": "@Override\n public void autonomousPeriodic() {\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "229a176bcbfdec4480a6d7052a737760", "score": "0.7344884", "text": "public void autonomousPeriodic() {\r\n Scheduler.getInstance().run();\r\n }", "title": "" }, { "docid": "91cdf349fc4fbf62c0f9a6aee0494643", "score": "0.73189104", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "91cdf349fc4fbf62c0f9a6aee0494643", "score": "0.73189104", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "91cdf349fc4fbf62c0f9a6aee0494643", "score": "0.73189104", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "91cdf349fc4fbf62c0f9a6aee0494643", "score": "0.73189104", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "91cdf349fc4fbf62c0f9a6aee0494643", "score": "0.73189104", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "91cdf349fc4fbf62c0f9a6aee0494643", "score": "0.73189104", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "91cdf349fc4fbf62c0f9a6aee0494643", "score": "0.73189104", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "fc8dad51e6020c587c806a2970fb4f70", "score": "0.72697157", "text": "public void autonomousPeriodic() {\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "18b80f592570f9d5329a686b61dde72d", "score": "0.7201633", "text": "@Override\n public void teleopPeriodic() {\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "d13c1c0a6bf32a7f52e0bd9114d17fa2", "score": "0.71992207", "text": "@Override\n public void teleopPeriodic() {\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "d13c1c0a6bf32a7f52e0bd9114d17fa2", "score": "0.71992207", "text": "@Override\n public void teleopPeriodic() {\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "69fd6f09f42d6369cdb94b4890ea53cd", "score": "0.7185882", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "69fd6f09f42d6369cdb94b4890ea53cd", "score": "0.7185882", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "69fd6f09f42d6369cdb94b4890ea53cd", "score": "0.7185882", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "63cbabe21fef2ca67a769c57091b5348", "score": "0.71618", "text": "public void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "07cd0e89c43e318d75c4dcdf6cc700ed", "score": "0.7156283", "text": "@Override\r\n public void autonomousPeriodic() {\r\n Scheduler.getInstance().run();\r\n updateSmartDashboard();\r\n }", "title": "" }, { "docid": "aea9702db1e4ef071122ab6234d3c881", "score": "0.7150781", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tlog.log();\n\t}", "title": "" }, { "docid": "dc53fecc071b258a363fde29650e4335", "score": "0.7143305", "text": "public void execute() {\r\n\t\t\r\n\t\t// Check first if it is already on. If it is, then we don't want to do anything extra.\r\n\t\tif ( ChronoTimer.isOn() ) return;\r\n\t\t\r\n\t\t// Starts the system.\r\n\t\tChronoTimer.setOn(true);\r\n\t\t\t\t\r\n\t\t// Add all 8 Channels to the Array List.\r\n\t\t// To increase to 12, change the 9 to a 13.\r\n\t\tfor ( int i = 1; i < 9; ++i ) {\r\n\t\t\tChronoTimer.getChannels().add(new Channel(i));\r\n\t\t}\r\n\t\t\r\n\t\t// Create the default RunGroup\r\n\t\tChronoTimer.setEventType(\"IND\");\r\n\t\tChronoTimer.setCurrent( new RunGroupInd() );\r\n\t}", "title": "" }, { "docid": "890ef044dd9361e0f8ac04baaf424994", "score": "0.71398926", "text": "private void onRunning() {\n\t\tsetStartDate();\n\t}", "title": "" }, { "docid": "4eb73dc70a7fedce2c8a087a3badb716", "score": "0.7079166", "text": "@Override\n public void robotPeriodic() {\n // Runs the Scheduler. This is responsible for polling buttons, adding newly-scheduled\n // commands, running already-scheduled commands, removing finished or interrupted commands,\n // and running subsystem periodic() methods. This must be called from the robot's periodic\n // block in order for anything in the Command-based framework to work.\n CommandScheduler.getInstance().run();\n robotContainer.periodic();\n }", "title": "" }, { "docid": "92b989eda566d5553aa51192625b2ba4", "score": "0.7071998", "text": "@Scheduled(cron = \"0 0/1 * * *\")\n public void scheduling() {\n }", "title": "" }, { "docid": "96c68a211c5346ea0f2b51b323b660ef", "score": "0.70683026", "text": "public void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "4e48c9f00d59c792a8bb0dadcac0b0ca", "score": "0.7048993", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\t//CsvLogger.logData(false);\n\t}", "title": "" }, { "docid": "2b34f2463ddc884b8e2e1ace18a146cf", "score": "0.7040675", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tlog.log();\n\t}", "title": "" }, { "docid": "dc1581c28e2916c37a8a0145de3f0f7f", "score": "0.6974457", "text": "@Override\n public void scheduledTick() {\n gateLogicOnScheduledTick();\n }", "title": "" }, { "docid": "6d50e9500a344d0a3f73b38d90cab35d", "score": "0.6929779", "text": "public static void periodic() {\n \t//System.out.println(\"Auto is working\");\n Scheduler.getInstance().run();\n Dashboard.updateDashboard();\n }", "title": "" }, { "docid": "0eda95d8ca13cfefe34d78aaae74c3d5", "score": "0.6924822", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tRobot.oi.updateSmartDashboard();\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "c970fa044f9ad15b6ae8d9b65304030b", "score": "0.69162834", "text": "@Override\n\tpublic void robotPeriodic() {\n\t\t// TODO: To avoid having essential calls overlooked in \"modePeriodic()\" calls,\n\t\t// consider consolidating stuff here\n\t\t// examples: updateSensors, updateSmartDashboard, etc.\n\n\t\t// run the scheduler on every main loop so that commands execute\n\t\tCommandScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "e8902783bd82dc1f720bafd1efa59e83", "score": "0.6908663", "text": "@Override\n\tpublic void autonomousPeriodic() {\n\t\tRobot.oi.updateSmartDashboard();\n\t\tScheduler.getInstance().run();\n\t}", "title": "" }, { "docid": "73288f7544dc8fe0694efbffe7b0f868", "score": "0.688793", "text": "public void teleopPeriodic() {\n Scheduler.getInstance().run();\n updateStatus();\n }", "title": "" }, { "docid": "782fa616bfcfd1bcdd617ee201bc62a6", "score": "0.6867084", "text": "@Override\n public void autonomousPeriodic() {}", "title": "" }, { "docid": "808ae723394ba80d2cc76e1e4305bcac", "score": "0.6863485", "text": "void scheduleNow();", "title": "" }, { "docid": "69425d6f0bd69be53e8529d82c61b6bd", "score": "0.683841", "text": "@Override\n public void autonomousPeriodic() {\n }", "title": "" }, { "docid": "69425d6f0bd69be53e8529d82c61b6bd", "score": "0.683841", "text": "@Override\n public void autonomousPeriodic() {\n }", "title": "" }, { "docid": "71eeac85d7c50ce762682d2bad898d66", "score": "0.68275315", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tRobotMap.periodic();\n\t\t//CsvLogger.logData(false);\n\t}", "title": "" }, { "docid": "2488d64affb3550e91f394cbe1f95793", "score": "0.6818803", "text": "@Override\n public void run ()\n {\n log.info(System.getProperty(\"line.separator\"));\n try {\n Machine.checkMachines();\n //scheduleLoadedRound(); // old method (single round)\n createGamesForLoadedRounds();\n RunGame.startRunnableGames(runningRounds);\n RunBoot.startBootableGames(runningRounds);\n checkWedgedBoots();\n checkWedgedSims();\n\n lastSchedulerRun = System.currentTimeMillis();\n } catch (Exception e) {\n log.error(\"Severe error in SchedulerTimer!\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "edb7725f29f8c9cd459bd2b512eb07fd", "score": "0.6794474", "text": "@Override\n public void autonomousPeriodic() {\n Scheduler.getInstance().run();\n \n teleopPeriodic();\n }", "title": "" }, { "docid": "8150af3bcdf2c464ac18c2c3e812d461", "score": "0.6776399", "text": "private void schedule_task() {\n this.jukebox.main_window.getDisplay().timerExec(UPDATE_PERIOD, new Runnable() {\n @Override\n public void run() {\n get_and_display_time();\n }\n });\n }", "title": "" }, { "docid": "3d69ad6ff2112160948cc9c545cc9f67", "score": "0.6759492", "text": "@Override\n public void periodic() {\n setDefaultCommand(new ShooterCom());\n }", "title": "" }, { "docid": "df6e8790da1fabfb2ad3cf0b9c7cd22d", "score": "0.6660391", "text": "void run() {\n\t\tSystem.out.println(\"son is running daily\");\n\t}", "title": "" }, { "docid": "e476c8f20e6cb93d9fcfa2127d8e38e9", "score": "0.6653367", "text": "public void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tisAuto = isAutonomous();\n\t}", "title": "" }, { "docid": "1b174c2c2bb2fc471dbac858dd479deb", "score": "0.6649618", "text": "public void run() {\n \n \n\t\t\t\tSystem.out.println(\"Another minute ticked away...\");\n\t\t\t}", "title": "" }, { "docid": "bc601af8a1b97bf22b43b76e30a70ffc", "score": "0.66168153", "text": "public void scheduleServices() { \n }", "title": "" }, { "docid": "143d6de6c5a66aab9cdc0d265774541a", "score": "0.661434", "text": "public void autonomousPeriodic() {\n \n }", "title": "" }, { "docid": "3c1db318c9dce4f293899b371c28e1c4", "score": "0.65842646", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "3c1db318c9dce4f293899b371c28e1c4", "score": "0.65842646", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "30f03d416448a2f3fc90e44ae6308ed2", "score": "0.65823126", "text": "@Override\n public final void robotPeriodic() {\n PassiveTickingManager.addToRun(\n () -> {\n runList(fRobotPeriodic);\n }\n );\n }", "title": "" }, { "docid": "bc3f3e1553b7115182f6bf7265627131", "score": "0.6580022", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\t// comp.setClosedLoopControl(true);\n\t}", "title": "" }, { "docid": "96d1558511c9743bf378cf2eec734e72", "score": "0.65535325", "text": "public void autonomousPeriodic() {\n }", "title": "" }, { "docid": "93ec843a77ad113e1901c6458aa6d34b", "score": "0.65359133", "text": "@Scheduled(initialDelay = 10000, fixedDelay = 10000)\r\n\tvoid scheduledManage() {\r\n\t\ttry {\r\n\t\t\tlog.info(\"BEGIN\");\r\n\r\n\t\t\tif (started != readerProperties.isStarted()) {\r\n\t\t\t\tif (readerProperties.isStarted()) {\r\n\t\t\t\t\tthis.start();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.stop();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (checkingStarted != readerProperties.isCheckingStarted()) {\r\n\t\t\t\tif (readerProperties.isCheckingStarted()) {\r\n\t\t\t\t\tthis.startChecking();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.stopChecking();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (checkingStarted) {\r\n\t\t\t\tif (started) {\r\n\t\t\t\t\tconsulClient.agentCheckPass(\"service:\" + Reader.class.getName());\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconsulClient.agentCheckFail(\"service:\" + Reader.class.getName());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tlog.info(\"END\");\r\n\t\t} catch (Throwable e) {\r\n\t\t\tlog.error(e.getMessage(), e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f98e5f5246f9d646cc1ef52f7c6c8d73", "score": "0.65352726", "text": "public void autonomousPeriodic() {\n\n }", "title": "" }, { "docid": "f98e5f5246f9d646cc1ef52f7c6c8d73", "score": "0.65352726", "text": "public void autonomousPeriodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6515072", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6515072", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6515072", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6515072", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6515072", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "b7a85a3b57a8081589607db97fda3efc", "score": "0.6515072", "text": "@Override\n public void periodic() {\n\n }", "title": "" }, { "docid": "bd2c756723864c92d41cdd9160748cbd", "score": "0.6507388", "text": "public void autonomousPeriodic() {\n \t\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "b83e00257407c5803cec27c49186c88b", "score": "0.65040004", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "943d38f56902d763bc027e660c315552", "score": "0.6495843", "text": "public void autonomousPeriodic() { // Should be called once every 20 ms?\n SmartDashboard.putNumber(\"Game Timer\", (150000 - (System.currentTimeMillis() - timeStartedAuto)) / 1000);\n Scheduler.getInstance().run();\n }", "title": "" }, { "docid": "aef811e9327b0863cdfa95f8c58ab922", "score": "0.6484332", "text": "public void autonomousPeriodic()\n {\n\n }", "title": "" }, { "docid": "ab6e28ba813dde42cf92db2405f54d29", "score": "0.64838177", "text": "public void autonomousPeriodic() {\n\t\t\n\t}", "title": "" }, { "docid": "babf315bbd952a8217d7c5442e2bb96d", "score": "0.64704525", "text": "@Override\r\n\tpublic void run() {\n\t\tSimpleDateFormat simpleDateFormat = new SimpleDateFormat(\r\n\t\t\t\t\"yyyy-MM-dd HH:mm:ss\");\r\n\r\n\t\tSystem.out.println(\"执行任务----\" + simpleDateFormat.format(new Date()));\r\n\r\n\t}", "title": "" }, { "docid": "654bee17313da8cc548627f58442ef33", "score": "0.64639515", "text": "@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\n\t\toperateHybridDrive();\n\t\toperateIntake();\n\t\toperateLift();\n\t\t\n\t}", "title": "" }, { "docid": "8d63499560d467b4c53ed2535c30f5f4", "score": "0.6457686", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "8d63499560d467b4c53ed2535c30f5f4", "score": "0.6457686", "text": "@Override\n public void periodic() {\n }", "title": "" }, { "docid": "8d63499560d467b4c53ed2535c30f5f4", "score": "0.6457686", "text": "@Override\n public void periodic() {\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cb38e0fd06f7255dd3ffc4a0e589a346", "score": "0.0", "text": "@Override\n\tprotected void isLoaded() throws Error {\n\t\tSystem.out.println(\"AddPetOwnerPageObject|isLoaded|\");\n\t\t\n\t\tAssert.assertTrue(driver.getTitle().contains(\"PetClinic\"));\n\t\n\t\t\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "479340d7603590876396cc58262a3776", "score": "0.6593355", "text": "@Override\r\n\tpublic int attaquer() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "ff9130d3531037a891a2580fd00e89e9", "score": "0.649512", "text": "@Override\r\n\tpublic void refuel() {\n\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64787245", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "440ce72c689aef1dd3c429cf5498732b", "score": "0.6443756", "text": "@Override\n\tpublic void pohyb() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "592b765f0188dd7fa8d3f1f3683fa9d7", "score": "0.62889814", "text": "@Override\n\tprotected void generateData() {\n\t\t\n\t}", "title": "" }, { "docid": "4bc8e88e84699c223ea476caacb4d454", "score": "0.6277223", "text": "@Override\r\n\tpublic void sauter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "db6adf52deb87c2723f80c6df873c47d", "score": "0.6273419", "text": "public void mo4741aD() {\n }", "title": "" }, { "docid": "80d10ea62cee927f9ad0a7965909eaba", "score": "0.6230557", "text": "@Override\n\tprotected void remplit() {\n\t\t\n\t}", "title": "" }, { "docid": "95ffa256b098e9b494cb96d4874e063f", "score": "0.6218078", "text": "@Override\n\tvoid refuel() {\n\n\t}", "title": "" }, { "docid": "03d7171196199db238d56b8aeab47987", "score": "0.61277896", "text": "private void welcom() {\n\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "ce165aec4a92510d2d7f78a45c6a1f81", "score": "0.60921794", "text": "@Override\r\n\tpublic void retirer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "453637afdcc490de35afa10f347a4092", "score": "0.6052283", "text": "protected void mo4927v() {\n }", "title": "" }, { "docid": "081ae6b4d91b610b8046f5ebfe7ba326", "score": "0.60330045", "text": "@Override\r\n\tpublic void fertilizar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c9e25ea6f293e2f67da562cd4a0b657", "score": "0.60203654", "text": "public final void mo8553EA() {\n }", "title": "" }, { "docid": "5fda61f75e47491fe0badbfe139070a9", "score": "0.6020252", "text": "@Override\n\tprotected void initdata() {\n\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.60185045", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "4c957ed6879296e2489fa4cc534c9d68", "score": "0.60134614", "text": "@Override\r\n\tpublic void geefMeerprijs() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "e1a5212784625cf033b8b0d71916d9a8", "score": "0.59843665", "text": "@Override\r\n\tpublic void se_baisser() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ab92fd509dcf9edd6498a0302e1555e9", "score": "0.598327", "text": "@Override\n\tpublic void withdrawl() {\n\t\t\n\t}", "title": "" }, { "docid": "8a997a9a187c71891dd8b44afdbaa2a2", "score": "0.59794915", "text": "private void noOtomatis(){\n\n \n \n \n\n }", "title": "" }, { "docid": "0056b38abf02cf94e7a1afab1755d909", "score": "0.59666646", "text": "@Override\r\n\tpublic void defendre() {\n\t\t\r\n\t}", "title": "" }, { "docid": "05b92fe6834e71a629bc6b218827d95f", "score": "0.596291", "text": "Intervencion() {\n\t}", "title": "" }, { "docid": "acc39f55f5b37ab7050a241c64f9a4f9", "score": "0.59580564", "text": "@Override\n\tpublic void actualize() {\n\t\t\n\t}", "title": "" }, { "docid": "9a1a66628f4518af9fa213c400d9592e", "score": "0.5951102", "text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935938", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "b4f806add60ad7a84ab034d616e626e7", "score": "0.59232795", "text": "@Override\n public void Ramasser() {\n }", "title": "" }, { "docid": "fb8e5a5b14d5c382d38f4afcb6d4f55d", "score": "0.59119946", "text": "@Override\r\n\tpublic void reculer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.5897873", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "835a3677095e4c9f21649ab17f1ba40b", "score": "0.58930063", "text": "private static void diwalioffer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "47bef3d0c0ee761e936de1dada2442ec", "score": "0.5845612", "text": "private void Partida() {\r\n\t}", "title": "" }, { "docid": "c34617230b51592fc8652a6c8fc39d7b", "score": "0.5841976", "text": "@Override\n\t\t public int describeContents() { \n\t\t return 0;\n\t\t }", "title": "" }, { "docid": "39c15addb7f9cae9284ae4af01c5a911", "score": "0.58368444", "text": "@Override\r\n\tpublic void cortar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74acf90efa52ac7bee2d28c6dee180bf", "score": "0.5808944", "text": "public void mo25302P() {\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.5805753", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "4958a5331fdb65d09e333f006441f701", "score": "0.57990485", "text": "@Override\n public int size() {\n // TODO Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "2a790ebdc342a2b85b21b58d99e8bb02", "score": "0.57934815", "text": "@Override\n\tpublic void landen()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b17089ec7f3b873adc1ebff906be9241", "score": "0.5790544", "text": "@Override\r\n\tpublic void carregar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "925ab02db0448f51f913efd603e7b5b4", "score": "0.57877386", "text": "@Override\n\tpublic void breathe() {\n\n\t\t\n\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e7dbef6468de164eadd6d220b4ed2936", "score": "0.57625693", "text": "@Override\n\tpublic void vegetais() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.5754491", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "1985dddb6264adc2fb069a687b25f36b", "score": "0.57541007", "text": "@Override\n\tpublic void groom() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dfa3deb699f1baaf610b77ae9370559a", "score": "0.57471", "text": "@Override\n\tpublic void gravar() {\n\n\t}", "title": "" }, { "docid": "bf96ef68c4dc727efe52fcae4e20a6c6", "score": "0.5736261", "text": "@Override\r\n public int getType() {\n return 1;\r\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b16d59a149827c698e510477f7a4e9d", "score": "0.57292205", "text": "public void mo9585b() {\n }", "title": "" }, { "docid": "0ce436410fb4ad1af4e012ab5253a43a", "score": "0.57232136", "text": "@Override\n\tpublic void maas() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "10daa0b69fc83ea1f81c27147cd56557", "score": "0.5712038", "text": "@Override\n\tpublic void Ordenar() {\n\t\t\n\t}", "title": "" }, { "docid": "78a0d7cad7b423dba2c6000b1302b9a0", "score": "0.5705727", "text": "@Override\n\tprotected void ganharExp() {\n\t\t\n\t}", "title": "" }, { "docid": "162a468b891a508701c52265588e91b6", "score": "0.5699155", "text": "@Override\r\n public void init() {\n\r\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "6fba68e503150b58bb627390fe723ce3", "score": "0.56942755", "text": "@Override\r\n\tpublic void servir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9e8299e02e2afca4b347ab5022949b84", "score": "0.56936175", "text": "@Override\n public void rest() {\n \n }", "title": "" }, { "docid": "ddd8d8a26991b887b8f19171d700e1d3", "score": "0.56922704", "text": "@Override\n\tpublic void proveerdatos() {\n\t\t\n\t}", "title": "" }, { "docid": "e21063ae833db842230f1d37006a0359", "score": "0.56854326", "text": "@Override public int getAtaque(){\n\n return 0;\n\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.56631064", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "2aed4e4b25907c376dc30c486b4f975f", "score": "0.5657416", "text": "public final void mo73469b() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
f628147c484f92829acbaff646e4fef5
TODO: Implement updateUser() method for updating existing user
[ { "docid": "b2be1a68482569e28e8de5068914de77", "score": "0.0", "text": "private void updateStudent(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows SQLException, IOException {\n\t\tint id = Integer.parseInt(request.getParameter(\"id\"));\n\t\tString name = request.getParameter(\"name\");\n\t\tString address = request.getParameter(\"address\");\n\t\tString phone = request.getParameter(\"phone\");\n\n\t\tstudent newStudent0 = new student(name, address, phone);\n\t\tstudentDAO.updateStudent(newStudent0);\n\t\tresponse.sendRedirect(\"list\");\n\t}", "title": "" } ]
[ { "docid": "13b108196a49f88a72f0b8bbf66ae1f8", "score": "0.8398994", "text": "@Override\n\tpublic void updateUser(User user) {\n\t\t\n\t}", "title": "" }, { "docid": "fe6c5a6aa56ecaccb3064e8cbeab4164", "score": "0.8352213", "text": "@Override\n\tpublic void updateUser(User user) throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "8f822ce81e2e31a4a5e14a125f867fa0", "score": "0.82772666", "text": "@Override\r\n\tpublic void updateUser(User user) {\n\r\n\t}", "title": "" }, { "docid": "2620be3a95699650ae2fa0f273f5b0b8", "score": "0.8256589", "text": "public void updateUser(User user);", "title": "" }, { "docid": "2620be3a95699650ae2fa0f273f5b0b8", "score": "0.8256589", "text": "public void updateUser(User user);", "title": "" }, { "docid": "241aa0c36c5739e8faaa63d9b87ae39d", "score": "0.8158835", "text": "@Override\n\tpublic void updateUser(UserDto user) {\n\t\t\n\t}", "title": "" }, { "docid": "19364171f4ab8a5249ef6782fee6edb9", "score": "0.81509453", "text": "@Override\n\tpublic int updateUser(User user) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "084b66a8c3d4885bb3cf8b1c6bf8e4d2", "score": "0.81446517", "text": "void updateUser(User user);", "title": "" }, { "docid": "084b66a8c3d4885bb3cf8b1c6bf8e4d2", "score": "0.81446517", "text": "void updateUser(User user);", "title": "" }, { "docid": "ba3841c12fe3fb2e9c5b337a71a0eb9f", "score": "0.81330603", "text": "public User updateUser(User user);", "title": "" }, { "docid": "e6ccf345abed9a792231f8c059fa2665", "score": "0.811236", "text": "User updateUser(String userName, User user);", "title": "" }, { "docid": "b5b89b95f85dfcc0ad547e9261bb207d", "score": "0.80878437", "text": "boolean updateUser(User user);", "title": "" }, { "docid": "8d0ad945e8bcd6cde8cea1031f4b6b12", "score": "0.80654156", "text": "@Override\r\n\tpublic void updateUser(User user) {\n\t\t di.save(user);\r\n\t}", "title": "" }, { "docid": "d06876fd856b55f699f59da3c308468c", "score": "0.8053699", "text": "@Override\n public void updateUser(User user) {\n userMapper.updateUser(user);\n }", "title": "" }, { "docid": "129d9ffd533946e1c3a6e375980bd15d", "score": "0.80230045", "text": "public User update(final User user);", "title": "" }, { "docid": "3f097c4f03a982765217e92d48e3c843", "score": "0.80141705", "text": "@Override\r\n\tpublic void update(User user) {\n\t\t\r\n\t}", "title": "" }, { "docid": "f8e8906812893580fc4f65902aefc053", "score": "0.80068207", "text": "void updateUser(User user) throws CustomException;", "title": "" }, { "docid": "fd106297bbed75c62c8dcfc3bd309b96", "score": "0.79476094", "text": "@Override\n\t\tpublic void updateUser(UserDTO user) throws DALException {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "b88e702b18e77cc287eb779b492b595b", "score": "0.7916165", "text": "User updateUser(User user);", "title": "" }, { "docid": "284ba469ce2f6843039c65d3f1cfa39d", "score": "0.78917956", "text": "void UpdateUser(String username, User user);", "title": "" }, { "docid": "848adedcaa3450ed53b562f1024307f2", "score": "0.78904647", "text": "boolean update(User user) throws Exception;", "title": "" }, { "docid": "352cbf1c67e883e4637c88697664cd9d", "score": "0.78788346", "text": "@Override\n\tpublic void update(User user) {\n\t}", "title": "" }, { "docid": "fb1864556612fea00f074d8ddc89018a", "score": "0.787701", "text": "@Override\n public void update(User user) {\n }", "title": "" }, { "docid": "addf978c2c0d6481d2dd2119b96659ed", "score": "0.7866968", "text": "@Override\n\tpublic Usermanger updateUser(Usermanger user) {\n\t\treturn userRepository.save(user);\n\t}", "title": "" }, { "docid": "1c56877029e122c7bad61cbb776d8f8e", "score": "0.7851035", "text": "@Override\r\n\tpublic User updateUser(String id, User user) throws UserNotFoundExp {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "3515316efcd7502ef43787737e96d50c", "score": "0.784948", "text": "@Override\n\tpublic void update(User user) {\n\t\t\n\t}", "title": "" }, { "docid": "15f48229f5e053f9e0d9bb1c1a957ba8", "score": "0.78368187", "text": "public void updateUser(User user){\n User toUpdate= userRepository.getOne(user.getUsername());\n toUpdate.setEmail(user.getEmail());\n\n userRepository.save(toUpdate);\n }", "title": "" }, { "docid": "f5788326b8fa686aa742355ad18e4dd9", "score": "0.7829712", "text": "@Override\r\n\tpublic void updateUser(@Valid User user) {\n\t\t\r\n\t}", "title": "" }, { "docid": "90720522afc78752303070defa1b2f25", "score": "0.7824516", "text": "public void updateUser(User user){\n userRepository.save(user);\n }", "title": "" }, { "docid": "98a9e8f0f4eb4304dfa2d08093d5ff88", "score": "0.78165907", "text": "@Override\r\n\tpublic void updateUser(User user) {\n\t\tuserDao.update(user);\r\n\t}", "title": "" }, { "docid": "47a685e78954d723e3f64b7d17af241e", "score": "0.7814832", "text": "public void update(User user);", "title": "" }, { "docid": "f8c6ea07ed265ccd3b00988940814725", "score": "0.7808948", "text": "@Override\n\tpublic User updateUser(User user) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f8c6ea07ed265ccd3b00988940814725", "score": "0.7808948", "text": "@Override\n\tpublic User updateUser(User user) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "398eb725288741e383546866e750b78e", "score": "0.7802741", "text": "@Override\r\n\tpublic void update(User user) {\n\r\n\t}", "title": "" }, { "docid": "09149f08081ee967e54873bd6ceab967", "score": "0.77705145", "text": "@Override\r\n\tpublic User updateUser(User user, long id) {\n\t\t\t\t\tUser existingUser=userRepository.findById(id).orElseThrow(\r\n\t\t\t\t\t\t() -> new ResourceNotFoundException(\"User\",\"Id\",id));\r\n\t\t\t\t\t\r\n\t\t\t\t\texistingUser.setFname(user.getFname());// fname will be provided by client\r\n\t\t\t\t\texistingUser.setLname(user.getLname());\r\n\t\t\t\t\texistingUser.setDesignation(user.getDesignation());\r\n\t\t\t\t\texistingUser.setEmail(user.getEmail());\r\n\t\t\t\t\texistingUser.setPhno(user.getPhno());\r\n\t\t\t\t\texistingUser.setActive(user.isActive());\r\n\t\t\t\t\tuser.getUserAddress().setId(existingUser.getUserAddress().getId());\r\n\t\t\t\t\texistingUser.setUserAddress(user.getUserAddress());\r\n\t\t\t\t\t\r\n\t\t\t\t\t//save existing user to DB\r\n\t\t\t\t\tuserRepository.save(existingUser);\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\treturn existingUser;\r\n\t}", "title": "" }, { "docid": "4a66f0332b3cee08fc8bc47147c7db77", "score": "0.7762696", "text": "@Override\n\tpublic void updateUser(User user) {\n\t\tuserDao.save(user);\n\t}", "title": "" }, { "docid": "f94179bb45a466951a8562f293bf67f7", "score": "0.7755172", "text": "@Override\r\n\tpublic int update(User user) {\n\t\treturn userDao.update(user);\r\n\t}", "title": "" }, { "docid": "4c522fab5e9828aa398b299fb97ede0a", "score": "0.77487946", "text": "@Override\n public User updateUser(User user) {\n log.info(\"Attempting to update user with id {}\", user.getId());\n userDao.delete(user.getId());\n return userDao.create(user);\n }", "title": "" }, { "docid": "badfed94c3a8402bb039a67f20395c1c", "score": "0.77418715", "text": "@Override\n public boolean update(User user) {\n //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n Session session = sessionFactory.getCurrentSession();\n/* User newUser = findByToken(user.getToken());//!!!!!!!!!!!!!!!!!!!!!!!!!!!\n newUser.setUsername(user.getUsername());\n newUser.setUser_role(user.getUser_role());\n newUser.setEmail(user.getEmail());*/\n\n try {\n// session.saveOrUpdate(newUser);\n session.saveOrUpdate(user);\n return true;\n } catch (Exception e) {\n e.printStackTrace();\n return false;\n }\n }", "title": "" }, { "docid": "f59af4ce3097a8325d7faa5b85e0ba04", "score": "0.7737578", "text": "@Override\r\n\tpublic boolean updateUserById(UserDemo user) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "0a6c6e024da47b1767725fa235a5ee02", "score": "0.7712961", "text": "@Override\n\tpublic User updateUser(User userObj) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ed77856c5dab574d82d0587976369d95", "score": "0.7710917", "text": "@Override\r\n\tpublic boolean updateUser(int idUser, String username, String password) {\n\t\t\r\n\t\treturn adminUser.actualizarUsuario(idUser, username, password);\r\n\t}", "title": "" }, { "docid": "19118f6aa394ebd734eece2aff2b06ed", "score": "0.7692591", "text": "@Override\n\tpublic void update(User u) {\n\t\tuserdao.update(u);\n\t}", "title": "" }, { "docid": "6696b53be96a8da2cb0b253b11f70fdd", "score": "0.76848483", "text": "@Override\r\n\tpublic void updateUser(String id) {\n\r\n\t}", "title": "" }, { "docid": "b37e1fca69cc453841eefba3411caf6c", "score": "0.7681848", "text": "void updateUser(Long userID, User userUpdate);", "title": "" }, { "docid": "577abdfc2a665bd160766750277bba39", "score": "0.76700807", "text": "public void testUpdateUser() throws Exception {\n }", "title": "" }, { "docid": "748a4623fae72dc9f0f86a6766604518", "score": "0.7666258", "text": "@Override\n\t@Transactional\n\tpublic void updateUser(User theUser) {\n\t\tuserDAO.updateUser(theUser);\n\t}", "title": "" }, { "docid": "a00b81aff18c3c3c0a2911e6efb3098a", "score": "0.76421976", "text": "@Override\r\n\tpublic User update(User user) throws ServiceException {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "efb974fc19d9382b3d5f841e8ccba113", "score": "0.7640476", "text": "@Override\r\n\tpublic void updateUser(User user) {\n\t\ttry {\r\n\t\t\tConnection con = DB.getConnection();\r\n\t\t\tString sql = \"update user set fname=? , lname =? , gender=? , email=? , contact=? , password=? where userid=?\";\r\n\t\t\tPreparedStatement ps = con.prepareStatement(sql);\r\n\t\t\tps.setString(1,user.getFirst_Name());\r\n\t\t\tps.setString(2,user.getLast_Name());\r\n\t\t\tps.setString(3, user.getGender());\r\n\t\t\tps.setString(4, user.getEmail());\r\n\t\t\tps.setString(5, user.getContact_Number());\r\n\t\t\tps.setString(6, user.getPassword());\r\n\t\t\tps.setString(7, user.getUserId());\r\n\t\t\t\r\n\t\t\tint rowaffected = \tps.executeUpdate();\r\n\t\t\tSystem.out.println(rowaffected + \" rows updated \");\r\n\t\t\tcon.close();\r\n\t\t\t }catch(Exception e){\r\n\t\t\t\t System.out.println(\"Error user Dao ADDuser method : \" + e);\r\n\t\t\t }\r\n\t}", "title": "" }, { "docid": "b14cd28a5aa0e648d2997c5ea2bf2a46", "score": "0.7639364", "text": "@Override\n\tpublic User update(User user) {\n\t\treturn userRepo.save(user);\n\t}", "title": "" }, { "docid": "cae81c0201e5e6c495acf1bf1fb7c920", "score": "0.7588927", "text": "private static void updateUser() {\n\t\t//Uncomment below line if any of the session is committed previously\n\t\t//session.beginTransaction();\n\t\t\n\t\tUserForm userForm = new UserForm();\n\t\tuserForm.setId(2);\n\t\tuserForm.setName(\"Siva\");\n\t\tuserForm.setEmail(\"[email protected]\");\n\t\tuserForm.setPassword(\"xyz123456\");\n\n\t\tsession.update(userForm);\n\n\t\t//Commiting the unit-of-work\n\t\tsession.getTransaction().commit();\n\t}", "title": "" }, { "docid": "6b00ba68ae643ba64dbd249cf027ee5c", "score": "0.7574118", "text": "public void updateUser(User user) {\r\n\t\tUser entity = dao.findById(user.getId());\r\n\t\tif(entity!=null){\r\n\t\t\tentity.setEmailId(user.getEmailId());\r\n\t\t\tif(!user.getPassword().equals(entity.getPassword())){\r\n\t\t\t\tentity.setPassword(passwordEncoder.encode(user.getPassword()));\r\n\t\t\t}\r\n\t\t\tAuditInfo auditInfo=new AuditInfo();\r\n\t\t\t//entity.setCreatedDate(new Date());//required only while creating\r\n\t\t\tentity.setLastUpdatedDate(new Date());\r\n\t\t\tentity.setUpdatedBy(user.getId());\r\n\t\t\t//entity.setCreatedBy(user.getId());//required only while creating\r\n\t\t\t\r\n\t\t\t//entity.setUserRoles(user.getUserRoles());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "07d5d1bc3b5f1f5da31ebce0e1818cdf", "score": "0.75542283", "text": "private void updateUser(Request request, Response response) {\r\n\t\t// find the UserBean from request\r\n\t\tUserBean userBean = new UserBean();\r\n\t\tRESTfulSession session = null;\r\n\r\n\t\ttry {\r\n\t\t\t// check to see if user exists\r\n\t\t\tUserBean checkedUser = findUserBean(request, response);\r\n\r\n\t\t\tif (checkedUser == null) {\r\n\t\t\t\tthrow new InvalidInputException(\"User with given id not found\");\r\n\t\t\t}\r\n\r\n\t\t\tuserBean.setId(checkedUser.getId());\r\n\r\n\t\t\t// populate UserBean from Request object\r\n\t\t\t// Some fields will be null, that's ok\r\n\t\t\tBeanHelper.populateUserBeanFromRequest(request, userBean);\r\n\t\t\tsession = userService.updateUser(userBean);\r\n\t\t} catch (InvalidInputException e) {\r\n\t\t\tresponse.setStatus(Status.CLIENT_ERROR_NOT_FOUND, e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t\tlog.error(e);\r\n\t\t} catch (Exception e) {\r\n\t\t\tresponse.setStatus(Status.SERVER_ERROR_INTERNAL, e.getMessage());\r\n\t\t\te.printStackTrace();\r\n\t\t\tlog.error(e);\r\n\t\t} finally {\r\n\t\t\t// generate response XML\r\n\t\t\txmlSerializationService.generateXMLResponse(request, response,\r\n\t\t\t\t\tsession);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "217f77dad4011e16459eab57d1a8fbc3", "score": "0.7552308", "text": "@Override\n\tpublic User updateOrEditUser(User user) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "72e87b2adb48f853e7237cf144fadb55", "score": "0.7549813", "text": "@Override\r\n\tpublic boolean update(User user) {\n\t\treturn userMapper.update(user)>0;\r\n\t}", "title": "" }, { "docid": "54fd4c8fc931125f60449a9f34366fdc", "score": "0.7537049", "text": "@Override\r\n\tpublic boolean update(User user) {\n\t\treturn dao.update(user);\r\n\t}", "title": "" }, { "docid": "083f44f15d948e8417057b2d62a40fa1", "score": "0.75350106", "text": "@Override\n\tpublic User update(User user) {\n\n\t\treturn dao.update(user);\n\t}", "title": "" }, { "docid": "9fa2144a282e3b58bbe8a42021ed0080", "score": "0.7530283", "text": "public User update(User user) {\n return null;\n }", "title": "" }, { "docid": "bcff4ef7fd29f9b6b3a5eec74b15b916", "score": "0.7525133", "text": "@Override\n\tpublic UserInfo updateUser() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a31989086fc96922d56d984005772bad", "score": "0.75235164", "text": "public Boolean updateUser(User user) {\n\t sessionfactory.getCurrentSession().update(user);\n\t\t\n\t\t\treturn true;\n\t\t}", "title": "" }, { "docid": "3cbccf32b4106fb2c162f0888943d36a", "score": "0.7523246", "text": "void updateUser(UserOrg user);", "title": "" }, { "docid": "71b4d2563bc54ac548ebd30b17413783", "score": "0.7522949", "text": "@Override\r\n\tpublic void update(User p) {\n\t\t\r\n\t}", "title": "" }, { "docid": "4be4d581cbb9a82456870a4abdac6ce7", "score": "0.74969137", "text": "@Override\n\tpublic User updateUser(User user) {\n\t\tif (user == null) {\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t//Send the updated user to the database to put the new data\n\t\tuserDao.updateUser(user);\n\t\treturn user;\n\t}", "title": "" }, { "docid": "b2c1084512fe95620c3ecf96f6611bb7", "score": "0.7496131", "text": "@Override\r\n\tpublic UserMaster updateUser(int iDofUserToBeUpdated) {\n\t\tUserMaster userToBeUpdated = userRepo.findByUserId(iDofUserToBeUpdated);\r\n\t//\tuserToBeUpdated.setUsername(\"UpdatedUserName\");\r\n\t\tuserRepo.save(userToBeUpdated);\r\n\t\treturn userToBeUpdated;\r\n\t}", "title": "" }, { "docid": "4bdc4538cb066221e03d3c5f1e66fb2d", "score": "0.74959433", "text": "public void updateUser(User user) {\n var updatingUser = this.getUser(user.getUsername());\n user.setId(updatingUser.getId());\n\n try (Connection connection = database.createSQLConnection()) {\n String query = \"UPDATE [User] \" +\n \"SET Username = ?, Password = ?, Name = ?, DateOfBirth = ?, Weight = ?, Height = ?, WorkoutTime = ? \" +\n \"WHERE Id = ?\";\n\n try (PreparedStatement statement = connection.prepareStatement(query)) {\n statement.setString(1, user.getUsername());\n statement.setString(2, user.getPassword());\n statement.setString(3, user.getName());\n statement.setDate(4, user.getDateOfBirth());\n statement.setDouble(5, user.getWeight());\n statement.setDouble(6, user.getHeight());\n statement.setInt(7, user.getWorkoutTime());\n statement.setInt(8, user.getId());\n\n int returnToken = statement.executeUpdate();\n }\n } catch (SQLException ex) {\n ex.printStackTrace();\n throw new RuntimeException();\n }\n }", "title": "" }, { "docid": "46ed865baa8fc83792f51dbb9e3ff330", "score": "0.7489306", "text": "void updateUser(String username, int id);", "title": "" }, { "docid": "ed9e64bdec9f09963f3bfbe0d5c840c3", "score": "0.7485576", "text": "@Override\n\tpublic void update(User user) {\n\t\tuDao.update(user);\n\t}", "title": "" }, { "docid": "fc0b2551b301b4d93766c708bb1ada48", "score": "0.74851435", "text": "public boolean updateUser(User user) {\n\t\tLOG.info(\"Update User : \" + user);\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b9b9ec3e0b652c7f7f96953cd088daba", "score": "0.74797606", "text": "@Override\n public TBLUser updateUser(TBLUser user,\n String firstName,\n String lastName,\n\t\t\t\t\t\t\t String email,\n\t\t\t\t\t\t\t String password,\n\t\t\t\t\t\t \t Integer timeZone,\n\t\t\t\t\t\t \t String zip,\n\t\t\t\t\t\t \t String phoneNumber,\n\t\t\t\t\t\t \t boolean socialAccount,\n\t\t\t\t\t\t \t String avatarImageName, \n\t\t\t\t\t\t \t String swapLocation, \n\t\t\t\t\t\t \t String swapLocationName, \n\t\t\t\t\t\t \t Boolean smsAdNotifications,\n\t\t\t\t\t\t \t Boolean showNotifications,\n\t\t\t\t\t\t \t Boolean emailNotifications) throws EmailInUseExecption, PhoneNumberInUseExecption, UnknownZipCodeExecption, PhoneVerifyExecption\n\t{\n\t KaguImage avatarImage = null;\n\t \n\t if(firstName != null) {\n\t user.setFirstName(firstName);\n\t }\n\t \n\t if(firstName != null) {\n user.setLastName(lastName);\n }\n\t \n\t if(email != null) {\n\t TBLUser emailUser = userDAO.getUserByEmail(email);\n\t \n\t if(emailUser == user || \n\t emailUser == null) {\n\t user.setEmail(email);\n\t }\n\t else {\n\t throw new EmailInUseExecption();\n\t }\n\t }\n\t \n if (phoneNumber != null) { \n \n TBLUser phoneUser = userDAO.getUserByPhoneNumber(phoneNumber);\n \n if(phoneUser != null && !user.equals(phoneUser)) {\n throw new PhoneNumberInUseExecption();\n }\n \n if (!phoneNumber.equals(user.getPhone())) {\n user.setPhone(phoneNumber);\n user.setPhoneVerified(false);\n user.setSmsAdNotifications(false);\n }\n }\n\t \n\t if(password != null) {\n\t user.setPassword(new StandardPasswordEncoder().encode(password));\n\t }\n\t \n\t if(timeZone != null) {\n\t user.setTimeZoneOffset(timeZone);\n\t } \n\t \n if(swapLocation != null) {\n user.setSwapLocation(swapLocation);\n }\n \n if(swapLocationName != null) {\n user.setSwapLocationName(swapLocationName);\n }\n \n if(smsAdNotifications != null) {\n user.setSmsAdNotifications(smsAdNotifications);\n }\n \n if(showNotifications != null) {\n user.setEmailNotifications(emailNotifications);\n }\n \n if(emailNotifications != null) {\n user.setSmsAdNotifications(smsAdNotifications);\n }\n\t \n\t if(zip != null) {\n\t TBLKaguLocation kaguLocation = kaguLocationDAO.getKaguLocationByZipCode(zip);\n\t \n\t if(kaguLocation == null) {\n\t \n\t log.info(\"Couldn't find zip, finding closest match\");\n\t kaguLocation = kaguLocationDAO.getLocationWithSimilarZipCode(zip);\n\t }\n\t \n\t if(kaguLocation == null) {\n\t throw new UnknownZipCodeExecption();\n\t }\n\t \n\t user.setZipCode(zip);\n\t user.setTblKaguLocation(kaguLocation);\n\t }\n\t\t\n\t user.setSocialAccount(socialAccount);\n\t \n\t if(avatarImageName != null) {\n\n try {\n avatarImage = new KaguImage(new URL(avatarImageName));\n }\n catch (MalformedURLException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n } \n avatarImage.resize(100, 0);\n \n user.setAvatarImage(avatarImage.getBytes());\n }\n\t \n\t if(user.isLoggedIn()) {\n\t crudDAO.update(user);\n\t }\n\t \n\t\treturn user;\n\t}", "title": "" }, { "docid": "8beec431e02e5009f222e867b4ea573b", "score": "0.74619627", "text": "public void updateUser(UserDTO user) throws EntityNotFoundException;", "title": "" }, { "docid": "43835d4b049602f750ab64fbb9b45782", "score": "0.74492556", "text": "public void update(User user2) {\n\t\tuserDao.update(user2);\n\t}", "title": "" }, { "docid": "ce8836fcc21f18fc1b03a358cc6f72ad", "score": "0.7449096", "text": "@Override\n public void updateUSer(User user) {\n usuarioMapper.updateUser(user);\n }", "title": "" }, { "docid": "d82f07db97533cde5f96c3016278f584", "score": "0.74427986", "text": "public void updateUser(User user) {\n\n User entity = dao.findById(user.getUserId());\n if (entity != null) {\n// entity.setUsername(user.getUsername());\n// entity.setPassword(user.getPassword());\n entity.setUserType(user.getUserType());\n entity.setFirstname(user.getFirstname());\n entity.setMiddlename(user.getMiddlename());\n entity.setLastname(user.getLastname());\n entity.setEmail(user.getEmail());\n entity.setContact(user.getContact());\n entity.setGender(user.getGender());\n entity.setDOB(user.getDOB());\n entity.setEnrollmentDate(user.getEnrollmentDate());\n entity.setMaritalStatus(user.getMaritalStatus());\n entity.setAddress(user.getAddress());\n entity.setSalaryAmount(user.getSalaryAmount());\n entity.setCitYearly(user.getCitYearly());\n entity.setInsuranceYearly(user.getInsuranceYearly());\n entity.setPanNumber(user.getPanNumber());\n entity.setBankAccountNumber(user.getBankAccountNumber());\n entity.setTaxYearly(user.getTaxYearly());\n\n }\n }", "title": "" }, { "docid": "e3ffcc8a217261074939542fdf823389", "score": "0.7441919", "text": "@Override\n\tpublic User updateUser(UUID id, User user) {\n\t\treturn userRepository.saveAndFlush(user);\n\t}", "title": "" }, { "docid": "6f14f80bf50d5091eba4f1822dc72caf", "score": "0.74239165", "text": "@Override\r\n\tpublic UsersBean updateUser(UsersBean user) throws SQLException {\n\t\tentityManager.find(UsersBean.class, user.getUsername());\r\n\t\tentityManager.merge(user);\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ec585f0be553fbeb2a5e886612812330", "score": "0.74207664", "text": "@Override\n\tpublic boolean updateUser(User p) {\n\t\tUser u = null;\n\t\ttry {\n\t\t\tu = userRepository.save(p);\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tlogger.log(Level.SEVERE, Constants.ERROR_OCCURRED, e);\n\t\t\treturn false;\n\t\t}\n\t\treturn (u!=null);\n\t}", "title": "" }, { "docid": "5cf6bdb4e7e6cf3f7af78faf7fce102e", "score": "0.7413311", "text": "@Override\r\n\tpublic User updateUser(User user) {\r\n\t\ttry {\r\n\t\t\tOptional<User> user1 = userRepository.findById(user.getUserId());\r\n\t\t\tif (user1.isPresent()) {\r\n\t\t\t\treturn userRepository.save(user);\r\n\t\t\t} else {\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tthrow new EntityUpdationException(\"No updation found\");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "093cf71fd2e6221c6856173bd0810ce6", "score": "0.74050725", "text": "@Override\n public void update(Long id, UserDoc user) {\n final UserDoc existingUser = this.findById(id);\n if (!Util.isNullOrEmpty(user.getName())) {\n existingUser.setName(user.getName());\n }\n if (user.getNicknames() != null) {\n existingUser.setNicknames(user.getNicknames());\n }\n if (user.getAge() != null) {\n existingUser.setAge(user.getAge());\n }\n // Save\n userRepo.save(existingUser);\n }", "title": "" }, { "docid": "5b67f43291c6c0923171fb7d2ce08456", "score": "0.74023145", "text": "public CompanyUser updateUser(CompanyUser user) throws RecordAlreadyModifiedException, OperationRollBackException;", "title": "" }, { "docid": "4bc89ebb037ea543115fc33f3b4f7a4e", "score": "0.73890674", "text": "@Override\r\n\tpublic int updateUserById(T_MALL_USER_ACCOUNT user) {\n\t\treturn userMapper.updateUserById(user);\r\n\t}", "title": "" }, { "docid": "cbbcd9c781348bedfbed90007e5e6be7", "score": "0.73888826", "text": "public void updateUser(UserPrincipal user) throws RepositoryException;", "title": "" }, { "docid": "c353b85dc9ec6abf67dd0388fb00564e", "score": "0.7388613", "text": "@Override\n public boolean update(User user, Long id) {\n\n SimpleDriverDataSource ds = new SimpleDriverDataSource();\n ds.setDriver(new org.h2.Driver());\n ds.setUrl(configuration.DB_URL);\n\n boolean ret = true;\n\n String sql = \"\";\n\n User dbUser = find(id);\n User updatedUser;\n String updatedSalt = generateRandomSalt(10);\n boolean isPasswordChanged = false;\n\n if(getSecurePassword(user.getPassword(),dbUser.getSalt().getBytes(StandardCharsets.UTF_8)).equals(dbUser.getPassword())){\n updatedUser=user;\n sql = \"UPDATE USERS SET FIRST_NAME=?, LAST_NAME=?, USERNAME=? WHERE ID_USER=?\";\n isPasswordChanged = false;\n }\n else{\n updatedUser = User.builder()\n .firstName(user.getFirstName())\n .lastName(user.getLastName())\n .username(user.getUsername())\n .password(getSecurePassword(user.getPassword(),updatedSalt.getBytes(StandardCharsets.UTF_8)))\n .salt(updatedSalt).build();\n sql = \"UPDATE USERS SET FIRST_NAME=?, LAST_NAME=?, USERNAME=?, PASSWORD=?, SALT=? WHERE ID_USER=?\";\n isPasswordChanged = true;\n }\n\n try {\n JdbcTemplate jtm = new JdbcTemplate(ds);\n int rowsNo;\n if(isPasswordChanged) {\n rowsNo = jtm.update(sql, new Object[]{updatedUser.getFirstName(), updatedUser.getLastName(), updatedUser.getUsername(), updatedUser.getPassword(),\n updatedUser.getSalt(), id});\n }\n else{\n rowsNo = jtm.update(sql, new Object[]{updatedUser.getFirstName(), updatedUser.getLastName(), updatedUser.getUsername(), id});\n }\n if (rowsNo != 1) {\n ret = false;\n }\n } catch (DataAccessException dae) {\n lgr.log(Level.SEVERE, dae.getMessage(), dae);\n ret = false;\n }\n\n return ret;\n }", "title": "" }, { "docid": "b7e29a38a3082789333188ed7f59a1a8", "score": "0.73630667", "text": "@Override\n\tpublic int updateUserInfo(UserDTO user) {\n\t\treturn userWriteManage. updateUserInfo(UserConverter.toPO(user));\n\t}", "title": "" }, { "docid": "6d4b696249f484c6391801f7cd3af670", "score": "0.73560244", "text": "public void updateUser(User item) {\n dataProvider.save(item);\n }", "title": "" }, { "docid": "22fac5142e6fdfcf8a28a248300b59d3", "score": "0.73510003", "text": "public void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }", "title": "" }, { "docid": "a4063af6df0230f8afcc83ce95fccb90", "score": "0.734673", "text": "public int updateUser(User user) throws Exception {\n\t\treturn sqlMapClient.update(\"User.updateUser\",user);\n\t}", "title": "" }, { "docid": "1fa7ff532a97ee97ef0fdd5ea30da60e", "score": "0.73406506", "text": "boolean updateUserInfo(User user) throws DaoException;", "title": "" }, { "docid": "0ec28f21095b2cee4554c4f51c7b09e4", "score": "0.73404586", "text": "public void update() \n\t\t\tthrows InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {\n\t\t\n\t\tUpdateChain chain = new SQLChain()\n\t\t\t.open( DATABASE_URL )\n\t\t\t.update(TABLE_USERS);\n\n\t\t\tif( username != null ) chain.set(COL_USERNAME, username);\n\t\t\tif( location != null ) chain.set(COL_LOCATION, location);\n\t\t\tif( websiteurl != null ) chain.set(COL_WEBSITEURL, websiteurl);\n\t\t\tif( description != null ) chain.set(COL_DESCRIPTION, description);\n\t\t\tif( imageurl != null ) chain.set(COL_IMAGEURL, imageurl);\n\t\t\n\t\t\tchain\n\t\t\t.doneSet()\n\t\t\t.whereIs(COL_USERID, userid)\n\t\t\t.update()\n\t\t\t.close();\n\t}", "title": "" }, { "docid": "447d4600d8e9d91dee6d22ad158d548f", "score": "0.7338649", "text": "@Override\n\tpublic void update(User entity) {\n\t\t\n\t}", "title": "" }, { "docid": "469dad5787a9b61db0a66c30f1d79430", "score": "0.7334709", "text": "private void updateUser(HttpServletRequest request, HttpServletResponse response) {\n\t\t\r\n\t}", "title": "" }, { "docid": "dae662d31edb7a335a58da0afda40c03", "score": "0.7325976", "text": "@Override\n\tpublic boolean update(User user) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "bdd4335f1eb4b00da119ab5bd809d7dc", "score": "0.73209924", "text": "private void updateUser(final UserManagementCommand command) {\n final UserAccess activeUser = command.getActiveUser();\n dao.updateUser(command.getActiveId(), activeUser.getPassword(), activeUser.getRealName(),\n activeUser.getRoles(), activeUser.getPlatforms());\n command.setReq(\"\");\n command.setActiveId(\"\");\n }", "title": "" }, { "docid": "43dc06991457e1c12e85567548480910", "score": "0.73176706", "text": "@Override\r\n\tpublic void update(User user) {\n\t\tTransaction t=session.beginTransaction();\r\n\t\tsession.update(user);\r\n\t}", "title": "" }, { "docid": "77ff4b2741e5896d9ad8305c71b70d90", "score": "0.73028183", "text": "private void updateUser(CommandLine cl) {\n\t\t// This will hold the information the user provides and use the\n\t\t// information from the database if the user doesn't want to change it\n\t\tUser user = null;\n\n\t\t//hold multiple agrument values\n\t\tStringBuilder value = new StringBuilder();\n\t\tString[] values;\n\t\t\n\t\ttry {\n\t\t\tuser = userDAO.get(Integer.parseInt(cl.getOptionValue(ID)));\n\t\t} catch (SQLException e) {\n\t\t\tif (e.getSQLState().startsWith(KNOWN_SQL_ERROR_PREFIX)) {\n\t\t\t\t// If it's a SQLException we expected, we let the user know what\n\t\t\t\t// they did wrong\n\t\t\t\toutMessages.add(new TableBuilder(e.getMessage()));\n\t\t\t} else {\n\t\t\t\t// Otherwise, we give the user the exception details and tell\n\t\t\t\t// them to contact us\n\t\t\t\toutMessages.add(new TableBuilder(\"Error code \" + e.getErrorCode() + \" occurred with SQL state \"\n\t\t\t\t\t\t+ e.getSQLState() + \" please notify your database administrator.\"));\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// We let the user know they need to provide an integer for the user\n\t\t\t// ID\n\t\t\toutMessages.add(new TableBuilder(\"ID must be an integer\"));\n\t\t}\n\n\t\t// If we connected to the database and the user was in the database...\n\t\tif (user != null) {\n\t\t\t// We go through all the options and if the user specified them, we\n\t\t\t// add the information to our user\n\t\t\tif (cl.hasOption(PASSWORD)) {\n\t\t\t\tvalues = cl.getOptionValues(PASSWORD);\n\t\t\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\t\t\tvalue.append(values[i]);\n\t\t\t\t\t//if the is still more to go add a space\n\t\t\t\t\tif ((i + 1) < values.length) {\n\t\t\t\t\t\tvalue.append(\" \");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tuser.setUserPassword(value.toString());\n\t\t\t\tvalue.delete(0, value.length());\n\t\t\t}\n\t\t\tif (cl.hasOption(EMAIL)) {\n\t\t\t\tif (!cl.getOptionValue(EMAIL).equals(user.getEmailAddress())) {\n\t\t\t\t\tuser.setEmailAddress(cl.getOptionValue(EMAIL));\n\t\t\t\t} else {\n\t\t\t\t\toutMessages.add(new TableBuilder(\"The email you entered matched the email in the database\"));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (cl.hasOption(FIRST_NAME)) {\n\t\t\t\tif (!cl.getOptionValue(FIRST_NAME).equals(String.valueOf(user.getFirstName()))) {\n\t\t\t\t\tuser.setFirstName(cl.getOptionValue(FIRST_NAME));\n\t\t\t\t} else {\n\t\t\t\t\toutMessages\n\t\t\t\t\t\t\t.add(new TableBuilder(\"The first name you entered matched the first name in the database\"));\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (cl.hasOption(LAST_NAME)) {\n\t\t\t\tif (!cl.getOptionValue(LAST_NAME).equals(user.getLastName())) {\n\t\t\t\t\tuser.setLastName(cl.getOptionValue(LAST_NAME));\n\t\t\t\t} else {\n\t\t\t\t\toutMessages.add(new TableBuilder(\"The last name you entered matched the last name in the database\"));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (cl.hasOption(HOME_PHONE)) {\n\t\t\t\t//get rid of anything extra added to the phone number\n\t\t\t\tuser.setHomePhone(cl.getOptionValue(HOME_PHONE).replaceAll(\"[^\\\\d]\", \"\"));\n\t\t\t}\n\t\t\tif (cl.hasOption(CELL_PHONE)) {\n\t\t\t\t//get rid of anything extra added to the phone number\n\t\t\t\tuser.setCellPhone(cl.getOptionValue(CELL_PHONE).replaceAll(\"[^\\\\d]\", \"\"));\n\t\t\t}\n\t\t\t\n\t\t\t// Now we try to update the information\n\t\t\tboolean didUpdate = false;\n\t\t\t//error for bad email\n\t\t\tif (cl.hasOption(EMAIL) && !validator.isValid(user.getEmailAddress())) {\n\t\t\t\toutMessages.add(new TableBuilder(\"invalid email address format, user update canceled\"));\n\t\t\t\n\t\t\t//error for bad number\n\t\t\t} else if (cl.hasOption(HOME_PHONE) && user.getHomePhone().length() != 10) {\n\t\t\t\toutMessages.add(new TableBuilder(\"invalid home phone number format (enter 10 digits), user update canceled\"));\n\t\t\t\n\t\t\t//error for bad number\n\t\t\t} else if (cl.hasOption(CELL_PHONE) && user.getCellPhone().length() != 10) {\n\t\t\t\toutMessages.add(new TableBuilder(\"invalid cell phone number format (enter 10 digits), user update canceled\"));\n\t\t\t\n\t\t\t//runs if stuff checks out\n\t\t\t} else {\n\t\t\t\ttry {\n\t\t\t\t\tuserDAO.update(user);\n\t\t\t\t\tdidUpdate = true;\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// If it's an error we expected, we tell the user what they did\n\t\t\t\t\t// wrong\n\t\t\t\t\tsqlExceptionMessage(e);\n\t\t\t\t}\n\t\n\t\t\t\t// We only show output if we updated the database\n\t\t\t\tif (didUpdate) {\n\t\t\t\t\toutMessages.add(0, new TableBuilder(\"Successfully updated!\"));\n\t\t\t\t\t// If the user gave us the verbose option, we show all the\n\t\t\t\t\t// information about the user\n\t\t\t\t\tif (cl.hasOption(VERBOSE)) {\n\t\t\t\t\t\tTableBuilder table = new TableBuilder();\n\t\t\t\t\t\ttable.addColumn(\"ID: \", String.valueOf(user.getUserID()));\n\t\t\t\t\t\ttable.addColumn(\"Email: \" , user.getEmailAddress());\n\t\t\t\t\t\ttable.addColumn(\"first name: \", user.getFirstName());\n\t\t\t\t\t\ttable.addColumn(\"last name: \", user.getLastName());\n\t\t\t\t\t\ttable.addColumn(\"admin: \", String.valueOf(user.isAdmin()));\n\t\t\t\t\t\toutMessages.add(table);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Otherwise, we only display it if the user changed it\n\t\t\t\t\t\tfor (Option o : cl.getOptions()) {\n\t\t\t\t\t\t\tif (o.hasArg()) {\n\t\t\t\t\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\t\t\t\t\tif (o.hasLongOpt()) {\n\t\t\t\t\t\t\t\t\tsb.append(o.getLongOpt() + \": \");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tsb.append(o.getOpt() + \": \");\n\t\t\t\t\t\t\t\t}\n\t\n\t\t\t\t\t\t\t\tfor (String s : o.getValues()) {\n\t\t\t\t\t\t\t\t\tsb.append(s + \" \");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\toutMessages.add(new TableBuilder(sb.toString()));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} \n\t}", "title": "" }, { "docid": "714ccd6fb749cc4c94a70c65c2e1b483", "score": "0.7299371", "text": "@Override\n\tpublic void update(User user) {\n\t\tentityDAO.update(user);\n\t}", "title": "" }, { "docid": "c020cca67ce58bc5725365906b0c2ca9", "score": "0.7292494", "text": "@Override\n public void update (User arg) {\n\n Assert.notNull (arg, \"User values are invalid, are empties!\");\n\n // Updating the resource indicated.\n com.raulgpena.application.repository.entity.User us = new com.raulgpena.application.repository.entity.User ();\n\n try {\n\n // Copy values.\n logger.info (String.format (\"Updating user %s\", arg));\n BeanUtils.copyProperties (us, arg);\n\n // Update the target.\n this.userRepository.save (us);\n logger.debug (String.format (\"User %s updated!\", arg));\n\n } catch (Exception e) {\n /*\n * Catch the problems.\n * */\n logger.error (String.format (\"Problems updating user %s\", arg), e);\n throw new ServiceException (\"Problems updating new user.\");\n }\n }", "title": "" }, { "docid": "ebce8c8bc8f1ce21acc5491dc333f594", "score": "0.728951", "text": "@Override\r\n\tpublic int userUpdate(User user) {\n\t\tuserMapper.delRoleByUid(user);\r\n\t\tuserMapper.addRoleByUid(user);\r\n\t\t\r\n\t\treturn userMapper.userUpdate(user);\r\n\t}", "title": "" }, { "docid": "902fa413fa76d00910d822441030ec7c", "score": "0.7289288", "text": "public boolean updateUser(ScigenicsUserMaster user) {\n\t\tdaoimpl.update(user);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "5f5ec488ef85dc32e4066c8ac6d5a28b", "score": "0.7288946", "text": "@Override\r\n public void updateEntity(final User user) {\r\n final User entity = dao.findById(user.getId());\r\n if (entity != null) {\r\n entity.setUserType(user.getUserType());\r\n entity.setFirstName(user.getFirstName());\r\n entity.setLastName(user.getLastName());\r\n entity.setEmailAddress(user.getEmailAddress());\r\n entity.setPassword(user.getPassword());\r\n }\r\n }", "title": "" }, { "docid": "a9e50ebb9324059f9840616e4ab74508", "score": "0.7277398", "text": "void update(User p);", "title": "" }, { "docid": "244f17ac2b8a8b8041849dfeb150e7dd", "score": "0.72771597", "text": "@PutMapping(\"/{id}\")\n public ResponseEntity<?> updateUser(@PathVariable Integer id, @RequestBody User userUpdate) {\n User user = userRepository.findByIdAndStatus(id, true);\n int code = 0;\n if (user == null) {\n return new ResponseEntity<>(messErr.getNotFound(), HttpStatus.BAD_REQUEST);\n }\n\n if (!user.getPhone().equals(userUpdate.getPhone()) &&\n userRepository.existsByPhone(userUpdate.getPhone())) {\n return new ResponseEntity<>(messErr.getPhoneMessage(), HttpStatus.BAD_REQUEST);\n }\n\n String name = userUpdate.getName();\n List<User> sameName = userRepository.findByNameContaining(name);\n code = sameName.size();\n\n // if the fullName update different from fullName in DB -> set Name, StudentCode and Email again\n if (!user.getFullName().equals(userUpdate.getFullName())) {\n user.setFullName(userUpdate.getFullName());\n // check duplicate same name\n if (sameName.isEmpty()) {\n user.setName(name);\n } else {\n user.setName(name + code);\n }\n\n user.setEmail(user.getName() + messErr.getEmailTail());\n }\n\n if (user.getRoleId() == 2) {\n user.setCertificationID(userUpdate.getCertificationID());\n }\n\n user.setStudentCode(userUpdate.getStudentCode());\n user.setDob(userUpdate.getDob());\n user.setGender(userUpdate.getGender());\n user.setMajorId(userUpdate.getMajorId());\n user.setImage(userUpdate.getImage());\n user.setPhone(userUpdate.getPhone());\n user.setPassword(bCryptPasswordEncoder.encode(userUpdate.getPassword()));\n user.setStatus(true);\n\n userRepository.save(user);\n\n return new ResponseEntity<>(messErr.getUpdateSuccess(), HttpStatus.OK);\n }", "title": "" } ]
62728280e38455539cc0a498dab9639b
Elimina una propiedad de la firma.
[ { "docid": "59c8df65f13962a123d6a59039c3d157", "score": "0.0", "text": "public void deleteProperty(final String key) {\r\n\t\t\tthis.dict.remove(key);\r\n\t\t}", "title": "" } ]
[ { "docid": "5c14256fc2be5b5428f57dfb42f623f2", "score": "0.6522449", "text": "void eliminarProgreso();", "title": "" }, { "docid": "ff7204d5ef1997a439904e6d6368eba5", "score": "0.64451", "text": "Boolean remove(Profissional profissional);", "title": "" }, { "docid": "6b102f172f648102013992370f967eb7", "score": "0.6232482", "text": "public void eliminarProfesor(Profesor p) {\n\t\tcdp.deleteProfesor(p.getCod_profesor());\r\n\t}", "title": "" }, { "docid": "06e9a8a42df87beef47711ba3698db87", "score": "0.61994386", "text": "public void deletePresupuesto() {\n\t\ttry {\n\t\t\tgetPresupuestoHistoricoService().deletePresupuestoHistorico(selectedPresupuestoHistorico);\n\t\t\tutil.mostrarMensaje(\"Registro eliminado con éxito.\");\n\n\t\t} catch (DataAccessException e) {\n\t\t\te.printStackTrace();\n\t\t\tutil.mostrarError(\"Error eliminando el registro.\");\n\t\t}\n\t}", "title": "" }, { "docid": "0b587df6e921aea564ad2187c42f4af8", "score": "0.61504686", "text": "public void eliminaPerfilMotorista(String email) {\n umer.eliminarPerfilMotorista(email);\n }", "title": "" }, { "docid": "f568fdbf77cc97dcbdb5588745aba972", "score": "0.6149048", "text": "public void remover(){\n pilas.remove(pilas.size()-1);\n }", "title": "" }, { "docid": "fb7dcca80666bce388f7c084560338e6", "score": "0.6110525", "text": "@Override\n\tpublic void eliminarSolicitudFirma(SolicitudFirmaPortafirma solicitudFirmaPortafirma) throws PortafirmaFapServiceException {\n\n\t}", "title": "" }, { "docid": "e64a3bd4a455ab63eee08fd5ef67983d", "score": "0.6104793", "text": "public void borrarMedidasPliegue(MedidaPliegue pliegue){\n \n try{\n iniciar();\n sesion.delete(pliegue);\n cerrar();\n }catch(HibernateException e){\n manejaExcepcion(e);\n }\n }", "title": "" }, { "docid": "815ef2460f6eab65bcd925332be319f3", "score": "0.60626346", "text": "void eliminar(Long propuestaId, Long requerimientoId);", "title": "" }, { "docid": "c021eb678e19881179c5a5a66aa5b4a9", "score": "0.60270655", "text": "public void eliminaPerfilCliente(String email) {\n umer.eliminarPerfilCliente(email);\n }", "title": "" }, { "docid": "3d70ffea6cde5b025865d1e7af949fe0", "score": "0.6026472", "text": "public void eliminarProyecto(String id);", "title": "" }, { "docid": "89256a8dbba8fe03286fb45d5c0e0c1d", "score": "0.6018633", "text": "public void eliminar(Propietario propietario) {\r\n em.remove(em.merge(propietario));\r\n }", "title": "" }, { "docid": "a31579f049eafd16b86828779ef854b3", "score": "0.5986385", "text": "public void eliminar(Profesor a) {\n\t\t\n\t}", "title": "" }, { "docid": "3b8a68e52f1e1bfbf990049e1cb07d31", "score": "0.5934643", "text": "public ComandoEliminarMedida(Progreso_Medida progreso_medida){\n this._progreso_medida = progreso_medida;\n }", "title": "" }, { "docid": "da4d20226f6ec85d4ac43cf458f0b938", "score": "0.59113306", "text": "private static void supprimerPromesseVente() {\n\t\tSystem.out.print(\"\\n- Suppression d'une promesse -\");\r\n\t\tint valChoixPersonne = 0;\r\n\t\tdo{\r\n\t\t\tSystem.out.print(\"\\nNuméro du client : \");\r\n\t\t\ttry{\r\n\t\t\t\tvalChoixPersonne = clavier.nextInt();\r\n\t\t\t}catch(Exception e){\r\n\t\t\t\tclavier.next();\r\n\t\t\t}\r\n\t\t}while(valChoixPersonne < 0);\r\n\t\tint valChoixPromesse = 0;\r\n\t\tdo{\r\n\t\t\tSystem.out.print(\"\\nNuméro de la promesse : \");\r\n\t\t\ttry{\r\n\t\t\t\tvalChoixPromesse = clavier.nextInt();\r\n\t\t\t}catch(Exception e){\r\n\t\t\t\tclavier.next();\r\n\t\t\t}\r\n\t\t}while(valChoixPromesse < 0);\r\n\t\t\r\n\t\tagence.getClients().get(valChoixPersonne).removePromesseVente(valChoixPromesse);\r\n\t}", "title": "" }, { "docid": "ce3e157cdb48d229f9e81e21b2f2e7aa", "score": "0.59102196", "text": "void removePaire(E p);", "title": "" }, { "docid": "737e0808e6005f8bb0559c29721002b6", "score": "0.5871991", "text": "@Override\n public void deletar(String cpf) throws SQLException {\n delete(\"DELETE FROM padeiro WHERE cpf = ? \", cpf);\n }", "title": "" }, { "docid": "a499333a2e0b5f26c99f2c296eff2bb9", "score": "0.58589214", "text": "public void removeObjetivo(String codigo) {\n\t\tobjetivos.remove(codigo);\n\t}", "title": "" }, { "docid": "1a52f8dfc7ffa946b88123344d4cfbc3", "score": "0.5848542", "text": "@Override\n\tpublic boolean removePrato(String nome) {\n\t\t\n\t\treturn cardapio.removePrato(nome);\n\t}", "title": "" }, { "docid": "54974ba2d4268e9f1fb7ae99123c3b16", "score": "0.5844808", "text": "public void eliminarPerroSeleccionado() {\r\n Perro perroSeleccionado = panelLista.darPerroSeleccionado();\r\n if (perroSeleccionado != null) {\r\n String nomPerroSeleccionado = perroSeleccionado.darNombre();\r\n int respuesta = JOptionPane.showConfirmDialog(this,\r\n \"¿Está seguro que quiere eliminar el perro \" + nomPerroSeleccionado + \"?\",\r\n \"Eliminar perro\",\r\n JOptionPane.YES_NO_OPTION);\r\n if (respuesta != JOptionPane.YES_OPTION) {\r\n return;\r\n }\r\n try {\r\n exposicion.eliminarPerro(nomPerroSeleccionado);\r\n panelDatos.limpiarDatos();\r\n actualizarLista();\r\n JOptionPane.showMessageDialog(this, \"Perro eliminado exitosamente!\", \"Eliminar Perro\", JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n catch (SQLException exception) {\r\n exception.printStackTrace();\r\n JOptionPane.showMessageDialog(this, \"Error al eliminar el perro con nombre \" + nomPerroSeleccionado, \"Eliminar Perro\", JOptionPane.INFORMATION_MESSAGE);\r\n }\r\n\r\n }\r\n\r\n }", "title": "" }, { "docid": "2dfee6b0a6b1c1eff6ac19c86c88581d", "score": "0.58426136", "text": "public void eliminar(String cod) throws Exception {\r\n\t\tEntityManager em = AdministradorEntityManager.getEntityManager();\r\n\t\tem.getTransaction().begin();\r\n\t\tAsignatura a = em.find(Asignatura.class, cod);\r\n\t\tif (a != null) {\r\n\t\t\tem.remove(a);\r\n\t\t}\r\n\t\tem.getTransaction().commit();\r\n\t}", "title": "" }, { "docid": "b87bbf895eb0efcff89dabe9555e1d1e", "score": "0.583804", "text": "@Override\n\tpublic void supprimerProduit(Long idP) {\n\t\tproduit p=getProduit(idP);\n\t\tem.remove(p);\n\t\t\n\t}", "title": "" }, { "docid": "51f13cd183a10b2894531a164cccdcbe", "score": "0.5825521", "text": "public void removeByDipartimento(java.lang.String dipartimento);", "title": "" }, { "docid": "53ba1bc3419cadf20d765a140fd4e298", "score": "0.58050376", "text": "public void borrarPreguntasPresenciaMarca(int pCodigoPregunta){\n\t\t_dataAccess.openForWriting();\n\t\tString sCodigoUsuario = UsuariosImplementor.getInstance().obtenerUsuarioLogueado()[0];\n\t\t_dataAccess.borrarPreguntasPresenciaMarca(sCodigoUsuario, pCodigoPregunta);\n\t\t_dataAccess.close();\n\t}", "title": "" }, { "docid": "2e476700b64e6d86282873fed320b42f", "score": "0.58021665", "text": "public String deleteProf() {\n\t\tProfileServ profServ = this.servLocator.getProfileServ();\n\t\tprofServ.deleteProf(this.profId);\n\t\t\n\t\treturn \"myProfile\";\n\t}", "title": "" }, { "docid": "474a55c2ef62dd2588a38ede51b87521", "score": "0.57965547", "text": "@Override\r\n\tpublic void eliminar(Alumno clase) {\r\n\t\tthis.listado.remove(clase.matricula);\r\n\t\tSystem.out.println(\"Eliminado con éxito.\\n\");\r\n\t}", "title": "" }, { "docid": "e3174622a4697d705e1899718b6e482f", "score": "0.5787681", "text": "public void removerAfinidade(){\n \n //Percorre a lista de afinidades da docente e muda o status de Adicionada para removida\n for(Afinidade a: todasAfinidades){\n \n if(a.getDisciplina() == paraRemover){\n\n Calendar cal = Calendar.getInstance();\n a.setDataAcao(cal.getTime());\n a.setEstado(\"Removida\");\n afinidadeFacade.edit(a);\n }\n } \n disponiveis = null;\n paraRemover = null;\n paraAdicionar = null; \n }", "title": "" }, { "docid": "5080b849abe8b1f78105c4f10d24baa7", "score": "0.5785404", "text": "public void eliminar() {\r\n this.cita = new CitaMantenimiento();\r\n try {\r\n BeanUtils.copyProperties(this.cita, this.citaSelected);\r\n this.citaServicio.eliminarCita(this.cita.getIdCita());\r\n FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, \"Aviso\", \"Registro Eliminado Corectamente\"));\r\n this.citas.remove(this.cita);\r\n this.setCitaSelected(null);\r\n } catch (IllegalAccessException | InvocationTargetException e) {\r\n FacesContext context = FacesContext.getCurrentInstance();\r\n context.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, \"Error no controlado\", e.getMessage()));\r\n }\r\n }", "title": "" }, { "docid": "ef35e94b34c0c756f4d5c721dbd77b94", "score": "0.5781307", "text": "public void removerPrimeiro(){\n\t\tlista.remove(0);\n\t}", "title": "" }, { "docid": "6d1fea3346610787e9196ac60b79422a", "score": "0.57704186", "text": "@RequestMapping(value = \"/\", method = RequestMethod.DELETE)\r\n\t\tpublic ResponseEntity<RegistroPesca> eliminarPerfiles () {\r\n\t\t\tlogger.info(\"Borrando todos los perfiles\");\r\n\t\t\tregistroPescaService.eliminarTodos();\r\n\t\t\treturn new ResponseEntity<RegistroPesca>(HttpStatus.NO_CONTENT);\r\n\t\t}", "title": "" }, { "docid": "e639454b77afdda96d995d335c72e4f9", "score": "0.5746234", "text": "public void eliminarSerpiente() {\r\n this.serpiente.clear();\r\n }", "title": "" }, { "docid": "cc2922fb14931d3036140305bb499471", "score": "0.573595", "text": "public void delete(int codigo){\r\n \r\n for(Pato pato : lista){\r\n if(pato .getCodigo() == codigo){\r\n lista.remove(pato );\r\n break;\r\n }\r\n }\r\n \r\n }", "title": "" }, { "docid": "34774b23266e2cfdeba925253f4094bc", "score": "0.5715114", "text": "public static void remove(String nomeProperites) {\n data.remove(nomeProperites);\n }", "title": "" }, { "docid": "9b8add2e33c13ca84e1202cf4bdf4e32", "score": "0.5704328", "text": "private void excluirEmpresa() {\n try {\n excluirProdutos();\n databaseReference = ConfiguracaoFirebase.getFirebase();\n databaseReference.child(\"empresa\").child(empresaPreferencias.getEmpresa().getKeyEmpresa()).removeValue();\n limparPrefEmpresa();\n progressDialog.dismiss();\n finish();\n\n } catch (Exception e) {\n Toast.makeText(this, \"Erro ao deletar empresa \" + e.getMessage(), Toast.LENGTH_LONG).show();\n\n }\n\n }", "title": "" }, { "docid": "507bd7a8fd285c66959063a5aeea2b07", "score": "0.569806", "text": "public void eliminarObservadores(){\n sujeto.retirarObservadores();\n }", "title": "" }, { "docid": "9c45cd04ea0c2c35508d4eda18dc56e7", "score": "0.5692132", "text": "public boolean eliminarPersonal(PersonalAtencion personal, String operacion);", "title": "" }, { "docid": "56a4700af367e0b68605eb81611beb8f", "score": "0.5681543", "text": "public void delete_produs(){\n \tconnect_db = new Connect_DB();\n\t\tcon = connect_db.get_conexiune(\"root\", \"0000\");\n\t\tmagazin = new Magazin( connect_db.get_conexiune(\"root\", \"0000\") );\n \t\n String query = \"DELETE FROM Produs WHERE cod = ?\";\n\n try\n {\n // create the mysql insert preparedstatement\n PreparedStatement preparedStmt = con.prepareStatement(query);\n\n preparedStmt.setInt (1, Integer.parseInt(cod_textField.getText() ) );\n\n // execute the preparedstatement\n preparedStmt.executeUpdate();\n JOptionPane.showMessageDialog(null, \"Stergerea produsului din BD a fost efectuata cu succes\");\n\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "9020bf003ec6e6b4ace2189f17e5bbb0", "score": "0.566119", "text": "void removeProcedure();", "title": "" }, { "docid": "02a072f5fbd13a0a1b998c63215d3809", "score": "0.5659874", "text": "public void RemoveProyecto( int idProyecto ) {\n for( int i = 0; i < idProyectos.size(); i++ ) {\n if( idProyectos.get( i ) == idProyecto ) {\n idProyectos.remove( i );\n }\n }\n }", "title": "" }, { "docid": "f1603af2849c9ca32b6ca5930f39a1f1", "score": "0.56501067", "text": "void excluir(Produto produto);", "title": "" }, { "docid": "b24cdd54b6b77be5ce53e248a94999c8", "score": "0.5631503", "text": "private void eliminarTipoIdentificacion() {\n\t\t// consulto el tipo identificacion por su id\n\t\tOptional<TipoIdentificacion> tipoIdentificacion = tipoIdentificacionRepository.findById(6);\n\t\tif (tipoIdentificacion.isPresent()) {\n\t\t\ttipoIdentificacionRepository.delete(tipoIdentificacion.get());\n\n\t\t}\n\n\t}", "title": "" }, { "docid": "42152214d687c0053dde2f48118e105b", "score": "0.5630762", "text": "public void remove(es.pode.auditoria.negocio.dominio.Busqueda busqueda);", "title": "" }, { "docid": "f02dbec46868d7141aff1c547981b149", "score": "0.56278837", "text": "public void eliminarDetalleProforma(Connection conn, proformaDetalle objeto) {\r\n\t\ttry {\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(\"delete \"\r\n\t\t\t\t\t+ \"from proforma_detalle \" + \"where ID_PROFORMA='\"\r\n\t\t\t\t\t+ objeto.getIdProforma() + \"'\");\r\n\t\t\tstatement.execute();\r\n\t\t\tstatement.close();\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"No se elimino Registro :\"\r\n\t\t\t\t\t+ e.getMessage(), \"Alerta!\", JOptionPane.ERROR_MESSAGE);\r\n\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "4ea847c4f99a7921e9b94c28340f286e", "score": "0.5606347", "text": "public void eliminarDeportista(String codigo){\r\n Conexion conex= new Conexion();\r\n\ttry{\r\n String consulta=\"DELETE FROM Deportista WHERE idDeportista = ? \";\r\n PreparedStatement estatuto;\r\n estatuto = conex.getConnection().prepareStatement(consulta);\r\n estatuto.setInt(1,Integer.parseInt(codigo));\r\n estatuto.executeUpdate();\r\n JOptionPane.showMessageDialog(null,\r\n \"Se ha Eliminado Correctamente\",\r\n \"Información\",JOptionPane.INFORMATION_MESSAGE);\r\n estatuto.close();\r\n conex.desconectar();\r\n\t\t\t\r\n\t} catch (SQLException e) {\r\n System.out.println(e.getMessage());\r\n JOptionPane.showMessageDialog(null, \"No se Elimino\");\r\n\t}\r\n }", "title": "" }, { "docid": "d6228f1580b98906ca5505c2bb251656", "score": "0.55512", "text": "public void Eliminar(){\r\n this.descripcion = \"VACIO\";\r\n this.estado = \"VACIO\";\r\n this.dia = 0;\r\n this.mes = 0;\r\n this.anio = 0;\r\n }", "title": "" }, { "docid": "cbecebdc1b9ce3787a32807b6dbf1380", "score": "0.5544905", "text": "@Override\r\n\tpublic void eliminar(ClasificacionCompetencia cfc) {\n\r\n\t}", "title": "" }, { "docid": "0bd9cb5f9c1cf346b88e484a75251606", "score": "0.5544311", "text": "public void del(int proid) throws Exception {\n\t\tgoodsdao.delete(proid);\r\n\r\n\t}", "title": "" }, { "docid": "1909d0497c02f74d184fdc53e4715a73", "score": "0.5543902", "text": "public void removeParticipacao(String cpf, String codProjeto) {\r\n\t\tpesquisaPessoa(cpf).removerParticipacao(codProjeto);\r\n\t}", "title": "" }, { "docid": "dc93f52dc28b4985b36246d2143e49f8", "score": "0.553782", "text": "public void deleteAsignatura(){\r\n try{\r\n Asignatura asignatura = getAsignaturaService().getAsignaturaById(getIdAsignatura());\r\n String asignaturaEliminada = asignatura.getCodigoAsignatura() + \" - \" + getNombreAsignatura();\r\n getAsignaturaService().deleteAsignatura(asignatura);\r\n addMessage(\"La asignatura : \" + asignaturaEliminada + \" fue eliminada correctamente\");\r\n refreshAsignaturas();\r\n }catch (DataAccessException e){\r\n e.printStackTrace();\r\n addMessage(\"La asignatura no puede ser eliminada debido a que tiene registros relacionados\");\r\n }\r\n }", "title": "" }, { "docid": "df14a2642d2622efebfa5b09650632fb", "score": "0.552613", "text": "public boolean removeProfil(final String name){\n String fileName = name+\".xml\";\n boolean retour = false;\n if(getProfils().contains(fileName)){\n retour = FileHelper.deleteProfil(path + fileName);\n }\n return retour;\n }", "title": "" }, { "docid": "04d470a742da127ce00d6c0d5396b948", "score": "0.5524742", "text": "public void borrarCredito(int fila){\n datos.remove(fila);\r\n // Y se avisa a los suscriptores, creando un TableModelEvent...\r\n TableModelEvent evento = new TableModelEvent (this, fila, fila, \r\n TableModelEvent.ALL_COLUMNS, TableModelEvent.DELETE);\r\n // ... y pasándoselo a los suscriptores\r\n avisaSuscriptores (evento);\r\n }", "title": "" }, { "docid": "d58ca682f6eadfa16cf60aa12158d665", "score": "0.55240786", "text": "public void eliminar_tipo_perfil(int id) {\r\n\t\r\n\t\r\n\ttry{\r\n\t\tjava.sql.Statement stm = pruebaConn.getConexion().createStatement();\r\n\t\tstm.execute(\"DELETE from Tiene_perfil where id_usuario = '\"+id+\"';\");\r\n }\r\n\tcatch (Exception e){\r\n\t\tSystem.out.println(\"no se pudo eliminar\");\r\n\t}\r\n\t\r\n\t\r\n}", "title": "" }, { "docid": "908b0ccf6ca53cb8f8f05ee34c5a15ac", "score": "0.5522368", "text": "public void remove(){\n\t\tCliente p = inicio;\n\t\tif(inicio!=null){\n\t\t\tinicio = inicio.proximo;\n\t\t\t//System.out.println(\"Tempo Gasto: \" + p.tempoDeEspera);\n\t\t\tp.proximo = null;\n\t\t}\n\t}", "title": "" }, { "docid": "9665e5d9c2926a4c1b22851fb44e5c6a", "score": "0.5498632", "text": "private void excluirRegistro() throws SQLException {\n if (jTableGenero.getSelectedRow() != -1) {\n // Exibe uma janela de confirmação antes de exluir o registro\n int resp = JOptionPane.showConfirmDialog(rootPane, \"Deseja realmente excluir este registro?\",\n \"Confirmação!\", JOptionPane.YES_NO_OPTION);\n\n // Se a confirmação for SIM\n if (resp == JOptionPane.YES_NO_OPTION) {\n // Remove o registro, usando como parâmetro, o id da linha selecionada \n BdGenero d = new BdGenero();\n d.remove(pegaIdGenero());\n\n JOptionPane.showMessageDialog(rootPane, \"Registro excluido com sucesso.\");\n limpaCampos();\n }\n } else {\n JOptionPane.showMessageDialog(rootPane, \"Multa não selecionada.\");\n }\n }", "title": "" }, { "docid": "8e78f660ec42fb2120022d67188f6eae", "score": "0.5485239", "text": "public void removePiranha(Piranha piranha) {\n this.listOfPiranha.remove(piranha);\n }", "title": "" }, { "docid": "d0df0f4f3a9d3dfa8733ec73b069b6af", "score": "0.54819375", "text": "void remove(Acceso acceso);", "title": "" }, { "docid": "3aa4cf3870a930d9f58eb55e55d648b1", "score": "0.5474455", "text": "public void removeFromCarrello(int idcarrello, int prodotto, int quantita){\n this.db.removeProdottoToCarrello(idcarrello,prodotto, quantita);\n }", "title": "" }, { "docid": "fd9a0c77535601846196a69c415e7f6c", "score": "0.54716337", "text": "public void eliminarClave(){\r\n try {\r\n int clave = Integer.parseInt(JOptionPane.showInputDialog(\"Escriba la clave a eliminar: \"));\r\n if (arbol.Buscar(clave)) {\r\n arbol.Eliminar(clave);\r\n JOptionPane.showMessageDialog(null, \"Clave eliminada exitosamente.\", \"Eliminación exitosa\", 1);\r\n actualizarArbol();\r\n } else {\r\n JOptionPane.showMessageDialog(null, \"Esta clave no existe.\", \"ERROR\", 0);\r\n }\r\n } catch (HeadlessException | NumberFormatException e) {\r\n JOptionPane.showMessageDialog(null, \"Clave invalida\", \"ERROR: \" + e, 0);\r\n }\r\n }", "title": "" }, { "docid": "39789db8f109b0acbcf7378931ac9be2", "score": "0.5464473", "text": "public void eliminar() {\n telefono= vistaTelefono.eliminarTelefono();\n telefonoDAO.delete(telefono);\n }", "title": "" }, { "docid": "5c8d4b705c349c22785863d39146f9eb", "score": "0.54595774", "text": "@Override\n\tpublic int supprimerPersonne(Personne p) {\n\t\treturn dao.supprimerPersonne(p);\n\t}", "title": "" }, { "docid": "b72a0919f0ea412b46ac1afd37a029da", "score": "0.5453748", "text": "private void removeitem(){\n this.encomenda = produtos.remove(0);\n }", "title": "" }, { "docid": "f4ca1546b46b9369297d3c4efaa5585b", "score": "0.54498136", "text": "@Override\r\n\tpublic void eliminar() {\n\t\ttab_tipo_documento.eliminar();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "151c0b816fd8d78a836e0a9eef217c8b", "score": "0.54411554", "text": "public static void deleteSP() {\n\n Editor edit = ctx.getSharedPreferences(config, 0).edit();\n edit.remove(StringConstant.TOKEN);\n edit.remove(StringConstant.KEY);\n edit.remove(StringConstant.LOGIN);\n edit.remove(StringConstant.FUND_PSW);\n edit.remove(StringConstant.BIND_BANK);\n edit.commit();\n }", "title": "" }, { "docid": "c24aacde951023a52c59894403ef462b", "score": "0.5427195", "text": "@Override\n\tpublic void remover(String cpf) throws ClienteNaoEncontradoException {\n\t\t\n\t}", "title": "" }, { "docid": "0357250fd6c50683992f5b14d1f57585", "score": "0.54226977", "text": "public void removeByFindByCompetencia(long Pis, String Competencia);", "title": "" }, { "docid": "b1a0892178cbef4d7ee758bc9966404a", "score": "0.54183453", "text": "public void eliminarItemCliente(String dpi) {\n try {// prepara la orden \n PreparedStatement declaracion;\n declaracion = conexion.prepareStatement(\"DELETE FROM CLIENTE WHERE Dpi=?\");\n declaracion.setString(1, dpi);\n declaracion.executeUpdate();\n JOptionPane.showMessageDialog(null, \"El cliente con dpi: \" +dpi + \" se elimino correctamente\");\n } catch (HeadlessException | SQLException e) {\n JOptionPane.showMessageDialog(null, \"No se pudo eliminar el cliente con dpi: \" + dpi);\n }\n }", "title": "" }, { "docid": "1cad313226e463e8a884024ea18e088a", "score": "0.54115087", "text": "void removeParam(String pKey);", "title": "" }, { "docid": "33d06ef459c6ceca88c1a9a9ddcd6b47", "score": "0.54081655", "text": "public final void removeDireccionEmpresa() {\r\n removeValue(getDireccionEmpresaAttribute(getMtDatabase()));\r\n }", "title": "" }, { "docid": "e58409f714c90eec07cd8796acd56299", "score": "0.540752", "text": "public void remover(){\n DatabaseReference firebaseRef = ConfiguracaoFirebase.getFirebaseDataBase();\n DatabaseReference crianca2Ref = firebaseRef\n .child(\"USUARIO-ACOMPANHAMENTO\")\n .child( getCaderneta() );\n //.child( dataEscolhida )\n //.child( getIdAcompanhamento() );\n crianca2Ref.removeValue();\n }", "title": "" }, { "docid": "1a79368737d490258d8743729e94770a", "score": "0.5400149", "text": "void deleteListOfUserProfileTO();", "title": "" }, { "docid": "ff5bfbd6027072b104dc8c057c81a34a", "score": "0.53986067", "text": "public void remover() {\n\t\tif (pantallas.equals(\"juego\")) {\n\t\t\tfor (int i = 0; i < elementos.size(); i++) {\n\t\t\t\tElemento e = elementos.get(i);\n\t\t\t\tif (e.getRecogido()) {\n\t\t\t\t\telementos.remove(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < enemigos.size(); i++) {\n\t\t\t\tPersonaje e = enemigos.get(i);\n\t\t\t\tif (e.isVivo() == false) {\n\n\t\t\t\t\tenemigos.remove(e);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < jugadores.size(); i++) {\n\t\t\t\tPersonaje e = jugadores.get(i);\n\t\t\t\tif (e.isVivo() == false) {\n\n\t\t\t\t\tjugadores.remove(e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "792d40d012bd8a525048d46599c8a14e", "score": "0.53930444", "text": "@Override\r\n\tpublic void removeProtein(Protein p) \r\n\t{\r\n\t\tthrow new UnsupportedOperationException();\r\n\t}", "title": "" }, { "docid": "279493628e1740e359efc5295f49a3d3", "score": "0.5387386", "text": "@Override\n\tpublic void deleteCandidat() {\n\t\ttry {\n\t\t\tConnexion c=new Connexion();\n\t\t\tString sql = \"DELETE FROM `candidat` WHERE `id`=?\";\n\t\t\tjava.sql.PreparedStatement statement =\n\t\t\tc.conn.prepareStatement(sql); statement.setInt(1,this.getId());\n\t\t\t\n\t\t\tstatement.execute();\n\t\t\tSystem.out.println(\"supprimé avec succés\");\n\t\t\t} catch (SQLException ex) {\n\t\t\t\tSystem.out.println(\"erreur lors de la suppression \"+ex.toString());\n\t\t\t\t\n\t\t\t}\n\t}", "title": "" }, { "docid": "476b9522d44776d46bf178302d083f97", "score": "0.5384755", "text": "public Remover_Consultar_Familia() {\n initComponents();\n }", "title": "" }, { "docid": "3144f17fa4c49cf4fb6d3f3dd0b32420", "score": "0.53740835", "text": "@Override\n\tpublic void deleteMaptip() {\n\n\t}", "title": "" }, { "docid": "f1980c5ec30f0acefaf355bc3669437d", "score": "0.53719974", "text": "private void eliminarMesa(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n int id_Mesa = Integer.parseInt(request.getParameter(\"idMesa\"));\n\n //Creamos el objeto de Persona (modelo)\n Mesa mesa = new Mesa(id_Mesa);\n\n //Eliminamos el objeto en la base de datos\n int registrosModificados = new MesaDaoJDBC().eliminar(mesa);\n System.out.println(\"registrosModificados = \" + registrosModificados);\n\n //Redirigimos hacia accion por default\n this.accionDefault(request, response);\n }", "title": "" }, { "docid": "c6fce9ca2060b4b9c327d90dae69ec96", "score": "0.53675526", "text": "public final void removeCifEmpresa() {\r\n removeValue(getCifEmpresaAttribute(getMtDatabase()));\r\n }", "title": "" }, { "docid": "7f0d056e42163c5da82fe0aa9cc5b405", "score": "0.5364822", "text": "public void RemoveCarta(Carta c){\r\n\t\tbaralho[c.getCarta()] = false;\r\n\t}", "title": "" }, { "docid": "e028433740046fc4798fc295e05b9765", "score": "0.53639436", "text": "public String eliminarArchivo()\r\n/* 499: */ {\r\n/* 500:544 */ FuncionesUtiles.eliminarArchivo(getDirectorioDescarga(), getOrdenPagoProveedor().getPdf());\r\n/* 501:545 */ getOrdenPagoProveedor().setPdf(null);\r\n/* 502:546 */ HashMap<String, Object> campos = new HashMap();\r\n/* 503:547 */ campos.put(\"pdf\", null);\r\n/* 504:548 */ this.servicioOrdenPagoProveedor.actualizarAtributoEntidad(getOrdenPagoProveedor(), campos);\r\n/* 505:549 */ return null;\r\n/* 506: */ }", "title": "" }, { "docid": "6d6da636eb6f890dfc48666f11d27733", "score": "0.53635955", "text": "public final void delete(){\r\n if (propsFile.exists()) {\r\n propsFile.delete();\r\n }\r\n }", "title": "" }, { "docid": "6d6da636eb6f890dfc48666f11d27733", "score": "0.53635955", "text": "public final void delete(){\r\n if (propsFile.exists()) {\r\n propsFile.delete();\r\n }\r\n }", "title": "" }, { "docid": "2df129e056f370da76ac017c644efe38", "score": "0.5360602", "text": "IPersistent remove(PatriciaTrieKey key);", "title": "" }, { "docid": "cc9c78bb8c3e5692a0f8223dba259c2f", "score": "0.53583676", "text": "public void desactivarDatosPulsera(String pulsera) {\n\t\tJSONArray listaIDPulseras = getJSONArrayByPath(rutaJsonDatosPulseras);\t\t\n\t\t\n\t\t//recogemos el indice de la pulsera a eliminar\n\t\tint index = getIndexIfExist(pulsera, TipoPOJO.PULSERA, TipoCampoABuscar.IDPULSERA, listaIDPulseras);\n\t\tif (index>=0)listaIDPulseras.remove(index);\n\n\t\ttry (FileWriter file = new FileWriter(rutaJsonDatosPulseras)) {\n\n\t\t\tfile.write(listaIDPulseras.toJSONString());\n\t\t\tfile.flush();\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7d76316fb9047092412e8f177122eac9", "score": "0.5357989", "text": "@Override\r\n\tpublic void eliminar() {\n\t\ttab_lugar.eliminar();\r\n\t}", "title": "" }, { "docid": "336e5e48033d39245063f2d06837d341", "score": "0.53571934", "text": "public Asignatura eliminar_Asignatura(int codigo) {\r\n\r\n // Obtiene el primer curso y realiza la primera busqueda de asignatura.\r\n Curso curso = cursos.getCurso();\r\n Asignatura asignatura = null;\r\n\r\n // Si la lista cursos no esta vacia continua sino devuelve null.\r\n if (curso != null) {\r\n\r\n // Busca la asignatura en el primer curso.\r\n asignatura = curso.getAsignaturas().buscarObject(codigo);\r\n\r\n // Recorrido de busqueda de la asignatura a eliminar.\r\n while (curso != null && asignatura == null) {\r\n curso = curso.getSiguiente();\r\n if (curso != null) {\r\n asignatura = curso.getAsignaturas().buscarObject(codigo);\r\n }\r\n }\r\n\r\n // Si existe la asignatura y el curso entonces se elimina.\r\n if (asignatura != null && curso != null) {\r\n\r\n // Obtiene el primer estudiante.\r\n Estudiante estudiante = estudiantes.getEstudiante();\r\n\r\n // Se elimina los estudiantes matriculados en la asignatura.\r\n Ref_Estudiante ref_estudiante = asignatura.getRef_Estudiantes().getRef_Estudiante();\r\n while (ref_estudiante != null) {\r\n\r\n // Si la referencia es igual al estudiante.\r\n if (ref_estudiante.getEstudiante() == estudiante) {\r\n\r\n // Siguiente referencia.\r\n ref_estudiante = ref_estudiante.getSiguiente();\r\n\r\n // Se busca la referencia de asignatura dentro del estudiante.\r\n Ref_Asignatura ref_asignatura = estudiante.getRef_Asignaturas().getRef_Asignatura();\r\n while (ref_asignatura.getAsignatura() != asignatura) {\r\n ref_asignatura = ref_asignatura.getSiguiente();\r\n }\r\n\r\n // Se elimina la referencia de asignatura del estudiante.\r\n estudiante.getRef_Asignaturas().eliminar(estudiante.getRef_Asignaturas().buscarIndex(ref_asignatura));\r\n\r\n // Si no exisiten mas matriculas en el estudiante, este se elimina.\r\n if (estudiante.getRef_Asignaturas().getRef_Asignatura() == null) {\r\n estudiantes.eliminar(estudiantes.buscarIndex(estudiante));\r\n }\r\n }\r\n\r\n // Siguiente estudiante.\r\n estudiante = estudiante.getSiguiente();\r\n }\r\n\r\n // Eliminamos la asignatura.\r\n curso.getAsignaturas().eliminar(curso.getAsignaturas().buscarIndex(asignatura));\r\n }\r\n }\r\n\r\n // Si hubo un problema devueleve null, sino el puntero de la asignatura.\r\n return asignatura;\r\n }", "title": "" }, { "docid": "3fd261987ceddfece9f624c36e4452ea", "score": "0.5356555", "text": "public PantallaEliminar() {\n initComponents();\n inicializarComponentesPropios();\n }", "title": "" }, { "docid": "0b87c3e05d5f582941462d38bf5a6acf", "score": "0.5347737", "text": "private void removerItensVetor() {\n\n int qAc = FrmInserirAcessorio.getAcessoriosEscolhidos().size();\n\n for(int i = 0; i < qAc; i++){\n FrmInserirAcessorio.acessoriosEscolhidos.remove(i);\n }\n }", "title": "" }, { "docid": "7429c4991c433442d16e77be111b80b1", "score": "0.5341213", "text": "public void delete() {\n try {\r\n dao.delete(recupererId());\r\n int rep = JOptionPane.showConfirmDialog(V, \"Etes vous sur de vouloir supprimer cette personne\");\r\n if (rep == 0) {\r\n JOptionPane.showMessageDialog(V, \"Supression Reussi\");\r\n update();\r\n numberPers();\r\n }\r\n } catch (Exception e) {\r\n JOptionPane.showMessageDialog(V, \"Veuillez Selectionner une ligne\");\r\n }\r\n\r\n }", "title": "" }, { "docid": "eecaf24912adaf7db4fb29b34c83798b", "score": "0.5337734", "text": "public String supprimerProduitPanier(){\r\n\t\tclientService.supprimerProduitPanierService(this.produit);\r\n\t\treturn \"/supprimer.xhtml\";\r\n\t}", "title": "" }, { "docid": "9f96dd51bc1cec87e69c786d3b60ac38", "score": "0.533766", "text": "public int eliminar(Connection conn, proforma objeto) {\r\n\t\ttry {\r\n\r\n\t\t\tPreparedStatement statement = conn\r\n\t\t\t\t\t.prepareStatement(\"delete from proforma where ID_PROFORMA = ?\");\r\n\t\t\tstatement.setInt(1, objeto.getIdProforma());\r\n\t\t\tstatement.execute();\r\n\t\t\tstatement.close();\r\n\r\n\t\t\tJOptionPane.showMessageDialog(null,\r\n\t\t\t\t\t\"Se ha Eliminado un Registro! \", \"Aviso!\",\r\n\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\r\n\t\t\treturn 1;\r\n\r\n\t\t} catch (Exception e) {\r\n\r\n\t\t\tJOptionPane.showMessageDialog(null, \"No se Eliminó Registro :\"\r\n\t\t\t\t\t+ e.getMessage(), \"Alerta!\", JOptionPane.ERROR_MESSAGE);\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "416b22840d9bde248d9be5bf3f7bbff4", "score": "0.5336096", "text": "private void removePagMP(Pagina p) throws TamanhoInsuficiente{\n\t\tProcesso alvo = p.getProcesso();\n\t\tint nPagina = alvo.getTabela().getKey(p);\n\t\t// Se esta modificado salva no disco\n\t\tif(p.isModificado()){\n\t\t\tPagina pagDisco = gd.alocarMemoria(alvo, 1).get(0);\n\t\t\talvo.getTabela().substituiPagina(nPagina, pagDisco);;\n\t\t} else {\n\t\t\t// Dissocia pagina de processo\n\t\t\talvo.getTabela().removePagina(nPagina);\n\t\t}\n\t\tgm.liberarMemoria(p);\n\t}", "title": "" }, { "docid": "f3a7da72f33083a56718efa870d3dc08", "score": "0.53336275", "text": "@Override\n public void remove(Object o) {\n Kelas k=(Kelas) o;\n query = \"delete from olahkelas where(kdkelas='\" + k.getKdKelas() + \"')\";\n db.execute(query);\n dataKelas.remove(k);\n System.out.println(\"data telah dihapus\");\n \n }", "title": "" }, { "docid": "38d68fdd6f0ac8aa0c3c73820242cf0f", "score": "0.5329623", "text": "@Override\r\n\tpublic void delete(Motivosalida entidad) {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "59b1c469c0e1d0648a3b01a7e7a455b4", "score": "0.53245646", "text": "public void removerPerfilNome(String nome) {\n Perfil p=treeNome.remove(nome);\n if(p!=null) treeNif.remove(p.getUtilizador().getNif());\n this.setChanged();\n this.notifyObservers();\n }", "title": "" }, { "docid": "b9f4a7fc983e1369174a4e123a2c849f", "score": "0.5320082", "text": "public void removeAlumnoPictograma(Alumno alumno, Pictograma pictograma){\n SQLiteDatabase db = hermesDBHelper.getWritableDatabase ();\n\n// Insert the new row, returning the primary key value of the new row\n long newRowId;\n newRowId = db.delete(\n HermesContract.PictogramaAlumno.TABLE_NAME,\n HermesContract.PictogramaAlumno.COLUMN_NAME_ALUMNO_ID + \" =? AND \" + HermesContract.PictogramaAlumno.COLUMN_NAME_PICTOGRAMA_ID + \" =? \",\n new String[]{alumno.getId().toString(), pictograma.getId().toString()});\n db.close();\n }", "title": "" }, { "docid": "f87247257352b9dff9273fb20fd72477", "score": "0.53124255", "text": "public void removeProperty(String key) { }", "title": "" }, { "docid": "d7b1f4396f9bd6c9dd7800ae569f9f47", "score": "0.5302333", "text": "public static void remove(String tema) {\n\t\tConnection c = Conexao.getInstance();\n\t\t\n\t\tString sql = \"delete from decoracaoinfantil where tema = ?\"; // comando sql\n\t\t\n\t\ttry {\n\t\t\tPreparedStatement pstm = c.prepareStatement(sql);\n\t\t\tpstm.setString(1, tema);\n\t\t\t\n\t\t\tpstm.execute();\n\t\t\tpstm.close();\n\n\t\t\tJOptionPane.showMessageDialog(null, \"Decoracao removida com sucesso\");\n\t\t\tc.commit();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\ttry {\n\t\t\t\tc.rollback();\n\t\t\t} catch (SQLException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\tJOptionPane.showMessageDialog(null, \"Erro ao remover decoracao\");\n\t\t}\n\t}", "title": "" }, { "docid": "b92d823be43f78eb0de60c37dbdababa", "score": "0.53017074", "text": "@Override\n\tpublic void supprimer(BienImmobilier pBien) {\t\n\t\tbienImmobilierRep.delete(pBien);\n\t}", "title": "" }, { "docid": "872733f4e95513f2bf269e2c422642a3", "score": "0.5301318", "text": "public void delete(Prospect delProspect) throws SQLException, ClassNotFoundException{\r\n String query = \"DELETE FROM prospect \"\r\n + \"WHERE IDPROSPECT = ? \";\r\n try(Connection myProspectConn = Prospect_Db_Connect.getConnection();\r\n PreparedStatement pstatement = myProspectConn.prepareStatement(query)){\r\n // Recuperation du parametre pour le PreparedStatement\r\n pstatement.setInt(1, delProspect.getIdent());\r\n // Execution du PreparedStatement pour insertion\r\n pstatement.executeUpdate();\r\n }catch(SQLException SQLex){\r\n System.out.println(SQLex.getMessage());\r\n }\r\n }", "title": "" }, { "docid": "e740f74be65ab0860632b96b8363a5e8", "score": "0.5299366", "text": "@Override\r\n\tpublic void deleteProcesoDelMes(String nombreTabla, String nombreCampoMes, String nombreCampoNumero, String cplanillaMesProceso,\r\n\t\t\tInteger nplanillaNumProceso) {\n\r\n\t}", "title": "" }, { "docid": "6c12be623b728dfa2e697b412c48c8b5", "score": "0.5298628", "text": "public void removeDoFim() {\n\t\t\n\t\tif (!posicaoOcupada(totalDeElementos - 1)) {\n\t\t\tthrow new IllegalArgumentException(\"Posicao nao existe\");\n\t\t}\n\t\t\n\t\tif (totalDeElementos == 1) {\n\t\t\tremoveDoComeco();\n\t\t} else {\n\t\t\tCelula penultima = ultima.getAnterior();\n\t\t\tpenultima.setProxima(null);\n\t\t\tultima = penultima;\n\t\t\ttotalDeElementos--;\n\t\t}\n\t\t\n\t\tultima = null;\n\n\t\tCelula atual = primeira;\n\t\t\n\t\tfor (int i = 0; i < totalDeElementos - 1; i++) {\n\t\t\tatual = atual.getProxima();\n\t\t}\n\t\tultima = atual;\n\t}", "title": "" } ]
ff9ce3073ba73d39a7482776c39910c2
$ANTLR end "entryRuleRobot" $ANTLR start "ruleRobot" ../esir.lsi.imtql.ui/srcgen/robot/ui/contentassist/antlr/internal/InternalDsl.g:69:1: ruleRobot : ( ( rule__Robot__Group__0 ) ) ;
[ { "docid": "256900ef932ecae87538e40ad551fe67", "score": "0.7689339", "text": "public final void ruleRobot() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:73:2: ( ( ( rule__Robot__Group__0 ) ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:74:1: ( ( rule__Robot__Group__0 ) )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:74:1: ( ( rule__Robot__Group__0 ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:75:1: ( rule__Robot__Group__0 )\n {\n before(grammarAccess.getRobotAccess().getGroup()); \n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:76:1: ( rule__Robot__Group__0 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:76:2: rule__Robot__Group__0\n {\n pushFollow(FOLLOW_rule__Robot__Group__0_in_ruleRobot94);\n rule__Robot__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRobotAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
[ { "docid": "2182374de3416803767f4e66a8085963", "score": "0.7291178", "text": "public final void rule__Robot__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:303:1: ( ( 'Robot' ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:304:1: ( 'Robot' )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:304:1: ( 'Robot' )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:305:1: 'Robot'\n {\n before(grammarAccess.getRobotAccess().getRobotKeyword_0()); \n match(input,11,FOLLOW_11_in_rule__Robot__Group__0__Impl574); \n after(grammarAccess.getRobotAccess().getRobotKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "13f2239e5f557277063394bf421c22b4", "score": "0.6564567", "text": "public final void rule__Robot__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:291:1: ( rule__Robot__Group__0__Impl rule__Robot__Group__1 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:292:2: rule__Robot__Group__0__Impl rule__Robot__Group__1\n {\n pushFollow(FOLLOW_rule__Robot__Group__0__Impl_in_rule__Robot__Group__0543);\n rule__Robot__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__1_in_rule__Robot__Group__0546);\n rule__Robot__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5ab42d3cf87ca4c4e4085fcc792b3d3a", "score": "0.6366211", "text": "public final void rule__Robot__Group_6__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:581:1: ( rule__Robot__Group_6__0__Impl rule__Robot__Group_6__1 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:582:2: rule__Robot__Group_6__0__Impl rule__Robot__Group_6__1\n {\n pushFollow(FOLLOW_rule__Robot__Group_6__0__Impl_in_rule__Robot__Group_6__01111);\n rule__Robot__Group_6__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group_6__1_in_rule__Robot__Group_6__01114);\n rule__Robot__Group_6__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "afd9d9f31e29d5a14abea8de4896da71", "score": "0.63319784", "text": "public final void entryRuleRobot() throws RecognitionException {\n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:61:1: ( ruleRobot EOF )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:62:1: ruleRobot EOF\n {\n before(grammarAccess.getRobotRule()); \n pushFollow(FOLLOW_ruleRobot_in_entryRuleRobot61);\n ruleRobot();\n\n state._fsp--;\n\n after(grammarAccess.getRobotRule()); \n match(input,EOF,FOLLOW_EOF_in_entryRuleRobot68); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "df6cc954f3e3b5fe19076e87459756c5", "score": "0.61292857", "text": "public final void ruleRule() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:491:2: ( ( ( rule__Rule__Group__0 ) ) )\n // InternalAst.g:492:2: ( ( rule__Rule__Group__0 ) )\n {\n // InternalAst.g:492:2: ( ( rule__Rule__Group__0 ) )\n // InternalAst.g:493:3: ( rule__Rule__Group__0 )\n {\n before(grammarAccess.getRuleAccess().getGroup()); \n // InternalAst.g:494:3: ( rule__Rule__Group__0 )\n // InternalAst.g:494:4: rule__Rule__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Rule__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRuleAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3cd07bccb5556432e2bbbc02bf42e168", "score": "0.60944164", "text": "public final void rule__Rule__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:2565:1: ( ( 'RULE' ) )\n // InternalAst.g:2566:1: ( 'RULE' )\n {\n // InternalAst.g:2566:1: ( 'RULE' )\n // InternalAst.g:2567:2: 'RULE'\n {\n before(grammarAccess.getRuleAccess().getRULEKeyword_0()); \n match(input,50,FOLLOW_2); \n after(grammarAccess.getRuleAccess().getRULEKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1ec27ccf4bdc4ea70b2c27027b671739", "score": "0.6030248", "text": "public final void rule__Robot__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:485:1: ( ( ( rule__Robot__Group_6__0 )* ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:486:1: ( ( rule__Robot__Group_6__0 )* )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:486:1: ( ( rule__Robot__Group_6__0 )* )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:487:1: ( rule__Robot__Group_6__0 )*\n {\n before(grammarAccess.getRobotAccess().getGroup_6()); \n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:488:1: ( rule__Robot__Group_6__0 )*\n loop2:\n do {\n int alt2=2;\n int LA2_0 = input.LA(1);\n\n if ( (LA2_0==15) ) {\n alt2=1;\n }\n\n\n switch (alt2) {\n \tcase 1 :\n \t // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:488:2: rule__Robot__Group_6__0\n \t {\n \t pushFollow(FOLLOW_rule__Robot__Group_6__0_in_rule__Robot__Group__6__Impl941);\n \t rule__Robot__Group_6__0();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop2;\n }\n } while (true);\n\n after(grammarAccess.getRobotAccess().getGroup_6()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3861daec9a90c2c026052c7d8d2343ae", "score": "0.60281765", "text": "public final void rule__Robot__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:473:1: ( rule__Robot__Group__6__Impl rule__Robot__Group__7 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:474:2: rule__Robot__Group__6__Impl rule__Robot__Group__7\n {\n pushFollow(FOLLOW_rule__Robot__Group__6__Impl_in_rule__Robot__Group__6911);\n rule__Robot__Group__6__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__7_in_rule__Robot__Group__6914);\n rule__Robot__Group__7();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7ab04091dc45aed8d22b4b08b35279bf", "score": "0.59879446", "text": "public final void rule__Robot__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:351:1: ( rule__Robot__Group__2__Impl rule__Robot__Group__3 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:352:2: rule__Robot__Group__2__Impl rule__Robot__Group__3\n {\n pushFollow(FOLLOW_rule__Robot__Group__2__Impl_in_rule__Robot__Group__2665);\n rule__Robot__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__3_in_rule__Robot__Group__2668);\n rule__Robot__Group__3();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4c6990bdc3cec5e5dfe8f917b79d062f", "score": "0.5849571", "text": "public final void rule__Robot__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:382:1: ( rule__Robot__Group__3__Impl rule__Robot__Group__4 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:383:2: rule__Robot__Group__3__Impl rule__Robot__Group__4\n {\n pushFollow(FOLLOW_rule__Robot__Group__3__Impl_in_rule__Robot__Group__3727);\n rule__Robot__Group__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__4_in_rule__Robot__Group__3730);\n rule__Robot__Group__4();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fd5b89c1bb724a99a7dddd779b61067e", "score": "0.58073074", "text": "public final void rule__Robot__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:322:1: ( rule__Robot__Group__1__Impl rule__Robot__Group__2 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:323:2: rule__Robot__Group__1__Impl rule__Robot__Group__2\n {\n pushFollow(FOLLOW_rule__Robot__Group__1__Impl_in_rule__Robot__Group__1605);\n rule__Robot__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__2_in_rule__Robot__Group__1608);\n rule__Robot__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d7d9e3dca67ab7e9e52fbfaa1d0cc868", "score": "0.57862794", "text": "public final void ruleTaskDefinitionRepository() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTaskDefinition.g:106:2: ( ( ( rule__TaskDefinitionRepository__Group__0 ) ) )\n // InternalTaskDefinition.g:107:2: ( ( rule__TaskDefinitionRepository__Group__0 ) )\n {\n // InternalTaskDefinition.g:107:2: ( ( rule__TaskDefinitionRepository__Group__0 ) )\n // InternalTaskDefinition.g:108:3: ( rule__TaskDefinitionRepository__Group__0 )\n {\n before(grammarAccess.getTaskDefinitionRepositoryAccess().getGroup()); \n // InternalTaskDefinition.g:109:3: ( rule__TaskDefinitionRepository__Group__0 )\n // InternalTaskDefinition.g:109:4: rule__TaskDefinitionRepository__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__TaskDefinitionRepository__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTaskDefinitionRepositoryAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cd900f73a20cd5fda6f7436bac6d6583", "score": "0.5779575", "text": "public final void ruleAction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:247:2: ( ( ( rule__Action__Group__0 ) ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:248:1: ( ( rule__Action__Group__0 ) )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:248:1: ( ( rule__Action__Group__0 ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:249:1: ( rule__Action__Group__0 )\n {\n before(grammarAccess.getActionAccess().getGroup()); \n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:250:1: ( rule__Action__Group__0 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:250:2: rule__Action__Group__0\n {\n pushFollow(FOLLOW_rule__Action__Group__0_in_ruleAction459);\n rule__Action__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c858b0e9a9c7fe2438b77e5d055f32bb", "score": "0.5766691", "text": "public final void rule__ArtifactMatchRestriction__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8100:1: ( ( 'edit' ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8101:1: ( 'edit' )\n {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8101:1: ( 'edit' )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8102:1: 'edit'\n {\n before(grammarAccess.getArtifactMatchRestrictionAccess().getEditKeyword_1()); \n match(input,95,FOLLOW_95_in_rule__ArtifactMatchRestriction__Group__1__Impl16389); \n after(grammarAccess.getArtifactMatchRestrictionAccess().getEditKeyword_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "94170f5b7080787cf6cdadc585e7869e", "score": "0.57225907", "text": "public final void rule__Robot__Group__7__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:514:1: ( ( '}' ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:515:1: ( '}' )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:515:1: ( '}' )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:516:1: '}'\n {\n before(grammarAccess.getRobotAccess().getRightCurlyBracketKeyword_7()); \n match(input,14,FOLLOW_14_in_rule__Robot__Group__7__Impl1003); \n after(grammarAccess.getRobotAccess().getRightCurlyBracketKeyword_7()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "667b76a75b9f0a14c4439b85214ed7c8", "score": "0.5661784", "text": "public final void ruleLibrary() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1066:2: ( ( ( rule__Library__Group__0 ) ) )\n // InternalMyDsl.g:1067:2: ( ( rule__Library__Group__0 ) )\n {\n // InternalMyDsl.g:1067:2: ( ( rule__Library__Group__0 ) )\n // InternalMyDsl.g:1068:3: ( rule__Library__Group__0 )\n {\n before(grammarAccess.getLibraryAccess().getGroup()); \n // InternalMyDsl.g:1069:3: ( rule__Library__Group__0 )\n // InternalMyDsl.g:1069:4: rule__Library__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Library__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getLibraryAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f830566c53f50db762d29df937e08698", "score": "0.5637967", "text": "public final void ruleAction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:271:2: ( ( ( rule__Action__Group__0 ) ) )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:272:1: ( ( rule__Action__Group__0 ) )\n {\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:272:1: ( ( rule__Action__Group__0 ) )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:273:1: ( rule__Action__Group__0 )\n {\n before(grammarAccess.getActionAccess().getGroup()); \n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:274:1: ( rule__Action__Group__0 )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:274:2: rule__Action__Group__0\n {\n pushFollow(FOLLOW_rule__Action__Group__0_in_ruleAction516);\n rule__Action__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ee23748d019f821173135cbda869eb82", "score": "0.5637585", "text": "public final void ruleMission() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:66:2: ( ( ( rule__Mission__Group__0 ) ) )\n // InternalDronesDsl.g:67:2: ( ( rule__Mission__Group__0 ) )\n {\n // InternalDronesDsl.g:67:2: ( ( rule__Mission__Group__0 ) )\n // InternalDronesDsl.g:68:3: ( rule__Mission__Group__0 )\n {\n before(grammarAccess.getMissionAccess().getGroup()); \n // InternalDronesDsl.g:69:3: ( rule__Mission__Group__0 )\n // InternalDronesDsl.g:69:4: rule__Mission__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Mission__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMissionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a569c3f4418063b11b90dc8af04ec94b", "score": "0.56365466", "text": "public final void rule__Rule__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:2553:1: ( rule__Rule__Group__0__Impl rule__Rule__Group__1 )\n // InternalAst.g:2554:2: rule__Rule__Group__0__Impl rule__Rule__Group__1\n {\n pushFollow(FOLLOW_7);\n rule__Rule__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Rule__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5b1ae3c0f0f9b750c377687f5ef5c5ec", "score": "0.5626509", "text": "public final void rule__Robot__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:444:1: ( rule__Robot__Group__5__Impl rule__Robot__Group__6 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:445:2: rule__Robot__Group__5__Impl rule__Robot__Group__6\n {\n pushFollow(FOLLOW_rule__Robot__Group__5__Impl_in_rule__Robot__Group__5851);\n rule__Robot__Group__5__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__6_in_rule__Robot__Group__5854);\n rule__Robot__Group__6();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3202f031b531c5452c323b00e9d728bf", "score": "0.5596246", "text": "public final void rule__TaskDefinitionRepository__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTaskDefinition.g:890:1: ( ( 'TaskDefinitionRepository' ) )\n // InternalTaskDefinition.g:891:1: ( 'TaskDefinitionRepository' )\n {\n // InternalTaskDefinition.g:891:1: ( 'TaskDefinitionRepository' )\n // InternalTaskDefinition.g:892:2: 'TaskDefinitionRepository'\n {\n before(grammarAccess.getTaskDefinitionRepositoryAccess().getTaskDefinitionRepositoryKeyword_0()); \n match(input,33,FOLLOW_2); \n after(grammarAccess.getTaskDefinitionRepositoryAccess().getTaskDefinitionRepositoryKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f66d1a06d769e94af56be70ae2ccb9ab", "score": "0.5561014", "text": "public final EObject entryRuleOrGroup() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleOrGroup = null;\n\n\n try {\n // ../org.xtext.example.fmlero/src-gen/fr/inria/familiar/fmlero/parser/antlr/internal/InternalFmlero.g:2596:2: (iv_ruleOrGroup= ruleOrGroup EOF )\n // ../org.xtext.example.fmlero/src-gen/fr/inria/familiar/fmlero/parser/antlr/internal/InternalFmlero.g:2597:2: iv_ruleOrGroup= ruleOrGroup EOF\n {\n newCompositeNode(grammarAccess.getOrGroupRule()); \n pushFollow(FOLLOW_ruleOrGroup_in_entryRuleOrGroup5457);\n iv_ruleOrGroup=ruleOrGroup();\n\n state._fsp--;\n\n current =iv_ruleOrGroup; \n match(input,EOF,FOLLOW_EOF_in_entryRuleOrGroup5467); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" }, { "docid": "50fc060c1e32f9377a9ffda413d977fe", "score": "0.55546755", "text": "public final void ruleOrExpr() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:592:2: ( ( ( rule__OrExpr__Group__0 ) ) )\n // InternalMGPL.g:593:2: ( ( rule__OrExpr__Group__0 ) )\n {\n // InternalMGPL.g:593:2: ( ( rule__OrExpr__Group__0 ) )\n // InternalMGPL.g:594:3: ( rule__OrExpr__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getOrExprAccess().getGroup()); \n }\n // InternalMGPL.g:595:3: ( rule__OrExpr__Group__0 )\n // InternalMGPL.g:595:4: rule__OrExpr__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__OrExpr__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getOrExprAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b86ce4641174e383963da6bf796688d0", "score": "0.55539656", "text": "public final void ruleLogicalOrExpression() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:1301:2: ( ( ( rule__LogicalOrExpression__Group__0 ) ) )\n // InternalReflex.g:1302:2: ( ( rule__LogicalOrExpression__Group__0 ) )\n {\n // InternalReflex.g:1302:2: ( ( rule__LogicalOrExpression__Group__0 ) )\n // InternalReflex.g:1303:3: ( rule__LogicalOrExpression__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getLogicalOrExpressionAccess().getGroup()); \n }\n // InternalReflex.g:1304:3: ( rule__LogicalOrExpression__Group__0 )\n // InternalReflex.g:1304:4: rule__LogicalOrExpression__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__LogicalOrExpression__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getLogicalOrExpressionAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "25826221db47f59b77330c88f7b7e072", "score": "0.5551406", "text": "public final void rule__Robot__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:413:1: ( rule__Robot__Group__4__Impl rule__Robot__Group__5 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:414:2: rule__Robot__Group__4__Impl rule__Robot__Group__5\n {\n pushFollow(FOLLOW_rule__Robot__Group__4__Impl_in_rule__Robot__Group__4789);\n rule__Robot__Group__4__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__5_in_rule__Robot__Group__4792);\n rule__Robot__Group__5();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "73c0b49ed30b9041d5ab0c0ac243b966", "score": "0.55398166", "text": "public final void ruleOrForm() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:141:2: ( ( ( rule__OrForm__Group__0 ) ) )\n // InternalDSLSAT.g:142:2: ( ( rule__OrForm__Group__0 ) )\n {\n // InternalDSLSAT.g:142:2: ( ( rule__OrForm__Group__0 ) )\n // InternalDSLSAT.g:143:3: ( rule__OrForm__Group__0 )\n {\n before(grammarAccess.getOrFormAccess().getGroup()); \n // InternalDSLSAT.g:144:3: ( rule__OrForm__Group__0 )\n // InternalDSLSAT.g:144:4: rule__OrForm__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__OrForm__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOrFormAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7ecd9d19cf20e44d263c224b305aad33", "score": "0.5531525", "text": "public final void rule__Mission__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:316:1: ( ( () ) )\n // InternalDronesDsl.g:317:1: ( () )\n {\n // InternalDronesDsl.g:317:1: ( () )\n // InternalDronesDsl.g:318:2: ()\n {\n before(grammarAccess.getMissionAccess().getMissionAction_0()); \n // InternalDronesDsl.g:319:2: ()\n // InternalDronesDsl.g:319:3: \n {\n }\n\n after(grammarAccess.getMissionAccess().getMissionAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a6ef117be898301772b025e6f5ba95d8", "score": "0.55265105", "text": "public final void ruleType() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:291:2: ( ( ( rule__Type__Group__0 ) ) )\n // InternalMyDsl.g:292:2: ( ( rule__Type__Group__0 ) )\n {\n // InternalMyDsl.g:292:2: ( ( rule__Type__Group__0 ) )\n // InternalMyDsl.g:293:3: ( rule__Type__Group__0 )\n {\n before(grammarAccess.getTypeAccess().getGroup()); \n // InternalMyDsl.g:294:3: ( rule__Type__Group__0 )\n // InternalMyDsl.g:294:4: rule__Type__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Type__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTypeAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "327f2d7fc59753d1c5ad775440fc7f6c", "score": "0.55023766", "text": "public final void ruleMovableObject() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:166:2: ( ( ( rule__MovableObject__Group__0 ) ) )\n // InternalDronesDsl.g:167:2: ( ( rule__MovableObject__Group__0 ) )\n {\n // InternalDronesDsl.g:167:2: ( ( rule__MovableObject__Group__0 ) )\n // InternalDronesDsl.g:168:3: ( rule__MovableObject__Group__0 )\n {\n before(grammarAccess.getMovableObjectAccess().getGroup()); \n // InternalDronesDsl.g:169:3: ( rule__MovableObject__Group__0 )\n // InternalDronesDsl.g:169:4: rule__MovableObject__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__MovableObject__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMovableObjectAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "244db71a58d780debf70fc541f0384a1", "score": "0.54958636", "text": "public final void rule__MovableObject__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:1141:1: ( rule__MovableObject__Group__0__Impl rule__MovableObject__Group__1 )\n // InternalDronesDsl.g:1142:2: rule__MovableObject__Group__0__Impl rule__MovableObject__Group__1\n {\n pushFollow(FOLLOW_7);\n rule__MovableObject__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__MovableObject__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1f09c58b04009b6e630dd5505673509e", "score": "0.5493888", "text": "public final void ruleAction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:341:2: ( ( ( rule__Action__Group__0 ) ) )\n // InternalMyDsl.g:342:2: ( ( rule__Action__Group__0 ) )\n {\n // InternalMyDsl.g:342:2: ( ( rule__Action__Group__0 ) )\n // InternalMyDsl.g:343:3: ( rule__Action__Group__0 )\n {\n before(grammarAccess.getActionAccess().getGroup()); \n // InternalMyDsl.g:344:3: ( rule__Action__Group__0 )\n // InternalMyDsl.g:344:4: rule__Action__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Action__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d10b562f5a4d07a7121a29843ee2c4a6", "score": "0.5481687", "text": "public final void rule__Mission__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:304:1: ( rule__Mission__Group__0__Impl rule__Mission__Group__1 )\n // InternalDronesDsl.g:305:2: rule__Mission__Group__0__Impl rule__Mission__Group__1\n {\n pushFollow(FOLLOW_3);\n rule__Mission__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Mission__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "87235da1de52f2e8e8bc5b8d35c9375f", "score": "0.54809606", "text": "public final void rule__OrExpr__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:3419:1: ( rule__OrExpr__Group__0__Impl rule__OrExpr__Group__1 )\n // InternalMGPL.g:3420:2: rule__OrExpr__Group__0__Impl rule__OrExpr__Group__1\n {\n pushFollow(FOLLOW_26);\n rule__OrExpr__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__OrExpr__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f428a9b3c2a1428e7175e328fc780cef", "score": "0.5465751", "text": "public final void rule__FQN__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTaskDefinition.g:1869:1: ( ( RULE_ID ) )\n // InternalTaskDefinition.g:1870:1: ( RULE_ID )\n {\n // InternalTaskDefinition.g:1870:1: ( RULE_ID )\n // InternalTaskDefinition.g:1871:2: RULE_ID\n {\n before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "599bedea553daf9036021bb6d64298cf", "score": "0.54656386", "text": "public final void rule__Robot__Group_6__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:593:1: ( ( ',' ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:594:1: ( ',' )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:594:1: ( ',' )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:595:1: ','\n {\n before(grammarAccess.getRobotAccess().getCommaKeyword_6_0()); \n match(input,15,FOLLOW_15_in_rule__Robot__Group_6__0__Impl1142); \n after(grammarAccess.getRobotAccess().getCommaKeyword_6_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2df2f31cdcd8f8e0a24e1c2624e79325", "score": "0.5461527", "text": "public final void ruleoEvent() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSymboleoide.g:916:2: ( ( ( rule__OEvent__Group__0 ) ) )\n // InternalSymboleoide.g:917:2: ( ( rule__OEvent__Group__0 ) )\n {\n // InternalSymboleoide.g:917:2: ( ( rule__OEvent__Group__0 ) )\n // InternalSymboleoide.g:918:3: ( rule__OEvent__Group__0 )\n {\n before(grammarAccess.getOEventAccess().getGroup()); \n // InternalSymboleoide.g:919:3: ( rule__OEvent__Group__0 )\n // InternalSymboleoide.g:919:4: rule__OEvent__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__OEvent__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOEventAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "efb3f4628e145d784422c4fcb02128ee", "score": "0.5459304", "text": "public final void ruleAction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1466:2: ( ( ( rule__Action__Group__0 ) ) )\n // InternalMyDsl.g:1467:2: ( ( rule__Action__Group__0 ) )\n {\n // InternalMyDsl.g:1467:2: ( ( rule__Action__Group__0 ) )\n // InternalMyDsl.g:1468:3: ( rule__Action__Group__0 )\n {\n before(grammarAccess.getActionAccess().getGroup()); \n // InternalMyDsl.g:1469:3: ( rule__Action__Group__0 )\n // InternalMyDsl.g:1469:4: rule__Action__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Action__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getActionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3fe7342dffa2bf91bba15df6eb6113a1", "score": "0.54586995", "text": "public final void ruleEntity() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:130:2: ( ( ( rule__Entity__Group__0 ) ) )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:131:1: ( ( rule__Entity__Group__0 ) )\n {\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:131:1: ( ( rule__Entity__Group__0 ) )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:132:1: ( rule__Entity__Group__0 )\n {\n before(grammarAccess.getEntityAccess().getGroup()); \n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:133:1: ( rule__Entity__Group__0 )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:133:2: rule__Entity__Group__0\n {\n pushFollow(FOLLOW_rule__Entity__Group__0_in_ruleEntity214);\n rule__Entity__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getEntityAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ce4cec436cb37015fe09f7d6ca48ee83", "score": "0.5453064", "text": "public final void rule__Robot__Group__7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:502:1: ( rule__Robot__Group__7__Impl rule__Robot__Group__8 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:503:2: rule__Robot__Group__7__Impl rule__Robot__Group__8\n {\n pushFollow(FOLLOW_rule__Robot__Group__7__Impl_in_rule__Robot__Group__7972);\n rule__Robot__Group__7__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Robot__Group__8_in_rule__Robot__Group__7975);\n rule__Robot__Group__8();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6abdc1455f3d39e858d229bdced365cf", "score": "0.54471177", "text": "public final void ruleTaskDefinition() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTaskDefinition.g:131:2: ( ( ( rule__TaskDefinition__Group__0 ) ) )\n // InternalTaskDefinition.g:132:2: ( ( rule__TaskDefinition__Group__0 ) )\n {\n // InternalTaskDefinition.g:132:2: ( ( rule__TaskDefinition__Group__0 ) )\n // InternalTaskDefinition.g:133:3: ( rule__TaskDefinition__Group__0 )\n {\n before(grammarAccess.getTaskDefinitionAccess().getGroup()); \n // InternalTaskDefinition.g:134:3: ( rule__TaskDefinition__Group__0 )\n // InternalTaskDefinition.g:134:4: rule__TaskDefinition__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__TaskDefinition__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTaskDefinitionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "eb545826221d9682676aac6c77614b99", "score": "0.5445857", "text": "public final void ruleDrone() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:91:2: ( ( ( rule__Drone__Group__0 ) ) )\n // InternalDronesDsl.g:92:2: ( ( rule__Drone__Group__0 ) )\n {\n // InternalDronesDsl.g:92:2: ( ( rule__Drone__Group__0 ) )\n // InternalDronesDsl.g:93:3: ( rule__Drone__Group__0 )\n {\n before(grammarAccess.getDroneAccess().getGroup()); \n // InternalDronesDsl.g:94:3: ( rule__Drone__Group__0 )\n // InternalDronesDsl.g:94:4: rule__Drone__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Drone__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getDroneAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bb431ab9191881d9cd3bd69df46e8abc", "score": "0.5421876", "text": "public final void ruleTree() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:191:2: ( ( ( rule__Tree__Group__0 ) ) )\n // InternalAst.g:192:2: ( ( rule__Tree__Group__0 ) )\n {\n // InternalAst.g:192:2: ( ( rule__Tree__Group__0 ) )\n // InternalAst.g:193:3: ( rule__Tree__Group__0 )\n {\n before(grammarAccess.getTreeAccess().getGroup()); \n // InternalAst.g:194:3: ( rule__Tree__Group__0 )\n // InternalAst.g:194:4: rule__Tree__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Tree__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTreeAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a39932297f3b8c31d53c35e187000108", "score": "0.5418359", "text": "public final void rule__Mission__Group_6__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:736:1: ( rule__Mission__Group_6__0__Impl rule__Mission__Group_6__1 )\n // InternalDronesDsl.g:737:2: rule__Mission__Group_6__0__Impl rule__Mission__Group_6__1\n {\n pushFollow(FOLLOW_12);\n rule__Mission__Group_6__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Mission__Group_6__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "88ad0b28a942701d71e9f875baba2dc7", "score": "0.5416063", "text": "public final void ruleTable() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:166:2: ( ( ( rule__Table__Group__0 ) ) )\n // InternalMyDsl.g:167:2: ( ( rule__Table__Group__0 ) )\n {\n // InternalMyDsl.g:167:2: ( ( rule__Table__Group__0 ) )\n // InternalMyDsl.g:168:3: ( rule__Table__Group__0 )\n {\n before(grammarAccess.getTableAccess().getGroup()); \n // InternalMyDsl.g:169:3: ( rule__Table__Group__0 )\n // InternalMyDsl.g:169:4: rule__Table__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Table__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTableAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bdc90deb109139a070b80bf01811c705", "score": "0.5410157", "text": "public final void rule__AnnotationKey__Group_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:3435:1: ( ( RULE_ID ) )\n // InternalReflex.g:3436:1: ( RULE_ID )\n {\n // InternalReflex.g:3436:1: ( RULE_ID )\n // InternalReflex.g:3437:2: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAnnotationKeyAccess().getIDTerminalRuleCall_0_0()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAnnotationKeyAccess().getIDTerminalRuleCall_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bfe2a23fddd8c0e594f0b4e1df281be8", "score": "0.5401235", "text": "public final void ruleSelection() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:158:2: ( ( ( rule__Selection__Group__0 ) ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:159:1: ( ( rule__Selection__Group__0 ) )\n {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:159:1: ( ( rule__Selection__Group__0 ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:160:1: ( rule__Selection__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getSelectionAccess().getGroup()); \n }\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:161:1: ( rule__Selection__Group__0 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:161:2: rule__Selection__Group__0\n {\n pushFollow(FOLLOW_rule__Selection__Group__0_in_ruleSelection280);\n rule__Selection__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getSelectionAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "eb2daeceae2dd451f0c05f9dd454493e", "score": "0.53924996", "text": "public final void rule__TaskDefinition__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTaskDefinition.g:1025:1: ( ( 'TaskDefinition' ) )\n // InternalTaskDefinition.g:1026:1: ( 'TaskDefinition' )\n {\n // InternalTaskDefinition.g:1026:1: ( 'TaskDefinition' )\n // InternalTaskDefinition.g:1027:2: 'TaskDefinition'\n {\n before(grammarAccess.getTaskDefinitionAccess().getTaskDefinitionKeyword_0()); \n match(input,36,FOLLOW_2); \n after(grammarAccess.getTaskDefinitionAccess().getTaskDefinitionKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "96fced486818b0d49cb3c9ecaa3f0fdb", "score": "0.5391388", "text": "public final void rule__Library__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7538:1: ( ( 'library' ) )\n // InternalMyDsl.g:7539:1: ( 'library' )\n {\n // InternalMyDsl.g:7539:1: ( 'library' )\n // InternalMyDsl.g:7540:2: 'library'\n {\n before(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); \n match(input,85,FOLLOW_2); \n after(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b56ab8f7e3758224e3e4dfd1c7ca8894", "score": "0.53801167", "text": "public final void ruleOperation() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXModel.g:166:2: ( ( ( rule__Operation__Group__0 ) ) )\n // InternalXModel.g:167:2: ( ( rule__Operation__Group__0 ) )\n {\n // InternalXModel.g:167:2: ( ( rule__Operation__Group__0 ) )\n // InternalXModel.g:168:3: ( rule__Operation__Group__0 )\n {\n before(grammarAccess.getOperationAccess().getGroup()); \n // InternalXModel.g:169:3: ( rule__Operation__Group__0 )\n // InternalXModel.g:169:4: rule__Operation__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Operation__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOperationAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cb4d76703e94be33b4a37d22347890ec", "score": "0.5367085", "text": "public final void ruleModel() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:74:2: ( ( ( rule__Model__Group__0 ) ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:75:1: ( ( rule__Model__Group__0 ) )\n {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:75:1: ( ( rule__Model__Group__0 ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:76:1: ( rule__Model__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getModelAccess().getGroup()); \n }\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:77:1: ( rule__Model__Group__0 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:77:2: rule__Model__Group__0\n {\n pushFollow(FOLLOW_rule__Model__Group__0_in_ruleModel100);\n rule__Model__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getModelAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fed922df3bf2f27e2383aa87db4185f8", "score": "0.53662825", "text": "public final void rule__ArtifactMatchRestriction__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8059:1: ( rule__ArtifactMatchRestriction__Group__0__Impl rule__ArtifactMatchRestriction__Group__1 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8060:2: rule__ArtifactMatchRestriction__Group__0__Impl rule__ArtifactMatchRestriction__Group__1\n {\n pushFollow(FOLLOW_rule__ArtifactMatchRestriction__Group__0__Impl_in_rule__ArtifactMatchRestriction__Group__016298);\n rule__ArtifactMatchRestriction__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__ArtifactMatchRestriction__Group__1_in_rule__ArtifactMatchRestriction__Group__016301);\n rule__ArtifactMatchRestriction__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "dbfc883a10073cb57e170c1e62695ea7", "score": "0.5357345", "text": "public final void rule__MovableObject__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:1153:1: ( ( 'MovableObject' ) )\n // InternalDronesDsl.g:1154:1: ( 'MovableObject' )\n {\n // InternalDronesDsl.g:1154:1: ( 'MovableObject' )\n // InternalDronesDsl.g:1155:2: 'MovableObject'\n {\n before(grammarAccess.getMovableObjectAccess().getMovableObjectKeyword_0()); \n match(input,19,FOLLOW_2); \n after(grammarAccess.getMovableObjectAccess().getMovableObjectKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6a15945d6a59414e69e2ea915a1e32bf", "score": "0.5351965", "text": "public final void rule__Letra__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:1018:1: ( ( () ) )\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:1019:1: ( () )\n {\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:1019:1: ( () )\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:1020:1: ()\n {\n before(grammarAccess.getLetraAccess().getLetraAction_0()); \n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:1021:1: ()\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:1023:1: \n {\n }\n\n after(grammarAccess.getLetraAccess().getLetraAction_0()); \n\n }\n\n\n }\n\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "220f4bb867f0da1892620a40adbe7453", "score": "0.534449", "text": "public final void rule__Mission__Group__6__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:478:1: ( ( ( rule__Mission__Group_6__0 )? ) )\n // InternalDronesDsl.g:479:1: ( ( rule__Mission__Group_6__0 )? )\n {\n // InternalDronesDsl.g:479:1: ( ( rule__Mission__Group_6__0 )? )\n // InternalDronesDsl.g:480:2: ( rule__Mission__Group_6__0 )?\n {\n before(grammarAccess.getMissionAccess().getGroup_6()); \n // InternalDronesDsl.g:481:2: ( rule__Mission__Group_6__0 )?\n int alt5=2;\n int LA5_0 = input.LA(1);\n\n if ( (LA5_0==17||(LA5_0>=19 && LA5_0<=20)) ) {\n alt5=1;\n }\n switch (alt5) {\n case 1 :\n // InternalDronesDsl.g:481:3: rule__Mission__Group_6__0\n {\n pushFollow(FOLLOW_2);\n rule__Mission__Group_6__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getMissionAccess().getGroup_6()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "03341b2ed9b45bee8fe65659b64bfad5", "score": "0.5341127", "text": "public final void ruleObl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSymboleoide.g:441:2: ( ( ( rule__Obl__Group__0 ) ) )\n // InternalSymboleoide.g:442:2: ( ( rule__Obl__Group__0 ) )\n {\n // InternalSymboleoide.g:442:2: ( ( rule__Obl__Group__0 ) )\n // InternalSymboleoide.g:443:3: ( rule__Obl__Group__0 )\n {\n before(grammarAccess.getOblAccess().getGroup()); \n // InternalSymboleoide.g:444:3: ( rule__Obl__Group__0 )\n // InternalSymboleoide.g:444:4: rule__Obl__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Obl__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOblAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5d03c79ddd80bdbb9b275a1eaea54653", "score": "0.5331889", "text": "public final void rule__OseeDsl__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1985:1: ( rule__OseeDsl__Group__0__Impl rule__OseeDsl__Group__1 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1986:2: rule__OseeDsl__Group__0__Impl rule__OseeDsl__Group__1\n {\n pushFollow(FOLLOW_rule__OseeDsl__Group__0__Impl_in_rule__OseeDsl__Group__04322);\n rule__OseeDsl__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__OseeDsl__Group__1_in_rule__OseeDsl__Group__04325);\n rule__OseeDsl__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "41a48727cac7b3b49e4ca441560d2a2d", "score": "0.5325155", "text": "public final void ruleRootNode() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:516:2: ( ( ( rule__RootNode__Group__0 ) ) )\n // InternalAst.g:517:2: ( ( rule__RootNode__Group__0 ) )\n {\n // InternalAst.g:517:2: ( ( rule__RootNode__Group__0 ) )\n // InternalAst.g:518:3: ( rule__RootNode__Group__0 )\n {\n before(grammarAccess.getRootNodeAccess().getGroup()); \n // InternalAst.g:519:3: ( rule__RootNode__Group__0 )\n // InternalAst.g:519:4: rule__RootNode__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__RootNode__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRootNodeAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "396532983f95a1af4dbab605926c6e5e", "score": "0.5315945", "text": "public final void ruleMenu() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:191:2: ( ( ( rule__Menu__Group__0 ) ) )\n // InternalMyDsl.g:192:2: ( ( rule__Menu__Group__0 ) )\n {\n // InternalMyDsl.g:192:2: ( ( rule__Menu__Group__0 ) )\n // InternalMyDsl.g:193:3: ( rule__Menu__Group__0 )\n {\n before(grammarAccess.getMenuAccess().getGroup()); \n // InternalMyDsl.g:194:3: ( rule__Menu__Group__0 )\n // InternalMyDsl.g:194:4: rule__Menu__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Menu__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getMenuAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a890083b67718cd42ee4e64336c2b740", "score": "0.5315275", "text": "public final void ruleModel() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:74:2: ( ( ( rule__Model__Group__0 ) ) )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:75:1: ( ( rule__Model__Group__0 ) )\n {\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:75:1: ( ( rule__Model__Group__0 ) )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:76:1: ( rule__Model__Group__0 )\n {\n before(grammarAccess.getModelAccess().getGroup()); \n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:77:1: ( rule__Model__Group__0 )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:77:2: rule__Model__Group__0\n {\n pushFollow(FOLLOW_rule__Model__Group__0_in_ruleModel94);\n rule__Model__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getModelAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ddfcaeac1e246c1b9e2a6fb7e2c14b1f", "score": "0.53048843", "text": "public final void ruleRole() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:777:2: ( ( ( rule__Role__Group__0 ) ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:778:1: ( ( rule__Role__Group__0 ) )\n {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:778:1: ( ( rule__Role__Group__0 ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:779:1: ( rule__Role__Group__0 )\n {\n before(grammarAccess.getRoleAccess().getGroup()); \n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:780:1: ( rule__Role__Group__0 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:780:2: rule__Role__Group__0\n {\n pushFollow(FOLLOW_rule__Role__Group__0_in_ruleRole1598);\n rule__Role__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getRoleAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "09ab461ad3ad86db65c613b570c8a0cd", "score": "0.52953243", "text": "public final void rule__ArtifactTypeRestriction__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8219:1: ( rule__ArtifactTypeRestriction__Group__0__Impl rule__ArtifactTypeRestriction__Group__1 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8220:2: rule__ArtifactTypeRestriction__Group__0__Impl rule__ArtifactTypeRestriction__Group__1\n {\n pushFollow(FOLLOW_rule__ArtifactTypeRestriction__Group__0__Impl_in_rule__ArtifactTypeRestriction__Group__016611);\n rule__ArtifactTypeRestriction__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__ArtifactTypeRestriction__Group__1_in_rule__ArtifactTypeRestriction__Group__016614);\n rule__ArtifactTypeRestriction__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cf5761cf6d500b4db6581d8556327a33", "score": "0.52947956", "text": "public final void rule__TaskDefinitionRepository__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTaskDefinition.g:878:1: ( rule__TaskDefinitionRepository__Group__0__Impl rule__TaskDefinitionRepository__Group__1 )\n // InternalTaskDefinition.g:879:2: rule__TaskDefinitionRepository__Group__0__Impl rule__TaskDefinitionRepository__Group__1\n {\n pushFollow(FOLLOW_4);\n rule__TaskDefinitionRepository__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__TaskDefinitionRepository__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "84a786ac1321ba3a2ae68913fe9504a6", "score": "0.5275374", "text": "public final void rule__ArtifactTypeRestriction__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8260:1: ( ( 'edit' ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8261:1: ( 'edit' )\n {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8261:1: ( 'edit' )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8262:1: 'edit'\n {\n before(grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1()); \n match(input,95,FOLLOW_95_in_rule__ArtifactTypeRestriction__Group__1__Impl16702); \n after(grammarAccess.getArtifactTypeRestrictionAccess().getEditKeyword_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "919f053f3b54d708b70b9dd40e78a49a", "score": "0.5274731", "text": "public final void ruleConstraint() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:494:2: ( ( ( rule__Constraint__Group__0 ) ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:495:1: ( ( rule__Constraint__Group__0 ) )\n {\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:495:1: ( ( rule__Constraint__Group__0 ) )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:496:1: ( rule__Constraint__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getConstraintAccess().getGroup()); \n }\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:497:1: ( rule__Constraint__Group__0 )\n // ../org.iobserve.rac.constraint.ui/src-gen/org/iobserve/rac/constraint/ui/contentassist/antlr/internal/InternalConstraintLang.g:497:2: rule__Constraint__Group__0\n {\n pushFollow(FOLLOW_rule__Constraint__Group__0_in_ruleConstraint1000);\n rule__Constraint__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getConstraintAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c7e814a0ad15086b82a192087f0fb8a0", "score": "0.52705204", "text": "public final void rule__OrExpr__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:3473:1: ( rule__OrExpr__Group_1__0__Impl rule__OrExpr__Group_1__1 )\n // InternalMGPL.g:3474:2: rule__OrExpr__Group_1__0__Impl rule__OrExpr__Group_1__1\n {\n pushFollow(FOLLOW_26);\n rule__OrExpr__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FOLLOW_2);\n rule__OrExpr__Group_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9b0d653380413eb0284647163d47c626", "score": "0.52570736", "text": "public final void ruleOperation() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:166:2: ( ( ( rule__Operation__Group__0 ) ) )\n // InternalMyDsl.g:167:2: ( ( rule__Operation__Group__0 ) )\n {\n // InternalMyDsl.g:167:2: ( ( rule__Operation__Group__0 ) )\n // InternalMyDsl.g:168:3: ( rule__Operation__Group__0 )\n {\n before(grammarAccess.getOperationAccess().getGroup()); \n // InternalMyDsl.g:169:3: ( rule__Operation__Group__0 )\n // InternalMyDsl.g:169:4: rule__Operation__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Operation__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getOperationAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bfea76e379521109c2e692e4b527751a", "score": "0.5246161", "text": "public final void rule__Action__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:2033:1: ( rule__Action__Group__0__Impl rule__Action__Group__1 )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:2034:2: rule__Action__Group__0__Impl rule__Action__Group__1\n {\n pushFollow(FOLLOW_rule__Action__Group__0__Impl_in_rule__Action__Group__04148);\n rule__Action__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Action__Group__1_in_rule__Action__Group__04151);\n rule__Action__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "01b2a5d44bc1d92c1af958d2ad900c31", "score": "0.52427816", "text": "public final void rulePort() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:434:2: ( ( ( rule__Port__Group__0 ) ) )\n // InternalReflex.g:435:2: ( ( rule__Port__Group__0 ) )\n {\n // InternalReflex.g:435:2: ( ( rule__Port__Group__0 ) )\n // InternalReflex.g:436:3: ( rule__Port__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPortAccess().getGroup()); \n }\n // InternalReflex.g:437:3: ( rule__Port__Group__0 )\n // InternalReflex.g:437:4: rule__Port__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Port__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPortAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "39b7b27dc71859d6a12ec3bc1b02d9a9", "score": "0.52386755", "text": "public final void rule__Robot__Group_6__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:612:1: ( rule__Robot__Group_6__1__Impl )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:613:2: rule__Robot__Group_6__1__Impl\n {\n pushFollow(FOLLOW_rule__Robot__Group_6__1__Impl_in_rule__Robot__Group_6__11173);\n rule__Robot__Group_6__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6d482a2c0928ae024bd267fa2029a402", "score": "0.5238345", "text": "public final void rule__Role__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:6955:1: ( rule__Role__Group__0__Impl rule__Role__Group__1 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:6956:2: rule__Role__Group__0__Impl rule__Role__Group__1\n {\n pushFollow(FOLLOW_rule__Role__Group__0__Impl_in_rule__Role__Group__014126);\n rule__Role__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Role__Group__1_in_rule__Role__Group__014129);\n rule__Role__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9644ad0c4b52ae0eef94e433ba27e623", "score": "0.52365535", "text": "public final void rule__Program__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:1163:1: ( ( 'game' ) )\n // InternalMGPL.g:1164:1: ( 'game' )\n {\n // InternalMGPL.g:1164:1: ( 'game' )\n // InternalMGPL.g:1165:2: 'game'\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProgramAccess().getGameKeyword_0()); \n }\n match(input,28,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProgramAccess().getGameKeyword_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f669a6b619441847384f791f08e0c4e3", "score": "0.5234736", "text": "public final void ruleHierarchyRestriction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:889:2: ( ( ( rule__HierarchyRestriction__Group__0 ) ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:890:1: ( ( rule__HierarchyRestriction__Group__0 ) )\n {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:890:1: ( ( rule__HierarchyRestriction__Group__0 ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:891:1: ( rule__HierarchyRestriction__Group__0 )\n {\n before(grammarAccess.getHierarchyRestrictionAccess().getGroup()); \n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:892:1: ( rule__HierarchyRestriction__Group__0 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:892:2: rule__HierarchyRestriction__Group__0\n {\n pushFollow(FOLLOW_rule__HierarchyRestriction__Group__0_in_ruleHierarchyRestriction1838);\n rule__HierarchyRestriction__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getHierarchyRestrictionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "199babc5ac95236152dacb4bf56aba65", "score": "0.52262783", "text": "public final void rule__RelationTypeRestriction__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8668:1: ( rule__RelationTypeRestriction__Group__0__Impl rule__RelationTypeRestriction__Group__1 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8669:2: rule__RelationTypeRestriction__Group__0__Impl rule__RelationTypeRestriction__Group__1\n {\n pushFollow(FOLLOW_rule__RelationTypeRestriction__Group__0__Impl_in_rule__RelationTypeRestriction__Group__017489);\n rule__RelationTypeRestriction__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__RelationTypeRestriction__Group__1_in_rule__RelationTypeRestriction__Group__017492);\n rule__RelationTypeRestriction__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f9b91858c3eca61631c342bf4490a64d", "score": "0.52206", "text": "public final void ruleDecl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:92:2: ( ( ( rule__Decl__Group__0 ) ) )\n // InternalMGPL.g:93:2: ( ( rule__Decl__Group__0 ) )\n {\n // InternalMGPL.g:93:2: ( ( rule__Decl__Group__0 ) )\n // InternalMGPL.g:94:3: ( rule__Decl__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getDeclAccess().getGroup()); \n }\n // InternalMGPL.g:95:3: ( rule__Decl__Group__0 )\n // InternalMGPL.g:95:4: rule__Decl__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Decl__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getDeclAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "72c246e3b850becae05f0692033d96ff", "score": "0.5218835", "text": "public final void ruleComponent() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:466:2: ( ( ( rule__Component__Group__0 ) ) )\n // InternalMyDsl.g:467:2: ( ( rule__Component__Group__0 ) )\n {\n // InternalMyDsl.g:467:2: ( ( rule__Component__Group__0 ) )\n // InternalMyDsl.g:468:3: ( rule__Component__Group__0 )\n {\n before(grammarAccess.getComponentAccess().getGroup()); \n // InternalMyDsl.g:469:3: ( rule__Component__Group__0 )\n // InternalMyDsl.g:469:4: rule__Component__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Component__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getComponentAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0d86649a5d5740eb81665d7612e82cab", "score": "0.5215958", "text": "public final void rule__TgtStep__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTest.g:889:1: ( ( RULE_ID ) )\n // InternalTest.g:890:1: ( RULE_ID )\n {\n // InternalTest.g:890:1: ( RULE_ID )\n // InternalTest.g:891:2: RULE_ID\n {\n before(grammarAccess.getTgtStepAccess().getIDTerminalRuleCall_1()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getTgtStepAccess().getIDTerminalRuleCall_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "37ba494b6364cd913897e819f08852b5", "score": "0.5209734", "text": "public final void ruleRelExpr() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMGPL.g:642:2: ( ( ( rule__RelExpr__Group__0 ) ) )\n // InternalMGPL.g:643:2: ( ( rule__RelExpr__Group__0 ) )\n {\n // InternalMGPL.g:643:2: ( ( rule__RelExpr__Group__0 ) )\n // InternalMGPL.g:644:3: ( rule__RelExpr__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getRelExprAccess().getGroup()); \n }\n // InternalMGPL.g:645:3: ( rule__RelExpr__Group__0 )\n // InternalMGPL.g:645:4: rule__RelExpr__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__RelExpr__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getRelExprAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1dc06cbd845f04743b39945364dbe280", "score": "0.520954", "text": "public final void rule__FQN__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCommunicationObject.g:2441:1: ( ( RULE_ID ) )\n // InternalCommunicationObject.g:2442:1: ( RULE_ID )\n {\n // InternalCommunicationObject.g:2442:1: ( RULE_ID )\n // InternalCommunicationObject.g:2443:2: RULE_ID\n {\n before(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); \n match(input,RULE_ID,FOLLOW_2); \n after(grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "73d4c8179768bd636b470ca0399d1e9d", "score": "0.5209067", "text": "public final void rule__Action__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1151:1: ( rule__Action__Group__0__Impl rule__Action__Group__1 )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:1152:2: rule__Action__Group__0__Impl rule__Action__Group__1\n {\n pushFollow(FOLLOW_rule__Action__Group__0__Impl_in_rule__Action__Group__02227);\n rule__Action__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_rule__Action__Group__1_in_rule__Action__Group__02230);\n rule__Action__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "733b383b2e87c80e2f001fab23b7e530", "score": "0.5206379", "text": "public final void rule__Drone__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:802:1: ( ( 'Drone' ) )\n // InternalDronesDsl.g:803:1: ( 'Drone' )\n {\n // InternalDronesDsl.g:803:1: ( 'Drone' )\n // InternalDronesDsl.g:804:2: 'Drone'\n {\n before(grammarAccess.getDroneAccess().getDroneKeyword_0()); \n match(input,16,FOLLOW_2); \n after(grammarAccess.getDroneAccess().getDroneKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7b60aab9b757f248774697127f948228", "score": "0.520631", "text": "public final void ruleStepShell() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTest.g:166:2: ( ( ( rule__StepShell__Group__0 ) ) )\n // InternalTest.g:167:2: ( ( rule__StepShell__Group__0 ) )\n {\n // InternalTest.g:167:2: ( ( rule__StepShell__Group__0 ) )\n // InternalTest.g:168:3: ( rule__StepShell__Group__0 )\n {\n before(grammarAccess.getStepShellAccess().getGroup()); \n // InternalTest.g:169:3: ( rule__StepShell__Group__0 )\n // InternalTest.g:169:4: rule__StepShell__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__StepShell__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getStepShellAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "eb5bd238c60491a5e61918677030cfe0", "score": "0.52060837", "text": "public final void ruleAfterShell() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTest.g:141:2: ( ( ( rule__AfterShell__Group__0 ) ) )\n // InternalTest.g:142:2: ( ( rule__AfterShell__Group__0 ) )\n {\n // InternalTest.g:142:2: ( ( rule__AfterShell__Group__0 ) )\n // InternalTest.g:143:3: ( rule__AfterShell__Group__0 )\n {\n before(grammarAccess.getAfterShellAccess().getGroup()); \n // InternalTest.g:144:3: ( rule__AfterShell__Group__0 )\n // InternalTest.g:144:4: rule__AfterShell__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__AfterShell__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getAfterShellAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f96f65d9cdbceb99daf4e79820fae1c9", "score": "0.52024", "text": "public final void rule__RelationTypeRestriction__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8709:1: ( ( 'edit' ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8710:1: ( 'edit' )\n {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8710:1: ( 'edit' )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:8711:1: 'edit'\n {\n before(grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1()); \n match(input,95,FOLLOW_95_in_rule__RelationTypeRestriction__Group__1__Impl17580); \n after(grammarAccess.getRelationTypeRestrictionAccess().getEditKeyword_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b293b3f6d6c9805c724fad6244295663", "score": "0.519775", "text": "public final void ruleProgram() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:67:2: ( ( ( rule__Program__Group__0 ) ) )\n // InternalReflex.g:68:2: ( ( rule__Program__Group__0 ) )\n {\n // InternalReflex.g:68:2: ( ( rule__Program__Group__0 ) )\n // InternalReflex.g:69:3: ( rule__Program__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getProgramAccess().getGroup()); \n }\n // InternalReflex.g:70:3: ( rule__Program__Group__0 )\n // InternalReflex.g:70:4: rule__Program__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Program__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getProgramAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "07dde9fba10f1ee726b10fb373b9364b", "score": "0.51972604", "text": "public final void rule__Action__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:2074:1: ( ( ')' ) )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:2075:1: ( ')' )\n {\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:2075:1: ( ')' )\n // ../br.com.levysiqueira.dsl.textualusecase.ui/src-gen/br/com/levysiqueira/dsl/textualusecase/ui/contentassist/antlr/internal/InternalTextualUseCase.g:2076:1: ')'\n {\n before(grammarAccess.getActionAccess().getRightParenthesisKeyword_1()); \n match(input,24,FOLLOW_24_in_rule__Action__Group__1__Impl4239); \n after(grammarAccess.getActionAccess().getRightParenthesisKeyword_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5a38c4fd2117c66a5700c15187c79dcc", "score": "0.51943946", "text": "public final void ruleArtifactMatchRestriction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1029:2: ( ( ( rule__ArtifactMatchRestriction__Group__0 ) ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1030:1: ( ( rule__ArtifactMatchRestriction__Group__0 ) )\n {\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1030:1: ( ( rule__ArtifactMatchRestriction__Group__0 ) )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1031:1: ( rule__ArtifactMatchRestriction__Group__0 )\n {\n before(grammarAccess.getArtifactMatchRestrictionAccess().getGroup()); \n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1032:1: ( rule__ArtifactMatchRestriction__Group__0 )\n // ../org.eclipse.osee.framework.core.dsl.ui/src-gen/org/eclipse/osee/framework/core/dsl/ui/contentassist/antlr/internal/InternalOseeDsl.g:1032:2: rule__ArtifactMatchRestriction__Group__0\n {\n pushFollow(FOLLOW_rule__ArtifactMatchRestriction__Group__0_in_ruleArtifactMatchRestriction2138);\n rule__ArtifactMatchRestriction__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getArtifactMatchRestrictionAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e384fdb94e996c973b7d610f97758d27", "score": "0.51924014", "text": "public final void ruleLetra() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:159:2: ( ( ( rule__Letra__Group__0 ) ) )\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:160:1: ( ( rule__Letra__Group__0 ) )\n {\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:160:1: ( ( rule__Letra__Group__0 ) )\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:161:1: ( rule__Letra__Group__0 )\n {\n before(grammarAccess.getLetraAccess().getGroup()); \n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:162:1: ( rule__Letra__Group__0 )\n // ../org.xtext.estilos.ui/src-gen/org/xtext/ui/contentassist/antlr/internal/InternalEstilos.g:162:2: rule__Letra__Group__0\n {\n pushFollow(FollowSets000.FOLLOW_rule__Letra__Group__0_in_ruleLetra276);\n rule__Letra__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getLetraAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f20f1df9b4d0cbd00b9075c5a77a73dd", "score": "0.5187544", "text": "public final void ruleModel() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalAst.g:66:2: ( ( ( rule__Model__Group__0 ) ) )\n // InternalAst.g:67:2: ( ( rule__Model__Group__0 ) )\n {\n // InternalAst.g:67:2: ( ( rule__Model__Group__0 ) )\n // InternalAst.g:68:3: ( rule__Model__Group__0 )\n {\n before(grammarAccess.getModelAccess().getGroup()); \n // InternalAst.g:69:3: ( rule__Model__Group__0 )\n // InternalAst.g:69:4: rule__Model__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Model__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getModelAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "31b86205fcaac5cd03124bec8b9800e9", "score": "0.5185473", "text": "public final void ruleFolder() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalData.g:141:2: ( ( ( rule__Folder__Group__0 ) ) )\n // InternalData.g:142:2: ( ( rule__Folder__Group__0 ) )\n {\n // InternalData.g:142:2: ( ( rule__Folder__Group__0 ) )\n // InternalData.g:143:3: ( rule__Folder__Group__0 )\n {\n before(grammarAccess.getFolderAccess().getGroup()); \n // InternalData.g:144:3: ( rule__Folder__Group__0 )\n // InternalData.g:144:4: rule__Folder__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__Folder__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getFolderAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "35325c216400af1c48ee2688c407a35c", "score": "0.5184998", "text": "public final void rule__Mission__Group__3__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:397:1: ( ( ( rule__Mission__Group_3__0 )? ) )\n // InternalDronesDsl.g:398:1: ( ( rule__Mission__Group_3__0 )? )\n {\n // InternalDronesDsl.g:398:1: ( ( rule__Mission__Group_3__0 )? )\n // InternalDronesDsl.g:399:2: ( rule__Mission__Group_3__0 )?\n {\n before(grammarAccess.getMissionAccess().getGroup_3()); \n // InternalDronesDsl.g:400:2: ( rule__Mission__Group_3__0 )?\n int alt3=2;\n int LA3_0 = input.LA(1);\n\n if ( (LA3_0==14) ) {\n alt3=1;\n }\n switch (alt3) {\n case 1 :\n // InternalDronesDsl.g:400:3: rule__Mission__Group_3__0\n {\n pushFollow(FOLLOW_2);\n rule__Mission__Group_3__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getMissionAccess().getGroup_3()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "54e7fcd19dfe83833ca853c0f1e99846", "score": "0.51821434", "text": "public final void rule__PackageName__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:2455:1: ( ( RULE_ID ) )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:2456:1: ( RULE_ID )\n {\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:2456:1: ( RULE_ID )\n // ../com.idobjects.dsl.ui/src-gen/com/idobjects/dsl/ui/contentassist/antlr/internal/InternalIdObjectsDsl.g:2457:1: RULE_ID\n {\n before(grammarAccess.getPackageNameAccess().getIDTerminalRuleCall_0()); \n match(input,RULE_ID,FOLLOW_RULE_ID_in_rule__PackageName__Group__0__Impl4946); \n after(grammarAccess.getPackageNameAccess().getIDTerminalRuleCall_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "80aba89a2c04fa0afbe613ae09471847", "score": "0.5181249", "text": "public final void rule__AnnotationKey__Group_0__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalReflex.g:3488:1: ( ( RULE_ID ) )\n // InternalReflex.g:3489:1: ( RULE_ID )\n {\n // InternalReflex.g:3489:1: ( RULE_ID )\n // InternalReflex.g:3490:2: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getAnnotationKeyAccess().getIDTerminalRuleCall_0_2()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getAnnotationKeyAccess().getIDTerminalRuleCall_0_2()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e12122a5a4b612ab270c8cccea0f163f", "score": "0.51759285", "text": "public final void rule__OrForm__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:630:1: ( rule__OrForm__Group__0__Impl rule__OrForm__Group__1 )\n // InternalDSLSAT.g:631:2: rule__OrForm__Group__0__Impl rule__OrForm__Group__1\n {\n pushFollow(FOLLOW_8);\n rule__OrForm__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__OrForm__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c8cc616a3b39ccc317d3890cc600932f", "score": "0.517574", "text": "public final void ruleTaskDefinitionModel() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalTaskDefinition.g:81:2: ( ( ( rule__TaskDefinitionModel__Group__0 ) ) )\n // InternalTaskDefinition.g:82:2: ( ( rule__TaskDefinitionModel__Group__0 ) )\n {\n // InternalTaskDefinition.g:82:2: ( ( rule__TaskDefinitionModel__Group__0 ) )\n // InternalTaskDefinition.g:83:3: ( rule__TaskDefinitionModel__Group__0 )\n {\n before(grammarAccess.getTaskDefinitionModelAccess().getGroup()); \n // InternalTaskDefinition.g:84:3: ( rule__TaskDefinitionModel__Group__0 )\n // InternalTaskDefinition.g:84:4: rule__TaskDefinitionModel__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__TaskDefinitionModel__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getTaskDefinitionModelAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3bc6e40919bfea1bdfcc5afd339daa12", "score": "0.5169672", "text": "public final void rule__Prop__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSymboleoide.g:5060:1: ( ( 'OR' ) )\n // InternalSymboleoide.g:5061:1: ( 'OR' )\n {\n // InternalSymboleoide.g:5061:1: ( 'OR' )\n // InternalSymboleoide.g:5062:2: 'OR'\n {\n before(grammarAccess.getPropAccess().getORKeyword_1_0()); \n match(input,98,FOLLOW_2); \n after(grammarAccess.getPropAccess().getORKeyword_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cd756bf4929439c8d50853994ff3cea0", "score": "0.5168992", "text": "public final void rule__Mission__Group_3__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:520:1: ( rule__Mission__Group_3__0__Impl rule__Mission__Group_3__1 )\n // InternalDronesDsl.g:521:2: rule__Mission__Group_3__0__Impl rule__Mission__Group_3__1\n {\n pushFollow(FOLLOW_4);\n rule__Mission__Group_3__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Mission__Group_3__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1b00137a0a6cdcae81f8549be8e770f6", "score": "0.51688486", "text": "public final void rule__Robot__Group__8__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:544:1: ( ( '}' ) )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:545:1: ( '}' )\n {\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:545:1: ( '}' )\n // ../esir.lsi.imtql.ui/src-gen/robot/ui/contentassist/antlr/internal/InternalDsl.g:546:1: '}'\n {\n before(grammarAccess.getRobotAccess().getRightCurlyBracketKeyword_8()); \n match(input,14,FOLLOW_14_in_rule__Robot__Group__8__Impl1062); \n after(grammarAccess.getRobotAccess().getRightCurlyBracketKeyword_8()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5c4a41f5e169bb54b540a8c94246057a", "score": "0.51688343", "text": "public final EObject entryRuleGroup() throws RecognitionException {\n EObject current = null;\n\n EObject iv_ruleGroup = null;\n\n\n try {\n // ../assignment6_configurator_DSL/src-gen/org/xtext/example/assignment6/parser/antlr/internal/InternalConfiguratorDSL.g:306:2: (iv_ruleGroup= ruleGroup EOF )\n // ../assignment6_configurator_DSL/src-gen/org/xtext/example/assignment6/parser/antlr/internal/InternalConfiguratorDSL.g:307:2: iv_ruleGroup= ruleGroup EOF\n {\n newCompositeNode(grammarAccess.getGroupRule()); \n pushFollow(FollowSets000.FOLLOW_ruleGroup_in_entryRuleGroup646);\n iv_ruleGroup=ruleGroup();\n\n state._fsp--;\n\n current =iv_ruleGroup; \n match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleGroup656); \n\n }\n\n }\n \n catch (RecognitionException re) { \n recover(input,re); \n appendSkippedTokens();\n } \n finally {\n }\n return current;\n }", "title": "" }, { "docid": "e23f93b35c292ef075dc865bed6a2673", "score": "0.5157893", "text": "public final void rule__Library__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:7526:1: ( rule__Library__Group__0__Impl rule__Library__Group__1 )\n // InternalMyDsl.g:7527:2: rule__Library__Group__0__Impl rule__Library__Group__1\n {\n pushFollow(FOLLOW_13);\n rule__Library__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Library__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "33be40caf743c36b5b1c3a69c59415bc", "score": "0.5150388", "text": "public final void rule__Drone__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDronesDsl.g:855:1: ( ( ( rule__Drone__Group_2__0 )? ) )\n // InternalDronesDsl.g:856:1: ( ( rule__Drone__Group_2__0 )? )\n {\n // InternalDronesDsl.g:856:1: ( ( rule__Drone__Group_2__0 )? )\n // InternalDronesDsl.g:857:2: ( rule__Drone__Group_2__0 )?\n {\n before(grammarAccess.getDroneAccess().getGroup_2()); \n // InternalDronesDsl.g:858:2: ( rule__Drone__Group_2__0 )?\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( (LA9_0==12) ) {\n alt9=1;\n }\n switch (alt9) {\n case 1 :\n // InternalDronesDsl.g:858:3: rule__Drone__Group_2__0\n {\n pushFollow(FOLLOW_2);\n rule__Drone__Group_2__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getDroneAccess().getGroup_2()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
45029099e7b6eb4cb0bca3d55c5ed62d
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
[ { "docid": "f422ba61da50b818bb7e803d1a0b3a25", "score": "0.0", "text": "public static SigningCertificate get(String name, Output<String> id, @Nullable SigningCertificateState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {\n return new SigningCertificate(name, id, state, options);\n }", "title": "" } ]
[ { "docid": "eec32f2f901a1dab6f7c3dcf38d0bb82", "score": "0.5236056", "text": "@GetMapping(\"/hosts/{id}\")\n @Timed\n public ResponseEntity<HostDTO> getHost(@PathVariable Long id) {\n log.debug(\"REST request to get Host : {}\", id);\n Optional<HostDTO> hostDTO = hostService.findOne(id);\n return ResponseUtil.wrapOrNotFound(hostDTO);\n }", "title": "" }, { "docid": "adc0a1307e0ae64b42b47ada995c4db8", "score": "0.5142591", "text": "public static ComputeClusterVmHostRule get(String name, Output<String> id, @Nullable ComputeClusterVmHostRuleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {\n return new ComputeClusterVmHostRule(name, id, state, options);\n }", "title": "" }, { "docid": "d6a04fe4f287c03184bbebfb2d729832", "score": "0.50858253", "text": "<T> Resource<T> get(K id);", "title": "" }, { "docid": "b16ec5be5dc06bd3626d113f06bef86e", "score": "0.5083577", "text": "@Valid\n @JsonProperty(\"state\")\n public StateResourceIdentifier getState();", "title": "" }, { "docid": "ae48bddd374bb2df295e6d4c30d921fc", "score": "0.5069685", "text": "@Override\n\tpublic Resource getById(String id) {\n\t\treturn resourceRepository.findBy_Id(id).orElseGet(()->new Resource());\n\t}", "title": "" }, { "docid": "4bde27e52f268fc6414d4a0f6e89eb8b", "score": "0.5016304", "text": "public HostStatus getStatusByHostId(int hostId) throws BusinessServiceException;", "title": "" }, { "docid": "46ef2747922f211826b87adff9d60ac5", "score": "0.49993902", "text": "@Override\n @Transactional(readOnly = true)\n public StateDTO findOne(String id) {\n log.debug(\"Request to get State : {}\", id);\n State state = stateRepository.findOne(id);\n return toDto(state);\n }", "title": "" }, { "docid": "6e81d74266b8c286f1b72b2735b2e189", "score": "0.48230934", "text": "public static EntityAlias get(String name, Output<String> id, @Nullable EntityAliasState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {\n return new EntityAlias(name, id, state, options);\n }", "title": "" }, { "docid": "2039d00deeb9e6d8a74145582bf0658b", "score": "0.4781555", "text": "String getStateNameByPersonId(Integer personId);", "title": "" }, { "docid": "d01b579d44a75770037d9f3364e14b8f", "score": "0.47755593", "text": "@Override\n public Object lookup(final Name name) throws NamingException {\n // Just use the string version for now.\n return lookup(name.toString());\n }", "title": "" }, { "docid": "1ea8678318a1189ed9bcf1e2d086c728", "score": "0.47549808", "text": "public State getStateById(int id) {\n State state = null;\n Session session = null;\n try {\n session = SessionFactoryProvider.getSessionFactory().openSession();\n state = (State) session.get(State.class, id);\n } catch (HibernateException he) {\n log.error(\"Error getting state by id\", he);\n } catch (Exception e) {\n log.error(\"General exception for getStateById() is caught\", e);\n } finally {\n if (session != null) {\n session.close();\n }\n }\n return state;\n }", "title": "" }, { "docid": "0a4d324c5fd3a9c72c81b137ff872c8e", "score": "0.47461224", "text": "private TrafficAlertSetting findIfPresent(Long id) {\n checkExistence(id);\n // we have checked the resource existence, so it's safe to get thr resource from optional\n return repository.findById(id).orElseThrow();\n }", "title": "" }, { "docid": "f8b06068b1febb6fc4ffc69c56ae5f20", "score": "0.47196066", "text": "StateData get(String key);", "title": "" }, { "docid": "5ac4c986da6dcc52d106a6b2ab0dca82", "score": "0.4664436", "text": "Router getRouter(@Nonnull UUID id)\n throws StateAccessException, SerializationException;", "title": "" }, { "docid": "159102d97433f9fa6f2d55420556ec30", "score": "0.46634433", "text": "public State getState(String label) throws StatePersistenceException;", "title": "" }, { "docid": "8418482a5acc8680acef7f243a9cdcb3", "score": "0.4657812", "text": "public Object lookup(Name name) throws NamingException {\n\t\tthrow new OperationNotSupportedException();\n\t}", "title": "" }, { "docid": "ddf0ebc17e09e7b54c12fa3c98406681", "score": "0.46443227", "text": "@GetMapping(\"employees/{id}\")\n public Employee getEmployeeByID(@PathVariable(\"id\") Long id) throws EntityNotFoundException {\n Optional<Employee> employee = repository.findById(id);\n if (employee.isPresent()) {\n Employee toReturn = employee.get();\n // if there exists an active employee with the given ID\n if (toReturn.isActive()) {\n return toReturn;\n }\n }\n throw new EntityNotFoundException(\"No Employee exists with this ID: \" + id,\n \"Please use a valid employee ID.\");\n }", "title": "" }, { "docid": "e3655ab4d21e3c88e63097ff41857914", "score": "0.46164438", "text": "String getHostProperty(String name);", "title": "" }, { "docid": "be0dfeb590e01093241ff687c05cfc62", "score": "0.45978883", "text": "public State getState( int nIdResource, String strResourceType, int nIdWorkflow, Integer nIdExternalParentId )\n {\n if ( isAvailable( ) )\n {\n State state = null;\n TransactionManager.beginTransaction( null );\n\n try\n {\n state = _service.getState( nIdResource, strResourceType, nIdWorkflow, nIdExternalParentId );\n TransactionManager.commitTransaction( null );\n }\n catch( Exception e )\n {\n TransactionManager.rollBack( null );\n throw new AppException( e.getMessage( ), e );\n }\n\n return state;\n }\n\n return null;\n }", "title": "" }, { "docid": "08a51b85719ed802143cf8812aadbd12", "score": "0.4593967", "text": "public CharacterState lookupCharacterStateById(String id) {\r\n\t\tif (id == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n for (CharacterState cs : getCharacterStates()){\r\n if (id.equals(cs.getId())){\r\n return cs;\r\n }\r\n }\r\n return null;\t\t\r\n\t}", "title": "" }, { "docid": "1a311612dc5dd6f928516ace2d1c73df", "score": "0.4591078", "text": "public Host getHostByHostName(String hostName) throws BusinessServiceException;", "title": "" }, { "docid": "62f9343feda1c22e8d189641fc609d02", "score": "0.45823687", "text": "public Object lookup(Name name) throws NamingException {\r\n\t\treturn lookup(normalized(name));\r\n\t}", "title": "" }, { "docid": "74eeb146f8d2e1ef2fd4515ea1b31e1f", "score": "0.45818442", "text": "public InstanceConfiguration getInstance(String id) throws UnknownInstanceException;", "title": "" }, { "docid": "68f05bcc2fcf3f01730359f051d8ad01", "score": "0.45701614", "text": "public Horoscope get(Long id);", "title": "" }, { "docid": "acec5923b75b34d42a8917eb84193e7d", "score": "0.4544497", "text": "public static OsResource getInstance(String id) {\r\n // The os may use some kind of persistence mechanism\r\n // to store and restore instances of OsResource class.\r\n return new OsResource(id);\r\n }", "title": "" }, { "docid": "dea9f76909c5812e243e8371dde082c6", "score": "0.4538723", "text": "private StateEntity getStateById(String uuId){\n return stateDAO.getStateById(uuId);\n }", "title": "" }, { "docid": "2d194f907b6fbf3a61009a53a0adc1bf", "score": "0.45353377", "text": "public static String findStateById(Integer stateId) {\r\n\t\tConnection conn = Connect.Connect();\r\n\t\t\r\n\t\tString selectState = \"SELECT stateName FROM state WHERE stateId = ?\";\r\n\t\tPreparedStatement ps = null;\r\n\t\tResultSet rs = null;\r\n\t\tString state = null;\r\n\t\t\r\n\t\ttry {\r\n\t\t\tps = conn.prepareStatement(selectState);\r\n\t\t\tps.setInt(1, stateId);\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\tif(rs.next()) {\r\n\t\t\t\tstate = rs.getString(\"stateName\");\r\n\t\t\t}\r\n\t\t} catch (SQLException sqle) {\r\n\t\t\tLog.logger.error(\"SQLException: \", sqle);\r\n\t\t\tthrow new RuntimeException();\r\n\t\t}\r\n\t\t\r\n\t\tConnect.Disconnect(conn, ps, rs);\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "6749f648cc9c5c01d10a8bfc071943f4", "score": "0.4525051", "text": "public int getStateId();", "title": "" }, { "docid": "2da7920fc04a8e640c243ca7cd48b128", "score": "0.45003414", "text": "public static Switch get(String name, Output<String> id, @Nullable SwitchState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {\n return new Switch(name, id, state, options);\n }", "title": "" }, { "docid": "4570fb10c3b227d505678ddb56e8a105", "score": "0.4492797", "text": "public RuntimeResourceDefinition getResourceDefinitionById(final String theId) {\n\t\tvalidateInitialized();\n\t\treturn myIdToResourceDefinition.get(theId);\n\t}", "title": "" }, { "docid": "a6b92a12a96cbb27459f01981a5f27a4", "score": "0.44853243", "text": "WeatherServiceEntity getServiceByName(String serviceName);", "title": "" }, { "docid": "ce594ec6ffb7afeb3307f323f3c50e05", "score": "0.44748124", "text": "public String lookup(Name id) {\n return dictionary.get(id.toString());\n }", "title": "" }, { "docid": "dd69cc70615ee2120aa41575279eb943", "score": "0.4471764", "text": "Local getById(Long id) throws NotFoundException;", "title": "" }, { "docid": "55db0527d9e6a989d001a77757e95073", "score": "0.44656068", "text": "com.google.cloud.redis.v1.Instance.State getState();", "title": "" }, { "docid": "eddeaa09d74f16aeeb56bb8eed91fde0", "score": "0.4464207", "text": "public EthnicEntry get(String id);", "title": "" }, { "docid": "8bd901f92fddad29dbf20a0e2db96c49", "score": "0.44603002", "text": "EmployeeStatus getById(Integer employeestatusId) throws EntityNotFoundException;", "title": "" }, { "docid": "6adc795adccfabaca313841bc6f6f937", "score": "0.4449736", "text": "public HostStatus getStatusByHostName(String hostName) throws BusinessServiceException;", "title": "" }, { "docid": "9a973680fa0b43fc6f46d781e8fed08a", "score": "0.44461155", "text": "@Override\n public Map getEC2InstanceState(String name) {\n\n return getInstanceStatus(name).getStatus();\n }", "title": "" }, { "docid": "22b42d4a48697fa5865fc1986232698a", "score": "0.44419396", "text": "public static Status getById(int id) {\n for (Status e : Status.values()) {\n if (e.id == id) {\n return e;\n }\n }\n throw new IllegalArgumentException(\"No constant with id \" + id + \" found\");\n }", "title": "" }, { "docid": "c8995fb0441a915d5beff45a0dba1e1a", "score": "0.4441199", "text": "@Override\n public String getInstanceStatusById(String instanceId) {\n String result = null;\n\n for (Reservation res : ec2Delegator.getEc2().describeInstances().getReservations()) {\n for (Instance i : res.getInstances()) {\n if (i.getInstanceId().equalsIgnoreCase(instanceId)) {\n\n result = i.getState().getName();\n }\n }\n }\n\n if (result == null) {\n throw new ResourceNotFoundException(\"Unable to find EC2 instances for id: \" + instanceId);\n }\n\n return result;\n }", "title": "" }, { "docid": "48f2f0607eda74db34ea2247ebef26bd", "score": "0.44360644", "text": "public Object lookup(ResourceInfo resourceInfo) throws NamingException {\n\n Hashtable env = null;\n String jndiName = resourceInfo.getName();\n String suffix = ConnectorsUtil.getValidSuffix(jndiName);\n\n //To pass suffix that will be used by connector runtime during lookup\n if(suffix != null){\n env = new Hashtable();\n env.put(ConnectorConstants.JNDI_SUFFIX_PROPERTY, suffix);\n jndiName = jndiName.substring(0, jndiName.lastIndexOf(suffix));\n }\n ResourceInfo actualResourceInfo = new ResourceInfo(jndiName, resourceInfo.getApplicationName(),\n resourceInfo.getModuleName());\n return namingService.lookup(actualResourceInfo, actualResourceInfo.getName(), env);\n }", "title": "" }, { "docid": "57ebef1a59882256fcc50d849e27a16b", "score": "0.44333565", "text": "@Override\r\n\tpublic House getById(Integer id) {\n\t\treturn houseMapper.getById(id);\r\n\t}", "title": "" }, { "docid": "baa52975d981582c7d22a06903979658", "score": "0.44308496", "text": "public static PersistenceProfileSrcAddr get(String name, Output<String> id, @Nullable PersistenceProfileSrcAddrState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {\n return new PersistenceProfileSrcAddr(name, id, state, options);\n }", "title": "" }, { "docid": "06266d0e36712e4ba9399a39514c77ad", "score": "0.44222906", "text": "@Override\n public E get(String id) {\n return stores.get(findById(id));\n }", "title": "" }, { "docid": "101a7a345b6cbdcc17dc9fc2eca8d94b", "score": "0.4409619", "text": "public Brand getOrCreateByName(String name);", "title": "" }, { "docid": "566bf9a32a9afab45a1a44001de40659", "score": "0.44062474", "text": "Estate createEstate(String name)\n {\n Estate iEstate = iIncomingFactory.createEstate(name);\n\n return initEstate(iEstate);\n }", "title": "" }, { "docid": "bc64654be870a90cf8ec086e185cc7b4", "score": "0.4396042", "text": "public static Host host(String id, String did) {\n return host(id, did, 1);\n }", "title": "" }, { "docid": "f9444347600c8987e1cb87721e359cc4", "score": "0.4391098", "text": "@Override\n\tpublic Status getById(int id) {\n\t\treturn (Status) super.getById(Status.class, id);\n\t}", "title": "" }, { "docid": "3e1dbdb9f11ed5bdf7f0c0f72a3a9830", "score": "0.43710577", "text": "public Object lookup(String name) throws NamingException {\r\n\t\tname = normalized(name);\r\n\t\tObject target = map.get(name);\r\n\t\tif (target == null) {\r\n\t\t\tHashtable<String, Object> submap = new Hashtable<String, Object>();\r\n\t\t\tfor (Iterator<String> iter = map.keySet().iterator(); iter.hasNext();) {\r\n\t\t\t\tString key = (String) iter.next();\r\n\t\t\t\tif (key.startsWith(name + \"/\")) {\r\n\t\t\t\t\tsubmap.put(key.substring(name.length() + 1), map.get(key));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (submap.size() > 0) {\r\n\t\t\t\tTestingContext ctx = new TestingContext();\r\n\t\t\t\tctx.map = submap;\r\n\t\t\t\tctx.parentContext = this;\r\n\t\t\t\tctx.prefix = name;\r\n\t\t\t\ttarget = ctx;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn target;\r\n\t}", "title": "" }, { "docid": "497aa47bed737e83541c30aa7b7b16d2", "score": "0.43670014", "text": "@Override\n public EC2Status getInstanceStatus(String name) {\n\n EC2Status ec2Status = null;\n Map instanceState = new HashMap();\n\n List tagNames = new ArrayList();\n tagNames.add(name);\n\n Filter filter1 = new Filter(\"tag:Name\", tagNames);\n\n DescribeInstancesRequest request = new DescribeInstancesRequest();\n DescribeInstancesResult result = ec2Delegator.getEc2().describeInstances(request.withFilters(filter1));\n\n List<Reservation> reservations = result.getReservations();\n for (Reservation reservation : reservations) {\n List<Instance> instances = reservation.getInstances();\n\n for (Instance instance : instances) {\n instanceState.put(instance.getInstanceId(), instance.getState().getName());\n }\n }\n\n if (instanceState.isEmpty()) {\n throw new ResourceNotFoundException(\"Unable to find EC2 instances for tag: \" + name);\n }\n\n ec2Status = new EC2Status();\n ec2Status.setStatus(instanceState);\n ec2Status.setTagName(name);\n\n return ec2Status;\n }", "title": "" }, { "docid": "89b1a98573124121b87236525f650cbe", "score": "0.43612698", "text": "GameInterface loadState(String name) throws LoadStateException;", "title": "" }, { "docid": "068236c55c7bcc6c1e82cbf7a67627a2", "score": "0.43608582", "text": "State getState() throws RemoteException;", "title": "" }, { "docid": "f74abbfd9a09fe45d8c1bd0e75b72131", "score": "0.4348346", "text": "private Map getExtendedGStateNamed(String name)\n {\n return (Map) _page.findResource(\"ExtGState\", name);\n }", "title": "" }, { "docid": "dd0f72c7f0ebd44a51e5b01885874dd0", "score": "0.4344689", "text": "DNSState getState()\n {\n return state;\n }", "title": "" }, { "docid": "3cec8524e4a6723e144d6e624a09b3da", "score": "0.43415982", "text": "private static State getID(String s) {\n\t\tState stateThatGetsReturned;\n\t\tswitch(s) {\n\t\t\tcase \"iconst\":\n\t\t\t\tstateThatGetsReturned = State.iconst;\n\t\t\t\tbreak;\n\t\t\tcase \"iload\":\n\t\t\t\tstateThatGetsReturned = State.iload;\n\t\t\t\tbreak;\n\t\t\tcase \"istore\":\n\t\t\t\tstateThatGetsReturned = State.istore;\n\t\t\t\tbreak;\n\t\t\tcase \"fconst\":\n\t\t\t\tstateThatGetsReturned = State.fconst;\n\t\t\t\tbreak;\n\t\t\tcase \"fload\":\n\t\t\t\tstateThatGetsReturned = State.fload;\n\t\t\t\tbreak;\n\t\t\tcase \"fstore\":\n\t\t\t\tstateThatGetsReturned = State.fstore;\n\t\t\t\tbreak;\n\t\t\tcase \"iadd\":\n\t\t\t\tstateThatGetsReturned = State.iadd;\n\t\t\t\tbreak; \n\t\t\tcase \"isub\": \n\t\t\t\tstateThatGetsReturned = State.isub;\n\t\t\t\tbreak;\n\t\t\tcase \"imul\":\n\t\t\t\tstateThatGetsReturned = State.imul;\n\t\t\t\tbreak;\n\t\t\tcase \"idiv\":\n\t\t\t\tstateThatGetsReturned = State.idiv;\n\t\t\t\tbreak;\n\t\t\tcase \"fadd\":\n\t\t\t\tstateThatGetsReturned = State.fadd;\n\t\t\t\tbreak;\n\t\t\tcase \"fsub\":\n\t\t\t\tstateThatGetsReturned = State.fsub;\n\t\t\t\tbreak;\n\t\t\tcase \"fmul\":\n\t\t\t\tstateThatGetsReturned = State.fmul;\n\t\t\t\tbreak;\n\t\t\tcase \"fdiv\":\n\t\t\t\tstateThatGetsReturned = State.fdiv;\n\t\t\t\tbreak;\n\t\t\tcase \"intToFloat\":\n\t\t\t\tstateThatGetsReturned = State.intToFloat;\n\t\t\t\tbreak;\n\t\t\tcase \"icmpeq\":\n\t\t\t\tstateThatGetsReturned = State.icmpeq;\n\t\t\t\tbreak;\n\t\t\tcase \"icmpne\":\n\t\t\t\tstateThatGetsReturned = State.icmpne;\n\t\t\t\tbreak;\n\t\t\tcase \"icmplt\":\n\t\t\t\tstateThatGetsReturned = State.icmplt;\n\t\t\t\tbreak;\n\t\t\tcase \"icmple\":\n\t\t\t\tstateThatGetsReturned = State.icmple;\n\t\t\t\tbreak;\n\t\t\tcase \"icmpgt\":\n\t\t\t\tstateThatGetsReturned = State.icmpgt;\n\t\t\t\tbreak;\n\t\t\tcase \"icmpge\":\n\t\t\t\tstateThatGetsReturned = State.icmpge;\n\t\t\t\tbreak;\n\t\t\tcase \"fcmpeq\":\n\t\t\t\tstateThatGetsReturned = State.fcmpeq;\n\t\t\t\tbreak;\n\t\t\tcase \"fcmpne\":\n\t\t\t\tstateThatGetsReturned = State.fcmpne;\n\t\t\t\tbreak;\n\t\t\tcase \"fcmplt\":\n\t\t\t\tstateThatGetsReturned = State.fcmplt;\n\t\t\t\tbreak;\n\t\t\tcase \"fcmple\": \n\t\t\t\tstateThatGetsReturned = State.fcmple;\n\t\t\t\tbreak;\n\t\t case \"fcmpgt\":\t\n\t\t \tstateThatGetsReturned = State.fcmpgt;\n\t\t\t\tbreak;\n\t\t case \"fcmpge\":\n\t\t\t stateThatGetsReturned = State.fcmpge;\n\t\t\t\tbreak;\n\t\t\tcase \"goto\":\n\t\t\t\tstateThatGetsReturned = State.Goto;\n\t\t\t\tbreak;\n\t\t\tcase \"invoke\":\n\t\t\t\tstateThatGetsReturned = State.invoke;\n\t\t\t\tbreak;\n\t\t\tcase \"return\":\n\t\t\t\tstateThatGetsReturned = State.Return;\n\t\t\t\tbreak;\n\t\t\tcase \"ireturn\":\n\t\t\t\tstateThatGetsReturned = State.ireturn;\n\t\t\t\tbreak;\n\t\t\tcase \"freturn\":\n\t\t\t\tstateThatGetsReturned = State.freturn;\n\t\t\t\tbreak;\n\t\t\tcase \"print\":\n\t\t\t\tstateThatGetsReturned = State.print;\n\t\t\t\tbreak;\t\n\n\t\t\tdefault:\n\t\t\t\tstateThatGetsReturned = State.UNDEF;\n\t\t}\n\t\t\n\t\treturn stateThatGetsReturned;\n\t}", "title": "" }, { "docid": "289dcbfaf521e94718dc072cc167c89a", "score": "0.4328007", "text": "public synchronized static Machine get(final int id) {\n \t\tif (!Machine.byId.containsKey(id)) {\n \t\t\tMachine.byId.put(id, Database.getEntityManager().find(Machine.class, id));\n \t\t}\n \t\tMachine m = Machine.byId.get(id);\n \t\tif (!Machine.byName.containsKey(m.getName())) {\n \t\t\tMachine.byName.put(m.getName(), m);\n \t\t}\n \t\treturn m;\n \t}", "title": "" }, { "docid": "da698fe9d3bc80649a5250b5a7369c2b", "score": "0.4325779", "text": "public com.commercetools.api.models.state.StateResourceIdentifier getState() {\n return this.state;\n }", "title": "" }, { "docid": "944650d70a54ed944b929ff1bf3bdf47", "score": "0.43232623", "text": "WeatherServiceEntity getServiceById(int serviceId);", "title": "" }, { "docid": "0ffd4b965b7738482f00ace373da8c98", "score": "0.43086138", "text": "public HotlinkingStategy getHotlinkingStategy(Object serverExchange,\n URI resourceURI,\n StaticResource<?> resource);", "title": "" }, { "docid": "56afaffa47722a1b159fcc0d4b19978d", "score": "0.42984992", "text": "public CPSLookupRequest(String id) throws Exception {\n\t\tsuper(\"lookup\");\n\t\tthis.setID(id);\n\t}", "title": "" }, { "docid": "7fc1f0f83101701daa44215a670dd9a9", "score": "0.42878452", "text": "OrderState selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "5128f8aa09ec4343317d7ab650a30b0d", "score": "0.42838582", "text": "public interface State {\n int getId();\n}", "title": "" }, { "docid": "d4a435d0754d2f9a6ec844e1b507c3d8", "score": "0.42792347", "text": "public Hall getHallById(int h){\n\t\t\tHall hall = new Hall();\n\t\t\ttry {\n\t\t\t\tPreparedStatement preparedStatement = connection\n\t\t\t\t\t\t.prepareStatement(\"select * from halls where id = ?\");\n\t\t\t\t\t\t// Parameters start with 1\n\t\t\t\tpreparedStatement.setInt(1, h);\n\t\t\t\tResultSet rs = preparedStatement.executeQuery();\n\t\t\t\tif (rs.next()) {\n\t\t\t\thall.setHallId(rs.getInt(\"id\"));\n\t\t\t\thall.setCapacity(rs.getInt(\"capacity\"));\n\t\t\t\thall.setLocaton(rs.getString(\"location\"));\n\t\t\t\thall.setName(rs.getString(\"name\"));\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace(); \n\t\t\t}\t\t\n\t\t\n\t\t\treturn hall;\n\t\t}", "title": "" }, { "docid": "5ec8684f4348aa3f530bd2ff1689db83", "score": "0.4272561", "text": "Optional<ResourceDictionary> findByName(String name);", "title": "" }, { "docid": "980be51a91efb15dc990f3068a83265f", "score": "0.42700332", "text": "@GET\n @Path(\"/address/{id}\")\n @Produces(MediaType.APPLICATION_JSON)\n public Address get(@PathParam(value=\"id\") long id){\n return this.em.find(Address.class, id);\n }", "title": "" }, { "docid": "5e43b0457125ac9bc95b5a686c576b97", "score": "0.4265649", "text": "protected static State getState() {\n State entity = new State();\n\n entity.setAbbreviation(\"ab\");\n entity.setName(\"name1\");\n\n return entity;\n }", "title": "" }, { "docid": "19a18bebeeee4f0e1818cc6a445b0e4d", "score": "0.42530426", "text": "@Override\n public Object lookup(final String name) throws NamingException {\n\n // Delegate\n if (wrappedContext != null && wrapAllOperations) {\n return wrappedContext.lookup(name);\n }\n\n Name n = new CompositeName(name);\n if (n.size() < 1) {\n // Empty name means this context\n return this;\n }\n\n if (n.size() > 1) {\n // sub context in the env tree\n String suffix = n.getSuffix(1).toString();\n // should throw exception if sub context not found!\n Context subctx = lookupCtx(n.get(0));\n return subctx.lookup(suffix);\n }\n // Delegate or sub context ?\n if (wrappedContext != null) {\n Object ret = bindings.get(name);\n if (ret == null) {\n return wrappedContext.lookup(name);\n }\n }\n\n\n // leaf in the env tree\n Object ret = this.bindings.get(name);\n if (ret == null) {\n throw new NameNotFoundException(name);\n }\n if (ret instanceof LinkRef) {\n // Handle special case of the LinkRef since I think\n // it's not handled by std NamingManager.getObjectInstance().\n // The name hidden in linkref is in the initial context.\n\n InitialContext ictx = new InitialContext();\n RefAddr ra = ((Reference) ret).get(0);\n try {\n ret = ictx.lookup((String) ra.getContent());\n } catch (Exception e) {\n NamingException ne = new NamingException(e.getMessage());\n ne.setRootCause(e);\n throw ne;\n }\n } else if (ret instanceof Reference || ret instanceof Referenceable) {\n // Use NamingManager to build an object\n try {\n ret = javax.naming.spi.NamingManager.getObjectInstance(ret, n, this, this.environment);\n } catch (NamingException e) {\n throw e;\n } catch (Exception e) {\n NamingException ne = new NamingException(e.getMessage());\n ne.setRootCause(e);\n throw ne;\n }\n if (ret == null) {\n throw new NamingException(\"Can not build an object with the reference '\" + name + \"'\");\n }\n }\n return ret;\n\n }", "title": "" }, { "docid": "49c5b5466836121a1aef429ce40ffee5", "score": "0.42509857", "text": "public ObjectRealEstate consultRealEstate(String name){\n\t\tRealEstate realEstate= RealEstate.findByName(name);\n\t\treturn toObject(realEstate);\n\t}", "title": "" }, { "docid": "acba51292c870155b78492c461e62740", "score": "0.42403522", "text": "@Override\n\t@Cacheable(value=\"greetings\",key=\"#id\")//value tells the cache in which we have store the result\n\tpublic Greeting findOne(Long id) {\n\t\tcounterService.increment(\"method.invoked.greetingServiceBean.findOne\");\n\t\tGreeting greeting = greetingRepository.findOne(id);\n\t\treturn greeting;\n\t}", "title": "" }, { "docid": "c46c9503fe8b9b0f0d86d2cc75c2a9c1", "score": "0.42324084", "text": "HealthInfo selectByPrimaryKey(HealthInfoKey key);", "title": "" }, { "docid": "dbc5c1bdd9ef061643b372681d327994", "score": "0.42260507", "text": "Address getAddressById(int id);", "title": "" }, { "docid": "d353c5b65873ee101d3a545a05ee01f9", "score": "0.42116582", "text": "public Object select(final String id) throws ObjectNotFoundException {\n\n // If the given id doesn't exist we throw a ObjectNotFoundException\n if (!_hashmap.containsKey(id)) {\n throw new ObjectNotFoundException();\n }\n\n return _hashmap.get(id);\n }", "title": "" }, { "docid": "14e0bfd89b8ca4a171b92125cc073e33", "score": "0.42080328", "text": "public static Host host(String id, String did, long port) {\n return new DefaultHost(PID, hid(id), valueOf(1234), vlanId((short) 2),\n new HostLocation(did(did), portNumber(port), 321),\n new HashSet<>());\n }", "title": "" }, { "docid": "3d483d7e779fb5a98a706343dd0e4c4e", "score": "0.42052853", "text": "@GetMapping(\"/availabilities/{id}\")\n public ResponseEntity<Availability> getAvailability(@PathVariable Long id) {\n log.debug(\"REST request to get Availability : {}\", id);\n Optional<Availability> availability = availabilityRepository.findById(id);\n return ResponseUtil.wrapOrNotFound(availability);\n }", "title": "" }, { "docid": "6b8342773ff50d6f3fba142b963864d4", "score": "0.42023763", "text": "public IPartState getPartState(int partId);", "title": "" }, { "docid": "ac266512fb57a65fb5884511fc616d65", "score": "0.41875106", "text": "Country getCountryDetails(Long countryId) throws NotFoundException;", "title": "" }, { "docid": "258752c89f7b397cb38297e5714f943b", "score": "0.41829163", "text": "Base get(int id);", "title": "" }, { "docid": "8878e1eeaa436645614406e7eb5dbf8f", "score": "0.418078", "text": "@Transactional(readOnly = true)\n public SysResource findOne(Long id) {\n log.debug(\"Request to get SysResource : {}\", id);\n SysResource sysResource = sysResourceRepository.getOne(id);\n return sysResource;\n }", "title": "" }, { "docid": "3f4f627b472c60dd443089e777ada06d", "score": "0.41753122", "text": "public static Object lookup(final String name)\n throws NamingException {\n\t\tfinal Context c = new InitialContext();\n\t\treturn c.lookup(name);\n\t}", "title": "" }, { "docid": "69c7b26a8a8bbfd5884f17ab7b02aa6f", "score": "0.41753033", "text": "public Card getCard( GameState gameState, int id );", "title": "" }, { "docid": "ec347898fabc0009abb2b8dbbc8d1425", "score": "0.41719654", "text": "public House findById(int id) {\r\n\r\n\t\t// Defining our connection with try with resources\r\n\t\t\t\ttry (Connection conn = DriverManager.getConnection(url, username, password)){\r\n\t\t\tString sql = \"select houseid, streetAddress, city, state, country, postalCode , sqft, estPrice, numberBedRooms, numberBathRooms, forSale, typeOfProperty from houses where houseid = ?\";\r\n\t\t\tPreparedStatement stmt = conn.prepareStatement(sql);\r\n\t\t\tstmt.setInt(1, id);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\trs.next();\r\n\t\t\tint houseID = rs.getInt(1);\r\n\t\t\tString streetAdd = rs.getString(2);\r\n\t\t\tString city = rs.getString(3);\r\n\t\t\tString state = rs.getString(4);\r\n\t\t\tString country = rs.getString(5);\r\n\t\t\tString postalCode = rs.getString(6);\r\n\t\t\tint sqft = rs.getInt(7);\r\n\t\t\tlong estPrice = rs.getLong(8);\r\n\t\t\tint numberOfRooms = rs.getInt(9);\r\n\t\t\tint numberOfBaths = rs.getInt(10);\r\n\t\t\tboolean forSale = rs.getBoolean(11);\r\n\t\t\tString typeOfProperty = rs.getString(12);\r\n\t\t\tHouse house = new House(houseID, streetAdd, city, state, country, postalCode, sqft, estPrice, numberOfRooms,\r\n\t\t\t\t\tnumberOfBaths, forSale, typeOfProperty);\r\n\t\t\treturn house;\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "eab9da2a096c811cba02792b6054527b", "score": "0.41606537", "text": "public Address get(int id) {\n\t\treturn getByKey(id);\n\t}", "title": "" }, { "docid": "931bc8d1787a1555141ce25bc37a469d", "score": "0.415524", "text": "public Object getStateToBind( final Object object,\n final Name name,\n final Context parent,\n final Hashtable environment )\n throws NamingException\n {\n final StateFactory[] stateFactorySet = m_stateFactorySet;\n for ( final StateFactory factory : stateFactorySet )\n {\n final Object result = factory.getStateToBind( object, name, parent, environment );\n if ( null != result )\n {\n return result;\n }\n }\n return object;\n }", "title": "" }, { "docid": "54d3c9f44e0a48778ad24a75e0858d9b", "score": "0.4149569", "text": "@RequestMapping(value = \"/name/{name}\", produces = \"application/json\", method = RequestMethod.GET)\n public ResponseEntity<List<StateDTO>> getByName(@PathVariable String name) {\n return CreateResponseEntity.createFromListDTO(service.getByName(name));\n }", "title": "" }, { "docid": "f1b58ec5efd9cf99158bbbf6a1661821", "score": "0.41429082", "text": "public Sym lookupLocal(String idName) throws EmptySymTableException {\n if (table.isEmpty())\n throw new EmptySymTableException();\n return table.getFirst().get(idName);\n }", "title": "" }, { "docid": "d22504e1d773ee9b626740befca55edc", "score": "0.41337878", "text": "StateData stateFromName (String name)\n {\n for (StateData state : fsm.states)\n {\n if (state.name.equals (name))\n {\n return state;\n }\n }\n return null;\n }", "title": "" }, { "docid": "cfa6d33430fbede55a05909c96c6b8a5", "score": "0.41326728", "text": "public GenericStatus genericStatusFromId(Short id) {\n if (id == null) {\n return null;\n }\n\n return genericStatusRepository.findOne(id);\n }", "title": "" }, { "docid": "8ed287acca81800fe0d00f34275aca77", "score": "0.4132354", "text": "public static ShardingNetworkPrivateAddress get(String name, Output<String> id, @Nullable ShardingNetworkPrivateAddressState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {\n return new ShardingNetworkPrivateAddress(name, id, state, options);\n }", "title": "" }, { "docid": "7c11cff39b12067c3a151f3e24655c87", "score": "0.4129207", "text": "public Hotel getHotelById(int id);", "title": "" }, { "docid": "de601d19a9af9545846eac0a82fd2ee9", "score": "0.4122045", "text": "@Override\n public Store read(String s) {return this.repository.findById(s).orElseGet(null);}", "title": "" }, { "docid": "4da22c84d48e55e96b8ef3906aa48bb5", "score": "0.4118803", "text": "public synchronized ResourceState getImageState(Image img)\r\n\t{\r\n\t\tif (hashWebImage.containsKey(img))\r\n\t\t\treturn hashWebImage.get(img).state;\r\n\t\telse\r\n\t\t\treturn ResourceState.Unknown;\r\n\t}", "title": "" }, { "docid": "a6961a26fb7720aa0503f5c6b2a0f5eb", "score": "0.41169104", "text": "@GetMapping(value=\"/{id}\")\n\tpublic ResponseEntity<Estado> findById(@PathVariable Long id){\n\t\tEstado u = service.findById(id);\n\t\treturn ResponseEntity.ok().body(u);\n\t}", "title": "" }, { "docid": "1b844bbec91fede45f0b88d1628699a8", "score": "0.41095218", "text": "Address getAddress(int addressId);", "title": "" }, { "docid": "fba93c7ab96e590569c6b23bd8e89007", "score": "0.4109023", "text": "public Status findStatusById(String inputStatId);", "title": "" }, { "docid": "23ab98f721b99a6002aba0568ae50c3b", "score": "0.40996635", "text": "public Hostess(String name, int hostessId, DepartureAirportStub da, PlaneStub pl)\n {\n super(name);\n this.hostessId = hostessId;\n hostessState = HostessStates.WAIT_FOR_NEXT_FLIGHT;\n this.da = da;\n this.pl = pl;\n }", "title": "" }, { "docid": "cf9f2b97c55caf487c47b610369a41ce", "score": "0.4098866", "text": "public static Integer findStateIdByState (String state) {\r\n\t\tConnection conn = Connect.Connect();\r\n\t\t\r\n\t\t//Look for state in stateName column of the database\r\n\t\tString selectStateId = \"SELECT stateId FROM state WHERE stateName = ?\";\r\n\t\tPreparedStatement ps = null;\r\n\t\tResultSet rs = null;\r\n\t\tInteger stateId = 0;\r\n\t\tboolean stateName = false;\r\n\t\t\r\n\t\ttry {\r\n\t\t\tps = conn.prepareStatement(selectStateId);\r\n\t\t\tps.setString(1, state);\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\tif(rs.next()) {\r\n\t\t\t\tstateId = rs.getInt(\"stateId\");\r\n\t\t\t\tstateName = true;\r\n\t\t\t}\r\n\t\t} catch (SQLException sqle) {\r\n\t\t\tLog.logger.error(\"SQLException: \", sqle);\r\n\t\t\tthrow new RuntimeException();\r\n\t\t}\r\n\t\t\r\n\t\tif(stateName == true) {\r\n\t\t\tConnect.Disconnect(conn, ps, rs);\r\n\t\t\treturn stateId;\r\n\t\t}\r\n\t\t\r\n\t\t//Look for state in stateAbbreviation column of the database\r\n\t\tselectStateId = \"SELECT stateId FROM state WHERE stateAbbreviation = ?\";\r\n\t\tps = null;\r\n\t\trs = null;\r\n\t\tstateId = 0;\r\n\t\t\r\n\t\ttry {\r\n\t\t\tps = conn.prepareStatement(selectStateId);\r\n\t\t\tps.setString(1, state);\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\tif(rs.next()) {\r\n\t\t\t\tstateId = rs.getInt(\"stateId\");\r\n\t\t\t}\r\n\t\t} catch (SQLException sqle) {\r\n\t\t\tLog.logger.error(\"SQLException: \", sqle);\r\n\t\t\tthrow new RuntimeException();\r\n\t\t}\r\n\t\t\r\n\t\tConnect.Disconnect(conn, ps, rs);\r\n\t\treturn stateId;\r\n\t}", "title": "" }, { "docid": "ad7fcd55078cb63dd36fe77505d69dc7", "score": "0.4098816", "text": "FileStateDTO findOne(Long id);", "title": "" }, { "docid": "2c35de3ad5d7fae51a3419b59cf040c9", "score": "0.40912002", "text": "public void checkResourceExist() throws ResourceNotFoundException, TripleStoreSystemException {\r\n \r\n if (this.id == null || !this.tripleStoreUtility.exists(this.id)) {\r\n throw new ResourceNotFoundException(\"Resource with id \" + this.id + \" does not exist.\");\r\n }\r\n }", "title": "" }, { "docid": "898d7980a6230ab278bc4302cca5e067", "score": "0.40823385", "text": "Client findByName(String name);", "title": "" }, { "docid": "85fb557b9c48266496123322ef30c8e9", "score": "0.40697414", "text": "Object lookupObject(String key, int scope);", "title": "" }, { "docid": "758c9e36ce61c6ec4df292df81537d13", "score": "0.4069621", "text": "StateDef getState();", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "33c82161cecc5d66f996c95269d96f27", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.6491197", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.64641994", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "5697bde38a38a77f3a0bd238fb737c11", "score": "0.6364729", "text": "@Override\n public int getDochody() {\n return 0;\n }", "title": "" }, { "docid": "777efb33041da4779c6ec15b9d85097c", "score": "0.63003165", "text": "@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}", "title": "" }, { "docid": "85b25c664df01fd0b02e103c9bbc8372", "score": "0.62679124", "text": "@Override\r\n\tpublic void arreter() {\n\r\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.6251392", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "a56ce606ea5cc945279ea9725eed5272", "score": "0.6159551", "text": "@Override\n\tpublic void alearga() {\n\t\t\n\t}", "title": "" }, { "docid": "07779d53803dc6875c03bdee2e1afeb5", "score": "0.6132161", "text": "@Override\n public void ordenar() {\n }", "title": "" }, { "docid": "b9936bc3db0ac97ae50d7643a27379b4", "score": "0.61193323", "text": "@Override\n\tpublic void intercourse() {\n\n\t}", "title": "" }, { "docid": "35e5940d13f06d1f0d6a21cf2739c70a", "score": "0.61117256", "text": "public function() {}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.6059389", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.603307", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "829bb71476cb87bb452950e0e97007e6", "score": "0.6019835", "text": "@Override\n\tprotected void dataAcquisition() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.598976", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.598976", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.598976", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.598976", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "8d2080edd6605bcfb742d32fd1a0091e", "score": "0.59731764", "text": "@Override\n\tpublic void ilerle() {\n\n\t}", "title": "" }, { "docid": "ee0f5f270c3e0eea9f37c3d1e42b1161", "score": "0.5962932", "text": "public void mo12736g() {\n }", "title": "" }, { "docid": "2aee513697daff4bfe2636e5d0fa9a30", "score": "0.5960253", "text": "@Override\n\tpublic void bewegeNachUnten() {\n\n\t}", "title": "" }, { "docid": "ced4b47c7129b2184e6a77b2a8798fd1", "score": "0.5946297", "text": "@Override\n public void annuler() {\n\n }", "title": "" }, { "docid": "cb1c09afbbe0ad234f211aa36d586f4e", "score": "0.59103566", "text": "@Override\r\n\t\tprotected void update() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "5bb37ed5e0a08c04cb9e970f3e334584", "score": "0.5900665", "text": "@Override\n\tpublic void accion() {\n\n\t}", "title": "" }, { "docid": "15c9cae08ae101b3a04f9ff3b519ae04", "score": "0.5882791", "text": "public void mo8316a() {\n }", "title": "" }, { "docid": "b7288a7694313b8a4d39355a49521e40", "score": "0.5882", "text": "@Override\r\n\tpublic void atras() {\n\t\tsuper.atras();\r\n\t}", "title": "" }, { "docid": "4077955e82cce22d988577ca0a7978fc", "score": "0.5878152", "text": "@Override\n\tpublic void dormir() {\n\n\t}", "title": "" }, { "docid": "833ba2f1d8822ebbb0dddd05020c0c08", "score": "0.58703625", "text": "@Override\n\tpublic void attaque() {\n\t}", "title": "" }, { "docid": "3e9c4de332bfb94422f785054fa63ada", "score": "0.58645976", "text": "@Override\r\n\tpublic void limpiar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6b0e2e41d411b76c357d16b3eb3a159c", "score": "0.58598334", "text": "protected abstract void entschuldigen();", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "8e75ffe6faa994ed57c6ffb8b56296fe", "score": "0.5852322", "text": "public void xiuproof() {\n\t\t\n\t}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.5850078", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "39da14b1f6e1adac9c0b748811e78b68", "score": "0.58369607", "text": "public void mo12645zl() {\n }", "title": "" }, { "docid": "d87000313f7b5075ec45a2b0ee7df323", "score": "0.58221865", "text": "@Override\r\n\tprotected void location() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.58140445", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "4e86f604c407a96c75671f663064c24b", "score": "0.580598", "text": "public void mo8319b() {\n }", "title": "" }, { "docid": "cc32bfffe770f8a5c5cf88e6af231ff8", "score": "0.5799415", "text": "@Override\n\tpublic void one() {\n\t\t\n\t}", "title": "" }, { "docid": "b17089ec7f3b873adc1ebff906be9241", "score": "0.57941025", "text": "@Override\r\n\tpublic void carregar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "b429c7e890f65a814ea31e6014003667", "score": "0.5782731", "text": "@Override\n public int describeContents(){\n return 0;\n }", "title": "" }, { "docid": "680a0d25967a28e3b7a6643d55703105", "score": "0.57812274", "text": "public void contaaordem() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.576386", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "b901583faeb614d4d67271470c31d36c", "score": "0.5750588", "text": "@Override\n\tpublic void sare() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92af0f4d75822a6723aebd9fcc92fafb", "score": "0.574232", "text": "@Override\n protected void initData() {\n \n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94635a88abd93d3624c032aa22ccc337", "score": "0.5731695", "text": "@Override\n\t\t\tpublic void refresh() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "fa729e301b181004ac22fa6a16b19c1b", "score": "0.57202786", "text": "@Override\n public void init()\n {\n }", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "0b812af084ac0cb033ab904c49294fed", "score": "0.5685316", "text": "public void mo25703a() {\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.5684768", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "dc4ad5d6a5fcdc294379036f367a401b", "score": "0.5684058", "text": "@Override\n public void frenar() {\n\n }", "title": "" }, { "docid": "c0f925eed1b58e6d19fd99e8a3e26d34", "score": "0.5677166", "text": "@Override\r\n public boolean sallittu() {\r\n return false;\r\n }", "title": "" }, { "docid": "322e19fcfb5cfbd6ffce194d7e04df05", "score": "0.5665703", "text": "@Override\n\t\t\tprotected void reInitial() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "fdeab6ca2d3dd91b347a8cc2f5c862c2", "score": "0.56656164", "text": "private static void generateNew() {\n\t\t\t\t\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.564357", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.564357", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "d6d75432f50fcf22c3834bdfb660cd26", "score": "0.5641307", "text": "@Override\n public void use(){\n \n }", "title": "" }, { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.563811", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5628332", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "91e98bbf9cac4e38e126d6b5c2a2ecac", "score": "0.5624502", "text": "@Override\n\tprotected void setupData() {\n\n\t}", "title": "" }, { "docid": "e41e83e59c632c7e6180786a0238f944", "score": "0.5618833", "text": "@Override\r\n\tpublic void cry() {\n\t\t\r\n\t}", "title": "" }, { "docid": "290b69adc6f043c0f6d04c952f144b7d", "score": "0.56084245", "text": "@Override\n\tpublic void ImplementRule()\n\t{\n\n\t}", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.5607134", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.5607134", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "9fa93751aa3acc716354baf4c9c4b1ff", "score": "0.5604908", "text": "@Override\n\tpublic void NoOftems() {\n\n\t}", "title": "" }, { "docid": "dce285146917b7d4be86c4f1ade0646e", "score": "0.5600153", "text": "@Override\r\n protected void onLoad() {}", "title": "" }, { "docid": "2698e2df29a24b9998ee11e61625c8a0", "score": "0.5599527", "text": "private void method() {\n\t\t\t}", "title": "" }, { "docid": "3767348a298bdbc42a516908dfac0022", "score": "0.5598486", "text": "public final void mo34050B() {\n }", "title": "" }, { "docid": "8436022dbd33301a64633011031cfa7b", "score": "0.55980015", "text": "protected void filtrarHoyDDPF() {\n\t\t\r\n\t}", "title": "" } ]
0ae1c0ff51c13eafbf4c4315c70bbe84
Returns the ctc detail with the primary key or returns null if it could not be found.
[ { "docid": "eb6e90b123685996c70426ad04a22409", "score": "0.73358977", "text": "public static CtcDetail fetchByPrimaryKey(int ctc) {\n\t\treturn getPersistence().fetchByPrimaryKey(ctc);\n\t}", "title": "" } ]
[ { "docid": "62b5300a0be289f6138b60855452d32b", "score": "0.6876857", "text": "public static CustomerVo cdetail(String c_id) {\n\t\tSqlSession session = factory.openSession();\r\n\t\tCustomerVo cv = session.selectOne(\"javajo.cdetail\", c_id);\r\n\t\tsession.close();\r\n\t\treturn cv;\r\n\t}", "title": "" }, { "docid": "3db1509d2df113ebcfaf49b8b4bf5ff7", "score": "0.6602772", "text": "@Override\n public CompteCourant readOne(String pk) {\n return em.find(CompteCourant.class, pk);\n }", "title": "" }, { "docid": "a2af921563d8c3d96466a2d7914003c5", "score": "0.62383324", "text": "@Override\r\n\tpublic Customerinfo selectByPrimaryKey(Integer crid) {\n\t\treturn this.session.selectOne(\"com.icss.dao.CustomerinfoMapper.selectByPrimaryKey\",crid);\r\n\t}", "title": "" }, { "docid": "d7d550e331c7247ac5244f6700d4dcd5", "score": "0.61769044", "text": "public Contatto fetchByPrimaryKey(long contattoId);", "title": "" }, { "docid": "e39e73c3617a2574c5b55edc126dee81", "score": "0.61719537", "text": "EmployeeCTC findEmployeeCTCById(Long id) throws BusinessException;", "title": "" }, { "docid": "9da6ba982a8ae9bcef33004908e95ed6", "score": "0.6128375", "text": "Clazz selectByPrimaryKey(String cId);", "title": "" }, { "docid": "a9dae6be12c4b97188d1f89ec1f86136", "score": "0.6087319", "text": "public cat_tdc getCat_tdc() {\n Long __key = this.idTdc;\n if (cat_tdc__resolvedKey == null || !cat_tdc__resolvedKey.equals(__key)) {\n if (daoSession == null) {\n throw new DaoException(\"Entity is detached from DAO context\");\n }\n cat_tdcDao targetDao = daoSession.getCat_tdcDao();\n cat_tdc cat_tdcNew = targetDao.load(__key);\n synchronized (this) {\n cat_tdc = cat_tdcNew;\n \tcat_tdc__resolvedKey = __key;\n }\n }\n return cat_tdc;\n }", "title": "" }, { "docid": "7234db02dbc4931f37d5db2674e5deb3", "score": "0.6068317", "text": "public Details findByCustDetailId(int detailId) {\r\n return getEntityManager().createNamedQuery(\"Details.findDetailsByCustId\", Details.class).setParameter(\"detailID\", detailId).getSingleResult();\r\n }", "title": "" }, { "docid": "f6dcf6ac3ec4afa1fbea0314eefbf6f5", "score": "0.60513115", "text": "CaseInfoTemp selectByPrimaryKey(String tempId);", "title": "" }, { "docid": "6d24e7376280b4db2bd19c76e532696e", "score": "0.5989881", "text": "Optional<Coche> findOne(Long id);", "title": "" }, { "docid": "f72752d0fa0fbf2ec8e2a20adb60bcd4", "score": "0.5975347", "text": "@Override\n public Customer getCustomer(int theId) {\n Session currentSession = sessionFactory.openSession();\n\n // now retrieve/read from database using the primary key\n\n return currentSession.get(Customer.class, theId);\n }", "title": "" }, { "docid": "9e2d9cda885d512f62437a4e2a8c7294", "score": "0.59687895", "text": "PtCustomer selectByPrimaryKey(Long f_ciid);", "title": "" }, { "docid": "ca295d1d3f086a90fe2990c97e957b49", "score": "0.5963417", "text": "@Override\n\tpublic Customer getCustomer(int theId) {\n\t\t\n\t\tSession currentSession=sessionFactory.getCurrentSession();\n\t\t\n\t\t// now retrieve / read from database using primary key\n\t\t\n\t\tCustomer theCustomer= currentSession.get(Customer.class,theId);\n\t\t\n\t\treturn theCustomer;\n\t}", "title": "" }, { "docid": "5ee24beb89d78051cf9d932c8b5a0f04", "score": "0.59126747", "text": "public Customer getCustomer(long id) \n\t{\n\t\ttry \n\t\t{\n\t\t\treturn customerDAO.getCustomer(id);\n\t\t} \n\t\tcatch (Exception e) \n\t\t{\n\t\t\tSystem.err.println(e.getMessage());\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8e4cb82c6758096956b4793bce35935f", "score": "0.5911919", "text": "@Override\r\n\tpublic CustomerComplaint getComplaintDetails(int complaintId)\r\n\t\t\tthrows FundsComplaintException {\r\n\r\n\t\tCustomerComplaint complaint = entityManager.find(\r\n\t\t\t\tCustomerComplaint.class, complaintId);\r\n\t\treturn complaint;\r\n\t}", "title": "" }, { "docid": "5146d0deefb3d1e2897305b4db70f4f3", "score": "0.5900543", "text": "Optional<CARCLFINIDTO> findOne(Long id);", "title": "" }, { "docid": "bd6b7e56ad455bb6c470af5f21691eae", "score": "0.58973217", "text": "public Optional<Customer> getCustomer(String id) {\n\t\t//return topics.stream().filter(t ->t.getId().equals(id)).findFirst().get();\n\t\treturn courseRepository.findById(id);\n\t}", "title": "" }, { "docid": "3c9dc75ec99b3e44a573dc5deeee0087", "score": "0.585263", "text": "public CustomerDetails retrieveCustomerInformation(String cid) throws UserNotFoundException {\r\n\r\n try {\r\n String selectStatement = \"SELECT cid,fname,lname,address,city,phone,email,branch,best_time,pass FROM customer WHERE cid = ?\";\r\n getConnection();\r\n PreparedStatement prepStmt = con.prepareStatement(selectStatement);\r\n prepStmt.setString(1, cid);\r\n\r\n ResultSet rs = prepStmt.executeQuery();\r\n\r\n /**\r\n *\r\n * @param firstName\r\n * @param lastName\r\n * @param address\r\n * @param city\r\n * @param phone\r\n * @param email\r\n * @param best_time\r\n * @param pass\r\n */\r\n if (rs.next()) {\r\n CustomerDetails cd = new CustomerDetails(rs.getString(2), rs.getString(3), rs.getString(4), rs.getString(5), rs.getString(6), rs.getString(7), rs.getString(8), rs.getString(9), rs.getString(10));\r\n\r\n prepStmt.close();\r\n return cd;\r\n } else {\r\n prepStmt.close();\r\n return null;\r\n }\r\n } catch (SQLException ex) {\r\n throw new UserNotFoundException(\"Couldn't find User: \" + cid + \" \" + ex.getMessage());\r\n }\r\n\r\n }", "title": "" }, { "docid": "a3c21ec9e3ea6a4063b399ddc4ec402f", "score": "0.58505946", "text": "Customer selectByPrimaryKey(Integer cId);", "title": "" }, { "docid": "c598ae530f9820532ddc2ceb0a4420f0", "score": "0.5838228", "text": "Customer getCustomerDetails(final Long id) throws ManagedException;", "title": "" }, { "docid": "8c2a53264469b785b3c21ee7b88fa75a", "score": "0.5815285", "text": "CardInformation selectByPrimaryKey(Integer cardid);", "title": "" }, { "docid": "98b3b450f44afea0812d02cab2faa0c0", "score": "0.58001465", "text": "public static Customer retrieve(String key) throws NotFoundException\n\t{\n\t\taCustomer = null;\n\t\t// define the SQL query statement using the phone number key\n\t\tString sqlQuery = \"SELECT Name, Address, PhoneNumber \" +\n \" FROM Customers \" +\n \" WHERE PhoneNumber = '\" + key +\"'\" ;\n //System.out.println(sqlQuery);\n\t \t// execute the SQL query statement\n\t\ttry\n \t\t{\n ResultSet rs = aStatement.executeQuery(sqlQuery);\n // next method sets cursor & returns true if there is data\n boolean gotIt = rs.next();\n if (gotIt)\n {\t// extract the data\n\t\t\tname = rs.getString(\"Name\");\n\t\t\taddress = rs.getString(\"Address\");\n\t\t\tphoneNumber = rs.getString(\"PhoneNumber\");\n\t\t\t\n\t\t\t// create Customer\n try{\n aCustomer = new Customer(name, address, phoneNumber);\n }catch (InvalidPhoneNumberException e)\n { System.out.println(\"Record for \" + name + \" contains an invalid phone number. Verify and correct.\");}\n \n } else\t// nothing was retrieved\n {throw (new NotFoundException(\"Problem retrieving Customer record, phone number \" + key +\" does not exist in the system.\"));}\n rs.close();\n\t \t}catch (SQLException e)\n\t\t{ System.out.println(e);}\n \n\t\treturn aCustomer;\n\t}", "title": "" }, { "docid": "a60acf15a4bd7783329d2197089e501c", "score": "0.5789236", "text": "@Override\n\tpublic DetailFacture find(Integer primaryKey) throws MyException {\n\t\t\n\t\tif(primaryKey.intValue()> 0){\n\t\t\t\n\t\t\tString sql = \"SELECT * FROM detailFacture WHERE idDetail = ?;\";\n\t\t\tResultSet rs = null;\n\t\t\tDetailFacture detailFacture = null;\n\t\t\tFactureDao factureDao = null;\n\t\t\tOeuvreDao oeuvreDao = null;\n\t\t\t\n\t\t try (PreparedStatement pst = this.conn.prepareStatement(sql)){\n\t\t\t\t\n\t\t\t\tpst.setInt(1, primaryKey);\n\t\t\t\trs = pst.executeQuery();\n\t\t\t\trs.next();\n\t\t\t\t\n\t\t\t\tdetailFacture = new DetailFacture();\n\t\t\t\tfactureDao = new FactureDao(conn);\n\t\t\t\toeuvreDao = new OeuvreDao(conn);\n\t\t\t\t\n\t\t\t\tdetailFacture.setIdDetail(rs.getInt(1));\n\t\t\t\tdetailFacture.setOeuvre(oeuvreDao.find(rs.getInt(1)));\n\t\t\t\tdetailFacture.setDateDetail((Date)rs.getDate(2));\n\t\t\t\tdetailFacture.setMontantComissionDetail(rs.getDouble(3));\n\t\t\t\tdetailFacture.setMontantTvaDetail(rs.getDouble(4));\n\t\t\t\tdetailFacture.setPrixHtvaDetail(rs.getDouble(5));\n\t\t\t\tdetailFacture.setFacture(factureDao.find(rs.getInt(6)));\n\t\t\t\t\t\t\n\t\n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t//e.printStackTrace();\n\t\t\t\tthrow new MyException(\"Le DetailFacture recherché n'a pas été trouvé.\");\n\t\t\t} \n\t\t\treturn detailFacture;\n\t\t\n\t\t} else{\n\t\t\t\tthrow new MyException (\"La PK est incorrecte. La recherche est donc impossible\");\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "3a4e7c57d9592a819b4c8c89ed8b6a11", "score": "0.5782331", "text": "public CreditCard getCreditInfoByCID(int id)\n\t{\n\t\tPaymentInfo payinf=new PaymentInfo();\n\t\tCreditCard credC= new CreditCard();//will be changed to getactive in the future\n\t\tResultSet rs = null;\n\t\tString query = new String(\"SELECT * FROM myfuel.credit_card WHERE creditCardID =\"+id);\n\t\ttry{\n\t\t\tst = conn.createStatement();\n\t\t\trs=st.executeQuery(query);\n\t\t\tif(rs.next())\n\t\t\t\t{\n\t\t\t\t\tpayinf=getPaymentInfoByID(rs.getInt(1));\n\t\t\t\t\tcredC.setPaymentInfoID(payinf.getPaymentInfoID());\n\t\t\t\t\tcredC.setCustomerID(payinf.getCustomerID());\n\t\t\t\t\tcredC.setPrefferedMethod(payinf.getPreferredMethod());\n\t\t\t\t\tcredC.setCreditCardID(rs.getInt(1));\n\t\t\t\t\tcredC.setCardNo(rs.getString(2));\n\t\t\t\t\tcredC.setValidDate(rs.getString(3));\n\t\t\t\t}\n\t\t}\n\t\tcatch(SQLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn credC;\t\n\t}", "title": "" }, { "docid": "a2cd1aa595946525716462c24c912dbd", "score": "0.57797086", "text": "public Customer getCustomer(long id) throws SQLException, ClassNotFoundException, InterruptedException, NullConnectionException;", "title": "" }, { "docid": "458907a57377013038f604b06ee8fcad", "score": "0.57714975", "text": "@Override\n\tpublic Object getObject(Class c, Long pk) {\n\t\t return getCurrentSession().get(c, pk);\n\t}", "title": "" }, { "docid": "f19cbb03ef0895e58f6df7cc6c23e7cc", "score": "0.5766978", "text": "public Long getCtId() {\n return ctId;\n }", "title": "" }, { "docid": "2c21f60a5742d899b88955e68deaaf22", "score": "0.5760375", "text": "public Cash getCashInfoByCID(int id)\n\t{\n\t\tPaymentInfo payinf=new PaymentInfo();\n\t\tCash c= new Cash();//will be changed to getactive in the future\n\t\tResultSet rs = null;\n\t\tString query = new String(\"SELECT * FROM myfuel.cash WHERE cashID =\"+id);\n\t\ttry{\n\t\t\tst = conn.createStatement();\n\t\t\trs=st.executeQuery(query);\n\t\t\tif(rs.next())\n\t\t\t\t{\n\t\t\t\t\tpayinf=getPaymentInfoByID(rs.getInt(1));\n\t\t\t\t\tc.setPaymentInfoID(payinf.getPaymentInfoID());\n\t\t\t\t\tc.setCustomerID(payinf.getCustomerID());\n\t\t\t\t\tc.setPrefferedMethod(payinf.getPreferredMethod());\n\t\t\t\t\tc.setCashID(rs.getInt(1));\n\t\t\t\t}\n\t\t}\n\t\tcatch(SQLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn c;\t\n\t\t\n\t}", "title": "" }, { "docid": "cbfb6458223bede38124b1cf3f67e329", "score": "0.57535017", "text": "public Optional<CreditCardAcc> find(Long id);", "title": "" }, { "docid": "b352cc79d72976c3487e6ee9b2582b3c", "score": "0.57491285", "text": "public Long getcId() {\n return cId;\n }", "title": "" }, { "docid": "bfde5d3763af9d3c0f790bbfc52f822a", "score": "0.5720875", "text": "EmployeeCreditInfo selectByPrimaryKey(Long creditId);", "title": "" }, { "docid": "5144b9b5fe1e922b37e1be8dcf39f692", "score": "0.57049435", "text": "AgtCusComment selectByPrimaryKey(String id);", "title": "" }, { "docid": "ade6a0f1aa21a9f8469b0b0d80b28c12", "score": "0.569889", "text": "public abstract Long getCid();", "title": "" }, { "docid": "c24f448fe04dc6765127f09649a4cd8d", "score": "0.56877875", "text": "public static List<CtcDetail> findAll() {\n\t\treturn getPersistence().findAll();\n\t}", "title": "" }, { "docid": "8eafac419211d44e03df7671c72dd56a", "score": "0.56781876", "text": "@Override\r\n\tpublic Integer getCid() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "f8301d4e85b33d61435a69c3c477cdf7", "score": "0.56775373", "text": "public CustomerDetails retrieveCustomerInformation(String cid) throws UserNotFoundException {\n\t\t\n\t\ttry {\n\t\t\tString selectStatement = \"SELECT cid,fname,lname,address,city,phone,email,best_time,pass FROM customer WHERE cid = ?\";\n\t\t\tgetConnection();\n\t\t\tPreparedStatement prepStmt = con.prepareStatement(selectStatement);\n\t\t\tprepStmt.setString(1, cid);\n\t\t\t\n\t\t\tResultSet rs = prepStmt.executeQuery();\n\t\n\t\t /**\n\t\t * \n\t\t * @param firstName\n\t\t * @param lastName\n\t\t * @param address\n\t\t * @param city\n\t\t * @param phone\n\t\t * @param email\n\t\t * @param best_time\n\t\t * @param pass\n\t\t */\n\t\t\tif (rs.next()) {\n\t\t\t\tCustomerDetails cd = new CustomerDetails(rs.getString(2),rs.getString(3),rs.getString(4),rs.getString(5),rs.getString(6),rs.getString(7),rs.getString(8),rs.getString(9));\n\t\t\t\t\n\t\t\t\tprepStmt.close(); \n\t\t\t\treturn cd;\n\t\t\t} else { \n\t\t\t\tprepStmt.close();\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} catch (SQLException ex) {\n\t\t\tthrow new UserNotFoundException(\"Couldn't find User: \" + cid + \" \" + ex.getMessage());\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "32f2843b22aba7a7d2dcb640d1910512", "score": "0.5666526", "text": "public Checkrecord findCheckRecord(Integer crid) {\n\t\tCheckrecord cr = cd.findOne(crid);\r\n\t\treturn cr;\r\n\t}", "title": "" }, { "docid": "07172de7613296c350503b6735ee2d80", "score": "0.5656402", "text": "public Customer getCustomerById(int id){\n\t\ttry{\n\t\t\treturn entityManager.get().createNamedQuery(\"Customer.findById\", Customer.class).setParameter(\"id\", id).getSingleResult();\n\t\t}catch (NoResultException e){\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "d9fbcb36dc51ff7009a27e383f506c06", "score": "0.5641804", "text": "@Override\r\n\tpublic Customer get(Integer id) {\r\n\t\tCustomer customer = null;\r\n\t\tSession session = HibernateUtil.getSessionFactory().openSession();\r\n\t\ttry {\r\n\t\t\tsession.beginTransaction();\r\n\t\t\tcustomer = (Customer) session.get(Customer.class, id);\r\n\t\t\tsession.getTransaction().commit();\r\n\t\t\tLOGGER.debug(\"Get customer By Id\");\r\n\r\n\t\t\treturn customer;\r\n\r\n\t\t} catch (HibernateException e) {\r\n\t\t\tsession.getTransaction().rollback();\r\n\t\t\tLOGGER.error(\"Error Bung {}\", e.getMessage());\r\n\t\t} finally {\r\n\t\t\tsession.close();\r\n\t\t\tLOGGER.info(\"Transaction finish\");\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "e8bca83014cba389bfb1041558768610", "score": "0.5640833", "text": "public Customer getCustomer(int id) {\n SQLiteDatabase db = this.getReadableDatabase();\n\n Cursor cursor = db.query(TABLE_EMPLOYEE, new String[]{KEY_ID,\n KEY_NAME,KEY_SEX, KEY_PH_NO,KEY_ADDRESS}, KEY_ID + \"=?\",\n new String[]{String.valueOf(id)}, null, null, null, null);\n if (cursor != null)\n cursor.moveToFirst();\n\n Customer employee = new Customer(\n Integer.parseInt(cursor.getString(0)),\n cursor.getString(1),\n cursor.getString(2),\n cursor.getString(3),\n cursor.getString(4));\n // return contact\n return employee;\n }", "title": "" }, { "docid": "e114f5dc261c227a716978ffae476fbc", "score": "0.5639123", "text": "@Transactional(readOnly = true)\n public T read(PK id) {\n String queryString = String.format(\"select o from %s o where o.id = :id\", unqualifiedModelClassName);\n Query query = this.entityManager.createQuery(queryString);\n query.setParameter(\"id\", id);\n\n // Originally this made use of query.getSingleResult\n // however this method throws an Exception if there is no\n // matching object, which seems like overkill. Modified to return\n // null if there is no matching object.\n\n @SuppressWarnings(\"unchecked\") List<T> results = query.getResultList();\n if (results.size() == 0) {\n return null;\n } else return results.get(0);\n }", "title": "" }, { "docid": "b386da5ec6823e0fce886d55b78ec060", "score": "0.5629345", "text": "Customer getCustomerById(long id);", "title": "" }, { "docid": "62b855682caa126684703bd63b33b472", "score": "0.5621472", "text": "public CourseDTO findByPk(long pk) throws ApplicationException {\n\n\t\tSession session=HibDataSource.getSession();\n\t\t\n\t\tCourseDTO dto=null;\n\t\ttry{\n\t\t\tdto=(CourseDTO) session.get(CourseDTO.class, pk);\n\t\t}catch(HibernateException e){\n\t\t\tthrow new ApplicationException(\"Exception : Exception in getting course by pk\");\n\t\t}finally{\n\t\t\tsession.close();\n\t\t}\n\t\treturn dto;\n\t}", "title": "" }, { "docid": "7979350e74f62b66d08830163fa22f08", "score": "0.5616409", "text": "@Transactional(readOnly = true) \n public Citizen findOne(Long id) {\n log.debug(\"Request to get Citizen : {}\", id);\n Citizen citizen = citizenRepository.findOne(id);\n return citizen;\n }", "title": "" }, { "docid": "dc4a3196bd902c8fbd39131dc02a3c93", "score": "0.56073874", "text": "@ResponseBody\n\t\t @RequestMapping(value=\"login/contactdetails/{cid}\",method=RequestMethod.GET)\n\t\t public Contact_Details getByContactId(@PathVariable(\"cid\")int cId){\n\t\t\t return contactDao.getById(cId);\n\t\t }", "title": "" }, { "docid": "784c7524ddad867dffe6f7f6b17db59e", "score": "0.56039596", "text": "public T get(PK id);", "title": "" }, { "docid": "314f1f801ec272c5856adfcc3ed8320d", "score": "0.5603913", "text": "@Override\r\n\tpublic Constructionman findById(Integer cscId) {\n\t\treturn constructionmapper.selectByPrimaryKey(cscId);\r\n\t}", "title": "" }, { "docid": "9ce73a7b18d6c89eeda2dc092d4fe91f", "score": "0.55672455", "text": "TfProjectCreditFlow selectByPrimaryKey(String id);", "title": "" }, { "docid": "2d28797489c6fb021f8a347c1f388318", "score": "0.5549992", "text": "public Customer getCustomerInfoByID(int id){\n\t\tUser usr=new User();\n\t\tCustomer cusToGet= new Customer();//will be changed to getactive in the future\n\t\tusr=getUserByUid(id);\n\t\tcusToGet.setUserID(usr.getUserID());\n\t\tcusToGet.setUserName(usr.getUserName());\n\t\tcusToGet.setPhoneNo(usr.getPhoneNo());\n\t\tcusToGet.setFirstName(usr.getFirstName());;\n\t\tcusToGet.setLastName(usr.getLastName());\n\t\tcusToGet.seteMail(usr.geteMail());\n\t\tcusToGet.setUserTypeID(usr.getUserTypeID());\n\t\tResultSet rs = null;\n\t\tString query = new String(\"SELECT * FROM myfuel.customer WHERE customerID =\"+id);\n\t\ttry{\n\t\t\tst = conn.createStatement();\n\t\t\trs=st.executeQuery(query);\n\t\t\tif(rs.next())\n\t\t\t\t{\n\t\t\t\t\t//if(id==rs.getInt(1));\n\t\t\t\t\tcusToGet.setAddress(rs.getString(2));\n\t\t\t\t}\n\t\t}\n\t\tcatch(SQLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn cusToGet;\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "e49b4939a97c583a4bbf29e48ce157c8", "score": "0.55336267", "text": "@Transactional(readOnly = true) \n public Tbc_especie findOne(Long id) {\n log.debug(\"Request to get Tbc_especie : {}\", id);\n Tbc_especie tbc_especie = tbc_especieRepository.findOne(id);\n return tbc_especie;\n }", "title": "" }, { "docid": "30f025af8f5c8757802d7b751711f02f", "score": "0.55331355", "text": "@Override\n public Customer getCustomer(long id) {\n for (Customer customer : customers) {\n if (customer.getId() == id) {\n return customer;\n }\n }\n return null;\n }", "title": "" }, { "docid": "e9d7f7d8b55cdddc6399f929def57698", "score": "0.5529412", "text": "Detailcasetype selectByPrimaryKey(Long fid);", "title": "" }, { "docid": "de6c0c43f7f68d0c03a4c35d250bc4d5", "score": "0.55224663", "text": "public Customer getOne(Long id);", "title": "" }, { "docid": "644bcb8416461ba7fc7e2d18f2c3d260", "score": "0.55155927", "text": "@RequestMapping(value=\"/candidat/id/{candidatId}\", method=RequestMethod.GET)\n\tpublic Candidat find(@PathVariable(name=\"candidatId\", required=true) Long pCandidatId) throws RecordNotFoundCandidatException {\n\t\t\n\t\tLOGGER.info(\"CLASS : CandidatRestService -- METHOD : find -- BEGIN\");\n\n\t\tCandidat candidatFound = this.candidatMetier.find(pCandidatId);\n\t\t\n\t\tLOGGER.info(\"CLASS : CandidatRestService -- METHOD : find -- END\");\n\t\treturn candidatFound;\n\t}", "title": "" }, { "docid": "f75b51e8c6763c019b122d579ba66495", "score": "0.55117863", "text": "Optional<CustBillingRefDTO> findOne(Long id);", "title": "" }, { "docid": "0a1f70f64ee1772c33e416c62daed816", "score": "0.55052245", "text": "public Customer getCustomerBycID(int id,User usr)\n\t{\n\t\tCarCustomer c;\n\t\tHouseOwner hw;\n\t\tCustomer cusToGet= new Customer();//will be changed to getactive in the future\n\t\tcusToGet.setUserID(usr.getUserID());\n\t\tcusToGet.setUserName(usr.getUserName());\n\t\tcusToGet.setPhoneNo(usr.getPhoneNo());\n\t\tcusToGet.setFirstName(usr.getFirstName());;\n\t\tcusToGet.setLastName(usr.getLastName());\n\t\tcusToGet.seteMail(usr.geteMail());\n\t\tcusToGet.setUserTypeID(usr.getUserTypeID());\n\t\tResultSet rs = null;\n\t\tString query = new String(\"SELECT * FROM myfuel.customer WHERE customerID =\"+id);\n\t\ttry{\n\t\t\tst = conn.createStatement();\n\t\t\trs=st.executeQuery(query);\n\t\t\tif(rs.next())\n\t\t\t\t{\n\t\t\t\t\t//if(id==rs.getInt(1));\n\t\t\t\t\tcusToGet.setAddress(rs.getString(2));\n\t\t\t\t\tswitch(rs.getInt(3))\n\t\t\t\t\t{\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tc=new CarCustomer();\n\t\t\t\t\t\tc=getCarCustomerByCCID(id,cusToGet);\n\t\t\t\t\t\treturn c;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\thw=new HouseOwner();\n\t\t\t\t\t\thw=getHouseOwnerByHWID(id,cusToGet);\n\t\t\t\t\t\treturn hw;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t}\n\t\tcatch(SQLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn cusToGet;\t\n\t\t\n\t}", "title": "" }, { "docid": "fa9eb0173689aee1d6e5355306576487", "score": "0.5496005", "text": "public Contact getContactDetails(int contactID) {\r\n String sql = \"SELECT * FROM contacts WHERE contact_ID = ?\";\r\n\r\n try (Connection conn = this.connect();\r\n PreparedStatement pstmt = conn.prepareStatement(sql)) {\r\n pstmt.setInt(1, contactID);\r\n ResultSet rs = pstmt.executeQuery();\r\n\r\n return new Contact(rs.getInt(\"contact_ID\"), rs.getString(\"givenName\"),\r\n rs.getString(\"surname\"), rs.getString(\"email\"),\r\n rs.getString(\"phone\"));\r\n\r\n\r\n } catch (SQLException e) {\r\n return null;\r\n }\r\n\r\n }", "title": "" }, { "docid": "50353a6e2b42d9d2b0a2ab8a83a02468", "score": "0.5495574", "text": "public CustomerInfo getCustomerInfoID(){\r\n\t\tCustomerInfo ci = new CustomerInfo();\r\n\t\t\r\n\t\ttry{\r\n\t\t\t/*PreparedStatement ps = con.prepareStatement(\"SELECT customer_id FROM customer_info\");\r\n\t\t\tResultSet rs = ps.executeQuery();*/\r\n\t\t\tcon = DbUtil.getConnection();\r\n\t\t\tps = con.prepareStatement(\"SELECT customer_id FROM customer_info\");\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\t\r\n\t\t\tint customer_id = 0;\r\n\t\t\t\r\n\t\t\tif(rs.next() == false) {\r\n\t\t\t\tcustomer_id = 1000000000;\r\n\t\t\t\tcustomer_id = customer_id+1;\r\n\t\t\t\tci.setCustomer_id(\"CUST\" + String.valueOf(customer_id));\r\n\t\t\t} else {\r\n\t\t\t\tif(rs.last()) {\r\n\t\t\t\t\tString strRequisition = rs.getString(\"customer_id\");\r\n\t\t\t\t\tcustomer_id = Integer.parseInt(strRequisition.replaceAll(\"[^0-9]\", \"\"));\r\n\t\t\t\t\tcustomer_id = customer_id+1;\r\n\t\t\t\t\tci.setCustomer_id(\"CUST\" + String.valueOf(customer_id));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} catch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tif(con != null){\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcon.close();\r\n\t\t\t\t} catch (SQLException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(ps != null){\r\n\t\t\t\ttry {\r\n\t\t\t\t\tps.close();\r\n\t\t\t\t} catch (SQLException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(rs != null){\r\n\t\t\t\ttry {\r\n\t\t\t\t\trs.close();\r\n\t\t\t\t} catch (SQLException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn ci;\r\n\t}", "title": "" }, { "docid": "d1ed8b58a9cb2e16b863813aef1c129d", "score": "0.5488069", "text": "public Quesdifficult selectByPK(Long pk){\n \tif(pk==null)\n \t\treturn null;\n\t\tQuesdifficult record = (Quesdifficult) this.queryForObject(\"Quesdifficult.selectByPK\", pk);\n\t\treturn record;\n }", "title": "" }, { "docid": "ffcdb00842b699d8f393c241e633cc07", "score": "0.54872435", "text": "@Query(\n value = \"SELECT o FROM SpPtlCompTaAnn o \"\n + \" WHERE o.id =:#{#id}\" /* TODO: enable access to TA (update accepted/rejected status)+ COMPANY */\n )\n @Nullable\n public SpPtlCompTaAnn taFindOne(@Param(\"id\") Long id);", "title": "" }, { "docid": "d72d52fe14f29faff852986f70bdb02d", "score": "0.5482134", "text": "SbInfo selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "8c301aa77dad6b877227a788ad8e21c9", "score": "0.54799336", "text": "CalComplaintProcess selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "bc0d02cd09db4592ac67fca0458c6d70", "score": "0.54760563", "text": "T get(PK id);", "title": "" }, { "docid": "7a1c60b79b9988ae3ca6deaeca9e152a", "score": "0.5449501", "text": "public T getById(Long id){\n return null;\r\n }", "title": "" }, { "docid": "5fac51c5a0a58af91b059d5e05f02259", "score": "0.5448735", "text": "public BaseDTO find(Long pk) throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f3be696af977e402998bcc45028b7f45", "score": "0.544743", "text": "@Override\r\n\tpublic Customer getCustomerInfo(int id) {\n\t\treturn (Customer) customerDao.getEntitybyId(Customer.class,id);\r\n\t}", "title": "" }, { "docid": "684f4db2d40d7b965b75fbf11a06bd93", "score": "0.54420453", "text": "public Customer getCustomer(long id) {\n\t\tCustomer customer = (Customer) sessionFactory.getCurrentSession().get(Customer.class, id);\n\t\treturn customer;\n\t}", "title": "" }, { "docid": "49c0a9527ccae56f5377603bb8295ec8", "score": "0.5440074", "text": "public static CtcDetail create(int ctc) {\n\t\treturn getPersistence().create(ctc);\n\t}", "title": "" }, { "docid": "17bcf60094dc6eab3d34e34de993d577", "score": "0.54376024", "text": "@Override\r\n\tpublic Customer getCustomer(long id) throws ApplicationException {\r\n\r\n\t\tCustomerDao customerDao = new CustomerDao();\r\n\r\n\t\tif( ! customerDao.isCustomerExistById(id)){\r\n\t\t\tthrow new ApplicationException(TypeError.GENERAL_ERROR, \"customer not exist\");\r\n\t\t}\r\n\r\n\t\treturn customerDao.getCustomer(id);\r\n\r\n\t}", "title": "" }, { "docid": "9423b54a1b7ca7d476c2d02a8bd39f4e", "score": "0.54364586", "text": "@Override\r\n\tpublic Customer findCustomer(Integer custId) {\r\n\t\tCustomer customer = null;\r\n\t\tSession session = HibernateUtil.getSessionFactory().openSession();\r\n\t\ttry {\r\n\t\t\tsession.beginTransaction();\r\n\t\t\tcustomer = (Customer) session.get(Customer.class, custId);\r\n\t\t\tsession.getTransaction().commit();\r\n\t\t\tLOGGER.debug(\"Data Di Update\");\r\n\t\t} catch (HibernateException e) {\r\n\t\t\tsession.getTransaction().rollback();\r\n\t\t\tLOGGER.error(\"Error Bung {}\", e.getMessage());\r\n\t\t} finally {\r\n\t\t\tsession.close();\r\n\t\t\tLOGGER.info(\"Transaction finish\");\r\n\t\t}\r\n\t\treturn customer;\r\n\t}", "title": "" }, { "docid": "c8d4aa35fd1e8fc13e80bcb8ce33a37f", "score": "0.5413029", "text": "SubjectInfo selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "1f38ee2f0578899ee7cd12af335595e9", "score": "0.5410601", "text": "public Customer getCustomer(String id) {\n Customer customer = em.find(Customer.class, Integer.parseInt(id));\n return customer;\n }", "title": "" }, { "docid": "c42608e615568733536e512debf46ef7", "score": "0.54081744", "text": "public CourseInfo getCourse(String courseID) {\n for (CourseInfo temp : retrieveCourses() ) {\n if(temp.getCourseID() == courseID) {\n return temp;\n }\n }\n System.out.println(\"This course cannot be found\");\n return null;\n }", "title": "" }, { "docid": "17f67e3cc51f7087f987ada97c2f503e", "score": "0.5404462", "text": "public Customer getCustomerDetails() throws CouponSystemException {\r\n\t\ttry {\r\n\t\t\tCustomer cust = customersDAO.getOneCustomerById(custId);\r\n\t\t\treturn cust;\r\n\t\t} catch (Exception e) {\r\n\t\t\tthrow new CouponSystemException(\"getCustomerDetails of CustomerFacade Failed\", e);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "bd0fbbaab121152fb520d2d470b7801b", "score": "0.54014814", "text": "@Transactional(readOnly = true)\n public Optional<AccPDTO> findOne(Long id) {\n log.debug(\"Request to get AccP : {}\", id);\n return accPRepository.findById(id).map(accPMapper::toDto);\n }", "title": "" }, { "docid": "157bd6b0bb861bd45983704e59fae3d9", "score": "0.5397893", "text": "public Contact retrieveContact(String id) {\r\n for(Contact contact : contactList) {\r\n if(id.equals(contact.getId())) {\r\n return contact;\r\n }\r\n }\r\n\r\n return null;\r\n }", "title": "" }, { "docid": "d77af05ae73c7a0c92b17da77789baa5", "score": "0.5397428", "text": "Optional<CharacterClass> findOne(Long id);", "title": "" }, { "docid": "4d78e5300d0ae22f71a933e817b38192", "score": "0.5394727", "text": "Optional<TableColumn> findOne(Long id);", "title": "" }, { "docid": "9cad7714a78b76bf1f20c7ffe128eced", "score": "0.5385929", "text": "TmAccesshin selectByPrimaryKey(String cdAccesshin);", "title": "" }, { "docid": "11045f645e7b0eb3e784306bac4bdee7", "score": "0.5384631", "text": "private void retrieveCustomerBeanByPrKey( Integer customerId_ ){\r\n \tfinal java.util.Date startTime = new java.util.Date();\r\n \t\tcustomerService.getCustomerByPrKey(userProfile, customerId_ \t,\t\t\tnew AsyncCallback<CustomerBean>(){\r\n \t\t\t\t\tpublic void onFailure(Throwable caught) {\r\n \t\t\t\t\t\tif(!ServerExcpetionHandler.getInstance().handle(caught)){\r\n\r\n\t\t\t\t\t\t}\r\n \t\t\t\t\t\tmasterController.getAppContainer().setTransactionResults(\r\n \t\t\t\t\t\t\t\"Retrieving Customer by Identifier Failed\"\r\n \t\t\t\t\t\t\t, (new java.util.Date().getTime() -startTime.getTime()));\r\n \t\t\t\t\t\t\r\n \t\t\t\t\t}\r\n \t\t\r\n \t\t\t\t\tpublic void onSuccess(CustomerBean customerResult) {\r\n \t\t\t\t\t\tmasterController.getAppContainer().addSysLogMessage(\"Retrieve Customer by identifier received ok\");\r\n \t\t\t\t\t\tmasterController.getAppContainer().setTransactionResults(\r\n \t\t\t\t\t\t\t\"Successfully Retrieved Customer by Primary Key\"\r\n \t\t\t\t\t\t\t, (new java.util.Date().getTime() - startTime.getTime()));\r\n \t\t\t\t\tsynchDisplayToBean(customerResult);\t\r\n \t\t\t\t\t}\r\n \t\t});\r\n \t }", "title": "" }, { "docid": "b36cc8504c59cee7171a53ea60699de4", "score": "0.5384159", "text": "@Override\r\n\t@Transactional(readOnly=true)\r\n\tpublic Customer getOneCustomer(Integer id) {\n\t\treturn dao.getOneCustomer(id);\r\n\t}", "title": "" }, { "docid": "fe0a136963a822c2760f51fc7e0fe0c7", "score": "0.53825283", "text": "public Customer getCustomer(int id){\n return customerList.get(id);\n }", "title": "" }, { "docid": "2f9da8b837ee87091661e31d9e8c5df4", "score": "0.53730214", "text": "Cobro selectByPrimaryKey(Integer id_cobro);", "title": "" }, { "docid": "dad654fd392035e831fdee50cde2413f", "score": "0.5371398", "text": "CategoryInfo selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "507801f82998b75a5f43d8f8a4bc5ae4", "score": "0.5369191", "text": "Optional<Cart> getCartByCartId(int cid);", "title": "" }, { "docid": "afd91d1ae425983bb8aea437fd30843e", "score": "0.53660613", "text": "Career selectByPrimaryKey(Long id);", "title": "" }, { "docid": "5a276d541e9cb8678025b391dc3e2ba2", "score": "0.5365442", "text": "@Override\n\tpublic Contrato get(int contratoId) {\n\t\treturn contratoRepository.getOne(contratoId);\n\t}", "title": "" }, { "docid": "dfd3e17632cb4496a5d52f5eccbc7fa0", "score": "0.53547144", "text": "public resDoctor getDoctorByCode(long code){\n Optional<resDoctor> doctor = repoDoctor.findById(code);\n if(doctor.isPresent())\n return doctor.get();\n else\n //throw exception\n return null;\n }", "title": "" }, { "docid": "e4bac57672a9091f017ce0a898803482", "score": "0.5350853", "text": "@Override\n\tpublic Certificate findOnde(Long id) {\n\t\treturn repository.findOne(id);\n\t}", "title": "" }, { "docid": "ea81c59dd19b3c9fe733e4c32d742247", "score": "0.53447354", "text": "@Override\n @Transactional(readOnly = true)\n public Optional<CustomerCategoryDTO> findOne(Long id) {\n log.debug(\"Request to get CustomerCategory : {}\", id);\n return customerCategoryRepository.findById(id)\n .map(customerCategoryMapper::toDto);\n }", "title": "" }, { "docid": "e69a01b7da99608b7d84cf188aa2f356", "score": "0.53359103", "text": "@Override\n\tpublic Customer getCustomerById(Long passId) throws CustomerNotFoundException{\n\t\tOptional<Customer> customer = repository.findById(passId);\t\t\n\t\treturn customer.orElseThrow(() -> new CustomerNotFoundException(passId));\t\t\n\t}", "title": "" }, { "docid": "7d130c8ffada441f94d667bb63d315d1", "score": "0.5333356", "text": "@Override\r\n\tpublic <T> T findSingle(Criteria ct) {\n\t\tList l = ct.list();\r\n\t\tif (l != null && l.size() == 1) {\r\n\t\t\treturn (T) l.get(0);\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cc7c3c8b243392a043fe360a04f92c79", "score": "0.5331435", "text": "@Transactional(readOnly = true)\n public CashAccount findOne(Long id) {\n log.debug(\"Request to get CashAccount : {}\", id);\n return cashAccountRepository.findOne(id);\n }", "title": "" }, { "docid": "9460ed0c4e93f1773cfc0a42c80a1a06", "score": "0.5330982", "text": "TPic selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "04ae48a69078a5cfdcfd0dce137740ec", "score": "0.53296375", "text": "public Free_constom getDetailByid(String constom_id) {\n\t\tList<Free_constom> free_constoms = new ArrayList<Free_constom>();\r\n\t\tfree_constoms = constomDao.getDetailByid(constom_id);\r\n\t\tif(free_constoms != null&&free_constoms.size()>0){\r\n\t\t\tFree_constom free_constom = free_constoms.get(0);\r\n\t\t\tList<Constomfile> constomfiles = new ArrayList<Constomfile>();\r\n\t\t\tconstomfiles = constomfileDao.getConstomFilesByid(constom_id);\r\n\t\t\tif(constomfiles!=null && constomfiles.size()>0){\r\n\t\t\t\tfree_constom.setConstomFiles(constomfiles);\r\n\t\t\t}\r\n\t\t\treturn free_constom;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "c1ee28cb503b69fdef03eb0918b4cb7e", "score": "0.5326208", "text": "@Transactional(readOnly = true)\n public Optional<CandidatDTO> findOne(Long id) {\n log.debug(\"Request to get Candidat : {}\", id);\n return candidatRepository.findById(id)\n .map(candidatMapper::toDto);\n }", "title": "" }, { "docid": "34c7b8e1b3b18dc76fb54c0213633bc8", "score": "0.5325464", "text": "public Customer getByID( int ID ) {\n\t\tif ( ID > latestCustomer || ID < 0 ) {\n\t\t\treturn null;\n\t\t}\n\t\tfor (Customer customer : customers) {\n\t\t\tif ( customer.getCustomerNo() == ID ) {\n\t\t\t\treturn customer;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9e3f874d608593f8e3f64a3bce101ad0", "score": "0.5325079", "text": "Customer getCustomerById(int id);", "title": "" }, { "docid": "71138d7142495f0fa437dcc30d032619", "score": "0.53216827", "text": "public Customer getCustomer(int id) throws DbException;", "title": "" }, { "docid": "3c82964b07053a555f59f55c62a1cfd0", "score": "0.53194124", "text": "@Override\n\tpublic Curso findById(Long codigoCurso) {\n\t\treturn getSession().get(Curso.class, codigoCurso);\n\t}", "title": "" } ]
593f57168d6a0059cfb2e26ae50afc52
required bool is_var = 4;
[ { "docid": "ce9eb1a6153eacd5620a4181a11d8632", "score": "0.59721607", "text": "public Builder setIsVar(boolean value) {\n bitField0_ |= 0x00000008;\n isVar_ = value;\n \n return this;\n }", "title": "" } ]
[ { "docid": "431489c8951497e624d9513f5569cc18", "score": "0.72888803", "text": "boolean isVariable();", "title": "" }, { "docid": "37608928125494aeff5fe99104b96f72", "score": "0.71040106", "text": "public abstract boolean isVariable();", "title": "" }, { "docid": "eb957d8da98ed72ecc100c45af97c214", "score": "0.70479536", "text": "boolean isSpecificVariable();", "title": "" }, { "docid": "bbfb09959a2be60cbb4b596f61f526c4", "score": "0.6942292", "text": "public boolean isVariable(){\n return isVariable;\n }", "title": "" }, { "docid": "adeb213d71866507739064cb23e07674", "score": "0.68531615", "text": "boolean isVariable() throws Exception;", "title": "" }, { "docid": "04eac3cb52f1ff0ea098c979815a3410", "score": "0.68485993", "text": "public boolean getIsVar() {\n return isVar_;\n }", "title": "" }, { "docid": "3ef1cd3df6deba0b9e7049f826c3bb78", "score": "0.68191713", "text": "int isVar(String name);", "title": "" }, { "docid": "09df9e9818d7fdc961856c52abe8a2a2", "score": "0.6809538", "text": "boolean isVariable() {\n\t\treturn !isConstant();\n\t}", "title": "" }, { "docid": "af9c855edece5c0f6ba6ab839b7848cd", "score": "0.67816037", "text": "public boolean isVariable(){\n return type == LexemType.Variable;\n }", "title": "" }, { "docid": "938aae0ebf788793d311db4433d4e496", "score": "0.65720004", "text": "public boolean getIsVar() {\n return isVar_;\n }", "title": "" }, { "docid": "cb45a8290821574cac7e493d934ee81f", "score": "0.6563759", "text": "BooleanVariable createBooleanVariable();", "title": "" }, { "docid": "d3fd80920829cf7c3b9b573581057e09", "score": "0.6463293", "text": "@SuppressWarnings({\"unchecked\", \"cast\"}) public boolean variableArityValid() {\n boolean variableArityValid_value = getParent().Define_boolean_variableArityValid(this, null);\n return variableArityValid_value;\n }", "title": "" }, { "docid": "a80ba71c5b127196ce5a16f116a64173", "score": "0.6416422", "text": "public boolean isVariable() {\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "3a09f95f33b79500512f054558da9edc", "score": "0.6170551", "text": "public boolean hasIsVar() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "78557ea0a14f14bb7e508b4645c7fd14", "score": "0.610852", "text": "public boolean hasIsVar() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "ed53d5392584b26e3125d3a33f6fa15b", "score": "0.608394", "text": "@CodeCompletion(preferredCase=\"isTrue\")\n public abstract boolean istrue(String varname) throws WGAPIException;", "title": "" }, { "docid": "7eb03caecf5475af11e64acbce7e7f6c", "score": "0.60308856", "text": "public void setRequired(boolean tmp) {\n this.required = tmp;\n }", "title": "" }, { "docid": "0f4d37f7b20d955878b9d8302fc29f11", "score": "0.6021852", "text": "@External\r\n\t@ClientFunc\r\n\tpublic MetaVarBoolean ReadBool(){throw new RuntimeException(\"Should never be executed directly, there is probably an error in the Aspect-coding.\");}", "title": "" }, { "docid": "4e6caa6601e901ba7d79262378a54e2a", "score": "0.6017218", "text": "public void flagVariableEq();", "title": "" }, { "docid": "df15fab3754bbc144e26b52126183fc9", "score": "0.5968181", "text": "@SuppressWarnings({\"unchecked\", \"cast\"}) public boolean isVariableArity() {\n boolean isVariableArity_value = isVariableArity_compute();\n return isVariableArity_value;\n }", "title": "" }, { "docid": "2d0d3e3022dca0ff9fb68ca8faed0542", "score": "0.5961014", "text": "public void method_3238(boolean var1) {\n this.field_2157 = var1;\n }", "title": "" }, { "docid": "dab612219a15d4d27eb961aa7b966f04", "score": "0.59209394", "text": "@Override\n public boolean hasVariable(String name) {\n return true;\n }", "title": "" }, { "docid": "ce23ed6d66ba44c7c4cbb4a4e2fb8fc2", "score": "0.59197634", "text": "public void method_3230(boolean var1) {\n this.field_2158 = var1;\n }", "title": "" }, { "docid": "5776731c7c01812688c026061c56426e", "score": "0.5916793", "text": "Variable var();", "title": "" }, { "docid": "53a439f87a7b16f14b4a3e5a34f7c095", "score": "0.588229", "text": "void mo432a(boolean z);", "title": "" }, { "docid": "27be88ee8f6ef8fb3cdbc4ad047a4c44", "score": "0.5836552", "text": "Variability createVariability();", "title": "" }, { "docid": "793d3fa70e31b113aef0c63959b07b7c", "score": "0.58358735", "text": "void mo5635a(boolean z);", "title": "" }, { "docid": "cddc6c50979a7841087ad6e4b7263f3d", "score": "0.5805688", "text": "public boolean determineAssignment(String var);", "title": "" }, { "docid": "85e8cab9039c28427e86ea3310dafed4", "score": "0.5797833", "text": "void mo5632a(C2649a aVar, boolean z);", "title": "" }, { "docid": "0fb529ab9dea48f8fe83c1172a79c222", "score": "0.5777651", "text": "public Var(boolean isSamp){\n this.isSamp = isSamp;\n }", "title": "" }, { "docid": "570e1f835e08887196e18b3683f83afb", "score": "0.5769082", "text": "@Override public boolean has_tvar() { return true; }", "title": "" }, { "docid": "cdc1cc063f1aaa2ebb8fd28afd199fe2", "score": "0.57508975", "text": "void mo1318a(boolean z);", "title": "" }, { "docid": "2e2af26c6f78fe14cd16cb6233a08e37", "score": "0.57193196", "text": "public void method_888(boolean var1) {\n this.field_597 = var1;\n }", "title": "" }, { "docid": "4634f2dd7effd5ade26c73913236e517", "score": "0.57138115", "text": "public static boolean _boolval(Object _mixedvar) throws Exception{\nif ((_mixedvar).equals((Object)(anywheresoftware.b4a.keywords.Common.False))) { \n //BA.debugLineNum = 12;BA.debugLine=\"Return False\";\nif (true) return anywheresoftware.b4a.keywords.Common.False;\n };\n //BA.debugLineNum = 15;BA.debugLine=\"If mixedVar = 0 Or mixedVar = 0.0 Then\";\nif ((_mixedvar).equals((Object)(0)) || (_mixedvar).equals((Object)(0.0))) { \n //BA.debugLineNum = 16;BA.debugLine=\"Return False\";\nif (true) return anywheresoftware.b4a.keywords.Common.False;\n };\n //BA.debugLineNum = 19;BA.debugLine=\"If mixedVar = \\\"\\\" Or mixedVar = \\\"0\\\" Then\";\nif ((_mixedvar).equals((Object)(\"\")) || (_mixedvar).equals((Object)(\"0\"))) { \n //BA.debugLineNum = 20;BA.debugLine=\"Return False\";\nif (true) return anywheresoftware.b4a.keywords.Common.False;\n };\n //BA.debugLineNum = 23;BA.debugLine=\"If mixedVar = Null Or mixedVar = \\\"undefined\\\" The\";\nif (_mixedvar== null || (_mixedvar).equals((Object)(\"undefined\"))) { \n //BA.debugLineNum = 24;BA.debugLine=\"Return False\";\nif (true) return anywheresoftware.b4a.keywords.Common.False;\n };\n //BA.debugLineNum = 27;BA.debugLine=\"Return True\";\nif (true) return anywheresoftware.b4a.keywords.Common.True;\n //BA.debugLineNum = 29;BA.debugLine=\"End Sub\";\nreturn false;\n}", "title": "" }, { "docid": "7b8d30a2e9da7ea0cbee8c8b0602b650", "score": "0.5692642", "text": "BooleanValue() {\n\t}", "title": "" }, { "docid": "ee479d3c0cfdf28802282a1dd73f6b2c", "score": "0.5691137", "text": "public boolean isVariableArity() {\r\n \t\t\tfor (Modifier m : modifiers) {\r\n \t\t\t\tif (m instanceof Modifier.VarArgs) {\r\n \t\t\t\t\treturn true;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\treturn false;\r\n \t\t}", "title": "" }, { "docid": "86c1d7cd9261c6f2b24028f0d2c49c54", "score": "0.56880426", "text": "void mo3369a(boolean z);", "title": "" }, { "docid": "cf24c91e06cfae5e8247389bd5351bb9", "score": "0.56783813", "text": "boolean getMust();", "title": "" }, { "docid": "3c98748190ba749638edcb6e3619e2f0", "score": "0.5666388", "text": "public final Boolean ruleVarType() throws RecognitionException {\n Boolean current = false;\n\n Token kw=null;\n\n try {\n // PsiInternalStateConstraintTransition.g:283:1: ( (kw= 'String' | kw= 'Integer' | kw= 'Float' | kw= 'Boolean' ) )\n // PsiInternalStateConstraintTransition.g:284:2: (kw= 'String' | kw= 'Integer' | kw= 'Float' | kw= 'Boolean' )\n {\n // PsiInternalStateConstraintTransition.g:284:2: (kw= 'String' | kw= 'Integer' | kw= 'Float' | kw= 'Boolean' )\n int alt10=4;\n switch ( input.LA(1) ) {\n case 14:\n {\n alt10=1;\n }\n break;\n case 15:\n {\n alt10=2;\n }\n break;\n case 16:\n {\n alt10=3;\n }\n break;\n case 17:\n {\n alt10=4;\n }\n break;\n default:\n NoViableAltException nvae =\n new NoViableAltException(\"\", 10, 0, input);\n\n throw nvae;\n }\n\n switch (alt10) {\n case 1 :\n // PsiInternalStateConstraintTransition.g:285:3: kw= 'String'\n {\n\n \t\t\tmarkLeaf(elementTypeProvider.getVarType_StringKeyword_0ElementType());\n \t\t\n kw=(Token)match(input,14,FOLLOW_2); \n\n \t\t\tdoneLeaf(kw);\n \t\t\n\n }\n break;\n case 2 :\n // PsiInternalStateConstraintTransition.g:293:3: kw= 'Integer'\n {\n\n \t\t\tmarkLeaf(elementTypeProvider.getVarType_IntegerKeyword_1ElementType());\n \t\t\n kw=(Token)match(input,15,FOLLOW_2); \n\n \t\t\tdoneLeaf(kw);\n \t\t\n\n }\n break;\n case 3 :\n // PsiInternalStateConstraintTransition.g:301:3: kw= 'Float'\n {\n\n \t\t\tmarkLeaf(elementTypeProvider.getVarType_FloatKeyword_2ElementType());\n \t\t\n kw=(Token)match(input,16,FOLLOW_2); \n\n \t\t\tdoneLeaf(kw);\n \t\t\n\n }\n break;\n case 4 :\n // PsiInternalStateConstraintTransition.g:309:3: kw= 'Boolean'\n {\n\n \t\t\tmarkLeaf(elementTypeProvider.getVarType_BooleanKeyword_3ElementType());\n \t\t\n kw=(Token)match(input,17,FOLLOW_2); \n\n \t\t\tdoneLeaf(kw);\n \t\t\n\n }\n break;\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return current;\n }", "title": "" }, { "docid": "7384bcc791ef0d7377798b1973ee932a", "score": "0.56653345", "text": "public Boolean method_76(Boolean var1) {\n return var1;\n }", "title": "" }, { "docid": "c9ba605306c703767e63906d2cdc954e", "score": "0.56570953", "text": "int qux(boolean b);", "title": "" }, { "docid": "eea02d96bc83e754799d5e5ee7e914bf", "score": "0.56508434", "text": "public boolean get_boolean(){\n return local_boolean;\n }", "title": "" }, { "docid": "2c347485a9bea279e1e16f5c97861b41", "score": "0.5639877", "text": "public void method_890(boolean var1) {\n this.field_596 = var1;\n }", "title": "" }, { "docid": "c12bf4d14d82ecb6ca14997d128496f7", "score": "0.56191105", "text": "void mo4744a(boolean z);", "title": "" }, { "docid": "7f4e35af6245d2f496817b3c5a133efe", "score": "0.561364", "text": "public boolean isVariableReference(){\n return type == LexemType.VariableReference;\n }", "title": "" }, { "docid": "16d4c1bd5165f1436b614471ef22535a", "score": "0.56067425", "text": "void mo3385a(boolean z);", "title": "" }, { "docid": "fe9e4f96a0f68c0faaf639785fc56c8c", "score": "0.55733794", "text": "public abstract void mo122564a(boolean z);", "title": "" }, { "docid": "af1b06cfb3d7002908ff4f044fd94d98", "score": "0.5571479", "text": "void boolField(String name, boolean isDefined, boolean value);", "title": "" }, { "docid": "b2d023d4f78d402817f85ec1c825bce0", "score": "0.5566951", "text": "public boolean getPosVarCheck() {\n return posVarFlag;\n }", "title": "" }, { "docid": "349d982c19e217c904050f66b58802dd", "score": "0.55661494", "text": "public boolean isRequired(){return required;}", "title": "" }, { "docid": "f4d2d9fbc191826ac414deca9a8841f6", "score": "0.55657476", "text": "@CodeCompletion(preferredCase=\"isFalse\")\n public abstract boolean isfalse(String varname) throws WGAPIException;", "title": "" }, { "docid": "55929d58c4a3e7963ca6f64eab51a986", "score": "0.5557014", "text": "public boolean is_set_variables() {\n return this.variables != null;\n }", "title": "" }, { "docid": "c9dda657fa85c85f0e2b3d7848bb274b", "score": "0.55560577", "text": "boolean isRequired();", "title": "" }, { "docid": "c9dda657fa85c85f0e2b3d7848bb274b", "score": "0.55560577", "text": "boolean isRequired();", "title": "" }, { "docid": "c9dda657fa85c85f0e2b3d7848bb274b", "score": "0.55560577", "text": "boolean isRequired();", "title": "" }, { "docid": "78419a78c0e1f19d2d777fd6644cc41e", "score": "0.55535316", "text": "boolean isIsRequired();", "title": "" }, { "docid": "16c3d1c720f1603f4525b7f382dad55d", "score": "0.5543492", "text": "NFP_Boolean createNFP_Boolean();", "title": "" }, { "docid": "00ced44507a20f0e6e7bbb7347a95734", "score": "0.5524213", "text": "public boolean isI_IsImported() \n{\nObject oo = get_Value(\"I_IsImported\");\nif (oo != null) \n{\n if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();\n return \"Y\".equals(oo);\n}\nreturn false;\n}", "title": "" }, { "docid": "56be1e6eeacf9ab7121f6a1a062f08c4", "score": "0.55143476", "text": "public MustBool getBool() {\r\n return bool;\r\n }", "title": "" }, { "docid": "336f8140b4228b43b8661ab5c91ddf1e", "score": "0.5513768", "text": "void mo8483a(boolean z);", "title": "" }, { "docid": "05b91ffac4902d5a4b952ebdd6f3daee", "score": "0.55123556", "text": "public void setRequired(String tmp) {\n this.required = DatabaseUtils.parseBoolean(tmp);\n }", "title": "" }, { "docid": "225e2c8743924b77b3485d2295984fc1", "score": "0.5492017", "text": "boolean getRequired();", "title": "" }, { "docid": "7a2eba26c58591a0d2607087af97f507", "score": "0.54874665", "text": "void mo5668a(boolean z);", "title": "" }, { "docid": "631300c7d8f7009443468506c23f0e7d", "score": "0.5475209", "text": "BooleanFormula make_bool(String v) {\n\t\treturn bmgr.makeVariable(v);\n\t}", "title": "" }, { "docid": "acf3f0502085c2dfbac7274ff6c6ba91", "score": "0.54747146", "text": "void var(final int aNumber);", "title": "" }, { "docid": "6737d7aa6568006437bee19fe55c63c0", "score": "0.54717255", "text": "public void set_boolean(boolean param){\n \n this.local_boolean=param;\n \n\n }", "title": "" }, { "docid": "d4977c4b81ba9f1c694746dd2bdc5120", "score": "0.54625434", "text": "void mo5610a(int i, boolean z);", "title": "" }, { "docid": "b89bfc6c31203eef5c98cca6bbb126b2", "score": "0.54374784", "text": "public void setI_IsImported (boolean I_IsImported)\n{\nset_Value (\"I_IsImported\", new Boolean(I_IsImported));\n}", "title": "" }, { "docid": "4e13cc09f23589941413460395d4ffb6", "score": "0.54322344", "text": "public boolean variableExists(String aName);", "title": "" }, { "docid": "b8ae188dffc380a0e9f0124aac87e041", "score": "0.5428321", "text": "boolean isBar();", "title": "" }, { "docid": "7a89bc284e85bc6b175629f88726d892", "score": "0.5423455", "text": "void mo1785a(boolean z);", "title": "" }, { "docid": "dcbfbadc9b1cdfa9bd036a07b13259c8", "score": "0.54093003", "text": "boolean isFlag();", "title": "" }, { "docid": "f7c9597e70cf6e6c0351517f98a08a57", "score": "0.54083943", "text": "boolean isSetNextrun();", "title": "" }, { "docid": "f7c9597e70cf6e6c0351517f98a08a57", "score": "0.54083943", "text": "boolean isSetNextrun();", "title": "" }, { "docid": "3c2ebcd3b78c93b561550bde8d5992f4", "score": "0.54007214", "text": "public static void main(String[] args) {\n\tfloat f=1.2;\r\n\t// By default boolean accepts only true or false value\r\n\tboolean b=1;\r\n\tSystem.out.println(f);\r\n\tSystem.out.println(b);\r\n}", "title": "" }, { "docid": "315633f4ef92feb21aff38f3abce4ac1", "score": "0.5385791", "text": "void var(final int aNumber, Class type);", "title": "" }, { "docid": "198fe68191877345d33df9f2abb5680f", "score": "0.5381007", "text": "Bool createBool();", "title": "" }, { "docid": "8c0add7081105cf3b925b369c4b3ad14", "score": "0.5378456", "text": "public boolean isInstanceVariable()\r\n \t{\r\n \t\treturn false;\r\n \t}", "title": "" }, { "docid": "ac5f2efb4e3f978e1df45a7c19451937", "score": "0.5377244", "text": "private boolean isVariable(String str) {\n\t\treturn str.matches(\":[a-zA-Z_]+\");\n\t}", "title": "" }, { "docid": "1578f735909a4526217b7e313db92a38", "score": "0.5376456", "text": "public boolean hasVarArgs();", "title": "" }, { "docid": "2e951d7f185bb5ea424c280fde2f0302", "score": "0.53677326", "text": "void mo41861a(@C5938g C12330f fVar);", "title": "" }, { "docid": "71169df48e81f4b05065e3fc7a1d249d", "score": "0.5366379", "text": "void var(final String aVariable);", "title": "" }, { "docid": "99448c34c2e3b004f27d6a01e67a8905", "score": "0.5362961", "text": "public boolean isVar() {\n\t\tif (hasContent()) {\n\t\t\treturn ((Term) getContent()).isVar();\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "d0fd4ec1209dbcbdf75949b31a6fdf09", "score": "0.53620213", "text": "boolean getConst();", "title": "" }, { "docid": "745b6211d7a0e724081a9fc7b621c9cb", "score": "0.53534245", "text": "void mo1626a(boolean z);", "title": "" }, { "docid": "a07cfc4210e0772227b759e036289b72", "score": "0.53516144", "text": "Variable getVar();", "title": "" }, { "docid": "c213b61ff72c1038e052a12d91cac624", "score": "0.53500545", "text": "void mo85584a(boolean z);", "title": "" }, { "docid": "700f7c7f83b60a75962163326da55a5a", "score": "0.53441966", "text": "public static void main(String[] args) {\n\t\tboolean aVar=true;\r\n\t\tSystem.out.println(aVar);\r\n\t}", "title": "" }, { "docid": "cb27d384a817e863c0a1536125822949", "score": "0.53417754", "text": "public boolean isDefined();", "title": "" }, { "docid": "78080c9a27e90092e5500e1c7f5569d0", "score": "0.53385746", "text": "public VariableType getVariableType() {\r\n\treturn variableType;\r\n}", "title": "" }, { "docid": "e5a8a284b76cc64f1df4404b048962cb", "score": "0.533746", "text": "void mo27467ej(boolean z);", "title": "" }, { "docid": "cfe1358d32c6c1ba65fae274d09e1670", "score": "0.5334723", "text": "private FiniteStates getVar() {\n return var;\n }", "title": "" }, { "docid": "ff6d7d5bcaf321f6223ac40ff478405c", "score": "0.5328925", "text": "default boolean isConstraint() {\n return false;\n }", "title": "" }, { "docid": "e52593fba36e5fe910383cd741ff9667", "score": "0.5328536", "text": "public void setVarArgs(boolean hasVarArgs);", "title": "" }, { "docid": "f4f929573ae7dfe0581355c97d5e8b16", "score": "0.5326378", "text": "void mo5612a(boolean z, C1892f fVar, boolean z2, int i);", "title": "" }, { "docid": "76e6cddb84b8857f4cebba1116413c70", "score": "0.53228384", "text": "void mo5670b(boolean z);", "title": "" }, { "docid": "45cf17e52395837ab9851a3acd4f73b2", "score": "0.5322702", "text": "private static final boolean is(boolean b)\n\t{\n\t\treturn b;\n\t}", "title": "" }, { "docid": "0c77805bcb7006752903e1abea34bac9", "score": "0.53067213", "text": "boolean isOptional();", "title": "" }, { "docid": "0c77805bcb7006752903e1abea34bac9", "score": "0.53067213", "text": "boolean isOptional();", "title": "" }, { "docid": "5878942a985da6d2a14768b550be5136", "score": "0.5294867", "text": "int mo10012b(C0719a aVar, String str, boolean z);", "title": "" } ]
7d880bf87dc640a6542fc84d5f0e4096
Returns a List of type Balance which belong to the given Account ID (path parameter accountid)
[ { "docid": "065ca4abdea7c9b16286ef41efb4a416", "score": "0.6432554", "text": "BalanceContainer getBalancesByAccount(AISRequest request) throws BankRequestFailedException;", "title": "" } ]
[ { "docid": "e405757b1d48833a58f990dfe61478c0", "score": "0.7202013", "text": "public BankAccount getAccountBalance(Integer id) {\n\t\tBankAccount ba = bankAccountRepo.findEntityById(id);\n\t\tba.setTransactions(transactionRepo.findByBankAccountId(id).stream()\n\t\t\t\t.filter(t -> Instant.now().minus(30, ChronoUnit.DAYS).compareTo(t.getDate()) < 1)\n\t\t\t\t.collect(Collectors.toList()));\n\t\treturn ba;\n\t}", "title": "" }, { "docid": "edc46426bd1634cf4a837c258c8f3cb4", "score": "0.6839951", "text": "@Override\n public List<BankAccount> displayCustomerBankAccountById(int id) throws BankException {\n List<BankAccount> list = new ArrayList<>();\n try (Connection connection = ConnectionManager.getConnection()) {\n String sql = \"SELECT account_type, balance\\n\" +\n \"FROM mybank_schema.bankaccount WHERE customer_id = ?;\\n\";\n\n PreparedStatement preparedStatement = connection.prepareStatement(sql);\n preparedStatement.setInt(1, id);\n ResultSet resultSet = preparedStatement.executeQuery();\n\n while (resultSet.next()) {\n BankAccount bankAccount = new BankAccount();\n bankAccount.setAccountType(resultSet.getString(\"account_type\"));\n bankAccount.setBalance(resultSet.getDouble(\"balance\"));\n list.add(bankAccount);\n\n }\n if (list.isEmpty()) {throw new BankException(\"No bank account with customer id\");}\n\n } catch (SQLException throwables) {\n logger.error(throwables);\n } catch (ClassNotFoundException e) {\n logger.error(e);\n }\n return list;\n }", "title": "" }, { "docid": "96da6ca50323934486479b8e4cac614c", "score": "0.6645205", "text": "public static double getAccountBalance(int accID) {\n double balance = 0;\n for (Map.Entry<Integer,Employee> a : accountList.entrySet()) {\n int key = a.getKey();\n balance = a.getValue().getBalance();\n }\n return balance;\n }", "title": "" }, { "docid": "0e92fb21dc68fb4f482ee7afb875bf85", "score": "0.663724", "text": "public Account getAccount(int id)\n {\n Account account = AccountDAO.searchAccount(id);\n\n List<BankAccount> lista = BankAccountDAO.searchBankAccount(id);\n account.setBills(lista);\n\n return account;\n }", "title": "" }, { "docid": "8217e964be4ee19f2cf31c782b86d5e0", "score": "0.6546375", "text": "@SuppressWarnings(\"unchecked\")\n public static Map<Integer, Balance> getBalances(long accountId) throws IOException {\n StringBuilder sb = new StringBuilder(64);\n sb.append(\"account=\").append(Utils.idToString(accountId));\n chains.values().forEach(chain -> sb.append(\"&chain=\").append(chain.getName()));\n Response response = issueRequest(\"getBalances\", sb.toString(), DEFAULT_READ_TIMEOUT);\n Map<Integer, Balance> balanceMap = new HashMap<>();\n response.getObject(\"balances\").getObjectMap().entrySet().forEach(entry -> {\n int chainId = Integer.valueOf(entry.getKey());\n Response balance = new Response((JSONObject<String, Object>)entry.getValue());\n balanceMap.put(chainId, new Balance(balance));\n });\n return balanceMap;\n }", "title": "" }, { "docid": "8849aa6477d9f7281584eb2d2d4927d7", "score": "0.64944607", "text": "public List<AccountDetailBalance> getBalancePerAccount() {\n\n if (balancePerAccount == null) {\n balancePerAccount = new ArrayList<AccountDetailBalance>();\n\n if (balancePerAccountContainers != null && ! balancePerAccountContainers.isEmpty()) {\n for (AccountDetailBalanceContainer balancePerAccountContainer : balancePerAccountContainers) {\n balancePerAccount.add(balancePerAccountContainer.getAccountDetailBalance());\n }\n }\n }\n\n return balancePerAccount;\n }", "title": "" }, { "docid": "5b2809a2cf54abf3e236b78c78c05c4a", "score": "0.6478884", "text": "public double getBalance(String id) throws RemoteException {\r\n double result = 0;\r\n Scanner scanner = null;\r\n try {\r\n scanner = new Scanner(accountFile);\r\n while (scanner.hasNextInt()) {\r\n String accountId = scanner.next();\r\n double balance = scanner.nextDouble();\r\n if (accountId.equals(id)) {\r\n result = balance;\r\n break;\r\n }\r\n }\r\n }\r\n catch (Exception e) {\r\n throw new RemoteException(\r\n \"Exception occurred while scanning file: \" + accountFile, e);\r\n }\r\n finally {\r\n if (scanner != null) {\r\n scanner.close();\r\n }\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "f48799bfaf0f6681e5e302317d0ae45b", "score": "0.6377491", "text": "@Path(\"/customer/accountBalance\") \r\n @GET\r\n //@Path(\"/customer/{Uid}/{ACCno}\") \r\n @Produces(MediaType.APPLICATION_JSON)\r\n public Response getIdAccount(@QueryParam(\"Uid\") String id, @QueryParam(\"ACCno\") String ACCno) {\r\n Gson gson = new Gson();\r\n \r\n //Customer b = bs.getCustomer(id);\r\n //List<Account> listA =b.getListAccount();\r\n String CBval = \"Balance is: \"+ bs.getCBalance(id,ACCno);\r\n Account A =bs.getAccount(id,ACCno);\r\n //String CBval = gson.toJson(list[ACCno]);\r\n return Response.status(Response.Status.CREATED).entity(gson.toJson(A)).build();\r\n }", "title": "" }, { "docid": "70eb92d5f1a617b8c85fdc988a551450", "score": "0.6372269", "text": "@Override\r\n\tpublic List<AccountsContract> GetById(int id) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "3da5f7b02edbbf0e54194039dc011fff", "score": "0.63046646", "text": "public static ArrayList<Rdv> getListRdvByIdAccount(int idAccount){\r\n\t\treturn DaoRetRDV.getRdvByIdAccount(idAccount);\r\n\t}", "title": "" }, { "docid": "d301572ceb74702dfa5e6cf36dddf546", "score": "0.627413", "text": "java.util.List<java.lang.Integer> getAccountIdList();", "title": "" }, { "docid": "ad639d11835d8be6d589e356e235d5bd", "score": "0.6263734", "text": "@GET\n @Path(\"/{accountId}/balance\")\n public BigDecimal getBalance(@PathParam(\"accountId\") Long accountId) throws BaseException {\n final CustomerAccount customerAccount = daoFactory.getCustomerAccountDAO().getCustomerAccountById(accountId);\n\n if(customerAccount == null){\n throw new WebApplicationException(\"CustomerAccount not found\", Response.Status.NOT_FOUND);\n }\n return customerAccount.getBalance();\n }", "title": "" }, { "docid": "8538bbda904c380074a3ab97fe603e03", "score": "0.6235217", "text": "@GetMapping(path = \"/accounts/{accountId}/balance\")\n @CrossOrigin(origins = \"http://localhost:4200\")\n public BigDecimal retrieveAccountBalance(@PathVariable long accountId) {\n Optional<Account> account = accountRepository.findById(accountId);\n if (!account.isPresent()) {\n throw new AccountNotFoundException(\n String.format(\"Account %s not found.\", accountId));\n }\n return account.get().getAccountBalance();\n }", "title": "" }, { "docid": "0cabe3d6e1e1f7f5af765b65d79aec54", "score": "0.6215086", "text": "@GetMapping(path = \"/accounts/{accountId}/snapshot\")\n @CrossOrigin(origins = \"http://localhost:4200\")\n public AccountSnapshotContainer retrieveAccountBalanceAndListOfTransactions(\n @PathVariable long accountId) {\n Optional<Account> account = accountRepository.findById(accountId);\n if (!account.isPresent()) {\n throw new AccountNotFoundException(\n String.format(\"Account %s not found.\", accountId));\n }\n AccountSnapshotContainer accountSnapshot =\n new AccountSnapshotContainer(\n account.get().getAccountId(), \n account.get().getAccountBalance(), \n transactionService.retrieveTransactionsForAccount(accountId));\n return accountSnapshot;\n }", "title": "" }, { "docid": "5c1bd760a3cc043faf3a9161d46e8d9b", "score": "0.6177938", "text": "List<Transaction> getTransactionsForAccount(int accountId);", "title": "" }, { "docid": "e1784df7c952eb09d49b84873094829a", "score": "0.6168667", "text": "@GET\n @Path(\"/{id}/transactions\")\n @UnitOfWork\n public List<Transaction> findTransacationsByAccountId(@PathParam(\"id\") NonEmptyStringParam accountId) {\n log.info(\"Retrieve all the transactions recorded for the account with id {}\", accountId);\n Optional<Account> accountOptional = accountDAO.findById(accountId.get().get());\n if (!accountOptional.isPresent())\n throw new NotFoundException(\"No account found with the id \" + accountId);\n return accountOptional.get().getTransactions();\n }", "title": "" }, { "docid": "c1da0535ed33b1f0889a8ac3228613ec", "score": "0.61635274", "text": "public BankAccount getAccount(int id) {\n if (id < accounts.size()) {\n return accounts.get(id);\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "2836dd7365d33b9b28f2ca14b8e7e940", "score": "0.6032202", "text": "public Daniel_Szpunar_Account(int id, double balance) {\n this.id = id;\n this.balance = balance; \n }", "title": "" }, { "docid": "a30a14b24d8623ced3e3b88a3779dcb6", "score": "0.60202104", "text": "List<AccountDetails> getAccountList(AISRequest request) throws BankRequestFailedException;", "title": "" }, { "docid": "2208ac72ab09dab16587fe9362819b54", "score": "0.601545", "text": "public Bills getBillFromBillId(String id);", "title": "" }, { "docid": "98da192c8747f4dc0f23f92f2891600e", "score": "0.5979174", "text": "public Account findAccount(Long id);", "title": "" }, { "docid": "226700081304a20440d7032c5ac1da96", "score": "0.59188795", "text": "String getBalance(String customerId);", "title": "" }, { "docid": "ee07b214020aee8a45b0d1c3fadb5868", "score": "0.5905675", "text": "@Override\r\n\tpublic List<Account> deposit(int id, double amtD) {\n\t\tHashMap<Integer, Account> map = new HashMap<>(StaticDB.getDetails());\r\n\t\tInteger id2 = id;\r\n\t\tif(map.containsKey(id2)) {\r\n\t\t\tdouble amt = map.get(id2).getBalance();\r\n\t\t\tdouble amtD1 = map.get(id2).setBalance(amt + amtD);\t\r\n\t\t}\r\n\t\tList<Account> list = new ArrayList<>(map.values());\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "2d7da53a417cedb17eb54bb2ac4f0c73", "score": "0.5867821", "text": "public Long getAcctBalanceId() {\n return acctBalanceId;\n }", "title": "" }, { "docid": "a498c7bebaf7e63dd0d272de8ed42c46", "score": "0.58605224", "text": "public ArrayList<History> getAccountHistory(int id)\n {\n ArrayList<History> historyList;\n historyList = (ArrayList<History>) HistoryDAO.searchHistory(id);\n\n return historyList;\n }", "title": "" }, { "docid": "56e87129b50083f0542abe8c35004abe", "score": "0.5823533", "text": "public Set<Account> viewMyAccount(Long id) {\n\t\tSet<Account> list = accRepo.findByUserId(id);\n\t\tlist.size();\n\t\treturn list;\n\t\t}", "title": "" }, { "docid": "b83c277b8b82575aa9669f4a79a3c550", "score": "0.58149564", "text": "public List<AccountDto> fetchAccounts(Long userId);", "title": "" }, { "docid": "e76b9000ad8c475f9e838bf6ca5c43e8", "score": "0.5803421", "text": "java.util.List<java.lang.String>\n getAccountIdList();", "title": "" }, { "docid": "7d5979675209790e34692de6a13427f2", "score": "0.5783095", "text": "RevArrayList<BankAccount> getAllBankAccounts(UserAccount owner);", "title": "" }, { "docid": "2b93d115848f12d11d127dc7f86fbf76", "score": "0.5779263", "text": "Account(int id, double balance) {\r\n\t\tname = \"\";\r\n\t\tthis.id = id;\r\n\t\tthis.balance = balance;\r\n\t\tdateCreated = new Date();\r\n\t\ttransactions = new ArrayList<Transaction>();\r\n\t}", "title": "" }, { "docid": "39e88c958156f280cd4bccef42db9552", "score": "0.5771202", "text": "public abstract BigDecimal getAccountBalance(Long accountNum);", "title": "" }, { "docid": "439f93f3c3455d2a77c03b2a85791267", "score": "0.5769535", "text": "InternalAccountData getAccountData(String id);", "title": "" }, { "docid": "002e6befcbf93fc2c87924ec149d6f33", "score": "0.5753266", "text": "public List<Account> getAccounts(int custID) throws AccessDeniedException {\n //check if customer exists\n\n Login login = null;\n //check if the account exisis\n try {\n login = getLogin(custID);\n } catch (NoResultException e) {\n throw new AccessDeniedException(\"\\nUser does not exist\");\n }\n short isTrue = 1;\n if (login.getIsstaff().equals(isTrue)) {\n throw new AccessDeniedException(\"\\nStaff can not have any accounts\");\n }\n List<Account> accountList = em.createNamedQuery(\"Account.findByCustidAndIsActive\").setParameter(\"custid\", custID).setParameter(\"isactive\", isTrue).getResultList();\n return accountList;\n }", "title": "" }, { "docid": "97b1b5f581fedf20291e80f6ac19099f", "score": "0.57460874", "text": "@Override\r\n\tpublic List<Account> getAccountList(Account account) {\n\t\treturn accountMapper.getAccountList(account);\r\n\t}", "title": "" }, { "docid": "14e4e9e3625b15fcd15314a45495f727", "score": "0.57418966", "text": "public ArrayList<Account> getAll();", "title": "" }, { "docid": "5fc933e15b4af5b8a80cd89b2df24020", "score": "0.57349366", "text": "@RequestMapping(\"/ajaxDetails/{id}\")\n\tpublic @ResponseBody List<PortfolioBalance> /*List<User>*/ listAjax(@PathVariable(\"id\") Integer id) {\n\t\tClient client = clientService.findOne(id);\n\t\tList<PortfolioBalance> list = client.getPortfolio().getPortfolioBalances();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "106467f98b1102b29b3ed3390eccf208", "score": "0.5729436", "text": "@Override\n public List<BankAccount> getBankAccountAll(String userId) throws Exception {\n\t\tlog.info(\"[getBankAccountAll] start getBankAccountAll in Service\");\n\t\treturn bankAccountDaoImpl.getBankAccountAll(userId);\n }", "title": "" }, { "docid": "d10978a11d17658c0ef80f22816188aa", "score": "0.5722254", "text": "public BankingInfo searchBankingInfo(int id){\n\t\tfor(int i = 0; i < getBankList().size(); i++){\n\t\t\tif(id == getBankList().get(i).getBankID()){\n\t\t\t\treturn getBankList().get(i);\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1cb3abe66025c669744a9dc0cc5de546", "score": "0.5712414", "text": "@GetMapping(\"/accountholders/balance\")\n @ApiOperation(value=\"Check balance from Account Holders' account\",\n response = AccountHolder.class)\n @ResponseStatus(HttpStatus.OK)\n public BigDecimal checkAccountBalance(@RequestParam(value = \"account_id\", required = true) Integer accountId, @RequestParam(value = \"user_id\", required = true) Integer userId){\n return accountsHolderService.checkAccountBalance(accountId, userId);\n }", "title": "" }, { "docid": "95072bb0239c189597cc9c674620019d", "score": "0.5686485", "text": "public static void displayViewAccountBalance() {\r\n\t\tList<Account> accounts = new ArrayList<Account>();\r\n\t\taccounts = custService.viewAccountBalance(LoginController.user.getUserId());\r\n\t\tSystem.out.printf(\"\\n****************************************************\\n\"\r\n\t\t\t\t+ \"ACCOUNT BALANCE\\n\" \r\n\t + \"***************************************************\\n\");\r\n\t\t\r\n\t\tif(accounts.size() > 0) {\r\n\t\t\tfor(Account acc: accounts) {\r\n\t\t\t\tSystem.out.println(acc.getAccountId() + \" | \" + acc.getAccountType() + \" | $\" + acc.getBalance());\r\n\t\t\t}\r\n\t\t}else {\r\n\t\t\tSystem.out.println(\"No account found for the user.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e15c3128eab69f10febb5caaf9a0c7b1", "score": "0.5685818", "text": "@Override\n public List<BankAccount> viewBankAccount(String username) throws BankException {\n List<BankAccount> list = new ArrayList<>();\n Customer customer = new Customer();\n try (Connection connection = ConnectionManager.getConnection()) {\n String sql = \"select c.username, c.customer_id from mybank_schema.customer c where c.username = ?;\\n\";\n PreparedStatement preparedStatement = connection.prepareStatement(sql);\n preparedStatement.setString(1, username);\n ResultSet resultSet = preparedStatement.executeQuery();\n while (resultSet.next()) {\n customer.setCustomerId(resultSet.getInt(\"customer_id\"));\n }\n\n String sql1 = \"SELECT customer_id, account_type, balance\\n\" +\n \"from mybank_schema.bankaccount where customer_id = ?;\";\n PreparedStatement preparedStatement1 = connection.prepareStatement(sql1);\n preparedStatement1.setInt(1, customer.getCustomerId());\n ResultSet resultSet1 = preparedStatement1.executeQuery();\n while (resultSet1.next()) {\n\n BankAccount bankAccount = new BankAccount();\n bankAccount.setAccountType(resultSet1.getString(\"account_type\"));\n bankAccount.setBalance(resultSet1.getDouble(\"balance\"));\n list.add(bankAccount);\n }\n if (list.isEmpty()) throw new BankException(\"No account is found with this username\");\n\n } catch (SQLException throwables) {\n logger.error(throwables);\n } catch (ClassNotFoundException e) {\n logger.error(e);\n }\n\n return list;\n }", "title": "" }, { "docid": "02399234dc0ac38ff8b9e73d3ed78605", "score": "0.5672687", "text": "@Override\n public DbResponse<AccountModel> getAccount(String id) {\n\n Validator.validateNotEmpty(id, ErrorMessages.ACCOUNT_ID_EMPTY);\n\n DbResponse<AccountModel> resp = new DbResponse<AccountModel>();\n try (Handle handle = MySQLDataSource.getDataSourceAsDbiHandler().open()) {\n\n List<AccountModel> accountModels =\n handle.createQuery(findAccountSQL).bind(\"id\", id).map(AccountModel.class).list();\n\n if (accountModels != null) {\n if (accountModels.isEmpty()) {\n resp.setErrorCode(ErrorCode.DB_RECORD_NOT_FOUND);\n resp.setErrorMessage(String.format(ErrorMessages.ACCOUNT_NOT_FOUND, id));\n _log.warn(\"Account \" + id + \" not found\");\n } else {\n _log.debug(String.format(\"Succesfully recieved account %s\", id));\n resp.setResponseObj(accountModels.get(0));\n }\n } else {\n _log.warn(String.format(\"An internal error occured while getting account %s\", id));\n resp.setErrorCode(ErrorCode.DB_INTERNAL_ERROR);\n resp.setErrorMessage(ErrorMessages.DB_INTERNAL_ERROR);\n }\n } catch (DBIException e) {\n _log.warn(\"An error encountered while fetching account \" + id + \". Exception \" + e.getMessage());\n resp.setErrorCode(MySQLExceptionMapper.fetchErrorStatus(e));\n resp.setErrorMessage(ErrorMessages.DB_INTERNAL_ERROR);\n }\n return resp;\n }", "title": "" }, { "docid": "1b450a68658a3a08186dd7797ec97c46", "score": "0.5664808", "text": "public long getAccountBalanceId() {\n\t\treturn accountBalanceId;\n\t}", "title": "" }, { "docid": "1756fb9c78f1b28e73ffa74f18f35171", "score": "0.56516427", "text": "private AccountInfo getAccountInfo(int id) {\n if (id != 0 && mListAccountInfo.size() >= 2)\n id = id - 1;\n\n return mListAccountInfo.get(id);\n }", "title": "" }, { "docid": "c354ff471c7fbb28a968c43866e64263", "score": "0.5648484", "text": "Collection<Transfer> getTransfersByAccountId(Long accountId);", "title": "" }, { "docid": "fd1b592b50306539871809a52d6b9c43", "score": "0.5609649", "text": "public List<AccountDTO> getListAccountOfGroup(int groupId);", "title": "" }, { "docid": "77ba57a2de6f2084c0cf4690089b2a1b", "score": "0.55987495", "text": "public Account getAccount(int accountId) {\n Log.d(\"I\", \"GETACCOUNT RAN\");\n // get cursor from db\n Cursor c = this.getAccountDetails(accountId);\n Account output = null;\n // move to beginning of set\n if (c.moveToFirst()) {\n // construct an account\n // check what type of account it is\n String name = c.getString(c.getColumnIndex(\"NAME\"));\n String balanceS = c.getString(c.getColumnIndex(\"BALANCE\"));\n BigDecimal balance = new BigDecimal(balanceS);\n int accountTypeId = c.getInt(c.getColumnIndex(\"TYPE\"));\n // check what type of account this is\n String accountTypeName = this.getAccountTypeName(accountTypeId);\n if (accountTypeName.equalsIgnoreCase(AccountTypes.CHEQUING.name())) {\n // create ChequingAccount object\n output = new ChequingAccount(accountId, name, balance);\n } else if (accountTypeName.equalsIgnoreCase(AccountTypes.SAVING.name())) {\n // create SavingsAccount object\n output = new SavingsAccount(accountId, name, balance);\n } else if (accountTypeName.equalsIgnoreCase(AccountTypes.TFSA.name())) {\n // create TFSA object\n output = new Tfsa(accountId, name, balance);\n } else if (accountTypeName.equalsIgnoreCase(AccountTypes.RESTRICTEDSAVING.name())) {\n // create restricted savings acc\n output = new RestrictedSavingsAccount(accountId, name, balance);\n } else if (accountTypeName.equalsIgnoreCase(AccountTypes.LOAN.name())) {\n // create loan acc\n output = new Loan(accountId, name, balance);\n }\n }\n output.setType(getAccountType(accountId));\n c.close();\n // return the account object\n return output;\n }", "title": "" }, { "docid": "0fa0facb0306f03efb522ace596bc910", "score": "0.5598087", "text": "Account getBalance(long accountNumber, String userName) throws RemoteException;", "title": "" }, { "docid": "c71b4ba29e98736c1810728b6d14ae4a", "score": "0.5590293", "text": "@Override\r\n\tpublic List<?> getAllosBeanByMonth(int id, int accountid) {\n\t\tString hql = \"from OneosBean as o join fetch o.allos as alo join fetch alo.allaccount as al join fetch al.account as ac where ac.id = :id and al.id = :accountid\";\r\n\t\tQuery query = getSession().createQuery(hql);\r\n\t\tquery.setInteger(\"id\", id);\r\n\t\tquery.setInteger(\"accountid\", accountid);\r\n\t\tList<?> list = query.list();\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "0482702320e07786f181cd5a4b9ad299", "score": "0.55847543", "text": "public List<BillDetails> getBillDetailFromBillId(String billId);", "title": "" }, { "docid": "08b2441e3b3e0bd5030cb6ac6f49b6a2", "score": "0.5569751", "text": "@GetMapping(path = \"/accounts/{accountId}/transactions\")\n @CrossOrigin(origins = \"http://localhost:4200\")\n public List<Transaction> retrieveAccountTransactions(@PathVariable long accountId) {\n Optional<Account> account = accountRepository.findById(accountId);\n if (!account.isPresent()) {\n throw new AccountNotFoundException(\n String.format(\"Account %s not found.\", accountId));\n }\n return transactionService.retrieveTransactionsForAccount(accountId);\n }", "title": "" }, { "docid": "c902acfeecdb6e41d62b1867ce0dcf66", "score": "0.5545547", "text": "@GET\n\tpublic Response getBranches(@PathParam(\"bankId\") int bankId) {\n\t\tBankService service = new BankService();\n\t\treturn Response.ok(service.getBranches(bankId)).build();\n\t}", "title": "" }, { "docid": "09cd434441a52a99b4e8888080cfac4a", "score": "0.5535719", "text": "public static ArrayList<Account> getAccountList(){\r\n\t\t\treturn accountList;\r\n\t\t}", "title": "" }, { "docid": "b1cdfe9f18d21a7087bdaec2c73bbf37", "score": "0.5533984", "text": "GameRsp<Object> gamesAllBalance( String account ) throws Exception;", "title": "" }, { "docid": "9e241887f846a64b57867cdf5e3aac69", "score": "0.55319583", "text": "@Override\r\n\tpublic Optional<Account> getAccount(String id) {\n\t\treturn Optional.of(account);\r\n\t}", "title": "" }, { "docid": "c4184473e84b602cd18ee7c4ab410b18", "score": "0.5526198", "text": "public ProjectBean showBalance(long acctNo) throws Exception ;", "title": "" }, { "docid": "b4c3dba74a0f4ca82c136f2f1d1083e5", "score": "0.54868305", "text": "List<Payment> selectAllByAccountNumber(long accountNumber);", "title": "" }, { "docid": "99c0e4146a94976c7c167870a4a1c2c7", "score": "0.54865456", "text": "protected List<Account> getList(DSLContext transactionContext) {\n return accountDao.getList(transactionContext);\n }", "title": "" }, { "docid": "eb70946ce6d27e8663ce7b2158162eb6", "score": "0.54862374", "text": "WalletDto getBalance(String emailId);", "title": "" }, { "docid": "1a6293f55adbebda043de5432d11a43a", "score": "0.54832596", "text": "@Override\n\tpublic String showBalance( String accountId )\n\t{\n\t\ttry(Statement stmt = _connection.createStatement()){\n\n\t\t\tString sql = \"SELECT a_id, balance, isClosed \" +\n\t\t\t\t\t\"FROM Account \" +\n\t\t\t\t\t\"WHERE a_id = \" + parse(accountId);\n\t\t\tResultSet r = stmt.executeQuery(sql);\n\t\t\tdouble res = 0.0;\n\t\t\tif (!r.next())\n\t\t\t\treturn \"1\";\n\t\t\telse if (r.getInt(\"isClosed\") == 1)\n\t\t\t\treturn \"0 0.00\";\n\t\t\telse\n\t\t\t\tres = r.getDouble(\"balance\");\n\t\t\t\tString ret = String.format(\"%.2f\",res);\n\t\t\t\treturn \"0 \" + ret;\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(\"Failed select a_id\");\n\t\t\tSystem.out.println(e);\n\t\t\treturn \"1\";\n\t\t}\n\t}", "title": "" }, { "docid": "43ec4fda9fcc4cfafa5df1903d1f218a", "score": "0.5479335", "text": "public abstract ArrayList<BigInt> getBalanceHistoryFor(Date start, Date end, TimePeriod period);", "title": "" }, { "docid": "17580e2d4c5d29f96494b83198a11117", "score": "0.5477319", "text": "public com.epagoinc.clientcatalogqueryservice.BankAccount[] getBankAccounts() {\n return bankAccounts;\n }", "title": "" }, { "docid": "0e00cc155abf2331ef15308a4ad51175", "score": "0.54673684", "text": "public List<Account> getAllAccounts(){\n return this.accountRepository.findAll();\n }", "title": "" }, { "docid": "58639d5a3260abbead8d5e2ac990020e", "score": "0.5466191", "text": "@Override\n public double getBalance(int accountId, int custId, ClientType clientType) throws AccessDeniedException {\n Account account = null;\n Login login = null;\n\n //check if the account exisis\n try {\n account = getAccount(accountId);\n } catch (NoResultException e) {\n throw new AccessDeniedException(\"\\nAccount does not Exist!\");\n }\n\n //check if the login exisis\n try {\n login = getLogin(custId);\n } catch (NoResultException e) {\n throw new AccessDeniedException(\"\\nUser does not exist\");\n }\n\n if (clientType == ClientType.IB || clientType == ClientType.ATM) {\n //check if the customer owns the accounts\n System.out.println(account.getCustid());\n System.out.println(login.getCustid());\n if (account.getCustid().equals(login.getCustid())) {\n return account.getBalance();\n } else {\n throw new AccessDeniedException(\"\\nYou do not own of the Account!\");\n }\n } else {//TM\n\n return account.getBalance();\n }\n\n }", "title": "" }, { "docid": "02e6478fb1bd3336f392896ddf365414", "score": "0.54654956", "text": "@Override\n\tpublic List<Account> listAccount() {\n\t\treturn accountRepository.findAll();\n\t}", "title": "" }, { "docid": "d45c1e8eb9683b954c56dc5948a6f305", "score": "0.54619527", "text": "public int getBalance(int accountNumber) {\n return accounts.get(accountNumber);\n }", "title": "" }, { "docid": "db45ecbeac367aa72218f4e583531776", "score": "0.54562986", "text": "@GET\r\n @Path(\"/customer/acc/{Uid}\") \r\n @Produces(MediaType.APPLICATION_JSON)\r\n public Response getIdAllAccount(@PathParam(\"Uid\") String id) {\r\n Gson gson = new Gson();\r\n \r\n //List<Customer> books = bs.getAllCustomers();\r\n Customer b = bs.getCustomer(id);\r\n List<Account> listA =b.getListAccount();\r\n //String Acc = gson.toJson(list);\r\n return Response.status(Response.Status.CREATED).entity(gson.toJson(listA)).build();\r\n }", "title": "" }, { "docid": "f042147d192247cb16bb2ad922fd3a26", "score": "0.5455392", "text": "@RequestMapping(value = \"/student/{id}/accounts\", method = RequestMethod.GET)\n\tpublic @ResponseBody List<Account> getStudentAccounts(@PathVariable(\"id\") int id) {\n\t\tlogger.info(\"Retrieving the student Accounts Information...\");\t\t\n\t\tList<Account> accounts = accountService.getStudentAccounts(id);\n\t\treturn accounts;\n\t}", "title": "" }, { "docid": "7e76b41f9b60c487db69de1b7ee36fdd", "score": "0.545424", "text": "PagedList<Account> getAccounts();", "title": "" }, { "docid": "1fd307a724be6a60a9bac19aaecedb03", "score": "0.5452872", "text": "@Override\n\tpublic List<AccountBusinessCreateInfo> getAccountList(Long startid, int serviceIndex, int vipIndex, Pageable p) {\n\n\t\tif (accounts == null) {\n\t\t\taccounts = Lists.newArrayList();\n\t\t}\n\t\tList<AccountBusinessCreateInfo> accountSave = Lists.newArrayList();\n\t\taccounts.clear();\n\t\tif (serviceIndex == 100 && vipIndex == 100) {\n\t\t\taccountSave.addAll(accountRepository.findByIdGreaterThan(startid, p));\n\t\t} else {\n\t\t\taccountSave.addAll(accountRepository.findByServerAndVip(serviceIndex, vipIndex));\n\t\t}\n\t\t\n\t\tfor (int i = 0 ; i < accountSave.size() ; i++) {\n\t\t\tif (accountSave.get(0).getAccountforresult() == CommonUtils.RESULT_TYPE_BUSIN || accountSave.get(0).getAccountforresult() == CommonUtils.RESULT_TYPE_LOCK) {\n\t\t\t\taccounts.add(accountSave.get(i));\n\t\t\t}\n\t\t}\n\t\t\n\t\tLOGGER.info(\"size\", \"\" + accounts.size());\n\t\treturn accounts;\n\t}", "title": "" }, { "docid": "008a3fa1e959ce2109d6c1cbaffb270b", "score": "0.5441993", "text": "public Bank getBank(String gameid) {\n return bankMap.get(gameid);\n }", "title": "" }, { "docid": "cc018b410cdb012593a25776fa161717", "score": "0.54320693", "text": "public int getBalanceID() {\n return BalanceID;\n }", "title": "" }, { "docid": "49bce888977c3f1b13993e8c2c665e97", "score": "0.5430992", "text": "@Override\r\n\tpublic List<Account> delAccount(int id) {\n\t\tHashMap<Integer, Account> map = new HashMap<>(StaticDB.getDetails());\r\n\t\tInteger id1=id;\r\n\t\t/*\r\n\t\tif(map.containsValue(map.get(id1).getCustId())) {\r\n\t\t\tmap.remove(id1);\r\n\t\t}\r\n\t\t*/\r\n\t\t\r\n\t\tif(map.containsKey(id1)) {\r\n\t\t\tmap.remove(id1);\r\n\t\t}\r\n\t\tList<Account> list = new ArrayList<>(map.values());\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "224ee54c65e65b49c488a032096ee62d", "score": "0.5428888", "text": "ObservableList<Account> getAccountList();", "title": "" }, { "docid": "500a034d2a72e5a636dcac3c6a654500", "score": "0.5423373", "text": "@WebMethod\n public RewardBalance[] getRewardBalance(@WebParam(name=\"merchantNo\")Long merchantNo, @WebParam(name=\"loyaltyId\")String loyaltyId) {\n List<CustomerRewardBalance> customerRewardBalanceList = customerRewardBalanceService.searchBalances(merchantNo,loyaltyId,null);\n\n // Convert the list to Resource\n List<CustomerRewardBalanceResource> customerRewardBalanceResourceList = customerRewardBalanceAssembler.toResources(customerRewardBalanceList);\n\n\n // Get the list of RewardBalance\n RewardBalance rewardBalance[] = new RewardBalance[customerRewardBalanceResourceList.size()];\n\n\n for(int i=0;i<rewardBalance.length ; i++ ) {\n\n // Get the CustomeRewardBalance object\n CustomerRewardBalanceResource customerRewardBalanceResource = customerRewardBalanceResourceList.get(i);\n\n // Initialize the RewardBAlance object\n rewardBalance[i] =new RewardBalance();\n\n // Set the loyalyt id\n rewardBalance[i].setLoyaltyId(customerRewardBalanceResource.getCrbLoyaltyId());\n\n rewardBalance[i].setRwdBalance(customerRewardBalanceResource.getCrbRewardBalance());\n\n rewardBalance[i].setRwdCurrency(customerRewardBalanceResource.getCrbRewardCurrency());\n\n rewardBalance[i].setRwdCashbackValue(customerRewardBalanceResource.getRwdCashbackValue());\n\n rewardBalance[i].setRwdCurrencyName(customerRewardBalanceResource.getRwdCurrencyName());\n\n }\n\n\n // Return the reward blaance\n return rewardBalance;\n\n }", "title": "" }, { "docid": "eebe954fcabb196269bc5a922858eabb", "score": "0.54210234", "text": "private double getAccountBalance(String accountId) {\n System.out.println(\"Checking balance for Account \" + accountId);\n return server.getAccountBalance(accountId);\n }", "title": "" }, { "docid": "6cdd6cc35aaa36d41c85ff952a252241", "score": "0.54067475", "text": "@GetMapping(\"/account/{id}\")\n private AccountDetails getAccount(@PathVariable(\"id\") String id)\n {\n return accountService.getAccountById(id);\n }", "title": "" }, { "docid": "318acb821a0c0dbccbe297d204c83927", "score": "0.54060704", "text": "org.qsn.api.rpc.grpc.proto.entity.common.BInteger getBalance();", "title": "" }, { "docid": "e288b557975b0764a7e2a84881c1db11", "score": "0.5390692", "text": "List<BankCard> getBankCardsForUser(User user);", "title": "" }, { "docid": "4be80303a5e6effc679d3379d0a6347d", "score": "0.53865826", "text": "public List<Income> getAllUndepositedIncomesForAccount(String accountId) {\n\n List accounts = getHibernateTemplate().find(\"from Account account where account.id=?\", Long.valueOf(accountId));\n Account account = (Account) accounts.get(0);\n\n //getHibernateTemplate().getSessionFactory().openSession();\n Set<User> users = account.getUsers();\n List<Long> userIds = new ArrayList<Long>();\n\n for (User user : users) {\n userIds.add(user.getId());\n System.out.println(user.getId().toString());\n }\n\n String[] paramNames = new String[]{\"userIds\"};\n Object[] values = new Object[]{userIds};\n List incomes = getHibernateTemplate().findByNamedParam(\n \"from Income income where income.userId in (:userIds) and income.depositId < 1 and income.checkNumber is not null order by income.date\", paramNames, values);\n return new ArrayList<Income>(incomes);\n }", "title": "" }, { "docid": "1a7cbad6b4878a999a7e6ac25bde762a", "score": "0.53857243", "text": "public static Habitat[] getAll(int accountID) throws SQLException {\r\n\t\tList<Habitat> habitatList = new ArrayList<Habitat>();\r\n\t\tResultSet rs = Database.getInstance().fetch(\"SELECT * FROM lak_habitat WHERE accountID = ?\", new String[] {accountID+\"\"});\r\n\t\twhile (rs.next()) {\r\n\t\t\tHabitat habitat = new Habitat(rs);\r\n\t\t\thabitatList.add((Habitat) habitat.loadLinkings());\r\n\t\t}\r\n\t\treturn habitatList.toArray(new Habitat[]{});\r\n\t}", "title": "" }, { "docid": "a0970fc906f02730bf4fa9350220750c", "score": "0.5381008", "text": "@GetMapping(\"/account/balance\")\n public double getAccountBalance(@RequestBody String IBAN) {\n Account currentAccount = accountServiceImp.findByIBAN(IBAN);\n return currentAccount.getBalance();\n }", "title": "" }, { "docid": "8160c9daf73c630b687da9b5aca3a0e3", "score": "0.5372955", "text": "public List<SavingsAccount> getAll(){\n String query = \"SELECT * from \" +TABLE_NAME;\n \n List<SavingsAccount> accounts = new ArrayList<>();\n \n try (Connection connection = getConnection();\n PreparedStatement ps = connection.prepareStatement(query);\n ResultSet rs = ps.executeQuery()){\n \n String[] accountInfo = new String[3];\n \n \n //populates an array with the the info on the database\n while (rs.next()){\n for (int i = 0; i < accountInfo.length; i++){\n accountInfo[i] = rs.getString(i+1);\n }\n SavingsAccount a = new SavingsAccount(accountInfo);\n accounts.add(a);\n }\n \n return accounts;\n \n } catch (SQLException e){\n System.err.println(e);\n return null;\n }\n }", "title": "" }, { "docid": "c656f925efce02014c5255fda656996a", "score": "0.5372529", "text": "public List<Account> getAccountOfCustomer(int uid) {\r\n\t\tList<Account> accountlist = new ArrayList<>();\r\n\t\t\r\n\t\tAccountDaoImpl accountDao = new AccountDaoImpl();\r\n\t\t\r\n\t\taccountlist = accountDao.getAccountList(uid);\r\n\t\t\r\n\t\treturn accountlist;\r\n\t}", "title": "" }, { "docid": "517a062ced0a9ebf5efcac202304419f", "score": "0.53675383", "text": "public List<String> getAccount() {\n\n int i=0;\n\n List<String> accounts = new ArrayList<String>();\n\n String[] columns={\"account\",\"id\"};\n\n this.open();\n cursor = db.query(\"tbl_account\",columns,null,null,null,null,\"id\");\n\n //looping through all rows and adding to list\n if (cursor.moveToFirst())\n {\n do\n {\n //cursor.getString(0).substring(0,4)+\"****\"+cursor.getString(0).substring(8)\n\n accounts.add(cursor.getString(0).substring(0,4)+\"****\"+cursor.getString(0).substring(8));\n\n }\n while (cursor.moveToNext());\n }\n\n this.close();\n\n return accounts;\n }", "title": "" }, { "docid": "a9c6141678169349c065b705a1a8f0ad", "score": "0.5363887", "text": "public List<Account> getList() {\n return transaction.executeResult(transactionContext -> getList(transactionContext));\n }", "title": "" }, { "docid": "63477657a3d3d36b62fcdf6581517269", "score": "0.53443575", "text": "java.util.List<ethermint.evm.v1.Genesis.GenesisAccount> \n getAccountsList();", "title": "" }, { "docid": "198b3bccb161de46731f85571cfadd76", "score": "0.5338932", "text": "@Override\r\n\tpublic List<Account> findAll() {\r\n\t\treturn account;\r\n\t}", "title": "" }, { "docid": "a5ff9413d3e2182f3341c60b57ee800a", "score": "0.53374153", "text": "@GET\n\t@Path(\"/{AccountID}\")\n\t@Produces({MediaType.APPLICATION_JSON})\n\t@Consumes({MediaType.APPLICATION_JSON})\n\t@ApiOperation(\n\t\t\tvalue = \"Get Account by ID\",\n\t\t\tnotes = \"Returns the account that contains the given Account ID in Resource representation format\",\n\t\t\tresponse = AccountResponse.class)\n\t@ApiResponses(\n\t\t\tvalue = {\n\t\t\t\t\t@ApiResponse(code = 200, message = \"OK\"),\n\t\t\t\t\t@ApiResponse(code = 404, message = \"Not Found\")\t\t\t\t\t\n\t\t\t\t\t})\n\tpublic Response getAccount(@PathParam(\"AccountID\") long AccountID) {\n\t\tAccount accountReturn = accountService.findById(AccountID);\n\t\tif (accountReturn == null) {\n\t\t\treturn Response.status(Response.Status.NOT_FOUND).entity(\"Account with ID \" + AccountID + \" not found\").build();\n\t\t}\n\t\tResource<Account> resource = new Resource<>(accountReturn);\n\t\treturn Response.ok(resource).build();\n\t}", "title": "" }, { "docid": "fafc44544de91bf42b5dfa08b0ed3f3f", "score": "0.5331608", "text": "@Override\n\tpublic Account getAccountByID(Integer id) {\n\t\treturn accRepository.getById(id);\n\t}", "title": "" }, { "docid": "e1a61730d60f9502a4bfbb2b6f1d1b66", "score": "0.53274375", "text": "double viewBalance(BankAccount account);", "title": "" }, { "docid": "60881e2baafbf3b81328b575b347a8ff", "score": "0.5321668", "text": "public List<Book> getBookListByUser(Account account);", "title": "" }, { "docid": "d2562e03d12315918fa1b2eb8d39d83f", "score": "0.53161806", "text": "BankCard getBankCard(int id);", "title": "" }, { "docid": "42a07afcbc690de52a79da9cfd5c392e", "score": "0.5312282", "text": "@Override\n\tpublic List<Account> retrieveAllAccount() {\n\t\treturn accountdao.findAll();\n\n\t}", "title": "" }, { "docid": "2995e7fc8df6743c154791a42b556aa4", "score": "0.5311412", "text": "@Override\n public List<Balance> getBalances() {\n return Collections.emptyList();\n }", "title": "" }, { "docid": "5edc2c3003d721ca41e843d2758be811", "score": "0.5309572", "text": "@GET\n\t@Path(\"query\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getAccount(@QueryParam(\"id\") String id) {\n\t\tif (id != null && idPattern.matcher(id).matches()) {\n\t\t\ttry {\n\t\t\t\treturn Response.ok(appAccountService.getAccountById(id))\n\t\t\t\t .build();\n\t\t\t} catch (Exception e) {\n\t\t\t\tlogger.error(\"[QueryAccount] Get account[{}] failed: {}\", id,\n\t\t\t\t e.getMessage());\n\t\t\t\treturn Response.status(HttpStatus.SC_INTERNAL_SERVER_ERROR)\n\t\t\t\t .build();\n\t\t\t}\n\t\t} else {\n\t\t\tlogger.error(\"[QueryAccount] Query with invalid id. {}\", id);\n\t\t\treturn Response.status(HttpStatus.SC_BAD_REQUEST).build();\n\t\t}\n\t}", "title": "" }, { "docid": "e156374ee8b1f45f0a50819f07e8a8a2", "score": "0.53093106", "text": "SimplePromise<BigInteger> getAccountBalance(String accountId);", "title": "" }, { "docid": "f870888fcae5f8a1897f49b7d5cf00a4", "score": "0.5299243", "text": "Booking getBookingByAccID(int account_id) throws Exception;", "title": "" }, { "docid": "c2f76866f9262d2fae6711480634d498", "score": "0.52909935", "text": "public void readAccountByAccountNumber(String account_number) {\n for (BankAccount bankAccount : baList) {\n if (bankAccount.getAccountNumber().equals(account_number)) {\n System.out.println(\"Account Number: \" + bankAccount.getAccountNumber());\n System.out.println(\"Balance: \" + bankAccount.getBalance());\n System.out.println(\"Customer Name: \" + bankAccount.getCustomerName());\n System.out.println(\"Email: \" + bankAccount.getEmail());\n System.out.println(\"Phone Number: \" + bankAccount.getPhoneNumber());\n System.out.println(\"**************************\");\n }\n }\n }", "title": "" }, { "docid": "bb87aa6fb4c6237040525ff5b93fb467", "score": "0.52815694", "text": "@Override\n\t@Transactional\n\tpublic List<Account> getListAccount() {\n\t\treturn this.accountDao.getListAccount();\n\t}", "title": "" } ]
4331b7f58497e784af783df668ce50fd
/ renamed from: c
[ { "docid": "3869f6a4d4658f9a994e966de9d775b5", "score": "0.0", "text": "public boolean m17540c(Subtitle subtitle) {\n try {\n return new File(C3322c.m17460a(this.f12839a), m17538a(subtitle)).exists();\n } catch (Exception e) {\n return false;\n }\n }", "title": "" } ]
[ { "docid": "1e50fdc0a079e9ccff8941a7c9d7b183", "score": "0.66310865", "text": "@Override\n\tpublic void c() {\n\t\t\n\t}", "title": "" }, { "docid": "1e50fdc0a079e9ccff8941a7c9d7b183", "score": "0.66310865", "text": "@Override\n\tpublic void c() {\n\t\t\n\t}", "title": "" }, { "docid": "6d7a8f9930c3bb8734455029131ae9b0", "score": "0.63227016", "text": "C36969j mo93385c();", "title": "" }, { "docid": "9d4f2d0ef51e0dde0fa31993d84db23e", "score": "0.62988126", "text": "void mo33793b(C26365c c26365c, C45423h c45423h);", "title": "" }, { "docid": "71bbdd62376750e1962894585135c617", "score": "0.6290907", "text": "@Override\n public void c() {\n\n }", "title": "" }, { "docid": "c0732f945660a492cb748afa56ddd93d", "score": "0.62606955", "text": "void mo26982a(C29973b c29973b);", "title": "" }, { "docid": "72776922382482751413e734da04f97a", "score": "0.6235137", "text": "void mo123865c();", "title": "" }, { "docid": "fc47655b5419d65465b648495c88852c", "score": "0.6232792", "text": "@Override\n\tpublic void ccc() {\n\t\t\n\t}", "title": "" }, { "docid": "9e422c15a8fd2291c4e737413340eda5", "score": "0.6227308", "text": "public static void c() {\n }", "title": "" }, { "docid": "d3402869b2c1aa91c09f112b9b5ae86b", "score": "0.61875343", "text": "public void mo4703c() {\n }", "title": "" }, { "docid": "e7595bdfedc9e7ba7013cbf382c829a2", "score": "0.615316", "text": "void mo7169a(C8955k c8955k);", "title": "" }, { "docid": "29b6288c95556c8af28f1d5cf9b46af8", "score": "0.6132236", "text": "public int c() { return c; }", "title": "" }, { "docid": "97a0cc3699a13fd68963fd990559e441", "score": "0.61199194", "text": "void mo1769c();", "title": "" }, { "docid": "9f086e66b500f507e8a0e1dc562ed794", "score": "0.6113151", "text": "C1204bz mo12726o();", "title": "" }, { "docid": "2b24968e1a8b0677647f443783f37f49", "score": "0.6090027", "text": "void mo26983a(String str, C29973b c29973b);", "title": "" }, { "docid": "7ed5b8fcd7672a1d62dfc142ae10a6ac", "score": "0.6087794", "text": "C1796e mo9566c();", "title": "" }, { "docid": "e198c943812aef6f8a25eef9bb4e5b01", "score": "0.60781056", "text": "C8703s mo52404pC();", "title": "" }, { "docid": "066238398d731f05f09f291b57288353", "score": "0.60639805", "text": "@Override\n\tpublic void cacel() {\n\t}", "title": "" }, { "docid": "e8b9f6ed1d3f487d032e486f1355e402", "score": "0.60282606", "text": "void mo7762c(C1699c cVar);", "title": "" }, { "docid": "dbbe1066417026c5231227f6afb8e5df", "score": "0.6015059", "text": "@Override\npublic void genCplusplus(PW pw) {\n\t\n}", "title": "" }, { "docid": "ea5f7d45b3fc4d002c53b6a2e75b9b41", "score": "0.6004178", "text": "private interface C0339c {\n /* renamed from: a */\n void mo945a(String str, String str2);\n }", "title": "" }, { "docid": "726e3bbc8d7e4520562c144faf7f0f59", "score": "0.5998461", "text": "public abstract void mo23266a(C11563d c11563d);", "title": "" }, { "docid": "123e2a1a2e0acac08862552ccd189e85", "score": "0.5955695", "text": "public void mo12309c() {\n }", "title": "" }, { "docid": "61d14ae4574ddbc47a561910608d1167", "score": "0.59494394", "text": "public abstract void c();", "title": "" }, { "docid": "61d14ae4574ddbc47a561910608d1167", "score": "0.59494394", "text": "public abstract void c();", "title": "" }, { "docid": "61d14ae4574ddbc47a561910608d1167", "score": "0.59494394", "text": "public abstract void c();", "title": "" }, { "docid": "dd29cdd6fb7f7ffe147dd071b55e124e", "score": "0.59108335", "text": "public abstract void mo7978c();", "title": "" }, { "docid": "53e87ee54d4a7ecb9e3fab1f7158cb92", "score": "0.59088975", "text": "public interface C1707a {\n /* renamed from: c */\n void mo7762c(C1699c cVar);\n }", "title": "" }, { "docid": "e89b2698f263e2aa7e8062114d6bc23d", "score": "0.5899293", "text": "public abstract void mo62135a(C20992c c20992c, C28265b c28265b);", "title": "" }, { "docid": "12c624c93c9bd530992d76a6c7da90b7", "score": "0.58980906", "text": "public interface C10754c {\n }", "title": "" }, { "docid": "28a03acf4aa37f5c202b7b835dcb5492", "score": "0.5891371", "text": "public interface C18542a {\n /* renamed from: b */\n void mo33793b(C26365c c26365c, C45423h c45423h);\n }", "title": "" }, { "docid": "2e74e9a9de70a4c48625b80233199e81", "score": "0.58864117", "text": "int mo35220a(String str, C40522gu c40522gu, C7620bi c7620bi);", "title": "" }, { "docid": "1d70a0a58fbfaac9895ea0a70c3373e6", "score": "0.5884007", "text": "public interface C0338b {\n /* renamed from: a */\n void mo949a(C0331D c0331d);\n }", "title": "" }, { "docid": "71eeed409a0dcd93cc019e4c1b547473", "score": "0.58783543", "text": "public interface C8434c {\n /* renamed from: cj */\n void mo27391cj(int i, int i2);\n }", "title": "" }, { "docid": "e11d6785b473a060eabf51cb5a8eea06", "score": "0.58739096", "text": "void mo99090c();", "title": "" }, { "docid": "bcd3aeb5eac254222d0478259c3f93b4", "score": "0.58664024", "text": "void mo6249b(C42591a c42591a);", "title": "" }, { "docid": "4de4421213cd5f0cf8fcac7468f9de72", "score": "0.5861482", "text": "public interface C0495ex {\n /* renamed from: b */\n String mo7048b();\n\n /* renamed from: c */\n long mo7049c();\n\n /* renamed from: d */\n long mo7050d();\n\n /* renamed from: e */\n C0386bo mo7051e();\n}", "title": "" }, { "docid": "7854dd9166b5cf04cc3575cef1054d71", "score": "0.5854563", "text": "public interface C2545g extends C2543e {\n /* renamed from: c */\n C1796e mo9566c();\n}", "title": "" }, { "docid": "d168295edb55812b92095f4ff445d19d", "score": "0.5845707", "text": "C14193h mo44239l() throws IOException;", "title": "" }, { "docid": "91e45bf73b10ce4851855ffe0c2ba921", "score": "0.5829108", "text": "public interface C9434c {\n }", "title": "" }, { "docid": "047092af5434a12726cd69bde7e4d1dc", "score": "0.58191586", "text": "public final void mo71555c() {\n }", "title": "" }, { "docid": "c054a33a5517ca97680104b8bdb72491", "score": "0.5813066", "text": "public interface C42687f extends C1694a {\n /* renamed from: Cl */\n boolean mo68089Cl(String str);\n\n /* renamed from: b */\n boolean mo68090b(Context context, String str, int i, Bundle bundle);\n}", "title": "" }, { "docid": "11a21971cfb709288dc89a03b2e04c57", "score": "0.5813005", "text": "public interface C0839ue extends C0837uc {\n /* renamed from: ȃ */\n short mo4090();\n\n /* renamed from: 鷭 */\n void mo4053(ByteBuffer byteBuffer, boolean z);\n}", "title": "" }, { "docid": "88b85ae92840abdfb7133b94f977ae29", "score": "0.5812207", "text": "interface C13109a {\n /* renamed from: a */\n void mo42080a(String str);\n\n /* renamed from: c */\n C13081b mo42081c();\n\n /* renamed from: p */\n FileDownloadHeader mo42082p();\n\n /* renamed from: x */\n ArrayList<C13080a> mo42084x();\n }", "title": "" }, { "docid": "dc4a1369b474b405185848ae285f4fed", "score": "0.58024186", "text": "public final cuw c()\r\n/* 51: */ {\r\n/* 52: 47 */ return this.c;\r\n/* 53: */ }", "title": "" }, { "docid": "b9c14d75da8de311876b6d219c13e4ec", "score": "0.5798135", "text": "public interface C0338a {\n }", "title": "" }, { "docid": "254dd2d8478f94384bb3e8271b87a4ba", "score": "0.5793543", "text": "public interface C39242a {\n /* renamed from: EK */\n boolean mo7644EK();\n\n boolean bFM();\n\n /* renamed from: c */\n boolean mo7646c(byte[] bArr, long j);\n}", "title": "" }, { "docid": "64b95968b977178d9c3ac6d8e8a99f1a", "score": "0.5788366", "text": "public void mo101127c() {\n }", "title": "" }, { "docid": "1e047a4825ac6d24832db444ff6f60ee", "score": "0.57844347", "text": "interface C0754c {\n}", "title": "" }, { "docid": "e1dd4f566a677ad418c33d0bf14a67a6", "score": "0.57752943", "text": "public void a(czh paramczh) {}", "title": "" }, { "docid": "daa91cca587de24aac610710eefcc9bb", "score": "0.5773655", "text": "public interface C5677a extends C5679c {\n /* renamed from: a */\n String mo33119a(String str);\n\n /* renamed from: c */\n boolean mo33120c(String str);\n}", "title": "" }, { "docid": "cca4c20292bd25480c69d5ed922654a9", "score": "0.57616687", "text": "public interface C0442fo {\n /* renamed from: c */\n String mo4672c();\n}", "title": "" }, { "docid": "87b41615c97d00673431bc4fda6f1f15", "score": "0.5757054", "text": "private void convert(ExprStatContext c) {\n\n\t}", "title": "" }, { "docid": "26bd2848ce9b10a0077cb3b715d2c2fd", "score": "0.5752497", "text": "File mo25083c();", "title": "" }, { "docid": "94047cf74836b039303f1ebc8277c435", "score": "0.57490456", "text": "interface C0159a {\n }", "title": "" }, { "docid": "24e5d0ca9e10d7c4fb1cf1a5bd02a13f", "score": "0.5747746", "text": "public abstract void mo5637b(C0651a c0651a);", "title": "" }, { "docid": "b6c1d641a06ca7dc41ab2f3b0212537d", "score": "0.57474023", "text": "@Override\r\n\tpublic void compile(CodeBlock c, Environment e) throws UndeclaredIdentifier, IOException {\n\r\n\t}", "title": "" }, { "docid": "ea922974df92605741f06ebfc0b9d06d", "score": "0.57457876", "text": "C0052o<String> mo93387e();", "title": "" }, { "docid": "9a7a20da9afb664f4c65fd32fbd810e8", "score": "0.5744047", "text": "C2619g mo9882g();", "title": "" }, { "docid": "7b07feeead6812b161a152676b03e2fb", "score": "0.57427883", "text": "void mo949a(C0331D c0331d);", "title": "" }, { "docid": "1625f1b3fdcae199a360bce6529469e4", "score": "0.57349694", "text": "public interface C0041b {\n /* renamed from: a */\n boolean mo61a(C0916s c0916s, C0157e c0157e);\n}", "title": "" }, { "docid": "ae09c61b73ce7223254093de74618ec7", "score": "0.5732065", "text": "public int c() {\n/* 482 */ return 3;\n/* */ }", "title": "" }, { "docid": "fe2f7d1a0cfd6327dbcb9ce32cec6bd8", "score": "0.57299626", "text": "void mo15144a(C44063l c44063l);", "title": "" }, { "docid": "31907bd3892e391898c096ff864f772a", "score": "0.5726163", "text": "void mo79270b();", "title": "" }, { "docid": "7d0f3e3eb9c4de46c9a02e279a3477b5", "score": "0.56988007", "text": "public void mo31098a(String str, C5486g c5486g) {\n }", "title": "" }, { "docid": "0cfbcb6a56a2c704b3f5ffc92cee5b60", "score": "0.56980574", "text": "String mo12713c();", "title": "" }, { "docid": "572853e1f217b4bf7907440f7f456d91", "score": "0.5697298", "text": "public interface C11049c {\n }", "title": "" }, { "docid": "e18332c283572a0903064b4d4df38841", "score": "0.56911415", "text": "void mo9761b(C2272c cVar);", "title": "" }, { "docid": "39fc93a8afed8fd9587e1725b3dd1330", "score": "0.568959", "text": "public void mo9673C_() {\n }", "title": "" }, { "docid": "32ab5192650dee582483ae9f650b82a3", "score": "0.5684489", "text": "public abstract int c();", "title": "" }, { "docid": "32ab5192650dee582483ae9f650b82a3", "score": "0.5684489", "text": "public abstract int c();", "title": "" }, { "docid": "21b87edd280c7c614cfe8cf325b5b833", "score": "0.5670716", "text": "public int c(Block parambec)\r\n/* 59: */ {\r\n/* 60:176 */ return ((EnumDirection)parambec.getData(a)).a();\r\n/* 61: */ }", "title": "" }, { "docid": "c597e9446efab2c2844d6d6e9d64dfcd", "score": "0.56694776", "text": "void mo40317a(zzcce zzcce);", "title": "" }, { "docid": "9e6a794ab4ffef33ddac38a530af30a6", "score": "0.5659537", "text": "public void mo12033a(C1095aw c1095aw) {\n }", "title": "" }, { "docid": "8e014e254b3ae100c446a63d228a0bde", "score": "0.5657685", "text": "void mo52408pG();", "title": "" }, { "docid": "ba30711f7ce1b6636efad27485e55e78", "score": "0.5647918", "text": "private Cyc() {}", "title": "" }, { "docid": "27720436db1c99c68eb389a1bf2bfd0c", "score": "0.5637933", "text": "String mo4672c();", "title": "" }, { "docid": "36a936ae2e6f307153075ec05ac0aa16", "score": "0.5636561", "text": "C13081b mo42081c();", "title": "" }, { "docid": "52b188de6806913edf6dd60deb2c5c0f", "score": "0.56359136", "text": "void mo2325c();", "title": "" }, { "docid": "225d6d33e6e6339b0f23061ccb639d38", "score": "0.56310344", "text": "void mo10473c();", "title": "" }, { "docid": "8e6e0fa8b4e1c656d80ac8c78495ce66", "score": "0.5630032", "text": "private CaesarChiffre() { }", "title": "" }, { "docid": "d51fd45032c76808209d82ad9280bfc3", "score": "0.5621567", "text": "public interface c {\n }", "title": "" }, { "docid": "aa55752cf9092e341f9cb8831b53aac0", "score": "0.5617702", "text": "void mo61747c_(int i);", "title": "" }, { "docid": "7f1c715525f832686e8d546c259e3ad8", "score": "0.56027466", "text": "C2378m mo11534e();", "title": "" }, { "docid": "979b4a14800885bf0fff96a1c5c7783e", "score": "0.56004274", "text": "public interface C27172a {\n /* renamed from: b */\n void mo6249b(C42591a c42591a);\n }", "title": "" }, { "docid": "b241138d81172526b9d3e052f925b741", "score": "0.56002575", "text": "public final void mo71543C() {\n }", "title": "" }, { "docid": "9e8266b855951910b05e2d2c13bdc8e7", "score": "0.55958456", "text": "void mo23173a_(Buffer cVar, long j) throws IOException;", "title": "" }, { "docid": "0555643eb3fb52437d434f1823f49750", "score": "0.5584622", "text": "public interface C14715d extends C1694a {\n /* renamed from: a */\n void mo26982a(C29973b c29973b);\n\n /* renamed from: a */\n void mo26983a(String str, C29973b c29973b);\n\n C32685cq agJ(String str);\n}", "title": "" }, { "docid": "4aedeb0b3b7c08f323a34384f5ef61f5", "score": "0.55830103", "text": "public void mo91927l() {\n }", "title": "" }, { "docid": "a5fa363c99df1e3055a36b4278aa75b4", "score": "0.55760986", "text": "interface C9388l0 {\n\n /* renamed from: com.crashlytics.android.core.l0$a */\n public enum C9389a {\n JAVA,\n NATIVE\n }\n\n /* renamed from: a */\n Map<String, String> mo25081a();\n\n /* renamed from: b */\n String mo25082b();\n\n /* renamed from: c */\n File mo25083c();\n\n /* renamed from: d */\n File[] mo25084d();\n\n String getIdentifier();\n\n C9389a getType();\n\n void remove();\n}", "title": "" }, { "docid": "9a28e1760390cab26522693677ec66cb", "score": "0.5566447", "text": "public interface C1762r {\n}", "title": "" }, { "docid": "54199a2bc5bb698234df8a780e9ff581", "score": "0.5561329", "text": "int getCc();", "title": "" }, { "docid": "51832016ae28a6d9c6b018f74420d13e", "score": "0.555218", "text": "C17688l mo52406pE();", "title": "" }, { "docid": "d4f7c15fbeddfdd4b5e4dfc2a8e15026", "score": "0.55493975", "text": "public interface C11051e {\n }", "title": "" }, { "docid": "dacccc50809252d09fd91e068808c1a4", "score": "0.5541353", "text": "public abstract int mo56106c();", "title": "" }, { "docid": "0c98b89bd42a060bb33c552b9a92ff84", "score": "0.553893", "text": "void mo10472b();", "title": "" }, { "docid": "5b07138adf8a0eafdbd6bd450ce41d54", "score": "0.55341417", "text": "public interface C5366a {\n }", "title": "" }, { "docid": "0b716d8fdb6521189f915819288936ed", "score": "0.5533397", "text": "public void m10238c() {\n }", "title": "" }, { "docid": "e72f16478a1206473a25cd137fcf3d58", "score": "0.5531268", "text": "void mo21887b();", "title": "" }, { "docid": "f06966d94fd9754a2b810c5c2131777f", "score": "0.5529129", "text": "public interface C39568a {\n }", "title": "" }, { "docid": "e259ac0c2ec7fae03a677746affe91bb", "score": "0.55254096", "text": "public interface cac {\n defpackage.btl a(defpackage.bul bul, java.lang.String str);\n\n void a(defpackage.bul bul, int i, java.util.List list, java.lang.String str);\n\n void a(defpackage.bul bul, long j, java.lang.String str);\n\n void b(defpackage.bul bul, java.lang.String str);\n}", "title": "" } ]
771adb9ab1787ad33b198f25d571429d
/ 5. Add or Delete a review to book
[ { "docid": "d7d76a4b5911e9f63144ed6a8f406c5c", "score": "0.55900556", "text": "public void modifyReview() {\r\n Scanner scanner = new Scanner(System.in);\r\n outer: while (true) {\r\n System.out.println(\"Do you wanna delete or add a review? \");\r\n System.out.println(\"1. Delete a Review\");\r\n System.out.println(\"2. Add a Review\");\r\n System.out.println(\"3. Back to main menu\");\r\n System.out.print(\"> \");\r\n switch (scanner.nextLine()) {\r\n case \"1\":\r\n deleteReview();\r\n break;\r\n case \"2\":\r\n addReview();\r\n break;\r\n\r\n case \"3\":\r\n break outer;\r\n\r\n default:\r\n System.out.println(\"This Option is not available. Please choose again.\");\r\n }\r\n }\r\n }", "title": "" } ]
[ { "docid": "e1fd213f84a551f605924d3158649662", "score": "0.7148485", "text": "public void addReview (Book book, Review review) {\r\n databaseReference.child(\"Reviews\").child(String.valueOf(book.getISBN())).child(review.getReviewer()).setValue(review);\r\n }", "title": "" }, { "docid": "051e177d1ce043fbbaa785d81382bae2", "score": "0.66843635", "text": "public void addBook(AddBookRequest addBookRequest) {\n String bookTitle = addBookRequest.getTitle();\n Book checkBook = booksRepository.findBookByTitle(bookTitle);\n // if title exists, do not add bookrequest to database\n\n if (checkBook != null){\n return;\n }\n\n // if the title is not in the database, check to see if author is in the database\n Set<Author> authors = new HashSet<>();\n addBookRequest.getAuthors().forEach(authorName -> {\n Author author = authorsRepository.findAuthorByName(authorName);\n if (author == null) {\n // if author(s) is in database, use that author's id. if not, assign new id & save.\n author = new Author();\n author.setName(authorName);\n author.setAvgRating(addBookRequest.getRating().doubleValue());\n authorsRepository.save(author);\n } else {\n // TODO update avg author rating\n }\n authors.add(author);\n });\n\n //load all tag objects to get their id\n Set<Tag> tags = new HashSet<>();\n addBookRequest.getTags().forEach(identifier -> {\n Tag tag = tagsRepository.findTagByIdentifier(identifier);\n if (tag == null) {\n tag = new Tag();\n tag.setIdentifier(identifier);\n tagsRepository.save(tag);\n }\n tags.add(tag);\n });\n //take remaining book information and create book object\n Book newBook = new Book();\n newBook.setTitle(addBookRequest.getTitle());\n newBook.setBookCover(addBookRequest.getBookCover());\n newBook.setAuthors(authors);\n newBook.setTags(tags);\n newBook.setStartAge(addBookRequest.getStartAge());\n newBook.setEndAge(addBookRequest.getEndAge());\n newBook.setStartGrade(addBookRequest.getStartGrade());\n newBook.setEndGrade(addBookRequest.getEndGrade());\n newBook.setSummary(addBookRequest.getSummary());\n newBook.setIsbn10(addBookRequest.getIsbn10());\n newBook.setIsbn13(addBookRequest.getIsbn13());\n newBook.setGenre(addBookRequest.getGenre());\n booksRepository.save(newBook);\n //take review information and make review object\n Review newReview = new Review();\n newReview.setPraise(addBookRequest.getPraise());\n newReview.setConcern(addBookRequest.getConcern());\n newReview.setDiscussionTopics(addBookRequest.getDiscussionTopic());\n newReview.setRating(addBookRequest.getRating());\n newReview.setUserId(addBookRequest.getUserId());\n newReview.setBookId(newBook.getId());\n reviewsRepository.save(newReview);\n\n newBook = booksRepository.findById(newBook.getId()).get();\n newBook.getAuthors().forEach(author -> {\n authorsService.updateAuthorRating(author);\n });\n }", "title": "" }, { "docid": "7490607bf9c087d2a12687ad10887277", "score": "0.6643131", "text": "private void addReview() {\r\n Scanner scanner = new Scanner(System.in);\r\n String sid = null;\r\n String bookid = null;\r\n String reviewId = null;\r\n String comment = null;\r\n while (true) {\r\n System.out.println(\"Please enter the store id\");\r\n System.out.print(\"> \");\r\n\r\n sid = scanner.nextLine();\r\n\r\n break;\r\n\r\n }\r\n\r\n while (true) {\r\n System.out.println(\"Please enter the store book ID\");\r\n System.out.print(\"> \");\r\n\r\n bookid = scanner.nextLine();\r\n\r\n break;\r\n }\r\n\r\n\r\n String rating = null;\r\n\r\n System.out.println(\" What is the rating? \");\r\n System.out.println(\" 1 \");\r\n System.out.println(\" 2 \");\r\n System.out.println(\" 3 \");\r\n System.out.println(\" 4 \");\r\n System.out.println(\" 5 \");\r\n System.out.println(\"6. Return to Previou menu\");\r\n System.out.print(\"> \");\r\n switch (scanner.nextLine()) {\r\n case \"1\":\r\n rating = \"1\";\r\n break;\r\n case \"2\":\r\n rating = \"2\";\r\n break;\r\n case \"3\":\r\n rating = \"3\";\r\n break;\r\n case \"4\":\r\n rating = \"4\";\r\n break;\r\n case \"5\":\r\n rating = \"5\";\r\n break;\r\n case \"6\":\r\n addReview();\r\n break;\r\n default:\r\n System.out.println(\"This Option is not available. Please choose again.\");\r\n }\r\n\r\n\r\n while (true) {\r\n System.out.println(\"Please enter comment of the review\");\r\n System.out.print(\"> \");\r\n\r\n comment = scanner.nextLine();\r\n\r\n break;\r\n }\r\n\r\n\r\n\r\n try {\r\n String sql1 = \"SELECT max(review_id) as m FROM Review\";\r\n\r\n ResultSet rs = stmt.executeQuery(sql1);\r\n\r\n while (rs.next()) {\r\n reviewId = String.valueOf(rs.getInt(\"m\") + 1);// Make sure no duplicated Id\r\n\r\n }\r\n\r\n } catch (SQLException e) {\r\n System.err.println(\r\n \"msg: \" + e.getMessage() + \"code: \" + e.getErrorCode() + \"state: \" + e.getSQLState());\r\n }\r\n\r\n\r\n\r\n String sql = \"INSERT INTO review (sid,instore_bookId,review_id,rate,comment) VALUES ('\" + sid\r\n + \"','\" + bookid + \"','\" + reviewId + \"','\" + rating + \"','\" + comment + \"')\";\r\n\r\n\r\n\r\n try {\r\n\r\n stmt.executeUpdate(sql);\r\n\r\n System.out.println(\"Review added successful !\");\r\n printReview(reviewId);// print the newly added review\r\n\r\n\r\n\r\n } catch (SQLException e) {\r\n System.err.println(\r\n \"msg: \" + e.getMessage() + \"code: \" + e.getErrorCode() + \"state: \" + e.getSQLState());\r\n }\r\n\r\n }", "title": "" }, { "docid": "662eb227bbdecfdbdd12b1a815566139", "score": "0.6432939", "text": "@Test\n public void TestdeleteReview()\n {\n r2 = rh.searchById(1);\n rh.deleteReview(1);\n assertNotNull(\"Review not deleted\", r2); \n }", "title": "" }, { "docid": "3be4ed0bbab180b9282a32e46e04acd8", "score": "0.6418097", "text": "private void deleteReview() {\r\n Scanner scanner = new Scanner(System.in);\r\n String rid = null;\r\n while (true) {\r\n System.out.println(\"Please enter the review ID\");\r\n System.out.print(\"> \");\r\n\r\n rid = scanner.nextLine();\r\n break;\r\n\r\n }\r\n\r\n\r\n String sql = \"DELETE FROM Review WHERE review_id = '\" + rid + \"'\";\r\n\r\n try {\r\n\r\n stmt.executeUpdate(sql);\r\n System.out.println(\"Review deleted successful !\");\r\n\r\n\r\n } catch (SQLException e) {\r\n System.err.println(\r\n \"msg: \" + e.getMessage() + \"code: \" + e.getErrorCode() + \"state: \" + e.getSQLState());\r\n }\r\n }", "title": "" }, { "docid": "17ed39943e97f06d07b33cbf55258274", "score": "0.6392194", "text": "@Override\n\tpublic void addReview(Review review) {\n\t\treviewdao.addReview(review);\n\t}", "title": "" }, { "docid": "b5930fe6a8fbd8aa38797bc3c684a0d5", "score": "0.6211543", "text": "@RequestMapping(method = RequestMethod.POST, path = \"/review/delete\")\n\tpublic postReviewJson deleteReviews(@RequestBody Review review){\n\t\tif(reviewRepository.deleteReviewsAndReplies(review.getId())>0)\n\t\t\treturn new postReviewJson(\"success\");\n\t\telse\n\t\t\treturn new postReviewJson(\"failure\");\n\t}", "title": "" }, { "docid": "09052086196590bdee64db1cca987f72", "score": "0.6173944", "text": "@Override\r\n\tpublic void deleteBook() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e95b028359e808f80915f5063ff475d7", "score": "0.61691326", "text": "@PostMapping(\"/deleteReview\")\n\tpublic void deleteReview(@RequestParam int reviewId, @RequestParam String name, @RequestParam String type, @RequestParam int userId, \n\t\t\t@RequestParam String artistName, @RequestParam float rating, @RequestParam String title, @RequestParam String review) {\n\t\ttry {\n\t\t\tReview rev = new Review(name, type, userId, artistName, rating, title, review);\n\t\t\treviewService.deleteReview(rev);\n\t\t} catch (InvalidRatingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "2607662266085fb7c15f0b9350f4c24e", "score": "0.6114664", "text": "@Override\n public ReviewDTO createReview(Long idBook, ReviewDTO newReview) throws BookLogicException {\n logger.log(Level.INFO, \"recibiendo solicitud de agregar createReview {0}\", newReview.toString());\n logger.log(Level.INFO, \"recibiendo solicitud de agregar Review to Book {0}\", idBook);\n\n BookDetailDTO book = bookLogic.getBook(idBook);\n\n List<ReviewDTO> reviewsBook = book.getReviews();\n\n // la nueva getReview tiene id ?\n if (newReview.getId() != null) {\n // busca la getReview con el id suministrado\n for (ReviewDTO getReview : reviewsBook) {\n // si existe una getReview con ese id\n if (Objects.equals(getReview.getId(), newReview.getId())) {\n logger.severe(\"Ya existe una getReview con ese id\");\n throw new BookLogicException(\"Ya existe una getReview con ese id\");\n }\n if (Objects.equals(getReview.getName(), newReview.getName())) {\n logger.severe(\"Ya existe una getReview con ese nombre para el book\");\n throw new BookLogicException(\"Ya existe una getReview con ese nombre\");\n }\n }\n // la nueva getReview no tiene id ? \n } else {\n for (ReviewDTO getReview : reviewsBook) {\n // si existe una getReview con ese id\n if (Objects.equals(getReview.getName(), newReview.getName())) {\n logger.severe(\"Ya existe una getReview con ese nombre para el book\");\n throw new BookLogicException(\"Ya existe una getReview con ese nombre\");\n }\n }\n // genera un id para la getReview\n logger.info(\"Generando id para la nueva getReview\");\n long newId = 1;\n for (ReviewDTO getReview : reviewsBook) {\n if (newId <= getReview.getId()) {\n newId = getReview.getId() + 1;\n }\n }\n newReview.setId(newId);\n }\n\n // agrega la getReview a la lista de reviews del book\n reviewsBook.add(newReview);\n book.setReviews(reviewsBook);\n\n logger.log(Level.INFO, \"Agregando newReview {0}\", newReview.toString());\n logger.log(Level.INFO, \"Se agrego review con id {0}\", newReview.getId());\n return newReview;\n }", "title": "" }, { "docid": "d7c53646c44cd5cfd52110ab2c3d47da", "score": "0.611344", "text": "@Override\n\tpublic void deleteReview(int id) {\n\t\treviewdao.deleteReview(id);\n\t}", "title": "" }, { "docid": "214bc3504a091d0d403aa0ace9d0d2b7", "score": "0.60751414", "text": "@Override\n public void disapproveReview(Recensione recensione) throws SQLException{\n new RecensioneDao().deleteReview(recensione);\n }", "title": "" }, { "docid": "3077629328a4d1bbd9c53dd3d1488837", "score": "0.60611594", "text": "public void addReview(Rental rental)throws SQLException\n\t{\n\t\ttry {\n\t\t\t\n\t\t\tCustomerDAO customerDao = new CustomerDAO();\n\t\t\tcustomerDao.addReview(rental);\n\t\n\t\t}catch(SQLException e)\n\t\t{\n\t\t\tthrow e;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "4c6ce8e99f7d8283ed72d37b1f50d610", "score": "0.6006427", "text": "@FXML\r\n public void RemoveButtonPressed(MouseEvent event) throws SQLException {\r\n yourReviews selectedReview = table.getSelectionModel().getSelectedItem();\r\n if(selectedReview==null){\r\n createAccountController.showAlert(\"No Item Selected\",\"Please Select Some Review To Remove\");\r\n return;\r\n }\r\n String query = \"delete from comments where c_id=?;\";\r\n PreparedStatement pstmt = userLoginController.connection.prepareStatement(query);\r\n pstmt.setInt(1, selectedReview.getC_id());\r\n pstmt.executeUpdate();\r\n createAccountController.showAlert(\"Removed Succesfully\",\"Your Review Removed Succesfully\");\r\n initializeTable();\r\n }", "title": "" }, { "docid": "25124e7f43bc959def5c1baf7565802d", "score": "0.5994828", "text": "public void addReview(String bid, String review, String email, int rating) throws SQLException{\n\t\tString query = \"INSERT INTO Reviews (bid, review, email, rating) VALUES ('\" + bid + \"', '\" + review + \"', '\" + email + \"', \" + rating + \")\";\n\t\tConnection con = this.ds.getConnection();\n\t\tStatement st = con.createStatement();\n\t\t\n\t\tst.executeUpdate(query);\n\t\tst.close();\n\t\t\n\t\tcon.close();\n\t\t\n\t}", "title": "" }, { "docid": "59075c81e5e5df6ceea5cffbca5925cd", "score": "0.5984702", "text": "public boolean addReview(Review review) {\n\t Connection connection = ConnectionFactory.getConnection();\n\t try {\n\t PreparedStatement ps = connection.prepareStatement(\"INSERT INTO REVIEW (passenger_id, shopping, connection_speed, comment, station_name, rid) VALUES (?,?,?,?,?,?)\");\n\t Statement stmt = connection.createStatement();\n// ResultSet rs = stmt.executeQuery(\"SELECT COUNT(rid) FROM review WHERE passenger_ID='\" + review.getPassengerId()+\"'\");\n// if(rs.next()) {\n// \trand = rs.getInt(1); //how to get review id because if you count number of reviews, when you delete one you get an error for duplicate primary key\n// }\n\t Random rand = new Random();\n\t //java.Math.Random(1000000000);\n\t ps.setString(1, review.getPassengerId());\n\t //ps.setString(2, review.getStatus());\n\t ps.setInt(2, review.getShopping());\n\t ps.setInt(3, review.getConnectionSpeed());\n\t ps.setString(4,review.getComment());\n\t ps.setString(5,review.getStationName());\n\t // ps.setInt()\n\t ps.setInt(6, rand.nextInt(1000000) );\n\n\t int i = ps.executeUpdate();\n\t if(i == 1) { //how many rows were updated\n\t return true;\n\t }\n\t } catch (SQLException ex) {\n\t ex.printStackTrace();\n\t }\n\t return false;\n\n\t}", "title": "" }, { "docid": "788739febb4573cce39bc32ec7d06f92", "score": "0.5972733", "text": "public void reviewDelete(int grv_num) {\n\t try {\n con = getCon();\n sql = \"delete from f_grreview where f_grv_num=?\";\n pstmt = con.prepareStatement(sql);\n pstmt.setInt(1, grv_num);\n pstmt.executeUpdate();\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n closeDB();\n }\n\t}", "title": "" }, { "docid": "26839c8115b1d7eefd916af7b56f332f", "score": "0.5901665", "text": "@Test\n\tvoid deleteReviews(){\n\n\t\tReviewEntity entity = new ReviewEntity(ANIME_ID_OKAY, REVIEW_ID, \"author-1\", \"subject-1\", \"content-1\");\n\t\t//save it\n\t\trepository.save(entity);\n\n\t\t//verify there are exactly 1 entity for anime id 1\n\t\tassertEquals(1, repository.findByAnimeId(ANIME_ID_OKAY).size());\n\n\t\t//send the DELETE request\n\t\tclient.delete()\n\t\t\t\t.uri(\"/review?animeId=\" + ANIME_ID_OKAY)\n\t\t\t\t.accept(MediaType.APPLICATION_JSON)\n\t\t\t\t.exchange()\n\t\t\t\t.expectStatus()\n\t\t\t\t.isOk()\n\t\t\t\t.expectBody();\n\n\t\t//verify there are no entities for anime id 1\n\t\tassertEquals(0, repository.findByAnimeId(ANIME_ID_OKAY).size());\n\t}", "title": "" }, { "docid": "41a5222e71222efd8c6a462d1584d151", "score": "0.58389527", "text": "@Test\r\n\tpublic void testAddReview() throws Exception {\r\n\t\tReviewService reviewService = mock(ReviewService.class);\r\n\r\n\t\tReview mockedReview = new Review();\r\n\t\tmockedReview.setId(\"abc1234\");\r\n\t\tmockedReview.setProductId(\"xyz4321\");\r\n\t\tmockedReview.setRating(5);\r\n\t\tmockedReview.setReviewTitle(\"Good Phone\");\r\n\t\tmockedReview.setReviewText(\"Good Phone. Nice Camera\");\r\n\t\tmockedReview.setUserName(\"John Doe\");\r\n\t\tmockedReview.setDate(new Date());\r\n\r\n\t\tReview review = new Review();\r\n\t\treview.setProductId(\"xyz4321\");\r\n\t\treview.setRating(5);\r\n\t\treview.setReviewTitle(\"Good Phone\");\r\n\t\treview.setReviewText(\"Good Phone. Nice Camera\");\r\n\t\treview.setUserName(\"John Doe\");\r\n\r\n\t\twhen(reviewService.addReview(review)).thenReturn(mockedReview);\r\n\r\n\t\tReviewController controller = new ReviewController(reviewService);\r\n\t\tResponseEntity<Review> addedReview = controller.addReview(review);\r\n\t\tassertEquals(addedReview.getBody().getId(), \"abc1234\");\r\n\t\tassertEquals(addedReview.getBody().getProductId(), review.getProductId());\r\n\t\tassertEquals(addedReview.getBody().getReviewTitle(), review.getReviewTitle());\r\n\t\tassertEquals(addedReview.getBody().getReviewText(), review.getReviewText());\r\n\t\tassertEquals(addedReview.getBody().getUserName(), review.getUserName());\r\n\t\tassertEquals(addedReview.getBody().getRating(), review.getRating());\r\n\t\tassertNotNull(addedReview.getBody().getDate());\r\n\t\tassertEquals(addedReview.getStatusCode(), HttpStatus.CREATED);\r\n\t}", "title": "" }, { "docid": "9e678d2bde18bc4cbc20ac01ae2648e3", "score": "0.57652146", "text": "@Override\n public void deleteReview(Long idBook, Long id) throws BookLogicException {\n logger.log(Level.INFO, \"recibiendo solictud de eliminar getReview con id {0}\", id);\n\n BookDetailDTO book = bookLogic.getBook(idBook);\n // busca la getReview con el id suministrado\n for (ReviewDTO getReview : book.getReviews()) {\n if (Objects.equals(getReview.getId(), id)) {\n // elimina la getReview\n logger.log(Level.INFO, \"eliminando getReview {0}\", getReview);\n book.getReviews().remove(getReview);\n return;\n }\n }\n\n // no encontró la getReview con ese id ?\n logger.severe(\"No existe una getReview con ese id\");\n throw new BookLogicException(\"No existe una getReview con ese id\");\n }", "title": "" }, { "docid": "0971559804a263a3fe2a1ad24189148e", "score": "0.5749823", "text": "private void saveBook() {\n ContentValues values = new ContentValues();\n values.put(LibraryEntry.COLUMN_BOOKID, book.getId());\n values.put(LibraryEntry.COLUMN_TITLE, book.getTitle());\n values.put(LibraryEntry.COLUMN_AUTHORS, book.getAuthors());\n values.put(LibraryEntry.COLUMN_PUBLISHER, book.getPublisher());\n values.put(LibraryEntry.COLUMN_PUBDATE, book.getPublishedDate());\n values.put(LibraryEntry.COLUMN_DESCRIPTION, book.getDescription());\n values.put(LibraryEntry.COLUMN_LINK, book.getLink());\n byte[] thumbBytes = BitmapUtils.getBytes(thumbBitmap);\n if (thumbBytes == null) {\n // if the book has no thumbnail, set the thumbnail to a default image\n Bitmap image404 = BitmapFactory.decodeResource(getResources(), R.drawable.image404);\n thumbBytes = BitmapUtils.getBytes(image404);\n }\n values.put(LibraryEntry.COLUMN_THUMB, thumbBytes);\n\n // insertion\n Uri newUri = getContentResolver().insert(LibraryEntry.CONTENT_URI, values);\n if (newUri == null)\n // book hasn't been saved\n Toast.makeText(this, R.string.not_saved, Toast.LENGTH_SHORT).show();\n else {\n // book has been saved\n Toast.makeText(this, R.string.saved, Toast.LENGTH_SHORT).show();\n // we remove the add button, and display the delete button\n menu.clear();\n getMenuInflater().inflate(R.menu.menu_delete, menu);\n }\n }", "title": "" }, { "docid": "30fd3b921d3db6e27fc29a3486f85285", "score": "0.57484114", "text": "public void rentBook(int customerId, String bookTitle) {\n InventarBook book = inventar.get(bookTitle);\n if (book==null) throw new IllegalArgumentException(\"There is no book with this title in the library. Title=\"+bookTitle);\n\n //count how many copies of it are already rented\n int rentCount = 0;\n for (DailyRentals daily : rentals) {\n rentCount += daily.countBookRentals(bookTitle);\n }\n\n //do we have a free copy?\n if (rentCount>=book.getHowManyCopies()) throw new IllegalStateException(\"All \"+book.getHowManyCopies()+\" copies of this book are rented. Title=\"+bookTitle);\n\n rentals[0].addRental(new Rental(customerId, bookTitle));\n }", "title": "" }, { "docid": "d7a65cd911a2ce178669f4a2253eb9e3", "score": "0.574217", "text": "@RequestMapping (method = RequestMethod.POST, path = \"/review/newReview\")\n\tpublic postReviewJson addNewReview(@RequestBody Review review)\n\t{\n\t\tReview savedReview = reviewRepository.save(review);\n\t\treturn new postReviewJson(\"success\");\n\t}", "title": "" }, { "docid": "964502669fea3f9880509b0eeb97eeb7", "score": "0.5723413", "text": "public synchronized void addReview(ReviewData review) {\n\t\tif (reviewees.containsKey(review.getReviewee()) && reviewers.containsKey(review.getReviewer())) {\n\t\t\treviews.put(review.getID(), review);\n\t\t} else {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t}", "title": "" }, { "docid": "52b5454ddf129cbba285e17f87919b5a", "score": "0.57194084", "text": "void removeBook(Book book);", "title": "" }, { "docid": "4d553b22e4a7abf63e4d92e9963c1fad", "score": "0.5716816", "text": "public void insertBook(Book book);", "title": "" }, { "docid": "2ef62ae6a2d095717f32651fcc4c7be5", "score": "0.5696086", "text": "private Status addReviews(Connection connection){\n Status status = Status.OK;\n List<Review> reviews = hData.getReviews();\n\n try {\n for(Review r : reviews){\n PreparedStatement statement = connection.prepareStatement(ADD_REVIEWS_SQL);\n\n DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"E MMM dd HH:mm:ss zzz yyyy\", Locale.ENGLISH);\n ZonedDateTime d = ZonedDateTime.parse(r.getDate(), formatter);\n String userName = isBlank(r.getUserName()) ? \"Anonymous\": r.getUserName();\n String title = isBlank(r.getTitle()) ? \"No Title\": r.getTitle();\n\n statement.setString(1, r.getReviewId());\n statement.setInt(2, r.getHotelId());\n statement.setDouble(3, r.getRating());\n statement.setString(4, userName);\n statement.setString(5, title);\n statement.setString(6, r.getText());\n statement.setString(7, String.valueOf(d.toLocalDate()));\n statement.executeUpdate();\n }\n }\n catch (Exception ex){\n status = Status.REVIEWS_ADDITION_FAILED;\n log.debug(status, ex);\n }\n return status;\n }", "title": "" }, { "docid": "54047156ff694ebc8531c3880739eb5f", "score": "0.5692104", "text": "public void deleteBook() {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(getString(R.string.sureness))\n .setPositiveButton(getString(R.string.yes), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n // user is sure about the deletion\n // set selection and selectionArgs to point to this book in the database\n // using its unique id\n String selection = LibraryEntry.COLUMN_BOOKID + \"=?\";\n String[] selectionArgs = {bookid};\n // deletion\n int rowsDeleted =\n getContentResolver().delete(LibraryEntry.CONTENT_URI, selection, selectionArgs);\n if (rowsDeleted > 0) {\n // the book has been deleted\n Toast.makeText(getApplicationContext(), getString(R.string.deleted),\n Toast.LENGTH_SHORT).show();\n // remove the delete button and show the save button\n menu.clear();\n getMenuInflater().inflate(R.menu.menu_save, menu);\n } else\n // the book hasn't been deleted\n Toast.makeText(getApplicationContext(), getString(R.string.not_deleted),\n Toast.LENGTH_SHORT).show();\n }\n })\n .setNegativeButton(getString(R.string.no), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n // user is not sure about deletion\n // hide the dialog\n if (dialogInterface != null)\n dialogInterface.dismiss();\n }\n });\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }", "title": "" }, { "docid": "c0e66a8f1350a73716bd64bfd83b6545", "score": "0.5684761", "text": "Publication removePublication(Publication book);", "title": "" }, { "docid": "a2b3f13de52e594202038833533b41a1", "score": "0.56813204", "text": "@Override\n public void approveReview(Recensione recensione) throws SQLException{\n Connection connection = DB.openConnection();\n PreparedStatement ps = connection.prepareStatement(APPROVE_REVIEW);\n ps.setInt(1, recensione.getId());\n ps.executeUpdate();\n ps.close();\n connection.close();\n }", "title": "" }, { "docid": "752f2755f22db8611ba054a7335306df", "score": "0.56780565", "text": "private void saveBook() {\r\n String bookNameStr = mBookNameEditText.getText().toString().trim();\r\n String bookAuthorStr = mAuthorEditText.getText().toString().trim();\r\n String priceStr = mPriceEditText.getText().toString().trim();\r\n String quantityInStockStr = mQuantityInStockEditText.getText().toString().trim();\r\n\r\n int bookExists = MyUtils.bookExistsInDB(this, bookNameStr, bookAuthorStr);\r\n\r\n // Check if this is supposed to be a new book\r\n // and check if all the fields in the editor are blank\r\n if (mCurrentBookUri == null && bookExists == -1 &&\r\n TextUtils.isEmpty(bookNameStr) && TextUtils.isEmpty(bookAuthorStr) &&\r\n TextUtils.isEmpty(priceStr) && TextUtils.isEmpty(quantityInStockStr) && mGenre == BookEntry.GENRE_UNKNOWN) {\r\n Toast.makeText(this, R.string.all_fields_empty_msg,\r\n Toast.LENGTH_SHORT).show();\r\n return;\r\n }\r\n\r\n // If the price is not provided by the user, use 0 by default.\r\n int price = 0;\r\n if (!TextUtils.isEmpty(priceStr)) {\r\n price = Integer.parseInt(priceStr);\r\n }\r\n\r\n // If the quantity in stock is not provided by the user, use 0 by default.\r\n int quantityInStock = 0;\r\n if (!TextUtils.isEmpty(quantityInStockStr)) {\r\n quantityInStock = Integer.parseInt(quantityInStockStr);\r\n }\r\n\r\n ContentValues values = new ContentValues();\r\n values.put(BookEntry.COLUMN_BOOK_NAME, bookNameStr);\r\n values.put(BookEntry.COLUMN_BOOK_AUTHOR, bookAuthorStr);\r\n values.put(BookEntry.COLUMN_PRICE, price);\r\n values.put(BookEntry.COLUMN_QUANTITY_IN_STOCK, quantityInStock);\r\n values.put(BookEntry.COLUMN_GENRE, mGenre);\r\n\r\n // Determine if this is a new or existing book\r\n if (mCurrentBookUri == null && bookExists == -1) {\r\n // This is a NEW book\r\n Uri newUri = getContentResolver().insert(BookEntry.CONTENT_URI, values);\r\n\r\n // Show a toast message depending on whether or not the insertion was successful.\r\n if (newUri == null) {\r\n Toast.makeText(this, R.string.book_editor_insert_failed,\r\n Toast.LENGTH_SHORT).show();\r\n } else {\r\n // Otherwise, the insertion was successful and we can display a toast.\r\n Toast.makeText(this, R.string.book_editor_insert_success,\r\n Toast.LENGTH_SHORT).show();\r\n finish();\r\n }\r\n } else {\r\n // Otherwise this is an EXISTING book\r\n if (mCurrentBookUri == null) {\r\n mCurrentBookUri = ContentUris.withAppendedId(BookEntry.CONTENT_URI, bookExists);\r\n }\r\n\r\n int rowsAffected = getContentResolver().update(mCurrentBookUri, values, null, null);\r\n\r\n // Show a toast message depending on whether or not the update was successful.\r\n if (rowsAffected == 0) {\r\n Toast.makeText(this, R.string.book_editor_update_failed,\r\n Toast.LENGTH_SHORT).show();\r\n } else {\r\n // Otherwise, the update was successful and we can display a toast.\r\n Toast.makeText(this, R.string.book_editor_update_success,\r\n Toast.LENGTH_SHORT).show();\r\n finish();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "3136d108f1d1fb930b01d0773598608f", "score": "0.56769735", "text": "public void addReviewsCount() {\n this.reviewsCount += 1;\n }", "title": "" }, { "docid": "461dd7e70867acf4fbd700046d5f8c8b", "score": "0.5672997", "text": "public void deleteReviewer(ActionContext ctx) \n {\n \t\tString page = \"\";\n \t\ttry\n \t\t{\n \t\t\tString reviewSessionId = ctx.getInputString(REVIEW_SESSION_ID_TOKEN);\n \t\t\tString review360Id = ctx.getInputString(REVIEW_360_ID_TOKEN);\n \t\t\t\n \t\t\tString encryptedRevID = ctx.getInputString(\"encRevId\");\n \t\t\tReview360 myReview = new Review360();\n \t\t\t\n \t\t\t// decrypt the encrypted referenceID\n \t\t\tString revID = myReview.decodeReview360ID(encryptedRevID);\n \t\t\tmyReview.setReview360Id(revID);\n \t\t\t\n \t\t\tif (!myReview.select()) {\n \t\t\t\tmyReview = null;\n \t\t\t}\n \t\t\tif (myReview == null) {\n \t\t\t\tlog.error(\"deleteReviewer: rev is null: Review360 id=\" + revID + \" not found.\");\n \t\t\t\tpage = \"revNotFound\";\n \t\t\t\tctx.goToView(page);\n \t\t\t\treturn;\n \t\t\t}\n \t\t\tReviewSession mySession = new ReviewSession(reviewSessionId);\n \n \t\t\tlog.debug(\"reviewSessionID: \" + reviewSessionId + \", review360ID: \" + review360Id);\n \t\t\t\n \t\t\tmySession.dissocReview360(myReview);\n \t\t\tmyReview.delete();\n \t\t\t\t\t\t\n \t\t\t// goto action\n \t\t\tif(ctx.getInputString(\"lastAction\").equals(\"listAdminSessions\")){\n \t\t\t\tlistAdminSessions(ctx);\n \t\t\t} else {\n \t\t\t\teditReviewSession(ctx);\t\t\t\n \t\t\t}\n \n \t\t}\n \t\tcatch (Exception e)\n \t\t{\n \t\t\tlog.error(e.toString(), e);\n \t\t\t// try { client.rollback(); } catch (Exception ignore) {}\n \t\t\t\n \t\t\tctx.setError();\n \t\t\tctx.goToErrorView();\n \t\t}\n \n }", "title": "" }, { "docid": "4834b2525189d26bcecd329277291d98", "score": "0.5670172", "text": "void addBook(Book book);", "title": "" }, { "docid": "91cfe34c3c0090714c35975ae523316a", "score": "0.56650007", "text": "@Modifying\n @Query(\"delete from MovieReview mr where mr.reviewer = :reviewer\")\n void deleteByReviewer(Reviewer reviewer);", "title": "" }, { "docid": "6c2832b149900d8208e073e38e4d33b0", "score": "0.5659598", "text": "public boolean addReview(String hotelId, String reviewId, int rating, String reviewTitle, String review,boolean isRecom, String date, String username) {\n\t\tboolean isSuccess=false;\n Review newReview=new Review(reviewId,hotelId,reviewTitle,review,username,date,rating,isRecom);\n if(this.reviewList.containsKey(hotelId)){\n \tif(newReview.getOverallRating()>=1&&newReview.getOverallRating()<=5){\n\t\t\t\tHashMap<String,Review> reviews= this.reviewList.get(hotelId);\n\t\t\t\tif(!reviews.containsKey(newReview.getReviewId())){\n\t\t\t\t\tisSuccess=reviews.put(newReview.getReviewId(),newReview)!=null?true:false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn isSuccess;\n\t}", "title": "" }, { "docid": "b231ec8f2a6e3ded26bdf98b8b40f63d", "score": "0.5652437", "text": "@PostMapping(\"/updateReview\")\n\tpublic void updateReview(@RequestParam int reviewId, @RequestParam String name, @RequestParam String type, @RequestParam int userId, \n\t\t\t@RequestParam String artistName, @RequestParam float rating, @RequestParam String title, @RequestParam String review) {\n\t\ttry {\n\t\t\tReview rev = new Review(name, type, userId, artistName, rating, title, review);\n\t\t\treviewService.updateReview(rev);\n\t\t} catch (InvalidRatingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "0fc23f9ae837e84dd1d820bf0bdd1655", "score": "0.5641567", "text": "public void setReviewList(ArrayList<Review> reviewList){\r\n this.newReviewList = reviewList;\r\n }", "title": "" }, { "docid": "6d48b52f798c6e656d88b6e8bfa5491a", "score": "0.5635543", "text": "private void deleteBook() {\n if (mCurrentBookUri != null) {\r\n\r\n //delete book deliveries first\r\n String selectionBookDeliveries = DeliveryEntry.COLUMN_BOOK_ID + \"= ?\";\r\n String[] selectionArgsBookDeliveries = new String[]{String.valueOf(ContentUris.parseId(mCurrentBookUri))};\r\n\r\n int deliveryRowsDeleted = getContentResolver().delete(DeliveryEntry.CONTENT_URI, selectionBookDeliveries, selectionArgsBookDeliveries);\r\n\r\n //show how many deliveries were deleted\r\n Toast.makeText(this, \"\" + deliveryRowsDeleted + getString(R.string.deliveres_deleted_toast),\r\n Toast.LENGTH_LONG).show();\r\n\r\n //delete the book\r\n int rowsDeleted = getContentResolver().delete(mCurrentBookUri, null, null);\r\n // Show a toast message depending on whether or not the delete was successful.\r\n if (rowsDeleted == 0) {\r\n // If no rows were deleted, then there was an error with the delete.\r\n Toast.makeText(this, R.string.book_editor_delete_failed,\r\n Toast.LENGTH_LONG).show();\r\n } else {\r\n // Otherwise, the delete was successful and we can display a toast.\r\n Toast.makeText(this, R.string.book_editor_delete_success,\r\n Toast.LENGTH_SHORT).show();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c503af72716918ba8d09e9df31536732", "score": "0.56291777", "text": "private void makeAddReview(String user_id, String reviews, String ratings, String appointment_id,\n int position, Appointment_list_model appointment_list_model) {\n\n ArrayList<NameValuePair> params = new ArrayList<NameValuePair>();\n params.add(new NameValuePair(\"user_id\", user_id));\n params.add(new NameValuePair(\"reviews\", reviews));\n params.add(new NameValuePair(\"ratings\", ratings));\n params.add(new NameValuePair(\"appointment_id\", appointment_id));\n\n // CommonAsyTask class for load data from api and manage response and api\n CommonAsyTask task = new CommonAsyTask(BaseURL.POST, params,\n BaseURL.ADD_REVIEW_URL, new CommonAsyTask.VJsonResponce() {\n @Override\n public void VResponce(String response) {\n Log.e(context.toString(), response);\n\n try {\n JSONObject jsonObject = new JSONObject(response);\n String reviews = jsonObject.getString(\"reviews\");\n String ratings = jsonObject.getString(\"ratings\");\n\n appointment_list_model.setAvg_rating(ratings);\n appointment_list_model.setReview_count(ratings);\n\n modelList.set(position, appointment_list_model);\n notifyItemChanged(position);\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n\n //CommonAppCompatActivity.showToast(context, response);\n }\n\n @Override\n public void VError(String responce) {\n Log.e(context.toString(), responce);\n CommonAppCompatActivity.showToast(context, responce);\n }\n }, true, context);\n task.execute();\n }", "title": "" }, { "docid": "56b10cdc23d49787a040d21825ac74c4", "score": "0.5626051", "text": "public static void addReview(int rating, String comment, String userID, String movie_name) {\r\n\r\n\t\tReview review = new Review(rating, comment, userID);\r\n\t\treview.addReviewToCSV(review);\r\n\t\tArrayList<String> movie_row = csvRW.search(\"moviedatabase\", \"Name\", movie_name); // search for that movie in\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// movie database\r\n\t\tString id = movie_row.get(0);\r\n\t\tString reviews = movie_row.get(9);\r\n\t\tfor (int k = 0; k < MovieController.movieArr.size(); k++) {\r\n\t\t\tif (MovieController.searchOneMovie(movie_name) == MovieController.movieArr.get(k).getMovieID()) {\r\n\t\t\t\tMovieController.movieArr.get(k).addReview(review); // add the review to the movie object in movieArr\r\n\t\t\t\tString userRating = MovieController.movieArr.get(k).getOverallUserRating();\r\n\t\t\t\tSystem.out.println(\"Overall user rating: \" + userRating);\r\n\t\t\t\tcsvRW.editCSV(\"moviedatabase\", id, \"OverallRating\", userRating); // write new Overall Rating to the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// movie database\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// if there are no reviews initially\r\n\t\tif (reviews.equals(\"\")) {\r\n\t\t\tcsvRW.editCSV(\"moviedatabase\", id, \"ReviewID\", Integer.toString(review.getReviewID())); // write reviewID to\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// movie database\r\n\r\n\t\t} else {\r\n\t\t\t// if there are more than one review\r\n\t\t\tif (reviews.length() != 1) {\r\n\t\t\t\tString cut = reviews.substring(1, reviews.length() - 1);\r\n\t\t\t\tString[] arr = cut.split(\",\");\r\n\t\t\t\tString change = \"\";\r\n\t\t\t\tfor (int i = 0; i < arr.length; i++) {\r\n\t\t\t\t\tchange += arr[i] + \",\";\r\n\t\t\t\t}\r\n\t\t\t\tchange += Integer.toString(review.getReviewID());\r\n\t\t\t\tcsvRW.editCSV(\"moviedatabase\", id, \"ReviewID\", change); // write reviewID to movie database\r\n\t\t\t} else {\r\n\t\t\t\t// if there is one review\r\n\t\t\t\tString change = reviews + \",\" + Integer.toString(review.getReviewID());\r\n\t\t\t\tcsvRW.editCSV(\"moviedatabase\", id, \"ReviewID\", change);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "02d745fec018b8b779d7024ec940abae", "score": "0.5610737", "text": "@PostMapping (value=\"/attemptadd\")\n public String attemptadd(@RequestParam String title,\n @RequestParam String author,\n @RequestParam String description,\n @RequestParam String bookshelf,\n @RequestParam String ownstat,\n @RequestParam String view,\n @RequestParam String rating,\n @RequestParam String haveread,\n @RequestParam String rdate) {\n if (title.isEmpty()) {\n errmsg = \"Book must have a title\";\n showerror = true;\n savedauthor = author;\n savedesc = description;\n return \"redirect:/addbook\";\n }\n\n //check if title already exists\n Book titlecheck = bookdao.getFirstByTitleAndUserid(title, HomeController.thisuser);\n if (titlecheck != null) {\n errmsg = \"Book with that title already exists on your bookshelves.\";\n showerror = true;\n savedauthor = \"\";\n savedesc = description;\n return \"redirect:/addbook\";\n }\n\n //getting int of rating\n if (rating.isEmpty()) {\n rating = \"0\";\n }\n int rate = Integer.valueOf(rating);\n\n if (description.isEmpty()) {\n description = \"\";\n }\n\n if (author.isEmpty()) {\n author = \"\";\n }\n\n //getting date\n java.sql.Date date;\n if (rdate.isEmpty()) {\n date = null;\n } else {\n date = Date.valueOf(rdate);\n }\n\n //adding new book\n Book book = new Book(title, HomeController.thisuser, author, description, bookshelf, ownstat, view, rate, haveread, date);\n bookdao.save(book);\n errmsg=\"\";\n showerror = false;\n savedesc = \"\";\n savedauthor = \"\";\n savetitle = \"\";\n return \"redirect:/addbook\";\n }", "title": "" }, { "docid": "5d464d2c44b58be8719d490e10ffaacb", "score": "0.5610248", "text": "private void deleteBook() {\n // Only perform the delete if this is an existing book.\n if (mCurrentBookUri != null) {\n // Call the ContentResolver to delete the book at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentBookUri\n // content URI already identifies the book that we want.\n int rowsDeleted = getContentResolver().delete(mCurrentBookUri, null, null);\n\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, display message that there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast with that info\n Toast.makeText(this, getString(R.string.editor_delete_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n\n // Close the activity\n finish();\n }", "title": "" }, { "docid": "05674b3ee39d5191588cb7e70ffc6cac", "score": "0.5608881", "text": "@Override\n public void deleteBook(){\n books.remove(this);\n }", "title": "" }, { "docid": "dfb67b053ae335745665ff9e9f6b633a", "score": "0.5594435", "text": "public void addReview(Review viewerReview) {\r\n pastReviews.add(viewerReview);\r\n }", "title": "" }, { "docid": "1497780dc6adbcc680d3f5d3f35cd679", "score": "0.55933577", "text": "@PostMapping(\"/reviews\")\n public List<Review> addReview(@RequestBody List<Review> reviews){\n return reviewService.saveReviews(reviews);\n }", "title": "" }, { "docid": "e5a2c8e274a53e43c5f5a116cd067800", "score": "0.5585994", "text": "public void deleteBook (int id){bookManager.deleteBook(id);\n }", "title": "" }, { "docid": "8e6ce38ab26ebfc91667c63d7676b2d2", "score": "0.5579424", "text": "public static void createRating(int itemID, String reviewer, int rating, String review){\n try{\n PreparedStatement preparedStatement = connection.prepareStatement(\"INSERT IGNORE INTO Rating VALUES(?,?,?,?);\");\n preparedStatement.setInt(1,itemID);\n preparedStatement.setString(2,reviewer);\n preparedStatement.setInt(3,rating);\n preparedStatement.setString(4,review);\n preparedStatement.executeUpdate();\n preparedStatement.close();\n\n }catch(Exception expt){\n expt.printStackTrace();\n }\n }", "title": "" }, { "docid": "4e61dd25be90afc92fd5df571938f184", "score": "0.55749595", "text": "@RequestMapping(value = \"/deleteReview\", method = RequestMethod.POST)\n\tpublic ModelAndView deleteReview(@ModelAttribute ReviewInfo review, int reviewId, ModelAndView mv) {\n\t\tmv.addObject(\"reviews\", this.reviewService.getReviewById(reviewId));\n\t\treviewService.deleteReview(reviewId);\n\t\tmv.setViewName(\"redirect:/updateUser\");\n\t\treturn mv;\n\t}", "title": "" }, { "docid": "056fdeef4f40d10f155e644416018a98", "score": "0.55613804", "text": "@Modifying\n @Query(\"DELETE FROM Review WHERE user.id = :userId AND game.id = :gameId\")\n void deleteReviewByUserIdAndGameId(int userId, int gameId);", "title": "" }, { "docid": "930538f325fc529044d1636b67a11bd0", "score": "0.55610704", "text": "boolean removeBook(Book book);", "title": "" }, { "docid": "0d3e5acd997cd41c8a8e42eb02c61873", "score": "0.55594355", "text": "private void deleteBook() {\n // Only perform the delete if this is an existing book.\n if (mCurrentBookUri != null) {\n // Call the ContentResolver to delete the book at the given content URI.\n int rowsDeleted = getContentResolver().delete(mCurrentBookUri, null, null);\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n // Close the activity\n finish();\n }\n }", "title": "" }, { "docid": "f985f97412def1949cbe88e748a06902", "score": "0.5551966", "text": "void addBook(Book book, int quantity);", "title": "" }, { "docid": "646c5f42a33312ef01741df42d0c1b58", "score": "0.5544592", "text": "@Override\n\tpublic void delete_book(int isbn) {\n\t\t\n\t}", "title": "" }, { "docid": "a5de40ed908eea38b19b30488a3058c1", "score": "0.5529952", "text": "private void deleteBook() {\n // Only perform the delete if this is an existing book.\n if (mCurrentBookUri != null) {\n\n int rowsDeleted = getContentResolver().delete(mCurrentBookUri, null, null);\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n // Close the activity\n finish();\n }", "title": "" }, { "docid": "6791cc770c0f6991c98b692b9e3cb8a6", "score": "0.55250937", "text": "private void deleteBook() {\n // Only perform delete if this is an existing book\n if (mCurrentBookUri != null) {\n // Call the ContentResolver to delete the book at the given content URI.\n // Pass in null for the selection and selection args because the mCurrentBookUri\n // content URI already identifies the book that we want.\n int rowsDeleted = getContentResolver().delete(mCurrentBookUri, null, null);\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n\n }\n\n // Notify the content resolver and close the activity\n getContentResolver().notifyChange(mCurrentBookUri, null);\n finish();\n }", "title": "" }, { "docid": "71a9c6125a6a4e88e6f0048ff003838d", "score": "0.55213374", "text": "@RequestMapping(value = \"/addReview\", method = RequestMethod.POST)\n\tpublic ModelAndView eachReview(ReviewInfo review) {\n\t\treviewService.addReview(review);\n\t\treturn new ModelAndView(\"redirect:/home\");\n\t}", "title": "" }, { "docid": "06a83a738c4946b735383cb614e70189", "score": "0.5515662", "text": "int deleteByExample(BookpicExample example);", "title": "" }, { "docid": "ec7d799a77fe87f542cf96207f01beae", "score": "0.55094206", "text": "void removeFromCart(Publication book);", "title": "" }, { "docid": "d90c6954827cf1fb332a021273047dd6", "score": "0.55083436", "text": "public void deleteBook(Long bookId);", "title": "" }, { "docid": "b2d16f0de8b02a1765bbcc52c63be36c", "score": "0.5503748", "text": "public boolean deleteReview(int rid) {\n\t Connection connection = ConnectionFactory.getConnection();\n\t try {\n\t Statement stmt = connection.createStatement();\n\t int i = stmt.executeUpdate(\"DELETE FROM review WHERE rid='\" + rid+\"'\");\n\t if(i == 1) {\n\t return true;\n\t }\n\t } catch (SQLException ex) {\n\t ex.printStackTrace();\n\t }\n\t return false;\n\t}", "title": "" }, { "docid": "dad57eb46dea4c244fce684724f641d1", "score": "0.54953605", "text": "private void deleteBook() {\n // Only perform the delete if this is an existing book.\n if (mCurrentBookUri != null) {\n // Call the ContentResolver to delete the book at the given content URI.\n int rowsDeleted = getContentResolver().delete(mCurrentBookUri,\n null, null);\n\n // Show a toast message depending on whether or not the delete was successful.\n if (rowsDeleted == 0) {\n // If no rows were deleted, then there was an error with the delete.\n Toast.makeText(this, getString(R.string.editor_delete_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the delete was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_delete_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n }\n\n // Close the activity.\n finish();\n }", "title": "" }, { "docid": "1e4c1ef9754157556c8888041063ac7a", "score": "0.5477188", "text": "public boolean addReview(String hotelId, String reviewId, int rating, String reviewTitle, String review,\n\t\t\tboolean isRecom, String date, String username) {\t\t\n\t\t//With the lockWrite it is added to our HashMap safely\n\t\tlock.lockWrite();\n\t\ttry {\n\t\t\t// FILL IN CODE\n\t\t\t//Initialise it to default value.\n\t\t\tisSuccessful = false;\n\t\t\t//Check the rating is in the correct range or not.\n\t\t\t\n\t\t\tif(1> rating || 5 < rating) {\n\t\t\t\t// set the false.\n\t\t\t\tisSuccessful = false;\n\t\t\t} else {\n\t\t\t\t//Check the date is correct format or not.\n\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\t\t\ttry {\n\t\t\t\t\tDate date1 = sdf.parse(date);\n\t\t\t\t\t// set the true.\n\t\t\t\t\tisSuccessful = true;\n\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t\tSystem.out.println(\"Date is invalid!\");\n\t\t\t\t}\n\t\t\t}\n\t\t\t// If successful is true add it.\n\t\t\t//if(isSuccessful && hotelsGivenByHotelId.containsKey(hotelId)) {\n\t\t\tif(isSuccessful) {\n\t\t\t\t//Set the values to the reviews object.\n\t\t\t\treviews = new Review(reviewId, hotelId, reviewTitle, review, username, isRecom, date, rating);\t\t\t\n\t\t\t\t//Check that if hotel id already exist or not\n\t\t\t\tif(!(reviewsGivenByHotelId.containsKey(hotelId))) {\n\t\t\t\t\tTreeSet<Review> newReviewSet = new TreeSet<Review>();\n\t\t\t\t\tnewReviewSet.add(reviews);\n\t\t\t\t\t//Add to the reviewsGivenByHotelId TreeMap.\n\t\t\t\t\treviewsGivenByHotelId.put(hotelId, newReviewSet);\n\t\t\t\t} else {\n\t\t\t\t\tTreeSet<Review> existingReviewSet;\n\t\t\t\t\texistingReviewSet = reviewsGivenByHotelId.get(hotelId);\t\t\t\n\t\t\t\t\texistingReviewSet.add(reviews);\t\n\t\t\t\t\t//Add to the reviewsGivenByHotelId TreeMap.\n\t\t\t\t\treviewsGivenByHotelId.put(hotelId, existingReviewSet);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn isSuccessful; // don't forget to change it\n\t\t\t\n\t\t} finally {\n\t\t\tlock.unlockWrite();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "b67e7a738ec05ca9d5c3f821cac2a2c3", "score": "0.54762876", "text": "int deleteByExample(SpotRatingExample example);", "title": "" }, { "docid": "5e1181076075a7451dc8fe40d256e3b3", "score": "0.54747176", "text": "int deleteByExample(BooktypeExample example);", "title": "" }, { "docid": "cd6b3d3e9ea1a156a480e846346d74ac", "score": "0.54736584", "text": "private void updateReviews(){\n System.out.println(\"update reviews\");\n FetchReviewsTask reviewsTask = new FetchReviewsTask(reviewAdapter);\n reviewsTask.execute(movie.getMovieId());\n }", "title": "" }, { "docid": "c2e5f530691e453168316752e5c0d9e4", "score": "0.54602414", "text": "public void addCourseReview(CourseReview courseReview) {\n\t\t\n\t\tif (courseReviewList == null) {\n\t\t\t\n\t\t\tcourseReviewList = new LinkedList<>();\n\t\t\t\n\t\t}\n\t\t\n\t\tcourseReviewList.add(courseReview);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "cad4e63dd26186489334ee9d60e6639a", "score": "0.54375136", "text": "private void saveBook() {\n // Read from input fields\n // Use trim to eliminate leading or trailing white space\n String nameString = mNameEditText.getText().toString().trim();\n String authorString = mAuthorEditText.getText().toString().trim();\n String priceString = mPriceEditText.getText().toString().trim();\n float priceFloat = 0;\n if (priceString.length() != 0) {\n priceFloat = Float.parseFloat(priceString);\n }\n String supplierString = mSupplierEditText.getText().toString().trim();\n String phoneNumberString = mPhoneNumberEditText.getText().toString().trim();\n\n // Create a ContentValues object where column names are the keys,\n // and book attributes from the editor are the values.\n ContentValues values = new ContentValues();\n values.put(BookEntry.COLUMN_BOOK_NAME, nameString);\n values.put(BookEntry.COLUMN_AUTHOR_NAME, authorString);\n values.put(BookEntry.COLUMN_BOOK_PRICE, priceFloat);\n values.put(BookEntry.COLUMN_BOOK_QUANTITY, mQuantityInt);\n values.put(BookEntry.COLUMN_BOOK_SUPPLIER, supplierString);\n values.put(BookEntry.COLUMN_BOOK_SUPPLIER_PHONE_NUMBER, phoneNumberString);\n\n // Verify if all the fields are completed.\n if (nameString.length() == 0 || authorString.length() == 0 || priceString.length() == 0 || supplierString.length() == 0 || phoneNumberString.length() == 0) {\n Toast.makeText(EditorActivity.this, R.string.fill_out_fields, Toast.LENGTH_SHORT).show();\n } else {\n // Verify if the price is valid\n if (priceFloat <= 0) {\n Toast.makeText(EditorActivity.this, R.string.invalid_price, Toast.LENGTH_SHORT).show();\n } else {\n if (mCurrentBookUri == null) {\n // Insert a new row for book in the database, returning the ID of that new row.\n Uri newUri = getContentResolver().insert(BookEntry.CONTENT_URI, values);\n\n // Show a toast message depending on whether or not the insertion was successful\n if (newUri == null) {\n // If the new content URI is null, then there was an error with insertion.\n Toast.makeText(this, getString(R.string.editor_insert_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the insertion was successful and we can display a toast.\n Toast.makeText(this, getString(R.string.editor_insert_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n //Exit activity\n finish();\n } else {\n // Update the book\n int rowsUpdated = getContentResolver().update(mCurrentBookUri, values, null, null);\n //Show a toast message depending on whether or not the update was successful\n if (rowsUpdated == 0) {\n // If no row was updated, then there was an error with the update.\n Toast.makeText(this, R.string.editor_edit_book_failed, Toast.LENGTH_SHORT).show();\n } else {\n // Otherwise, the update was successful and we can display a toast.\n Toast.makeText(this, R.string.editor_edit_book_successful, Toast.LENGTH_SHORT).show();\n }\n //Exit activity\n finish();\n }\n }\n }\n }", "title": "" }, { "docid": "27dec7dfe40dd7155bb28b974b27b044", "score": "0.54338235", "text": "public boolean addReview(Review review) {\n\t\treturn j.update(SQL_INSERT_REVIEW, review.getOrderId(), review.getReviewContent(), review.getRate()) > 0;\n\t}", "title": "" }, { "docid": "f50f246e935caa4a49fe797abafd775f", "score": "0.5426534", "text": "long addBook(BookToAdd bookToAdd);", "title": "" }, { "docid": "e3991b347f689407211ace07a0e43b4d", "score": "0.5416748", "text": "private void onReviewButtonClicked(View view) {\n\t\t String DishText = DishField.getText().toString().trim();\n\t\t \n\t\t if(DishText != NULL && !DishText.contentEquals(\"\") )\n\t\t {\n\t\t\t dish = DishText.substring(0,1).toUpperCase() + DishText.substring(1).toLowerCase();\n\t\t\t BackendlessDataQuery dq = new BackendlessDataQuery();\n\t\t\t String wc = \"R_id = '\" + Integer.toString(getIntent().getIntExtra(\"sid\",0)) + \"'\";\n\t\t\t wc = wc + \" And Name = '\" + dish + \"'\";\n\t\t\t dq.setWhereClause(wc);\n\t\t\t //look in Dish Table of database\n\t\t\t Dish.findAsync( dq, new AsyncCallback<BackendlessCollection<Dish>>()\n\t\t\t\t\t {\n\t\t\t\t @Override\n\t\t\t\t public void handleResponse( BackendlessCollection<Dish> response )\n\t\t\t\t {\n\t\t\t\t\t List<Dish> lr = response.getData();\n\t\t\t\t\t if(lr.size() < 1){\n\t\t\t\t\t\t \n\t\t\t\t\t\t Dish d = new Dish();\n\t\t\t\t\t\t d.setName(dish);\n\t\t\t\t\t\t d.setR_id( Integer.toString(getIntent().getIntExtra(\"sid\",0)) );\n\t\t\t\t\t\t \n\t\t\t\t\t\t d.saveAsync( new AsyncCallback<Dish>()\n\t\t\t\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\tpublic void handleFault(BackendlessFault arg0) {\n\t\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\t\tpublic void handleResponse(Dish arg0) {\n\t\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\t\t showToast( \" Dish added.\" );\n\t\t\t\t\t\t\t\t\t\t}\n\t\t \n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t }\n\t\t\t\t\t //extra not needed\n\t\t\t\t\t /*else \n\t\t\t\t\t {\n\t\t\t\t\t\t Dish firstDish = response.getCurrentPage().get( 0 );\n\t\t\t\t\t\t dish = firstDish.getName();\n\t\t\t\t\t }*/\n\t\t\t\t\t \n\t\t\t\t }\n\t\t\t\t@Override\n\t\t\t\tpublic void handleFault(BackendlessFault fault) { \n\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t return;\n\t\t\t\t}\n\t\t\t});\n\t\t }\n\t\t else\n\t\t {\n\t\t\t dish = \"\";\n\t\t }\n\t\t String whereClause = \"R_id = '\"+ Integer.toString(getIntent().getIntExtra(\"sid\", 0)) + \"'\"; \n\n\t\t BackendlessDataQuery dataQuery = new BackendlessDataQuery();\n\t\t dataQuery.setWhereClause( whereClause );\n\t\t Restaurant.findAsync( dataQuery, new AsyncCallback<BackendlessCollection<Restaurant>>() \n\t\t{\n\t\t\t @Override\n\t\t\t public void handleResponse( BackendlessCollection<Restaurant> response )\n\t\t\t {\n\t\t\t\t List<Restaurant> lr = response.getData();\n\t\t\t\t if(lr.size() < 1){\n\t\t\t\t\t showToast( \" Restaurant not found.\" );\n\t\t\t\t\t return;\n\t\t\t\t }\n\t\t\t\t Restaurant firstRestaurant = response.getCurrentPage().get( 0 );\n\t\t\t\t showToast(\" Restaurant Experience\");\n\t\t\t\t i.putExtra(\"restaurant\", firstRestaurant.getR_id().toString());\n\t\t\t\t i.putExtra(\"rnm\", firstRestaurant.getRname());\n\t\t\t\t i.putExtra(\"dish\", dish);\n\t\t\t\t i.putExtra(\"nor\", firstRestaurant.getNumOfReviews());\n\t\t\t\t i.putExtra(\"avgp\", firstRestaurant.getAvgPrice());\n\t\t\t\t startActivity (i);\n\t\t\t\t finish();\n\t\t\t\t \n\t\t\t }\n\t\t\t@Override\n\t\t\tpublic void handleFault(BackendlessFault fault) { \n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t return;\n\t\t\t}\n\t\t});\n\t\t \n\t\t \n\t\t \n\t}", "title": "" }, { "docid": "9fce137427a151b7cb004d109b3b0f08", "score": "0.54091495", "text": "@Override\n public void onClick(View v) {\n final float rating = ratingBar.getRating();\n //creating a hashmap object and passing it to the database\n Map<String, Object> ratingUpdate = new HashMap<>();\n ratingUpdate.put(\"starRating\", rating);\n ratingUpdate.put(\"ratingStatus\", \"rated\");\n //saving the rating\n db.collection(\"bookings\")\n .document(bookingId)\n .update(ratingUpdate)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.d(TAG, \"Customer rating entry: \"+String.valueOf(rating));\n //close dialog\n dismiss();\n }\n });\n }", "title": "" }, { "docid": "0385c8ab58c701fd0de82d36df2f83cb", "score": "0.54035497", "text": "private void RemoveBook(int bookID) {\n DeleteBookFromTables(\"review_rating\", bookID);\n DeleteBookFromTables(\"readinghistory\", bookID);\n DeleteBookFromTables(\"invitation\", bookID);\n DeleteBookFromTables(\"complaint\", bookID);\n DeleteBookFromTables(\"bookInfo\", bookID);\n\n JOptionPane.showMessageDialog(null, \"All records relate to this book have been removed from the system.\");\n }", "title": "" }, { "docid": "e5c68d38f25aa63459845c913cd0e90b", "score": "0.54029244", "text": "public interface ReviewDAO {\n\n Long create(Review review);\n\n Review get(Long reviewID);\n\n void update(Review review);\n\n List<Review> getReviewsByMovieId(Long movieID);\n\n void delete(Review review);\n\n}", "title": "" }, { "docid": "525e3b06fd9b890beebee8fca027f202", "score": "0.5398264", "text": "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete Review : {}\", id);\n reviewRepository.delete(id);\n reviewSearchRepository.delete(id);\n }", "title": "" }, { "docid": "8e6e47a1450aabd4b3411b88838cbb53", "score": "0.53958124", "text": "public void addReviewer(Employee emp) {\n reviewers.add(emp);\n }", "title": "" }, { "docid": "70bb756586e8170af1bdb56a8a4bb62f", "score": "0.53882706", "text": "void addToCart(Publication book);", "title": "" }, { "docid": "fc10a2483b6ee54bfb1895d9cdf163a2", "score": "0.53812957", "text": "public interface ReviewService {\n public abstract void add(BookReview bookReview);\n\n public abstract void del(BookReview review);\n\n public abstract BookReview get(Long id);\n\n public abstract List<BookReview> list();\n}", "title": "" }, { "docid": "2e702297e6ef11e7b4fb110b884705a5", "score": "0.536587", "text": "int deleteByExample(TbBookExample example);", "title": "" }, { "docid": "27bef86964f87beab618dca372d8fbb8", "score": "0.5358983", "text": "private void saveBook() {\n\n String pictureString;\n if (mUri != null) {\n pictureString = mUri.toString();\n } else {\n mUri = Uri.parse(\"android.resource://com.botsone.android.bookstore/drawable/ic_empty\");\n pictureString = mUri.toString();\n }\n\n String nameString = mNameEditText.getText().toString().trim();\n String sectionString = mSectionEditText.getText().toString().trim();\n String authorString = mAuthorEditText.getText().toString().trim();\n String publisherString = mPublisherEditText.getText().toString().trim();\n String priceString = mPriceEditText.getText().toString().trim();\n String quantityString = mQuantityEditText.getText().toString().trim();\n String supplierString = mSupplierEditText.getText().toString().trim();\n String supplierNumberString = mSupplierPhoneEditText.getText().toString().trim();\n\n // Convert price to double and quantity to int\n double price = Double.parseDouble(priceString);\n\n int quantity = Integer.parseInt(quantityString);\n\n // Create a ContentValues object where column names are the keys,\n // and book attributes from the editor are the values.\n ContentValues values = new ContentValues();\n\n values.put(BookEntry.COLUMN_BOOK_PICTURE, pictureString);\n values.put(BookEntry.COLUMN_BOOK_NAME, nameString);\n values.put(BookEntry.COLUMN_BOOK_SECTION, sectionString);\n values.put(BookEntry.COLUMN_BOOK_AUTHOR, authorString);\n values.put(BookEntry.COLUMN_BOOK_PUBLISHER, publisherString);\n values.put(BookEntry.COLUMN_BOOK_PRICE, price);\n values.put(BookEntry.COLUMN_BOOK_QUANTITY, quantity);\n values.put(BookEntry.COLUMN_BOOK_SUPPLIER, supplierString);\n values.put(BookEntry.COLUMN_BOOK_SUPPLIER_PHONE, supplierNumberString);\n\n // Determine if this is a new book or not by checking if mCurrentBookUri is null\n if (mCurrentBookUri == null)\n\n {\n // NEW BOOK - insert book into the provider, return the URI for the new book\n Uri newUri = getContentResolver().insert(BookEntry.CONTENT_URI, values);\n\n // Pop toast saying whether or not we had success\n if (newUri == null) {\n // ERROR\n Toast.makeText(this, getString(R.string.editor_insert_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // Insertion successful\n Toast.makeText(this, getString(R.string.editor_insert_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n\n } else\n\n {\n // EXISTING BOOK - update book with content URI mCurrentBookUri and pass in the\n // new ContentValues. Pass null for selection and selectionArgs because mCurrentBookUri\n // will already identify the correct row in the db that we want to modify\n int rowsAffected = getContentResolver().update(mCurrentBookUri, values,\n null, null);\n\n // Pop toast saying whether update was successful\n if (rowsAffected == 0) {\n // ERROR\n Toast.makeText(this, getString(R.string.editor_update_book_failed),\n Toast.LENGTH_SHORT).show();\n } else {\n // update successful\n Toast.makeText(this, getString(R.string.editor_update_book_successful),\n Toast.LENGTH_SHORT).show();\n }\n\n\n }\n\n }", "title": "" }, { "docid": "465d64beef04800e03d14784edc0e67f", "score": "0.533424", "text": "public void removeProduct(Book book){\n books.remove(book);\n }", "title": "" }, { "docid": "c4e63f390af8f71d150d65b3f1bb78af", "score": "0.5327767", "text": "public void addBook(Book book) {\n SQLiteDatabase db = this.getWritableDatabase();\n ContentValues values = new ContentValues();\n values.put(Book.COLUMN_TITLE, book.getTitle());\n values.put(Book.COLUMN_ISBN, book.getISBN());\n values.put(Book.COLUMN_AUTHOR, book.getAuthor());\n values.put(Book.COLUMN_PUBLISHER, book.getPublisher());\n values.put(Book.COLUMN_EDITION, book.getEdition());\n values.put(Book.COLUMN_YEAROFPUBLICATION, book.getYearOfPublication());\n values.put(Book.COLUMN_GENRE, book.getGenre());\n values.put(Book.COLUMN_DESCRIPTION, book.getDescription());\n\n db.insert(Book.TABLE_NAME, null, values);\n db.close();\n }", "title": "" }, { "docid": "d13635cf4323430403cd91be9b22d5a9", "score": "0.5326023", "text": "public void addBook() {\n\t\tSystem.out.println(\"增加图书...\");\r\n\t}", "title": "" }, { "docid": "c4155569c8f5665c12467178e9dc2147", "score": "0.53161174", "text": "@Resource(name=\"jdbc/Users\")\n\tpublic String addReview(byte[] data)\n\t{\n\t\t String output=\"WS : \";\n\t\t try\n\t\t {\n\t\t\t Review review = new Review(\"\",\"\",\"\",0,0,0);\n\t\t\t try\n\t\t\t { \n\t\t\t\t // get input and cast it to Review object.\n\t\t\t\t review = (Review) new ObjectInputStream(new ByteArrayInputStream(data)).readObject();\n\t\t\t }\n\t\t\t catch(Exception e)\n\t\t\t {\n\t\t\t\t output = output.concat(\"CAST error \"+e.toString());\n\t\t\t }\n\t\t\t \n\t\t\t Class.forName(\"com.mysql.jdbc.Driver\");\n\t\t\t Connection con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/Users\",\"root\",\"root\");\n\t\t\t \n\t\t\t String name = review.getUsername();\n\t\t\t String location = review.getLocation();\n\t\t\t String reviewText = review.getReviewText();\n\t\t\t int rating = review.getRating();\n\t\t\t int likes = review.getLikes();\n\t\t\t int dislikes = review.getDislikes();\n\t\t\t \n\t\t\t \n\t\t\t PreparedStatement statement = con.prepareStatement(\"SELECT * FROM Reviews WHERE location='\"+location+\"' AND username='\"+name+\"'\");\n\t\t\t ResultSet result = statement.executeQuery();\n\t\t\t \n\t\t\t // check if the user has already submitted a review. if not insert it to the database , else alter the relevant entries.\n\t\t\t if(result.next())\n\t\t\t {\n\t\t\t\t PreparedStatement insertStatement = con.prepareStatement(\"UPDATE Reviews SET likes='\"+likes+\"', dislikes='\"+dislikes+\"' ,review='\"+reviewText+\"' ,rating='\"+rating+\"' WHERE location='\"+location+\"' AND username='\"+name+\"'\");\n\t\t\t\t insertStatement.executeUpdate();\n\t\t\t\t output=\"ReviewUpdateTrue , updated review!\";\n\t\t\t }\n\t\t\t else\n\t\t\t {\n\t\t\t\t PreparedStatement insertStatement = con.prepareStatement(\"INSERT INTO Reviews (username,location,review,rating,likes,dislikes) VALUES('\"+name+\"','\"+location+\"','\"+reviewText+\"','\"+rating+\"','\"+likes+\"','\"+dislikes+\"')\");\n\t\t\t\t insertStatement.executeUpdate();\n\t\t\t\t output=\"ReviewUpdateTrue , inserted new review!\";\n\t\t\t }\t\t\t \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t\t output = output.concat(\"GENERAL error \"+e.toString());\n\t\t }\n\t\t return output;\n\t}", "title": "" }, { "docid": "8c4229811b2b2c306bf4f2357b240bb5", "score": "0.5289873", "text": "int insert(Book record);", "title": "" }, { "docid": "d8f5d366b2fa88610fe8bb3ae5ebde06", "score": "0.5287399", "text": "private static void addBook(Book book) {\n if (book != null){\n session.save(book);\n System.out.println(\" Saved\");\n }\n }", "title": "" }, { "docid": "3ec637f5a09c9b75c82b5b4943e0ce49", "score": "0.5278224", "text": "@FXML\n public void DeleteBook() {\n deleteRecord(LocalBooksList.get(current_index).getISBN());\n LocalBooksList.remove(current_index);\n updateListView(getBooks_names(LocalBooksList));\n }", "title": "" }, { "docid": "e862c08948b80e4fb22177e1a6321cb4", "score": "0.5274735", "text": "public void confirmLastReview() {\n if (comments.isEmpty()) {\n return;\n }\n if (!comments.get(comments.size() - 1).isEmpty()) {\n remarks.add(new Remark(comments.get(comments.size() - 1)));\n }\n }", "title": "" }, { "docid": "31ccff2fb2007ef6eddcf20a9530019e", "score": "0.5270606", "text": "private static void removeBook(Book book) {\n if(book != null){\n session.delete(book);\n System.out.println(\" Removed\");\n }else{\n System.out.println(\" Invalid book\");\n }\n }", "title": "" }, { "docid": "e6752a94778aec499ce526f981b8a1e8", "score": "0.5246303", "text": "List<Review> findReviewsByRestaurantId(Long restaurantId);", "title": "" }, { "docid": "d7aa6fb4faaee52ed5b2014e2eca3c54", "score": "0.5242728", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tWordReview r1 = new WordReview();\r\n\t\t\t\tp2.add(r1.p1);\r\n\t\t\t\tr1.review();\r\n\t\t\t}", "title": "" }, { "docid": "8c01b0a6b3036675ab7b617a904611f9", "score": "0.52405846", "text": "public void setReviews(ArrayList<Review> reviews) {\n\t\tthis.reviews = reviews;\n\t}", "title": "" }, { "docid": "82016e890ed01424bb7e548b553a2881", "score": "0.5236763", "text": "@Override\n public void updateReview(String testoRecensione, Utente utente, Gioco gioco) throws SQLException{\n Connection connection = DB.openConnection();\n PreparedStatement ps = connection.prepareStatement(UPDATE_REVIEW);\n ps.setString(1, testoRecensione);\n ps.setInt(2, utente.getId());\n ps.setInt(3, gioco.getId());\n ps.executeUpdate();\n ps.close();\n connection.close();\n }", "title": "" }, { "docid": "89a022b5ca972fb0f9c60017e64edc10", "score": "0.52315944", "text": "public void add() {\n item.setId(list.isEmpty() ? 1 : list.get(list.size() - 1).getId() + 1);\n resetLabels();\n if (validateForm(item))\n {\n \tlist.add(item);\n item = new Book();\n }\n }", "title": "" }, { "docid": "0eae1150e87816b73bc3df87a79b7fff", "score": "0.5220083", "text": "void addBook(Book1 book) throws RemoteException;", "title": "" }, { "docid": "9831a3e7a5931e24e49369ba9cfc24dd", "score": "0.52105975", "text": "public Mreview() {\n this.title = \"\";\n this.ratings = new ArrayList<>();\n }", "title": "" }, { "docid": "19485d3e5b8573c8bc209e445bbb1d14", "score": "0.5200875", "text": "protected void bookdeleteActionPerformed(ActionEvent evt) {\n // TODO Auto-generated method stub\r\n String id= idTxt.getText();\r\n if(StringUtil.isEmpty(id)){\r\n JOptionPane.showMessageDialog(null, \"请选择要删除的记录\");\r\n return;\r\n }\r\n int n = JOptionPane.showConfirmDialog(null, \"确定要删除该记录?\");\r\n if(n==0){\r\n Connection con = null;\r\n try{\r\n con = dbUtil.getCon();\r\n \r\n int deleteNum = bookDao.delete(con, id);\r\n if(deleteNum == 1){\r\n JOptionPane.showMessageDialog(null, \"删除成功\");\r\n this.resetValue();\r\n this.fillTable(new Book());\r\n \r\n }else{\r\n JOptionPane.showMessageDialog(null, \"删除失败\");\r\n }\r\n }catch(Exception e){\r\n e.printStackTrace();\r\n }finally{\r\n try{\r\n dbUtil.closeCon(con);\r\n }catch(Exception e1){\r\n e1.printStackTrace();\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "c28f0d3341d81fc84c7f2427399a3893", "score": "0.5200515", "text": "Void deleteBook(Long id) throws IllegalArgumentException, IOException;", "title": "" }, { "docid": "11952991b84e3f259cc6ea8c61022eb1", "score": "0.5196447", "text": "public static String newReview(Request request, Response response) throws IOException, URISyntaxException, InvalidClient {\n String APIKey = request.params(\"APIKey\");\n\n if (!validateClient(APIKey)) {\n throw new InvalidClient(\"Client is not found in database.\");\n } else {\n Review newReview = new Review(getClientID(APIKey),\n request.params(\"productName\"),\n request.params(\"comment\"),\n Integer.parseInt(request.params(\"ratings\")));\n reviews.add(newReview);\n Email.ReviewForModerationEmail(newReview);\n return null;\n }\n }", "title": "" }, { "docid": "c66969b4e54b5f31b35ae77f5db3af59", "score": "0.5196109", "text": "public void submitReview(String theReview) {\r\n\t\tmyReview = theReview;\r\n\t}", "title": "" } ]
bf866174501f99f5c6fc42768ed84c2c
Retorna um mapa que representa o mapa de projetos.
[ { "docid": "77125d987b5d5e98db10ba123ab94de6", "score": "0.60910964", "text": "public HashMap<String, Projeto> getMapProjetos() {\n\t\treturn mapProjetos;\n\t}", "title": "" } ]
[ { "docid": "e7a198efed7161760df13af8f6afaade", "score": "0.5837865", "text": "public static Map<String, Object> crearMapaVortex() {\r\n\t\treturn new VortexMap();\r\n\t}", "title": "" }, { "docid": "2f78102b28ae799a599c0f9e7e99f5a8", "score": "0.57832855", "text": "public Map returnBuildingMap() {\r\n return BuildingMap;\r\n }", "title": "" }, { "docid": "28a09e61ef384e252e04ebfc831aa5b3", "score": "0.5724973", "text": "public Result getMap() {\n\t\treturn ok(map.render());\n\t}", "title": "" }, { "docid": "7872e9a2e32d19cfa91166799cb85105", "score": "0.569783", "text": "public List<ProjectRoot> getProjects();", "title": "" }, { "docid": "373d23d0656f0179e8399d9462285f73", "score": "0.5688074", "text": "protected Map getProjectParameterMap() {\n\t\treturn parent.getProjectParameterMap();\n\t}", "title": "" }, { "docid": "08cb9489386dd7c20b94139f5655de9a", "score": "0.56513244", "text": "public List<ProjectDto> getProjects() {\r\n \t\r\n \tProjectBean proyecto = FacesUtils.getManagedBean(\"projectBean\", ProjectBean.class);\r\n \tprojects = proyecto.getProjects();\r\n \t\r\n \treturn projects;\r\n\t}", "title": "" }, { "docid": "eef986f1e851ba0ba6d5285055bcbf4e", "score": "0.5650709", "text": "public Map getMap() { return map; }", "title": "" }, { "docid": "f6487accd7a448f61e9756b2aff6e546", "score": "0.5644959", "text": "java.lang.String getGameMap();", "title": "" }, { "docid": "f6487accd7a448f61e9756b2aff6e546", "score": "0.5644959", "text": "java.lang.String getGameMap();", "title": "" }, { "docid": "7694a4a842239016c85738287d6dea28", "score": "0.5642946", "text": "@Override\r\n\tpublic Project getProject() {\n\t\tSystem.out.println(\"get project from Access\");\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "d241209ea5df99fd21a10858ef495230", "score": "0.5634198", "text": "private static Map<String, String> creaMapping() {\r\n Map<String,String> res= new HashMap<String,String>();\r\n \r\n res.put(\"-evento\", \"evento\");\r\n res.put(\"-classe\", \"classe\");\r\n \r\n \r\n return Collections.unmodifiableMap(res);\r\n }", "title": "" }, { "docid": "dc360fcdd6c86d00efd02797a839400f", "score": "0.5632472", "text": "public Map format(){\n //TODO: calcutlate/build map\n\n return map;\n\n }", "title": "" }, { "docid": "197536590497ed11e56ab64a191523b5", "score": "0.5621599", "text": "public Map2D getMap()\r\n {\r\n return map;\r\n }", "title": "" }, { "docid": "afa46ce135f152204c111fbc79a01ea6", "score": "0.56146026", "text": "private ObjectNode createSingleMapElement(Gsc010ApplicationEntity application,boolean isDefaultApplication) throws IOException, DCException {\n\t\tMap<String,Map<String,String>> layerProperties = new HashMap<String,Map<String,String>>();\r\n\t\t\r\n\t\tapplicationJson = application.getJson();\r\n\t\t\t\r\n\t\tString layers = getObjectFromJsonText(application.getJson(), Constants.LAYERS);\r\n\t\tJsonNode node = om.readTree(layers);\r\n\r\n\t\tIterator<JsonNode> iteratorNode = node.elements();\r\n\t\t\r\n\t\t//iterate the layer elements\r\n\t\twhile (iteratorNode.hasNext()) {\r\n\t\t\t\r\n\t\t\tMap<String,String> propertyValues = new HashMap<String,String>();\r\n\t\t\t\r\n\t\t\tJsonNode layerNode = iteratorNode.next();\r\n\t\t\t\r\n\t\t\tIterator<String> innerIteratorNode = layerNode.fieldNames();\r\n\t\t\t\r\n\t\t\tString layerId = null;\r\n\t\t\t//iterate the layer element fields\r\n\t\t\twhile(innerIteratorNode.hasNext()) {\r\n\t\t\t\tString fieldName = innerIteratorNode.next();\r\n\t\t\t\t//get the layer id\r\n\t\t\t\tif(Constants.LAYER_ID_FIELD.equalsIgnoreCase(fieldName)) {\r\n\t\t\t\t\tlayerId = layerNode.get(Constants.LAYER_ID_FIELD).asText();\r\n\t\t\t\t//get additional properties\r\n\t\t\t\t} else {\r\n\t\t\t\t\tpropertyValues.put(fieldName,layerNode.get(fieldName).asText());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tlayerProperties.put(layerId, propertyValues);\r\n\t\t}\r\n\r\n\t\treturn createGetConfigurationResult(application.getJson(),layerProperties,isDefaultApplication);\r\n\t}", "title": "" }, { "docid": "23535ff4c9a6902b255e1eff01f88b0d", "score": "0.5612481", "text": "public Mapping getMap() {\n\t\treturn map;\n\t}", "title": "" }, { "docid": "85d7e95d04e62d3c274e7a4d6f764fda", "score": "0.56109357", "text": "public Map<String,NodoFilial> getFilial();", "title": "" }, { "docid": "b22b476ce32036f875c224e35c92946a", "score": "0.560746", "text": "public Map2D<Tilable> getFullMap();", "title": "" }, { "docid": "19d21610df4ea8cba974b3a5d9936f27", "score": "0.55929047", "text": "public static Map getMap(){\n\t\treturn theMap;\n\t}", "title": "" }, { "docid": "52ba44837ffa283f5b2b8578c244e2f3", "score": "0.5562098", "text": "public Project getProject() {\n URI url = Urls.apiProject();\n RequestHelper requestHelper = getRequestHelper();\n ProjectData projectData = requestHelper.executeQuery(new HttpGet(url), true, ProjectData.class);\n return new Project(this, projectData);\n }", "title": "" }, { "docid": "9b210da8b10d8b5dec16c47c20938ea3", "score": "0.5561165", "text": "@JsonView(JsonViews.Api.class)\n public List<Project> getProjects () {\n return Persistence.projects.values()\n .stream()\n .filter(s -> _id.equals(s.regionId))\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "ac8ee046d0ba2348abbd7f471a5bddbd", "score": "0.55578035", "text": "public Project project();", "title": "" }, { "docid": "72010ba81a70058e68102ddf5543d897", "score": "0.5546054", "text": "public PolygonsSet getProjected()\r\n/* 188: */ {\r\n/* 189:253 */ return this.projected;\r\n/* 190: */ }", "title": "" }, { "docid": "f5ac195646156bf9abdf350bdbb92cc4", "score": "0.5523137", "text": "public static Map createMap() {\n Map overworld = new Map();\n overworld.setCell(0, 0, new HomeCell());\n overworld.setCell(0, -1, new FromRuggedToRiches());\n overworld.setCell(1, 1, new LittleGrocerShop());\n overworld.setCell(-1, 1, new ALittleSomethinSomethin());\n overworld.setCell(1, -1, new NuisancePig());\n return overworld;\n }", "title": "" }, { "docid": "9fa453af7a52680d08471dc47fc30dd6", "score": "0.551845", "text": "public MapPanel getMapPanel() {\n\t\treturn map;\n\t}", "title": "" }, { "docid": "55ca891300d70beecf18d9b013dac5c1", "score": "0.55096114", "text": "java.lang.String getMap();", "title": "" }, { "docid": "55ca891300d70beecf18d9b013dac5c1", "score": "0.55096114", "text": "java.lang.String getMap();", "title": "" }, { "docid": "55ca891300d70beecf18d9b013dac5c1", "score": "0.55096114", "text": "java.lang.String getMap();", "title": "" }, { "docid": "eeded182b8b74418e6ea4d074979eb09", "score": "0.55026704", "text": "public MapPan() {\n\t\t\ttry {\n\t\t\t\timg = ImageIO.read(this.getClass().getResource(\n\t\t\t\t\t\t\"Map_proj2try.png\"));\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "1d0d60eb2ae93c4cfd5f502b2abb3134", "score": "0.5501078", "text": "private Project mapRowToProject(SqlRowSet results) {\n\t\tProject temp = new Project();\n\n\t\tLong id = results.getLong(\"project_id\"); // created local variable called id that holds results from db\n\t\ttemp.setId(id); // set the java object id\n\n\t\ttemp.setName(results.getString(\"name\"));\n\n\t\tif (results.getDate(\"from_date\") != null) {\n\t\t\ttemp.setStartDate(results.getDate(\"from_date\").toLocalDate());\n\t\t}\n\t\tif (results.getDate(\"to_date\") != null) {\n\t\t\ttemp.setEndDate(results.getDate(\"to_date\").toLocalDate());\n\t\t}\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "4d9685e63b822808b8decbf9641622aa", "score": "0.5478847", "text": "Project getByID(Long id);", "title": "" }, { "docid": "e2f0de2bd8f6ed29229d5bab58ed48b1", "score": "0.54595596", "text": "public static Map buildMap() {\r\n return new Map(GameConfiguration.ROW_COUNT, GameConfiguration.COLUMN_COUNT);\r\n }", "title": "" }, { "docid": "b48db33201d6fcc4d27ac06f3929dd50", "score": "0.5451762", "text": "public Map copy() {\n\t\t// Create a new map\n\t\tMap newMap = new Map(this.name, this.mapWidth, this.mapHeight);\n\t\tnewMap.currentTick = this.currentTick;\n\n\t\t// Deep copy the map content & objects\n\t\tArray<GameObject> newObjects = new Array<GameObject>(true, this.objects.size, GameObject.class);\n\t\tnewObjects.size = this.objects.size; // Force size so OoB checks don't crash when we directly set the content\n\t\tGameObject[][] newContent = copyMapContent(newObjects);\n\n\t\t// Set some things\n\t\tnewMap.setMapContent(newContent);\n\t\tnewMap.setObjects(newObjects);\n\t\tnewMap.setIdBuffer(new IntArray(idBuffer));\n\t\tnewMap.setCommandCenterObjectIDs(new IntArray(commandCenterObjectIDs));\n\t\t// Return the created map\n\t\treturn newMap;\n\t}", "title": "" }, { "docid": "5b8e9c599fc9158687fe04a98c29474b", "score": "0.544267", "text": "Map<String, Object> getMap();", "title": "" }, { "docid": "a8c62808b5232af69257b067d27574f4", "score": "0.54383516", "text": "public static Map<String, Model> map()\n {\n return map;\n }", "title": "" }, { "docid": "39776e03edc92a9ac03b64be537945e9", "score": "0.54369503", "text": "ChangingList<? extends IMapDefinition> getSingleplayerMaps();", "title": "" }, { "docid": "2764e79c9f143ad54bc21f3be26ce1c6", "score": "0.5427632", "text": "public IMap getMap() {\r\n\t\treturn map;\r\n\t}", "title": "" }, { "docid": "fd625f331efb59b5c130fe951aa39d94", "score": "0.5422225", "text": "@Override\n public Map getMap(String mapName) {\n return instance.getMap(mapName);\n }", "title": "" }, { "docid": "f67f43a412cf915707c56e757a591691", "score": "0.54200333", "text": "public HashMap<String, ArrayList<PaintProject>> returnUserProjectsByCategory() {\n ArrayList<String> userProjectCategeories = projectsDao.categoriesOfUser(loggedIn.getId());\n HashMap<String, ArrayList<PaintProject>> userPaintProjectsByCategory = new HashMap<>();\n for (String category : userProjectCategeories) {\n userPaintProjectsByCategory.put(category, projectsDao.projectsInCategory(category));\n }\n return userPaintProjectsByCategory;\n }", "title": "" }, { "docid": "e9c3d41a685feadac9d804b3987d5410", "score": "0.5417329", "text": "List<Project> listProjects();", "title": "" }, { "docid": "071a9c4232e02ed67d5a4b68264fdc4b", "score": "0.54113215", "text": "public Mapping getMapping(Integer mappingID)\n\t{\n\t\tMapping mapping = null;\n\t\ttry {\n\t\t\tStatement stmt = connection.getStatement();\n\t\t\tResultSet rs = stmt.executeQuery(\"SELECT project_id,source_id,target_id FROM mapping WHERE id=\"+mappingID);\n\t\t\tif(rs.next())\n\t\t\t\tmapping = new Mapping(mappingID,rs.getInt(\"project_id\"),rs.getInt(\"source_id\"),rs.getInt(\"target_id\"));\n\t\t\tstmt.close();\n\t\t} catch(SQLException e) { System.out.println(\"(E) ProjectDataCalls:getMapping: \"+e.getMessage()); }\n\t\treturn mapping;\n\t}", "title": "" }, { "docid": "ca01af099a264bda173ddf859b5a8812", "score": "0.53867036", "text": "@Override\n\tpublic List<ProjectVO> getProjectAll() {\n\t\treturn projectMapper.selectProjectAll();\n\t}", "title": "" }, { "docid": "10337520a36844e9a9b03503c6bd58d6", "score": "0.53824013", "text": "public static List<Project> getProjects() {\n List<Project> projects = new ArrayList<Project>();\n for(int i = 0; i < myProjects.size(); i++) {\n projects.add(myProjects.get(i));\n }\n return projects;\n }", "title": "" }, { "docid": "158df9e7debcd2b74abb3eaf2d7cc0cb", "score": "0.5363926", "text": "Project getProject(long id);", "title": "" }, { "docid": "beac4b5ce85996c936d04351ea2717d8", "score": "0.53634363", "text": "public MapPanel getMapPanel()\r\n\t{\r\n\t\treturn associatedMapPanel;\r\n\t}", "title": "" }, { "docid": "2f83e5acadb121067ca6e09dbceff65e", "score": "0.53622884", "text": "@Override\n public Map getMap() \n {\n return this;\n }", "title": "" }, { "docid": "8008a107bb9f0dc4677961bc2c9ac7fd", "score": "0.5357698", "text": "@SuppressWarnings(\"unchecked\")\r\n private Map makeIdProjectMap(Project[] projects) {\r\n Map map = new HashMap();\r\n\r\n for (Project project : projects) {\r\n map.put(project.getId(), project);\r\n }\r\n return map;\r\n }", "title": "" }, { "docid": "7cdade732a9ea2e4ec49e2331b00b587", "score": "0.5355375", "text": "public ColourMap GetMap() {\r\n\t\treturn (m_map);\r\n\t}", "title": "" }, { "docid": "26cbf6e669be2f0ae78ede7d7bc93dde", "score": "0.53541785", "text": "public GRIDmap getOurMap() { return ourMap; }", "title": "" }, { "docid": "033b665a99a5471834b239497f7104cd", "score": "0.534412", "text": "public List<Project> getAllProjects()\n\t{\n\n\t\tList<Project> pros = new ArrayList<Project>();\n\t\tProject d2 = null;\n\t\tConnection conn4 = ConnectionUtil.getConnection();\n\t\tPreparedStatement stats = null;\n\t\tResultSet rs3 = null;\n\t\tString sql4 = \"select * from project\";\n\t\ttry {\n\t\t\tstats = conn4.prepareStatement(sql4);\n\t\t\trs3 = stats.executeQuery();\n\t\t\twhile (rs3.next()) {\n\t\t\t\td2 = new Project(rs3.getLong(1), rs3.getString(2),\n\t\t\t\t\t\trs3.getString(3));\n\t\t\t\tpros.add(d2);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn pros;\n\t}", "title": "" }, { "docid": "a7cb523dbe9676d8e42fe7979e524288", "score": "0.53370416", "text": "public IProject getProject();", "title": "" }, { "docid": "0d199b7730eba0de20cea719ce615b42", "score": "0.5331191", "text": "Expression getMap();", "title": "" }, { "docid": "9db36bebd42aadd4b20583b6392783d2", "score": "0.5329339", "text": "public static Project getProject(Integer index) {\n return myProjects.get(index);\n }", "title": "" }, { "docid": "17a8cb8b4606c7c4c4dc7bb10fb49b00", "score": "0.532408", "text": "@GetMapping(path = \"/projects\")\n public List<ProjectInformation> findAllProjects() {\n return projectRepository.findAll();\n }", "title": "" }, { "docid": "d3ae8f0e408cf3a76eec791021492c0a", "score": "0.53229916", "text": "java.util.List<Project> getOverview();", "title": "" }, { "docid": "b10c949d039249d3df580f01a8120652", "score": "0.53213114", "text": "Project getProject();", "title": "" }, { "docid": "b10c949d039249d3df580f01a8120652", "score": "0.53213114", "text": "Project getProject();", "title": "" }, { "docid": "d24fbde4f4943bd0e57412b61c6f495c", "score": "0.5312975", "text": "public Map getMap() {\n\t\treturn map;\n\t}", "title": "" }, { "docid": "d24fbde4f4943bd0e57412b61c6f495c", "score": "0.5312975", "text": "public Map getMap() {\n\t\treturn map;\n\t}", "title": "" }, { "docid": "f0effadb3af683bf3a7232e685548e0a", "score": "0.52988005", "text": "public List<DreamHomeVO> getProjectList();", "title": "" }, { "docid": "0b38ce316da6673eb33fdecc346512ab", "score": "0.5295946", "text": "public String mostraProjeto() {\n\t\treturn projeto.representacao();\n\t}", "title": "" }, { "docid": "282c45aaef16b3db7f4f281ba795fe98", "score": "0.52869135", "text": "public Map<String, Object> getMap() {\n return getJsonBuilder().build();\n }", "title": "" }, { "docid": "53264fcede66cf9e6bb6213621eb9098", "score": "0.52757895", "text": "public List<CopiarMapaVortex> copiar() {\r\n\t\tfinal List<CopiarMapaVortex> copiasPendientes = new ArrayList<CopiarMapaVortex>();\r\n\r\n\t\tfinal Set<Entry<String, Object>> entriesOriginal = mapaOriginal.entrySet();\r\n\t\tfor (final Entry<String, Object> entryOriginal : entriesOriginal) {\r\n\t\t\tfinal String key = entryOriginal.getKey();\r\n\t\t\tObject value = entryOriginal.getValue();\r\n\t\t\tif (value instanceof Map) {\r\n\t\t\t\t// Si es un mapa generamos otra copia para que sea modificable\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tfinal Map<String, Object> subMapaOriginal = (Map<String, Object>) value;\r\n\t\t\t\tfinal Map<String, Object> subMapaCopia = crearMapaVortex();\r\n\t\t\t\t// La operación de copia queda para despues\r\n\t\t\t\tcopiasPendientes.add(CopiarMapaVortex.create(subMapaOriginal, subMapaCopia));\r\n\t\t\t\t// Reemplazamos el valor para que se use el mapa que creamos\r\n\t\t\t\tvalue = subMapaCopia;\r\n\t\t\t}\r\n\t\t\tmapaCopia.put(key, value);\r\n\t\t}\r\n\t\treturn copiasPendientes;\r\n\t}", "title": "" }, { "docid": "4061994b565f1e276536a992e124bc62", "score": "0.5273978", "text": "List<? extends Project> getProjects( Namespace namespace) throws ContentAccessException;", "title": "" }, { "docid": "2b27768b6ff008aea868b17660ae865c", "score": "0.52629495", "text": "private Map getWorkContextMap(String raName){\n List<WorkSecurityMap> maps = runtime.getWorkSecurityMap(raName);\n\n List<PrincipalMap> principalsMap = getPrincipalsMap(maps);\n List<GroupMap> groupsMap = getGroupsMap(maps);\n\n HashMap eisASMap = new HashMap();\n\n for(PrincipalMap map : principalsMap){\n eisASMap.put(new PrincipalImpl(map.getEisPrincipal()), new PrincipalImpl(map.getMappedPrincipal()));\n }\n\n for(GroupMap map : groupsMap){\n eisASMap.put(new Group(map.getEisGroup()), new Group(map.getMappedGroup()));\n }\n return eisASMap;\n }", "title": "" }, { "docid": "256d5360e77999970a1f5566aef6f941", "score": "0.5258882", "text": "public File loadMap() {\n File dir = new File(\"maps\");\n dir.mkdir();\n JFileChooser file = new JFileChooser(dir);\n int confirmValue = file.showOpenDialog(null);\n\n if (confirmValue == JFileChooser.APPROVE_OPTION) {\n File selectedFile = file.getSelectedFile();\n\n try {\n FileHelper.loadToConfig(selectedFile);\n if (MapHelper.validateContinentGraph() && MapHelper.validateMap()) {\n return selectedFile;\n } else {\n JOptionPane.showMessageDialog(null, \"Please select a valid map\", \"Error Message\", JOptionPane.ERROR_MESSAGE);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return null;\n }", "title": "" }, { "docid": "af0ac1a768de6fa7267cc294bf54ae1d", "score": "0.52583057", "text": "public abstract String getMap();", "title": "" }, { "docid": "dcc5ddeb08e4aced8191936298040042", "score": "0.5256746", "text": "public Map() {\r\n\t\tString fileName = selectMap();\r\n\t\tif (fileFound == false) {\r\n\t\t\tsetDefaultMapSettings();\r\n\t\t\tSystem.out.println(\"\\nMap Name: \" + mapName);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tList<String> mapStore = readMap(fileName);\r\n\t\t\tmapName = getMapName(mapStore);\r\n\t\t\tgoldRequired = getGoldRequired(mapStore);\r\n\t\t\tmap = getMap(mapStore);\r\n\t\t\t\r\n\t\t\tvalidMap = validateMap(map);\r\n\t\t\tif (validMap == true) {\r\n\t\t\t\tmap = setRandomLocation(map, 'P');\r\n\t\t\t\tmap = setRandomLocation(map, 'B');\r\n\t\t\t\tSystem.out.println(\"\\nMap Name: \" + mapName);\t\r\n\t\t\t}\r\n\t\t\telse if (validMap == false){\r\n\t\t\t\tSystem.out.println(\"Invalid map grid; the default map has been selected.\");\r\n\t\t\t\tsetDefaultMapSettings();\r\n\t\t\t\tSystem.out.println(\"\\nMap Name: \" + mapName);\r\n\t\t\t}\t\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6349700610062ec650122f8c8172789c", "score": "0.52451515", "text": "public Project retrieveByName(String name);", "title": "" }, { "docid": "ea33611ea56dd63695d270494ef620d5", "score": "0.52443486", "text": "CompartmentMapping getCompartmentMapping();", "title": "" }, { "docid": "b2015e335af19d5b020455db75fadbc5", "score": "0.5243311", "text": "@Override\r\n\tpublic List<Project> findAllProjects() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "cb46471096d6ebec85bd45e635bc6f5f", "score": "0.52419156", "text": "@Override\n public List<? extends Project> getProjects( Namespace namespace )\n {\n return namespace.getAsset( ).list( ).stream( )\n .filter( a -> a.isContainer( ) )\n .map( a -> getProjectFromPath( a ) )\n .collect( Collectors.toList());\n }", "title": "" }, { "docid": "fd379b97314db6692f92059b9b8b4ff7", "score": "0.5230838", "text": "public static Project convert(ProjectType project) {\n\t\tProject result = new Project();\n\n\t\tresult.setAuthor(project.getAuthor());\n\t\tresult.setCreated(toDate(project.getCreated()));\n\t\tresult.setDescription(project.getDescription());\n\t\tresult.setHaleVersion(toVersion(project.getVersion()));\n\t\tresult.setModified(toDate(project.getModified()));\n\t\tresult.setName(project.getName());\n\n\t\tresult.setSaveConfiguration(toIOConfiguration(project.getSaveConfig()));\n\n\t\tfor (IOConfigurationType resource : project.getResource()) {\n\t\t\tresult.getResources().add(toIOConfiguration(resource));\n\t\t}\n\n\t\tfor (IOConfigurationType exportConfig : project.getExportConfig()) {\n\t\t\tresult.getExportConfigurations().add(toIOConfiguration(exportConfig));\n\t\t}\n\n\t\tfor (ProjectFileType file : project.getFile()) {\n\t\t\tresult.getProjectFiles().add(\n\t\t\t\t\tnew ProjectFileInfo(file.getName(), URI.create(file.getLocation())));\n\t\t}\n\n\t\tfor (JAXBElement<?> property : project.getAbstractProperty()) {\n\t\t\tObject value = property.getValue();\n\t\t\tif (value instanceof PropertyType) {\n\t\t\t\taddProperty(result.getProperties(), (PropertyType) value);\n\t\t\t}\n\t\t\telse if (value instanceof ComplexPropertyType) {\n\t\t\t\taddProperty(result.getProperties(), (ComplexPropertyType) value);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "21d83d763df5cf6374538054a67d9ce4", "score": "0.52259356", "text": "private ImageView GetMapView(){\n\t\tImage map = new Image(\"map.png\");\n\t\tImageView mapIV = new ImageView();\n\t\tmapIV.setImage(map);\n\t\tmapIV.setFitWidth(scene.widthProperty().get() / 2);\n\t\tmapIV.setPreserveRatio(true);\n\t\tmapIV.setSmooth(true);\n\t\tmapIV.setCache(true);\n\t\t\n\t\treturn mapIV;\n\t}", "title": "" }, { "docid": "45ebb53f2547c292f32bc308e2ac6563", "score": "0.5225601", "text": "@ModelAttribute(\"players_map\")\n\tpublic Map<Discipline, List<Player>> map_players() {\n\t\tList<Player> playerList = playerRepository.findAll();\n\n\t\tMap<Discipline, List<Player>> playerDisciplines = new HashMap<Discipline, List<Player>>();\n\t\tfor (Player player : playerList) {\n\t\t\tDiscipline disc = player.getDiscipline();\n\t\t\tif (!playerDisciplines.containsKey(disc)) {\n\t\t\t\tList<Player> discPlayers = new LinkedList<Player>();\n\t\t\t\tdiscPlayers.add(player);\n\t\t\t\tplayerDisciplines.put(disc, discPlayers);\n\t\t\t} else {\n\t\t\t\tList<Player> discPlayers = playerDisciplines.get(disc);\n\t\t\t\tdiscPlayers.add(player);\n\t\t\t\tplayerDisciplines.put(disc, discPlayers);\n\t\t\t}\n\n\t\t}\n\n\t\treturn playerDisciplines;\n\t}", "title": "" }, { "docid": "7705f5268b675a3623b86b87f2ca939f", "score": "0.52238226", "text": "DomainGame map(IDomainGame toBeMapped) {\n if (toBeMapped != null) {\n DomainGame g = DomainGame.getInstance();\n g.setCurrentRoom(toBeMapped.getCurrentRoom());\n g.setRoomMap(mapR(toBeMapped.getRoomMap()));\n g.setPlayer(map(toBeMapped.getPlayer()));\n g.makeCombat();\n return g;\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "3a26c10f0c6587b03e59b12cc6c2c24e", "score": "0.5218517", "text": "java.lang.String getProject();", "title": "" }, { "docid": "20493413352680b925c214e4d97ae8a3", "score": "0.5216072", "text": "@Override\n\tpublic List<Project> getAllProject() {\n\t\treturn pr.findAll();\n\t}", "title": "" }, { "docid": "ee2b838c9f85d3727eeb95079dabf46c", "score": "0.5211533", "text": "int getMap();", "title": "" }, { "docid": "b774ef453560a2f87655b4ae32939bd8", "score": "0.52101666", "text": "public de.uni_koblenz.jgralab.greql2.schema.MapComprehension createMapComprehension();", "title": "" }, { "docid": "15f66d0ff389a8861e1ffa2f16912097", "score": "0.52019465", "text": "public java.util.List<Mapping> getMapping() { \n\t\tif (myMapping == null) {\n\t\t\tmyMapping = new java.util.ArrayList<Mapping>();\n\t\t}\n\t\treturn myMapping;\n\t}", "title": "" }, { "docid": "e150842135a76ff3388a043dcd821038", "score": "0.5201572", "text": "ChangingList<? extends IMapDefinition> getMultiplayerMaps();", "title": "" }, { "docid": "d1609087ef070153f52fc2deba201c70", "score": "0.5198441", "text": "private Object conseguirUbicacionGoogleMaps() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e31bed2218cb2c9780a086d91edb72b7", "score": "0.51978207", "text": "public PedestrianTileBasedMap getGlobalMap() {\n return tileMap;\n }", "title": "" }, { "docid": "8d010d63b14341b3450c154c30a77fa9", "score": "0.51971406", "text": "List<Project> getAll();", "title": "" }, { "docid": "21d916cffa2a79426782e6290aca104a", "score": "0.518999", "text": "@Override\n\tpublic List<Project> getProjects() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "0f40246b1b75afa0baff2f29d78b898f", "score": "0.5188566", "text": "public List<ProjectBriefDTO> getProjects() {\r\n return projects;\r\n }", "title": "" }, { "docid": "301e27b03c792cb33074cf3a4b187afb", "score": "0.51842964", "text": "com.google.protobuf.ByteString\n getProjectBytes();", "title": "" }, { "docid": "1397ca8b40b305e96c94a6ed203392a2", "score": "0.51788986", "text": "public ArrayList<Project> getProjects()\n\t{\n\t\tArrayList<Project> projects = new ArrayList<Project>();\n\t\ttry {\n\t\t\tStatement stmt = connection.getStatement();\n\t\t\tResultSet rs = stmt.executeQuery(\"SELECT id FROM project\");\n\t\t\twhile(rs.next())\n\t\t\t\tprojects.add(getProject(rs.getInt(\"id\")));\n\t\t\tstmt.close();\n\t\t} catch(SQLException e) { System.out.println(\"(E) ProjectDataCalls:getProjects: \"+e.getMessage()); }\n\t\treturn projects;\n\t}", "title": "" }, { "docid": "e11cf108ff5df12ced57008e5f96e0f0", "score": "0.51719445", "text": "public Map<String, Object> publicMap() {\n Map<String, Object> map = new HashMap<>();\n map.put(\"id\", this.id);\n map.put(\"archived\", this.archived);\n map.put(\"username\", this.username);\n map.put(\"firstName\", this.firstName);\n map.put(\"lastName\", this.lastName);\n map.put(\"email\", this.email);\n map.put(\"hiddenTabs\", this.hiddenTabs);\n map.put(\"timeZone\", this.timeZone);\n map.put(\"dateFormat\", this.dateFormat);\n\n //Userfields\n List<Map<String, Object>> userFieldsList = new LinkedList<>();\n if (this.getUserFieldUsers() != null) {\n for (UserField userFieldUser : this.getUserFieldUsers()) {\n Map<String, Object> userFieldMap = userFieldUser.publicMap();\n userFieldsList.add(userFieldMap);\n }\n }\n map.put(\"userFields\", userFieldsList);\n //Roles\n\n List<Map<String, Object>> userRolesList = new LinkedList<>();\n if (this.getUserRoles() != null) {\n for (UserRole userRole : this.getUserRoles()) {\n userRolesList.add(userRole.getRole().publicMap());\n }\n }\n map.put(\"userRoles\", userRolesList);\n\n return map;\n }", "title": "" }, { "docid": "b7bbc7fdf788cd91564ca72163a291dc", "score": "0.5168593", "text": "public ControleProjeto() {\n\t\tthis.mapProjetos = new HashMap<>();\n\t\tthis.mapNumProjetoPlp = new HashMap<>();\n\t\tthis.mapNumProjetoPl = new HashMap<>();\n\t\tthis.mapNumProjetoPec = new HashMap<>();\n\t\tthis.numeroDeProjetos = 0;\n\t}", "title": "" }, { "docid": "3b47b41fa94a1fdff740e401f6002846", "score": "0.51673687", "text": "public List<Project> showAllProject() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "847849fb88b2eb78b3a3415287bf33f4", "score": "0.51644886", "text": "public Map<K, V> build() {\r\n return map;\r\n }", "title": "" }, { "docid": "f5dc68a6901a486b4f8dc43f1da0f44b", "score": "0.5156359", "text": "public de.uni_koblenz.jgralab.greql2.schema.MapConstruction createMapConstruction();", "title": "" }, { "docid": "979426cf0ad9e80dbcf66da751144f76", "score": "0.5152242", "text": "public static ProjectData getProjectData() {\n return ourProjectData;\n }", "title": "" }, { "docid": "5a2a289d9998bd3c3eb1e2ac1a8dd2fa", "score": "0.5149996", "text": "public Map getJsonDataMap() {\r\n Map<String, Map<String, Object>> data = new HashMap<String, Map<String, Object>>();\r\n Map<Long, String> customers = getProjectsCustomers();\r\n Map<String, Object> noCustomerData = new HashMap<String, Object>();\r\n // The map to store the projects without customer data\r\n noCustomerData.put(\"id\", \"none\");\r\n Map<String, String> noCustomerProjects = new HashMap<String, String>();\r\n\r\n // iterate project to classify the project by its customer\r\n for (ProjectBriefDTO project : getProjects()) {\r\n\r\n if(project.getCustomerName() == null || project.getCustomerName().trim().length() == 0) {\r\n // the project does not have customer\r\n noCustomerProjects.put(String.valueOf(project.getId()), project.getName());\r\n continue;\r\n }\r\n\r\n if (!data.containsKey(project.getCustomerName())) {\r\n Map<String, Object> innerData = new HashMap<String, Object>();\r\n innerData.put(\"id\", String.valueOf(project.getCustomerId()));\r\n innerData.put(\"projects\", new HashMap<String, String>());\r\n data.put(project.getCustomerName(), innerData);\r\n }\r\n\r\n ((Map<String, String>) data.get(project.getCustomerName()).get(\"projects\")).put(String.valueOf(project.getId()), project.getName());\r\n }\r\n\r\n // put the projects without customer into the map\r\n noCustomerData.put(\"projects\", noCustomerProjects);\r\n data.put(\"No Customer\", noCustomerData);\r\n\r\n return data;\r\n }", "title": "" }, { "docid": "c5442165ee8bb27e0a4d6698c025ad58", "score": "0.51495856", "text": "public Map<String, Integer> getMap() {\n return null;\n }", "title": "" }, { "docid": "6a6ff0d7920e781113f96802705670c8", "score": "0.51493067", "text": "@Override\r\n\tpublic IProject getProject() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "75d413f6cbe47675322f77e676aba2ae", "score": "0.51471937", "text": "public Vector getProjects() {\r\n \t\treturn vtProjects;\r\n \t}", "title": "" }, { "docid": "d31846aacc693f43b36e9e4705e31c71", "score": "0.51399535", "text": "public Response<ProjectType> getProjectByName(String name)\n\t{\n\t\tResponse<ProjectType> response = new Response<>(0, null);\n\t\ttry\n\t\t{\n\t\t\tWebResource webResource = client.resource(serviceURL + String.format(PROJECTS_PATH, name));\n\t\t\tClientResponse clientRS = initHeaders(webResource.type(MediaType.APPLICATION_JSON))\n\t\t\t\t\t.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);\n\t\t\tresponse.setStatus(clientRS.getStatus());\n\t\t\tif (clientRS.getStatus() == 200)\n\t\t\t{\n\t\t\t\tresponse.setObject(clientRS.getEntity(ProjectType.class));\n\t\t\t}\n\n\t\t} catch (Exception e)\n\t\t{\n\t\t\tLOGGER.error(\"Unable to get project by name\", e);\n\t\t}\n\t\treturn response;\n\t}", "title": "" }, { "docid": "967e34fb0c044892b9e10d7610b14867", "score": "0.5136169", "text": "public List<ProjectEntity> getProjects()\n {\n LOGGER.log(Level.INFO, \"Consulting all projects.\");\n List<ProjectEntity> list = persistence.findAll();\n LOGGER.log(Level.INFO, \"Exiting the consult of all projects.\");\n return list;\n }", "title": "" } ]
a2a46a1d0f59f8b932f1663bd8d2c543
Creates a NewsDaoImpl object
[ { "docid": "bf678a29826daf7091530963cc561d0f", "score": "0.809304", "text": "public NewsDaoImpl() {\n\t\tsuper(News.class);\n\t}", "title": "" } ]
[ { "docid": "124fa199e32ff224835d8f7ddc9bcf9b", "score": "0.69614726", "text": "public interface NewsDAO {\n\n /**\n * Return list of news previews for specified page.\n *\n * @param pageAttribute - Information about page.\n *\n * @return list of news previews for specified page.\n *\n * @throws DAOException if there was an error executing the query\n * in the database\n *\n * @see NewsPreview\n * @see PageAttribute\n *\n */\n List<NewsPreview> getNewsPerPage(PageAttribute pageAttribute) throws DAOException;\n\n /**\n * Return information about news by id and language\n *\n * @param newsId - Id of the news.\n * @param locale - Language.\n *\n * @return information about news.\n *\n * @throws DAOException if there was an error executing the query\n * in the database\n *\n * @see News\n *\n */\n News getNews(Integer newsId, String locale) throws DAOException;\n\n /**\n * Return total count of page with news.\n *\n * @param locale - Language.\n * @param countNewsOnOnePage - Count news on one page.\n *\n * @return Total count of page with news.\n *\n * @throws DAOException if there was an error executing the query\n * in the database\n *\n */\n Integer calcPagesCountNews(String locale, Integer countNewsOnOnePage) throws DAOException;\n\n}", "title": "" }, { "docid": "d58b60febb68a362c3a20938cc5fd238", "score": "0.6890381", "text": "public interface NewsDao extends daobase<News> {\n}", "title": "" }, { "docid": "a8c15a85fc452b31008f1ecc1e307e5b", "score": "0.6782476", "text": "@Repository\npublic interface NewsDao {\n\n List<CareerNews> queryNewsByCondition(Map<String, Object> params) throws DataAccessException;\n\n CareerNews getNewsByID(int newsID) throws DataAccessException;\n\n int addCommentByNewsID(Map<String, Object> params) throws DataAccessException;\n\n\n}", "title": "" }, { "docid": "b46a1d3d80bcab30e84996491747fdd9", "score": "0.671784", "text": "public abstract NewDao newDao();", "title": "" }, { "docid": "662b390857a5f2eff8c976b9620195c4", "score": "0.6717834", "text": "@Dao\npublic interface NewsDao {\n\n @Query(\"SELECT * FROM news\")\n List<News> getAll();\n\n @Insert\n void insert(News news);\n\n @Insert\n void insertList(List<News> news);\n\n @Delete\n void delete(News news);\n\n @Query(\"SELECT * FROM news\")\n List<News> getAllNews();\n}", "title": "" }, { "docid": "6253056d715334ed4406d6f01c054afd", "score": "0.6633757", "text": "@Dao\npublic interface NewsDao {\n @Query(\"SELECT * FROM news\")\n List<News> getAll();\n\n @Insert\n void insertAll(News... news);\n\n @Query(\"SELECT COUNT(*) from news\")\n int countNews();\n\n @Query(\"DELETE FROM news\")\n void deleteAll();\n}", "title": "" }, { "docid": "ccdb6e76ab766af314354839465075d9", "score": "0.65813535", "text": "public interface NewsEventDao extends GenericDao<Newsevent> {\n\n //NewsEventInfo GetNextNewsEvent(String mqlDateStr, String symbolStr, byte minImportance);\n NewsEventInfo GetNextNewsEventNative(String dateStr, String symbolStr, byte minImportance);\n void saveEvent(Newsevent event);\n int countEventsOnCurrencyDate(int currencyId, LocalDateTime curDateTime, byte Importance);\n List<Newsevent> GetUpcomingEvents(int startIndex, int MaxResults);\n}", "title": "" }, { "docid": "ef40cadcfde9b7da14f791a6bd026529", "score": "0.65108854", "text": "public interface NewsService {\n\n public News findNewsById(Integer id, String tableName);\n\n public Integer findLastInsertId(String tableName);\n\n public List<News> fetchNearNewsById(Integer id, String type, String tableName);\n\n public PageResult findAll(int pageSize, int pageNum, String type, String tableName);\n\n public List<Map<String, Object>> getLatest(int count, String type, String tableName);\n\n @Transactional\n public void insertNews(News news, String tableName);\n\n @Transactional\n public void insertNewsList(List<News> newsList, String tableName);\n\n @Transactional\n public void updateNews(News news, String tableName);\n\n public void deleteNews(List<String> groupId, String username, String tableName);\n\n public Integer getNewsCount(String tableName);\n\n public Integer getNewsCountByType(String type, String tableName);\n\n public String savePicture(MultipartFile image, String dir);\n\n public String savePictureByBase64(String imgStr, String dir);\n\n public Map<Integer, String> asyncSavePictureByBase64(Map<Integer, String> map, String dir);\n\n public void increasePV(int id, String tableName);\n\n public News getHotNews(String tableName);\n\n @Transactional\n public void setHotNews(int id, String tableName);\n\n public List<News> getAllNews(String tableName);\n\n public void updateNewsTime(News news, String tableName);\n\n public List<Map<String, Object>> getBanners(String tableName);\n\n public PageResult matchNews(String words, int pageSize, int pageNum, String sort, String type, String tableName);\n\n public List<Map<String, Object>> findStaticArticle(String tableName);\n\n public String spiritTabloid(String content);\n\n}", "title": "" }, { "docid": "edb62bf1ccd307b4abe526efe858c147", "score": "0.64483166", "text": "public RoomDAO createRoomDAO();", "title": "" }, { "docid": "2faf4f14b13f64689dbc480a81efb229", "score": "0.6404586", "text": "public static RolDao create() {\r\n return new RolDaoImpl();\r\n }", "title": "" }, { "docid": "e2f267c7d2e58e01abf382a0c2742f84", "score": "0.6367453", "text": "public abstract RoomClassDao createRoomClassDao();", "title": "" }, { "docid": "cb2df1fefff9937b99853fb0a951a1fb", "score": "0.63663846", "text": "News getNews(Integer newsId, String locale) throws DAOException;", "title": "" }, { "docid": "1de4e376107431f227ad660af5636809", "score": "0.63403845", "text": "public MovieDAO createMovieDAO();", "title": "" }, { "docid": "87144409d39430e7501e1ef695e2b89c", "score": "0.6323829", "text": "public PurchaseDAO createPurchaseDAO();", "title": "" }, { "docid": "11f1518709d2fd53ac8a21b3911fd76d", "score": "0.62774837", "text": "public abstract OrderDao createOrderDao();", "title": "" }, { "docid": "6ff9ca904b71f3b2777688634bffd206", "score": "0.62715715", "text": "public abstract PriceDao createPriceDao();", "title": "" }, { "docid": "bd8cbd5ba06f4c4921cba42ddeba3f62", "score": "0.62511075", "text": "public interface ContentDao {\n\t\n\t/**\n\t * Retrieves a list of news content.\n\t * @param max \n\t * \t\t\t\tint : max number of news articles to be retrieved.\n\t * @param orderBy\t\n\t *\t\t\t\tjava.lang.String : order by clause to be applied on the retrieved list.\n\t * @param type \n\t * \t\t\t\tnewsType to be obtained. General news/System news.\n\t * @param topPriority\n\t * \t\t\t\tused to obtain top priority news.\n\t * @return List<StaticContentModel> list of news content retrieved.\n\t */\n\tList<StaticContentModel> getNewsContent(int max, NewsTypeEnum type, String orderBy, boolean topPriority);\n\t\n\t/**\n\t * Retrieves the news static content based on Id.\n\t * @param code news code.\n\t * @return StaticContentModel.\n\t */\n\tStaticContentModel getNewsByCode(String code);\n\t\n\t/**\n\t * Retrieves a list of FAQ content. \n\t * @param max \n\t * \t\t\t\tint : max number of FAQ articles to be retrieved.\n\t * @param orderBy\t\n\t *\t\t\t\tjava.lang.String : order by clause to be applied on the retrieved list.\n\t * @return List<StaticContentModel> list of news content retrieved.\n\t */\n\tList<StaticContentModel> getFAQContent(int max, String orderBy);\n\t\n\t/**\n\t * Retrieves a list of Link content.\n\t * @param max \n\t * \t\t\t\tint : max number of links to be retrieved.\n\t * @param orderBy\t\n\t *\t\t\t\tjava.lang.String : order by clause to be applied on the retrieved list.\n\t * @return List<StaticContentMode> list of links retrieved.\n\t */\n\tList<StaticContentModel> getLinksContent(int max, String orderBy);\n\n}", "title": "" }, { "docid": "df3bbd1866ad193f5bcc0242c7802b9f", "score": "0.6238131", "text": "public abstract RoomDao createRoomDao();", "title": "" }, { "docid": "e700499487e81cae3cf6e4091843c049", "score": "0.6228926", "text": "private DAO() {\n\t\t sessionFactory = new AnnotationConfiguration().configure().buildSessionFactory();\n\t }", "title": "" }, { "docid": "3ccce9f0732758e4347b6514c83abe32", "score": "0.621959", "text": "public abstract UserDao createUserDao();", "title": "" }, { "docid": "0ee22c5e9203ae6eb4e7f8bbef074cac", "score": "0.6151798", "text": "public BlogDAOImpl(SessionFactory sessionFactory){\r\n\t\tthis.sessionFactory=sessionFactory;\r\n\t}", "title": "" }, { "docid": "7298920e7de695ec1ca9ecfdfa764078", "score": "0.60973126", "text": "public interface IDaoFactory {\n\n public IUserDao createUser();\n}", "title": "" }, { "docid": "23f6f928c5ba6a1377d3c5bc1c29d03f", "score": "0.6080323", "text": "public interface NewsService {\n boolean release(News news);\n List<News> getAllNews();\n List<News> getNewsByTitle(String title);\n News getNewsById(int id);\n\n boolean deleteNews(int newsId );\n\n}", "title": "" }, { "docid": "e04ab73e154df88526744bc8ae90ec00", "score": "0.6071951", "text": "public static TestDaoInterface createObject(String nn)\n\t{\n\t\tTestDaoInterface sci=null;\n\t\tif(nn.equals(\"admindao\"))\n\t\t{\n\t\t\tsci=new TestDao();\n\t\t}\n\t\treturn sci;\n\t}", "title": "" }, { "docid": "81f1bda5e4620f17e7a4b03efb03d2da", "score": "0.60591006", "text": "public EmployeeDAO createEmployeeDAO();", "title": "" }, { "docid": "5a0ef612f96e0fc979f24e017184993a", "score": "0.6029417", "text": "public UserDAO createUserDAO();", "title": "" }, { "docid": "a8c66e4df38a6885b4b3b4e2dd5b7648", "score": "0.6012422", "text": "public interface NewcomerDao {\n\n /**\n * 查询所有报名信息\n */\n public List<Newcomer> selectAll();\n\n /**\n * 根据id查询报名信息\n */\n public Newcomer selectById(int id);\n\n /**\n * 根据name查询报名信息\n */\n public Newcomer selectByName(String name);\n\n /**\n * 根据小组查询报名信息\n */\n public Newcomer selectByTeam(String team);\n\n\n\n /**\n * 添加新人报名信息\n */\n\n public void insert(Newcomer newcomer);\n\n\n\n /**\n * 根据id删除新人信息\n */\n public void deleteById(int id);\n\n\n /**\n * 根据id修改新人信息\n */\n\n public void update(@Param(\"id\") int id, @Param(\"name\") String name, @Param(\"xuehao\") String xuehao, @Param(\"nianji\") String nianji, @Param(\"zhuanye\") String zhuanye, @Param(\"xueyuan\") String xueyuan, @Param(\"team\") String team, @Param(\"phone\") String phone, @Param(\"qq\") String qq);\n\n}", "title": "" }, { "docid": "32fa67148da9717d44c0b31592521775", "score": "0.600632", "text": "@Dao\npublic interface ArticleDao {\n\n @Query(\"SELECT * FROM Article order by date_published DESC\")\n List<Article> getAll();\n\n @Query(\"SELECT * FROM Article where title LIKE :titleVar\")\n Article findByName(String titleVar);\n\n @Query(\"SELECT COUNT(*) from Article\")\n int countArticles();\n\n @Query(\"SELECT * from Article order by date_published DESC LIMIT :howMany\")\n List<Article> getRecentArticles(int howMany);\n\n @Query(\"SELECT link FROM Article where link LIKE :linkVar\")\n String findByLink(String linkVar);\n\n @Insert\n void insertAll(Article... articles);\n\n @Delete\n void delete(Article article);\n}", "title": "" }, { "docid": "1c952bc0a850f9f8ca26cbdcc5e106a5", "score": "0.59717923", "text": "public SessionDAO createSessionDAO();", "title": "" }, { "docid": "7bae912428bb24b802ce257030841911", "score": "0.5966311", "text": "public interface ArticleDao {\n void addArticle(Article article);\n Article getArticle(int id);\n void updateArticle(Article article);\n void deleteArticle(int id);\n List<Article> getArticleList(int first,int count);\n List<Article> getArticleListByType(int first,int count,int type);\n int getDataCount();\n int getDataCount(int type);\n void addReadCount(int id);\n}", "title": "" }, { "docid": "601f4487d96f9d4ea6f9df27c21084ad", "score": "0.59364057", "text": "public PersonDao() {}", "title": "" }, { "docid": "793a13f89d443bb8dc598f7d24701f71", "score": "0.5915078", "text": "public interface NewsDao {\n\n Put getHbaseRowPut();\n\n void batchAddHbaseRow(List<Put> put_list, Table table) ;\n\n IndexRequestBuilder bulkAddEsData(Client client, String index, String type) throws Exception;\n\n IndexRequestBuilder bulkAddEsVirtualData(Client client, String index, String type) throws Exception;\n\n void keyWordWarning(Connection mysqlConn, List<String> eventForeList);\n\n\n}", "title": "" }, { "docid": "0344711588e6cf4220f1305bcdb1787d", "score": "0.5884493", "text": "public SimpleHibernateDaoImpl() {\n\t\tthis.entityClass = ReflectionUtils.getSuperClassGenricType(getClass());\n\t}", "title": "" }, { "docid": "d546633d6f7f6d7128ac336f19fb3ae9", "score": "0.58743834", "text": "public AbstractDao() {\n }", "title": "" }, { "docid": "82412c56a231d61ce20f44fb3c8051a9", "score": "0.5862319", "text": "public DetalleFacturaDao() {}", "title": "" }, { "docid": "bd42786f694fcafad29673fc0a33ba0b", "score": "0.5856535", "text": "public EmpleadoDao() {\n super(new Conexion(), Empleado.class);\n }", "title": "" }, { "docid": "c514d0922a912e8a5aea96197e37d05e", "score": "0.58548176", "text": "public interface ArticleDAO {\n ArticleDAO INSTANCE_ARTICLE = new ArticleDAOImpl();\n public List<Article> getArticle();\n\n\n\n\n}", "title": "" }, { "docid": "84dd2c713c68437bfe3dd09d7fad145d", "score": "0.58365214", "text": "public interface NoticeTypeDao {\n\n /**\n *增加公告类别\n * @param not_noticetype_code 父节点\n * @param noticetype_name\n * @return\n */\n @Insert(\"insert into noticetype(not_noticetype_code,noticetype_name) values(#{0},#{1})\")\n boolean add( int not_noticetype_code, String noticetype_name);\n\n /**\n *更新公告类别\n * @param noticetype_code\n * @param not_noticetype_code\n * @param noticetype_name\n * @return\n */\n @Update(\"update noticetype set not_noticetype_code=#{1},noticetype_name=#{2} where noticetype_code=#{0} \")\n boolean update(int noticetype_code,int not_noticetype_code, String noticetype_name);\n\n /**\n *删除公告类别\n * @param noticetype_code\n * @return\n */\n @Delete(\"delete from noticetype where noticetype_code=#{0} \")\n boolean delete(int noticetype_code);\n\n /**\n *加载所有公告类别\n * @return\n */\n @Select(\"select* from noticetype\")\n List<Noticetype> loadNoticetype();\n\n /**\n *根据父类别id获取子类别\n * @param pid\n * @return\n */\n @Select(\"select * from noticetype where not_noticetype_code = #{0}\")\n List<Noticetype> loadByNoticetypeCode(int pid);\n\n /**\n *根据类别id获取公告类别\n * @param pid\n * @return\n */\n @Select(\"select * from noticetype where noticetype_code = #{0}\")\n Noticetype loadById(int pid);\n\n /**\n *获取所有公告类别\n * @return\n */\n @Select(\"select * from noticetype\")\n List<Noticetype> loadNoticetypeList();\n\n @Select(\"select * from noticetype where noticetype_code=#{0}\")\n Noticetype loadNoticeTypeByCode(int noticetype_code);\n}", "title": "" }, { "docid": "964c2f7a9f967398eb5e649dda34476b", "score": "0.58362544", "text": "public SongDAOImpl(Context context) {\n// mHelper = DBHelper.getInstance(context);\n databaseManager = DatabaseManager.initInstance(DBHelper.getInstance(context));\n }", "title": "" }, { "docid": "7f4fcb06660eb123adb9f2f036158d7b", "score": "0.58340454", "text": "public ProductManagerdao() {\n\t}", "title": "" }, { "docid": "c86feb2815b0f5efc5064217c6c9a9c8", "score": "0.58319914", "text": "public void init() {\n faqDao = new GenericDao(FAQ.class);\n// userDao = new GenericDao(User.class);\n }", "title": "" }, { "docid": "6991545418462a198041f76be1d6cb3e", "score": "0.57914984", "text": "public void insertNews(News news) {\n\t\tnewsDao.insertNews(news);\n\t}", "title": "" }, { "docid": "57f5d4676dbaa667f0ede9687b6f7e40", "score": "0.57456946", "text": "public interface TourDAOCustom {\n public Tour findOneNew(Integer tourId);\n}", "title": "" }, { "docid": "5bb9de8a375c46cda12070590ec228a8", "score": "0.5741301", "text": "public interface MushroomCountDao {\n\n /**\n * Creates mushroomCount\n *\n * @param mushroomCount mushroomCount\n */\n void create(MushroomCount mushroomCount);\n\n /**\n * Updates mushroomCount entity.\n *\n * @param mushroomCount mushroomCount\n */\n MushroomCount update(MushroomCount mushroomCount);\n\n /**\n * Deletes mushroomCount from Database.\n *\n * @param mushroomCount mushroomCount\n */\n void delete(MushroomCount mushroomCount);\n\n /**\n * Finds mushroomCount by given id\n *\n * @param id id\n */\n MushroomCount findById(Long id);\n\n /**\n * Finds all entities mushroomCount\n *\n * @return list of mushroomCount\n */\n List<MushroomCount> findAll();\n}", "title": "" }, { "docid": "b3a79b65e4cf1aeeaa816394c428c02c", "score": "0.57274586", "text": "public interface ShopDao {\n //通过shop id查询店铺\n Shop queryByShopId(long shopId);\n\n //新增店铺\n int insertShop(Shop shop);\n\n //更新店铺\n int updateShop(Shop shop);\n}", "title": "" }, { "docid": "b464dd7dc508ecc0c331db27f41f677f", "score": "0.5727104", "text": "public IncidenceDAO createIncidenceDAO();", "title": "" }, { "docid": "464371ca6a021f934ca2de299b9458d0", "score": "0.57183564", "text": "public interface UserDetailDao {\n\n /**\n *find user by username\n * @param userName\n * @return User\n */\n User findByUserName(String userName);\n\n /**\n * create a user\n * @param username\n * @param password\n * @return boolean\n */\n Boolean createUser(String username, String password);\n\n}", "title": "" }, { "docid": "7cae03f3751a2c4271fa77962909b00d", "score": "0.57140243", "text": "public UserDao() {\n\t\tsessionFactory = SingletonSessionFactory.getSessionFactory();\n\t}", "title": "" }, { "docid": "f6d0b9c137cdb54de0b3ee939e0bc30b", "score": "0.5704127", "text": "public SiteDAI makeSiteDAO();", "title": "" }, { "docid": "cb32e4e783963482a2a63821333608a6", "score": "0.5697582", "text": "void example(com.jiaqi.torino.datastore.dao.example.NewsExample example);", "title": "" }, { "docid": "fe1470f32506de5be338cf3995df514b", "score": "0.5697086", "text": "public interface NewsService extends CrudService<News> {\n\n NewsWrapper save(NewsWrapper newsWrapper);\n NewsWrapper getOne(Long id);\n List<NewsWrapper> getAllWrappers();\n}", "title": "" }, { "docid": "db158b0428ede44d9e0b1fa1f33a8e63", "score": "0.5695954", "text": "public interface IDaoProviderFactory {\n\t\n\t/**\n\t * Gets the log message dao.\n\t *\n\t * @return the log message dao\n\t */\n\tIDao getLogMessageDao();\n}", "title": "" }, { "docid": "98890012faf8e07e41d0795a195179c1", "score": "0.56944156", "text": "private LitDAOImpl ()\n {\n }", "title": "" }, { "docid": "e8a2e9b39779d3d2025d0b7bd7e1e097", "score": "0.56904626", "text": "@Repository\npublic interface MenuDao {\n\n boolean createMenu(Menu menu);\n\n Menu getMenuById(Long id);\n\n boolean updateMenu(Menu menu);\n\n boolean deleteMenu(Long id);\n\n}", "title": "" }, { "docid": "491c9b27fa354f80a835eeb93c481986", "score": "0.56802255", "text": "public static ArticleDAO getArticleDAO(DAOType daoType) {\n ArticleDAO dao = null;\n switch (daoType) {\n case DynamoDB:\n dao = ArticleDAOImpl.getInstance();\n break;\n }\n\n return dao;\n }", "title": "" }, { "docid": "a6f3aa4919e198d3bc55859714bd2626", "score": "0.5679087", "text": "IDao getLogMessageDao();", "title": "" }, { "docid": "5a9dbfb08acd7fd0f1562cef0498a1e5", "score": "0.5674847", "text": "public List<Articles> listArticlesDao();", "title": "" }, { "docid": "37ea5aba0e98a84c11c8799c12654c3f", "score": "0.5674839", "text": "public static RolDao create(Connection conn) {\r\n return new RolDaoImpl(conn);\r\n }", "title": "" }, { "docid": "6af17c7188db8647752855255f5d0144", "score": "0.5665699", "text": "News getById(Long id);", "title": "" }, { "docid": "e24e3daa774ef86083c587254c39a34b", "score": "0.56655496", "text": "public static DaoFactory getInstance(){\n try {\n return (DaoFactory) Class.forName(ConfigurationManager.getProperty(\"dao.factory\")).newInstance();\n } catch (Exception ex) {\n Logger logger = LogManager.getLogger(DaoFactory.class.getName());\n logger.error(\"Error creation of instanse of DAO factory\");\n return null;\n }\n\n }", "title": "" }, { "docid": "ec57527e7551e8db3c8523fa5facf181", "score": "0.566098", "text": "public NotePresenter(Context context) {\n //建议放在application\n// helper = new DaoMaster.DevOpenHelper(context, dbName, null);//创建数据库\n// daoMaster = new DaoMaster(helper.getWritableDatabase());\n// daoSession = daoMaster.newSession();\n daoSession = GreenDaoManager.newInstance().getDaoSession();\n\n }", "title": "" }, { "docid": "ddb7bdd7d36b5dc26814b13ffac21f92", "score": "0.5658457", "text": "private NewsRepository(Context context) {\n newsApiService = NewsApiClient.getInstance(context);\n headlinesDao = NewsDatabase.getInstance(context).headlinesDao();\n sourcesDao = NewsDatabase.getInstance(context).sourcesDao();\n savedDao = NewsDatabase.getInstance(context).savedDao();\n mExecutor = AppExecutors.getInstance();\n networkArticleLiveData = new MutableLiveData<>();\n networkSourceLiveData = new MutableLiveData<>();\n networkArticleLiveData.observeForever(new Observer<List<Article>>() {\n @Override\n public void onChanged(@Nullable final List<Article> articles) {\n if (articles != null) {\n mExecutor.getDiskIO().execute(new Runnable() {\n @Override\n public void run() {\n headlinesDao.bulkInsert(articles);\n }\n });\n }\n }\n });\n networkSourceLiveData.observeForever(new Observer<List<Source>>() {\n @Override\n public void onChanged(@Nullable final List<Source> sources) {\n if (sources != null) {\n mExecutor.getDiskIO().execute(new Runnable() {\n @Override\n public void run() {\n sourcesDao.bulkInsert(sources);\n }\n });\n }\n }\n });\n }", "title": "" }, { "docid": "e9beacdf310ee12fd7e61405bcd53fc6", "score": "0.5657411", "text": "public interface BlogDAO {\n\t\n\t/**\n\t * This method will insert the Blog in database.\n\t * @param blog\n\t */\n\tBlog insert(Blog blog);\n\t\n\t/**\n\t * It will return the found blog of the given id.\n\t * @param id of blog.\n\t * @return Blog if found otherwise null.\n\t */\n\tBlog show(int id);\n\n\t/**\n\t * It will update the Blog detail.\n\t * @param blog\n\t */\n\tBlog update(Blog blog);\n\t\n\t/**\n\t * This method will delete the Blog of specified id.\n\t * @param id\n\t */\n\tBlog delete(int id);\n\t\n\t/**\n\t * This method will return the list of Blog if found.\n\t * @return \n\t * @return list of Blog if found else null.\n\t */\n\tList<Blog> list();\n\t\n\t/**\n\t * this method will return list all deleted blogs \n\t * @return list of all deleted blogs\n\t */\n\tList<Blog> deletedBlog();\n\t/**\n\t * this method will return list of deleted blogs according to month\n\t * @return the list of deleted blogs \n\t */\n\t List<Integer> deletedBlogAcrMonths();\n\t /**\n\t * this method will return list of created blogs according to month \n\t * @return the list of created blogs\n\t */\n\tList<Integer> createdBlogAcrMonths();\n\t/**\n\t * this method will return count of created blogs according to month \n\t * @return the size of created blogs according to month\n\t */\n\t int createdBlogAcrMonthsCount();\n\t /**\n\t * this method will return count of deleted blogs according to month \n\t * @return the size of deleted blogs according to month\n\t */\n\t int deletedBlogAcrMonthsCount();\n\t \n\t public List<Blog> listAllBlogs();\n\t \n\t void createBlog(Blog blog, String[] categories);\n}", "title": "" }, { "docid": "e3b97c2cbb99061838f0e096524d2e72", "score": "0.5655682", "text": "private RoomDaoImpl() {\n\t\tconnectionDataBase = ConnectionDataBase.getInstance();\n\t}", "title": "" }, { "docid": "60cb86df88006f715bc33496f8390546", "score": "0.5641786", "text": "public interface BookDao {\n}", "title": "" }, { "docid": "df69f0c6e5df9fca3c4f551b0bb514ad", "score": "0.5639498", "text": "public void add(News news) {\n\t\tnewsDao.add(news);\r\n\t}", "title": "" }, { "docid": "94c0d60ab473e5974fc41c1b9b622670", "score": "0.5635102", "text": "public UserDao() {\n\t\tthis.nConnectionMaker = new SimpleConnectionMaker(); \n\t}", "title": "" }, { "docid": "ccbcbed6450f71766df64e765eeae698", "score": "0.56200993", "text": "public void initDao(){\n utilisateurDao = context.getBean(\"utilisateurDao\", UtilisateurDao.class);\n }", "title": "" }, { "docid": "dfeef039e914b8037bdf77fff65c4d86", "score": "0.56167287", "text": "private static OrdersDAO dao() {\r\n DbConnection db = new DbConnection();\r\n //return db.getConnect().onDemand(OrdersDAO.class);\r\n //ordersDAO= db.getConnect().onDemand(OrdersDAO.class);\r\n .//menuDAO= db.getConnect().onDemand(MenuDAO.class);\r\n }", "title": "" }, { "docid": "04aa89a29f32ae6783f2d6bd1bd8a2a1", "score": "0.56158245", "text": "@Override\r\n public News save(News news) throws DAOException {\r\n\r\n News returnNews = null;\r\n if (news.getId() == 0) {\r\n returnNews = create(news);\r\n } else {\r\n returnNews = update(news);\r\n }\r\n return returnNews;\r\n }", "title": "" }, { "docid": "51acf4ff6c3b24971d99b6f48e1be8c7", "score": "0.56143713", "text": "public OntimizeJdbcDaoSupport() {\r\n\t\tsuper();\r\n\t\tthis.tableMetaDataContext = this.createTableMetadataContext();\r\n\t}", "title": "" }, { "docid": "2ca165d31088c9970f1b4140d1fcdcec", "score": "0.56113863", "text": "public static UserArticleVotingMapDAO instantiateDAO()\n\t{\t\t\t\t\t\t\t\t\n\t\treturn DATA_ACCESS_LAYER;\n\t}", "title": "" }, { "docid": "772fb0ce28d96d1c442fb1c4adb504c8", "score": "0.5610827", "text": "@Override\n\tpublic void add(News news) {\n\t\tdao.add(news);\n\t}", "title": "" }, { "docid": "7eae061d056c58af850c617cea95c810", "score": "0.5608308", "text": "public StationDao setupDatabase(){\n //create database db file\n DaoMaster.DevOpenHelper helper = new DaoMaster.DevOpenHelper(this, \"stationName-db\", null);\n //get the created database db file\n db = helper.getWritableDatabase();\n //create masterDao\n daoMaster = new DaoMaster(db);\n //create Session session\n daoSession = daoMaster.newSession();\n return daoSession.getStationDao();\n }", "title": "" }, { "docid": "0382234f46ef52e1c7090ca294a041ff", "score": "0.5598417", "text": "public interface ShowDao extends Dao<Show, Integer> {\n public void createInBackground(Show show);\n public void updateInBackground(Show show);\n public void deleteInBackground(Show show);\n}", "title": "" }, { "docid": "cd580bd661bcdc3394f3eb9d04315981", "score": "0.5594807", "text": "public ApplicationOnlineDAO () {}", "title": "" }, { "docid": "5dd1b94b1c6f8334795e985e41096e4d", "score": "0.55945885", "text": "public interface HotelDao {\n\n void createHotel(Hotel hotel);\n Hotel getHotelById(long id);\n List<Hotel> getHotelsByRoadId(long id);\n List<Hotel> getAllHotels();\n void updateHotel(Hotel hotel);\n void deleteHotel(long id);\n}", "title": "" }, { "docid": "8b1fe006fba200c7bb272e5238c6a834", "score": "0.55927896", "text": "public interface CustomerDao {\n\n public void create(Customer customer);\n}", "title": "" }, { "docid": "71c9fe012451a5b8ee896d290e51289d", "score": "0.5592536", "text": "public Dao(){\n\n }", "title": "" }, { "docid": "470f32135eb3f42efe20824b2f88ae29", "score": "0.5592048", "text": "@Override\n\tprotected AbstractDao<TitularEntity> getDao() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ddc0d17993de7defab4e39bca55c36f6", "score": "0.5591834", "text": "public interface CourseDao extends BaseDao {\n /**\n * 通过学校增加课程\n *\n * @param course\n * @return\n */\n int insertOne(Course course);\n\n /**\n * 更新课程\n *\n * @param course\n * @return\n */\n int updateOne(Course course);\n\n /**\n * 删除课程\n *\n * @param course\n * @return\n */\n int deleteOne(Course course);\n\n /**\n * 通过课程Id获取课程\n *\n * @param course\n * @return\n */\n Course getOneById(Course course);\n\n /**\n * 通过课程类型获取其全部课程\n *\n * @param category\n * @return\n */\n List<Course> queryCourseByCategory(CourseCategory category);\n\n List<Course> queryCourseByTeacher(PersonInfo teacher);\n\n}", "title": "" }, { "docid": "93d9eb2afa588bec7bb9f2b8570469fc", "score": "0.55917096", "text": "private CestaDAO() {\n }", "title": "" }, { "docid": "7a700fbc4dd1e6021f8b96173b45ccc5", "score": "0.5586304", "text": "@Dao\npublic interface MeteoDao {\n\n @Query(\"SELECT * FROM town_table\")\n DataSource.Factory<Integer, MeteoRoom> getAllTowns();\n\n @Query(\"SELECT * FROM town_table\")\n List<MeteoRoom> getAllTownsList();\n\n @Insert(onConflict = OnConflictStrategy.REPLACE)\n void insert(MeteoRoom... towns);\n\n @Delete\n void deleteSelectedTown(MeteoRoom town);\n\n @Update\n void update(ArrayList<MeteoRoom> towns);\n}", "title": "" }, { "docid": "f087b94b1c868c6d9c2f3d352af9f55f", "score": "0.55801654", "text": "public MLEDAO() {\n\t}", "title": "" }, { "docid": "fd9e91353adcfec1fe20185049b84eb1", "score": "0.55732214", "text": "public SimpleExampleUserDAO(){\n this.connectionProvider = new SQLiteDatabase();\n }", "title": "" }, { "docid": "253df85b4f1ac67628c0fbbc087df3d8", "score": "0.5568272", "text": "public UserDao(Connection conn) {this.conn = conn;}", "title": "" }, { "docid": "e0c75ebabd5395e450f7678a30e26ead", "score": "0.5567145", "text": "public interface BookDao {\n /**\n * Create new book instance.\n * @return new book instance\n */\n Book createBook();\n\n /**\n * Get the book by id.\n * @param id book id\n * @return book instance\n */\n Book getBook(int id);\n\n /**\n * Get all books.\n * @return books collection\n */\n Collection<Book> getBooks();\n\n /**\n * Remove book from library.\n * @param book book to remove\n */\n void remove(Book book);\n\n /**\n * Save book to library.\n * @param book book to save\n * @return saved book instance\n */\n Book save(Book book);\n}", "title": "" }, { "docid": "65da1fec10e66eeabca52926e802f263", "score": "0.55652785", "text": "public static ArticleDAO getArticleDAO() {\n return getArticleDAO(DAOType.DynamoDB);\n }", "title": "" }, { "docid": "f865e90351bc81b24c8564ae7faec3e1", "score": "0.5558359", "text": "public interface PositonDao {\n public List<Positon> queryAllPositon(int deptId);\n public List<Positon> AllPositon();\n public Positon findPositon(int id);//通过id查询\n public void deletePositonById(int id);\n public void addPositon(Positon positon);//添加职位\n public void editPositonById(Positon positon);//修改职位\n}", "title": "" }, { "docid": "7647ad83b9f481e1a1e45fedada74c68", "score": "0.5557909", "text": "public VendorsCategoryDAO () {}", "title": "" }, { "docid": "0813165b0b27fd4d67c61851c7129f2d", "score": "0.5553666", "text": "private static void createInstance() {\r\n\t\tif (INSTANCE == null) {\r\n\t\t\t// Sólo se accede a la zona sincronizada\r\n\t\t\t// cuando la instancia no está creada\r\n\t\t\tsynchronized (MysqlDAOFactory.class) {\r\n\t\t\t\t// En la zona sincronizada sería necesario volver\r\n\t\t\t\t// a comprobar que no se ha creado la instancia\r\n\t\t\t\tif (INSTANCE == null) {\r\n\t\t\t\t\tINSTANCE = new MysqlDAOFactory();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d8a97e95af6a89192b63c18f4ae26100", "score": "0.5551633", "text": "public interface ProjectDao {\n public void setDataSource(DataSource dataSource);\n\n public void createProject(Integer developersId, String projectName, String companyName);\n}", "title": "" }, { "docid": "eb4a622ec0b16e4541c0feccf63dab4d", "score": "0.55502516", "text": "News findById(int id);", "title": "" }, { "docid": "24f46248914f57d4ca859222a53c4772", "score": "0.55493796", "text": "public interface TestDao {\n\n\tpublic Test findTestById(Integer id);\n\t\n\tpublic Integer insert(Test param);\n\t\n\tpublic Integer getTestCount(TestReq req);\n\t\n\tpublic List<Test> findTestsByPage(@Param(\"req\")TestReq req,@Param(\"offset\")Integer offset,@Param(\"rows\")Integer rows);\n\t\n\t//if not use,pls delete it\n\tpublic Integer deleteTestById(Integer id);\n}", "title": "" }, { "docid": "efcf73df6685013646010b554996b0f9", "score": "0.5544543", "text": "public interface NoticeReadDao extends BaseDao<NoticeReadEntity> {\r\n\r\n\r\n}", "title": "" }, { "docid": "3a2c1c97c3efac5e03bb832373faf054", "score": "0.55425125", "text": "public interface DemoDao {\n void demo();\n}", "title": "" }, { "docid": "a4fa8dcb60498fbbe4e1fbe7646d685f", "score": "0.55397564", "text": "public abstract DAO getDAO();", "title": "" }, { "docid": "a0691b626a43645bd78f796a1fd3ffbb", "score": "0.5536587", "text": "public interface ICategoriaDao {\r\n\t/**\r\n\t * Return the persistent entities returned from a named query.\r\n\t */\r\n\t@SuppressWarnings(\"unchecked\")\r\n\tpublic List findByNamedQuery(String queryName);\r\n\t/**\r\n\t * Return the persistent entities returned from a named query with named parameters.\r\n\t */\r\n\t@SuppressWarnings(\"unchecked\")\r\n\tpublic List findByNamedQuery(String queryName, String[] paramNames, Object[] paramValues);\r\n\t/**\r\n\t * Find an entity by its id (primary key).\r\n\t * @return The found entity instance or null if the entity does not exist.\r\n\t */\r\n\tpublic Categoria findCategoriaById(long id);\r\n\t/**\r\n\t * Return all persistent instances of the <code>Categoria</code> entity.\r\n\t */\r\n\tpublic List<Categoria> findAllCategorias();\r\n\tpublic List<Categoria> findAllCategoriasActivas();\r\n\t/**\r\n\t * Make the given instance managed and persistent.\r\n\t */\r\n\tpublic void persistCategoria(Categoria categoria);\r\n\t/**\r\n\t * Remove the given persistent instance.\r\n\t */\r\n\tpublic void removeCategoria(Categoria categoria);\r\n}", "title": "" }, { "docid": "382067fa92034eeaf7899577e5c6bd87", "score": "0.55320835", "text": "public interface FirstDao {\n public List<Map<String, Object>> getUser(Map<String, Object> params);\n public int insertUser(Map<String, Object> params);\n public int inserttestTable(Ttee ttee);\n}", "title": "" }, { "docid": "dd2a08c40a7a13097bbc275830000bf5", "score": "0.552742", "text": "public JsonDAOFactory() {\n createConnection();\n gsonBuilder = new GsonBuilder();\n gson = gsonBuilder.create();\n }", "title": "" } ]
4e3fe3cab98e4857758fbbabb13fb939
This test is specified as a false positive in its OWASP config and should not have any violations.
[ { "docid": "269c8a36a9d63743a43f306a51e958a6", "score": "0.0", "text": "@Test\n\t@ExpectsRivuletRerun(numCriticalViolations = ExpectsRivuletRerun.NONE, numReruns = ExpectsRivuletRerun.ANY)\n\tpublic void testBenchmarkTest01773() throws Exception {\n\t\tsubmitForm(\"/owasp-benchmark/xss-03/BenchmarkTest01773\", \"POST\", \"secure\", \"Hello\", \"productID\", \"Hello\", \"foo\", \"foo\", \"BenchmarkTest01773\", \"SafeText\");\n\t}", "title": "" } ]
[ { "docid": "7f06ad6ccc4ca6127ebaf4aa0886814c", "score": "0.6940874", "text": "@Test\n public void testInvalidConfiguration() {\n Assertions.fail();\n }", "title": "" }, { "docid": "9e0d07a7388cfdc23a2e239c67c0ca47", "score": "0.69120735", "text": "@Test\n public void attackIfOtherSecurityStatusDroppingTest() {\n // TODO: test attackIfOtherSecurityStatusDropping\n }", "title": "" }, { "docid": "ebc3956490c324f2b963ab75b069189e", "score": "0.67231655", "text": "@Test\n\tpublic void testWarn() {\n\t}", "title": "" }, { "docid": "2df69df72104471aa703c15625389926", "score": "0.6674317", "text": "@Test\n public void possiblySensitiveTest() {\n // TODO: test possiblySensitive\n }", "title": "" }, { "docid": "941b1f88d8db599beacc79e1fe600622", "score": "0.66737974", "text": "@Test\n public void validityTest() {\n // TODO: test validity\n }", "title": "" }, { "docid": "4dc514d68cb30bb6e7501a5fe950d55a", "score": "0.65254974", "text": "@Test\n public void ensureBadDataWasIgnored() {\n assumeTrue(badHostsDoNotResolve);\n assertFalse(\"firewall treated our malformed data as a host. If \" +\n \"`host \\\"bad data should be skipped\\\"` works locally, this test should have been \" +\n \"skipped.\",\n ipsFirewall.isPermissible(\"bad data should be skipped\"));\n assertFalse(\"firewall treated our malformed data as a host. If \" +\n \"`host \\\"more bad data\\\"` works locally, this test should have been \" +\n \"skipped.\",\n ipsFirewall.isPermissible(\"more bad data\"));\n }", "title": "" }, { "docid": "a0b5ba2dec784a9a871d9021a37a9b0c", "score": "0.6521503", "text": "@Override\n\tpublic void validTest() {\n\n\t}", "title": "" }, { "docid": "b7d5e81aef957bf5600877d625ecd129", "score": "0.642641", "text": "@BeforeTest\n\tpublic void checkTestSkip() throws Exception\n\t{\t \n\t\tTestUtil.checkTestSkip(\"MarchReleaseSuite\",\"TestCase_EI3241\");\n\t}", "title": "" }, { "docid": "7a0672d06f280bfa05591359d0f8e427", "score": "0.64153403", "text": "@Test\n\tpublic void testneg1() {\n\t\t \n\t\tgmail.enterEmail(myemail);\t\n\t\tgmail.clickNext();\n\t\tgmail.enterPassword(falsepassword);\n\t gmail.clickSignin();\n\t \n\t error = gmail.existsErrorMsg();\n\t \n\t assertTrue(error); //Assert that error is displayed. \n\t \n\t}", "title": "" }, { "docid": "168b8ee363a3fdad2dba82c61fb91224", "score": "0.63883233", "text": "private static void runTestCWE8() {\n}", "title": "" }, { "docid": "a14f28d27d3e1b725f231612ef00ef0e", "score": "0.637856", "text": "@Test\n public void attackIfAtWarTest() {\n // TODO: test attackIfAtWar\n }", "title": "" }, { "docid": "2eb91ff53c83a31322ca1516485203d8", "score": "0.6375231", "text": "@Test\n public void attackSecurityStatusThresholdTest() {\n // TODO: test attackSecurityStatusThreshold\n }", "title": "" }, { "docid": "86297adbd74acf62b39c471d1c7fed41", "score": "0.63448614", "text": "@Test\n\tpublic void testIsOverDueNotOverDue() {\n\t\tassertFalse(loan.isOverDue());\n\t}", "title": "" }, { "docid": "3b331232d8258227d1b82cc312e7141a", "score": "0.63352466", "text": "@Test\n\tpublic void negativeTest0() {\n\t\tStatusApplication status = new StatusApplication();\n\t\tstatus.setValue(\"PENDING\");\n\t\tRoleApplication role = new RoleApplication();\n\t\trole.setRoleValue(\"ACME\");\n\n\t\tCurricula curricula = curriculaService.findAll().iterator().next();\n\n\t\tCourse course = courseService.findAll().iterator().next();\n\n\t\ttemplate(\"dancer1\", new Date(), status, course, role, curricula, ConstraintViolationException.class);\n\n\t}", "title": "" }, { "docid": "2fc3b671c8798c63cc8acb90c3f230d0", "score": "0.63008475", "text": "@Test\n public void excludedFeaturesTest() {\n // TODO: test excludedFeatures\n }", "title": "" }, { "docid": "12fa9d85c9c7be3d6de4158e71f45e5e", "score": "0.62750703", "text": "private static void runTestCWE7() {\n}", "title": "" }, { "docid": "2dedef07045d9674b0e6685da617f4a2", "score": "0.62730044", "text": "@Test\n\tpublic void testneg2() {\n\t\t \n\t\tgmail.enterEmail(myemail);\t\n\t\tgmail.clickNext();\n\t\tgmail.enterPassword(mypass);\n\t gmail.clickSignin();\n\t \n\t error = gmail.existsErrorMsg();\n\t assertFalse(error); //Assert that the error does not display. \n\t}", "title": "" }, { "docid": "cb6ccafca08c8054b0d22f2aade79e2b", "score": "0.6265154", "text": "private static void runTestCWE5() {\n}", "title": "" }, { "docid": "164af46fe9269683c67cb04e242c6425", "score": "0.62581605", "text": "private static void runTestCWE9() {\n}", "title": "" }, { "docid": "98794e6c61af06168a16fc2f37f95b56", "score": "0.62484944", "text": "public boolean notPassValidation() {\n return false;\n }", "title": "" }, { "docid": "039ab28a4ca3a5ba897464b0d9f2d62c", "score": "0.62358814", "text": "@Test(expected = AssertionError.class)\n public void testAssertionsEnabled() {\n assert false;\n }", "title": "" }, { "docid": "93f78b8fecd9e1995b6f86ae9a17e678", "score": "0.6231633", "text": "@Test()\n public void jenkins_report_failure_test() {\n LOGGER.info(\"=====> Temp experiment to force failure, want to see Jenkins correctly report it <======\");\n Assert.assertFalse(true, \"Forcing a failed assert\");\n }", "title": "" }, { "docid": "73832332a753290eb5c423c20ecd7d2c", "score": "0.6198565", "text": "@Test\n public void testVeryBadSentiment() {\n assertEquals(0, analyser.findSentiment(\"Bad\"));\n }", "title": "" }, { "docid": "de7437b36bd62940e582e811330acc27", "score": "0.61899996", "text": "@Test\n public void testOperatorAfterNot() {\n Assert.assertFalse(checkTest(9));\n }", "title": "" }, { "docid": "d990601d536d6da6a27f7e6497e23342", "score": "0.6182821", "text": "@BeforeTest\n\tpublic void checkTestSkip() throws Exception\n\t{\t \n\t\tTestUtil.checkTestSkip(\"UsersSuite\",\"TestCase_EditUser\");\n\t}", "title": "" }, { "docid": "b43c82028008c8388a177647b2165989", "score": "0.61786795", "text": "public void test007Bad() {\r\n form = getForm(\"form_equality_003\");\r\n\r\n values.put(\"field_001\", \"a\");\r\n values.put(\"field_002\", \"b\");\r\n values.put(\"check_fields\", \"y\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "25c317ad76cd24e52fa2f417d84f1e48", "score": "0.61662763", "text": "private static void runTestCWE4() {\n}", "title": "" }, { "docid": "8d55f4a4e9a0f61f0067dd69c7794d0b", "score": "0.6157847", "text": "@Test(expected=AssertionError.class)\n public void testAssertionsEnabled() {\n assert false;\n }", "title": "" }, { "docid": "17b4057e039c23b243498b14bbc6f90c", "score": "0.6155311", "text": "@Override\n public boolean\n hasPreCheckInTest() \n {\n return true;\n }", "title": "" }, { "docid": "fa8cab610952f1de4f88066de249ed6e", "score": "0.6147434", "text": "@Test\n @Ignore\n public void testFailedAuthentication() {\n }", "title": "" }, { "docid": "0a25d1f3a42efb5e05732f4c24eb3a43", "score": "0.6146842", "text": "@Test public void testNoop ()\n {\n }", "title": "" }, { "docid": "564b3ff4ef4c4339dc86323bfec6245e", "score": "0.61389315", "text": "private static void runTestCWE6() {\n}", "title": "" }, { "docid": "988943ebe8dfe00b2e326df7b24b8a8c", "score": "0.612093", "text": "private static void runTestCWE3() {\n}", "title": "" }, { "docid": "48ae29ac236e61c58f2c16a43154c8d9", "score": "0.6113489", "text": "public void test009Bad() {\r\n form = getForm(\"form_equality_004\");\r\n\r\n values.put(\"field_001\", \"\");\r\n values.put(\"field_002\", \"b\");\r\n values.put(\"check_fields\", \"y\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "15cc69d2617ee45ef412ae3f9584ab6b", "score": "0.6106897", "text": "@Test\n\tpublic void negativeTest2() {\n\t\tStatusApplication status = new StatusApplication();\n\t\tstatus.setValue(\"ACME\");\n\t\tRoleApplication role = new RoleApplication();\n\t\trole.setRoleValue(\"TEACHER\");\n\n\t\tCourse course = courseService.findAll().iterator().next();\n\t\tCurricula curricula = curriculaService.findAll().iterator().next();\n\n\t\ttemplate(\"dancer1\", new Date(), status, course, role, curricula, ConstraintViolationException.class);\n\n\t}", "title": "" }, { "docid": "3c9fe9faaa9862b2ec4b9c277e7f3b83", "score": "0.6106663", "text": "private static void runTestCWE2() {\n}", "title": "" }, { "docid": "bea57e67e960748a7a4c56fc146217ba", "score": "0.6104416", "text": "@Test\r\n\tpublic void testBooleanFalse() throws Exception {\r\n\t\tprepareTest(Arrays.asList(\"/tests/basic/data01endpoint1.ttl\", \"/tests/basic/data01endpoint2.ttl\"));\r\n\t\texecute(\"/tests/basic/query04.rq\", \"/tests/basic/query04.srx\", false);\t\r\n\t}", "title": "" }, { "docid": "4f9e4bc0e3b524a45ad064375fa55eda", "score": "0.61016315", "text": "@Test\n public void checkIfTicketControlFailsCorrectly(){\n Assertions.assertFalse(controllTicket(\"Sopptur2\", organizer));\n }", "title": "" }, { "docid": "0fc077d5d2047f8606b181f85da34af1", "score": "0.60931796", "text": "public void testNoop() {}", "title": "" }, { "docid": "73ef06ab55be38f3b0a9b28bbe91f3aa", "score": "0.60826474", "text": "@Test\n public void testInvalidSRR() throws Exception {\n ProtocolDocument protocolDocument = ProtocolFactory.createProtocolDocument();\n \n CommitteeDecision decision = getMockCommitteeDecisionBean(CommitteeDecisionMotionType.SUBSTANTIVE_REVISIONS_REQUIRED, YES_COUNT, NO_COUNT, null, null, protocolDocument.getProtocol(), false);\n rule.setAttendanceService(getMockCommitteeScheduleAttendanceService(YES_COUNT, NO_COUNT));\n assertFalse(rule.proccessCommitteeDecisionRule(protocolDocument, decision));\n }", "title": "" }, { "docid": "e83885ef4436485f4474e0373b026722", "score": "0.6082036", "text": "@Test\n void UnarmoredIneffectiveAttackTest(){\n super.checkUnarmoredIneffectiveAttack(exampleEnemy, weakEngineer, cpu);\n }", "title": "" }, { "docid": "9b5dc519da123964cecb723e57b4384d", "score": "0.6080204", "text": "@Test\n\tpublic void testVintaFalse() {\n\t\tassertFalse(\"Ritorna True se inizializzato a due stanze uguali\",p.getStanzaCorrente()== p.labirintoCorrente.getStanzaVincente());\n\t}", "title": "" }, { "docid": "1ebfa1f46c1f436e0911fe1da15ccad4", "score": "0.6073035", "text": "@Test\n\tpublic void testCheckoutErrorMessages() {\n\t\tgitlet(\"init\");\n\t\tString wug = TESTING_DIR + \"wug.txt\";\n\t\tcreateFile(wug, \"This is a wug\");\n\t\tgitlet(\"add\", wug);\n\t\tgitlet(\"commit\", \"added a wug\");\n\t\tgitlet(\"branch\", \"wuglife\");\n\t\tgitlet(\"checkout\", \"wuglife\");\n\t\tgitlet(\"rm\", wug);\n\t\tassertEquals(\"\", gitlet(\"checkout\", \"master\"));\n\t\n\t}", "title": "" }, { "docid": "519fc7638b8fc66c86b963fe456a9264", "score": "0.6072906", "text": "@Test\n public void testCheckIfLoanedInvalidFields() { \n assertFalse(dao.checkIfLoaned(-1, -1));\n }", "title": "" }, { "docid": "93d93306c112f26440fc97633cf2713b", "score": "0.6068401", "text": "@Test\n @Ignore\n public void testDegenerateUseRestHistory002() throws Exception {\n\n // intentionally left blank, see note above\n }", "title": "" }, { "docid": "0b0aa439f797dc3cbf3fdb6fb7932db0", "score": "0.60591185", "text": "@Test\n\tvoid test() {\n\t\tassertEquals(false,false);\n\t}", "title": "" }, { "docid": "d273560531edb9857828528201914edb", "score": "0.6046485", "text": "@Test\n\tpublic void negativeTest1() {\n\t\tStatusApplication status = new StatusApplication();\n\t\tstatus.setValue(\"PENDING\");\n\t\tRoleApplication role = new RoleApplication();\n\t\trole.setRoleValue(\"TEACHER\");\n\n\t\tCurricula curricula = curriculaService.findAll().iterator().next();\n\t\ttemplate(\"dancer1\", new Date(), status, null, role, curricula, ConstraintViolationException.class);\n\n\t}", "title": "" }, { "docid": "0178348bc287f41816be9fe081919307", "score": "0.6043222", "text": "void main() {\n //@ assert false;\n }", "title": "" }, { "docid": "933ec6c94d1c1590a4e42a0fce6273e7", "score": "0.60417974", "text": "public void testToSilenceJunitComplaintsAboutNoTestMethods()\r\n {}", "title": "" }, { "docid": "493709186f26d089cbdaa8f442f3f0fd", "score": "0.6033109", "text": "@Override\n\tpublic boolean good() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "99835665ef24bc04323ff9f516f1c961", "score": "0.6024322", "text": "public void test011Bad() {\r\n form = getForm(\"form_equality_001\");\r\n\r\n values.put(\"field_001\", \"1\");\r\n values.put(\"field_002\", \"2\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "09b5aeacee2d530774f7c078bf5300e9", "score": "0.601555", "text": "@Test\n @Disabled(\"Enable until build times are fixed/known\") // TODO MVR enable me\n public void verifyBuildTime() {\n }", "title": "" }, { "docid": "c1b142610cc9ac623bdf6372c66c3d9f", "score": "0.60022914", "text": "@Test\n public void testInvalidDisapprove() throws Exception {\n ProtocolDocument protocolDocument = ProtocolFactory.createProtocolDocument();\n \n CommitteeDecision decision = getMockCommitteeDecisionBean(CommitteeDecisionMotionType.DISAPPROVE, YES_COUNT, null, null, null, protocolDocument.getProtocol(), false);\n rule.setAttendanceService(getMockCommitteeScheduleAttendanceService(YES_COUNT, null));\n assertFalse(rule.proccessCommitteeDecisionRule(protocolDocument, decision));\n }", "title": "" }, { "docid": "f8425fb9f680217d3721d05a33baea39", "score": "0.5997472", "text": "public void test016Bad() {\r\n form = getForm(\"form_equality_007\");\r\n\r\n values.put(\"field_001_1\", \"a\");\r\n values.put(\"field_001_2\", \"b\");\r\n values.put(\"field_001_3\", \"c\");\r\n values.put(\"field_002_1\", \"d\");\r\n values.put(\"field_002_2\", \"e\");\r\n values.put(\"field_002_3\", \"f\");\r\n\r\n values.put(\"check_fields_1\", \"y\");\r\n values.put(\"check_fields_2\", \"n\");\r\n values.put(\"check_fields_3\", \"y\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "990fb5c017c1ee47fae8779c1d33c375", "score": "0.59959024", "text": "@Ignore\n @Override\n public void testBadRequest() throws IOException {\n }", "title": "" }, { "docid": "408a5e45d7a35c90d1549a8a4956fa01", "score": "0.5988816", "text": "@Test\n public void testDutyTempStaffingExpressionOfInterestEventAllOf() {\n // TODO: test DutyTempStaffingExpressionOfInterestEventAllOf\n }", "title": "" }, { "docid": "6d0f1b24921bdf9c23d936f12e8627d7", "score": "0.5984591", "text": "@Disabled\n @Test\n void calculateOrderAmount() {\n }", "title": "" }, { "docid": "1222c466ab6bb67d56087d3d693afeaa", "score": "0.59796387", "text": "@Test\n\tpublic void inRangeTest4() {\n\t\tassertFalse(JunitTester.inRangeTest(0, -1));\n\t}", "title": "" }, { "docid": "be6512f228af9380da97086d94d1d3ec", "score": "0.59796304", "text": "@Test\n public void allowAllianceMembersTest() {\n // TODO: test allowAllianceMembers\n }", "title": "" }, { "docid": "ca0b5fc5c617a80088c1a365cd863396", "score": "0.5974077", "text": "public void testIsStudioAccuracy() throws Exception {\n assertFalse(\"Expects the studio is false by default.\", contestPrize.isStudio());\n }", "title": "" }, { "docid": "7d864e60a76804098417918106c0f0d3", "score": "0.59716666", "text": "@Test\n\tvoid ObservationsAddInvalidtest() {\n\t\tassertTrue(true);\n\t}", "title": "" }, { "docid": "41a444805e520ff6f63e31aeb941bb81", "score": "0.5969172", "text": "public void test014Bad() {\r\n form = getForm(\"form_equality_007\");\r\n\r\n values.put(\"field_001_1\", \"a\");\r\n values.put(\"field_001_2\", \"b\");\r\n values.put(\"field_002_1\", \"c\");\r\n values.put(\"field_002_2\", \"d\");\r\n\r\n values.put(\"check_fields_1\", \"y\");\r\n values.put(\"check_fields_2\", \"y\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "3fc477ab3c7d31119c155267129fea22", "score": "0.596546", "text": "@Test\n public void testIsValid() {\n assertTrue(tOneS.isValid());\n }", "title": "" }, { "docid": "69d36b725a6c69d5e98c1e7415c9136b", "score": "0.5960834", "text": "public void test004Bad() {\r\n form = getForm(\"form_equality_002\");\r\n\r\n values.put(\"field_001\", \"\");\r\n values.put(\"field_002\", \"b\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "31f703a6705b2b2da77116ee11aeaaed", "score": "0.59606755", "text": "@Test\n public void guillaumeNeedConfirmation() {\n }", "title": "" }, { "docid": "25e1d57bc4362e2a28520416c82a5cad", "score": "0.59590375", "text": "private void testExceptions007() {\n\t\ttry {\n\t\t\tDefaultTestBundleControl.log(\"#testExceptions007\");\n\t\t openSessionAndSimulateSecurityException();\n\t\t} catch (Throwable e) {\n\t\t\tDefaultTestBundleControl.log(e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "e1a49f43c117931c7de752b5e9e6056b", "score": "0.59547085", "text": "@Test\r\n public void testOnDisable() {\r\n }", "title": "" }, { "docid": "df9d6e276d7ecbd9199215fa3ced14c9", "score": "0.59430987", "text": "@Test\n public void testSybilAdvertisingLimitBasic() {\n \n }", "title": "" }, { "docid": "57c14cd1950e188ce7b0c9826b40a5fa", "score": "0.5936964", "text": "public void testMT39() throws Exception {\r\n // No need to test this method\r\n }", "title": "" }, { "docid": "f436b7040131986926f8db10823c474d", "score": "0.59360296", "text": "@Test\n public void confirmLoanApplication() throws Exception {\n }", "title": "" }, { "docid": "5bfff2f589dec595547ad4119598fcf2", "score": "0.59327555", "text": "@Test\n public void diagnosticImplicationsTest() {\n // TODO: test diagnosticImplications\n }", "title": "" }, { "docid": "903645fa9aa11853d79a05a416420963", "score": "0.59216213", "text": "@Test\n public void testNothing()\n {\n \n }", "title": "" }, { "docid": "79905ca3c4b6b3b1f7acea105599fc17", "score": "0.5919383", "text": "@Test\n public void noop() throws Exception {\n }", "title": "" }, { "docid": "52f28afd95b6caed367fc232d36bdfd8", "score": "0.5917248", "text": "public void testManualTest()\n {\n\t \n }", "title": "" }, { "docid": "b9b50e2113f9a4c2f4d6418513ee048e", "score": "0.59152627", "text": "@Test(timeout = 4000)\n public void test143() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n ErrorPage errorPage1 = new ErrorPage();\n StringBuilder stringBuilder0 = new StringBuilder();\n Submit submit0 = new Submit(errorPage1, \"body\", \"null\");\n submit0.defaultDomEvent();\n ElExpression elExpression0 = new ElExpression(\"&Bn%\");\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef((String) null);\n Checkbox checkbox0 = new Checkbox(submit0, \"'.\", \"onclick\");\n checkbox0.validationRule(\"'.\", (String) null);\n // Undeclared exception!\n try { \n checkbox0.remove(\"_sn!\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n }\n }", "title": "" }, { "docid": "eb6da51355236960ee9b0b151c0aac2a", "score": "0.5912396", "text": "@BeforeTest\npublic void checkTestSkip() throws Exception\n{\t \n\tTestUtil.checkTestSkip(\"CategoriesSuite\",\"TestCase_VerifyCreateCategory\");\n}", "title": "" }, { "docid": "32a471e02e09b91556024f6bf96dee81", "score": "0.59119165", "text": "public void test002Bad() {\r\n form = getForm(\"form_equality_001\");\r\n\r\n values.put(\"field_001\", \"a\");\r\n values.put(\"field_002\", \"b\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "787403eb87db26d5a7e580a5a3892e8c", "score": "0.59093994", "text": "public void testWriteIfDifferentValid() {\n }", "title": "" }, { "docid": "3da606d7760815e4ba85ee0a45454485", "score": "0.5908843", "text": "@Test\n public void attackStandingThresholdTest() {\n // TODO: test attackStandingThreshold\n }", "title": "" }, { "docid": "4fc8b2539a40ec5e3b68c5a742ae6d3a", "score": "0.5906797", "text": "@Test\r\n\tpublic void nonXmlHtml5() {\r\n\r\n\t\ttestOK(\"decorator/NonXMLHTML5\");\r\n\t}", "title": "" }, { "docid": "89e08dc8d538978d7f728241d77a0c92", "score": "0.59054214", "text": "@SuppressWarnings(\"javadoc\")\r\n @Test\r\n public void testValidationOnNonCancerTrials() throws Exception {\n deleteProgramCodesOfFamily(1);\r\n deleteProgramCodesOfFamily(2);\r\n\r\n //And that a trial exist in submitted state\r\n deactivateAllTrials();\r\n TrialInfo trial = createAcceptedTrial(true, false, \"National Cancer Institute\");\r\n\r\n // When I login as super abstractor & select the trial\r\n selectTrialInPA(trial);\r\n\r\n //And go to Nci specific information page\r\n clickAndWait(\"link=NCI Specific Information\");\r\n\r\n //Then I should not see program code\r\n assertFalse(selenium.isTextPresent(\"Program Code:\"));\r\n\r\n logoutUser();\r\n\r\n\r\n }", "title": "" }, { "docid": "e0c02812bca9e204778a4b124aa1840b", "score": "0.5901296", "text": "@BeforeClass\n\tpublic void checkTestSkip() {\n\n\t\tif (!TestUtil.isTestCaseRunnable(suiteCxls, \"AddHotelSetup\")) {\n\t\t\tAPP_LOGS.debug(\"Skipping Test Case\" + \"AddHotelSetup\" + \" as runmode set to NO\");// logs\n\t\t\tthrow new SkipException(\"Skipping Test Case\" + \"AddHotelSetup\" + \" as runmode set to NO\");// reports\n\t\t}\n\t}", "title": "" }, { "docid": "4370caedc5e6c086f020224ab7d5f47a", "score": "0.5899818", "text": "@Test\r\n\tpublic void testWeakRobust7() {\r\n\t\t\r\n\t\tassertFalse(DateUtil.isAfter(valid_d1, valid_after_d1));\r\n\t}", "title": "" }, { "docid": "6e356a4e20897a8e5d123f44993a77de", "score": "0.58969885", "text": "@Test\n void shouldSkipBlamesAndForensicsWithScanAndPublishIssuesSteps() {\n runStepAndVerifyScmSkipping(\"def issues = scanForIssues \"\n + \"sourceDirectory: 'forensics-api',\"\n + \"scm: 'nothing', \"\n + \"tool: java(pattern:'**/*issues.txt', reportEncoding:'UTF-8')\\n\"\n + PUBLISH_ISSUES_STEP);\n }", "title": "" }, { "docid": "c297797a749eab97de13d371bca6a5f4", "score": "0.58969814", "text": "@Test\n public void replaceThisWithActualTests() {\n Response response = RestAssured\n .given()\n .relaxedHTTPSValidation()\n .baseUri(TEST_URL)\n .get(\"/health\")\n .andReturn();\n\n assertThat(response.getStatusCode()).isEqualTo(200);\n }", "title": "" }, { "docid": "3a4fdf18f8ef3d2cf2f0b8e51ce2901b", "score": "0.58890086", "text": "public void test(){\n\t\tassert(true);\n\t\t\n\t}", "title": "" }, { "docid": "6652cd3f3a96b5d6f4a8c4256396084b", "score": "0.58790207", "text": "@Test\n\tpublic void nullTest() throws Exception {\n\t}", "title": "" }, { "docid": "b9ffabf53cc6f8a43c975d20df1e3e36", "score": "0.58772904", "text": "public void testGetPostLove()\n {\n assertFalse(testWallPosting.getPostLove());\n }", "title": "" }, { "docid": "4f659f8c956d74077123559b56ab9c67", "score": "0.58767503", "text": "public void testGetBuilderAllowFailOnInitNotOptional() throws ConfigurationException {\n checkAllowFailOnInit(false, CombinedConfigurationBuilder.ATTR_FORCECREATE);\n }", "title": "" }, { "docid": "a51c13252ba143385938e0c8744ef548", "score": "0.5875735", "text": "@Test\n void UnarmoredEffectiveAttackTest(){\n super.checkUnarmoredEffectiveAttack(exampleEnemy, weakEngineer, cpu);\n }", "title": "" }, { "docid": "3ab6e8b2c97b2c24bb80d5059336f379", "score": "0.58756137", "text": "@Test\n public void testCheckPrasyaratFalse() {\n Mahasiswa mahasiswa = new Mahasiswa(\"2018730041\");\n List<String> reasonsContainer = new LinkedList<>();\n AIF183348 instance = new AIF183348();\n boolean expResult = false;\n boolean result = instance.checkPrasyarat(mahasiswa, reasonsContainer);\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "26f02b413778d6ed5d90b4fe2e25da97", "score": "0.58610636", "text": "@Test(expected=Exception.class)\n public void testSomething() throws Exception {\n\n throw new Exception(\"KitchenDutyPlanningWebworkAction has no tests!\");\n\n }", "title": "" }, { "docid": "2e400952ee1fd5cc421c835805a069d2", "score": "0.586018", "text": "public void test012Bad() {\r\n form = getForm(\"form_equality_006\");\r\n\r\n values.put(\"field_001_1\", \"a\");\r\n values.put(\"field_001_2\", \"b\");\r\n values.put(\"field_002_1\", \"c\");\r\n values.put(\"field_002_2\", \"d\");\r\n\r\n assertFalse(validateForm(values));\r\n\r\n printValues();\r\n printMessages();\r\n }", "title": "" }, { "docid": "30ef2df8a5fd80209661872915b69524", "score": "0.5856689", "text": "@Test\n public void testDefaults() throws Exception {\n }", "title": "" }, { "docid": "ec94811b3c2920d185c22030016b34c6", "score": "0.58555526", "text": "@Test\n public void testWrongOperatorPosition2() {\n Assert.assertFalse(checkTest(12));\n }", "title": "" }, { "docid": "788e37cfc6c488ecde0666d1f34e7435", "score": "0.5852522", "text": "public void testBaseNegative() {\n\n activity.addStep(new TestStep(\"Step 0\", false));\n activity.addStep(new TestStep(\"Step 1\", true));\n activity.addStep(new TestStep(\"Step 2\", false));\n context.setActivity(activity);\n\n TestStep.clearResults();\n try {\n context.execute();\n fail(\"Should have thrown StepException\");\n } catch (StepException e) {\n assertEquals(\"Executed step 0-1\", \"Step 0/Step 1/\",\n TestStep.getResults());\n assertEquals(\"Exception thrown by step 1\", \"Step 1\",\n e.getStep().getId());\n \n }\n\n }", "title": "" }, { "docid": "4086bcac21d81e4aaaa7433dfa6037f0", "score": "0.5847829", "text": "@Test\n public void nonPublicMetricsTest() {\n // TODO: test nonPublicMetrics\n }", "title": "" }, { "docid": "383e047af236ade3337f6618150e9ed1", "score": "0.5839618", "text": "@Test\n\tpublic void negativeTest3() {\n\n\t\tRoleApplication role = new RoleApplication();\n\t\trole.setRoleValue(\"TEACHER\");\n\n\t\tCourse course = courseService.findAll().iterator().next();\n\t\tCurricula curricula = curriculaService.findAll().iterator().next();\n\n\t\ttemplate(\"dancer1\", new Date(), null, course, role, curricula, ConstraintViolationException.class);\n\n\t}", "title": "" }, { "docid": "c4f180dcdb6edcd23033ccf4a6a6f053", "score": "0.58377236", "text": "public void testIsValidAccuracy_empty() {\r\n assertFalse(\"bad case\", luhn.isValid(\"\"));\r\n }", "title": "" }, { "docid": "01b62e1b172af01d5cbdbe6847338ae6", "score": "0.5837491", "text": "@Test\n public void testEmptyTcfFile() {\n final FormValidation validation = testValidator.validateTcfFile(\"\");\n assertEquals(\"Warning if empty tcf file\", FormValidation.Kind.WARNING, validation.kind);\n }", "title": "" }, { "docid": "51817858176d9c58ccc198e58c321311", "score": "0.58368", "text": "@Test\n public void validateHomeSpWithoutFriendlyName() throws Exception {\n HomeSP homeSp = new HomeSP();\n homeSp.fqdn = \"fqdn\";\n assertFalse(homeSp.validate());\n }", "title": "" } ]
5b1948e0f6c91099680573f9b5da520c
Expensive call needs to create new List and Pairs!
[ { "docid": "5c5e146273a68e63bd9a8f459337b2dc", "score": "0.0", "text": "public final List<Pair<T, Weight>> createWeightedInputs() {\n List<Pair<T, Weight>> pairedInputs = new ArrayList<>(weights.size());\n for (int i = 0; i < weights.size(); i++) {\n pairedInputs.add(new Pair<>(inputs.get(i), weights.get(i)));\n }\n return pairedInputs;\n }", "title": "" } ]
[ { "docid": "c5831d3a8d3b5655fc67afb8598bd7dd", "score": "0.68426514", "text": "protected Pair() {/* intentionally empty block */}", "title": "" }, { "docid": "2def556f687f7084bcb3bc45c1b3a925", "score": "0.6791917", "text": "void makeListOfpairs() {\n\t\tfor(int i = 0; i < listOfManuscripts.length; i++) {\n\t\t\tfor(int j = 0; j < listOfManuscripts.length; j++) {\n\t\t\t\t// don't make a pair with itself\n\t\t\t\tif(i == j) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tString pair = listOfManuscripts[i] +\",\"+ listOfManuscripts[j];\n\t\t\t\tlistOfPairs.add(pair);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "84de8ad8211fda1125c6a929106536d2", "score": "0.65037507", "text": "public List(KeyValuePairOfStrings pair) {\n this.pair = pair;\n next = null;\n }", "title": "" }, { "docid": "5b026291fb6769380bcc4c57b6f096f2", "score": "0.64935935", "text": "Pair createPair();", "title": "" }, { "docid": "5b026291fb6769380bcc4c57b6f096f2", "score": "0.64935935", "text": "Pair createPair();", "title": "" }, { "docid": "1cc4e0157cfab7e6cbf9ad851dfd5955", "score": "0.62429696", "text": "public Pair() {}", "title": "" }, { "docid": "f832f3ecc01a66f9e8f55ed2df499564", "score": "0.6099544", "text": "private static ParseData processPairs(ParseData data) throws ParseError, IOException{\r\n\r\n Pairs pairs = new Pairs();\r\n Slot_Occupant t1,t2;\r\n\r\n String entry = readLine();\r\n\r\n while (entry != null && !entry.equals(\"\")) {\r\n\r\n entry = entry.trim();\r\n String occupants[] = entry.split(\",\"); //Assumes that the non-compat has comma separated occupants\r\n\r\n //Check to make sure the two arguments are of the same argument length\r\n int i = occupants[0].trim().split(\"\\\\s+\").length;\r\n int j = occupants[1].trim().split(\"\\\\s+\").length;\r\n\r\n if(occupants.length == 2){\r\n\r\n t1 = getOccupant(data,occupants[0].trim());\r\n t2 = getOccupant(data,occupants[1].trim());\r\n\r\n if(t1.equals(t2)){\r\n printWarning(\"A course can't be not compatible with itself\");\r\n }\r\n if(!pairs.addEntry(t1,t2)){\r\n printWarning(\"Duplicate pair statement\");\r\n }\r\n\r\n }\r\n else{\r\n throw new ParseError(\"Pair statement is not valid on line: \" + currentLineNum);\r\n }\r\n\r\n entry = readLine();\r\n }\r\n\r\n data.Pairs = pairs;\r\n return data;\r\n }", "title": "" }, { "docid": "a04d347bc3c8cccb3f7c0b64021aed69", "score": "0.60398585", "text": "public Pair (){\n\n }", "title": "" }, { "docid": "47e2136a73c87adf2e0ffe46c7670d05", "score": "0.6029695", "text": "public void inferPairs(ArrayList<INucleotide> lis){\n for (int i = 0; i < lis.size(); i++) {\n INucleotide n = lis.get(i);\n //possible partner list, from these the best is selected if applicable\n ArrayList<INucleotide> possiblePartnerList = new ArrayList<>();\n for (int j = 0; j < lis.size(); j++) {\n INucleotide m = lis.get(j);\n //has to be in every Nucleotide, get rough estimate\n double approxDistance = n.getResidueMap().get(\"C2\").getDistanceTo(m.getResidueMap().get(\"C2\"));\n if ((approxDistance < 10.0) &&\n n.hasHBondDonorsAndAcceptors() &&\n m.hasHBondDonorsAndAcceptors() &&\n n.isWCPair(m)){\n //calc more accurate distance and look for Hbonds\n //print angle and distance\n HBondCalculationHandler hBondCalculationHandler = new HBondCalculationHandler(n,m);\n ArrayList<Double> distances = hBondCalculationHandler.getDistances();\n ArrayList<Double> angles = hBondCalculationHandler.getAngles();\n// System.out.println(n.getName() + \"angles\" + angles + \"distances\" + distances);\n if (validateDistances(distances) && validateAngles(angles)){\n n.setPair(m);\n m.setPair(n);\n// System.out.println(\"Pair found!: \" + n.getName() + m.getName() );\n }\n }\n }\n }\n }", "title": "" }, { "docid": "d4ad684b049584feaa96912f6605bb9e", "score": "0.59563625", "text": "public Pair() {\r\n\t}", "title": "" }, { "docid": "d22210e7b3f3ca131584adb2f88ad7c2", "score": "0.5895475", "text": "public PairOrderedSet(PairList l) {\n initialize();\n for (; l != null; l = l.getNext())\n addLast(l.getInfoX(), l.getInfoY());\n }", "title": "" }, { "docid": "a16cd110fca39f21ccfee874d43609bb", "score": "0.58753556", "text": "public abstract List<Pair> getParameters();", "title": "" }, { "docid": "e45aa1a1d5bb6b9a2213925543bd6cbb", "score": "0.585391", "text": "java.util.List<systems.obscure.client.protos.LocalStorage.Contact.MyHMACPair> \n getMyPairsList();", "title": "" }, { "docid": "f3d961718d5eb6b82c65a1b74701b351", "score": "0.5844589", "text": "public Pair() {\n\n\t}", "title": "" }, { "docid": "9a59d1ec0df37f765625317e8a1500f6", "score": "0.5779173", "text": "private void createList(Map<String, Person> list) {\n\t\tcreateList(list, 10_000_000);\n\t}", "title": "" }, { "docid": "363fadf035cdcb978cd4572afbf3e86f", "score": "0.57778096", "text": "static List<Pair<String, String>> getPairs() {\n if (pairs != null) return pairs;\n\n // Put all the word pairs into a Java Map\n // so we can get the last value assigned to each key.\n Map<String, String> map = new HashMap<String, String>();\n String prevWord = getFirstKey();\n for (String word : getWords()) {\n map.put(prevWord, word);\n prevWord = word;\n }\n\n // Get the last value assigned to each key.\n pairs = new ArrayList<Pair<String, String>>();\n for (Map.Entry<String, String> entry : map.entrySet()) {\n pairs.add(new Pair<String, String>(\n entry.getKey(), entry.getValue()));\n }\n\n return pairs;\n }", "title": "" }, { "docid": "b6603abb1109ad93af951e39c37d912a", "score": "0.57709026", "text": "private ArrayList<ArrayList<BigInteger>> addToPairList(ArrayList<BigInteger> pow_list, ArrayList<ArrayList<BigInteger>> pair_list)\n {\n ArrayList<BigInteger> tempPowerSet = new ArrayList<>();\n boolean evenFound = false;\n\n if (isEvenPowList(pow_list) == true)\n {\n tempPowerSet = pow_list;\n evenFound = true;\n }\n else \n {\n // loop through all powerSets in pair_list and try to combine with pos_list\n for (int i = 0; i < pair_list.size(); i++) \n {\n // for all positions in pow_list powerSet\n for (int j = 0; j < pow_list.size(); j++)\n {\n if (j == 0)\n { \n // times values in first postion of pow_list and first p of pair_list\n tempPowerSet.add(pair_list.get(i).get(j).multiply(pow_list.get(j)));\n }\n else\n {\n // add together positions in pair_list and pow_list and store in tempPowerSet\n tempPowerSet.add(pair_list.get(i).get(j).add(pow_list.get(j)));\n }\n\n }\n \n if (isEvenPowList(tempPowerSet) == true)\n {\n // add pow_list to pair_list so that if the factors of the even pow list generated are 1 * input other numbers can be combined with pow_set\n pair_list.add(pow_list);\n evenFound = true;\n }\n } \n }\n\n if (evenFound == false)\n {\n pair_list.add(pow_list);\n }\n else if (evenFound == true)\n {\n // add extra value to temp power set so it can be identified as even\n tempPowerSet.add(BigInteger.valueOf(-1));\n pair_list.add(tempPowerSet);\n }\n \n return pair_list;\n\n }", "title": "" }, { "docid": "4bc4f814be32b129aa38db54998df13d", "score": "0.5752234", "text": "public CountingPairs() {\n\t\tnums = new ArrayList<Integer>();\n\t\thashmap = new HashMap<Integer, Integer>();\n\t}", "title": "" }, { "docid": "487bca89122321fe5105b58765e26cff", "score": "0.57521665", "text": "public OrderedPair() {\n }", "title": "" }, { "docid": "97a7f908b5dfce5d4147caf5fab7215d", "score": "0.57326", "text": "public PairTable() {\n \n info = new Vector();\n}", "title": "" }, { "docid": "9e43c32eb92cfe562d9aa097bb0c8893", "score": "0.57214534", "text": "public void add (CodePair pair) {\n\t\t\n\t\tif (this.size > this.newElements) {\n\t\t\t\n\t\t} else if (this.size <= 100) {\n\t\t\tCodePair[] oldCodePairs = this.ArrayOfCodePairs.clone();\n\t\t\tthis.size = this.size*2;\n\t\t\tthis.ArrayOfCodePairs = new CodePair[this.size];\n\t\t\t\n\t\t\tfor(int i = 0; i < oldCodePairs.length; i++) {\n\t\t\t\tthis.ArrayOfCodePairs[i] = oldCodePairs[i];\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} else {\n\t\t\tCodePair[] oldCodePairs = this.ArrayOfCodePairs.clone();\n\t\t\tthis.size = this.size + 20;\n\t\t\tthis.ArrayOfCodePairs = new CodePair[this.size];\n\t\t\t\n\t\t\tfor(int i = 0; i < oldCodePairs.length; i++) {\n\t\t\t\tthis.ArrayOfCodePairs[i] = oldCodePairs[i];\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t\tthis.ArrayOfCodePairs[this.newElements] = pair;\n\t\tthis.newElements++;\n\t\t\n\t}", "title": "" }, { "docid": "38759539c53bbdf8c8d66b42948e48c5", "score": "0.5717586", "text": "private synchronized List<KeySpecPair> createKeySpecPairs() {\r\n\t\t// Re-create cryptic keyPairs\r\n\t\tList<KeySpecPair> keyPairs = new ArrayList<>(config.getPreCryptPoolSize());\r\n\r\n\t\t// Generate keySpec pairs\r\n\t\tfor (int i = 0; i < config.getPreCryptPoolSize(); i++) {\r\n\t\t\tkeyPairs.add(crypto.generateKeySpecPair());\r\n\t\t}\r\n\r\n\t\t// The key pairs of candidate asymmetric algorithms are valid.\r\n\t\tcacheManager.getEnhancedCache(CACHE_SECURER).putIfAbsent(new EnhancedKey(KEY_KEYPAIRS, config.getCryptosExpireMs()),\r\n\t\t\t\tkeyPairs);\r\n\r\n\t\tAssert.notEmpty(keyPairs, \"'keyPairs' must not be empty\");\r\n\t\treturn keyPairs;\r\n\t}", "title": "" }, { "docid": "2a6e9d1b7119a9491a6ff1a0a0819b0c", "score": "0.56639385", "text": "public void put(Tile key, ArrayList list) {\n Pair pair = new Pair(key, list);\n int index = hashFunction(key);\n if (pointer[index] == array[index].length) {\n Object[] helperArray = array[index];\n array[index] = new Object[array[index].length * 2];\n for (int i = 0; i < helperArray.length; i++) {\n array[index][i] = helperArray[i];\n }\n }\n array[index][pointer[index]] = pair;\n pointer[index]++;\n }", "title": "" }, { "docid": "194499900b5348951d6ad1e3dbe751d7", "score": "0.5615895", "text": "List createList();", "title": "" }, { "docid": "20eaa4288b371bf28865a14df6661f42", "score": "0.5570526", "text": "private List adaptList(final TupleList tupleList) {\n if (tupleList.getArity() == 1) {\n return new ArrayList<Member>(tupleList.slice(0));\n } else {\n return new ArrayList<Member[]>(\n TupleCollections.asMemberArrayList(tupleList));\n }\n }", "title": "" }, { "docid": "c1902a9cd1464f03596959416c7a8bed", "score": "0.55596393", "text": "public Pair(T e1, T e2)\r\n/* 9: */ {\r\n/* 10:233 */ this.e1 = e1;\r\n/* 11:234 */ this.e2 = e2;\r\n/* 12: */ }", "title": "" }, { "docid": "cc28f3dadb21e0f59b2c9be6bf405fa2", "score": "0.55576324", "text": "Integer updateGermplasmList(List<Pair<Germplasm, GermplasmListData>> listDataItems, GermplasmList germplasmList);", "title": "" }, { "docid": "2c34e38a6ec5ac5752984af1fe11f25f", "score": "0.55559856", "text": "java.util.List<systems.obscure.client.protos.Pond.HMACPair> \n getTheirPairsList();", "title": "" }, { "docid": "afe19493a3e3a67678d68bb2c6b394fe", "score": "0.5548555", "text": "public PairReducer(ArrayList<StringNumPair> redlist){\r\n this.redlist = redlist;\r\n }", "title": "" }, { "docid": "10e6493f5a286f5d3887d5a560640a8c", "score": "0.554339", "text": "@Override\npublic Iterator<String[]> iterator() {\n return new PairIterator();\n}", "title": "" }, { "docid": "4e9ac5bd6cd2efd019729a65938cdd37", "score": "0.55233246", "text": "private Pair(U first, V second) {\r\n\t\tthis.first = first;\r\n\t\tthis.second = second;\r\n\t}", "title": "" }, { "docid": "1c0a34b6aa645509d79163878278ae24", "score": "0.5522684", "text": "private static ArrayList<Pacman> getPacmanList(ArrayList<Paired> pairs) {\n\t\tArrayList<Pacman> pacmans = new ArrayList<Pacman>();\n\t\tIterator<Paired> it = pairs.iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tPacman current = it.next().getPackman();\n\t\t\tpacmans.add(current);\n\t\t}\n\t\treturn pacmans;\n\t}", "title": "" }, { "docid": "5ebf0169b2cf51bd24d0ae7e69b7c8b2", "score": "0.5510979", "text": "private static ArrayList<C9114a> m27258a(List<C9114a> list, LinkedList<StreamKey> linkedList) {\n StreamKey streamKey = (StreamKey) linkedList.poll();\n int i = streamKey.f18724c;\n ArrayList<C9114a> arrayList = new ArrayList<>();\n do {\n int i2 = streamKey.f18722U;\n C9114a aVar = (C9114a) list.get(i2);\n List<C9123i> list2 = aVar.f20420c;\n ArrayList arrayList2 = new ArrayList();\n do {\n arrayList2.add((C9123i) list2.get(streamKey.f18723V));\n streamKey = (StreamKey) linkedList.poll();\n if (streamKey.f18724c != i) {\n break;\n }\n } while (streamKey.f18722U == i2);\n C9114a aVar2 = new C9114a(aVar.f20418a, aVar.f20419b, arrayList2, aVar.f20421d, aVar.f20422e);\n arrayList.add(aVar2);\n } while (streamKey.f18724c == i);\n linkedList.addFirst(streamKey);\n return arrayList;\n }", "title": "" }, { "docid": "d566199611dd5dd1b4efa1b05ca1f3fd", "score": "0.5503204", "text": "private static ArrayList<Pair<String, Integer>> getPair(ArrayList<String> classes, HashMap<String, Integer> cycloMethod ) {\n\t\tif (classes.size() < 1)\n\t\t\treturn null;\n\t\t\n\t\tArrayList<Pair<String, Integer>> results = new ArrayList<>();\n\n\t\tfor(String classString : classes ){\n\t\t\tint count = sumClassCyclos(cycloMethod, classString);\n\t\t\tresults.add(new Pair<String,Integer>(classString,count));\n\t\t}\n\t\treturn results;\n\t}", "title": "" }, { "docid": "f75bda864d79c17c0e7d8d6ebfe5622e", "score": "0.5496973", "text": "private void createNewFullTuples(List<List<E>> firstNTupels, int j, List<Boolean> c, int ind,\n\t\t\tList<E> remainingVals) {\n\n\t}", "title": "" }, { "docid": "9c92b683c3e8ee06d98a951a745af5ff", "score": "0.54846835", "text": "public Pair(Object first, Object second) {\r\n\t\tthis.first = first;\r\n\t\tthis.second = second;\r\n\t}", "title": "" }, { "docid": "c6a246a45d2065359c61d90106f5716c", "score": "0.5481284", "text": "private static void m4342a(List list) {\r\n if (list != null && list.size() > 0) {\r\n Object hashMap = new HashMap();\r\n for (int i = 0; i < list.size(); i++) {\r\n ScanResult scanResult = (ScanResult) list.get(i);\r\n if (scanResult.SSID == null) {\r\n scanResult.SSID = \"null\";\r\n }\r\n hashMap.put(Integer.valueOf(scanResult.level), scanResult);\r\n }\r\n TreeMap treeMap = new TreeMap(Collections.reverseOrder());\r\n treeMap.putAll(hashMap);\r\n list.clear();\r\n for (Integer num : treeMap.keySet()) {\r\n list.add(treeMap.get(num));\r\n }\r\n hashMap.clear();\r\n treeMap.clear();\r\n }\r\n }", "title": "" }, { "docid": "5812f0b2dda404c4144a2dc2353c24fa", "score": "0.5473875", "text": "public void bulkPut(List<Pair<KeyImpl, ValueListImpl>> newPairs)\n \t\t\tthrows IOException {\n \n \t\tSortedSet<Pair<KeyImpl, ValueListImpl>> pairs = new TreeSet<Pair<KeyImpl, ValueListImpl>>(\n \t\t\t\tnewPairs);\n \n \t\tfor (Pair<KeyImpl, ValueListImpl> p : pairs) {\n \t\t\tp.getKey().getWriteLock().lock();\n \t\t}\n \t\ttry {\n \t\t\tfor (Pair<KeyImpl, ValueListImpl> p : newPairs) {\n \t\t\t\ttry{\n \t\t\t\t\tboolean containsKey = mappings.containsKey(p.getKey());\n \n \t\t\t\t\tif (containsKey) \n \t\t\t\t\t\tupdate(p.getKey(), p.getValue());\n \t\t\t\t\telse \n \t\t\t\t\t\tinsert(p.getKey(), p.getValue());\n \t\t\t\t} catch (Exception e) {\n \t\t\t\t\te.printStackTrace();\n \t\t\t\t}\n \t\t\t}\n \t\t} finally {\n \t\t\tfor (Pair<KeyImpl, ValueListImpl> p : pairs) {\n \t\t\t\tp.getKey().getWriteLock().unlock();\n \t\t\t}\n \t\t}\n \n \t}", "title": "" }, { "docid": "aaf34fef6c33105135f9c6e28f8ef73a", "score": "0.5400982", "text": "private void createListsAndMaps() {\n\t\t\n\t\tticketCodes = new ArrayList<>();\n\t\tstationMap = new HashMap<>();\n\t\tchangeCash = new HashMap<>();\n\t\tdenominationList = new ArrayList<>();\n\t\t\n\t\tlogger.debug(\"Lists and maps created\");\n\t}", "title": "" }, { "docid": "9415051d51d27e2791ab724e7b4782f9", "score": "0.53974867", "text": "public WordPairList(String[] words)\n {\n ArrayList<WordPair>allPairs = new ArrayList<WordPair>();\n for(int i=0; i<words.length; i++){\n for(int j=i+1; j<words.length; j++){\n allPairs.add(new WordPair(words));\n }\n }\n }", "title": "" }, { "docid": "6ad06303030b2003a48d0376534cd3b4", "score": "0.5396869", "text": "protected abstract Pair<String, String> extractPair(T item);", "title": "" }, { "docid": "0134e0f3a0ebb0693c294fb8f4bec208", "score": "0.53945684", "text": "@Override\n\t\t\t\tpublic Iterator<Tuple2<String, Iterable<Integer>>> call(Iterator<Tuple2<String, Integer>> tuple2Iterator)\n\t\t\t\t\tthrows Exception\n\t\t\t\t{\n\t\t\t\t\tObjectMap<String, List<Integer>> mp = new ObjectMap<>();\n\t\t\t\t\twhile(tuple2Iterator.hasNext())\n\t\t\t\t\t{\n\t\t\t\t\t\tTuple2<String, Integer> tuple2 = tuple2Iterator.next();\n\t\t\t\t\t\tif(mp.containsKey(tuple2._1()))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tmp.get(tuple2._1()).add(tuple2._2());\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tList<Integer> ls = new ArrayList<>();\n\t\t\t\t\t\t\tls.add(tuple2._2());\n\t\t\t\t\t\t\tmp.put(tuple2._1(), ls);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//List<Tuple2<String, Iterable<Integer>>> tps = new ArrayList<>();\n\t\t\t\t\tObjectList<Tuple2<String, Iterable<Integer>>> tps = new ObjectArrayList<>();\n\t\t\t\t\tfor(String key : mp.keys())\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.out.println(key + \" : \" + mp.get(key));\n\t\t\t\t\t\ttps.add(new Tuple2<>(key, (Iterable<Integer>)mp.get(key)));\n\t\t\t\t\t}\n\n\t\t\t\t\treturn tps.iterator();\n\t\t\t\t}", "title": "" }, { "docid": "722f7e93efeab66f4e1f53ade3b68753", "score": "0.5391534", "text": "WhiteBag getPair(){\r\n return pair;\r\n }", "title": "" }, { "docid": "df18db90fe456359af9f87263a8a00d8", "score": "0.5372024", "text": "protected abstract List<List<T>> orderedTuples();", "title": "" }, { "docid": "675f30ff93e8d8deca2493188fef0b49", "score": "0.537188", "text": "private void searchPair(Pair<Integer, Integer> p, int curIndex) {\n numSwaps++;\n int a1 = p.getKey();\n int a2 = p.getValue();\n int pairsearch = a1 % 2 == 0 ? a1 + 1 : a1 - 1;\n int searchIndex = numPairIndexMap.get(pairsearch);\n\n Pair<Integer, Integer> sp = list.get(searchIndex);\n int sa1 = sp.getKey();\n int sa2 = sp.getValue();\n if (sa1 == pairsearch) {\n // we swap the a2 and sa1\n sp = new Pair<>(a2, sa2);\n list.set(curIndex, new Pair<>(a1, sa1));\n list.set(searchIndex, sp);\n } else if (sa2 == pairsearch) {\n sp = new Pair<>(sa1, a2);\n list.set(curIndex, new Pair<>(a1, sa2));\n list.set(searchIndex, sp);\n }\n\n if (!validPair(sp)) {\n searchPair(sp, searchIndex);\n }\n }", "title": "" }, { "docid": "ef3ca479090b7105f1468247075bd8bd", "score": "0.5362775", "text": "public abstract void initList();", "title": "" }, { "docid": "f5351eb523ae22e5ef1c6c29fec58e3c", "score": "0.534402", "text": "@Override\n public Iterator<Pair> iterator()\n {\n return new PairIterator();\n }", "title": "" }, { "docid": "6d12a9155cbb9ed7e05d12ad75a7c31e", "score": "0.53425956", "text": "systems.obscure.client.protos.LocalStorage.Contact.MyHMACPair getMyPairs(int index);", "title": "" }, { "docid": "61312affbe3cedf52dd23a6a1b98971a", "score": "0.53298765", "text": "private void grow() {\r\n\t\tMyHashTable<TKey, TValue> newHashTable = new MyHashTable<TKey, TValue>(\r\n\t\t\t\tslot.length * 2);\r\n\t\tfor (List<KeyValue<TKey, TValue>> element : this.slot) {\r\n\t\t\tif (element != null) {\r\n\t\t\t\tfor (KeyValue<TKey, TValue> keyValue : element) {\r\n\t\t\t\t\tnewHashTable.addOrReplace(keyValue.getKey(),\r\n\t\t\t\t\t\t\tkeyValue.getValue());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.slot = newHashTable.slot;\r\n\t\tthis.count = newHashTable.count;\r\n\r\n\t}", "title": "" }, { "docid": "79267e2d0f8fc72f6007525cf57a1005", "score": "0.53295916", "text": "private void createList(Map<String, Person> list, int objNum) {\n\t\tlogger.info(\"Prepare to add \" + objNum + \" of objects\");\n\t\tstartTime();\n\t\tRandom randomGenerator = new Random();\n\t\tfor (int n = 0; n < objNum; ++n) {\n\t\t\tlist.put(\"k\" + n + randomGenerator.nextInt(1_000_000), new Person());\n\t\t}\n\t\tlogger.info(\"Added \" + objNum + \" of object\");\n\t\tendTime();\n\t\tshowResults();\n\t}", "title": "" }, { "docid": "93437cf4f34d4a3a117f5aafb429149c", "score": "0.5322031", "text": "private static ArrayBasedList<Product> setUp2() {\n\t\tArrayBasedList<Product> plist = new ArrayBasedList<Product>();\n\t\tplist.add(new Product(\"F\",new int[] {4,4,3,4,4,3,4,4,4,4,4,4,4,3,4}));\n\t\tplist.add(new Product(\"AL\",new int[] {2,2,2,2,1,2,2,2}));\n\t\tplist.add(new Product(\"PI\",new int[] {2,2,2,2,2,2,2,2}));\n\t\tplist.add(new Product(\"S\",new int[] {5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5}));\n\t\tplist.add(new Product(\"A\",new int[] {4,4,4,4,4,4,4,4,4,4,4,4,4,4,4}));\n\t\tplist.add(new Product(\"IS\",new int[] {3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3}));\n\t\tplist.add(new Product(\"ID\",new int[] {2,2,2,2,1,1,1,2}));\n\t\tplist.add(new Product(\"U\",new int[] {5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4}));\n\t\tplist.add(new Product(\"IL\",new int[] {3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3}));\n\t\tplist.add(new Product(\"T\",new int[] {3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,2,3,3,2,3,3,3,3}));\n\t\tplist.add(new Product(\"OUS\",new int[] {1,1,1}));\n\t\tplist.add(new Product(\"I\",new int[] {4,4,4,3,4,4,4,4,4,4,4,4,4,3,4}));\n\t\tplist.add(new Product(\"P\",new int[] {5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,4}));\n\t\tplist.add(new Product(\"CI\",new int[] {2,2,1,1,1,1,1,2}));\n\t\tplist.add(new Product(\"EX\",new int[] {3,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3}));\n\t\tplist.add(new Product(\"C\",new int[] {5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,4,4,4,4}));\n\t\tplist.add(new Product(\"O\",new int[] {2,2,1,2,1,1,1,2}));\n\t\tplist.add(new Product(\"E\",new int[] {5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,4,4}));\n\t\tplist.add(new Product(\"G\",new int[] {3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3}));\n\t\tplist.add(new Product(\"R\",new int[] {5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,4,4,4}));\n\t\tplist.add(new Product(\"IC\",new int[] {3,3,3,3,3,3,3,3,2,3,3,3,2,3,3,3,3,2,3,3,2,3,3,3}));\n\t\tplist.add(new Product(\"L\",new int[] {4,4,4,4,4,4,4,4,4,4,4,4,4,3,4}));\n\t\tplist.add(new Product(\"RA\",new int[] {4,4,3,4,4,3,3,4,4,4,4,4,4,3,4}));\n\t\treturn plist;\n\t}", "title": "" }, { "docid": "628441cd5e1282f4d5f027de9d8e4f9d", "score": "0.53083915", "text": "public Pair() {\n\t \tsuper();\n\t \tthis.fila = -1;\n\t \tthis.columna = -1;\n\t }", "title": "" }, { "docid": "f0c014ce995309a4b2852faf924185c3", "score": "0.5304651", "text": "public List<Card> pair(Players player, Table table) {\n List<Card> cardList = cardsInPlay(player, table);\n List<Card> result = new ArrayList<>();\n\n for (int i = 0; i < cardList.size() - 1; i++) {\n Card one = cardList.get(i);\n Card two = cardList.get(i + 1);\n\n if (one.getValue().getValue() == two.getValue().getValue() && !result.contains(one)) {\n result.add(one);\n result.add(two);\n }\n\n }\n\n\n return result;\n\n }", "title": "" }, { "docid": "a0c4ad03067230522b4320f85d61d0f5", "score": "0.5302957", "text": "private void initToFillList() {\n List<Point> swapPoints;\n for (Point square : getAllSquares()) {\n swapPoints = getSquareSwappingPoints(square);\n\n if (swapPoints.size() > 1) {\n squaresToFill.add(square);\n\n Point[] points = new Point[swapPoints.size()];\n\n for (int i=0; i<swapPoints.size(); i++) {\n points[i] = swapPoints.get(i);\n }\n\n squarePointsToSwap.put(square, points);\n }\n }\n }", "title": "" }, { "docid": "6a6b44f97b55fcb7975446b9195af079", "score": "0.5291341", "text": "public List mo76515b(List list, List<SearchHotCommercialData> list2) {\n SearchHotCommercialData searchHotCommercialData;\n if (TextUtils.equals(this.f52120k.name, C6969H.m41409d(\"G618CC1\"))) {\n SearchPresetMessage searchPresetMessage = this.f52121l;\n if (searchPresetMessage != null) {\n list.add(0, searchPresetMessage);\n }\n m73261d(list);\n if (list2 != null && list2.size() > 0 && list.size() >= 8 && (searchHotCommercialData = list2.get(0)) != null) {\n Advert b = AdvertHelper.m54920b(searchHotCommercialData.adJson);\n if (b != null) {\n AdRunTracker.m54888b(b.impressionTracks);\n }\n SearchTopTabsItem buildSearchTopTabsItem = SearchTopTabsItem.buildSearchTopTabsItem(searchHotCommercialData, this.f52120k.name);\n mo76548h().mo76574a(SearchMoreHotWordItem.buildSearchMoreHotWordItem(buildSearchTopTabsItem));\n list.add(7, buildSearchTopTabsItem);\n }\n if (list.size() > 8) {\n list.subList(8, list.size()).clear();\n }\n C14541b bVar = new C14541b();\n this.f52116g = bVar;\n list.add(bVar);\n } else if (list.size() > 8) {\n list.subList(8, list.size()).clear();\n }\n StreamSupport.m150134a(list).mo131135c(new AbstractC32235e() {\n /* class com.zhihu.android.app.search.p1259ui.fragment.$$Lambda$NewSearchTabsItemFragment$OqE3dnt4pvLBa0nhPOflDVh6NfE */\n\n @Override // java8.util.p2234b.AbstractC32235e\n public final void accept(Object obj) {\n NewSearchTabsItemFragment.this.m73255b((NewSearchTabsItemFragment) obj);\n }\n });\n return list;\n }", "title": "" }, { "docid": "695549316a685f56151fbaba0d48d712", "score": "0.5290435", "text": "public static ArrayList<List> findAllPairsInList(List list){\n ArrayList<List> res=new ArrayList<>();\n for(int i=0;i<list.size();i++){\n for(int j=i+1;j<list.size();j++){\n res.add(Arrays.asList(list.get(i),list.get(j)));\n }\n }\n return res;\n }", "title": "" }, { "docid": "dd611abc6442744c123e9c5819274b9a", "score": "0.52707314", "text": "public void initializeList();", "title": "" }, { "docid": "dd611abc6442744c123e9c5819274b9a", "score": "0.52707314", "text": "public void initializeList();", "title": "" }, { "docid": "56e00a384cfa926ba9c7d2c122d4cf28", "score": "0.52675784", "text": "public Pair(Card firstCard, Card secondCard) {\n this.firstCard = firstCard;\n this.secondCard = secondCard;\n }", "title": "" }, { "docid": "9ddf03809ace033131e0d8b44abb4160", "score": "0.52612525", "text": "public static List<List<List<Constants.Dir>>> allPairings(List<List<Constants.Dir>> pairings, int str){\n\t\tList<List<Constants.Dir>> aux = new LinkedList<List<Constants.Dir>>();\n\t\tint size, i=0, total=1;\n\t\ttotal_pairings.add(0, pairings);\n\t\tsize=total_pairings.get(0).size();\n\t\tfor(int j=0;j<str-1;j++){\n\t\t\twhile (i<size){\n\t\t\t\tif((i%2==0) && (total_pairings.get(0).get(i).get(total_pairings.get(0).get(i).size()-2) != Constants.Dir.NONE)){\t\n\t\t\t\t//if(i%2==0){\n\t\t\t\t//\tif(!total_pairings_hash.get(str-2-j).containsKey(total_pairings.get(0).get(i).subList(0,total_pairings.get(0).get(i).size()-1))){\n\t\t\t\t\t\taux.add(total_pairings.get(0).get(i).subList(0,total_pairings.get(0).get(i).size()-1));\n\t\t\t\t\t\ttotal_pairings_hash.get(str-2-j).put(total_pairings.get(0).get(i).subList(0,total_pairings.get(0).get(i).size()-1),total);\n\t\t\t\t\t\ttotal++;\n\t\t\t\t\t}\n\t\t\t\t\t/*if(!total_pairings_hash.get(str-2-j).containsKey(total_pairings.get(0).get(i).subList(1,total_pairings.get(0).get(i).size()))){\n\t\t\t\t\t\taux.add(total_pairings.get(0).get(i).subList(1,total_pairings.get(0).get(i).size()));\n\t\t\t\t\t\ttotal_pairings_hash.get(str-2-j).put(total_pairings.get(0).get(i).subList(1,total_pairings.get(0).get(i).size()),total);\n\t\t\t\t\t\ttotal++;\n\t\t\t\t\t}*/\n\t\t\t\t//}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\ti=0;\n\t\t\ttotal=1;\n\t\t\ttotal_pairings.add(0,aux);\n\t\t\tsize = total_pairings.get(0).size();\n\t\t\taux = null;\n\t\t\taux = new LinkedList<List<Constants.Dir>>();\n\t\t}\n\t\treturn total_pairings;\n\t}", "title": "" }, { "docid": "6a3bbb24fc2591fe855042294c89f2cb", "score": "0.52582324", "text": "protected List<T> createResultList() {\n return new java.util.LinkedList<>();\n }", "title": "" }, { "docid": "003aa82d62551c4e08b2afdd3f3284a1", "score": "0.52571", "text": "ListElement createListElement();", "title": "" }, { "docid": "438fe2b75114e4370897da83d5ebaa9f", "score": "0.5255667", "text": "public Pair(K first, V second) {\n\tthis.first = first;\n\tthis.second = second;\n }", "title": "" }, { "docid": "654662ca7641b61b82010270c3540437", "score": "0.5246634", "text": "public void products(Pair pair) {\n int type = pair.getType();\n int key = pair.getKey();\n long value = pair.getValue();\n List<Price> productionList = PairFactory.getProduction(type, key);\n for (Price production : productionList) {\n Pair pairToProduct = getOrNewPair(production.getType(), production.getKey());\n pairToProduct.add(value * production.getValue());\n }\n }", "title": "" }, { "docid": "0e1e93d261ec07aface694ac5d2dfcfa", "score": "0.5223697", "text": "private List<Pair<ProblemInstanceSeedPair, ParameterConfiguration>> createPairs(Random rand, List<ProblemInstanceSeedPair> selectedPisps,Set<ParameterConfiguration> thetas) {\n\t\tList<Pair<ProblemInstanceSeedPair, ParameterConfiguration>> pispConfigs = new ArrayList<Pair<ProblemInstanceSeedPair, ParameterConfiguration>>(thetas.size() * selectedPisps.size() );\n\t\tfor(ParameterConfiguration config : thetas)\n\t\t{\n\t\t\tfor(ProblemInstanceSeedPair pisp : selectedPisps)\n\t\t\t{\n\t\t\t\tpispConfigs.add(new Pair<ProblemInstanceSeedPair, ParameterConfiguration>(pisp, config));\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.shuffle(pispConfigs,rand);\n\t\treturn pispConfigs;\n\t}", "title": "" }, { "docid": "8684aa9aecae847f67624e2fe20d96b0", "score": "0.52205956", "text": "public void addPair(BasicNameValuePair pair){\r\n\t\tnameValuePairs.add(pair);\r\n\t}", "title": "" }, { "docid": "5eff63693bd6e7dc865762df44d6215d", "score": "0.52178544", "text": "void setPair(WhiteBag pair){\r\n this.pair = pair;\r\n }", "title": "" }, { "docid": "68f220fbdcf99e5d2cf2d08916d6d7a5", "score": "0.52133125", "text": "private static ArrayBasedList<Product> setUp1() {\n\t\tArrayBasedList<Product> plist = new ArrayBasedList<Product>();\n\t\tplist.add(new Product(\"123\",new int[] {1,2,2}));\n\t\tplist.add(new Product(\"345\",new int[] {3,2,3,3,3}));\n\t\tplist.add(new Product(\"4\",new int[] {3,3}));\n\t\tplist.add(new Product(\"2AC\",new int[] {1,1}));\n\t\tplist.add(new Product(\"BC\",new int[] {4,4}));\n\t\tplist.add(new Product(\"CD\",new int[] {5,5,5,5}));\n\t\treturn plist;\n\t}", "title": "" }, { "docid": "2fddbc8046878a4160bf47b68ee0029f", "score": "0.5204332", "text": "private void m100210a(List<C30855a> list, List<C30855a> list2) {\n if (list.size() != list2.size()) {\n C1143a.m5066a(new DiffCallback(list2, list)).mo4548a((C1262a) this);\n }\n }", "title": "" }, { "docid": "84ad4ab3f20dd406df29a2cd98ac5569", "score": "0.5188702", "text": "public KeyValuePairOfStrings getPair() {\n return pair;\n }", "title": "" }, { "docid": "d21481de34f65b0ed9919e976fb6fb20", "score": "0.5177698", "text": "private TwoNodePairs calculateMDL(TwoNodePairs twoNodePairs) {\n return new TwoNodePairs();\n }", "title": "" }, { "docid": "11a3b72b23424afd0f744eaf94558b35", "score": "0.5174637", "text": "public static ListNode swapPairs(ListNode head) {\n if (head == null || head.next == null) {\n return head;\n }\n\n ListNode result = null;\n ListNode node = head;\n\n while (node != null) {\n if (node.next == null) {\n ListNode nodeResult = result;\n while (nodeResult.next != null) {\n nodeResult = nodeResult.next;\n }\n nodeResult.next = new ListNode(node.val);\n } else {\n ListNode nodeNext = node.next;\n node.next = nodeNext.next;\n nodeNext.next = node;\n\n for (int i = 1; i <= 2; i++) {\n if (result == null) {\n result = new ListNode(nodeNext.val);\n } else {\n ListNode nodeResult = result;\n while (nodeResult.next != null) {\n nodeResult = nodeResult.next;\n }\n nodeResult.next = new ListNode(nodeNext.val);\n }\n nodeNext = nodeNext.next;\n }\n }\n\n node = node.next;\n }\n return result;\n }", "title": "" }, { "docid": "2d36d3b92190acf0e54394e59456ed1a", "score": "0.51738167", "text": "public static void main (String[] args){\r\n\r\n List<Tuple> testTuples = new ArrayList<>();\r\n\r\n TupleSpace bts = new BasicTupleSpace(TUPLE_SPACE_SIZE);\r\n TupleSpace tts = new TrieTupleSpace(TUPLE_SPACE_SIZE);\r\n\r\n long startTime;\r\n long endTime;\r\n\r\n\r\n //creates a set of random tuples\r\n for(int i = 0; i <TEST_COUNT; i++){\r\n testTuples.add(createRandomTuple());\r\n }\r\n\r\n\r\n\r\n //adds random tuples to BasicTupleSpace\r\n startTime = System.currentTimeMillis();\r\n for(int i = 0; i < TEST_COUNT; i++){\r\n bts.add(testTuples.get(i));\r\n }\r\n endTime = System.currentTimeMillis();\r\n System.out.println(\"BasicTupleSpace added \" + TEST_COUNT + \" tuples in \"\r\n + (endTime - startTime) + \" milliseconds.\\n\");\r\n\r\n\r\n\r\n //adds random tuples to TrieTupleSpace\r\n startTime = System.currentTimeMillis();\r\n for(int i = 0; i < TEST_COUNT; i++){\r\n tts.add(testTuples.get(i));\r\n }\r\n endTime = System.currentTimeMillis();\r\n System.out.println(\"TrieTupleSpace added \" + TEST_COUNT + \" tuples in \"\r\n + (endTime - startTime) + \" milliseconds.\\n\");\r\n\r\n\r\n\r\n //removes all the tuples previously added to BasicTupleSpace\r\n startTime = System.currentTimeMillis();\r\n for(int i = 0; i < TEST_COUNT; i++){\r\n bts.remove(testTuples.get(i).convertToObjArr());\r\n }\r\n endTime = System.currentTimeMillis();\r\n System.out.println(\"BasicTupleSpace removed \" + TEST_COUNT + \" tuples\" +\r\n \" in \" + (endTime - startTime) + \" milliseconds.\\n\");\r\n\r\n\r\n\r\n //removes all the tuples previously added to TrieTupleSpace\r\n startTime = System.currentTimeMillis();\r\n for(int i = 0; i < TEST_COUNT; i++){\r\n tts.remove(testTuples.get(i).convertToObjArr());\r\n }\r\n endTime = System.currentTimeMillis();\r\n System.out.println(\"TrieTupleSpace removed \" + TEST_COUNT + \" tuples\" +\r\n \" in \" + (endTime - startTime) + \" milliseconds.\\n\");\r\n\r\n\r\n }", "title": "" }, { "docid": "1bf6c5ffc1dc0d046ae70f12f6fd1cb4", "score": "0.5163928", "text": "public Pairs(String[][] pairs)\n {\n this.pairs = pairs;\n }", "title": "" }, { "docid": "6a334bcb0451978517f83176a578649f", "score": "0.51606625", "text": "private static void m81887b(java.util.List<? extends com.p280ss.android.ugc.aweme.feed.model.Aweme> r12) {\n /*\n if (r12 == 0) goto L_0x0079\n java.lang.Iterable r12 = (java.lang.Iterable) r12\n java.util.ArrayList r0 = new java.util.ArrayList\n r0.<init>()\n java.util.Collection r0 = (java.util.Collection) r0\n java.util.Iterator r12 = r12.iterator()\n L_0x000f:\n boolean r1 = r12.hasNext()\n r2 = 0\n if (r1 == 0) goto L_0x0038\n java.lang.Object r1 = r12.next()\n r3 = r1\n com.ss.android.ugc.aweme.feed.model.Aweme r3 = (com.p280ss.android.ugc.aweme.feed.model.Aweme) r3\n boolean r4 = r3.isAd()\n if (r4 == 0) goto L_0x0031\n com.ss.android.ugc.aweme.feed.model.AwemeRawAd r3 = r3.getAwemeRawAd()\n if (r3 == 0) goto L_0x002d\n java.util.Map r2 = r3.getCardInfos()\n L_0x002d:\n if (r2 == 0) goto L_0x0031\n r2 = 1\n goto L_0x0032\n L_0x0031:\n r2 = 0\n L_0x0032:\n if (r2 == 0) goto L_0x000f\n r0.add(r1)\n goto L_0x000f\n L_0x0038:\n java.util.List r0 = (java.util.List) r0\n java.lang.Iterable r0 = (java.lang.Iterable) r0\n java.util.Iterator r12 = r0.iterator()\n L_0x0040:\n boolean r0 = r12.hasNext()\n if (r0 == 0) goto L_0x0078\n java.lang.Object r0 = r12.next()\n com.ss.android.ugc.aweme.feed.model.Aweme r0 = (com.p280ss.android.ugc.aweme.feed.model.Aweme) r0\n com.ss.android.ugc.aweme.commercialize.log.c r3 = f65801b\n java.lang.String r4 = \"card\"\n java.lang.String r5 = \"data_received\"\n com.ss.android.ugc.aweme.feed.model.AwemeRawAd r1 = r0.getAwemeRawAd()\n if (r1 == 0) goto L_0x005e\n java.lang.Long r1 = r1.getCreativeId()\n r6 = r1\n goto L_0x005f\n L_0x005e:\n r6 = r2\n L_0x005f:\n com.ss.android.ugc.aweme.feed.model.AwemeRawAd r1 = r0.getAwemeRawAd()\n if (r1 == 0) goto L_0x006b\n java.lang.String r1 = r1.getLogExtra()\n r7 = r1\n goto L_0x006c\n L_0x006b:\n r7 = r2\n L_0x006c:\n java.lang.String r8 = r0.getAid()\n r9 = 0\n r10 = 32\n r11 = 0\n r3.m81883a(r4, r5, r6, r7, r8, -1)\n goto L_0x0040\n L_0x0078:\n return\n L_0x0079:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.commercialize.log.C24952c.m81887b(java.util.List):void\");\n }", "title": "" }, { "docid": "42b0430d5c4fc82e4901cfbd139ac270", "score": "0.51565194", "text": "public Pair add(Pair toAdd){\n\treturn new Pair(x + toAdd.x, y + toAdd.y);\n }", "title": "" }, { "docid": "13beb2aa7a64a7770e9d4cc492b79743", "score": "0.51534843", "text": "private void reAssignPairingStatus(List<HtmlObjects.HtmlElement> tags)\n {\n clearPairingStatus(tags);\n assignPairingStatus(tags);\n }", "title": "" }, { "docid": "df9af80b90abd33487cc83a5fd6bcda0", "score": "0.5151585", "text": "public static void doubleFirst(ListNode list)\n {\n ListNode secondNode = new ListNode(list.getValue(), list.getNext());\n list.setNext(secondNode);\n }", "title": "" }, { "docid": "1fdecc46b80f695af5640500332239f1", "score": "0.5151106", "text": "private List<Pair<String, String>> makeAllPairs(Set<String> docs, String query, Map<String, Map<String, Double>> relMap) {\n\t List<String> docList = new ArrayList<String>(docs);\n\t List<Pair<String, String>> allPairs = new ArrayList<Pair<String,String>>();\n\t \n\t for (int i = 0; i < docList.size(); i++) {\n\t\t for (int j = i + 1; j < docList.size(); j++) {\n\t\t\t String firstDoc = docList.get(i);\n\t\t\t String secondDoc = docList.get(j);\n\t\t\t if (relMap.get(query).get(firstDoc) != relMap.get(query).get(secondDoc)) {\n\t\t\t\t Pair<String, String> docPair = new Pair<String, String>(firstDoc, secondDoc);\n\t\t\t\t allPairs.add(docPair);\n\t\t\t }\n\t\t }\n\t }\n\t \n\t return allPairs;\n }", "title": "" }, { "docid": "045720705603dac5867f07c0b6801a42", "score": "0.5145432", "text": "public List<Pair<Pair<String, String>, String>> forwardChaining(List<Element> kb) throws IOException {\n List<Pair<Pair<String,String>,String>> fL =new ArrayList<>(); //holds final resolvents\n HashMap<String,Boolean> kbMap = new HashMap<>();\n for(int i=0;i<kb.size();i++){\n String str = elementAsString(kb.get(i));\n if(!kbMap.containsKey(str))\n kbMap.put(str,true);\n }\n\n List<Element> l1 = new ArrayList<>();\n for(int i=0;i<kb.size()-1;i++){\n for(int j=i+1;j<kb.size();j++) {\n Resolution res = new Resolution(kb.get(i).clone(), kb.get(j).clone());\n if(res.resolve()){\n if(res.nullFound()){\n fL.add(new Pair<>(new Pair<>(elementAsString(kb.get(i)),elementAsString(kb.get(j))),\n \"Null\"));\n System.out.println(l1.size() + \" new clauses\");\n System.out.println(\"Null clause found while resolving\");\n return fL;\n }else{\n Element e = res.getFinalResolved();\n if(!kbMap.containsKey(elementAsString(e))) {\n fL.add(new Pair<>(new Pair<>(elementAsString(kb.get(i)),elementAsString(kb.get(j))),\n elementAsString(e)));\n l1.add(e);\n kbMap.put(elementAsString(e),true);\n }\n }\n }\n }\n }\n\n System.out.println(l1.size()+\" new clauses\");\n\n List<Element> l2 = new ArrayList<>();\n while (true){\n for(int i=0;i<kb.size();i++){\n for(int j=0;j<l1.size();j++) {\n Resolution res = new Resolution(kb.get(i).clone(), l1.get(j).clone());\n if(res.resolve()){\n if(res.nullFound()){\n fL.add(new Pair<>(new Pair<>(elementAsString(kb.get(i)),elementAsString(l1.get(j))),\n \"Null\"));\n System.out.println(l2.size() + \" new clauses\");\n System.out.println(\"Null clause found while resolving\");\n return fL;\n }else{\n Element e = res.getFinalResolved();\n if(!kbMap.containsKey(elementAsString(e))) {\n fL.add(new Pair<>(new Pair<>(elementAsString(kb.get(i)),elementAsString(l1.get(j))),\n elementAsString(e)));\n l2.add(e);\n kbMap.put(elementAsString(e),true);\n }\n }\n }\n }\n }\n\n System.out.println(l2.size()+\" new clauses\");\n\n if(l2.size()==0){\n System.out.println(\"Can't predict\");\n return fL;\n }else {\n for(int i=0;i<l1.size();i++){\n kb.add(l1.get(i).clone());\n }\n\n l1= new ArrayList<>();\n for(int i=0;i<l2.size();i++){\n l1.add(l2.get(i).clone());\n }\n l2 = new ArrayList<>();\n }\n }\n }", "title": "" }, { "docid": "2e2a350c9a24522865fa03975498f7a1", "score": "0.5139921", "text": "ValuePair createValuePair();", "title": "" }, { "docid": "13bb780b34ef0284b6d2a6ca46a98bad", "score": "0.513753", "text": "public final List cdr()\n\t{\n\t\tList l = newList();\n\t\tif (!isPair())\n\t\t\tthrow new java.util.NoSuchElementException(\"list is not a pair\");\n\t\tl.head.next = head.next.next;\n\t\tl.tail = tail;\n\t\tl.length = length - 1;\n\t\treturn l;\n\t}", "title": "" }, { "docid": "e09c53cee9f052a03d49cbc74ad9a25b", "score": "0.5135948", "text": "List<T> prepareList();", "title": "" }, { "docid": "614bb3046133a9bc52c0895b88b7e8de", "score": "0.5130903", "text": "Pair<List<AnalyzePair>, AnalyzeResult> extractPushdownPairs(String alias, boolean isNullAllowed)\r\n {\r\n if (pairs.isEmpty())\r\n {\r\n return Pair.of(emptyList(), this);\r\n }\r\n\r\n int size = pairs.size();\r\n List<AnalyzePair> leftovers = new ArrayList<>(size);\r\n List<AnalyzePair> pushdowns = new ArrayList<>(size);\r\n for (int i = 0; i < size; i++)\r\n {\r\n AnalyzePair pair = pairs.get(i);\r\n if (pair.isPushdown(alias)\r\n && (isNullAllowed\r\n || pair.getType() != Type.NULL))\r\n {\r\n pushdowns.add(pair);\r\n }\r\n else\r\n {\r\n leftovers.add(pair);\r\n }\r\n }\r\n\r\n return Pair.of(pushdowns, new AnalyzeResult(leftovers));\r\n }", "title": "" }, { "docid": "7982b29138c3b15e185e57288045d6bc", "score": "0.5130612", "text": "void refill() {\r\n synchronized(getPair()){\r\n getPebbles().addAll(getPair().getPebbles()); //Add all pair's pebbles.\r\n getPair().clear(); //Remove all pebbles from pair bag.\r\n }\r\n }", "title": "" }, { "docid": "1a91e34eccf2f7693a8cdee97f26b9f7", "score": "0.5123199", "text": "@Override\n\tpublic Tuple next(){\n\t\t//Delete the lines below and add your code here\n\t\tif(i < tuplelist.size()){\n\t\t\ttuple = tuplelist.get(i);\n\t\t\ti++;\n\t\t\treturn tuple;\n\t\t}\n\t\telse{\n\t\t\treturn null;\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "f263f9455bbbcae21b3190d169e9f3ff", "score": "0.5118181", "text": "private static void removeduplicates2Pointers(LinkedListNew list){\n\t\tNode fastPointer;\n\t\tfor(Node slowPointer = list.head; slowPointer!=null; slowPointer=slowPointer.next){\n\t\t\tfor(fastPointer=slowPointer; fastPointer!=null && fastPointer.next!=null; fastPointer=fastPointer.next){\t//also check fastPointer itself isn't null in case it's the last thing removed & next doesn't exist\n\t\t\t\tif(slowPointer.data==fastPointer.next.data){\n\t\t\t\t\tfastPointer.next = fastPointer.next.next;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c32958703a567d0a9de4bdd585cdad90", "score": "0.51170653", "text": "ArrayList<Integer> S2S(ArrayList<Integer> S1, ArrayList<Integer> S2){\n //Making copies of everything\n LinkedList<Edge>[] listCopy = adjacencyList.clone();\n HashMap<String, Integer> placeCopy = new HashMap<String, Integer>(placement);\n HashMap<String, Integer> vertexCopy = new HashMap<String, Integer>(vertices);\n\n //Adjust the numVertices\n int numV = numVertices + 2;\n\n //dummyA\n Point dummyA = new Point(Integer.MAX_VALUE, Integer.MAX_VALUE);\n String dA = PointToString(dummyA);\n //dummyB\n Point dummyB = new Point(Integer.MAX_VALUE + 1, Integer.MAX_VALUE + 1);\n String dB = PointToString(dummyB);\n //Adjust placeCount\n placeCopy.put(dA, placeCount);\n\n //Add to HashSets with dummy nodes\n for(int i = 0; i < S1.size(); i = i + 2){\n Edge edge = new Edge(dummyA, new Point(S1.get(i), S1.get(i + 1)), 0);\n listCopy = Arrays.copyOf(listCopy, listCopy.length + 1);\n listCopy[listCopy.length - 1] = new LinkedList<>();\n listCopy[placeCopy.get(dA)].addFirst(edge);\n }\n for(int i = 0; i < S2.size(); i = i + 2){\n Edge edge = new Edge(new Point(S2.get(i), S2.get(i + 1)), dummyB, 0);\n String stringPoint = Integer.toString(S2.get(i)) + \",\" + Integer.toString(S2.get(i + 1));\n if(!placeCopy.containsKey(stringPoint)) {\n placeCopy.put(stringPoint, placeCount + 1);\n }\n listCopy[placeCopy.get(stringPoint)].addFirst(edge);\n }\n\n\n\n //Add dummyNodes to vertex list\n vertexCopy.put(dA, vCount);\n vertexCopy.put(dB, vCount + 1);\n\n // A path between a start and end node\n ArrayList<Integer> [] path = new ArrayList[numV];\n\n Point end = dummyB; // Point end\n String endString = dB; // String end\n\n // Checks for visited\n HashSet<String> SPT = new HashSet<String>();\n\n // Distance used to store the distance of vertex from a source\n int [] distance = new int[numV];\n\n // Initialize all the distance to infinity\n for (int i = 0; i < numV; i++) {\n distance[i] = Integer.MAX_VALUE;\n path[i] = new ArrayList<Integer>();\n }\n\n // The min heap\n MinHeap minheap = new MinHeap();\n\n // Create the pair for for the first index, 0 distance 0 index\n distance[0] = 0;\n\n //Create the path for the first index, source point\n path[0].add(dummyA.x);\n path[0].add(dummyA.y);\n\n // Adding the start node to the heap\n minheap.add(dummyA, 0);\n\n // Rearrange the source vertex to be in the front of the vertices\n if(!vertexCopy.get(dA).equals(0)){\n int replaceKey = vertexCopy.get(dA); //Get the value of the source\n vertexCopy.replace(dA, 0); //Set the source value to 0\n vertexCopy.replace(firstVertex, replaceKey); //Swap for the old source's vertex\n }\n\n //helper method for finding the shortest path\n ArrayList<Integer> returnedPath = findSP(path, end, SPT, distance, minheap, listCopy, placeCopy, vertexCopy, endString);\n //TEST TEST TEST DELETE BEFORE TURNING IN PLEASE\n // Find the total cost of the end point\n int sEnd = distance[vertexCopy.get(endString)];\n // Find the smallest path using sEnd as key\n System.out.println(\"Shortest weight: \" + sEnd);\n //END OF TEST\n\n if(returnedPath.isEmpty()){\n return returnedPath;\n }\n //remove dummy node A and B\n returnedPath.remove(0);\n returnedPath.remove(0);\n returnedPath.remove(returnedPath.size() - 1);\n returnedPath.remove(returnedPath.size() - 1);\n return returnedPath;\n }", "title": "" }, { "docid": "39a37b534228b6d145c12247cb80944f", "score": "0.51160526", "text": "public /* synthetic */ AudioDataSource m115723a(SongList songList, Pair pair) throws Exception {\n AudioSource audioSource = (AudioSource) pair.first;\n QualityUrl qualityUrl = (QualityUrl) pair.second;\n AudioDataSource aVar = new AudioDataSource(qualityUrl.url, audioSource.f82831id, qualityUrl.quality, C6969H.m41409d(\"G688FD612BA3DB2\"), m115725a(songList));\n aVar.mo56168a(audioSource.position);\n return aVar;\n }", "title": "" }, { "docid": "930412dd0df7b1873884b6110036dd17", "score": "0.51101977", "text": "public static void main(String[] args) {\n\r\n\t\tListNode first=new ListNode(1);\r\n\t\tListNode second=new ListNode(2);\r\n\t\tfirst.next=second;;\r\n\r\n\t\tSystem.out.println(swapPairs(first));\r\n\t}", "title": "" }, { "docid": "a8fbad3030b4ce6a12fe45ba54c0cb90", "score": "0.51024115", "text": "public ListNode swapPairs(ListNode head) {\n return swapPairsByRecursion(head); // Recursive, O(N) space\n }", "title": "" }, { "docid": "7c587bb1e2d8c850e234922af52b22e7", "score": "0.5101841", "text": "public Pair(S x, T y) { \n this.x = x;\n this.y = y;\n }", "title": "" }, { "docid": "2199ad4436ac0cd6a6004e149b828ec4", "score": "0.50891405", "text": "@SuppressWarnings(\"unchecked\")\n private void initAdjList() {\n adjListForward = new ArrayList[numberOfVertices];\n adjListBackward = new ArrayList[numberOfVertices];\n\n for (int i = 0; i < numberOfVertices; i++) {\n adjListForward[i] = new ArrayList<>();\n adjListBackward[i] = new ArrayList<>();\n }\n }", "title": "" }, { "docid": "332151f130de4017816cb229c0a7af0e", "score": "0.50861996", "text": "private ListNode swapPairsByRecursion(ListNode head){\n return swap(head);\n }", "title": "" }, { "docid": "42a15957a6ad76cdd845c98d13ceaab2", "score": "0.50855166", "text": "public static void initPinpoints(ArrayList<Pair<MyDate, Town>> lifespanPairsList, Person person) {\n Boolean directAncestor = person.isDirectAncestor();\n String fullName = person.getFullName();\n if (lifespanPairsList.size() >= 1) {\n if (lifespanPairsList.size() == 1) {\n Pinpoint pinPoint =\n new Pinpoint(lifespanPairsList.get(0).getValue(), fullName, person.getAgeWithoutMonths(lifespanPairsList.get(0).getKey().getDate(), 0));\n addPinpoint(lifespanPairsList.get(0).getKey().getYear(), pinPoint, directAncestor);\n } else {\n for (int i = 0; i < lifespanPairsList.size() - 1; i++) {\n int startYear = (int) lifespanPairsList.get(i).getKey().getYear();\n int endYear = (int) lifespanPairsList.get(i + 1).getKey().getYear();\n int index = 0;\n for (int k = startYear; k < endYear; k++) {\n Pinpoint pinPoint =\n new Pinpoint(lifespanPairsList.get(i).getValue(), fullName, person.getAgeWithoutMonths(lifespanPairsList.get(i).getKey().getDate(), index));\n addPinpoint(k, pinPoint, directAncestor);\n index++;\n }\n }\n LocalDate lastDate = lifespanPairsList.get(lifespanPairsList.size() - 1).getKey().getDate();\n Pinpoint pinPoint =\n new Pinpoint(lifespanPairsList.get(lifespanPairsList.size() - 1).getValue(), fullName, person.getAgeWithMonths(lastDate, 0));\n\n addPinpoint(lifespanPairsList.get(lifespanPairsList.size() - 1).getKey().getYear(), pinPoint, directAncestor);\n }\n }\n }", "title": "" }, { "docid": "db5be0873a5f7dd7601a57386f61d423", "score": "0.50778806", "text": "private Stream<Pair<IK, List<IV>>> combine(Stream<Pair<IK, IV>> l){\n Supplier<TreeMap<IK, List<IV>>> makeTreeMap = () -> new TreeMap<>(this::compare);\n return l.collect(\n makeTreeMap,\n (map, it) -> {\n // If map dont contains key create the list\n if (!map.containsKey(it.getKey()))\n map.put(it.getKey(), new ArrayList<>());\n\n // Put value in the corresponding list\n map.get(it.getKey()).add(it.getValue());\n },\n (m1, m2) -> m2.forEach((k, v) -> {\n // If m1 dont contains k create the list\n if (!m1.containsKey(k))\n m1.put(k, new ArrayList<>());\n\n // Merge the two lists\n m1.get(k).addAll(v);\n })\n )\n .entrySet()\n .parallelStream()\n .map(entry -> new Pair<>(entry.getKey(), entry.getValue()));\n\n /*Stream<Pair<IK, List<IV>>> res= Stream.<Pair<IK, List<IV>>>builder().build();\n\n Iterator<Pair<IK, IV>> it=l.sorted((p1, p2) -> compare(p1.getKey(), p2.getKey()))\n .sequential().iterator();\n Pair<IK, IV> last=it.next();\n Pair<IK, ArrayList<IV>> acc=new Pair<>(last.getKey(), new ArrayList<>(Collections.singletonList(last.getValue())));\n do {\n Pair<IK, IV> curr=it.next();\n if(compare(curr.getKey(), last.getKey())==0){\n acc.getValue().add(curr.getValue());\n }\n else{\n res=Stream.concat(res, Stream.of(new Pair<>(acc.getKey(), acc.getValue())));\n acc=new Pair<>(curr.getKey(), new ArrayList<>(Collections.singletonList(last.getValue())));\n }\n last=curr;\n }while(it.hasNext());\n res=Stream.concat(res, Stream.of(new Pair<>(acc.getKey(), acc.getValue())));\n return res;*/\n }", "title": "" }, { "docid": "1c59d3f7ac97e9f19c4fcc78ba34e22f", "score": "0.5075178", "text": "protected ArrayList<String> getKeyPairs() {\n\t\tArrayList<String> temp = new ArrayList<>();\n\t\tfor (int i = 0; i < keys.size(); i++) {\n\t\t\tString first = keys.get(i);\n\t\t\tfor (int j = i + 1; j < keys.size(); j++) {\n\t\t\t\tString second = keys.get(j);\n\t\t\t\tString keypair = first + \"-\" + second;\n\t\t\t\ttemp.add(keypair);\n\t\t\t}\n\t\t}\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "dba0ebd7d1a4455586674600c22e36e6", "score": "0.5068462", "text": "private ArrayList<Object> tri(ArrayList<Object> values) {\n\t\treturn values;\n\t}", "title": "" }, { "docid": "6de7ca47eee0ebf4a420ffc858c42ebb", "score": "0.50641567", "text": "public static <S, T> List<T> projectSecond(final List<Pair<S, T>> list) {\n return list.stream()\n .map(Pair::second)\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "661fc807e4e984f7eb2ac1da5e8d55bd", "score": "0.5063577", "text": "private void setList(){\n }", "title": "" }, { "docid": "1862d24313b7d43c548513fd80d00119", "score": "0.50611824", "text": "private void createList() {\n Set<Map.Entry<Short, String>> set = map.entrySet();\n HashMap<Short, Integer> idMappedToColumn = new HashMap<>(12);\n for (Map.Entry<Short, String> entry : set) {\n if (!idMappedToColumn.containsKey(entry.getKey())) {\n idMappedToColumn.put(entry.getKey(), idMappedToColumn.size());\n values.add(new ArrayList<>(12));\n values.get(idMappedToColumn.get(entry.getKey())).add(entry.getKey().toString());\n }\n values.get(idMappedToColumn.get(entry.getKey())).add(entry.getValue());\n }\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "87e739ee50fca55242c84423f153bac1", "score": "0.0", "text": "@Override\n\t\t\t\t\tpublic void onCompletion(MediaPlayer mp) {\n\t\t\t\t\t\tplayer.stop();\n\t\t\t\t\t\tplayer.release();\n\t\t\t\t\t\tplayer = null;\n\t\t\t\t\t}", "title": "" } ]
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" }, { "docid": "651ef6275f1a33ed6582a1599cab78d2", "score": "0.66211534", "text": "@Override\n\tpublic void bekle() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "c56ced5e9768caa7a88a0e86dc1d02eb", "score": "0.6557507", "text": "@Override\n\tpublic void pintate() {\n\t\t\n\t}", "title": "" }, { "docid": "534c466f09845319b9edaf959a891c09", "score": "0.6546559", "text": "@Override\r\n\tpublic void debriyaj() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.6362821", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.62550694", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "761f5db0b07474bff2090f23a6693efb", "score": "0.6211042", "text": "private void Prodto() {\n\n\t}", "title": "" }, { "docid": "74578344538dd194907dffc0406cacac", "score": "0.6166714", "text": "@Override\n public void suicide() {\n \n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.6153736", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "db51ad8e6f15ad35a767d84e1e1eda68", "score": "0.61275035", "text": "@Override\n\t\t\tpublic void cry() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e24a2515146ce17481b567e14f6d3258", "score": "0.6075012", "text": "public void retrievecart() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "fba36b6a112c0dbc3dd5aa61fe730a40", "score": "0.60609394", "text": "@Override\n\tpublic void subir() {\n\t\t\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.605578", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "280c1f1bfe3582788f566eafe40085dd", "score": "0.60448366", "text": "@Override\n \tpublic void init() {\n \t\t\n \t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "2ba22ff158b6e941041f9460eddd0944", "score": "0.5991409", "text": "@Override\n public void operation() {\n \n }", "title": "" }, { "docid": "afc2a2ef708681a23da24526386fa543", "score": "0.5979341", "text": "@Override\r\n\tpublic void demo4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "951638c11e887c3f81bcc83306f4e413", "score": "0.5957303", "text": "@Override\r\n\tpublic void trunon() {\n\r\n\t}", "title": "" }, { "docid": "03a6fa2a6dc40f30e9f67797ea87ac0e", "score": "0.5950196", "text": "@Override\n\tvoid generate() {\n\t\t\n\t}", "title": "" }, { "docid": "86b315eabc97abef1ea325b454b16656", "score": "0.5934478", "text": "@Override\n\tpublic void veneno() {\n\t\t\n\t}", "title": "" }, { "docid": "4f4340003331db95a2feee0084056a02", "score": "0.59033096", "text": "@Override\n\tprotected void inicializar() {\n\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58815277", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "a6c80a6456cfc74acaa16a2f9c3063c5", "score": "0.5881057", "text": "@Override\n\t\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "bf75e876384ccbd3516440064d914edb", "score": "0.585407", "text": "@Override\r\n\t\t\tpublic void process() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "22f2421f5b9cc11d1699c42857b4dfe9", "score": "0.5850562", "text": "protected void mo1582st() {\n }", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.58336115", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "d07c1f5c9d405e36c1ebf9e7e586652e", "score": "0.5830177", "text": "private Solution() {\n /** Not using this function**/\n }", "title": "" }, { "docid": "fab6f4103beb4667b90da1eb3672a4fa", "score": "0.5821835", "text": "@Override\n\tprotected void update() {\n\n\t}", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.58195674", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "4112f041d618773e927eaf69a897467b", "score": "0.5817743", "text": "@Override\r\n\tpublic void tempup() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "8d9539007d174aa71cae3fdbfe4952c6", "score": "0.5801801", "text": "@Override \n\tpublic void init() {\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "5243b8d363dba36edfd9e64eb96cc9d5", "score": "0.57880706", "text": "@Override\n public int getStatus() {\n return 0;\n }", "title": "" }, { "docid": "b096eae650ba80789eb6446d859169a3", "score": "0.5776792", "text": "protected void mo1586sx() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "17cb0676e79dae45623dcbdd6cf2af58", "score": "0.5773822", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c897821a3b00faa6e582b1c5bd5b3c6", "score": "0.57677484", "text": "@Override\r\n\tpublic void direksiyon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "81ea0647fff57e17ec5107049b4dbf8b", "score": "0.57594514", "text": "@Override\n public int size() {\n return 1;\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5755988", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1985dddb6264adc2fb069a687b25f36b", "score": "0.57541007", "text": "@Override\n\tpublic void groom() {\n\t\t\n\t}", "title": "" }, { "docid": "33572cd017818797318a53dbacbc00b9", "score": "0.57530975", "text": "@Override\r\n\t\t\tpublic void initialize() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.57492036", "text": "@Override\n public int getType() {\n return 0;\n }", "title": "" }, { "docid": "b6c53604ad2f38e9cacf958a442de4cf", "score": "0.57409", "text": "@Override\n\tprotected void initAfterData() {\n\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5736822", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4f5334e4c63e1b16e38cf957e8576a25", "score": "0.5735921", "text": "@Override\n\tpublic void getHaned() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.57304126", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "ba3ff1d644c6b502f46e78f3112e984c", "score": "0.57151", "text": "@Override\r\n\tpublic void toss() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57141805", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "20aa3abef3af4ea8bcf5e834227be04c", "score": "0.57137775", "text": "@Override\n\tpublic void Pessoa() {\n\t\t\n\t}", "title": "" }, { "docid": "6894ea3aa25d3dee3c3dd8331b9a9cdd", "score": "0.57120746", "text": "@Override\n\t public int correr() {\n\t return 7;\n\t }", "title": "" }, { "docid": "d7405dbb7f385c28de1f97859172342b", "score": "0.5705621", "text": "@Override\n\tpublic void affiche() {\n\t}", "title": "" }, { "docid": "f9fa4d6203b441d4a00a824c3219ddb2", "score": "0.5704342", "text": "@Override\n\tprotected void doOperate() {\n\n\t}", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "2d9072b54f55f18557f92b99be58ec2f", "score": "0.56886935", "text": "@Override\r\n public String toString() {\n\treturn null;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "af5603f291fb4fc9dd83e46e0602225b", "score": "0.56868714", "text": "@Override\r\n\tpublic void demo3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.56740177", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "e8efac2ee01f452014413fb75d28b3a6", "score": "0.5659524", "text": "@Override\r\n\tpublic void initState() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1857996533d34551ac38dd34ec5213a3", "score": "0.56573755", "text": "public void koniecReplikacie() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "6a9d46d92905c2a7a7d34f74e3b12f1c", "score": "0.0", "text": "public void mo16471b(long j) {\n this.f12225W = j;\n mo16468a();\n }", "title": "" } ]
[ { "docid": "766e301e8dc7e4511944d940d8dac585", "score": "0.64016145", "text": "public abstract ac.a b(b bVar);", "title": "" }, { "docid": "8f7b92e980c7d36e9101eb564bcd86fe", "score": "0.6366928", "text": "A convertFrom(B b);", "title": "" }, { "docid": "da0c4ac2bb0ebbc548180f9ebaee4c39", "score": "0.62674177", "text": "@Override\n\tpublic void b() {\n\t\t\n\t}", "title": "" }, { "docid": "da0c4ac2bb0ebbc548180f9ebaee4c39", "score": "0.62674177", "text": "@Override\n\tpublic void b() {\n\t\t\n\t}", "title": "" }, { "docid": "6465bf70f74399f7731386a7f8a7b9b1", "score": "0.61081207", "text": "@Override\n public void b() {\n\n }", "title": "" }, { "docid": "b852bf8e0cad2464c6d1417596a82aaa", "score": "0.6077849", "text": "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "title": "" }, { "docid": "d175db45e26a6e27e77d2041a81f5aae", "score": "0.6071731", "text": "public abstract T zzl(B b);", "title": "" }, { "docid": "979b4a14800885bf0fff96a1c5c7783e", "score": "0.60533005", "text": "public interface C27172a {\n /* renamed from: b */\n void mo6249b(C42591a c42591a);\n }", "title": "" }, { "docid": "cd3fb1701a73fe472306c42443bf6333", "score": "0.5963423", "text": "interface C11188a {\n /* renamed from: b */\n void mo27179b();\n }", "title": "" }, { "docid": "626151e1075bb5efa038084222595ccd", "score": "0.5958079", "text": "void b() {}", "title": "" }, { "docid": "095a7bae5fb0aa32679a4fe5cbbafb57", "score": "0.5921405", "text": "b(int i, String str) {\n this.a = i;\n this.b = str;\n }", "title": "" }, { "docid": "28a03acf4aa37f5c202b7b835dcb5492", "score": "0.58954996", "text": "public interface C18542a {\n /* renamed from: b */\n void mo33793b(C26365c c26365c, C45423h c45423h);\n }", "title": "" }, { "docid": "5dad1f3b562e1e57be395ca4ee6e0b9e", "score": "0.58868414", "text": "public by b() {\n return a(this.a, this.b);\n }", "title": "" }, { "docid": "1d70a0a58fbfaac9895ea0a70c3373e6", "score": "0.5873985", "text": "public interface C0338b {\n /* renamed from: a */\n void mo949a(C0331D c0331d);\n }", "title": "" }, { "docid": "420b2bd94bbbbbfe7d1f41efac9498b9", "score": "0.5867568", "text": "interface C0507b {\n /* renamed from: a */\n void mo8211a();\n }", "title": "" }, { "docid": "9164e1f238d193dc92ce40bc996565c0", "score": "0.58620775", "text": "public void b() {\n a(this.f960a, this.b, this.c);\n }", "title": "" }, { "docid": "cc334aada11eca1442bb51a382fb5b7d", "score": "0.5842292", "text": "B convertTo(A a);", "title": "" }, { "docid": "865e3654d2397dc0289319369ffdeb04", "score": "0.583843", "text": "public interface C33798b {\n /* renamed from: a */\n void mo86414a();\n\n /* renamed from: b */\n void mo86415b();\n }", "title": "" }, { "docid": "f077e37eac31a4e94f6f109ec6167c80", "score": "0.58074266", "text": "public a b() {\n return a(this.a);\n }", "title": "" }, { "docid": "4e6c8da30cf2e84f661b8eb0330eade0", "score": "0.5805461", "text": "public abstract void zzg(Object obj, B b);", "title": "" }, { "docid": "1e7359eca9bb450f6999f966bf59c3d8", "score": "0.5798486", "text": "public interface C1257a {\n /* renamed from: b */\n void mo5195b(int i, int i2);\n }", "title": "" }, { "docid": "8c2f22fc63c125cc87d9f201a6d4eeb0", "score": "0.5795993", "text": "public d b() {\n return a(this.a);\n }", "title": "" }, { "docid": "26d2e6e0bad46160f457828f160b9f2e", "score": "0.57897675", "text": "public void setB(T2 b)\r\n {\r\n this.b = b;\r\n }", "title": "" }, { "docid": "f0dbb9c0120ed94ad2291a7eba761c27", "score": "0.57695955", "text": "public cx<E> b(E e) {\n s.a((Object) e);\n a(this.b + 1);\n Object[] objArr = this.a;\n int i = this.b;\n this.b = i + 1;\n objArr[i] = e;\n return this;\n }", "title": "" }, { "docid": "262dcfa96e9984c1f3299431a9313d9d", "score": "0.57680565", "text": "public interface C22543d {\n /* renamed from: b */\n void mo59095b();\n}", "title": "" }, { "docid": "d5eecbceebd5da755a540aefc457270a", "score": "0.5767047", "text": "public static j b() {\n }", "title": "" }, { "docid": "ad5fe04604f13c54903d7892d401e274", "score": "0.57589084", "text": "public abstract void zzc(B b, int i, int i2);", "title": "" }, { "docid": "f138054d94a06bdd61ce75ffdb850a95", "score": "0.57563305", "text": "public abstract void b();", "title": "" }, { "docid": "f138054d94a06bdd61ce75ffdb850a95", "score": "0.57563305", "text": "public abstract void b();", "title": "" }, { "docid": "f138054d94a06bdd61ce75ffdb850a95", "score": "0.57563305", "text": "public abstract void b();", "title": "" }, { "docid": "179965214f571c5ce372bb359e4c3c3f", "score": "0.57339686", "text": "private BufferUnpacker m149953a(byte[] bArr) {\n return m149954b().wrap(bArr);\n }", "title": "" }, { "docid": "02883293ea1a0ecb7cbf41154629ecc9", "score": "0.57336", "text": "public amj b(amj paramamj, aqu paramaqu, ahd paramahd)\r\n/* 60: */ {\r\n/* 61:72 */ return paramamj;\r\n/* 62: */ }", "title": "" }, { "docid": "a0c3737f8dc3d86a2cc613779e72717d", "score": "0.5712531", "text": "void b();", "title": "" }, { "docid": "6fe83cd9e9e62fa0da776d03ef1d1aee", "score": "0.57123995", "text": "public interface C0644ta extends b<PlayedVideoFragment> {\n\n /* renamed from: c.c.a.h.b.ta$a */\n /* compiled from: FragmentModule_PlayedVideoFragment$app_bazaarRelease */\n public static abstract class a extends b.a<PlayedVideoFragment> {\n }\n}", "title": "" }, { "docid": "7b51efae5e09bfca6e3b8e04998820ba", "score": "0.57106954", "text": "public interface AbstractC30491e {\n /* renamed from: b */\n void mo123890b();\n }", "title": "" }, { "docid": "94b1d95bcbd89a2722ed24dd849c4e9d", "score": "0.571047", "text": "public interface C0597da extends b<EpisodeDetailFragment> {\n\n /* renamed from: c.c.a.h.b.da$a */\n /* compiled from: FragmentModule_EpisodeDetailFragment$app_bazaarRelease */\n public static abstract class a extends b.a<EpisodeDetailFragment> {\n }\n}", "title": "" }, { "docid": "1aa63db66c3ee6403fa182a9fcbdc203", "score": "0.5708592", "text": "public interface C2182b {\n /* renamed from: a */\n void mo5787a(int i);\n\n /* renamed from: a */\n void mo5789a(String str);\n }", "title": "" }, { "docid": "2c7c7d9a719fce39e128134d44605520", "score": "0.5679856", "text": "public final cuv b()\r\n/* 46: */ {\r\n/* 47: 43 */ return this.b;\r\n/* 48: */ }", "title": "" }, { "docid": "c0753ae7e701cfd2ab8bc2c4ba36dd41", "score": "0.56760204", "text": "public int b() { return b; }", "title": "" }, { "docid": "dae3a4f42d770d5130a72320f1a3ac6d", "score": "0.5675462", "text": "public interface C1508b {\n /* renamed from: a */\n void mo1573a();\n }", "title": "" }, { "docid": "29ea456afb810e503e4598111c5c27de", "score": "0.56640697", "text": "public abstract a b(int i);", "title": "" }, { "docid": "bbb3cc60cab5258a2c093f874d2f6ebb", "score": "0.56608695", "text": "java.lang.String getB();", "title": "" }, { "docid": "bbb3cc60cab5258a2c093f874d2f6ebb", "score": "0.56608695", "text": "java.lang.String getB();", "title": "" }, { "docid": "ae13a4652240e4526b836d3c1e8bdf90", "score": "0.5659905", "text": "public /* synthetic */ Object mo2b(String str) {\n return m1474a(str);\n }", "title": "" }, { "docid": "ff76e2949650b161bb3762647874d7fb", "score": "0.56539655", "text": "public c b() {\n return a(this.a);\n }", "title": "" }, { "docid": "dbae0020b118366e1b28f6dd4f4391a7", "score": "0.56521285", "text": "public void b() {\r\n a.b();\r\n }", "title": "" }, { "docid": "175ab4a98bc34ab37c0b9e2681d87d72", "score": "0.5633729", "text": "private b b() {\n z z2;\n long l2 = 0;\n if (this.c == null) {\n return new b(this.b, null);\n }\n if (this.b.g() && this.c.e() == null) {\n return new b(this.b, null);\n }\n if (!b.a(this.c, this.b)) {\n return new b(this.b, null);\n }\n d d2 = this.b.f();\n if (d2.a() || a.a(this.b)) {\n return new b(this.b, null);\n }\n long l3 = this.d();\n long l4 = this.c();\n if (d2.c() != -1) {\n l4 = Math.min((long)l4, (long)TimeUnit.SECONDS.toMillis((long)d2.c()));\n }\n long l5 = d2.h() != -1 ? TimeUnit.SECONDS.toMillis((long)d2.h()) : l2;\n d d3 = this.c.i();\n if (!d3.f() && d2.g() != -1) {\n l2 = TimeUnit.SECONDS.toMillis((long)d2.g());\n }\n if (!d3.a() && l3 + l5 < l2 + l4) {\n ab.a a2 = this.c.h();\n if (l5 + l3 >= l4) {\n a2.b(\"Warning\", \"110 HttpURLConnection \\\"Response is stale\\\"\");\n }\n if (l3 > 86400000 && this.e()) {\n a2.b(\"Warning\", \"113 HttpURLConnection \\\"Heuristic expiration\\\"\");\n }\n return new b(null, a2.a());\n }\n z.a a3 = this.b.e();\n if (this.k != null) {\n a3.a(\"If-None-Match\", this.k);\n } else if (this.f != null) {\n a3.a(\"If-Modified-Since\", this.g);\n } else if (this.d != null) {\n a3.a(\"If-Modified-Since\", this.e);\n }\n if (a.a(z2 = a3.a())) {\n return new b(z2, this.c);\n }\n return new b(z2, null);\n }", "title": "" }, { "docid": "f6f4ce780b82bea4af656f3643cb4a44", "score": "0.5630082", "text": "public bcm h()\r\n/* 50: */ {\r\n/* 51:63 */ return this.a.s(this.b);\r\n/* 52: */ }", "title": "" }, { "docid": "f81d0281e501f96ea38957ce6f8dd0c7", "score": "0.56267035", "text": "public ae b() {\n return a(this.a, this.b);\n }", "title": "" }, { "docid": "640a2e5d72ec16dd186be5213cd88c79", "score": "0.5614917", "text": "private synchronized C13326a<V> m39930b(final C13574b<K, V> bVar) {\n m39942g(bVar);\n return C13326a.m38996a(bVar.f35980b.mo32609a(), new C13329c<V>() {\n /* renamed from: a */\n public final void mo32582a(V v) {\n C13570h.this.mo33132a(bVar);\n }\n });\n }", "title": "" }, { "docid": "8335f7a8d607d326092b252da828c16b", "score": "0.5600612", "text": "public void b(String paramString) {\n/* 189 */ a(d.a, paramString);\n/* */ }", "title": "" }, { "docid": "e7620086d2304f657e2fce6e18343543", "score": "0.55940264", "text": "public void b(String s) {\n }", "title": "" }, { "docid": "e327548284090befdec8e97ca20a2f3f", "score": "0.5588574", "text": "public void b() {\n this.f794h.a();\n }", "title": "" }, { "docid": "46b0c96b635ff9be29acb0685312adf0", "score": "0.55855477", "text": "public interface C7337a<T extends C7338b> {\n /* renamed from: a */\n void mo23567a(T t, Object obj);\n }", "title": "" }, { "docid": "ea5f7d45b3fc4d002c53b6a2e75b9b41", "score": "0.55843484", "text": "private interface C0339c {\n /* renamed from: a */\n void mo945a(String str, String str2);\n }", "title": "" }, { "docid": "9d818d9389bb2f9697cb170ca8581214", "score": "0.5581505", "text": "public String b() {\n return (String) a(this.b);\n }", "title": "" }, { "docid": "552769712366c8d82d8a75889d0718dd", "score": "0.5580433", "text": "public interface C8810b {\n /* renamed from: a */\n void mo21888a(C8852a aVar);\n\n /* renamed from: a */\n void mo21889a(String str);\n }", "title": "" }, { "docid": "4a09bcf05dc4a61408a388e78bb6a17b", "score": "0.55683887", "text": "public abstract void zzb(B b, int i, long j);", "title": "" }, { "docid": "9ea4e63467bcda91a9d845ada062d33a", "score": "0.5557499", "text": "public void process(A a) {\n B b = (B) a;\n b.i = b.i * 2; // this compiles\n }", "title": "" }, { "docid": "c95fdf865dc6e346412f15a04c347ae9", "score": "0.55549073", "text": "public final defpackage.bca b(defpackage.bca r4) {\n /*\n r3 = this;\n baf r0 = r3.a // Catch:{ DeadObjectException -> 0x0045 }\n azx r0 = r0.m // Catch:{ DeadObjectException -> 0x0045 }\n bbr r0 = r0.g // Catch:{ DeadObjectException -> 0x0045 }\n r0.a(r4) // Catch:{ DeadObjectException -> 0x0045 }\n baf r0 = r3.a // Catch:{ DeadObjectException -> 0x0045 }\n azx r0 = r0.m // Catch:{ DeadObjectException -> 0x0045 }\n ayh r1 = r4.c // Catch:{ DeadObjectException -> 0x0045 }\n java.util.Map r0 = r0.d // Catch:{ DeadObjectException -> 0x0045 }\n java.lang.Object r0 = r0.get(r1) // Catch:{ DeadObjectException -> 0x0045 }\n ayj r0 = (defpackage.ayj) r0 // Catch:{ DeadObjectException -> 0x0045 }\n java.lang.String r1 = \"Appropriate Api was not requested.\"\n defpackage.azb.b(r0, r1) // Catch:{ DeadObjectException -> 0x0045 }\n boolean r1 = r0.f() // Catch:{ DeadObjectException -> 0x0045 }\n if (r1 != 0) goto L_0x0039\n baf r1 = r3.a // Catch:{ DeadObjectException -> 0x0045 }\n java.util.Map r1 = r1.g // Catch:{ DeadObjectException -> 0x0045 }\n ayh r2 = r4.c // Catch:{ DeadObjectException -> 0x0045 }\n boolean r1 = r1.containsKey(r2) // Catch:{ DeadObjectException -> 0x0045 }\n if (r1 == 0) goto L_0x0039\n com.google.android.gms.common.api.Status r0 = new com.google.android.gms.common.api.Status // Catch:{ DeadObjectException -> 0x0045 }\n r1 = 17\n r0.<init>(r1) // Catch:{ DeadObjectException -> 0x0045 }\n r4.c(r0) // Catch:{ DeadObjectException -> 0x0045 }\n L_0x0038:\n return r4\n L_0x0039:\n boolean r1 = r0 instanceof defpackage.bef // Catch:{ DeadObjectException -> 0x0045 }\n if (r1 == 0) goto L_0x0041\n ayk r0 = defpackage.bef.q() // Catch:{ DeadObjectException -> 0x0045 }\n L_0x0041:\n r4.b(r0) // Catch:{ DeadObjectException -> 0x0045 }\n goto L_0x0038\n L_0x0045:\n r0 = move-exception\n baf r0 = r3.a\n azj r1 = new azj\n r1.<init>(r3, r3)\n r0.a(r1)\n goto L_0x0038\n */\n throw new UnsupportedOperationException(\"Method not decompiled: defpackage.azi.b(bca):bca\");\n }", "title": "" }, { "docid": "166a68df5ea2f36b71989adc11cb5b2c", "score": "0.555462", "text": "com.zfoo.protocol.packet.ProtobufObject.ObjectB getObjectB();", "title": "" }, { "docid": "a56b0333552e71cd3daf5d268390c291", "score": "0.5552212", "text": "private String[] freshCopy(String[] b) {\n String[] copy = Arrays.copyOf(b, b.length);\n return copy;\n }", "title": "" }, { "docid": "165e7b377d811b1e53796473814b807b", "score": "0.55443996", "text": "public interface C0593b {\n /* renamed from: a */\n void m2342a();\n }", "title": "" }, { "docid": "bfd799eb354d67510b0c21ee1a089b24", "score": "0.5541205", "text": "public interface C31074kv {\n /* renamed from: b */\n C36529kt mo29553b();\n}", "title": "" }, { "docid": "cde0a9031b9d87abdad996cb2470afe8", "score": "0.5537805", "text": "public interface C0138b<T> {\n b<T> a(T t);\n }", "title": "" }, { "docid": "2560ecc2ae30c779cd6c3b818ab6fccc", "score": "0.5528244", "text": "private void a(d paramd, String paramString) {\n/* 448 */ a(paramd, paramd.b(paramString));\n/* */ }", "title": "" }, { "docid": "aa72a11b62a53ecc10ef3b9b10bd0d6e", "score": "0.5525078", "text": "public abstract long b();", "title": "" }, { "docid": "e090848238dc4182b3bfe5c0f9b44f04", "score": "0.55133027", "text": "interface C0286d {\n /* renamed from: a */\n void mo6504a(bxvd bxvd);\n}", "title": "" }, { "docid": "8a4bed6818e3deb3ed80ad5fbf846a7a", "score": "0.5511013", "text": "protected abstract void fillOtherFieldsFrom(B source, A target);", "title": "" }, { "docid": "c650ea36642c93d051f140370824cbd2", "score": "0.54991734", "text": "public boolean a(ayu ☃, btl<? extends bqp> btl1) {\r\n/* 150 */ return ☃.a(btl1);\r\n/* */ }", "title": "" }, { "docid": "7a2e65d66e0d4e32698e5eb64af25d72", "score": "0.549915", "text": "public abstract a b(long j);", "title": "" }, { "docid": "1db208e1619d0e50ec75e4f40feff17d", "score": "0.54812205", "text": "private static void whlie(boolean b) {\n\t\t\r\n\t}", "title": "" }, { "docid": "1788df6f6983ce492791749a29e30f9e", "score": "0.5477034", "text": "public void a(b bVar) {\r\n for (int size = this.a.size() - 1; size >= 0; size--) {\r\n RecyclerView.v b2 = this.a.b(size);\r\n a d = this.a.d(size);\r\n if ((d.a & 3) == 3) {\r\n bVar.a(b2);\r\n } else if ((d.a & 1) != 0) {\r\n if (d.b == null) {\r\n bVar.a(b2);\r\n } else {\r\n bVar.a(b2, d.b, d.c);\r\n }\r\n } else if ((d.a & 14) == 14) {\r\n bVar.b(b2, d.b, d.c);\r\n } else if ((d.a & 12) == 12) {\r\n bVar.c(b2, d.b, d.c);\r\n } else if ((d.a & 4) != 0) {\r\n bVar.a(b2, d.b, null);\r\n } else if ((d.a & 8) != 0) {\r\n bVar.b(b2, d.b, d.c);\r\n } else {\r\n int i = d.a;\r\n }\r\n a.a(d);\r\n }\r\n }", "title": "" }, { "docid": "83da23ca7504e2355db097081f675cfb", "score": "0.547493", "text": "public static void main(String[] args) {\n a A=new b();\n ((b)A).y=1;\n }", "title": "" }, { "docid": "1e343b0f5a9181d3baa5e3ff8195783e", "score": "0.5473973", "text": "public a b() {\n return new a();\n }", "title": "" }, { "docid": "15d14a4025a432f8409f7eb7961e9b32", "score": "0.54668957", "text": "public abstract Map b();", "title": "" }, { "docid": "9797d2409675e037e093a8ea86c1211e", "score": "0.5459609", "text": "public interface C29128a {\n /* renamed from: a */\n void mo74588a();\n\n /* renamed from: b */\n void mo74589b();\n }", "title": "" }, { "docid": "b3ec276332bcc768ca1616bffc3ff346", "score": "0.5441594", "text": "public abstract void zza(B b, int i, T t);", "title": "" }, { "docid": "161468ef481172b450c5e768bea583e1", "score": "0.54344594", "text": "public interface a {\n\n /* renamed from: io.intercom.com.bumptech.glide.load.engine.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0112a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(g gVar);\n\n void a(g gVar, b bVar);\n}", "title": "" }, { "docid": "c4bb446d44f065e8839d237ad834f0f2", "score": "0.5432453", "text": "public abstract void zza(B b, int i, long j);", "title": "" }, { "docid": "69cf6e223a36f590e1b38fa64457034e", "score": "0.5425845", "text": "public b b(String str) {\n this.b = str;\n return this;\n }", "title": "" }, { "docid": "3b1bcfc6de4b37764b957f7054e3f36f", "score": "0.54200256", "text": "public double a()\r\n/* 19: */ {\r\n/* 20:26 */ return this.b.getX() + 0.5D;\r\n/* 21: */ }", "title": "" }, { "docid": "dde95116746ad49fbbfb6118c920ed9d", "score": "0.5419151", "text": "public abstract B zzkn();", "title": "" }, { "docid": "e79bce7a348c901e74a7378d5d080859", "score": "0.54185706", "text": "public abstract void mo434a(byte b);", "title": "" }, { "docid": "27a8a847149d59c68de878dcf907cefa", "score": "0.5418309", "text": "public void b(int i2) {\n }", "title": "" }, { "docid": "b2b5314271e14da8490baba6da3e71fa", "score": "0.54041547", "text": "public String makeAbba(String a,String b) {\n return a+b+b+a;\n }", "title": "" }, { "docid": "04d3ae872126f3e73934c7aef6654a0d", "score": "0.54019237", "text": "public T2 getB()\r\n {\r\n return b;\r\n }", "title": "" }, { "docid": "04b9dea9aa9d0cc3fe497aad961be0b8", "score": "0.5398322", "text": "public ae b() {\n return a(this.a, this.b, this.c, this.d);\n }", "title": "" }, { "docid": "109b032d3909853302f3c105e50f14f1", "score": "0.53894603", "text": "public interface C10753b {\n /* renamed from: a */\n void mo25743a();\n }", "title": "" }, { "docid": "d71ff229bafe6f71c0b4092c8a0b63db", "score": "0.5389431", "text": "public interface C36469c {\n /* renamed from: a */\n void mo57695a();\n }", "title": "" }, { "docid": "f785572cad2bd56468ebae6b1f010f97", "score": "0.53892106", "text": "public void b(int i) {\n this.b = i;\n }", "title": "" }, { "docid": "a3a5e69365f43e04ed83a019a55ce918", "score": "0.53852487", "text": "public double b()\r\n/* 24: */ {\r\n/* 25:31 */ return this.b.getY() + 0.5D;\r\n/* 26: */ }", "title": "" }, { "docid": "56a6232a527fca6a1dde5e04e9993ddf", "score": "0.5383506", "text": "private void sub(LongPolynomial2 b)\n {\n if (b.coeffs.length > coeffs.length)\n {\n coeffs = Arrays.copyOf(coeffs, b.coeffs.length);\n }\n for (int i = 0; i < b.coeffs.length; i++)\n {\n coeffs[i] = (0x0800000800000L + coeffs[i] - b.coeffs[i]) & 0x7FF0007FFL;\n }\n }", "title": "" }, { "docid": "6ca42a32919a152f6e211dd81dc68be8", "score": "0.5382455", "text": "public void getb(Float t){\n b=t;\r\n}", "title": "" }, { "docid": "c8dac9235c416a2df591ebc677f25cc6", "score": "0.5369247", "text": "public String geta2b1String(){\n return b1 + \" \"+super.geta2String();\n }", "title": "" }, { "docid": "2976927b82516bd7b6edb65bb3b6aa38", "score": "0.5367994", "text": "public interface b<A extends cj> extends gg<A> {\n String e();\n\n boolean o();\n\n boolean p();\n }", "title": "" }, { "docid": "8fd686e735e2e12828de901e5ae40ee7", "score": "0.53621244", "text": "public interface C36629a {\n /* renamed from: a */\n void mo92925a();\n }", "title": "" }, { "docid": "bf2a02dd41da29165c99e2c0c67cb61b", "score": "0.53554434", "text": "public interface a extends b {\n}", "title": "" }, { "docid": "6d604e2c26daa9e143ebb77aab9599ac", "score": "0.5355171", "text": "public void b() {\n this.f1730b = -1;\n }", "title": "" }, { "docid": "c20d90c3bff6e55d2e35b2598d520f8b", "score": "0.53545713", "text": "public void mo9622b() {\n m2348c(mo9617a(new int[0]));\n }", "title": "" }, { "docid": "d7dfc6e378be6282182cd74db1e5fe6b", "score": "0.5342861", "text": "public final void mo10295b() {\n }", "title": "" } ]
846068edb667e12533735dacf84473dc
Mark as read. Mark WhatsApp messages sent by endusers as read.
[ { "docid": "1fc78dd756c6cf3fc533d57cb87d4f3e", "score": "0.59056485", "text": "public MarkWhatsAppMessageAsReadRequest markWhatsAppMessageAsRead(String sender, String messageId) {\n return new MarkWhatsAppMessageAsReadRequest(sender, messageId);\n }", "title": "" } ]
[ { "docid": "5cc2ffdefa09440ec9e39660f9bfea0c", "score": "0.6685977", "text": "public void markAsRead() throws android.os.RemoteException;", "title": "" }, { "docid": "2167dab37ec51445cab3114e121fe730", "score": "0.6652639", "text": "public void markAsRead() {\n\t\tisRead = true;\n\t}", "title": "" }, { "docid": "3223f09487f58879ffb53504e4af4c14", "score": "0.6591013", "text": "public boolean markAsUnread(){\n this.readStatus = \"unread\";\n return true;\n }", "title": "" }, { "docid": "0d2cc22c4a5918eaf1760e2a80fe58f8", "score": "0.65565753", "text": "public static void markNotificationRead(String id) {\n String query = \"/user_notification/\" + id + \"?mark=read\";\n\n api(query, Request.Method.PUT, new ResponseCallback() {\n @Override\n public void onResponse(JSONObject response) {\n //don't need to do anything\n }\n\n @Override\n public void onError(VolleyError error) {\n //don't need to do anything\n }\n });\n }", "title": "" }, { "docid": "abe06f9f6dc7ded3a0d8cc496e8a0743", "score": "0.64191717", "text": "public boolean markAsRead(){\n this.readStatus = \"read\";\n return true;\n }", "title": "" }, { "docid": "4c5209db43ed9bae28f2fa832366bfb0", "score": "0.64173704", "text": "private void setRead() {\n if (conv != null) {\n MainActivity.markRead(this, conv.getUri(), 1);\n }\n }", "title": "" }, { "docid": "6fda9275ab6da196803840951deef436", "score": "0.6407024", "text": "public void markRead(long item_id) {\r\n markUnreadAs(item_id, false);\r\n }", "title": "" }, { "docid": "d78c545f7125fa2072da0a6d02428101", "score": "0.6312998", "text": "public UpdateChatIsMarkedAsUnread() {\n }", "title": "" }, { "docid": "f11f48517e03d8bfb30128a6b6f7e623", "score": "0.631201", "text": "public void markMessageAsRead(String id) throws NoSuchProviderException, MessagingException, IOException;", "title": "" }, { "docid": "38a89e95af2948ae68ff3e73ee10773f", "score": "0.63045555", "text": "public void pushReadToApp(MessageThread thread) {\n MessageThread threadToSend = thread.cloneWithMessages();\n try {\n wpPortalClient\n .send(threadToSend, oAuthSystemClient, \"markread\", oAuthSystemClient.messageWebhook);\n } catch (IOException e) {\n log.error(\"markread call failed {}\", e);\n }\n }", "title": "" }, { "docid": "ad38889adca14dc251d3ab567f4882aa", "score": "0.6230376", "text": "@Override\n\tpublic abstract void markAllRead(final String userName);", "title": "" }, { "docid": "f7f27c717d2679559deb93d30a8c3cb2", "score": "0.6168873", "text": "public void execute() throws ApiException {\n RequestDefinition markWhatsAppMessageAsReadDefinition =\n markWhatsAppMessageAsReadDefinition(sender, messageId);\n apiClient.execute(markWhatsAppMessageAsReadDefinition);\n }", "title": "" }, { "docid": "7a5e9e3bfd856d6d08cd519eba3290f8", "score": "0.60897386", "text": "public void MarkUnread(UUID conID) {\n cm.setUnreadMessage(conID, userID);\n }", "title": "" }, { "docid": "b91f334041c669b79fb7c6c339615079", "score": "0.6079958", "text": "public void notifyAllRead() {\n String MicrosubEndpoint = user.getMicrosubEndpoint();\n\n StringRequest getRequest = new StringRequest(Request.Method.POST, MicrosubEndpoint,\n new Response.Listener<String>() {\n @Override\n public void onResponse(String response) {}\n },\n new Response.ErrorListener() {\n @Override\n public void onErrorResponse(VolleyError error) {}\n }\n )\n {\n\n @Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<>();\n\n params.put(\"action\", \"timeline\");\n params.put(\"method\", \"mark_read\");\n params.put(\"channel\", channelId);\n params.put(\"last_read_entry\", entryId);\n\n return params;\n }\n\n @Override\n public Map<String, String> getHeaders() {\n HashMap<String, String> headers = new HashMap<String, String>();\n headers.put(\"Accept\", \"application/json\");\n headers.put(\"Authorization\", \"Bearer \" + user.getAccessToken());\n return headers;\n }\n };\n\n RequestQueue queue = Volley.newRequestQueue(getApplicationContext());\n queue.add(getRequest);\n }", "title": "" }, { "docid": "89d1913a77651189cb9f1e09324a0ef0", "score": "0.6065228", "text": "public boolean setAllMessagesAsRead() {\n\n boolean isUpdated = false;\n\n Cursor allMessagesAsReadCursor = null;\n\n /* allMessagesAsReadQuery = update my_chatting_data set is_msg_read='true' WHERE\n * is_msg_read='false'. */\n String allMessagesAsReadQuery = \"update \" + DATABASE_TABLE_NAME + \" set \" +\n KEY_IS_MSG_READ + \"='true' where \" + KEY_IS_MSG_READ + \"='false'\";\n\n try {\n\n open();\n\n allMessagesAsReadCursor = db.rawQuery(allMessagesAsReadQuery, null);\n allMessagesAsReadCursor.moveToFirst();\n\n allMessagesAsReadCursor.close();\n\n close();\n\n isUpdated = true;\n\n } catch (Exception e) {\n\n isUpdated = false;\n\n close();\n\n System.out.println(\"dataBase_setAllMessagesAsRead --> \" + e.getMessage());\n\n }\n\n return isUpdated;\n\n }", "title": "" }, { "docid": "17058366788d4e7f82a5d29c208e8fbe", "score": "0.59498346", "text": "public void setHaveBeenRead(boolean read) {\n this.hasBeenRead = read;\n }", "title": "" }, { "docid": "2b007f09312cf65826cbf52856efb773", "score": "0.5892934", "text": "public void setUnread(boolean unread) {\r\n this.unread = unread;\r\n }", "title": "" }, { "docid": "04af7502106c9c1a7d5da3fc911d1ebf", "score": "0.5827815", "text": "default void onChatReadStatusChange(@NotNull WhatsappChat chat){}", "title": "" }, { "docid": "a6ca3ee88797cc8720e56b69491793e0", "score": "0.5816637", "text": "@Override\n\tpublic abstract void markAllRead();", "title": "" }, { "docid": "c80272361f399b26d0aacf7bc29ec898", "score": "0.58085924", "text": "public void setAsReadMessages(ConnectionService connectionService,\n\t\t\tString friendId, String userId) {\n\n\t\tBarterDatabaseHelper mScliDatabaseHelper = BarterDatabaseHelper\n\t\t\t\t.getInstance(connectionService);\n\t\tSQLiteDatabase sqLiteDatabase = mScliDatabaseHelper\n\t\t\t\t.getMyWritableDatabase();\n\n\t\tContentValues values = new ContentValues();\n\n\t\tString where = ChatTable.FRIENDID + \" =? and \" + ChatTable.USERID\n\t\t\t\t+ \" =?\";\n\t\tString args[] = new String[] { friendId, userId };\n\t\tvalues.put(ChatTable.UNREAD_MESSAGECOUNT, 0);\n\n\t\tsqLiteDatabase.update(ChatTable.TABLENAME, values, where, args);\n\t}", "title": "" }, { "docid": "df67a27eabfa4cc9468e95ee150ad117", "score": "0.57515174", "text": "void markSelectedMsgsAsRead(MessageListAdapter adapter) {\n List<Integer> selectedItems = getSelectedUnreadMsgsPos(adapter);\n\n for (Integer pos : selectedItems) {\n MessagesDataModel changedMsgModel = MessagesDataModel.newBuilder((MessagesDataModel) adapter.getItemAt(pos)).msgReadStatus(true).build();\n adapter.setItemAt(pos, changedMsgModel);\n }\n handleCancelSelectionClick(adapter);\n }", "title": "" }, { "docid": "f1c0f3855927eb47adb07caef6fffca9", "score": "0.57504874", "text": "ChatRoomDto markAsRead(UUID userId, UUID roomId);", "title": "" }, { "docid": "13da7c772c1cc712c4c45342bb034e09", "score": "0.5727151", "text": "@Override\n public void readedUpdated(ObjectId messageID, Boolean read) {\n Message m = findMessageByMessageID(messageID);\n m.setRead(read);\n update(m);\n }", "title": "" }, { "docid": "5719573fc64d8f3322d46acf244cca93", "score": "0.5664188", "text": "@Override\n\tpublic abstract void markAllUnread(final String userName);", "title": "" }, { "docid": "4b78e289bf323a92a2f3d64b85b47283", "score": "0.56472814", "text": "public void setRead(boolean read) {\n\n\t\tthis.read = read;\n\t}", "title": "" }, { "docid": "e2ec17027d4c7ca352377040a396c02b", "score": "0.5601697", "text": "@Override\r\n\tpublic List<MessageCenter> queryActivityIsRead(int userId, int isRead, int typeId) {\n\t\treturn messageCenterMapper.queryActivityIsRead(userId, typeId, isRead);\r\n\t}", "title": "" }, { "docid": "ec56c3299d778e2c28491ac023eeadbd", "score": "0.55990654", "text": "int getMessageCountByUserAndRead(User user, boolean isRead);", "title": "" }, { "docid": "947e5acde889e4dcfd4aa77b47528004", "score": "0.5579333", "text": "@Override\n\tpublic abstract void markAllUnread();", "title": "" }, { "docid": "a87729f16c95896edffd23378bddbd1a", "score": "0.5561209", "text": "@Test(groups = {\"persistence\"})\n public void testMarkAsRead(){\n\n //fetch the inbox\n Inbox inbox = ringoRestClientImpl.getInbox();\n //get all the messages\n //mark all the messages as read\n while (inbox.getCount() > 0) {\n Messages messages = inbox.getMessages();\n for (Message message : messages) {\n assertTrue(message.markAsRead());\n }\n }\n // get the messages again\n Messages messages = inbox.getMessages();\n\n //there should be no messages\n assertTrue(messages.isEmpty());\n assertFalse(messages.iterator().hasNext());\n }", "title": "" }, { "docid": "0519ec78902fc1d4aef7c73fec64137b", "score": "0.555952", "text": "public UpdateChatIsMarkedAsUnread(long chatId, boolean isMarkedAsUnread) {\n this.chatId = chatId;\n this.isMarkedAsUnread = isMarkedAsUnread;\n }", "title": "" }, { "docid": "27ade4696373b86ba015823cd7cdd5f3", "score": "0.55194443", "text": "public void markUnread(long item_id) {\r\n markUnreadAs(item_id, true);\r\n }", "title": "" }, { "docid": "047fbe43105811f6d78a4448c6977162", "score": "0.54763854", "text": "public UpdateMessageMentionRead() {\n }", "title": "" }, { "docid": "fdeb6e6cb1827a89f2ffc1c6b96e19da", "score": "0.5453132", "text": "private int setMessagesRead(String[] params) throws IOException {\n String conversationId = params[0];\n String[] messageIds = Arrays.copyOfRange(params, 1, params.length);\n Call<ResponseBody> setMessagesReadCall = getFetLifeApi().setMessagesRead(FetLifeService.AUTH_HEADER_PREFIX + getAccessToken(), conversationId, messageIds);\n Response<ResponseBody> response = setMessagesReadCall.execute();\n return response.isSuccess() ? 1 : Integer.MIN_VALUE;\n }", "title": "" }, { "docid": "d644cd28b9471dbcf5a5134690a99f22", "score": "0.53911984", "text": "@Override\n public void onClick(View v) {\n if(currentSMS.getReadState().contains(\"0\")) {\n Uri uri = Uri.parse(\"content://sms\");\n String selection = \"thread_id = \" + currentSMS.getThread_id() + \" OR address = \" + currentSMS.getNumber();\n\n ContentValues values = new ContentValues();\n values.put(\"read\", true);\n\n context.getContentResolver().update(uri, values, selection, null);\n MainActivity.refreshRequired=true;\n }\n\n MainActivity.choosen_sms = currentSMS.getThread_id();\n MainActivity.choosen_contact = currentSMS.getNumber();\n\n context.startActivity(new Intent(context,ChatActivity.class));\n }", "title": "" }, { "docid": "e6308238ce64702022824af730b1aa2b", "score": "0.5365254", "text": "default void onMessageStarred(@NotNull WhatsappChat chat, @NotNull WhatsappUserMessage message){}", "title": "" }, { "docid": "d7eba9717838a8f48f2d90008ebb9d5f", "score": "0.5291625", "text": "public UpdateMessageMentionRead(long chatId, long messageId, int unreadMentionCount) {\n this.chatId = chatId;\n this.messageId = messageId;\n this.unreadMentionCount = unreadMentionCount;\n }", "title": "" }, { "docid": "31e4836f010eca5393a3e137485dcbe6", "score": "0.5288966", "text": "public void checkChatsForUnreadMessages() {\n\n int contact_id = ((Global) getApplication()).thisUser.contact_id;\n if (contact_id > 0 && thisMatch != null) { //If the user exists...\n\n //Check main chat for unread messages\n Map<String, Integer> options = new HashMap<String, Integer>();\n options.put(\"contact_id\",contact_id);\n options.put(\"chat_id\",thisMatch.chat_id);\n ((Global) getApplication()).ui.hasUnread(options, new Callback<UnseenObject> () {\n\n @Override\n public void success(UnseenObject aBoolean, Response response) {\n\n //Sets the appropriate image\n if (aBoolean != null && aBoolean.has_unseen.booleanValue() == true) {\n chatButton.setImageDrawable(EvaluateActivity.this.getResources().getDrawable(R.drawable.new_message_chat_button));\n }\n else {\n chatButton.setImageDrawable(EvaluateActivity.this.getResources().getDrawable(R.drawable.chat_button));\n\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n Log.e(\"Failed to check unread\",error.toString());\n\n //Google Analytics\n t.send(new HitBuilders.ExceptionBuilder()\n .setDescription(\"(Evaluate) Failed to check if main chat has unread: \" +\n new StandardExceptionParser(EvaluateActivity.this, null)\n .getDescription(Thread.currentThread().getName(), error))\n .setFatal(false)\n .build());\n }\n });\n\n //Checks the matcher chat for unread messages\n Map<String, Integer> options2 = new HashMap<String, Integer>();\n options2.put(\"contact_id\",((Global) getApplication()).thisUser.contact_id);\n options2.put(\"chat_id\",thisMatchee.matcher_chat_id);\n ((Global) getApplication()).ui.hasUnread(options2, new Callback<UnseenObject> () {\n\n @Override\n public void success(UnseenObject aBoolean, Response response) {\n //Set the appropriate image\n if (aBoolean != null && aBoolean.has_unseen.booleanValue()) {\n askButton.setImageDrawable(EvaluateActivity.this.getResources().getDrawable(R.drawable.new_message_chat_button));\n }\n else {\n askButton.setImageDrawable(EvaluateActivity.this.getResources().getDrawable(R.drawable.ask_button));\n\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n Log.e(\"Failed to check unread\",error.toString());\n\n //Google Analytics\n t.send(new HitBuilders.ExceptionBuilder()\n .setDescription(\"(Evaluate) Failed to check if matcher chat has unread: \" +\n new StandardExceptionParser(EvaluateActivity.this, null)\n .getDescription(Thread.currentThread().getName(), error))\n .setFatal(false)\n .build());\n }\n });\n }\n\n\n }", "title": "" }, { "docid": "0bc9fcf10ebc58ce67909ef838eafad4", "score": "0.52317375", "text": "@Override\r\n\tpublic List<MessageCenter> queryInformIsRead(int userId, int isRead, int typeId) {\n\t\treturn messageCenterMapper.queryInformIsRead(userId, typeId, isRead);\r\n\t}", "title": "" }, { "docid": "ab6732345aace4230df997615e7eee5d", "score": "0.51832867", "text": "public void setReadTweets(ArrayList<String> readTweets) {\r\n this.readTweets = readTweets;\r\n }", "title": "" }, { "docid": "642fbc87e8ac34e2ff3f915def6209f7", "score": "0.5180577", "text": "default void onChatMuteChange(@NotNull WhatsappChat chat){}", "title": "" }, { "docid": "7c8ddb7fbba1e6a87f2d58695007f887", "score": "0.5131375", "text": "public abstract void reading(String user, String chatID);", "title": "" }, { "docid": "201051d41af84dacae13d11308ccc376", "score": "0.5120458", "text": "public UpdateChatUnreadMentionCount() {\n }", "title": "" }, { "docid": "fd70debdf8ccf9b0a2ce47b46a9def6c", "score": "0.51128817", "text": "public SearchMessagesFilterUnreadMention() {\n }", "title": "" }, { "docid": "fe30a7484006c66dc8bf7b84afc6efe8", "score": "0.5102562", "text": "public TLUpdateReadMessagesInbox() {\n super();\n }", "title": "" }, { "docid": "8f33bec7ab431a491e028529c85bd9ed", "score": "0.50621784", "text": "public UpdateChatReadInbox() {\n }", "title": "" }, { "docid": "2fc739340a4162c98dc0d53762f69770", "score": "0.50305605", "text": "@SuppressWarnings(\"unused\")\n\tprivate void openWhatsapp() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString command = sc.next();\n\t\tif (!command.equalsIgnoreCase(\"start\")) {\n\t\t\tdriver.quit();\n\t\t\tSystem.exit(1);\n\t\t}\n\t\tsc.close();\n\n\t\t/**\n\t\t * keep checking for unread count every sleepTime milli secs.\n\t\t * If some elementFound, then click it and set isStarted to true\n\t\t * The while will check for this variable, and then will reply on that element.\n\t\t */\n\t\twhile (true) {\n\t\t\ttry {\n\t\t\t\tif (isStarted) {\n\n\t\t\t\t}\n\n\t\t\t\t/**\n\t\t\t\t * get the user who just pinged, whose 'unread-count' will be 1 or more\n\t\t\t\t */\n\t\t\t\tList<WebElement> nonSelectedWindows = driver.findElements(By\n\t\t\t\t\t\t.xpath(\"//span[contains(@class,'unread-count')]\"));\n\t\t\t\tif (nonSelectedWindows==null) {\n\t\t\t\t\tisStarted = true;\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(driver.getTitle());\n\t\t\t\t\tSystem.out.println(driver.findElementByClassName(\"_2lkdt\").getText());\n\t\t\t\t\t\n\t\t\t\t\tThread.sleep(sleepTime);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tdriver.quit();\n\t}", "title": "" }, { "docid": "4a8c186782edd1455335ef83cc020996", "score": "0.5015785", "text": "public UpdateChatReadInbox(long chatId, long lastReadInboxMessageId, int unreadCount) {\n this.chatId = chatId;\n this.lastReadInboxMessageId = lastReadInboxMessageId;\n this.unreadCount = unreadCount;\n }", "title": "" }, { "docid": "d1f59ed3245ed4fe568dc87b3ad9e31f", "score": "0.496385", "text": "public UpdateChatIsPinned() {\n }", "title": "" }, { "docid": "9999f16db844f3933b16b7a0c9af1f4a", "score": "0.496083", "text": "public void\n\tsetUnread (\n\t String unread)\n\t{\n\t\t_isUnread = Type.objectToBoolean (unread);\n\t}", "title": "" }, { "docid": "b34d0daffc76969214922d6f645a95dd", "score": "0.49527633", "text": "@Override\n\t\tpublic void onReceive(Context context, Intent intent) {\n\t\t\tString action = intent.getAction();\n\t\t\tif (\"com.hx.refresh.unread\".equals(action)) {\n\t\t\t\tint intExtra = intent.getIntExtra(\"count\", 0);\n\t\t\t\tif (intExtra != 0) {\n\t\t\t\t\ttv_unredcount_c.setVisibility(View.VISIBLE);\n\t\t\t\t\tif (intExtra > 99) {\n\t\t\t\t\t\ttv_unredcount_c.setText(\"99+\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttv_unredcount_c.setText(\"\" + intExtra);\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\ttv_unredcount_c.setVisibility(View.GONE);\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tif (\"com.refresh.message\".equals(action)) {\n\t\t\t\t// getUnread();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "b5bdfd5a9b86308b30a4a84807866d00", "score": "0.49463013", "text": "private void requestReadPermissions(){\n\t\t//asking permissions\n\t\tString[] pers = getResources().getString(R.string.facebook_permissions).split(\",\");\n\t\tArrayList<String> readPermissions = new ArrayList<String>();\n\t\tfor(int i=0;i<pers.length;i++){\n\t\t\treadPermissions.add(pers[i]);\n\t\t}\n\t loginButton.setReadPermissions(readPermissions);\n\t}", "title": "" }, { "docid": "57ceefef426338f06a2bdf076e89e8ec", "score": "0.49431673", "text": "public abstract void setIsUnreadViewMode(boolean isUnreadViewMode);", "title": "" }, { "docid": "b219c4e0e7cfed4dbb22522824f33965", "score": "0.49310008", "text": "@Override\n public long getChatMute() {\n return chatMute;\n }", "title": "" }, { "docid": "03f895eef0ccb9b848b221f3c98c0c9e", "score": "0.49092758", "text": "public boolean markSeen(Message message,boolean seen) {\n\t\tif (inboxFolder == null) {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\tmessage.setFlag(Flags.Flag.SEEN, seen);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "207f4a372d40e14b217ffe2806adc8a8", "score": "0.49076036", "text": "public void setArticleRead(String link){\n \tdb = dbOpenHelper.getWritableDatabase();\n\n// \tContentValues values = new ContentValues();\n// values.put(DBopenHelper.ARTICLE_COLUMN_UNREAD, 1); //set 1 = read\n// String whereClause = DBopenHelper.ARTICLE_COLUMN_URL + \" = '\"+link+ \"'\";\n// db.update(DBopenHelper.TABLE_ARTICLE, values, whereClause, null); \n\n \t//drugi sposob\n String query = \"UPDATE article SET unread = 1 WHERE url = '\"+ link +\"'\";\n db.execSQL(query);\n db.close(); // Closing database connection\n \n }", "title": "" }, { "docid": "dda4279ae77829c6634f38f628e360cb", "score": "0.490375", "text": "private void checkUnreadClientNotifications() {\n\t\tclientService.checkUnreadClientNotifications(configProperties.getBaseURL());\n\t}", "title": "" }, { "docid": "1f86412b791d8157ee9501ea9f3bdf3e", "score": "0.49011517", "text": "@Override\r\n\tpublic List<MessageCenter> queryTransactionIsRead(int userId, int isRead, int typeId) {\n\t\treturn messageCenterMapper.queryTransactionIsRead(userId, typeId, isRead);\r\n\t}", "title": "" }, { "docid": "3f5a4d61b5b470a43189ac5c6de32698", "score": "0.4882858", "text": "public void setReadMessage(final NioMessage message) {\n this.readMessage = message;\n }", "title": "" }, { "docid": "0347fc86b96c619a922ebc09420bf172", "score": "0.4862517", "text": "public void processReadAll(ActionEvent e) {\n \t\t\n \t\tString typeUuid = typeManager.getReceivedPrivateMessageType(); \n \t \n \t\tif (isMyWorkspace()) {\n \t\t\t// if within MyWorkspace, need to find the siteId\n \t\t\tFacesContext context = FacesContext.getCurrentInstance();\n \t\t\tMap requestParams = context.getExternalContext()\n \t\t\t\t\t.getRequestParameterMap();\n \n \t\t\tfinal String contextId = (String) requestParams.get(CONTEXTID);\n \n \t\t\tList privateMessages = pvtMessageManager.getMessagesByTypeByContext(typeUuid, contextId);\n \n \t\t\tif (privateMessages == null) {\n \t\t\t\tLOG.error(\"No messages found while attempting to mark all as read from synoptic Message Center tool.\");\n \t\t\t}\n \t\t\telse {\n \t\t\t\tfor (Iterator iter = privateMessages.iterator(); iter.hasNext();) {\n \t\t\t\t\tpvtMessageManager.markMessageAsReadForUser((PrivateMessage) iter.next(), contextId);\n \t\t \t \n \t\t }\n \t\t\t\n \t\t\t}\n \t\t}\n \t\telse {\n \t\t\t// Get the site id and user id and call query to \n \t\t\t// mark them all as read\n \t\t List privateMessages = pvtMessageManager.getMessagesByType(typeUuid, PrivateMessageManager.SORT_COLUMN_DATE,\n \t\t PrivateMessageManager.SORT_DESC);\n \t\t\t\n \t\t\tif (privateMessages == null) {\n \t\t\t\tLOG.error(\"No messages found while attempting to mark all as read from synoptic Message Center tool.\");\n \t\t\t}\n \t\t\telse {\n \t\t\t\tfor (Iterator iter = privateMessages.iterator(); iter.hasNext();) {\n \t\t\t\t\tpvtMessageManager.markMessageAsReadForUser((PrivateMessage) iter.next());\n \t\t \t \n \t\t }\n \t\t\t\n \t\t\t}\n \t\t}\n \n \t}", "title": "" }, { "docid": "317ac866d7a922e5267bef53c0b70d90", "score": "0.485011", "text": "public void setCountRead(Long countRead) {\n this.countRead = countRead;\n }", "title": "" }, { "docid": "a59cab4f461880d4646cdf0f592de54f", "score": "0.48153147", "text": "private void subscribe() {\n Log.i(TAG, \"Subscribing\");\n Nearby.Messages.subscribe(MainActivity.GoogleApiClient, mMessageListener)\n .setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(@NonNull Status status) {\n if (status.isSuccess()) {\n Log.i(TAG, \"Subscribed successfully.\");\n } else {\n logAndShowSnackbar(\"Could not subscribe, status = \" + status);\n mDiscoverSwitch.setChecked(false);\n }\n }\n });\n }", "title": "" }, { "docid": "6a1cf3efe0b729aab830a06473841860", "score": "0.48137116", "text": "@Override\r\n\tpublic List<MessageCenter> queryEvaluateIsRead(int userId, int isRead, int typeId) {\n\t\treturn messageCenterMapper.queryEvaluateIsRead(userId, typeId, isRead);\r\n\t}", "title": "" }, { "docid": "2406f14ec4cef8633006a6320d876fcc", "score": "0.47991052", "text": "public void setFeedItemRead(int read, long... itemIds) {\n try {\n db.beginTransactionNonExclusive();\n ContentValues values = new ContentValues();\n for (long id : itemIds) {\n values.clear();\n values.put(KEY_READ, read);\n db.update(TABLE_NAME_FEED_ITEMS, values, KEY_ID + \"=?\", new String[]{String.valueOf(id)});\n }\n db.setTransactionSuccessful();\n } catch (SQLException e) {\n Log.e(TAG, Log.getStackTraceString(e));\n } finally {\n db.endTransaction();\n }\n }", "title": "" }, { "docid": "c631c5cad8e02663102e93085e1270b8", "score": "0.4786612", "text": "public Builder setIsRead(boolean value) {\n \n isRead_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c9bfa6136a9eaab4be90ac0464a252e6", "score": "0.47734818", "text": "public void setReadable(boolean readable)\r\n {\r\n isReadable = readable;\r\n }", "title": "" }, { "docid": "2050eaed2c81a67636974ab51974d1ea", "score": "0.47385848", "text": "@Override\n public void onClick(View v) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{\n Manifest.permission.READ_EXTERNAL_STORAGE,\n Manifest.permission.SEND_SMS},\n REQUEST_PERMISSION_READ_SMS);\n }\n }", "title": "" }, { "docid": "eb41d357815c88d92b7f2585557bc578", "score": "0.47373664", "text": "@POST(\"{id}/read_comment/\")\n Call<String> postSetMessageRead(@Header(\"token\")String token,\n @Path(\"id\") int id);", "title": "" }, { "docid": "bab00b50650ec27958ed688ce9e6c5b1", "score": "0.47345772", "text": "default void onMessageUpdate(@NotNull WhatsappChat chat, @NotNull WhatsappMessage message){}", "title": "" }, { "docid": "0eb1ec89f8c3430c6c410fad1bf956a0", "score": "0.4728107", "text": "public void readMessage(String message) {\n messageRead=message; //This is used throughout the application.\n //force an activity change:\n switch(messageRead)\n {\n case \"start1\":\n if(layer != 1) //Only change if the device is not on the same activity\n startActivity(1);\n break;\n case \"start2\":\n if(layer != 2) //Only change if the device is not on the same activity\n startActivity(2);\n break;\n case \"start3\":\n if(layer != 3) //Only change if the device is not on the same activity\n startActivity(3);\n bossChosen = \"Squiggle\";\n startActivity(2);\n break;\n }\n }", "title": "" }, { "docid": "57a3e75ec09fa3c7d8ab76f0c3961016", "score": "0.47271392", "text": "public UpdateChatReadOutbox() {\n }", "title": "" }, { "docid": "70eb08682f9c8b61087439627d0c6bf5", "score": "0.47269806", "text": "private void requestReadPhoneStatePermission() {\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.READ_PHONE_STATE)) {\n // Provide an additional rationale to the user if the permission was not granted\n // and the user would benefit from additional context for the use of the permission.\n // For example if the user has previously denied the permission.\n new AlertDialog.Builder(MainActivity.this)\n .setTitle(\"Permission Request\")\n .setMessage(getString(R.string.permission_read_phone_state_rationale))\n .setCancelable(false)\n .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n //re-request\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{Manifest.permission.READ_PHONE_STATE},\n MY_PERMISSIONS_REQUEST_READ_PHONE_STATE);\n }\n })\n .setIcon(R.drawable.ic_launcher_background)\n .show();\n } else {\n // READ_PHONE_STATE permission has not been granted yet. Request it directly.\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.READ_PHONE_STATE},\n MY_PERMISSIONS_REQUEST_READ_PHONE_STATE);\n }\n }", "title": "" }, { "docid": "11c19fa1a4733a4698244803a2f33fa2", "score": "0.4724675", "text": "@Override\n\tpublic boolean readMessage(int userid, int message_id) {\n\t\treturn messagedao.readMessage(userid, message_id);\n\t}", "title": "" }, { "docid": "94cf02a04dd67a56e87bdb4afe7419bd", "score": "0.4721728", "text": "default void onNewMessageReceived(@NotNull WhatsappChat chat, @NotNull WhatsappMessage message){ }", "title": "" }, { "docid": "08a958fccc925d2001ae34d8ac89bff3", "score": "0.47168022", "text": "public void setIsReadWrite (boolean IsReadWrite);", "title": "" }, { "docid": "477992a8375490736f3cc9ae45007a76", "score": "0.469008", "text": "public abstract boolean isUnreadViewMode();", "title": "" }, { "docid": "d03cdb22189773295c652b6cec6529b9", "score": "0.46883553", "text": "public void readMail() {\r\n\t\tif (!allSet()) {\r\n\t\t\tfor (String item : items)\r\n\t\t\t\tif (countPossessions(item) < 1)\r\n\t\t\t\t\tthis.send(null, \"need \" + item);\r\n\r\n\t\t\twhile (super.moreMail()) {\r\n\t\t\t\tMessage current = super.readNextMessage();\r\n\t\t\t\tString msgType = current.getText().substring(0, 4);\r\n\t\t\t\tString item = current.getText().substring(5).trim();\r\n\r\n\t\t\t\tif (msgType.equalsIgnoreCase(\"need\")) {\r\n\t\t\t\t\tthis.send(current.getSender(), \"have \" + item);\r\n\t\t\t\t} else\r\n\t\t\t\tif (msgType.equalsIgnoreCase(\"have\") && countPossessions(item) == 0) {\r\n\t\t\t\t\tsend(current.getSender(), \"ship \" + item);\r\n\t\t\t\t} else\r\n\t\t\t\tif(msgType.equalsIgnoreCase(\"ship\") && countPossessions(item) > 1)\r\n\t\t\t\t\tif(((Kitten)current.getSender()).receiveItem(this, item))\r\n\t\t\t\t\t\tmyPossessions.remove(item);\r\n\t\t\t}\r\n\t\t}else\r\n\t\tif(allSetFlag && this.allSet())\r\n\t\t\t\tsend(this, \"thx, all set\");\r\n\t\r\n\r\n\t}", "title": "" }, { "docid": "2fdeb2824d9570369f634a6d168d10a6", "score": "0.4686183", "text": "@PreAuthorize(\"isAuthenticated()\")\n\tint countUnread(String username);", "title": "" }, { "docid": "59cb849e3b5c083fbe35c6ed7cba1522", "score": "0.46804038", "text": "@PreAuthorize(\"isAuthenticated()\")\n\tList<Message> getUnread(String username);", "title": "" }, { "docid": "7a3356d39e6ca95a5d9475c47c8a549e", "score": "0.46798813", "text": "public void setSelectedFeedEntryStatus(boolean read) {\r\n logger.info(\"method setSelectedFeedEntryStatus begins.\");\r\n int elementNum = getSelectedIndex();\r\n logger.info(\"selected elementNum :\" + elementNum);\r\n if (elementNum == -1) {\r\n logger.error(\"there is no element in the list selected.\");\r\n throw new IllegalStateException(\"there is no element in the list selected.\");\r\n }\r\n\r\n FilterListModel oldModel = getFilterListModel();\r\n logger.info(\"old model size :\" + oldModel.getSize());\r\n\r\n FilterListEntry entry = oldModel.remove(elementNum);\r\n oldModel.insert(elementNum, new DefaultFilterListEntry(new String[] {entry.getColumn(NAME), entry.getColumn(DATE),\r\n entry.getColumn(FEED_ID), read ? TRUE : FALSE }));\r\n //setFilterListModel(oldModel);\r\n\r\n // if the read is false, set the font to bold, else set to default font\r\n setFont(elementNum, read ? Font.getDefaultFont() : STYLE_BOLD);\r\n logger.info(\"method setSelectedFeedEntryStatus ends.\");\r\n }", "title": "" }, { "docid": "8814b0238db65e9154155dc95d914a35", "score": "0.4678547", "text": "void notifyIncomingSMS(SmsMessage message);", "title": "" }, { "docid": "5b76166ab198e38661da91ad6c4fea2c", "score": "0.4674492", "text": "public boolean getUnread() {\r\n return this.unread;\r\n }", "title": "" }, { "docid": "6bdda0bf5af8466d91e48499dd6063e9", "score": "0.46471423", "text": "public void setMessage()\n {\n //checking channel id for displaying a message on monitor\n if(Msg.getChannel_Id() == 0)\n {\n for(int i = 0;i<9;i++)\n {\n updateMonitor(i);\n playTone(\"alert.au\");\n }\n }\n else if(Msg.getChannel_Id() == 1)\n {\n updateMonitor(0);\n playTone(\"attention.au\");\n updateMonitor(1);\n playTone(\"attention.au\");\n }\n else if(Msg.getChannel_Id() == 2)\n { \n updateMonitor(2);\n playTone(\"attention.au\");\n updateMonitor(3);\n playTone(\"attention.au\");\n updateMonitor(4);\n playTone(\"attention.au\");\n }\n else if(Msg.getChannel_Id() == 3)\n { \n updateMonitor(5);\n playTone(\"attention.au\");\n }\n else if(Msg.getChannel_Id() == 4)\n { \n updateMonitor(6);\n playTone(\"attention.au\");\n updateMonitor(7);\n playTone(\"attention.au\");\n updateMonitor(8);\n playTone(\"attention.au\");\n }\n else if(Msg.getChannel_Id() == 5)\n { \n updateMonitor(6);\n playTone(\"attention.au\");\n updateMonitor(7);\n playTone(\"attention.au\");\n updateMonitor(8);\n playTone(\"attention.au\");\n }\n }", "title": "" }, { "docid": "9a7f45fe3a62ddeed5e328ff58913018", "score": "0.46411526", "text": "public UpdateUnreadChatCount() {\n }", "title": "" }, { "docid": "1712f2dc697b4e2986a8ef24967e8ed3", "score": "0.46358177", "text": "public void setNotificationAsSeen(int position) {\n NotificationGroup notificationGroup = null;\n\n try {\n notificationGroup = mNotifications.get(position);\n } catch (IndexOutOfBoundsException e) {\n Log.e(TAG, \"trying to mark none existent notification as seen.\");\n return;\n }\n\n if (mNotificationDataManager != null) {\n for (StatusBarNotification notification : notificationGroup.getChildNotifications()) {\n mNotificationDataManager.setNotificationAsSeen(notification);\n }\n }\n }", "title": "" }, { "docid": "4445e02d2274da022a0f1042d470a759", "score": "0.46249142", "text": "@OnMessage public void incoming(String message) {\n String filteredMessage = String.format(\"%s: %s\",\r\n nickname, message.toString());\r\n if(message.startsWith(\"set \")){\r\n \tnickname = message.substring(4); // ustawiam nick\r\n } else {\r\n \tbroadcast(filteredMessage);\r\n }\r\n }", "title": "" }, { "docid": "efa3a15cb792a58cadf5161aece1f33b", "score": "0.46182996", "text": "@Override\r\n\tpublic List<Map<String, Object>> selectIsRead(int userId, int isRead) {\n\t\treturn messageCenterMapper.selectIsRead(userId,isRead);\r\n\t}", "title": "" }, { "docid": "852a56ac61d931af4f39cc393cec395d", "score": "0.4606989", "text": "public UpdateChatUnreadMentionCount(long chatId, int unreadMentionCount) {\n this.chatId = chatId;\n this.unreadMentionCount = unreadMentionCount;\n }", "title": "" }, { "docid": "0211517b116e63e543ab83af9eba435a", "score": "0.45887154", "text": "private void markCheckedMessageLimit() {\n\t\tif (DEBUG)\n\t\t\tLog.v(TAG, \"markCheckedMessageLimit\");\n\t\tSharedPreferences.Editor editor = mPrefs.edit();\n\t\teditor.putBoolean(CHECKED_MESSAGE_LIMITS, true);\n\t\teditor.apply();\n\t}", "title": "" }, { "docid": "71c8e0ac0e39995017a717eef80d3d33", "score": "0.45749074", "text": "void setChatRoom(String rid) {\n roomID = rid;\n firestore.collection(\"rooms\").document(roomID).get().addOnCompleteListener(new OnCompleteListener<DocumentSnapshot>() {\n @Override\n public void onComplete(@NonNull Task<DocumentSnapshot> task) {\n if (!task.isSuccessful()) {return;}\n DocumentSnapshot document = task.getResult();\n Map<String, Long> users = (Map<String, Long>) document.get(\"users\");\n\n for( String key : users.keySet() ){\n getUserInfoFromServer(key);\n }\n userCount = users.size();\n // users.put(myUid, (long) 0);\n //document.getReference().update(\"users\", users);\n }\n });\n }", "title": "" }, { "docid": "a41aab093aeeabcfe10c75994ede6b55", "score": "0.45692918", "text": "private Intent getMessageReadIntent(int id) {\n return new Intent().setAction(READ_ACTION)\n .putExtra(CONVERSATION_ID, id);\n }", "title": "" }, { "docid": "6bcc935c9dc5958c783cdf3e0bb00e51", "score": "0.45659012", "text": "default void onChatEphemeralStatusChange(@NotNull WhatsappChat chat){}", "title": "" }, { "docid": "356efad77fbb925bd6c7ac7f89a3be92", "score": "0.4562956", "text": "@Override\n\t\t\tpublic void onCheckedChanged(CompoundButton arg0, boolean isChecked) {\n\t\t\t\tif (isChecked) {\n\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\taudioManager.setStreamMute(\n\t\t\t\t\t\t\tAudioManager.STREAM_NOTIFICATION, false);\n\n\t\t\t\t\tToast.makeText(getBaseContext(), \"Hi it's Checked\",\n\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t} else {\n\t\t\t\t\tAudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);\n\t\t\t\t\taudioManager.setStreamMute(\n\t\t\t\t\t\t\tAudioManager.STREAM_NOTIFICATION, true);\n\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "3e6f724ca69a7e2580e18cb6abc7b1ba", "score": "0.45610252", "text": "@Override\r\n\tpublic void markMessageAsSeen(List<Long> aMessageUidList, String aDiscussionId) throws IOException, PsnErrorException {\r\n\t\tString oBaseUrl = getMessagingBaseUrl().getUrl() + PsnUrlCst.URI_MARK_MESSAGE_AS_SEEN;\t\t\r\n\t\t\r\n\t\tCall<Void> oVoidCall = mPSNApiService.markMessageAsSeen(\r\n\t\t\t\tUrlUtils.injectDataInUrl(oBaseUrl, UrlParamCst.PART_DISCUSSION_ID, aDiscussionId), \r\n\t\t\t\tUrlUtils.joinList( aMessageUidList ),\r\n\t\t\t\tnew MessageSeen() );\r\n\t\t\r\n\t\tprocessResponse( oVoidCall.execute() );\r\n\t}", "title": "" }, { "docid": "75d95028876276a39c64f26b979f5d1d", "score": "0.4555258", "text": "@Override\n\tpublic void onOpen(){\n\t\tJSONObject req = new JSONObject();\n\t\ttry {\n\t\t\treq.put(\"op\", \"subscribe\");\n\t\t\treq.put(\"topic\", WARN_TOPIC_NAME);\n\t\t\treq.put(\"type\", WARN_TOPIC_TYPE);\n\n\t\t} catch (JSONException e) {\n\t\t\tLog.d(\"JSON ERROR\", e.getMessage());\n\t\t}\n\t\tmConnection.sendTextMessage(req.toString());\n\n\t}", "title": "" }, { "docid": "3fc0494b391432ab7e1096483ab34a57", "score": "0.4553377", "text": "public void updateStatusOfMsg(Message msg)\n\t{\n\t\tLog.i(\"db\", \"updating message status\");\n\n\t\tSQLiteDatabase db = this.getReadableDatabase();\n\n\t\tContentValues values = new ContentValues();\n\t\tvalues.put(KEY_READ, msg.getReadStatus());\n\n\t\tint ret = db.update(TABLE_msg, values, \n\t\t\t\tKEY_PH_NO + \" = ? AND \" + KEY_message + \" = ? AND \" + KEY_TIME + \" = ? AND \" + KEY_USERTYPE +\" = ?\" ,\n\t\t\t\tnew String[]{msg.number, msg.message , Constants.SIMPLE_DATE_FORMAT.format(msg.time), msg.getUserTypeStr()});\n\n\t\tLog.i(\"db\", \"no of rows updated are: \" + ret);\n\n\t}", "title": "" }, { "docid": "a8529a76beffc6a21320ebf713f34db1", "score": "0.45325568", "text": "@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\t\n\t\t// 强行重新初始化,更改聊天室图片缓存目录\n\t\tImageLoader.getInstance().destroy();\n\t\tZMaxApplication.initImageLoader4Chat();\n\t\t\n\t\tString name = Constant.getLogin().nick_name;\n\t\tif (TextUtils.isEmpty(name)) {\n\t\t\treturn;\n\t\t}\n\t\tself_user_gender = Constant.getLogin().gender;\n\t\tself_user_name = name;\n\t\t\n\t\t// 修改发送的用户信息\n\t\tif (chatHelper != null) chatHelper.modifyInfo(self_user_name, self_user_gender);\n\t\t// 修改名字性别后,刷新原有聊天列表\n\t\tif (adapter != null && adapter.getCount() > 0) {\n\t\t\tfor (ChatMsg message : adapter.getMsgList()) {\n\t\t\t\tif (message.item_type == ChatListAdapter.VALUE_RIGHT_TEXT || message.item_type == ChatListAdapter.VALUE_RIGHT_IMAGE) {\n\t\t\t\t\tmessage.gender = self_user_gender;\n\t\t\t\t\tmessage.from = self_user_name;\n\t\t\t\t}\n\t\t\t}\n\t\t\tadapter.notifyDataSetChanged();\n\t\t}\n\t}", "title": "" }, { "docid": "ac98a687bb26843fc32c2a81a3e0c426", "score": "0.45322534", "text": "public boolean getIsRead() {\n return isRead_;\n }", "title": "" }, { "docid": "8c9cc641e4c367d8ff6791e5416b7d6d", "score": "0.45230868", "text": "public boolean getIsRead() {\n return isRead_;\n }", "title": "" }, { "docid": "0ca0efee8db291bdc21494c686f7107c", "score": "0.45225406", "text": "public synchronized int newReadMessageCount()\n\t{\n\t\treturn ++readMessageCount;\n\t}", "title": "" }, { "docid": "556b54d0b16adc93c5b593843196984c", "score": "0.4517974", "text": "public UpdateChatReadOutbox(long chatId, long lastReadOutboxMessageId) {\n this.chatId = chatId;\n this.lastReadOutboxMessageId = lastReadOutboxMessageId;\n }", "title": "" } ]
8544ee5b845b120e74b09f5ce38209b8
This only works on environments that have a user with blockedFAMIDCustomerID setup
[ { "docid": "7527b606e335d3945898bc719077f2c5", "score": "0.0", "text": "@Test(description = \"Laker Blocked User\")\n public void lakerBlockedUserE2E() throws Exception {\n MockSAML mockSAML = new MockSAML(getDriver());\n mockSAML.providePayload(mockSAML.updateAndGetPayload(blockedFAMIDCustomerID, blockedEmail));\n\n RetirementDashboardPage retirementDashboardPage = mockSAML.signIn();\n\n softAssert.assertTrue(retirementDashboardPage.header.verifyLakerHeader());\n retirementDashboardPage.header.clickOnUsernameDD();\n\n softAssert.assertTrue(retirementDashboardPage.isEnrollmentTextIsCorrect(retirementDashboardPage.BLOCKED_TEXT));\n\n softAssert.assertTrue(retirementDashboardPage.verifyLakerDashboard());\n softAssert.assertFalse(retirementDashboardPage.isCTADisplayed(false));\n missingTranslations.addAll(retirementDashboardPage.getMissingTranslations());\n retirementDashboardPage.header.logOut();\n\n softAssert.assertAll();\n }", "title": "" } ]
[ { "docid": "085d23d3deef553141c8550c7bc0d8b1", "score": "0.5879495", "text": "CE withConfidentialityCode();", "title": "" }, { "docid": "311fcd40545435d20d02ab831ac4abe4", "score": "0.5710593", "text": "String getUserExternalId();", "title": "" }, { "docid": "ca291ba89a555604b754933490052d59", "score": "0.55023485", "text": "void enableCustomer(String uid) throws DuplicateUidException;", "title": "" }, { "docid": "c241c7d15125574276f6ede3fd6c155a", "score": "0.54951036", "text": "int getDisbursedon_userid();", "title": "" }, { "docid": "ddd484ee0353bfac74fcc8f43ff01c8f", "score": "0.54515815", "text": "void disableCustomer(String uid) throws DuplicateUidException;", "title": "" }, { "docid": "7c9c20e448974f28c98bc7b6a71c2979", "score": "0.54482365", "text": "CE getConfidentialityCode();", "title": "" }, { "docid": "63fa5642c90bf314fd4b229ccf6cad4e", "score": "0.5363908", "text": "@Override\n\tpublic String getUserid() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6e13b19fdf74ac420357365cecdac01f", "score": "0.5329071", "text": "int getWithdrawnon_userid();", "title": "" }, { "docid": "9604adabe676e7cf770c27e917bd1f52", "score": "0.53257024", "text": "private static void m34211c() {\n try {\n f25658d = f25657c.getSharedPreferences(\"Conviva\", 0).getString(\"clid\", null);\n } catch (Exception unused) {\n f25662h.mo27992c(\"error loading offline clientid\");\n }\n }", "title": "" }, { "docid": "4f579e69d7a0817f67d46667500e81b4", "score": "0.52816933", "text": "boolean hasLegacyClientSteamId();", "title": "" }, { "docid": "e29ca7fac2253f122bce78e27144ad5d", "score": "0.5263728", "text": "java.lang.String getMobileNeedAuth();", "title": "" }, { "docid": "316c317961bc51e4d1fb8c983c65f492", "score": "0.52608705", "text": "int getRejectedon_userid();", "title": "" }, { "docid": "ff7bc9e15800d0ba695632a01c044504", "score": "0.52393544", "text": "private boolean checkTenancyIdentity() {\n return \"true\".equalsIgnoreCase(allZkNodeMap.get(AppConstants.CHECK_TENANCY_IDENTITY_FORCIBLY));\n }", "title": "" }, { "docid": "a0c81e30f879e32b923510277b1f345b", "score": "0.5238537", "text": "private boolean isFromApp(String custId) {\n\t\treturn custId.trim().equals(\"FromApp\"); \t\t\n\t}", "title": "" }, { "docid": "1c0358dcf1f5aef8d85ead0fd0c789ac", "score": "0.52342516", "text": "String getCustomerID();", "title": "" }, { "docid": "39b01ca4728632185a04bbf6ccc7758e", "score": "0.52337426", "text": "java.lang.String getUserid();", "title": "" }, { "docid": "a2a9d3372b8d2e1f426035134a42b739", "score": "0.5224733", "text": "public boolean hasCustomerId() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "c22bad1d80f3da9bc4de410995570c34", "score": "0.52218485", "text": "boolean isSetApplicationid();", "title": "" }, { "docid": "3e3e943407cb7bc34593293a8edf5e96", "score": "0.5199026", "text": "public String getACC_IDENTIFICATION() {\r\n return ACC_IDENTIFICATION;\r\n }", "title": "" }, { "docid": "e05a376e54eabf1a7ba370949f53f7a8", "score": "0.51862293", "text": "void checkAudienceDriven();", "title": "" }, { "docid": "ed0c13f55f7a103882cb7b426be96403", "score": "0.5166723", "text": "boolean hasRequesterId();", "title": "" }, { "docid": "ed0c13f55f7a103882cb7b426be96403", "score": "0.5166723", "text": "boolean hasRequesterId();", "title": "" }, { "docid": "74da7ad489ed7db460cb76db7ab0404a", "score": "0.51577914", "text": "java.lang.String getAcctid();", "title": "" }, { "docid": "119e36c3e186ae570dd62cb064f8c09e", "score": "0.5143941", "text": "boolean hasApplicationId();", "title": "" }, { "docid": "4ea16dadce4f57189a0b72cf7fa1654d", "score": "0.5143327", "text": "boolean hasUserAppId();", "title": "" }, { "docid": "fabe546e799ec1fb022e117c17c5c523", "score": "0.5118061", "text": "public void mo68186a(Token token) {\n ZaPassport.m84835a(true, StatusResult.EnumC31245c.Success, C31346k.EnumC31349c.SignIn);\n if (!TextUtils.isEmpty(this.f81065a) && C32646n.m150701b(this.f81065a, C6969H.m41409d(\"G7982C609AF3FB93DD90D9144FEDAC1D66A88EA0FAD39F42CFE1A8249E1B8\"), false, 2, (Object) null)) {\n int i = 8;\n if (this.f81066b != GrantType.CTCC) {\n if (this.f81066b == GrantType.CMCC) {\n i = 9;\n } else if (this.f81066b == GrantType.CUCC) {\n i = 16;\n }\n }\n DealLoginActivity.m76660a(this.f81067c, token, 11002, this.f81065a, i);\n }\n }", "title": "" }, { "docid": "e1d16d4219b619de48fc198c0a3704ca", "score": "0.5111817", "text": "boolean hasDwUserID();", "title": "" }, { "docid": "e1d16d4219b619de48fc198c0a3704ca", "score": "0.5111817", "text": "boolean hasDwUserID();", "title": "" }, { "docid": "e1d16d4219b619de48fc198c0a3704ca", "score": "0.5111817", "text": "boolean hasDwUserID();", "title": "" }, { "docid": "e1d16d4219b619de48fc198c0a3704ca", "score": "0.5111817", "text": "boolean hasDwUserID();", "title": "" }, { "docid": "e1d16d4219b619de48fc198c0a3704ca", "score": "0.5111817", "text": "boolean hasDwUserID();", "title": "" }, { "docid": "e1d16d4219b619de48fc198c0a3704ca", "score": "0.5111817", "text": "boolean hasDwUserID();", "title": "" }, { "docid": "e1d16d4219b619de48fc198c0a3704ca", "score": "0.5111817", "text": "boolean hasDwUserID();", "title": "" }, { "docid": "c33bb7b3f3931b2c28905ff57d6767e1", "score": "0.51079816", "text": "boolean hasAccountid();", "title": "" }, { "docid": "a14fd0c3cc26f8816a307219622c7d37", "score": "0.510683", "text": "public String getRequestedACI();", "title": "" }, { "docid": "e90807960a0570be49c6f4426abd7c39", "score": "0.51002276", "text": "public void setCreditCardToken(Guid param) {\r\n this.localCreditCardToken = param;\r\n }", "title": "" }, { "docid": "3e4f9311c6fb9217b4aee312a796141a", "score": "0.5097877", "text": "int getDwUserID();", "title": "" }, { "docid": "3e4f9311c6fb9217b4aee312a796141a", "score": "0.5097877", "text": "int getDwUserID();", "title": "" }, { "docid": "3e4f9311c6fb9217b4aee312a796141a", "score": "0.5097877", "text": "int getDwUserID();", "title": "" }, { "docid": "3e4f9311c6fb9217b4aee312a796141a", "score": "0.5097877", "text": "int getDwUserID();", "title": "" }, { "docid": "3e4f9311c6fb9217b4aee312a796141a", "score": "0.5097877", "text": "int getDwUserID();", "title": "" }, { "docid": "3e4f9311c6fb9217b4aee312a796141a", "score": "0.5097877", "text": "int getDwUserID();", "title": "" }, { "docid": "3e4f9311c6fb9217b4aee312a796141a", "score": "0.5097877", "text": "int getDwUserID();", "title": "" }, { "docid": "8d8864e2c665fedf524742d2efe29b84", "score": "0.5094919", "text": "long getCorpappid();", "title": "" }, { "docid": "8d8864e2c665fedf524742d2efe29b84", "score": "0.5094919", "text": "long getCorpappid();", "title": "" }, { "docid": "ba23f67fbd2fee6046f900f3f206eb33", "score": "0.5088603", "text": "public Guid getCreditCardToken() {\r\n return localCreditCardToken;\r\n }", "title": "" }, { "docid": "1a33ec7c1cd8541a3ed6e53978cd7c64", "score": "0.5082466", "text": "@Test(priority=17, enabled = false)\n\tpublic void verifyOffice365ForExistingCustomer() throws InterruptedException{\n\n\t}", "title": "" }, { "docid": "cf72da03e4844a37409d3f32786b5e15", "score": "0.5082408", "text": "private void m35210b() {\n C5893b.m35596a().mo40209f();\n ActivityC5721b.m34806a(\"loginRsp|\" + C5871f.f24643s + \"|success\");\n StringBuilder sb = new StringBuilder();\n sb.append(\"isCidBroadcasted|\");\n sb.append(C5871f.f24637m);\n ActivityC5721b.m34806a(sb.toString());\n if (!C5871f.f24637m) {\n C5779a.m35082a().mo39875c();\n C5871f.f24637m = true;\n }\n C5871f.f24636l = true;\n C5779a.m35082a().mo39872b();\n C5798f.m35165a().mo39906d();\n if (TextUtils.isEmpty(C5871f.f24650z)) {\n ActivityC5721b.m34806a(\"LoginResultAction device id is empty, get device id from server +++++\");\n C5798f.m35165a().mo39907e();\n }\n C5940c.m35812f();\n mo39918a();\n m35212d();\n C5827h.m35269a().mo39936b();\n m35213e();\n m35214f();\n }", "title": "" }, { "docid": "61212ffa661b5d929d45c84b633a9c77", "score": "0.5080714", "text": "private static boolean m93036b(Context context) {\n try {\n return DatabaseUtils.queryNumEntries(asko.m74292a(context).mo49214a(), \"PaymentCards\") > 0;\n } catch (asks e) {\n bnsl bnsl = (bnsl) f108519a.mo68387b();\n bnsl.mo68437a(e);\n bnsl.mo68432a(\"com.google.android.gms.tapandpay.hce.task.TapAndPayAidRegistrationTaskOperation\", \"b\", (int) ErrorInfo.TYPE_SDU_UNKNOWN, \":com.google.android.gms@[email protected] (120300-306758586)\");\n bnsl.mo68405a(\"Failed to obtain token status\");\n return false;\n }\n }", "title": "" }, { "docid": "1df6d3b7a8d27d75a5cf293352344b75", "score": "0.5070831", "text": "private String createNewCustomerId() {\r\n \tUUID uuid = UUID.randomUUID();\r\n \tString tmpId = uuid.toString();\r\n \tString newCustomerId = tmpId.substring(tmpId.length() - 10);\r\n \treturn newCustomerId;\r\n }", "title": "" }, { "docid": "734c9709c1f17cb603e9250de512e8da", "score": "0.5069656", "text": "void claimNextAvailable(String userId, String language);", "title": "" }, { "docid": "9dd132f9e89eac5c2ef1e506cfb23c67", "score": "0.50662935", "text": "boolean hasIUserid();", "title": "" }, { "docid": "9dd132f9e89eac5c2ef1e506cfb23c67", "score": "0.50662935", "text": "boolean hasIUserid();", "title": "" }, { "docid": "777cd6cfe5665b2da244e328567f0798", "score": "0.506058", "text": "com.clarifai.grpc.api.UserAppIDSet getUserAppId();", "title": "" }, { "docid": "45bc919df92b8c9c254d3a69ae398e24", "score": "0.50427616", "text": "private boolean userIdExplicitOnly() {\n boolean allowed = developerHelperService.getConfigurationSetting(\"user.explicit.id.only\", false);\n return allowed;\n }", "title": "" }, { "docid": "a1b0ed30f3f043b179002949c8372ce3", "score": "0.50401795", "text": "@Test(expected = InvalidTokenException.class)\n public void cantGetAuthenticationWithoutStringClientId() {\n this.map.put(PingFederateUserAuthenticationConverter.CLIENT_ID_KEY, Boolean.TRUE);\n this.converter.extractAuthentication(this.map);\n }", "title": "" }, { "docid": "80e3fb2f81458077570d8ee3aff2de98", "score": "0.50310075", "text": "java.lang.String getTargetAccountID();", "title": "" }, { "docid": "80e3fb2f81458077570d8ee3aff2de98", "score": "0.50310075", "text": "java.lang.String getTargetAccountID();", "title": "" }, { "docid": "80e3fb2f81458077570d8ee3aff2de98", "score": "0.50310075", "text": "java.lang.String getTargetAccountID();", "title": "" }, { "docid": "6bb08b1f5ed5912dfb88de04b6663346", "score": "0.5024146", "text": "private SsoUser checkSsoCode(HttpServletRequest request, HttpServletResponse response){\n return null;\n }", "title": "" }, { "docid": "335155503fcbdf5479f569243c2f6edc", "score": "0.50183725", "text": "@Override\n public boolean isAccountNonExpired() {\n return true;\n }", "title": "" }, { "docid": "335155503fcbdf5479f569243c2f6edc", "score": "0.50183725", "text": "@Override\n public boolean isAccountNonExpired() {\n return true;\n }", "title": "" }, { "docid": "3f77d090c165255f9bc8955a020ab563", "score": "0.5010217", "text": "boolean isSetUserid();", "title": "" }, { "docid": "cf525e9de026a1124980c0433f6070de", "score": "0.5008559", "text": "private String canUserCreateApplications(User caller) {\n if(caller == null){\n return \"your account has been deleted\";\n }\n if(!caller.isActive()){\n return \"your account has been deactivated\";\n }\n return null;\n }", "title": "" }, { "docid": "cb2fa9364c8230f52b8750d5972472c4", "score": "0.5007012", "text": "int getApprovedon_userid();", "title": "" }, { "docid": "d54f0a9e5c03baf3f68dff7b996b5e9e", "score": "0.50066566", "text": "public abstract Long getUserID();", "title": "" }, { "docid": "84c388f1412cac70cf068c8e2c98f7dc", "score": "0.499254", "text": "abstract String requestingClientId();", "title": "" }, { "docid": "44ee7ff245d36bb84fab7ceae8271414", "score": "0.49828246", "text": "private void createAppCredentials(JWTClaimsSet claimsSet, ServicesSessionBean bean) {\n String clientAppID = StringUtil.nullableToString(claimsSet.getClaim(\"appid\"));\n if (clientAppID == null) {\n bean.setTokenValid(false);\n bean.setReason(\"Invalid token, not a user on-behalf of token or a valid service-to-service token.\");\n } else {\n AppCredentials creds = new AppCredentials();\n creds.setApplicationId(clientAppID);\n bean.setCredentials(creds);\n }\n }", "title": "" }, { "docid": "3d91ef65c0bf8f98208657e94752a8e6", "score": "0.4980844", "text": "boolean getEmailCustomer();", "title": "" }, { "docid": "bc361a4313e3f935a2ceffe17a9c6edc", "score": "0.49725765", "text": "public int getAD_User_ID();", "title": "" }, { "docid": "bc361a4313e3f935a2ceffe17a9c6edc", "score": "0.49725765", "text": "public int getAD_User_ID();", "title": "" }, { "docid": "69298b7f0bf056f94b83e69e5190eaa3", "score": "0.49706152", "text": "private void sendWantsDetailsMessages(UUID clientID) {\n\t\t\r\n\t}", "title": "" }, { "docid": "4128b989362ff9f840533d8b038ef52f", "score": "0.49650466", "text": "private boolean blockCpcPlusApi() {\n\t\treturn EnvironmentHelper.isPresent(Constants.NO_CPC_PLUS_API_ENV_VARIABLE);\n\n\t}", "title": "" }, { "docid": "05a78a3125c473d7a87f28b180e826e6", "score": "0.49571866", "text": "boolean hasCallerId();", "title": "" }, { "docid": "d628346642be1158ecc9bcfb64434d0b", "score": "0.49557108", "text": "String getExternal_id();", "title": "" }, { "docid": "fc08a5bfebe51928e17c60feb4df42dc", "score": "0.4953476", "text": "private String getUserDnSearchFilterByGUID( )\r\n {\r\n return AppPropertiesService.getProperty( PROPERTY_USER_DN_SEARCH_FILTER_BY_GUID );\r\n }", "title": "" }, { "docid": "e2e4c54cd5aeec4a6a523d06613b6b76", "score": "0.4951582", "text": "public Guid getUserId(){\n return localUserId;\n }", "title": "" }, { "docid": "6af30cc15e222baad3ac9d50f7e42b7e", "score": "0.49489602", "text": "long getOpenid();", "title": "" }, { "docid": "cf617cde2e72b7503d67b28009fba98a", "score": "0.49460524", "text": "boolean isSetEmailCustomer();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.49445623", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.49445623", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.49445623", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.49445623", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.49445623", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "3765b7b5d1b1096da642ce6f5db4902a", "score": "0.49445623", "text": "public int getAD_Client_ID();", "title": "" }, { "docid": "b39d90defcd47d4691ab81ddde5fd8e9", "score": "0.49432123", "text": "boolean hasLegacyIdentityBinary();", "title": "" }, { "docid": "b39d90defcd47d4691ab81ddde5fd8e9", "score": "0.49432123", "text": "boolean hasLegacyIdentityBinary();", "title": "" }, { "docid": "337ac27b4928b0cc6cef1aeb5c86c4e0", "score": "0.4929003", "text": "private static boolean validCustomer(int id) {\n return getCustomer(id) != null;\n }", "title": "" }, { "docid": "ceb8d650e259dc25bf11674762a46da9", "score": "0.49127084", "text": "@Override\n\tpublic boolean getCustomer(String username,String password) {\nboolean cust=ed.getCustomer(username,password);\nreturn cust;\n\t}", "title": "" }, { "docid": "bd8750ba2b91fe3a5cbffd1dea96e8aa", "score": "0.49115863", "text": "long getPartyid();", "title": "" }, { "docid": "ee35c3570e81e3c06dd1c5f57735ae3c", "score": "0.49115294", "text": "@Override\n public boolean isAccountNonLocked() {\n return true;\n }", "title": "" }, { "docid": "ee35c3570e81e3c06dd1c5f57735ae3c", "score": "0.49115294", "text": "@Override\n public boolean isAccountNonLocked() {\n return true;\n }", "title": "" }, { "docid": "20994f6ea466e14e596f41b177b3154c", "score": "0.49056014", "text": "public String getCustomermanagecode() {\n return customermanagecode;\n }", "title": "" }, { "docid": "8a6f196e24e6c4e0cbb68f32439ec3ec", "score": "0.4905114", "text": "SoamId dmId();", "title": "" }, { "docid": "42355c38993b2f838365b038ff5634fc", "score": "0.4904577", "text": "java.lang.String getAccountIDOfTargetUser();", "title": "" }, { "docid": "8c3681c4020aa470b12dfde81b04c937", "score": "0.4902693", "text": "public void setSTAFFID(int param) {\r\n\r\n this.localSTAFFID = param;\r\n\r\n\r\n }", "title": "" }, { "docid": "2199a9826a6f52976553a83282599765", "score": "0.4899525", "text": "private ATMFactory() {\r\n\t\tSystem.setProperty(\"bankFrom\", \"NullBank\");\r\n\t}", "title": "" }, { "docid": "4bec8b472324d398db449e6d57e158a4", "score": "0.48980457", "text": "static native void registerAmsIsolateId();", "title": "" }, { "docid": "210ffb9d10dee264c799066ba5d1d79d", "score": "0.48978853", "text": "public java.lang.String getUserCustomerKey() {\r\n return userCustomerKey;\r\n }", "title": "" }, { "docid": "b7f4829813c95c69526a5495e606585e", "score": "0.4891822", "text": "boolean hasDwSsionID();", "title": "" }, { "docid": "c57d15e18c197a63c6149b4556b08913", "score": "0.48864144", "text": "boolean hasLoginId();", "title": "" } ]
7dbf804699ab9cafc093e4ab767cd4f2
Interface for acessing the WebService provided by the client
[ { "docid": "4f395009597b86bfe3263e2a297d7e55", "score": "0.0", "text": "@Headers({\n \"Content-Type: application/json;charset=utf-8\",\n \"X-Mobile-Platform: Android;charset=utf-8\"\n })\n @POST(\"rest/mobile/v1/home/cards\")\n Call<List<Card>> cards(@Body Map<String, String> body);", "title": "" } ]
[ { "docid": "a1cc2a895d7ff217d7ffa87db707e429", "score": "0.71576375", "text": "public abstract OGCWebService getOGCWebService() throws OGCWebServiceException;", "title": "" }, { "docid": "1550eecec6f3638cc18227c1112a2bbc", "score": "0.7004614", "text": "public interface IWebService {\n void onDataReceived(WebData webData);\n}", "title": "" }, { "docid": "142206dfaf8f4d21a59a65ec285a3cb9", "score": "0.6667682", "text": "public interface MyWebService {\n\n\n\n @GET(\"/data/2.5/forecast/daily\") // set endpoint and void getData\n void getData(@Query(\"q\") String q,\n @Query(\"mode\") String mode,\n @Query(\"units\") String units,\n @Query(\"lang\") String lang,\n @Query(\"cnt\") String cnt,\n @Query(\"appid\") String appid,\n Callback<WeatherData> pResponse);\n\n\n\n // @POST(\"/wsexample/\")\n // void postData(@Body Weather pBody, Callback<Weather> pResponse);\n\n\n }", "title": "" }, { "docid": "efb17429df545e9e1bdb8e237255dbd4", "score": "0.65340894", "text": "@WebService(name = \"IWebSvc\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n com.wangx.webservice.webserviceCXFJaxws.serialization.ObjectFactory.class,\n com.wangx.webservice.webserviceCXFJaxws.serialization.ObjectFactory.class\n})\npublic interface IWebSvc {\n\n\n /**\n * @param data\n * @return returns java.lang.String\n */\n @WebMethod(operationName = \"Run\", action = \"http://tempuri.org/IWebSvc/Run\")\n @WebResult(name = \"RunResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"Run\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.Run\")\n @ResponseWrapper(localName = \"RunResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.RunResponse\")\n public String run(\n @WebParam(name = \"data\", targetNamespace = \"http://tempuri.org/\")\n String data);\n\n}", "title": "" }, { "docid": "7312107d445fc9b39b2d11765d3bf53b", "score": "0.6527166", "text": "@WebService\r\npublic interface ServicioWebCesantiasAfiliados \r\n{\r\n\t/**\r\n\t * Consulta la informacion para hacer un retiro\r\n\t * @author Alejandro Vivas\r\n\t * @since 0.0.1 21/03/2018\r\n\t * @version 0.0.1 21/03/2018\r\n\t * @param empleador Objeto con los datos del empleador y los afiliados para validar retiro\r\n\t * @return Objeto con la respuesta\r\n\t */\r\n\tConsultaAfiliadosResponse consultarAfiliados(EmpleadorRequest empleador);\r\n\t\r\n\t/**\r\n\t * Almacena los retiros de cesantias para los afiliados\r\n\t * @author Alejandro Vivas\r\n\t * @since 0.0.1 21/03/2018\r\n\t * @version 0.0.1 21/03/2018\r\n\t * @param afiliadoRequest Objeto con los datos para hacer un retiro\r\n\t * @return OBjeto con la respuesta del servicio web\r\n\t */\r\n\tRetiroResponse grabarRetiroCesantiasAfiliados(EmpleadorRequest afiliadoRequest);\r\n}", "title": "" }, { "docid": "095c242012aa7cd6a897c2a30dc447d4", "score": "0.6464116", "text": "public interface OnWebServiceResult {\n\n public void getWebResponse(String result, CommonUtilities.SERVICE_TYPE type);\n}", "title": "" }, { "docid": "37a93dcfb5cfb7572a05d625dd1b7d50", "score": "0.6455323", "text": "public void callWebService(){\n Response response = ClientBuilder.newClient()\n .target(this.url)\n .request(MediaType.APPLICATION_JSON)\n .get();\n\n // process the response object\n int statusCode = response.getStatus();\n if (statusCode == OK_STATUS) {\n System.out.println(\"Status is ok!!\");\n //this.parseJson(this.jsonResponse);\n } else {\n System.out.printf(\"Service returned status: \\\"%d %s\\\"\\n\",\n statusCode, \"\");\n }\n }", "title": "" }, { "docid": "58501c2d3997717f409dfec808d2b775", "score": "0.64478296", "text": "private SeriesWS getService() throws Exception {\r\n\r\n\t\t// cria um novo servico\r\n\t\tSeriesWS service = new SeriesWSService().getSeriesWSPort();\r\n\r\n\t\t// inicializa handler\r\n\t\tinitializeHandler((BindingProvider)service, endpoint.url, endpoint.isSecure());\r\n\r\n\t\treturn service;\r\n\r\n\t}", "title": "" }, { "docid": "eec063a1bd200edd75e0e7eb602ac4c7", "score": "0.64349", "text": "@WebService(name = \"FuelDataSysSTDSoap\", targetNamespace = \"http://soap.catarc.info/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface FuelDataSysSTDSoap {\r\n\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"HelloWorld\", action = \"http://soap.catarc.info/HelloWorld\")\r\n @WebResult(name = \"HelloWorldResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"HelloWorld\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.HelloWorld\")\r\n @ResponseWrapper(localName = \"HelloWorldResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.HelloWorldResponse\")\r\n public String helloWorld();\r\n\r\n /**\r\n * \r\n * @param userName\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns boolean\r\n */\r\n @WebMethod(operationName = \"CheckUser\", action = \"http://soap.catarc.info/CheckUser\")\r\n @WebResult(name = \"CheckUserResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"CheckUser\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.CheckUser\")\r\n @ResponseWrapper(localName = \"CheckUserResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.CheckUserResponse\")\r\n public boolean checkUser(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param vehicleInfoList\r\n * @param userName\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.OperateResult\r\n */\r\n @WebMethod(operationName = \"UploadFuelData\", action = \"http://soap.catarc.info/UploadFuelData\")\r\n @WebResult(name = \"UploadFuelDataResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"UploadFuelData\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.UploadFuelData\")\r\n @ResponseWrapper(localName = \"UploadFuelDataResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.UploadFuelDataResponse\")\r\n public OperateResult uploadFuelData(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"vehicleInfoList\", targetNamespace = \"http://soap.catarc.info/\")\r\n ArrayOfVehicleBasicInfo vehicleInfoList,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param vehicleInfoList\r\n * @param userName\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.OperateResult\r\n */\r\n @WebMethod(operationName = \"UploadOverTime\", action = \"http://soap.catarc.info/UploadOverTime\")\r\n @WebResult(name = \"UploadOverTimeResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"UploadOverTime\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.UploadOverTime\")\r\n @ResponseWrapper(localName = \"UploadOverTimeResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.UploadOverTimeResponse\")\r\n public OperateResult uploadOverTime(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"vehicleInfoList\", targetNamespace = \"http://soap.catarc.info/\")\r\n ArrayOfVehicleBasicInfo vehicleInfoList,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param vehicleInfoList\r\n * @param userName\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.OperateResult\r\n */\r\n @WebMethod(operationName = \"ApplyUpdate\", action = \"http://soap.catarc.info/ApplyUpdate\")\r\n @WebResult(name = \"ApplyUpdateResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"ApplyUpdate\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.ApplyUpdate\")\r\n @ResponseWrapper(localName = \"ApplyUpdateResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.ApplyUpdateResponse\")\r\n public OperateResult applyUpdate(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"vehicleInfoList\", targetNamespace = \"http://soap.catarc.info/\")\r\n ArrayOfVehicleBasicInfo vehicleInfoList,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param reason\r\n * @param userName\r\n * @param vinList\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.OperateResult\r\n */\r\n @WebMethod(operationName = \"ApplyDelete\", action = \"http://soap.catarc.info/ApplyDelete\")\r\n @WebResult(name = \"ApplyDeleteResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"ApplyDelete\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.ApplyDelete\")\r\n @ResponseWrapper(localName = \"ApplyDeleteResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.ApplyDeleteResponse\")\r\n public OperateResult applyDelete(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"vinList\", targetNamespace = \"http://soap.catarc.info/\")\r\n ArrayOfString vinList,\r\n @WebParam(name = \"reason\", targetNamespace = \"http://soap.catarc.info/\")\r\n String reason,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param startTime\r\n * @param clxh\r\n * @param pagesize\r\n * @param clzl\r\n * @param vin\r\n * @param userName\r\n * @param endTime\r\n * @param timeType\r\n * @param password\r\n * @param oKey\r\n * @param rllx\r\n * @param pageNum\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.ArrayOfVehicleBasicInfo\r\n */\r\n @WebMethod(operationName = \"QueryUploadedFuelData\", action = \"http://soap.catarc.info/QueryUploadedFuelData\")\r\n @WebResult(name = \"QueryUploadedFuelDataResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryUploadedFuelData\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryUploadedFuelData\")\r\n @ResponseWrapper(localName = \"QueryUploadedFuelDataResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryUploadedFuelDataResponse\")\r\n public ArrayOfVehicleBasicInfo queryUploadedFuelData(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"pageNum\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pageNum,\r\n @WebParam(name = \"pagesize\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pagesize,\r\n @WebParam(name = \"vin\", targetNamespace = \"http://soap.catarc.info/\")\r\n String vin,\r\n @WebParam(name = \"clxh\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clxh,\r\n @WebParam(name = \"clzl\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clzl,\r\n @WebParam(name = \"rllx\", targetNamespace = \"http://soap.catarc.info/\")\r\n String rllx,\r\n @WebParam(name = \"startTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String startTime,\r\n @WebParam(name = \"endTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String endTime,\r\n @WebParam(name = \"timeType\", targetNamespace = \"http://soap.catarc.info/\")\r\n String timeType,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param startTime\r\n * @param clxh\r\n * @param pagesize\r\n * @param clzl\r\n * @param vin\r\n * @param userId\r\n * @param endTime\r\n * @param timeType\r\n * @param password\r\n * @param oKey\r\n * @param rllx\r\n * @param pageNum\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.ArrayOfVehicleBasicInfo\r\n */\r\n @WebMethod(operationName = \"QueryApplyUpLoadOT\", action = \"http://soap.catarc.info/QueryApplyUpLoadOT\")\r\n @WebResult(name = \"QueryApplyUpLoadOTResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryApplyUpLoadOT\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryApplyUpLoadOT\")\r\n @ResponseWrapper(localName = \"QueryApplyUpLoadOTResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryApplyUpLoadOTResponse\")\r\n public ArrayOfVehicleBasicInfo queryApplyUpLoadOT(\r\n @WebParam(name = \"userId\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userId,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"pageNum\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pageNum,\r\n @WebParam(name = \"pagesize\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pagesize,\r\n @WebParam(name = \"vin\", targetNamespace = \"http://soap.catarc.info/\")\r\n String vin,\r\n @WebParam(name = \"clxh\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clxh,\r\n @WebParam(name = \"clzl\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clzl,\r\n @WebParam(name = \"rllx\", targetNamespace = \"http://soap.catarc.info/\")\r\n String rllx,\r\n @WebParam(name = \"startTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String startTime,\r\n @WebParam(name = \"endTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String endTime,\r\n @WebParam(name = \"timeType\", targetNamespace = \"http://soap.catarc.info/\")\r\n String timeType,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param startTime\r\n * @param clxh\r\n * @param pagesize\r\n * @param clzl\r\n * @param vin\r\n * @param userName\r\n * @param endTime\r\n * @param timeType\r\n * @param password\r\n * @param oKey\r\n * @param rllx\r\n * @param pageNum\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.ArrayOfVehicleBasicInfo\r\n */\r\n @WebMethod(operationName = \"QueryApplyDelInfo\", action = \"http://soap.catarc.info/QueryApplyDelInfo\")\r\n @WebResult(name = \"QueryApplyDelInfoResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryApplyDelInfo\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryApplyDelInfo\")\r\n @ResponseWrapper(localName = \"QueryApplyDelInfoResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryApplyDelInfoResponse\")\r\n public ArrayOfVehicleBasicInfo queryApplyDelInfo(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"pageNum\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pageNum,\r\n @WebParam(name = \"pagesize\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pagesize,\r\n @WebParam(name = \"vin\", targetNamespace = \"http://soap.catarc.info/\")\r\n String vin,\r\n @WebParam(name = \"clxh\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clxh,\r\n @WebParam(name = \"clzl\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clzl,\r\n @WebParam(name = \"rllx\", targetNamespace = \"http://soap.catarc.info/\")\r\n String rllx,\r\n @WebParam(name = \"startTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String startTime,\r\n @WebParam(name = \"endTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String endTime,\r\n @WebParam(name = \"timeType\", targetNamespace = \"http://soap.catarc.info/\")\r\n String timeType,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param startTime\r\n * @param clxh\r\n * @param pagesize\r\n * @param clzl\r\n * @param vin\r\n * @param userName\r\n * @param endTime\r\n * @param timeType\r\n * @param password\r\n * @param oKey\r\n * @param rllx\r\n * @param pageNum\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.ArrayOfVehicleBasicInfo\r\n */\r\n @WebMethod(operationName = \"QueryApplyUpdateInfo\", action = \"http://soap.catarc.info/QueryApplyUpdateInfo\")\r\n @WebResult(name = \"QueryApplyUpdateInfoResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryApplyUpdateInfo\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryApplyUpdateInfo\")\r\n @ResponseWrapper(localName = \"QueryApplyUpdateInfoResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryApplyUpdateInfoResponse\")\r\n public ArrayOfVehicleBasicInfo queryApplyUpdateInfo(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"pageNum\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pageNum,\r\n @WebParam(name = \"pagesize\", targetNamespace = \"http://soap.catarc.info/\")\r\n int pagesize,\r\n @WebParam(name = \"vin\", targetNamespace = \"http://soap.catarc.info/\")\r\n String vin,\r\n @WebParam(name = \"clxh\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clxh,\r\n @WebParam(name = \"clzl\", targetNamespace = \"http://soap.catarc.info/\")\r\n String clzl,\r\n @WebParam(name = \"rllx\", targetNamespace = \"http://soap.catarc.info/\")\r\n String rllx,\r\n @WebParam(name = \"startTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String startTime,\r\n @WebParam(name = \"endTime\", targetNamespace = \"http://soap.catarc.info/\")\r\n String endTime,\r\n @WebParam(name = \"timeType\", targetNamespace = \"http://soap.catarc.info/\")\r\n String timeType,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param userName\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.ArrayOfRllxParam\r\n */\r\n @WebMethod(operationName = \"QueryRllxParamData\", action = \"http://soap.catarc.info/QueryRllxParamData\")\r\n @WebResult(name = \"QueryRllxParamDataResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryRllxParamData\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryRllxParamData\")\r\n @ResponseWrapper(localName = \"QueryRllxParamDataResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryRllxParamDataResponse\")\r\n public ArrayOfRllxParam queryRllxParamData(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param userName\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"QueryParamVersion\", action = \"http://soap.catarc.info/QueryParamVersion\")\r\n @WebResult(name = \"QueryParamVersionResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryParamVersion\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryParamVersion\")\r\n @ResponseWrapper(localName = \"QueryParamVersionResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryParamVersionResponse\")\r\n public String queryParamVersion(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param userName\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.QyInfo\r\n */\r\n @WebMethod(operationName = \"QueryQyInfo\", action = \"http://soap.catarc.info/QueryQyInfo\")\r\n @WebResult(name = \"QueryQyInfoResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryQyInfo\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryQyInfo\")\r\n @ResponseWrapper(localName = \"QueryQyInfoResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryQyInfoResponse\")\r\n public QyInfo queryQyInfo(\r\n @WebParam(name = \"userName\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userName,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param userId\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns com.sg.vim.service.fuellabel.ArrayOfString\r\n */\r\n @WebMethod(operationName = \"QueryHolidayData\", action = \"http://soap.catarc.info/QueryHolidayData\")\r\n @WebResult(name = \"QueryHolidayDataResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryHolidayData\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryHolidayData\")\r\n @ResponseWrapper(localName = \"QueryHolidayDataResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryHolidayDataResponse\")\r\n public ArrayOfString queryHolidayData(\r\n @WebParam(name = \"userId\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userId,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n /**\r\n * \r\n * @param userId\r\n * @param password\r\n * @param oKey\r\n * @return\r\n * returns int\r\n */\r\n @WebMethod(operationName = \"QueryUploadTimeConstrain\", action = \"http://soap.catarc.info/QueryUploadTimeConstrain\")\r\n @WebResult(name = \"QueryUploadTimeConstrainResult\", targetNamespace = \"http://soap.catarc.info/\")\r\n @RequestWrapper(localName = \"QueryUploadTimeConstrain\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryUploadTimeConstrain\")\r\n @ResponseWrapper(localName = \"QueryUploadTimeConstrainResponse\", targetNamespace = \"http://soap.catarc.info/\", className = \"com.sg.vim.service.fuellabel.QueryUploadTimeConstrainResponse\")\r\n public int queryUploadTimeConstrain(\r\n @WebParam(name = \"userId\", targetNamespace = \"http://soap.catarc.info/\")\r\n String userId,\r\n @WebParam(name = \"password\", targetNamespace = \"http://soap.catarc.info/\")\r\n String password,\r\n @WebParam(name = \"oKey\", targetNamespace = \"http://soap.catarc.info/\")\r\n String oKey);\r\n\r\n}", "title": "" }, { "docid": "ddc683a566b6f1fdd2efcde8cc655467", "score": "0.64229006", "text": "@WebService(name = \"IAPPDataSynchService\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n\tcom.gzedu.xlims.common.wcf.com.microsoft.schemas._2003._10.serialization.ObjectFactory.class,\n\tcom.gzedu.xlims.common.wcf.org.tempuri.ObjectFactory.class\n})\npublic interface IAPPDataSynchService {\n\n\n /**\n * \n * @param dataSynchResult\n * @param outMSG\n * @param synchDATA\n * @param functionType\n * @param operatingUserName\n * @param key\n */\n @WebMethod(operationName = \"DataSynch\", action = \"http://tempuri.org/IAPPDataSynchService/DataSynch\")\n @RequestWrapper(localName = \"DataSynch\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.DataSynch\")\n @ResponseWrapper(localName = \"DataSynchResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.DataSynchResponse\")\n public void dataSynch(\n @WebParam(name = \"operatingUserName\", targetNamespace = \"http://tempuri.org/\")\n String operatingUserName,\n @WebParam(name = \"functionType\", targetNamespace = \"http://tempuri.org/\")\n String functionType,\n @WebParam(name = \"key\", targetNamespace = \"http://tempuri.org/\")\n String key,\n @WebParam(name = \"synchDATA\", targetNamespace = \"http://tempuri.org/\")\n String synchDATA,\n @WebParam(name = \"DataSynchResult\", targetNamespace = \"http://tempuri.org/\", mode = WebParam.Mode.OUT)\n Holder<String> dataSynchResult,\n @WebParam(name = \"outMSG\", targetNamespace = \"http://tempuri.org/\", mode = WebParam.Mode.OUT)\n Holder<String> outMSG);\n\n}", "title": "" }, { "docid": "7489f0e720c8de2ecad1376f5dd9de18", "score": "0.64223444", "text": "@WebService(name = \"ServiceSoap\", targetNamespace = \"http://tempuri.org/\")\r\npublic interface ServiceSoap {\r\n\r\n\t/**\r\n\t * \r\n\t * @param identity\r\n\t * @param request\r\n\t * @param filter\r\n\t * @return returns java.lang.String\r\n\t */\r\n\t@WebMethod(operationName = \"ABESubmit\", action = \"http://tempuri.org/ABESubmit\")\r\n\t@WebResult(name = \"ABESubmitResult\", targetNamespace = \"http://tempuri.org/\")\r\n\t@RequestWrapper(localName = \"ABESubmit\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ABESubmit\")\r\n\t@ResponseWrapper(localName = \"ABESubmitResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ABESubmitResponse\")\r\n\tpublic String abeSubmit(\r\n\t\t\t@WebParam(name = \"identity\", targetNamespace = \"http://tempuri.org/\") String identity,\r\n\t\t\t@WebParam(name = \"request\", targetNamespace = \"http://tempuri.org/\") String request,\r\n\t\t\t@WebParam(name = \"filter\", targetNamespace = \"http://tempuri.org/\") String filter);\r\n\r\n\t/**\r\n\t * \r\n\t * @param abeConnectionString\r\n\t * @param userName\r\n\t * @param password\r\n\t * @return returns java.lang.String\r\n\t */\r\n\t@WebMethod(operationName = \"CreateSession\", action = \"http://tempuri.org/CreateSession\")\r\n\t@WebResult(name = \"CreateSessionResult\", targetNamespace = \"http://tempuri.org/\")\r\n\t@RequestWrapper(localName = \"CreateSession\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.CreateSession\")\r\n\t@ResponseWrapper(localName = \"CreateSessionResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.CreateSessionResponse\")\r\n\tpublic String createSession(\r\n\t\t\t@WebParam(name = \"ABEConnectionString\", targetNamespace = \"http://tempuri.org/\") String abeConnectionString,\r\n\t\t\t@WebParam(name = \"UserName\", targetNamespace = \"http://tempuri.org/\") String userName,\r\n\t\t\t@WebParam(name = \"Password\", targetNamespace = \"http://tempuri.org/\") String password);\r\n\r\n\t/**\r\n\t * \r\n\t * @param passportID\r\n\t * @param userName\r\n\t * @param password\r\n\t * @return returns java.lang.String\r\n\t */\r\n\t@WebMethod(operationName = \"ClearSession\", action = \"http://tempuri.org/ClearSession\")\r\n\t@WebResult(name = \"ClearSessionResult\", targetNamespace = \"http://tempuri.org/\")\r\n\t@RequestWrapper(localName = \"ClearSession\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ClearSession\")\r\n\t@ResponseWrapper(localName = \"ClearSessionResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ClearSessionResponse\")\r\n\tpublic String clearSession(\r\n\t\t\t@WebParam(name = \"PassportID\", targetNamespace = \"http://tempuri.org/\") String passportID,\r\n\t\t\t@WebParam(name = \"UserName\", targetNamespace = \"http://tempuri.org/\") String userName,\r\n\t\t\t@WebParam(name = \"Password\", targetNamespace = \"http://tempuri.org/\") String password);\r\n\r\n\t/**\r\n\t * \r\n\t * @param identity\r\n\t * @param request\r\n\t * @param filter\r\n\t * @return returns java.lang.String\r\n\t */\r\n\t@WebMethod(operationName = \"ABE_SendCommand_1_2\", action = \"http://tempuri.org/ABE_SendCommand_1_2\")\r\n\t@WebResult(name = \"ABE_SendCommand_1_2Result\", targetNamespace = \"http://tempuri.org/\")\r\n\t@RequestWrapper(localName = \"ABE_SendCommand_1_2\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ABESendCommand12\")\r\n\t@ResponseWrapper(localName = \"ABE_SendCommand_1_2Response\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.ABESendCommand12Response\")\r\n\tpublic String abeSendCommand12(\r\n\t\t\t@WebParam(name = \"identity\", targetNamespace = \"http://tempuri.org/\") String identity,\r\n\t\t\t@WebParam(name = \"request\", targetNamespace = \"http://tempuri.org/\") String request,\r\n\t\t\t@WebParam(name = \"filter\", targetNamespace = \"http://tempuri.org/\") String filter);\r\n\r\n}", "title": "" }, { "docid": "6ce0a401e18cc530cc8b8932d9316bc3", "score": "0.6381576", "text": "T getService();", "title": "" }, { "docid": "4f2752237a9029576845a4aa516e875c", "score": "0.63728464", "text": "@WebService(name = \"IHelloService\", targetNamespace = \"http://server.ws.core.bush76.com/\")\r\npublic interface IHelloService {\r\n\r\n /**\r\n * \r\n * @param name\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"say\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.Say\")\r\n @ResponseWrapper(localName = \"sayResponse\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.SayResponse\")\r\n public String say(\r\n @WebParam(name = \"name\", targetNamespace = \"\")\r\n String name);\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.util.List<com.bush76.core.ws.client.hello.User>\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"list\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.List\")\r\n @ResponseWrapper(localName = \"listResponse\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.ListResponse\")\r\n public List<User> list();\r\n\r\n /**\r\n * \r\n * @return\r\n * returns com.bush76.core.ws.client.hello.MapConvertor\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"getUserMap\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.GetUserMap\")\r\n @ResponseWrapper(localName = \"getUserMapResponse\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.GetUserMapResponse\")\r\n public MapConvertor getUserMap();\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"getUser\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.GetUser\")\r\n @ResponseWrapper(localName = \"getUserResponse\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.GetUserResponse\")\r\n public String getUser();\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"saveUser\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.SaveUser\")\r\n @ResponseWrapper(localName = \"saveUserResponse\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.SaveUserResponse\")\r\n public String saveUser(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n User arg0);\r\n\r\n /**\r\n * \r\n * @return\r\n * returns com.bush76.core.ws.client.hello.MapConvertor\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"getMapObject\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.GetMapObject\")\r\n @ResponseWrapper(localName = \"getMapObjectResponse\", targetNamespace = \"http://server.ws.core.bush76.com/\", className = \"com.bush76.core.ws.client.hello.GetMapObjectResponse\")\r\n public MapConvertor getMapObject();\r\n\r\n}", "title": "" }, { "docid": "d47407a175b513539396f855451bcf15", "score": "0.6368786", "text": "java.lang.String getService();", "title": "" }, { "docid": "124b826077b02cfbaef945a001ca6f31", "score": "0.63399947", "text": "public interface IWebService {\n\n @Headers({\"Content-Type: application/x-www-form-urlencoded\"})\n @GET(\"/assets/\")\n Call<CCAssets> getAssets();\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<DecodeMemosArray> getDecodedMemosArray(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/x-www-form-urlencoded\"})\n @GET(\"/avatar/{path}/\")\n Call<Image> getGravatarImage(@Path(\"path\") String path);\n\n @Headers({\"Content-Type: application/json\"})\n @GET(\"/api/v2/coins/\")\n Call<Altcoin[]> getAltcoins();\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/get_qr_hash/\")\n Call<QrHash> getQrHash(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/get_qr_hash_w_note/\")\n Call<QrHash> getQrHashWNote(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/ws/\")\n Call<AccountBlock> verifyAccount(@Body Map<String, Object> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/api/v2/simple-api/initiate-trade/\")\n Call<InitiateTradeResponse> initiateTrade(@Body Map<String, String> params);\n\n @GET(\"/get_transactions/{accountId}/{orderId}\")\n Call<TransactionSmartCoin[]> getTransactionSmartCoin(@Path(\"accountId\") String accountId, @Path(\"orderId\") String orderId);\n\n @Headers({\"Content-Type: application/json\"})\n @GET(\"/api/v2/transactions\")\n Call<TransactionAltCoin[]> getTransactionAltCoinToken(@Query(\"sessionToken\") String sessionToken);\n\n @GET(\"/api/v2/simple-api/transactions\")\n Call<TransactionAltCoin[]> getTransactionAltCoin(@Query(\"inputAddress\") String inputAddress);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<RewardResponse> getRewardResponse(@Body Map<String, String> params);\n\n @GET(\"/get_exchange_rates/{baseId}/{quoteId}\")\n Call<ExchangeRate> getExchangeRates(@Path(\"baseId\") String baseId, @Path(\"quoteId\") String quoteId);\n\n @GET(\"/api/v2/estimate-input-amount\")\n Call<InputEstimate> estimateInputAmount(@Query(\"inputCoinType\") String inputCoinType, @Query(\"outputCoinType\") String outputCoinType, @Query(\"outputAmount\") String outputAmount);\n\n @GET(\"/json\")\n Call<CapFeedResponse> getCapfeedData();\n\n @GET(\"/v1/ticker/\")\n Call<List<CoinMarketCapItemResponse>> getCoinMarketcapData(@Query(\"limit\") int limit);\n\n @GET(\"/api/v2/trading-pairs/{inputCoinType}/{outputCoinType}\")\n Call<TradingPair> getTradingPair(@Path(\"inputCoinType\") String inputCoinType, @Path(\"outputCoinType\") String outputCoinType);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<ResponseBinFormat> getBytesFromBrainKey(@Body HashMap<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<GenerateKeys> getGeneratedKeys(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/api/v1/accounts\")\n Call<RegisterAccountResponse> getReg(@Body Map<String, HashMap> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/api/v1/accounts\")\n Call<RegisterAccountOL> getRegOL(@Body Map<String, Object> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<AccountDetails> getAccountFromBin(@Body HashMap<String, Object> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<AccountDetails> getAccount(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<DecodeMemo> getDecodedMemo(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<EquivalentComponentResponse> getEquivalentComponent(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<AccountUpgrade> getAccountUpgrade(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<LtmFee> getLtmFee(@Body Map<String, String> params);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/api/v2/sessions\")\n Call<BlocktradesSessionResponse> getBlocktradeToken(@Body Map<String, Object> params);\n\n @GET(\"/{md5Email}.json\")\n Call<Object> getGravatarProfile(@Path(\"md5Email\") String md5Email);\n\n @Headers({\"Content-Type: application/json\"})\n @POST(\"/\")\n Call<TransactionIdResponse> getTransactionIdComponent(@Body Map<String, String> params);\n\n @GET(\"/api/holders\")\n Call<ResponseBody> getHolders(@Query(\"asset\") String assetSymbol);\n\n @GET(\"/api/v2/trading-pairs\")\n Call<List<BlocktradesTradingPair>> getTradingPairs();\n}", "title": "" }, { "docid": "87b29f08f2a4ffe01d6b17bccc0857c8", "score": "0.6332201", "text": "ServiceInstance getServiceInstanceProxy();", "title": "" }, { "docid": "e9987d83b3908c3f82c6964412931131", "score": "0.63209105", "text": "public interface WebService {\n\n @WebMethod\n public String CallQuery(String AppId, String Sign, String QueryData);//发票查询\n\n @WebMethod\n public String UploadOrder(String AppId, String Sign, String OrderData);//交易信息上传\n \n @WebMethod\n public String CallService(String AppId, String Sign, String invoiceData);//发票上传,全部红冲,部分红冲\n\n @WebMethod\n public String CallService2(String invoiceData);\n\n @WebMethod\n public String Cb(Fwqxx fwqxx);\n\n @WebMethod\n public String Fx(Fwqxx fwqxx);\n \n @WebMethod\n public String invoiceUpload(String xml);//af 发票上传\n \n @WebMethod\n public String UploadOrderData(String AppId, String Sign, String Operation,String invoiceData);\n\n @WebMethod\n public String UploadCommonData(String AppId, String Sign,String invoiceData);\n\n}", "title": "" }, { "docid": "f70c6471c157f4521932996dfd6ff3cf", "score": "0.6320109", "text": "@WebService(name = \"License\", targetNamespace = \"http://webservices.license.befasoft.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface License {\n\n\n /**\n * \n * @param idAplicacion\n * @param sessionID\n * @param idCliente\n * @param idDistribuidor\n * @return\n * returns java.util.List<com.befasoft.common.business.webservices.license.Licencia>\n * @throws Exception_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getLicense\", targetNamespace = \"http://webservices.license.befasoft.com/\", className = \"com.befasoft.common.business.webservices.license.GetLicense\")\n @ResponseWrapper(localName = \"getLicenseResponse\", targetNamespace = \"http://webservices.license.befasoft.com/\", className = \"com.befasoft.common.business.webservices.license.GetLicenseResponse\")\n public List<Licencia> getLicense(\n @WebParam(name = \"sessionID\", targetNamespace = \"\")\n String sessionID,\n @WebParam(name = \"id_distribuidor\", targetNamespace = \"\")\n Long idDistribuidor,\n @WebParam(name = \"id_aplicacion\", targetNamespace = \"\")\n String idAplicacion,\n @WebParam(name = \"id_cliente\", targetNamespace = \"\")\n Long idCliente)\n throws Exception_Exception\n ;\n\n}", "title": "" }, { "docid": "b15ca2c07a911ecc6bc7cbd0135a8f8d", "score": "0.6318257", "text": "@WebService\npublic interface IEchoWebService extends IResilientWebService {\n\n\t/**\n\t * Returns the input in upper case\n\t * @param input to be processed\n\t * @return the input in upper case\n\t */\n\t@WebMethod\n\tString echo(String input);\n\t\n}", "title": "" }, { "docid": "a2fb09a1aa3d768280c8a4f4be201baf", "score": "0.6304936", "text": "@WebService(name = \"TTIWSEndpoint\", targetNamespace = \"http://wsendpoint.sefaz.tti.com.br/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface TTIWSEndpoint {\n\n\n /**\n * \n * @param justificativa\n * @param tipo\n * @param dataHora\n * @param chaveNFe\n * @return\n * returns br.com.tti.sefaz.ttirec.wsclient.TRetEnvEvento\n * @throws Exception_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"enviarEvento\", targetNamespace = \"http://wsendpoint.sefaz.tti.com.br/\", className = \"br.com.tti.sefaz.ttirec.wsclient.EnviarEvento\")\n @ResponseWrapper(localName = \"enviarEventoResponse\", targetNamespace = \"http://wsendpoint.sefaz.tti.com.br/\", className = \"br.com.tti.sefaz.ttirec.wsclient.EnviarEventoResponse\")\n public TRetEnvEvento enviarEvento(\n @WebParam(name = \"chaveNFe\", targetNamespace = \"\")\n String chaveNFe,\n @WebParam(name = \"tipo\", targetNamespace = \"\")\n int tipo,\n @WebParam(name = \"justificativa\", targetNamespace = \"\")\n String justificativa,\n @WebParam(name = \"dataHora\", targetNamespace = \"\")\n String dataHora)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param params\n * @param chaveNFe\n * @return\n * returns java.util.List<br.com.tti.sefaz.ttirec.wsclient.TEvento>\n * @throws Exception_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"obterEventos\", targetNamespace = \"http://wsendpoint.sefaz.tti.com.br/\", className = \"br.com.tti.sefaz.ttirec.wsclient.ObterEventos\")\n @ResponseWrapper(localName = \"obterEventosResponse\", targetNamespace = \"http://wsendpoint.sefaz.tti.com.br/\", className = \"br.com.tti.sefaz.ttirec.wsclient.ObterEventosResponse\")\n public List<TEvento> obterEventos(\n @WebParam(name = \"chaveNFe\", targetNamespace = \"\")\n String chaveNFe,\n @WebParam(name = \"params\", targetNamespace = \"\")\n Hashtable params)\n throws Exception_Exception\n ;\n\n /**\n * \n * @param params\n * @param cnpj\n * @return\n * returns java.util.List<br.com.tti.sefaz.ttirec.wsclient.RetConsNFeDest>\n * @throws Exception_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"consultaNFeDest\", targetNamespace = \"http://wsendpoint.sefaz.tti.com.br/\", className = \"br.com.tti.sefaz.ttirec.wsclient.ConsultaNFeDest\")\n @ResponseWrapper(localName = \"consultaNFeDestResponse\", targetNamespace = \"http://wsendpoint.sefaz.tti.com.br/\", className = \"br.com.tti.sefaz.ttirec.wsclient.ConsultaNFeDestResponse\")\n public List<RetConsNFeDest> consultaNFeDest(\n @WebParam(name = \"cnpj\", targetNamespace = \"\")\n String cnpj,\n @WebParam(name = \"params\", targetNamespace = \"\")\n Hashtable params)\n throws Exception_Exception\n ;\n\n}", "title": "" }, { "docid": "1c888fc6243a3629f847710ddcdaa096", "score": "0.6302814", "text": "public interface WebService {\n\n\t/* check first connection */\n @GET(\"member/get/{mobileId}/{cellNumber}\")\n Call<Long> getMyId(@Path(\"mobileId\") String mobileId,@Path(\"cellNumber\") String cellNumber);\n\n /* update local database */\n\n @GET(\"association\")\n Call<AssociationDto> getAssociation();\n\n @GET(\"member/get/{id}/member\")\n Call<MemberDto> getMyProfile(@Path(\"id\") long id);\n\n @GET(\"supplyDemand/get/all\")\n Call<SuppliesDemandsDto> getAllSuppliesDemands();\n\n @GET(\"member/get/all\")\n Call<MembersDto> getAllMembers();\n\n @GET(\"category\")\n Call<CategoriesDto> getAllCategories();\n\n @GET(\"member/get/{id}/wealthSheet\")\n Call<WealthSheetDto> getWealthSheet(@Path(\"id\") long id);\n\n @GET(\"member/get/{id}/transaction\")\n Call<TransactionsDto> getTransactions(@Path(\"id\") long id);\n\n /* update remote database */\n\n @PUT(\"member/put\")\n Call<Void> updateProfile(@Body MembersDto memberDto);\n\n @PUT(\"member/put/{id}/dateLastUpdate\")\n Call<Void> updateDateLastUpdate(@Path(\"id\") long id);\n\n @DELETE(\"supplyDemand/delete/{id}\")\n Call<Void> deleteSupplyDemand(@Path(\"id\") long id);\n\n @PUT(\"supplyDemand/put\")\n Call<Void> updateSupplyDemand(@Body SupplyDemandDto supplyDemandDto);\n\n @POST(\"supplyDemand/post\")\n Call<Void> addSupplyDemand(@Body SupplyDemandDto supplyDemandDto);\n\n @POST(\"transaction\")\n Call<Void> addTransaction(@Body TransactionDto transactionDto);\n \n @GET(\"association/authentication/{login}/{password}/{number}\")\n Call<MembersDto> checkIds(@Path(\"login\") String login, @Path(\"password\") String password,@Path(\"number\") int number);\n \n @PUT(\"association/put\")\n Call<Void> upDateAssociation(@Body AssociationDto associationDto);\n \n @POST(\"category/post\")\n Call<Void> addCategory(@Body CategoryDto categoryDto);\n \n @PUT(\"category/delete/{id}\")\n Call<CategoriesDto> deleteCategory(@Path(\"id\") long id);\n\n @GET(\"member/get/last/{number}\")\n Call<MembersDto> getLastMembers(@Path(\"number\") int number);\n \n @POST(\"member/get/attributes\")\n Call<MembersDto> getMembers(@Body MemberDto memberDto);\n \n @DELETE(\"member/delete/{id}\")\n Call<MembersDto> deleteMember(@Path(\"id\") long id);\n \n @POST(\"member/post\")\n Call<Void> create(@Body MemberDto member);\n \n @PUT(\"member/put/member\")\n\tCall<MemberDto> update(@Body MemberDto member);\n \n @POST(\"message\")\n Call<Void> addMessage(@Body MessageDto message);\n \n @GET(\"message/get/all\")\n Call<MessagesDto> getMessages();\n \n @PUT(\"message/delete/{id}\")\n Call<MessagesDto> deleteMessage(@Path(\"id\") long id);\n \n @GET(\"supplyDemand/get/type/{type}\")\n Call<SuppliesDemandsDto> getSuppliesDemands(@Path(\"type\") String type);\n \n @PUT(\"supplyDemand/delete/get/{id}\")\n Call<SuppliesDemandsDto> deleteGetSupplyDemand(@Path(\"id\") long id);\n \n @GET(\"member/get/{id}\")\n Call<MemberDto> getMember(@Path(\"id\") long id);\n \n @GET(\"supplyDemand/get/{id}\")\n Call<SupplyDemandDto> getSupplyDemand(@Path(\"id\") long id);\n \n \n @POST(\"transaction/post/get\")\n Call<TransactionDto> buildTransaction(@Body TransactionDto transaction);\n}", "title": "" }, { "docid": "0697d66534c8e27ec49e556129fee6d7", "score": "0.6291847", "text": "@WebService(targetNamespace = \"http://www.centershift.com/STORE40/\", name = \"WSSoap\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface WSSoap {\r\n\r\n @WebResult(name = \"viewLetterPdfResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"viewLetterPdf\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ViewLetterPdf\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/viewLetterPdf\")\r\n @ResponseWrapper(localName = \"viewLetterPdfResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ViewLetterPdfResponse\")\r\n public com.centershift.store40.PdfFilePathResponse viewLetterPdf(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ViewLtrRequest request\r\n );\r\n\r\n @WebResult(name = \"CancelReservationCashCreditResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CancelReservationCashCredit\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelReservationCashCredit\")\r\n @WebMethod(operationName = \"CancelReservationCashCredit\", action = \"http://www.centershift.com/STORE40/CancelReservationCashCredit\")\r\n @ResponseWrapper(localName = \"CancelReservationCashCreditResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelReservationCashCreditResponse\")\r\n public com.centershift.store40.CancelReservationCashCreditResponse2 cancelReservationCashCredit(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CancelReservationRequest request,\r\n @WebParam(name = \"RefundInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RefundData refundInfo\r\n );\r\n\r\n @WebResult(name = \"GetLetterInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetLetterInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLetterInfo\")\r\n @WebMethod(operationName = \"GetLetterInfo\", action = \"http://www.centershift.com/STORE40/GetLetterInfo\")\r\n @ResponseWrapper(localName = \"GetLetterInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLetterInfoResponse\")\r\n public com.centershift.store40.GetLetterInfoResponse2 getLetterInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetLetterInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"RemovePCDResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"RemovePCD\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RemovePCD\")\r\n @WebMethod(operationName = \"RemovePCD\", action = \"http://www.centershift.com/STORE40/RemovePCD\")\r\n @ResponseWrapper(localName = \"RemovePCDResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RemovePCDResponse\")\r\n public com.centershift.store40.RemovePCDResponse2 removePCD(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RemovePCDRequest request\r\n );\r\n\r\n @WebResult(name = \"ExportInsuranceDetailResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ExportInsuranceDetail\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ExportInsuranceDetail\")\r\n @WebMethod(operationName = \"ExportInsuranceDetail\", action = \"http://www.centershift.com/STORE40/ExportInsuranceDetail\")\r\n @ResponseWrapper(localName = \"ExportInsuranceDetailResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ExportInsuranceDetailResponse\")\r\n public com.centershift.store40.ExportInsuranceDetailResponse2 exportInsuranceDetail(\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ExportInsuranceDetailRequest request\r\n );\r\n\r\n @WebResult(name = \"GetUnitDataResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetUnitData\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetUnitData\")\r\n @WebMethod(operationName = \"GetUnitData\", action = \"http://www.centershift.com/STORE40/GetUnitData\")\r\n @ResponseWrapper(localName = \"GetUnitDataResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetUnitDataResponse\")\r\n public com.centershift.store40.GetUnitDataResponse2 getUnitData(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetUnitDataRequest request\r\n );\r\n\r\n @WebResult(name = \"getScheduledLetterListResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getScheduledLetterList\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetScheduledLetterList\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getScheduledLetterList\")\r\n @ResponseWrapper(localName = \"getScheduledLetterListResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetScheduledLetterListResponse\")\r\n public com.centershift.store40.GetScheduledLetterListResponse2 getScheduledLetterList(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetScheduledLetterListRequest request\r\n );\r\n\r\n @WebResult(name = \"GetSiteAttributesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteAttributes\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteAttributes\")\r\n @WebMethod(operationName = \"GetSiteAttributes\", action = \"http://www.centershift.com/STORE40/GetSiteAttributes\")\r\n @ResponseWrapper(localName = \"GetSiteAttributesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteAttributesResponse\")\r\n public com.centershift.store40.GetSiteAttributesResponse2 getSiteAttributes(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetSiteAttributesRequest request\r\n );\r\n\r\n @WebResult(name = \"viewLeasePdfResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"viewLeasePdf\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ViewLeasePdf\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/viewLeasePdf\")\r\n @ResponseWrapper(localName = \"viewLeasePdfResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ViewLeasePdfResponse\")\r\n public com.centershift.store40.PdfFilePathResponse viewLeasePdf(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ViewLeaseRequest request\r\n );\r\n\r\n @WebResult(name = \"ExportRefundsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ExportRefunds\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ExportRefunds\")\r\n @WebMethod(operationName = \"ExportRefunds\", action = \"http://www.centershift.com/STORE40/ExportRefunds\")\r\n @ResponseWrapper(localName = \"ExportRefundsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ExportRefundsResponse\")\r\n public com.centershift.store40.RefundResponse exportRefunds(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RefundRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAutoPaySettingsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAutoPaySettings\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAutoPaySettings\")\r\n @WebMethod(operationName = \"GetAutoPaySettings\", action = \"http://www.centershift.com/STORE40/GetAutoPaySettings\")\r\n @ResponseWrapper(localName = \"GetAutoPaySettingsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAutoPaySettingsResponse\")\r\n public com.centershift.store40.ArrayOfGetAutoPaySettingsResponse getAutoPaySettings(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAutoPaySettingsRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAvailableDiscountsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAvailableDiscounts\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableDiscounts\")\r\n @WebMethod(operationName = \"GetAvailableDiscounts\", action = \"http://www.centershift.com/STORE40/GetAvailableDiscounts\")\r\n @ResponseWrapper(localName = \"GetAvailableDiscountsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableDiscountsResponse\")\r\n public com.centershift.store40.GetAvailableDiscountsResponse2 getAvailableDiscounts(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAvailableDiscountsRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitStatusResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitStatus\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitStatus\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitStatus\")\r\n @ResponseWrapper(localName = \"eUnitStatusResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitStatusResponse\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eUnitStatus(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"GetUnitFeaturesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetUnitFeatures\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetUnitFeatures\")\r\n @WebMethod(operationName = \"GetUnitFeatures\", action = \"http://www.centershift.com/STORE40/GetUnitFeatures\")\r\n @ResponseWrapper(localName = \"GetUnitFeaturesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetUnitFeaturesResponse\")\r\n public com.centershift.store40.GetUnitFeaturesResponse2 getUnitFeatures(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetUnitFeaturesRequest request\r\n );\r\n\r\n @WebResult(name = \"GetContactsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetContacts\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetContacts\")\r\n @WebMethod(operationName = \"GetContacts\", action = \"http://www.centershift.com/STORE40/GetContacts\")\r\n @ResponseWrapper(localName = \"GetContactsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetContactsResponse\")\r\n public com.centershift.store40.GetContactsResponse2 getContacts(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetContactsRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitAttr01Result\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitAttr01\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitAttr01\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitAttr01\")\r\n @ResponseWrapper(localName = \"eUnitAttr01Response\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitAttr01Response\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eUnitAttr01(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"EXRFIUExportResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"EXRFIUExport\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EXRFIUExport\")\r\n @WebMethod(operationName = \"EXRFIUExport\", action = \"http://www.centershift.com/STORE40/EXRFIUExport\")\r\n @ResponseWrapper(localName = \"EXRFIUExportResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EXRFIUExportResponse\")\r\n public com.centershift.store40.EXRFIUResponse exrfiuExport(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.FIURequest request\r\n );\r\n\r\n @WebResult(name = \"GetSiteUnitDataFilteredResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteUnitDataFiltered\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteUnitDataFiltered\")\r\n @WebMethod(operationName = \"GetSiteUnitDataFiltered\", action = \"http://www.centershift.com/STORE40/GetSiteUnitDataFiltered\")\r\n @ResponseWrapper(localName = \"GetSiteUnitDataFilteredResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteUnitDataFilteredResponse\")\r\n public com.centershift.store40.GetSiteUnitDataResponse getSiteUnitDataFiltered(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetSiteUnitDataRequest request\r\n );\r\n\r\n @WebResult(name = \"RetrievePasswordResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"RetrievePassword\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RetrievePassword\")\r\n @WebMethod(operationName = \"RetrievePassword\", action = \"http://www.centershift.com/STORE40/RetrievePassword\")\r\n @ResponseWrapper(localName = \"RetrievePasswordResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RetrievePasswordResponse\")\r\n public com.centershift.store40.PasswordResponse retrievePassword(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.PasswordRequest request\r\n );\r\n\r\n @WebResult(name = \"GetUnitStatusResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetUnitStatus\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetUnitStatus\")\r\n @WebMethod(operationName = \"GetUnitStatus\", action = \"http://www.centershift.com/STORE40/GetUnitStatus\")\r\n @ResponseWrapper(localName = \"GetUnitStatusResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetUnitStatusResponse\")\r\n public com.centershift.store40.GetUnitStatusResponse2 getUnitStatus(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetUnitStatusRequest request\r\n );\r\n\r\n @WebResult(name = \"ProcessManualAutoPayResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ProcessManualAutoPay\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ProcessManualAutoPay\")\r\n @WebMethod(operationName = \"ProcessManualAutoPay\", action = \"http://www.centershift.com/STORE40/ProcessManualAutoPay\")\r\n @ResponseWrapper(localName = \"ProcessManualAutoPayResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ProcessManualAutoPayResponse\")\r\n public com.centershift.store40.ProcessManualAutoPayResponse2 processManualAutoPay(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ProcessManualAutoPayRequest request\r\n );\r\n\r\n @WebResult(name = \"CancelReservationResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CancelReservation\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelReservation\")\r\n @WebMethod(operationName = \"CancelReservation\", action = \"http://www.centershift.com/STORE40/CancelReservation\")\r\n @ResponseWrapper(localName = \"CancelReservationResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelReservationResponse\")\r\n public com.centershift.store40.CancelReservationResponse2 cancelReservation(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CancelReservationRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAssessmentsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAssessments\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAssessments\")\r\n @WebMethod(operationName = \"GetAssessments\", action = \"http://www.centershift.com/STORE40/GetAssessments\")\r\n @ResponseWrapper(localName = \"GetAssessmentsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAssessmentsResponse\")\r\n public com.centershift.store40.GetAssessmentsResponse2 getAssessments(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAssessmentsRequest request\r\n );\r\n\r\n @WebResult(name = \"MakeEcommReservationResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"MakeEcommReservation\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeEcommReservation\")\r\n @WebMethod(operationName = \"MakeEcommReservation\", action = \"http://www.centershift.com/STORE40/MakeEcommReservation\")\r\n @ResponseWrapper(localName = \"MakeEcommReservationResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeEcommReservationResponse\")\r\n public com.centershift.store40.MakeReservationResponse makeEcommReservation(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MakeEcommReservationRequest request\r\n );\r\n\r\n @WebResult(name = \"GetSiteUnitDataResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteUnitData\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteUnitData\")\r\n @WebMethod(operationName = \"GetSiteUnitData\", action = \"http://www.centershift.com/STORE40/GetSiteUnitData\")\r\n @ResponseWrapper(localName = \"GetSiteUnitDataResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteUnitDataResponse2\")\r\n public com.centershift.store40.GetSiteUnitDataResponse getSiteUnitData(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetSiteUnitDataRequest request\r\n );\r\n\r\n @WebResult(name = \"GetEcommRentalInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetEcommRentalInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEcommRentalInfo\")\r\n @WebMethod(operationName = \"GetEcommRentalInfo\", action = \"http://www.centershift.com/STORE40/GetEcommRentalInfo\")\r\n @ResponseWrapper(localName = \"GetEcommRentalInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEcommRentalInfoResponse\")\r\n public com.centershift.store40.GetEcommRentalInfoResponse2 getEcommRentalInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetEcommRentalInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAssessmentsByIDResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAssessmentsByID\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAssessmentsByID\")\r\n @WebMethod(operationName = \"GetAssessmentsByID\", action = \"http://www.centershift.com/STORE40/GetAssessmentsByID\")\r\n @ResponseWrapper(localName = \"GetAssessmentsByIDResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAssessmentsByIDResponse\")\r\n public com.centershift.store40.GetAssessmentsByIDResponse2 getAssessmentsByID(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAssessmentsByIDRequest request\r\n );\r\n\r\n @WebResult(name = \"GetBaseFeesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetBaseFees\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetBaseFees\")\r\n @WebMethod(operationName = \"GetBaseFees\", action = \"http://www.centershift.com/STORE40/GetBaseFees\")\r\n @ResponseWrapper(localName = \"GetBaseFeesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetBaseFeesResponse\")\r\n public com.centershift.store40.GetBaseFeesResponse2 getBaseFees(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetBaseFeesRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateContactResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateContact\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateContact\")\r\n @WebMethod(operationName = \"UpdateContact\", action = \"http://www.centershift.com/STORE40/UpdateContact\")\r\n @ResponseWrapper(localName = \"UpdateContactResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateContactResponse\")\r\n public com.centershift.store40.ContactResponse updateContact(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ContactRequest request\r\n );\r\n\r\n @WebResult(name = \"CreateNotesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CreateNotes\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateNotes\")\r\n @WebMethod(operationName = \"CreateNotes\", action = \"http://www.centershift.com/STORE40/CreateNotes\")\r\n @ResponseWrapper(localName = \"CreateNotesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateNotesResponse\")\r\n public com.centershift.store40.CreateNotesResponse2 createNotes(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateNotesRequest request\r\n );\r\n\r\n @WebResult(name = \"GetInsuranceProvidersResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetInsuranceProviders\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetInsuranceProviders\")\r\n @WebMethod(operationName = \"GetInsuranceProviders\", action = \"http://www.centershift.com/STORE40/GetInsuranceProviders\")\r\n @ResponseWrapper(localName = \"GetInsuranceProvidersResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetInsuranceProvidersResponse\")\r\n public com.centershift.store40.GetInsuranceProvidersResponse2 getInsuranceProviders(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetInsuranceProvidersRequest request\r\n );\r\n\r\n @WebResult(name = \"SendEmailResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SendEmail\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmail\")\r\n @WebMethod(operationName = \"SendEmail\", action = \"http://www.centershift.com/STORE40/SendEmail\")\r\n @ResponseWrapper(localName = \"SendEmailResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmailResponse2\")\r\n public com.centershift.store40.SendEmailResponse sendEmail(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SendEmailRequest request\r\n );\r\n\r\n @WebResult(name = \"GetTotalDuePastDueResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetTotalDuePastDue\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTotalDuePastDue\")\r\n @WebMethod(operationName = \"GetTotalDuePastDue\", action = \"http://www.centershift.com/STORE40/GetTotalDuePastDue\")\r\n @ResponseWrapper(localName = \"GetTotalDuePastDueResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTotalDuePastDueResponse\")\r\n public com.centershift.store40.GetTotalDuePastDueResponse2 getTotalDuePastDue(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetTotalDueRequest request\r\n );\r\n\r\n @WebResult(name = \"FIUSelectResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"FIUSelect\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUSelect\")\r\n @WebMethod(operationName = \"FIUSelect\", action = \"http://www.centershift.com/STORE40/FIUSelect\")\r\n @ResponseWrapper(localName = \"FIUSelectResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUSelectResponse\")\r\n public com.centershift.store40.FIUResponse fiuSelect(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.FIURequest request\r\n );\r\n\r\n @WebResult(name = \"CompleteUnitTransferResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CompleteUnitTransfer\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CompleteUnitTransfer\")\r\n @WebMethod(operationName = \"CompleteUnitTransfer\", action = \"http://www.centershift.com/STORE40/CompleteUnitTransfer\")\r\n @ResponseWrapper(localName = \"CompleteUnitTransferResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CompleteUnitTransferResponse\")\r\n public com.centershift.store40.CompleteUnitTransferResponse2 completeUnitTransfer(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CompleteUnitTransferRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateReservationResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateReservation\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateReservation\")\r\n @WebMethod(operationName = \"UpdateReservation\", action = \"http://www.centershift.com/STORE40/UpdateReservation\")\r\n @ResponseWrapper(localName = \"UpdateReservationResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateReservationResponse\")\r\n public com.centershift.store40.MakeReservationResponse updateReservation(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MakeReservationRequest request\r\n );\r\n\r\n @WebResult(name = \"GetOrgListResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetOrgList\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetOrgList\")\r\n @WebMethod(operationName = \"GetOrgList\", action = \"http://www.centershift.com/STORE40/GetOrgList\")\r\n @ResponseWrapper(localName = \"GetOrgListResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetOrgListResponse\")\r\n public com.centershift.store40.GetOrgListResponse2 getOrgList(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest\r\n );\r\n\r\n @WebResult(name = \"VerifyLoginResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"VerifyLogin\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VerifyLogin\")\r\n @WebMethod(operationName = \"VerifyLogin\", action = \"http://www.centershift.com/STORE40/VerifyLogin\")\r\n @ResponseWrapper(localName = \"VerifyLoginResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VerifyLoginResponse\")\r\n public com.centershift.store40.PasswordResponse verifyLogin(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.PasswordRequest request\r\n );\r\n\r\n @WebResult(name = \"FIUExportResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"FIUExport\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUExport\")\r\n @WebMethod(operationName = \"FIUExport\", action = \"http://www.centershift.com/STORE40/FIUExport\")\r\n @ResponseWrapper(localName = \"FIUExportResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUExportResponse\")\r\n public com.centershift.store40.FIUResponse fiuExport(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.FIURequest request\r\n );\r\n\r\n @WebResult(name = \"getLeaseGroupTemplateInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getLeaseGroupTemplateInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLeaseGroupTemplateInfo\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getLeaseGroupTemplateInfo\")\r\n @ResponseWrapper(localName = \"getLeaseGroupTemplateInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLeaseGroupTemplateInfoResponse\")\r\n public com.centershift.store40.GetLeaseGroupTemplateInfoResponse2 getLeaseGroupTemplateInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetLeaseGroupTemplateInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"GetRefundTypesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetRefundTypes\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRefundTypes\")\r\n @WebMethod(operationName = \"GetRefundTypes\", action = \"http://www.centershift.com/STORE40/GetRefundTypes\")\r\n @ResponseWrapper(localName = \"GetRefundTypesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRefundTypesResponse\")\r\n public com.centershift.store40.GetRefundTypesResponse2 getRefundTypes(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetRefundTypesRequest request\r\n );\r\n\r\n @WebResult(name = \"GetVersionResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetVersion\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetVersion\")\r\n @WebMethod(operationName = \"GetVersion\", action = \"http://www.centershift.com/STORE40/GetVersion\")\r\n @ResponseWrapper(localName = \"GetVersionResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetVersionResponse\")\r\n public java.lang.String getVersion();\r\n\r\n @WebResult(name = \"UpdateUnitStatusResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateUnitStatus\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateUnitStatus\")\r\n @WebMethod(operationName = \"UpdateUnitStatus\", action = \"http://www.centershift.com/STORE40/UpdateUnitStatus\")\r\n @ResponseWrapper(localName = \"UpdateUnitStatusResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateUnitStatusResponse\")\r\n public com.centershift.store40.UpdateUnitStatusResponse2 updateUnitStatus(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateUnitStatusRequest request\r\n );\r\n\r\n @WebResult(name = \"SellRetailWithAccountResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SellRetailWithAccount\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailWithAccount\")\r\n @WebMethod(operationName = \"SellRetailWithAccount\", action = \"http://www.centershift.com/STORE40/SellRetailWithAccount\")\r\n @ResponseWrapper(localName = \"SellRetailWithAccountResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailWithAccountResponse\")\r\n public com.centershift.store40.SellRetailWithAccountResponse2 sellRetailWithAccount(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SellRetailWithAccountRequest request\r\n );\r\n\r\n @WebResult(name = \"viewReceiptPdfResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"viewReceiptPdf\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ViewReceiptPdf\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/viewReceiptPdf\")\r\n @ResponseWrapper(localName = \"viewReceiptPdfResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ViewReceiptPdfResponse\")\r\n public com.centershift.store40.PdfFilePathResponse viewReceiptPdf(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateOrViewReceiptRequest request\r\n );\r\n\r\n @WebResult(name = \"getReceiptTemplateInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getReceiptTemplateInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetReceiptTemplateInfo\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getReceiptTemplateInfo\")\r\n @ResponseWrapper(localName = \"getReceiptTemplateInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetReceiptTemplateInfoResponse\")\r\n public com.centershift.store40.GetLtrTemplateInfoResponse getReceiptTemplateInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetLtrTemplateInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"AddNewAddressResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddNewAddress\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddNewAddress\")\r\n @WebMethod(operationName = \"AddNewAddress\", action = \"http://www.centershift.com/STORE40/AddNewAddress\")\r\n @ResponseWrapper(localName = \"AddNewAddressResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddNewAddressResponse\")\r\n public com.centershift.store40.AddressResponse addNewAddress(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ContactAddress request\r\n );\r\n\r\n @WebResult(name = \"UpdateUnitStatusExpandedResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateUnitStatusExpanded\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateUnitStatusExpanded\")\r\n @WebMethod(operationName = \"UpdateUnitStatusExpanded\", action = \"http://www.centershift.com/STORE40/UpdateUnitStatusExpanded\")\r\n @ResponseWrapper(localName = \"UpdateUnitStatusExpandedResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateUnitStatusExpandedResponse\")\r\n public com.centershift.store40.UpdateUnitStatusExpandedResponse2 updateUnitStatusExpanded(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateUnitStatusExpandedRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateEcommPasswordResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateEcommPassword\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateEcommPassword\")\r\n @WebMethod(operationName = \"UpdateEcommPassword\", action = \"http://www.centershift.com/STORE40/UpdateEcommPassword\")\r\n @ResponseWrapper(localName = \"UpdateEcommPasswordResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateEcommPasswordResponse\")\r\n public com.centershift.store40.UpdateEcommPasswordResponse2 updateEcommPassword(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateEcommPasswordRequest request\r\n );\r\n\r\n @WebResult(name = \"ResetServicesPasswordResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ResetServicesPassword\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ResetServicesPassword\")\r\n @WebMethod(operationName = \"ResetServicesPassword\", action = \"http://www.centershift.com/STORE40/ResetServicesPassword\")\r\n @ResponseWrapper(localName = \"ResetServicesPasswordResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ResetServicesPasswordResponse\")\r\n public com.centershift.store40.ResetServicesPasswordResponse2 resetServicesPassword(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ResetServicesPasswordRequest request\r\n );\r\n\r\n @WebResult(name = \"GetRefundsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetRefunds\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRefunds\")\r\n @WebMethod(operationName = \"GetRefunds\", action = \"http://www.centershift.com/STORE40/GetRefunds\")\r\n @ResponseWrapper(localName = \"GetRefundsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRefundsResponse\")\r\n public com.centershift.store40.RefundResponse getRefunds(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RefundRequest request\r\n );\r\n\r\n @WebResult(name = \"GetReservationsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetReservations\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetReservations\")\r\n @WebMethod(operationName = \"GetReservations\", action = \"http://www.centershift.com/STORE40/GetReservations\")\r\n @ResponseWrapper(localName = \"GetReservationsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetReservationsResponse\")\r\n public com.centershift.store40.GetReservationsResponse2 getReservations(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetReservationsRequest request\r\n );\r\n\r\n @WebResult(name = \"RentalActivityResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"RentalActivity\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RentalActivity\")\r\n @WebMethod(operationName = \"RentalActivity\", action = \"http://www.centershift.com/STORE40/RentalActivity\")\r\n @ResponseWrapper(localName = \"RentalActivityResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RentalActivityResponse\")\r\n public com.centershift.store40.RentalActivityResponse2 rentalActivity(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RentalActivityRequest request\r\n );\r\n\r\n @WebResult(name = \"AddUpdateAutoPaySettingsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddUpdateAutoPaySettings\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddUpdateAutoPaySettings\")\r\n @WebMethod(operationName = \"AddUpdateAutoPaySettings\", action = \"http://www.centershift.com/STORE40/AddUpdateAutoPaySettings\")\r\n @ResponseWrapper(localName = \"AddUpdateAutoPaySettingsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddUpdateAutoPaySettingsResponse\")\r\n public com.centershift.store40.AddUpdateAutoPaySettingsResponse2 addUpdateAutoPaySettings(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddUpdateAutoPaySettingsRequest request\r\n );\r\n\r\n @WebResult(name = \"GetPrimaryRentalInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetPrimaryRentalInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetPrimaryRentalInfo\")\r\n @WebMethod(operationName = \"GetPrimaryRentalInfo\", action = \"http://www.centershift.com/STORE40/GetPrimaryRentalInfo\")\r\n @ResponseWrapper(localName = \"GetPrimaryRentalInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetPrimaryRentalInfoResponse\")\r\n public com.centershift.store40.GetPrimaryRentalInfoResponse2 getPrimaryRentalInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetPrimaryRentalInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"AddDepositResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddDeposit\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddDeposit\")\r\n @WebMethod(operationName = \"AddDeposit\", action = \"http://www.centershift.com/STORE40/AddDeposit\")\r\n @ResponseWrapper(localName = \"AddDepositResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddDepositResponse\")\r\n public com.centershift.store40.AddDepositResponse2 addDeposit(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddDepositRequest request\r\n );\r\n\r\n @WebResult(name = \"AddUpdatePCDResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddUpdatePCD\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddUpdatePCD\")\r\n @WebMethod(operationName = \"AddUpdatePCD\", action = \"http://www.centershift.com/STORE40/AddUpdatePCD\")\r\n @ResponseWrapper(localName = \"AddUpdatePCDResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddUpdatePCDResponse\")\r\n public com.centershift.store40.AddUpdatePCDResponse2 addUpdatePCD(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddUpdatePCDRequest request\r\n );\r\n\r\n @WebResult(name = \"VoidMoveInResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"VoidMoveIn\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidMoveIn\")\r\n @WebMethod(operationName = \"VoidMoveIn\", action = \"http://www.centershift.com/STORE40/VoidMoveIn\")\r\n @ResponseWrapper(localName = \"VoidMoveInResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidMoveInResponse\")\r\n public com.centershift.store40.VoidMoveInResponse2 voidMoveIn(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.VoidMoveInRequest request\r\n );\r\n\r\n @WebResult(name = \"AddUpdateMerchandiseItemsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddUpdateMerchandiseItems\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddUpdateMerchandiseItems\")\r\n @WebMethod(operationName = \"AddUpdateMerchandiseItems\", action = \"http://www.centershift.com/STORE40/AddUpdateMerchandiseItems\")\r\n @ResponseWrapper(localName = \"AddUpdateMerchandiseItemsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddUpdateMerchandiseItemsResponse\")\r\n public com.centershift.store40.AddUpdateMerchandiseItemsResponse2 addUpdateMerchandiseItems(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddUpdateMerchandiseItemsRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateRentRateResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateRentRate\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateRentRate\")\r\n @WebMethod(operationName = \"UpdateRentRate\", action = \"http://www.centershift.com/STORE40/UpdateRentRate\")\r\n @ResponseWrapper(localName = \"UpdateRentRateResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateRentRateResponse\")\r\n public com.centershift.store40.UpdateRentRateResponse2 updateRentRate(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateRentRateRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitFeaturesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitFeatures\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitFeatures\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitFeatures\")\r\n @ResponseWrapper(localName = \"eUnitFeaturesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitFeaturesResponse\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eUnitFeatures(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"SellRetailNoAccountResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SellRetailNoAccount\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailNoAccount\")\r\n @WebMethod(operationName = \"SellRetailNoAccount\", action = \"http://www.centershift.com/STORE40/SellRetailNoAccount\")\r\n @ResponseWrapper(localName = \"SellRetailNoAccountResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailNoAccountResponse\")\r\n public com.centershift.store40.SellRetailNoAccountResponse2 sellRetailNoAccount(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SellRetailNoAccountRequest request\r\n );\r\n\r\n @WebResult(name = \"SendEmailContactResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SendEmailContact\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmailContact\")\r\n @WebMethod(operationName = \"SendEmailContact\", action = \"http://www.centershift.com/STORE40/SendEmailContact\")\r\n @ResponseWrapper(localName = \"SendEmailContactResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmailContactResponse\")\r\n public com.centershift.store40.SendEmailResponse sendEmailContact(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SendEmailContactRequest request\r\n );\r\n\r\n @WebResult(name = \"FIUReIntResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"FIUReInt\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUReInt\")\r\n @WebMethod(operationName = \"FIUReInt\", action = \"http://www.centershift.com/STORE40/FIUReInt\")\r\n @ResponseWrapper(localName = \"FIUReIntResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUReIntResponse\")\r\n public com.centershift.store40.FIUResponse fiuReInt(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.FIURequest request\r\n );\r\n\r\n @WebResult(name = \"CreateNewAccountResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CreateNewAccount\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateNewAccount\")\r\n @WebMethod(operationName = \"CreateNewAccount\", action = \"http://www.centershift.com/STORE40/CreateNewAccount\")\r\n @ResponseWrapper(localName = \"CreateNewAccountResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateNewAccountResponse\")\r\n public com.centershift.store40.StructCreateAccount createNewAccount(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateNewAccountRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitAccessTypeResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitAccessType\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitAccessType\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitAccessType\")\r\n @ResponseWrapper(localName = \"eUnitAccessTypeResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitAccessTypeResponse\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eUnitAccessType(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"scheduledLetterResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"scheduledLetter\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ScheduledLetter\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/scheduledLetter\")\r\n @ResponseWrapper(localName = \"scheduledLetterResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ScheduledLetterResponse\")\r\n public com.centershift.store40.ScheduledLetterResponse2 scheduledLetter(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ScheduledLetterRequest request\r\n );\r\n\r\n @WebResult(name = \"getProcessingMailRulesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getProcessingMailRules\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetProcessingMailRules\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getProcessingMailRules\")\r\n @ResponseWrapper(localName = \"getProcessingMailRulesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetProcessingMailRulesResponse\")\r\n public com.centershift.store40.GetRulesResponse getProcessingMailRules(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetRulesRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAuctionsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAuctions\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAuctions\")\r\n @WebMethod(operationName = \"GetAuctions\", action = \"http://www.centershift.com/STORE40/GetAuctions\")\r\n @ResponseWrapper(localName = \"GetAuctionsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAuctionsResponse\")\r\n public com.centershift.store40.GetAuctionsResponse2 getAuctions(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAuctionsRequest request\r\n );\r\n\r\n @WebResult(name = \"GetSiteListResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteList\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteList\")\r\n @WebMethod(operationName = \"GetSiteList\", action = \"http://www.centershift.com/STORE40/GetSiteList\")\r\n @ResponseWrapper(localName = \"GetSiteListResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteListResponse\")\r\n public com.centershift.store40.GetSiteListResponse2 getSiteList(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetSiteListRequest request\r\n );\r\n\r\n @WebResult(name = \"AuctionEndRentalResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AuctionEndRental\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AuctionEndRental\")\r\n @WebMethod(operationName = \"AuctionEndRental\", action = \"http://www.centershift.com/STORE40/AuctionEndRental\")\r\n @ResponseWrapper(localName = \"AuctionEndRentalResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AuctionEndRentalResponse\")\r\n public com.centershift.store40.AuctionEndRentalResponse2 auctionEndRental(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AuctionEndRentalRequest request\r\n );\r\n\r\n @WebResult(name = \"GetSiteTasksResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteTasks\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteTasks\")\r\n @WebMethod(operationName = \"GetSiteTasks\", action = \"http://www.centershift.com/STORE40/GetSiteTasks\")\r\n @ResponseWrapper(localName = \"GetSiteTasksResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteTasksResponse\")\r\n public com.centershift.store40.GetSiteTasksResponse2 getSiteTasks(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetSiteTasksRequest request\r\n );\r\n\r\n @WebResult(name = \"eInquirySourceResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eInquirySource\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EInquirySource\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eInquirySource\")\r\n @ResponseWrapper(localName = \"eInquirySourceResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EInquirySourceResponse\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eInquirySource(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"SendEmailWithUnitResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SendEmailWithUnit\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmailWithUnit\")\r\n @WebMethod(operationName = \"SendEmailWithUnit\", action = \"http://www.centershift.com/STORE40/SendEmailWithUnit\")\r\n @ResponseWrapper(localName = \"SendEmailWithUnitResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmailWithUnitResponse\")\r\n public com.centershift.store40.SendEmailResponse sendEmailWithUnit(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SendEmailWithUnitRequest request\r\n );\r\n\r\n @RequestWrapper(localName = \"GetRentalLedger\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRentalLedger\")\r\n @WebMethod(operationName = \"GetRentalLedger\", action = \"http://www.centershift.com/STORE40/GetRentalLedger\")\r\n @ResponseWrapper(localName = \"GetRentalLedgerResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRentalLedgerResponse\")\r\n public void getRentalLedger(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(mode = WebParam.Mode.INOUT, name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n javax.xml.ws.Holder<GetRentalLedgerRequest> request,\r\n @WebParam(mode = WebParam.Mode.OUT, name = \"GetRentalLedgerResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n javax.xml.ws.Holder<GetRentalLedgerResponse2> getRentalLedgerResult\r\n );\r\n\r\n @WebResult(name = \"GetRetailRefundAmountResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetRetailRefundAmount\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRetailRefundAmount\")\r\n @WebMethod(operationName = \"GetRetailRefundAmount\", action = \"http://www.centershift.com/STORE40/GetRetailRefundAmount\")\r\n @ResponseWrapper(localName = \"GetRetailRefundAmountResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRetailRefundAmountResponse\")\r\n public com.centershift.store40.GetRetailRefundAmountResponse2 getRetailRefundAmount(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetRetailRefundAmountRequest request\r\n );\r\n\r\n @WebResult(name = \"SendEmailWithPasswordResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SendEmailWithPassword\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmailWithPassword\")\r\n @WebMethod(operationName = \"SendEmailWithPassword\", action = \"http://www.centershift.com/STORE40/SendEmailWithPassword\")\r\n @ResponseWrapper(localName = \"SendEmailWithPasswordResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SendEmailWithPasswordResponse\")\r\n public com.centershift.store40.SendEmailResponse sendEmailWithPassword(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SendEmailWithPasswordRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAvailableCreditsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAvailableCredits\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableCredits\")\r\n @WebMethod(operationName = \"GetAvailableCredits\", action = \"http://www.centershift.com/STORE40/GetAvailableCredits\")\r\n @ResponseWrapper(localName = \"GetAvailableCreditsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableCreditsResponse\")\r\n public com.centershift.store40.GetAvailableCreditsResponse2 getAvailableCredits(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAvailableCreditsRequest request\r\n );\r\n\r\n @WebResult(name = \"CreateAuctionEndRentalResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CreateAuctionEndRental\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateAuctionEndRental\")\r\n @WebMethod(operationName = \"CreateAuctionEndRental\", action = \"http://www.centershift.com/STORE40/CreateAuctionEndRental\")\r\n @ResponseWrapper(localName = \"CreateAuctionEndRentalResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateAuctionEndRentalResponse\")\r\n public com.centershift.store40.CreateAuctionEndRentalResponse2 createAuctionEndRental(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateAuctionEndRentalRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAppliedServicesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAppliedServices\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAppliedServices\")\r\n @WebMethod(operationName = \"GetAppliedServices\", action = \"http://www.centershift.com/STORE40/GetAppliedServices\")\r\n @ResponseWrapper(localName = \"GetAppliedServicesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAppliedServicesResponse\")\r\n public com.centershift.store40.GetAppliedServicesResponse2 getAppliedServices(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAppliedServicesRequest request\r\n );\r\n\r\n @WebResult(name = \"GetCashCreditsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetCashCredits\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetCashCredits\")\r\n @WebMethod(operationName = \"GetCashCredits\", action = \"http://www.centershift.com/STORE40/GetCashCredits\")\r\n @ResponseWrapper(localName = \"GetCashCreditsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetCashCreditsResponse\")\r\n public com.centershift.store40.GetCashCreditsResponse2 getCashCredits(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetCashCreditsRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAuctionRentalsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAuctionRentals\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAuctionRentals\")\r\n @WebMethod(operationName = \"GetAuctionRentals\", action = \"http://www.centershift.com/STORE40/GetAuctionRentals\")\r\n @ResponseWrapper(localName = \"GetAuctionRentalsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAuctionRentalsResponse\")\r\n public com.centershift.store40.GetAuctionRentalsResponse2 getAuctionRentals(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAuctionRentalsRequest request\r\n );\r\n\r\n @WebResult(name = \"EndRentalResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"EndRental\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EndRental\")\r\n @WebMethod(operationName = \"EndRental\", action = \"http://www.centershift.com/STORE40/EndRental\")\r\n @ResponseWrapper(localName = \"EndRentalResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EndRentalResponse\")\r\n public com.centershift.store40.EndRentalResponse2 endRental(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.EndRentalRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateRentalSettingsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateRentalSettings\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateRentalSettings\")\r\n @WebMethod(operationName = \"UpdateRentalSettings\", action = \"http://www.centershift.com/STORE40/UpdateRentalSettings\")\r\n @ResponseWrapper(localName = \"UpdateRentalSettingsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateRentalSettingsResponse\")\r\n public com.centershift.store40.UpdateRentalSettingsResponse2 updateRentalSettings(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateRentalSettingsRequest request\r\n );\r\n\r\n @WebResult(name = \"CreateSiteTaskResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CreateSiteTask\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateSiteTask\")\r\n @WebMethod(operationName = \"CreateSiteTask\", action = \"http://www.centershift.com/STORE40/CreateSiteTask\")\r\n @ResponseWrapper(localName = \"CreateSiteTaskResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateSiteTaskResponse\")\r\n public com.centershift.store40.CreateSiteTaskResponse2 createSiteTask(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"CreateSiteTaskReq\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateSiteTaskRequest createSiteTaskReq\r\n );\r\n\r\n @WebResult(name = \"createLetterResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"createLetter\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateLetter\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/createLetter\")\r\n @ResponseWrapper(localName = \"createLetterResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateLetterResponse\")\r\n public com.centershift.store40.TntLtrNumResponse createLetter(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateOrViewLtrRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitClimateResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitClimate\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitClimate\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitClimate\")\r\n @ResponseWrapper(localName = \"eUnitClimateResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitClimateResponse\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eUnitClimate(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"GetScheduledFeesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetScheduledFees\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetScheduledFees\")\r\n @WebMethod(operationName = \"GetScheduledFees\", action = \"http://www.centershift.com/STORE40/GetScheduledFees\")\r\n @ResponseWrapper(localName = \"GetScheduledFeesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetScheduledFeesResponse\")\r\n public com.centershift.store40.GetScheduledFeesResponse2 getScheduledFees(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetScheduledFeesRequest request\r\n );\r\n\r\n @WebResult(name = \"ApplyPCDsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ApplyPCDs\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ApplyPCDs\")\r\n @WebMethod(operationName = \"ApplyPCDs\", action = \"http://www.centershift.com/STORE40/ApplyPCDs\")\r\n @ResponseWrapper(localName = \"ApplyPCDsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ApplyPCDsResponse\")\r\n public com.centershift.store40.ApplyPCDsResponse2 applyPCDs(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ApplyPCDsRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateAuctionResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateAuction\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateAuction\")\r\n @WebMethod(operationName = \"UpdateAuction\", action = \"http://www.centershift.com/STORE40/UpdateAuction\")\r\n @ResponseWrapper(localName = \"UpdateAuctionResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateAuctionResponse\")\r\n public com.centershift.store40.CreateAuctionResponse updateAuction(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateAuctionRequest request\r\n );\r\n\r\n @WebResult(name = \"CreateDemoUserResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CreateDemoUser\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateDemoUser\")\r\n @WebMethod(operationName = \"CreateDemoUser\", action = \"http://www.centershift.com/STORE40/CreateDemoUser\")\r\n @ResponseWrapper(localName = \"CreateDemoUserResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateDemoUserResponse\")\r\n public com.centershift.store40.CreateDemoUserResponse2 createDemoUser(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateDemoUserRequest request\r\n );\r\n\r\n @WebResult(name = \"getTemplateIdRulesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getTemplateIdRules\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTemplateIdRules\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getTemplateIdRules\")\r\n @ResponseWrapper(localName = \"getTemplateIdRulesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTemplateIdRulesResponse\")\r\n public com.centershift.store40.GetRulesResponse getTemplateIdRules(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetRulesRequest request\r\n );\r\n\r\n @WebResult(name = \"GetChannelListResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetChannelList\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetChannelList\")\r\n @WebMethod(operationName = \"GetChannelList\", action = \"http://www.centershift.com/STORE40/GetChannelList\")\r\n @ResponseWrapper(localName = \"GetChannelListResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetChannelListResponse\")\r\n public com.centershift.store40.GetChannelListResponse2 getChannelList(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetChannelListRequest request\r\n );\r\n\r\n @WebResult(name = \"GetWaiveVoidFeeStatsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetWaiveVoidFeeStats\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetWaiveVoidFeeStats\")\r\n @WebMethod(operationName = \"GetWaiveVoidFeeStats\", action = \"http://www.centershift.com/STORE40/GetWaiveVoidFeeStats\")\r\n @ResponseWrapper(localName = \"GetWaiveVoidFeeStatsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetWaiveVoidFeeStatsResponse\")\r\n public com.centershift.store40.GetWaiveVoidFeeStatsResponse2 getWaiveVoidFeeStats(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetWaiveVoidFeeStatsRequest request\r\n );\r\n\r\n @WebResult(name = \"ReturnRetailItemsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ReturnRetailItems\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ReturnRetailItems\")\r\n @WebMethod(operationName = \"ReturnRetailItems\", action = \"http://www.centershift.com/STORE40/ReturnRetailItems\")\r\n @ResponseWrapper(localName = \"ReturnRetailItemsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ReturnRetailItemsResponse\")\r\n public com.centershift.store40.ReturnRetailItemsResponse2 returnRetailItems(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ReturnRetailItemsRequest request\r\n );\r\n\r\n @WebResult(name = \"RollbackUnitTransferResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"RollbackUnitTransfer\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RollbackUnitTransfer\")\r\n @WebMethod(operationName = \"RollbackUnitTransfer\", action = \"http://www.centershift.com/STORE40/RollbackUnitTransfer\")\r\n @ResponseWrapper(localName = \"RollbackUnitTransferResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RollbackUnitTransferResponse\")\r\n public com.centershift.store40.RollbackUnitTransferResponse2 rollbackUnitTransfer(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RollbackUnitTransferRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateLeasePeriodResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateLeasePeriod\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateLeasePeriod\")\r\n @WebMethod(operationName = \"UpdateLeasePeriod\", action = \"http://www.centershift.com/STORE40/UpdateLeasePeriod\")\r\n @ResponseWrapper(localName = \"UpdateLeasePeriodResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateLeasePeriodResponse\")\r\n public com.centershift.store40.UpdateLeasePeriodResponse2 updateLeasePeriod(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateLeasePeriodRequest request\r\n );\r\n\r\n @WebResult(name = \"GetSiteDetailsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteDetails\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteDetails\")\r\n @WebMethod(operationName = \"GetSiteDetails\", action = \"http://www.centershift.com/STORE40/GetSiteDetails\")\r\n @ResponseWrapper(localName = \"GetSiteDetailsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteDetailsResponse\")\r\n public com.centershift.store40.GetSiteDetailsResponse2 getSiteDetails(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetSiteDetailsRequest request\r\n );\r\n\r\n @WebResult(name = \"GetRentalInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetRentalInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRentalInfo\")\r\n @WebMethod(operationName = \"GetRentalInfo\", action = \"http://www.centershift.com/STORE40/GetRentalInfo\")\r\n @ResponseWrapper(localName = \"GetRentalInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRentalInfoResponse\")\r\n public com.centershift.store40.GetRentalInfoResponse2 getRentalInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetRentalInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"VoidFeeResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"VoidFee\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidFee\")\r\n @WebMethod(operationName = \"VoidFee\", action = \"http://www.centershift.com/STORE40/VoidFee\")\r\n @ResponseWrapper(localName = \"VoidFeeResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidFeeResponse\")\r\n public com.centershift.store40.VoidFeeResponse2 voidFee(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.VoidFeeRequest request\r\n );\r\n\r\n @WebResult(name = \"VersResAssessBundleResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"VersResAssessBundle\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VersResAssessBundle\")\r\n @WebMethod(operationName = \"VersResAssessBundle\", action = \"http://www.centershift.com/STORE40/VersResAssessBundle\")\r\n @ResponseWrapper(localName = \"VersResAssessBundleResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VersResAssessBundleResponse\")\r\n public com.centershift.store40.VersResAssessBundleResponse2 versResAssessBundle(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.VersResAssessBundleRequest request\r\n );\r\n\r\n @WebResult(name = \"MakePaymentByAssessmentResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"MakePaymentByAssessment\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakePaymentByAssessment\")\r\n @WebMethod(operationName = \"MakePaymentByAssessment\", action = \"http://www.centershift.com/STORE40/MakePaymentByAssessment\")\r\n @ResponseWrapper(localName = \"MakePaymentByAssessmentResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakePaymentByAssessmentResponse\")\r\n public com.centershift.store40.MakePaymentResponse makePaymentByAssessment(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MakePaymentByAssessmentRequest request\r\n );\r\n\r\n @WebResult(name = \"getLetterTemplateInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getLetterTemplateInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLetterTemplateInfo\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getLetterTemplateInfo\")\r\n @ResponseWrapper(localName = \"getLetterTemplateInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLetterTemplateInfoResponse\")\r\n public com.centershift.store40.GetLtrTemplateInfoResponse getLetterTemplateInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetLtrTemplateInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"GetEligibleAuctionRentalsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetEligibleAuctionRentals\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEligibleAuctionRentals\")\r\n @WebMethod(operationName = \"GetEligibleAuctionRentals\", action = \"http://www.centershift.com/STORE40/GetEligibleAuctionRentals\")\r\n @ResponseWrapper(localName = \"GetEligibleAuctionRentalsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEligibleAuctionRentalsResponse\")\r\n public com.centershift.store40.GetEligibleAuctionRentalsResponse2 getEligibleAuctionRentals(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetEligibleAuctionRentalsRequest request\r\n );\r\n\r\n @WebResult(name = \"AddRentalsToAuctionResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddRentalsToAuction\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddRentalsToAuction\")\r\n @WebMethod(operationName = \"AddRentalsToAuction\", action = \"http://www.centershift.com/STORE40/AddRentalsToAuction\")\r\n @ResponseWrapper(localName = \"AddRentalsToAuctionResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddRentalsToAuctionResponse\")\r\n public com.centershift.store40.AddRentalToAuctionResponse addRentalsToAuction(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddRentalsToAuctionRequest request\r\n );\r\n\r\n @WebResult(name = \"GetPartialPayRulesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetPartialPayRules\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetPartialPayRules\")\r\n @WebMethod(operationName = \"GetPartialPayRules\", action = \"http://www.centershift.com/STORE40/GetPartialPayRules\")\r\n @ResponseWrapper(localName = \"GetPartialPayRulesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetPartialPayRulesResponse\")\r\n public com.centershift.store40.GetPartialPayRulesResponse2 getPartialPayRules(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetPartialPayRulesRequest request\r\n );\r\n\r\n @WebResult(name = \"ReassignRentalResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ReassignRental\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ReassignRental\")\r\n @WebMethod(operationName = \"ReassignRental\", action = \"http://www.centershift.com/STORE40/ReassignRental\")\r\n @ResponseWrapper(localName = \"ReassignRentalResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ReassignRentalResponse\")\r\n public com.centershift.store40.ReassignRentalResponse2 reassignRental(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ReassignRentalRequest request\r\n );\r\n\r\n @WebResult(name = \"GetEstimatedRefundResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetEstimatedRefund\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEstimatedRefund\")\r\n @WebMethod(operationName = \"GetEstimatedRefund\", action = \"http://www.centershift.com/STORE40/GetEstimatedRefund\")\r\n @ResponseWrapper(localName = \"GetEstimatedRefundResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEstimatedRefundResponse\")\r\n public com.centershift.store40.GetEstimatedRefundResponse2 getEstimatedRefund(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetEstimatedRefundRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitClassResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitClass\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitClass\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitClass\")\r\n @ResponseWrapper(localName = \"eUnitClassResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitClassResponse\")\r\n public com.centershift.store40.ArrayOfSITECLASSES eUnitClass(\r\n @WebParam(name = \"SiteID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long siteID\r\n );\r\n\r\n @WebResult(name = \"GetAvailableServicesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAvailableServices\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableServices\")\r\n @WebMethod(operationName = \"GetAvailableServices\", action = \"http://www.centershift.com/STORE40/GetAvailableServices\")\r\n @ResponseWrapper(localName = \"GetAvailableServicesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableServicesResponse\")\r\n public com.centershift.store40.GetAvailableServicesResponse2 getAvailableServices(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAvailableServicesRequest request\r\n );\r\n\r\n @WebResult(name = \"getLeaseTemplateInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getLeaseTemplateInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLeaseTemplateInfo\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getLeaseTemplateInfo\")\r\n @ResponseWrapper(localName = \"getLeaseTemplateInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetLeaseTemplateInfoResponse\")\r\n public com.centershift.store40.GetLeaseTemplateInfoResponse2 getLeaseTemplateInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetLeaseTemplateInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"SellRetailNoAccountMultipleResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SellRetailNoAccountMultiple\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailNoAccountMultiple\")\r\n @WebMethod(operationName = \"SellRetailNoAccountMultiple\", action = \"http://www.centershift.com/STORE40/SellRetailNoAccountMultiple\")\r\n @ResponseWrapper(localName = \"SellRetailNoAccountMultipleResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailNoAccountMultipleResponse\")\r\n public com.centershift.store40.SellRetailMultipleResponse sellRetailNoAccountMultiple(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SellRetailNoAccountMultipleRequest request\r\n );\r\n\r\n @WebResult(name = \"MakeMiscPaymentResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"MakeMiscPayment\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeMiscPayment\")\r\n @WebMethod(operationName = \"MakeMiscPayment\", action = \"http://www.centershift.com/STORE40/MakeMiscPayment\")\r\n @ResponseWrapper(localName = \"MakeMiscPaymentResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeMiscPaymentResponse\")\r\n public com.centershift.store40.MakePaymentResponse makeMiscPayment(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MakeMiscPaymentRequest request\r\n );\r\n\r\n @WebResult(name = \"VoidTransactionResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"VoidTransaction\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidTransaction\")\r\n @WebMethod(operationName = \"VoidTransaction\", action = \"http://www.centershift.com/STORE40/VoidTransaction\")\r\n @ResponseWrapper(localName = \"VoidTransactionResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidTransactionResponse\")\r\n public com.centershift.store40.VoidTransactionResponse2 voidTransaction(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.VoidTransactionRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateAccountResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateAccount\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateAccount\")\r\n @WebMethod(operationName = \"UpdateAccount\", action = \"http://www.centershift.com/STORE40/UpdateAccount\")\r\n @ResponseWrapper(localName = \"UpdateAccountResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateAccountResponse\")\r\n public com.centershift.store40.UpdateAccountResponse2 updateAccount(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateAccountRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAuctionTaxResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAuctionTax\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAuctionTax\")\r\n @WebMethod(operationName = \"GetAuctionTax\", action = \"http://www.centershift.com/STORE40/GetAuctionTax\")\r\n @ResponseWrapper(localName = \"GetAuctionTaxResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAuctionTaxResponse\")\r\n public com.centershift.store40.GetAuctionTaxResponse2 getAuctionTax(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AuctionProceeds request\r\n );\r\n\r\n @WebResult(name = \"GetSiteRulesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteRules\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteRules\")\r\n @WebMethod(operationName = \"GetSiteRules\", action = \"http://www.centershift.com/STORE40/GetSiteRules\")\r\n @ResponseWrapper(localName = \"GetSiteRulesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteRulesResponse\")\r\n public com.centershift.store40.GetSiteRulesResponse2 getSiteRules(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RulesRequest request\r\n );\r\n\r\n @WebResult(name = \"AddNewContactResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddNewContact\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddNewContact\")\r\n @WebMethod(operationName = \"AddNewContact\", action = \"http://www.centershift.com/STORE40/AddNewContact\")\r\n @ResponseWrapper(localName = \"AddNewContactResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddNewContactResponse\")\r\n public com.centershift.store40.ContactResponse addNewContact(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ContactRequest request\r\n );\r\n\r\n @WebResult(name = \"GetTotalDueResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetTotalDue\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTotalDue\")\r\n @WebMethod(operationName = \"GetTotalDue\", action = \"http://www.centershift.com/STORE40/GetTotalDue\")\r\n @ResponseWrapper(localName = \"GetTotalDueResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTotalDueResponse\")\r\n public com.centershift.store40.GetTotalDueResponse2 getTotalDue(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetTotalDueRequest request\r\n );\r\n\r\n @WebResult(name = \"GetQuoteDataResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetQuoteData\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetQuoteData\")\r\n @WebMethod(operationName = \"GetQuoteData\", action = \"http://www.centershift.com/STORE40/GetQuoteData\")\r\n @ResponseWrapper(localName = \"GetQuoteDataResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetQuoteDataResponse\")\r\n public com.centershift.store40.GetQuoteDataResponse2 getQuoteData(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetQuoteDataRequest request\r\n );\r\n\r\n @WebResult(name = \"AddMultipleServicesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddMultipleServices\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddMultipleServices\")\r\n @WebMethod(operationName = \"AddMultipleServices\", action = \"http://www.centershift.com/STORE40/AddMultipleServices\")\r\n @ResponseWrapper(localName = \"AddMultipleServicesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddMultipleServicesResponse\")\r\n public com.centershift.store40.ArrayOfAddMultipleServicesResponse addMultipleServices(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddMultipleServiceRequest request\r\n );\r\n\r\n @WebResult(name = \"MakeReservationResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"MakeReservation\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeReservation\")\r\n @WebMethod(operationName = \"MakeReservation\", action = \"http://www.centershift.com/STORE40/MakeReservation\")\r\n @ResponseWrapper(localName = \"MakeReservationResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeReservationResponse2\")\r\n public com.centershift.store40.MakeReservationResponse makeReservation(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MakeReservationRequest request\r\n );\r\n\r\n @WebResult(name = \"AssessFeeResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AssessFee\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AssessFee\")\r\n @WebMethod(operationName = \"AssessFee\", action = \"http://www.centershift.com/STORE40/AssessFee\")\r\n @ResponseWrapper(localName = \"AssessFeeResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AssessFeeResponse\")\r\n public com.centershift.store40.AssessFeeResponse2 assessFee(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AssessFeeRequest request\r\n );\r\n\r\n @WebResult(name = \"SearchByResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SearchBy\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SearchBy\")\r\n @WebMethod(operationName = \"SearchBy\", action = \"http://www.centershift.com/STORE40/SearchBy\")\r\n @ResponseWrapper(localName = \"SearchByResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SearchByResponse\")\r\n public com.centershift.store40.SearchByResponse2 searchBy(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SearchByRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdatePhoneResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdatePhone\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdatePhone\")\r\n @WebMethod(operationName = \"UpdatePhone\", action = \"http://www.centershift.com/STORE40/UpdatePhone\")\r\n @ResponseWrapper(localName = \"UpdatePhoneResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdatePhoneResponse\")\r\n public com.centershift.store40.PhoneResponse updatePhone(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.PhoneRequest request\r\n );\r\n\r\n @WebResult(name = \"mailCentralizedReceiptResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"mailCentralizedReceipt\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MailCentralizedReceipt\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/mailCentralizedReceipt\")\r\n @ResponseWrapper(localName = \"mailCentralizedReceiptResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MailCentralizedReceiptResponse\")\r\n public com.centershift.store40.TntLtrNumResponse mailCentralizedReceipt(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateOrViewReceiptRequest request\r\n );\r\n\r\n @WebResult(name = \"CancelInsuranceResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CancelInsurance\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelInsurance\")\r\n @WebMethod(operationName = \"CancelInsurance\", action = \"http://www.centershift.com/STORE40/CancelInsurance\")\r\n @ResponseWrapper(localName = \"CancelInsuranceResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelInsuranceResponse2\")\r\n public com.centershift.store40.CancelInsuranceResponse cancelInsurance(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CancelInsuranceRequest request\r\n );\r\n\r\n @WebResult(name = \"createAndViewLetterResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"createAndViewLetter\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateAndViewLetter\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/createAndViewLetter\")\r\n @ResponseWrapper(localName = \"createAndViewLetterResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateAndViewLetterResponse\")\r\n public com.centershift.store40.PdfFilePathResponse createAndViewLetter(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateOrViewLtrRequest request\r\n );\r\n\r\n @WebResult(name = \"GetMoveOutInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetMoveOutInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetMoveOutInfo\")\r\n @WebMethod(operationName = \"GetMoveOutInfo\", action = \"http://www.centershift.com/STORE40/GetMoveOutInfo\")\r\n @ResponseWrapper(localName = \"GetMoveOutInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetMoveOutInfoResponse\")\r\n public com.centershift.store40.GetMoveOutInfoResponse2 getMoveOutInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetMoveOutInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"WalkThruListResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"WalkThruList\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.WalkThruList\")\r\n @WebMethod(operationName = \"WalkThruList\", action = \"http://www.centershift.com/STORE40/WalkThruList\")\r\n @ResponseWrapper(localName = \"WalkThruListResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.WalkThruListResponse\")\r\n public com.centershift.store40.WalkThruListResponse2 walkThruList(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.WalkThruListRequest request\r\n );\r\n\r\n @WebResult(name = \"MiniKeyStatsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"MiniKeyStats\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MiniKeyStats\")\r\n @WebMethod(operationName = \"MiniKeyStats\", action = \"http://www.centershift.com/STORE40/MiniKeyStats\")\r\n @ResponseWrapper(localName = \"MiniKeyStatsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MiniKeyStatsResponse\")\r\n public com.centershift.store40.MiniKeyStatsResponse2 miniKeyStats(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MiniKeyStatsRequest request\r\n );\r\n\r\n @WebResult(name = \"GetEndRentalRulesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetEndRentalRules\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEndRentalRules\")\r\n @WebMethod(operationName = \"GetEndRentalRules\", action = \"http://www.centershift.com/STORE40/GetEndRentalRules\")\r\n @ResponseWrapper(localName = \"GetEndRentalRulesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetEndRentalRulesResponse\")\r\n public com.centershift.store40.GetEndRentalRulesResponse2 getEndRentalRules(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetEndRentalRulesRequest request\r\n );\r\n\r\n @WebResult(name = \"SellRetailWithAccountMultipleResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"SellRetailWithAccountMultiple\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailWithAccountMultiple\")\r\n @WebMethod(operationName = \"SellRetailWithAccountMultiple\", action = \"http://www.centershift.com/STORE40/SellRetailWithAccountMultiple\")\r\n @ResponseWrapper(localName = \"SellRetailWithAccountMultipleResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.SellRetailWithAccountMultipleResponse\")\r\n public com.centershift.store40.SellRetailMultipleResponse sellRetailWithAccountMultiple(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.SellRetailWithAccountMultipleRequest request\r\n );\r\n\r\n @WebResult(name = \"AddInsuranceResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddInsurance\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddInsurance\")\r\n @WebMethod(operationName = \"AddInsurance\", action = \"http://www.centershift.com/STORE40/AddInsurance\")\r\n @ResponseWrapper(localName = \"AddInsuranceResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddInsuranceResponse\")\r\n public com.centershift.store40.AddInsuranceResponse2 addInsurance(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddInsuranceRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateOverlockStatusResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateOverlockStatus\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateOverlockStatus\")\r\n @WebMethod(operationName = \"UpdateOverlockStatus\", action = \"http://www.centershift.com/STORE40/UpdateOverlockStatus\")\r\n @ResponseWrapper(localName = \"UpdateOverlockStatusResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateOverlockStatusResponse\")\r\n public com.centershift.store40.UpdateOverlockStatusResponse2 updateOverlockStatus(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateOverlockStatusRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAppliedInsuranceResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAppliedInsurance\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAppliedInsurance\")\r\n @WebMethod(operationName = \"GetAppliedInsurance\", action = \"http://www.centershift.com/STORE40/GetAppliedInsurance\")\r\n @ResponseWrapper(localName = \"GetAppliedInsuranceResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAppliedInsuranceResponse\")\r\n public com.centershift.store40.GetAppliedInsuranceResponse2 getAppliedInsurance(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAppliedInsuranceRequest request\r\n );\r\n\r\n @WebResult(name = \"CancelInsuranceBundleResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CancelInsuranceBundle\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelInsuranceBundle\")\r\n @WebMethod(operationName = \"CancelInsuranceBundle\", action = \"http://www.centershift.com/STORE40/CancelInsuranceBundle\")\r\n @ResponseWrapper(localName = \"CancelInsuranceBundleResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CancelInsuranceBundleResponse\")\r\n public com.centershift.store40.CancelInsuranceResponse cancelInsuranceBundle(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAppliedInsuranceRequest request\r\n );\r\n\r\n @WebResult(name = \"MakeMultipleReservationsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"MakeMultipleReservations\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeMultipleReservations\")\r\n @WebMethod(operationName = \"MakeMultipleReservations\", action = \"http://www.centershift.com/STORE40/MakeMultipleReservations\")\r\n @ResponseWrapper(localName = \"MakeMultipleReservationsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakeMultipleReservationsResponse\")\r\n public com.centershift.store40.MakeMultipleReservationsResponse2 makeMultipleReservations(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MakeMultipleReservationsRequest request\r\n );\r\n\r\n @WebResult(name = \"WaiveFeeResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"WaiveFee\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.WaiveFee\")\r\n @WebMethod(operationName = \"WaiveFee\", action = \"http://www.centershift.com/STORE40/WaiveFee\")\r\n @ResponseWrapper(localName = \"WaiveFeeResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.WaiveFeeResponse\")\r\n public com.centershift.store40.WaiveFeeResponse2 waiveFee(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.WaiveFeeRequest request\r\n );\r\n\r\n @WebResult(name = \"GetSiteRuleValueResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetSiteRuleValue\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteRuleValue\")\r\n @WebMethod(operationName = \"GetSiteRuleValue\", action = \"http://www.centershift.com/STORE40/GetSiteRuleValue\")\r\n @ResponseWrapper(localName = \"GetSiteRuleValueResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetSiteRuleValueResponse\")\r\n public com.centershift.store40.GetSiteRuleValueResponse2 getSiteRuleValue(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RulesRequest request\r\n );\r\n\r\n @WebResult(name = \"TerminateServiceResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"TerminateService\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.TerminateService\")\r\n @WebMethod(operationName = \"TerminateService\", action = \"http://www.centershift.com/STORE40/TerminateService\")\r\n @ResponseWrapper(localName = \"TerminateServiceResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.TerminateServiceResponse\")\r\n public com.centershift.store40.TerminateServiceResponse2 terminateService(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.TerminateServiceRequest request\r\n );\r\n\r\n @WebResult(name = \"ApplyCreditToAssessmentsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ApplyCreditToAssessments\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ApplyCreditToAssessments\")\r\n @WebMethod(operationName = \"ApplyCreditToAssessments\", action = \"http://www.centershift.com/STORE40/ApplyCreditToAssessments\")\r\n @ResponseWrapper(localName = \"ApplyCreditToAssessmentsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ApplyCreditToAssessmentsResponse\")\r\n public com.centershift.store40.ApplyCreditToAssessmentsResponse2 applyCreditToAssessments(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ApplyCreditToAssessmentsRequest request\r\n );\r\n\r\n @WebResult(name = \"CreateNewEcommAccountResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CreateNewEcommAccount\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateNewEcommAccount\")\r\n @WebMethod(operationName = \"CreateNewEcommAccount\", action = \"http://www.centershift.com/STORE40/CreateNewEcommAccount\")\r\n @ResponseWrapper(localName = \"CreateNewEcommAccountResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateNewEcommAccountResponse\")\r\n public com.centershift.store40.CreateNewEcommAccountResponse2 createNewEcommAccount(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateNewEcommAccountRequest request\r\n );\r\n\r\n @WebResult(name = \"CreateAuctionResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"CreateAuction\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateAuction\")\r\n @WebMethod(operationName = \"CreateAuction\", action = \"http://www.centershift.com/STORE40/CreateAuction\")\r\n @ResponseWrapper(localName = \"CreateAuctionResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.CreateAuctionResponse2\")\r\n public com.centershift.store40.CreateAuctionResponse createAuction(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.CreateAuctionRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateGatePINResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateGatePIN\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateGatePIN\")\r\n @WebMethod(operationName = \"UpdateGatePIN\", action = \"http://www.centershift.com/STORE40/UpdateGatePIN\")\r\n @ResponseWrapper(localName = \"UpdateGatePINResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateGatePINResponse\")\r\n public com.centershift.store40.UpdateGatePINResponse2 updateGatePIN(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateGatePINRequest request\r\n );\r\n\r\n @WebResult(name = \"GetRetailReceiptItemsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetRetailReceiptItems\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRetailReceiptItems\")\r\n @WebMethod(operationName = \"GetRetailReceiptItems\", action = \"http://www.centershift.com/STORE40/GetRetailReceiptItems\")\r\n @ResponseWrapper(localName = \"GetRetailReceiptItemsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetRetailReceiptItemsResponse\")\r\n public com.centershift.store40.GetRetailReceiptItemsResponse2 getRetailReceiptItems(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetRetailReceiptItemsRequest request\r\n );\r\n\r\n @WebResult(name = \"getTenantLetterListResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getTenantLetterList\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTenantLetterList\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getTenantLetterList\")\r\n @ResponseWrapper(localName = \"getTenantLetterListResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTenantLetterListResponse\")\r\n public com.centershift.store40.GetTenantLetterListResponse2 getTenantLetterList(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetTenantDocListRequest request\r\n );\r\n\r\n @WebResult(name = \"GetMiscRevenueClassDataResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetMiscRevenueClassData\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetMiscRevenueClassData\")\r\n @WebMethod(operationName = \"GetMiscRevenueClassData\", action = \"http://www.centershift.com/STORE40/GetMiscRevenueClassData\")\r\n @ResponseWrapper(localName = \"GetMiscRevenueClassDataResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetMiscRevenueClassDataResponse\")\r\n public com.centershift.store40.GetMiscRevenueClassDataResponse2 getMiscRevenueClassData(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetMiscRevenueClassDataRequest request\r\n );\r\n\r\n @WebResult(name = \"GetInsuranceInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetInsuranceInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetInsuranceInfo\")\r\n @WebMethod(operationName = \"GetInsuranceInfo\", action = \"http://www.centershift.com/STORE40/GetInsuranceInfo\")\r\n @ResponseWrapper(localName = \"GetInsuranceInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetInsuranceInfoResponse\")\r\n public com.centershift.store40.GetInsuranceInfoResponse2 getInsuranceInfo(\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetInsuranceInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitAttr02Result\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitAttr02\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitAttr02\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitAttr02\")\r\n @ResponseWrapper(localName = \"eUnitAttr02Response\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitAttr02Response\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eUnitAttr02(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"GetGateCodeInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetGateCodeInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetGateCodeInfo\")\r\n @WebMethod(operationName = \"GetGateCodeInfo\", action = \"http://www.centershift.com/STORE40/GetGateCodeInfo\")\r\n @ResponseWrapper(localName = \"GetGateCodeInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetGateCodeInfoResponse\")\r\n public com.centershift.store40.GetGateCodeInfoResponse2 getGateCodeInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetGateCodeInfoRequest request\r\n );\r\n\r\n @WebResult(name = \"FIUChecksumUpdateResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"FIUChecksumUpdate\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUChecksumUpdate\")\r\n @WebMethod(operationName = \"FIUChecksumUpdate\", action = \"http://www.centershift.com/STORE40/FIUChecksumUpdate\")\r\n @ResponseWrapper(localName = \"FIUChecksumUpdateResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.FIUChecksumUpdateResponse\")\r\n public java.lang.String fiuChecksumUpdate(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.FIUChecksumRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateRentalResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateRental\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateRental\")\r\n @WebMethod(operationName = \"UpdateRental\", action = \"http://www.centershift.com/STORE40/UpdateRental\")\r\n @ResponseWrapper(localName = \"UpdateRentalResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateRentalResponse\")\r\n public com.centershift.store40.UpdateRentalResponse2 updateRental(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateRentalRequest request\r\n );\r\n\r\n @WebResult(name = \"GetNotesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetNotes\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetNotes\")\r\n @WebMethod(operationName = \"GetNotes\", action = \"http://www.centershift.com/STORE40/GetNotes\")\r\n @ResponseWrapper(localName = \"GetNotesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetNotesResponse\")\r\n public com.centershift.store40.GetNotesResponse2 getNotes(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetNotesRequest request\r\n );\r\n\r\n @WebResult(name = \"eUnitDoorResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"eUnitDoor\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitDoor\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/eUnitDoor\")\r\n @ResponseWrapper(localName = \"eUnitDoorResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.EUnitDoorResponse\")\r\n public com.centershift.store40.ArrayOfCFGLOOKUPS eUnitDoor(\r\n @WebParam(name = \"OrgID\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n long orgID\r\n );\r\n\r\n @WebResult(name = \"UpdateStreetRateResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateStreetRate\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateStreetRate\")\r\n @WebMethod(operationName = \"UpdateStreetRate\", action = \"http://www.centershift.com/STORE40/UpdateStreetRate\")\r\n @ResponseWrapper(localName = \"UpdateStreetRateResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateStreetRateResponse\")\r\n public com.centershift.store40.UpdateStreetRateResponse2 updateStreetRate(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateStreetRateRequest request\r\n );\r\n\r\n @WebResult(name = \"RemoveRentalFromAuctionResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"RemoveRentalFromAuction\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RemoveRentalFromAuction\")\r\n @WebMethod(operationName = \"RemoveRentalFromAuction\", action = \"http://www.centershift.com/STORE40/RemoveRentalFromAuction\")\r\n @ResponseWrapper(localName = \"RemoveRentalFromAuctionResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.RemoveRentalFromAuctionResponse\")\r\n public com.centershift.store40.RemoveRentalFromAuctionResponse2 removeRentalFromAuction(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RemoveRentalFromAuctionRequest request\r\n );\r\n\r\n @WebResult(name = \"GetContactPhoneNumbersResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetContactPhoneNumbers\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetContactPhoneNumbers\")\r\n @WebMethod(operationName = \"GetContactPhoneNumbers\", action = \"http://www.centershift.com/STORE40/GetContactPhoneNumbers\")\r\n @ResponseWrapper(localName = \"GetContactPhoneNumbersResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetContactPhoneNumbersResponse\")\r\n public com.centershift.store40.GetContactPhoneNumbersResponse2 getContactPhoneNumbers(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AccountRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateInsuranceResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateInsurance\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateInsurance\")\r\n @WebMethod(operationName = \"UpdateInsurance\", action = \"http://www.centershift.com/STORE40/UpdateInsurance\")\r\n @ResponseWrapper(localName = \"UpdateInsuranceResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateInsuranceResponse\")\r\n public com.centershift.store40.UpdateInsuranceResponse2 updateInsurance(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.UpdateInsuranceRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAvailableDepositsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAvailableDeposits\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableDeposits\")\r\n @WebMethod(operationName = \"GetAvailableDeposits\", action = \"http://www.centershift.com/STORE40/GetAvailableDeposits\")\r\n @ResponseWrapper(localName = \"GetAvailableDepositsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableDepositsResponse\")\r\n public com.centershift.store40.GetAvailableDepositsResponse2 getAvailableDeposits(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAvailableDepositsRequest request\r\n );\r\n\r\n @WebResult(name = \"ProcessRefundResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ProcessRefund\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ProcessRefund\")\r\n @WebMethod(operationName = \"ProcessRefund\", action = \"http://www.centershift.com/STORE40/ProcessRefund\")\r\n @ResponseWrapper(localName = \"ProcessRefundResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ProcessRefundResponse\")\r\n public com.centershift.store40.ProcessRefundResponse2 processRefund(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ProcessRefundRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAccountInfoResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAccountInfo\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAccountInfo\")\r\n @WebMethod(operationName = \"GetAccountInfo\", action = \"http://www.centershift.com/STORE40/GetAccountInfo\")\r\n @ResponseWrapper(localName = \"GetAccountInfoResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAccountInfoResponse\")\r\n public com.centershift.store40.GetAccountInfoResponse2 getAccountInfo(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AccountRequest request\r\n );\r\n\r\n @WebResult(name = \"InitiateUnitTransferResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"InitiateUnitTransfer\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.InitiateUnitTransfer\")\r\n @WebMethod(operationName = \"InitiateUnitTransfer\", action = \"http://www.centershift.com/STORE40/InitiateUnitTransfer\")\r\n @ResponseWrapper(localName = \"InitiateUnitTransferResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.InitiateUnitTransferResponse\")\r\n public com.centershift.store40.InitiateUnitTransferResponse2 initiateUnitTransfer(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.InitiateUnitTransferRequest request\r\n );\r\n\r\n @WebResult(name = \"MakePaymentResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"MakePayment\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakePayment\")\r\n @WebMethod(operationName = \"MakePayment\", action = \"http://www.centershift.com/STORE40/MakePayment\")\r\n @ResponseWrapper(localName = \"MakePaymentResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.MakePaymentResponse2\")\r\n public com.centershift.store40.MakePaymentResponse makePayment(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.MakePaymentRequest request\r\n );\r\n\r\n @WebResult(name = \"AddNewPhoneResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddNewPhone\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddNewPhone\")\r\n @WebMethod(operationName = \"AddNewPhone\", action = \"http://www.centershift.com/STORE40/AddNewPhone\")\r\n @ResponseWrapper(localName = \"AddNewPhoneResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddNewPhoneResponse\")\r\n public com.centershift.store40.PhoneResponse addNewPhone(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.PhoneRequest request\r\n );\r\n\r\n @WebResult(name = \"PaymentReceiptBundleResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"PaymentReceiptBundle\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.PaymentReceiptBundle\")\r\n @WebMethod(operationName = \"PaymentReceiptBundle\", action = \"http://www.centershift.com/STORE40/PaymentReceiptBundle\")\r\n @ResponseWrapper(localName = \"PaymentReceiptBundleResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.PaymentReceiptBundleResponse\")\r\n public com.centershift.store40.PaymentReceiptBundleResponse2 paymentReceiptBundle(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.PaymentReceiptBundleRequest request\r\n );\r\n\r\n @WebResult(name = \"GetAvailableRetailItemsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetAvailableRetailItems\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableRetailItems\")\r\n @WebMethod(operationName = \"GetAvailableRetailItems\", action = \"http://www.centershift.com/STORE40/GetAvailableRetailItems\")\r\n @ResponseWrapper(localName = \"GetAvailableRetailItemsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetAvailableRetailItemsResponse\")\r\n public com.centershift.store40.GetAvailableRetailItemsResponse2 getAvailableRetailItems(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetAvailableRetailItemsRequest request\r\n );\r\n\r\n @WebResult(name = \"GetContactAddressesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetContactAddresses\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetContactAddresses\")\r\n @WebMethod(operationName = \"GetContactAddresses\", action = \"http://www.centershift.com/STORE40/GetContactAddresses\")\r\n @ResponseWrapper(localName = \"GetContactAddressesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetContactAddressesResponse\")\r\n public com.centershift.store40.GetContactAddressesResponse2 getContactAddresses(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AccountRequest request\r\n );\r\n\r\n @WebResult(name = \"VoidRetailAssessmentsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"VoidRetailAssessments\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidRetailAssessments\")\r\n @WebMethod(operationName = \"VoidRetailAssessments\", action = \"http://www.centershift.com/STORE40/VoidRetailAssessments\")\r\n @ResponseWrapper(localName = \"VoidRetailAssessmentsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VoidRetailAssessmentsResponse\")\r\n public com.centershift.store40.VoidRetailAssessmentResponse voidRetailAssessments(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.VoidRetailAssessmentRequest request\r\n );\r\n\r\n @WebResult(name = \"AddServiceResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"AddService\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddService\")\r\n @WebMethod(operationName = \"AddService\", action = \"http://www.centershift.com/STORE40/AddService\")\r\n @ResponseWrapper(localName = \"AddServiceResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.AddServiceResponse\")\r\n public com.centershift.store40.AddServiceResponse2 addService(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.AddServiceRequest request\r\n );\r\n\r\n @WebResult(name = \"getReceiptRulesResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getReceiptRules\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetReceiptRules\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getReceiptRules\")\r\n @ResponseWrapper(localName = \"getReceiptRulesResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetReceiptRulesResponse\")\r\n public com.centershift.store40.GetRulesResponse getReceiptRules(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetRulesRequest request\r\n );\r\n\r\n @WebResult(name = \"UpdateAddressResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"UpdateAddress\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateAddress\")\r\n @WebMethod(operationName = \"UpdateAddress\", action = \"http://www.centershift.com/STORE40/UpdateAddress\")\r\n @ResponseWrapper(localName = \"UpdateAddressResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.UpdateAddressResponse\")\r\n public com.centershift.store40.AddressResponse updateAddress(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.ContactAddress request\r\n );\r\n\r\n @WebResult(name = \"getTenantLeaseListResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"getTenantLeaseList\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTenantLeaseList\")\r\n @WebMethod(action = \"http://www.centershift.com/STORE40/getTenantLeaseList\")\r\n @ResponseWrapper(localName = \"getTenantLeaseListResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetTenantLeaseListResponse\")\r\n public com.centershift.store40.GetTenantLeaseListResponse2 getTenantLeaseList(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetTenantDocListRequest request\r\n );\r\n\r\n @WebResult(name = \"VerifyEcommLoginResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"VerifyEcommLogin\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VerifyEcommLogin\")\r\n @WebMethod(operationName = \"VerifyEcommLogin\", action = \"http://www.centershift.com/STORE40/VerifyEcommLogin\")\r\n @ResponseWrapper(localName = \"VerifyEcommLoginResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.VerifyEcommLoginResponse\")\r\n public com.centershift.store40.VerifyEcommLoginResponse2 verifyEcommLogin(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.PasswordRequest request\r\n );\r\n\r\n @WebResult(name = \"ResetRefundsResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"ResetRefunds\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ResetRefunds\")\r\n @WebMethod(operationName = \"ResetRefunds\", action = \"http://www.centershift.com/STORE40/ResetRefunds\")\r\n @ResponseWrapper(localName = \"ResetRefundsResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.ResetRefundsResponse\")\r\n public com.centershift.store40.RefundResponse resetRefunds(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.RefundRequest request\r\n );\r\n\r\n @WebResult(name = \"GetDelinqScheduleResult\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n @RequestWrapper(localName = \"GetDelinqSchedule\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetDelinqSchedule\")\r\n @WebMethod(operationName = \"GetDelinqSchedule\", action = \"http://www.centershift.com/STORE40/GetDelinqSchedule\")\r\n @ResponseWrapper(localName = \"GetDelinqScheduleResponse\", targetNamespace = \"http://www.centershift.com/STORE40/\", className = \"com.centershift.store40.GetDelinqScheduleResponse\")\r\n public com.centershift.store40.GetDelinqScheduleResponse2 getDelinqSchedule(\r\n @WebParam(name = \"LookupUser_Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.LookupUserRequest lookupUserRequest,\r\n @WebParam(name = \"Request\", targetNamespace = \"http://www.centershift.com/STORE40/\")\r\n com.centershift.store40.GetDelinqScheduleRequest request\r\n );\r\n}", "title": "" }, { "docid": "bc936b303ccaf01f2975fb09851cb837", "score": "0.62482244", "text": "@WebService(name = \"RequestHandler\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface RequestHandler {\n\n\n /**\n * \n * @param username\n * @param password\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"login\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.Login\")\n @ResponseWrapper(localName = \"loginResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.LoginResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/loginRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/loginResponse\")\n public int login(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n /**\n * \n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"createEchiquier\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.CreateEchiquier\")\n @ResponseWrapper(localName = \"createEchiquierResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.CreateEchiquierResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/createEchiquierRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/createEchiquierResponse\")\n public int createEchiquier();\n\n /**\n * \n * @param id\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"loadEchiquier\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.LoadEchiquier\")\n @ResponseWrapper(localName = \"loadEchiquierResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.LoadEchiquierResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/loadEchiquierRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/loadEchiquierResponse\")\n public int loadEchiquier(\n @WebParam(name = \"id\", targetNamespace = \"\")\n int id);\n\n /**\n * \n * @param id\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"joinEchiquier\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.JoinEchiquier\")\n @ResponseWrapper(localName = \"joinEchiquierResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.JoinEchiquierResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/joinEchiquierRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/joinEchiquierResponse\")\n public int joinEchiquier(\n @WebParam(name = \"id\", targetNamespace = \"\")\n int id);\n\n /**\n * \n * @param userId\n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getEchiquier\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetEchiquier\")\n @ResponseWrapper(localName = \"getEchiquierResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetEchiquierResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/getEchiquierRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/getEchiquierResponse\")\n public List<String> getEchiquier(\n @WebParam(name = \"userId\", targetNamespace = \"\")\n int userId);\n\n /**\n * \n * @param userId\n * @return\n * returns boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"saveEchiquier\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.SaveEchiquier\")\n @ResponseWrapper(localName = \"saveEchiquierResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.SaveEchiquierResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/saveEchiquierRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/saveEchiquierResponse\")\n public boolean saveEchiquier(\n @WebParam(name = \"userId\", targetNamespace = \"\")\n int userId);\n\n /**\n * \n * @param to\n * @param userId\n * @param from\n * @return\n * returns boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"movePiece\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.MovePiece\")\n @ResponseWrapper(localName = \"movePieceResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.MovePieceResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/movePieceRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/movePieceResponse\")\n public boolean movePiece(\n @WebParam(name = \"userId\", targetNamespace = \"\")\n int userId,\n @WebParam(name = \"from\", targetNamespace = \"\")\n String from,\n @WebParam(name = \"to\", targetNamespace = \"\")\n String to);\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.Integer>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getParties\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetParties\")\n @ResponseWrapper(localName = \"getPartiesResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetPartiesResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/getPartiesRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/getPartiesResponse\")\n public List<Integer> getParties();\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.Integer>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"joinParties\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.JoinParties\")\n @ResponseWrapper(localName = \"joinPartiesResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.JoinPartiesResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/joinPartiesRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/joinPartiesResponse\")\n public List<Integer> joinParties();\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getHistorique\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetHistorique\")\n @ResponseWrapper(localName = \"getHistoriqueResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetHistoriqueResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/getHistoriqueRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/getHistoriqueResponse\")\n public List<String> getHistorique(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n /**\n * \n * @param userId\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getJoueur\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetJoueur\")\n @ResponseWrapper(localName = \"getJoueurResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.GetJoueurResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/getJoueurRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/getJoueurResponse\")\n public int getJoueur(\n @WebParam(name = \"userId\", targetNamespace = \"\")\n int userId);\n\n /**\n * \n * @param username\n * @param password\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"subscribe\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.Subscribe\")\n @ResponseWrapper(localName = \"subscribeResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.SubscribeResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/subscribeRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/subscribeResponse\")\n public int subscribe(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username,\n @WebParam(name = \"password\", targetNamespace = \"\")\n String password);\n\n /**\n * \n * @param arg0\n * @return\n * returns boolean\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"removePartie\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.RemovePartie\")\n @ResponseWrapper(localName = \"removePartieResponse\", targetNamespace = \"http://server.webservice.javaee.tp.m1/\", className = \"m1.tp.javaee.webservice.server.RemovePartieResponse\")\n @Action(input = \"http://server.webservice.javaee.tp.m1/RequestHandler/removePartieRequest\", output = \"http://server.webservice.javaee.tp.m1/RequestHandler/removePartieResponse\")\n public boolean removePartie(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n int arg0);\n\n}", "title": "" }, { "docid": "2a126c62c8f98a3399096fc17da83472", "score": "0.6235156", "text": "@WebService(name = \"EvhcSoap\", targetNamespace = \"http://www.cliffordthames.com/ebusiness/menus/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface EvhcSoap {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns com.demo.clien.GetPartByEvhcResponse\n */\n @WebMethod(operationName = \"GetPartByEvhc\", action = \"http://www.cliffordthames.com/ebusiness/menus/GetPartByEvhc\")\n @WebResult(name = \"getPartByEvhcResponse\", targetNamespace = \"http://www.cliffordthames.com/ebusiness/menus/\", partName = \"parameters\")\n public GetPartByEvhcResponse getPartByEvhc(\n @WebParam(name = \"getPartByEvhc\", targetNamespace = \"http://www.cliffordthames.com/ebusiness/menus/\", partName = \"parameters\")\n GetPartByEvhc parameters);\n\n /**\n * \n * @param parameters\n * @return\n * returns com.demo.clien.GetJobsByEvhcResponse\n */\n @WebMethod(operationName = \"GetJobsByEvhc\", action = \"http://www.cliffordthames.com/ebusiness/menus/GetJobsByEvhc\")\n @WebResult(name = \"getJobsByEvhcResponse\", targetNamespace = \"http://www.cliffordthames.com/ebusiness/menus/\", partName = \"parameters\")\n public GetJobsByEvhcResponse getJobsByEvhc(\n @WebParam(name = \"getJobsByEvhc\", targetNamespace = \"http://www.cliffordthames.com/ebusiness/menus/\", partName = \"parameters\")\n GetJobsByEvhc parameters);\n\n /**\n * \n * @param parameters\n * @return\n * returns com.demo.clien.GetJobDetailsByEvhcResponse\n */\n @WebMethod(operationName = \"GetJobDetailsByEvhc\", action = \"http://www.cliffordthames.com/ebusiness/menus/GetJobDetailsByEvhc\")\n @WebResult(name = \"getJobDetailsByEvhcResponse\", targetNamespace = \"http://www.cliffordthames.com/ebusiness/menus/\", partName = \"parameters\")\n public GetJobDetailsByEvhcResponse getJobDetailsByEvhc(\n @WebParam(name = \"getJobDetailsByEvhc\", targetNamespace = \"http://www.cliffordthames.com/ebusiness/menus/\", partName = \"parameters\")\n GetJobDetailsByEvhc parameters);\n\n}", "title": "" }, { "docid": "fab09f355fa6db6973ddf538170fa630", "score": "0.6234638", "text": "@WebService(name = \"MchisPortType\", targetNamespace = \"http://webservice.zhending.com\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface MchisPortType {\n\n\n /**\n * \n * @param json\n * @param token\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:deleteData\")\n @WebResult(targetNamespace = \"http://webservice.zhending.com\")\n @RequestWrapper(localName = \"deleteData\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.DeleteData\")\n @ResponseWrapper(localName = \"deleteDataResponse\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.DeleteDataResponse\")\n public String deleteData(\n @WebParam(name = \"token\", targetNamespace = \"http://webservice.zhending.com\")\n String token,\n @WebParam(name = \"json\", targetNamespace = \"http://webservice.zhending.com\")\n String json);\n\n /**\n * \n * @param json\n * @param token\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:saveData\")\n @WebResult(targetNamespace = \"http://webservice.zhending.com\")\n @RequestWrapper(localName = \"saveData\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.SaveData\")\n @ResponseWrapper(localName = \"saveDataResponse\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.SaveDataResponse\")\n public String saveData(\n @WebParam(name = \"token\", targetNamespace = \"http://webservice.zhending.com\")\n String token,\n @WebParam(name = \"json\", targetNamespace = \"http://webservice.zhending.com\")\n String json);\n\n /**\n * \n * @param password\n * @param loginCode\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:login\")\n @WebResult(targetNamespace = \"http://webservice.zhending.com\")\n @RequestWrapper(localName = \"login\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.Login\")\n @ResponseWrapper(localName = \"loginResponse\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.LoginResponse\")\n public String login(\n @WebParam(name = \"loginCode\", targetNamespace = \"http://webservice.zhending.com\")\n String loginCode,\n @WebParam(name = \"password\", targetNamespace = \"http://webservice.zhending.com\")\n String password);\n\n /**\n * \n * @param json\n * @param token\n * @return\n * returns java.lang.String\n */\n @WebMethod(action = \"urn:getData\")\n @WebResult(targetNamespace = \"http://webservice.zhending.com\")\n @RequestWrapper(localName = \"getData\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.GetData\")\n @ResponseWrapper(localName = \"getDataResponse\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.GetDataResponse\")\n public String getData(\n @WebParam(name = \"token\", targetNamespace = \"http://webservice.zhending.com\")\n String token,\n @WebParam(name = \"json\", targetNamespace = \"http://webservice.zhending.com\")\n String json);\n\n /**\n * \n * @param keyChilds\n * @param keys\n * @param redisCacheManager\n */\n @WebMethod(action = \"urn:addCaches\")\n @Oneway\n @RequestWrapper(localName = \"addCaches\", targetNamespace = \"http://webservice.zhending.com\", className = \"com.ewell.upload.webservice.client.AddCaches\")\n public void addCaches(\n @WebParam(name = \"redisCacheManager\", targetNamespace = \"http://webservice.zhending.com\")\n RedisCacheManager redisCacheManager,\n @WebParam(name = \"keys\", targetNamespace = \"http://webservice.zhending.com\")\n List<String> keys,\n @WebParam(name = \"keyChilds\", targetNamespace = \"http://webservice.zhending.com\")\n String keyChilds);\n\n}", "title": "" }, { "docid": "5b3c6654d386973a2bd5d188946adfa5", "score": "0.6206946", "text": "@WebService(name = \"JupiterServiceSoap\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface JupiterServiceSoap {\n\n\n /**\n * \n * @param tplj2\n * @param carmerIP\n * @param tplj3\n * @param tgsk\n * @param clsd\n * @param xsfx\n * @param hpzl\n * @param hphm\n * @param kkmy\n * @param cdh\n * @param kkbh\n * @param tplj1\n * @param hpys\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"SendVehiclePass\", action = \"http://tempuri.org/SendVehiclePass\")\n @WebResult(name = \"SendVehiclePassResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"SendVehiclePass\", targetNamespace = \"http://tempuri.org/\", className = \"com.pcm.ws.jws.SendVehiclePass\")\n @ResponseWrapper(localName = \"SendVehiclePassResponse\", targetNamespace = \"http://tempuri.org/\", className = \"com.pcm.ws.jws.SendVehiclePassResponse\")\n public String sendVehiclePass(\n @WebParam(name = \"KKMY\", targetNamespace = \"http://tempuri.org/\")\n String kkmy,\n @WebParam(name = \"KKBH\", targetNamespace = \"http://tempuri.org/\")\n String kkbh,\n @WebParam(name = \"CDH\", targetNamespace = \"http://tempuri.org/\")\n int cdh,\n @WebParam(name = \"HPHM\", targetNamespace = \"http://tempuri.org/\")\n String hphm,\n @WebParam(name = \"HPYS\", targetNamespace = \"http://tempuri.org/\")\n String hpys,\n @WebParam(name = \"HPZL\", targetNamespace = \"http://tempuri.org/\")\n String hpzl,\n @WebParam(name = \"TGSK\", targetNamespace = \"http://tempuri.org/\")\n String tgsk,\n @WebParam(name = \"CarmerIP\", targetNamespace = \"http://tempuri.org/\")\n String carmerIP,\n @WebParam(name = \"CLSD\", targetNamespace = \"http://tempuri.org/\")\n int clsd,\n @WebParam(name = \"XSFX\", targetNamespace = \"http://tempuri.org/\")\n String xsfx,\n @WebParam(name = \"TPLJ1\", targetNamespace = \"http://tempuri.org/\")\n String tplj1,\n @WebParam(name = \"TPLJ2\", targetNamespace = \"http://tempuri.org/\")\n String tplj2,\n @WebParam(name = \"TPLJ3\", targetNamespace = \"http://tempuri.org/\")\n String tplj3);\n\n /**\n * \n * @param tgsk\n * @param carPic\n * @param hphm\n * @param kkmy\n * @param kkbh\n * @param hpys\n * @param wfdm\n * @param carmerIP\n * @param clsd\n * @param tplx\n * @param hpzl\n * @param xsfx\n * @param cdh\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"SendAlarmPass\", action = \"http://tempuri.org/SendAlarmPass\")\n @WebResult(name = \"SendAlarmPassResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"SendAlarmPass\", targetNamespace = \"http://tempuri.org/\", className = \"com.pcm.ws.jws.SendAlarmPass\")\n @ResponseWrapper(localName = \"SendAlarmPassResponse\", targetNamespace = \"http://tempuri.org/\", className = \"com.pcm.ws.jws.SendAlarmPassResponse\")\n public String sendAlarmPass(\n @WebParam(name = \"KKMY\", targetNamespace = \"http://tempuri.org/\")\n String kkmy,\n @WebParam(name = \"KKBH\", targetNamespace = \"http://tempuri.org/\")\n String kkbh,\n @WebParam(name = \"CDH\", targetNamespace = \"http://tempuri.org/\")\n int cdh,\n @WebParam(name = \"TGSK\", targetNamespace = \"http://tempuri.org/\")\n String tgsk,\n @WebParam(name = \"HPHM\", targetNamespace = \"http://tempuri.org/\")\n String hphm,\n @WebParam(name = \"HPYS\", targetNamespace = \"http://tempuri.org/\")\n String hpys,\n @WebParam(name = \"HPZL\", targetNamespace = \"http://tempuri.org/\")\n String hpzl,\n @WebParam(name = \"WFDM\", targetNamespace = \"http://tempuri.org/\")\n String wfdm,\n @WebParam(name = \"CarmerIP\", targetNamespace = \"http://tempuri.org/\")\n String carmerIP,\n @WebParam(name = \"CLSD\", targetNamespace = \"http://tempuri.org/\")\n int clsd,\n @WebParam(name = \"XSFX\", targetNamespace = \"http://tempuri.org/\")\n String xsfx,\n @WebParam(name = \"CarPic\", targetNamespace = \"http://tempuri.org/\")\n String carPic,\n @WebParam(name = \"TPLX\", targetNamespace = \"http://tempuri.org/\")\n String tplx);\n\n}", "title": "" }, { "docid": "2e23935e418cad08940c36d5fc252e42", "score": "0.62018657", "text": "public interface GetClientCallback\n{\n void getClient(WCClient client);\n}", "title": "" }, { "docid": "5f3d55b054a064cc87afae60a32c0ce1", "score": "0.6196519", "text": "public interface WebServiceContext {\n\n /**\n * Returns the <code>MessageContext</code> for the request being served at\n * the time this method is called. Only properties with APPLICATION scope\n * will be visible to the application.\n *\n * @return MessageContext The message context.\n * @throws IllegalStateException\n * This exception is thrown if the method is\n * called while no\n * request is being serviced.\n * @see javax.xml.ws.handler.MessageContext\n * @see javax.xml.ws.handler.MessageContext.Scope\n * @see java.lang.IllegalStateException\n **/\n public MessageContext getMessageContext();\n\n /**\n * Returns the Principal that identifies the sender of the request currently\n * being serviced. If the sender has not been authenticated, the method\n * returns <code>null</code>.\n *\n * @return Principal The principal object.\n * @throws IllegalStateException\n * This exception is thrown if the method is\n * called while no\n * request is being serviced.\n * @see java.security.Principal\n * @see java.lang.IllegalStateException\n **/\n public Principal getUserPrincipal();\n\n /**\n * Returns a boolean indicating whether the authenticated user is included\n * in the specified logical role. If the user has not been authenticated,\n * the method returns <code>false</code>.\n *\n * @param role\n * A <code>String</code> specifying the name of the role\n * @return a <code>boolean</code> indicating whether the sender of the\n * request belongs to a given role\n * @throws IllegalStateException\n * This exception is thrown if the method is\n * called while no\n * request is being serviced.\n **/\n public boolean isUserInRole(String role);\n\n /**\n * Returns the <code>EndpointReference</code> for this endpoint.\n * <p>\n * If the {@link Binding} for this <code>bindingProvider</code> is either\n * SOAP1.1/HTTP or SOAP1.2/HTTP, then a <code>W3CEndpointReference</code>\n * MUST be returned.\n *\n * @param referenceParameters\n * Reference parameters to be associated with the\n * returned\n * <code>EndpointReference</code> instance.\n * @return EndpointReference of the endpoint associated with this\n * <code>WebServiceContext</code>. If the returned\n * <code>EndpointReference</code> is of type\n * <code>W3CEndpointReference</code> then it MUST contain the the\n * specified <code>referenceParameters</code>.\n * @throws IllegalStateException\n * This exception is thrown if the method is\n * called while no\n * request is being serviced.\n * @see W3CEndpointReference\n * @since JAX-WS 2.1\n */\n public EndpointReference getEndpointReference(Element... referenceParameters);\n\n /**\n * Returns the <code>EndpointReference</code> associated with this endpoint.\n *\n * @param clazz\n * The type of <code>EndpointReference</code>\n * that MUST be\n * returned.\n * @param referenceParameters\n * Reference parameters to be associated with the\n * returned\n * <code>EndpointReference</code> instance.\n * @return EndpointReference of type <code>clazz</code> of the endpoint\n * associated with this <code>WebServiceContext</code> instance. If\n * the returned <code>EndpointReference</code> is of type\n * <code>W3CEndpointReference</code> then it MUST contain the the\n * specified <code>referenceParameters</code>.\n * @throws IllegalStateException\n * This exception is thrown if the method is\n * called while no\n * request is being serviced.\n * @throws WebServiceException\n * If the <code>clazz</code> type of\n * <code>EndpointReference</code> is not\n * supported.\n * @since JAX-WS 2.1\n **/\n public <T extends EndpointReference> T getEndpointReference(Class<T> clazz,\n Element... referenceParameters);\n}", "title": "" }, { "docid": "204a2ed59fb71bf1ca61801e21b8bc4c", "score": "0.61869836", "text": "@WebService(targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", name = \"BookClient\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface BookClient {\n\n @WebMethod\n @RequestWrapper(localName = \"getListReservationByBookOrderByDate\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListReservationByBookOrderByDate\")\n @ResponseWrapper(localName = \"getListReservationByBookOrderByDateResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListReservationByBookOrderByDateResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.library.oc.library.business.contract.manager.Reservation> getListReservationByBookOrderByDate(\n @WebParam(name = \"idBook\", targetNamespace = \"\")\n int idBook\n );\n\n @WebMethod\n @RequestWrapper(localName = \"updateReservationStatusToFalse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.UpdateReservationStatusToFalse\")\n @ResponseWrapper(localName = \"updateReservationStatusToFalseResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.UpdateReservationStatusToFalseResponse\")\n public void updateReservationStatusToFalse(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getBook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetBook\")\n @ResponseWrapper(localName = \"getBookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetBookResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.library.oc.library.business.contract.manager.Book getBook(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getNbOfActiveReservationForABook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetNbOfActiveReservationForABook\")\n @ResponseWrapper(localName = \"getNbOfActiveReservationForABookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetNbOfActiveReservationForABookResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public int getNbOfActiveReservationForABook(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getNbOfCopiesAvailableForABookBorrowed\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetNbOfCopiesAvailableForABookBorrowed\")\n @ResponseWrapper(localName = \"getNbOfCopiesAvailableForABookBorrowedResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetNbOfCopiesAvailableForABookBorrowedResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public int getNbOfCopiesAvailableForABookBorrowed(\n @WebParam(name = \"bookBorrowed\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.BookBorrowed bookBorrowed\n );\n\n @WebMethod\n @RequestWrapper(localName = \"buildBookBorrowedDependencies\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BuildBookBorrowedDependencies\")\n @ResponseWrapper(localName = \"buildBookBorrowedDependenciesResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BuildBookBorrowedDependenciesResponse\")\n public void buildBookBorrowedDependencies(\n @WebParam(name = \"borrowedBook\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.BookBorrowed borrowedBook\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getReservationByUserByBook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetReservationByUserByBook\")\n @ResponseWrapper(localName = \"getReservationByUserByBookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetReservationByUserByBookResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.library.oc.library.business.contract.manager.ReservationWithEmail getReservationByUserByBook(\n @WebParam(name = \"idUser\", targetNamespace = \"\")\n int idUser,\n @WebParam(name = \"idBook\", targetNamespace = \"\")\n int idBook\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getDateOfReturnOfOldestBorrowOfABook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetDateOfReturnOfOldestBorrowOfABook\")\n @ResponseWrapper(localName = \"getDateOfReturnOfOldestBorrowOfABookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetDateOfReturnOfOldestBorrowOfABookResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.library.oc.library.business.contract.manager.BookBorrowed getDateOfReturnOfOldestBorrowOfABook(\n @WebParam(name = \"idBook\", targetNamespace = \"\")\n int idBook\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getNbOfCopiesAvailableForABook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetNbOfCopiesAvailableForABook\")\n @ResponseWrapper(localName = \"getNbOfCopiesAvailableForABookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetNbOfCopiesAvailableForABookResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public int getNbOfCopiesAvailableForABook(\n @WebParam(name = \"book\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.Book book\n );\n\n @WebMethod\n @RequestWrapper(localName = \"buildBookDependencies\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BuildBookDependencies\")\n @ResponseWrapper(localName = \"buildBookDependenciesResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BuildBookDependenciesResponse\")\n public void buildBookDependencies(\n @WebParam(name = \"book\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.Book book\n );\n\n @WebMethod\n @RequestWrapper(localName = \"updateEmailStatus\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.UpdateEmailStatus\")\n @ResponseWrapper(localName = \"updateEmailStatusResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.UpdateEmailStatusResponse\")\n public void updateEmailStatus(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"borrowBook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BorrowBook\")\n @ResponseWrapper(localName = \"borrowBookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BorrowBookResponse\")\n public void borrowBook(\n @WebParam(name = \"user\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.User user,\n @WebParam(name = \"book\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.Book book\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getListReservationWithEmailAndBook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListReservationWithEmailAndBook\")\n @ResponseWrapper(localName = \"getListReservationWithEmailAndBookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListReservationWithEmailAndBookResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.library.oc.library.business.contract.manager.ReservationWithEmail> getListReservationWithEmailAndBook();\n\n @WebMethod\n @RequestWrapper(localName = \"displayAllBooks\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.DisplayAllBooks\")\n @ResponseWrapper(localName = \"displayAllBooksResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.DisplayAllBooksResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.library.oc.library.business.contract.manager.Book> displayAllBooks();\n\n @WebMethod\n @RequestWrapper(localName = \"reserveBook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.ReserveBook\")\n @ResponseWrapper(localName = \"reserveBookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.ReserveBookResponse\")\n public void reserveBook(\n @WebParam(name = \"user\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.User user,\n @WebParam(name = \"book\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.Book book\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getListBookBorrowedFinishInFiveDays\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookBorrowedFinishInFiveDays\")\n @ResponseWrapper(localName = \"getListBookBorrowedFinishInFiveDaysResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookBorrowedFinishInFiveDaysResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.library.oc.library.business.contract.manager.BookBorrowedWithEmail> getListBookBorrowedFinishInFiveDays();\n\n @WebMethod\n @RequestWrapper(localName = \"cancelReservation\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.CancelReservation\")\n @ResponseWrapper(localName = \"cancelReservationResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.CancelReservationResponse\")\n public void cancelReservation(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getListBookBorrowedByUser\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookBorrowedByUser\")\n @ResponseWrapper(localName = \"getListBookBorrowedByUserResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookBorrowedByUserResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.library.oc.library.business.contract.manager.BookBorrowed> getListBookBorrowedByUser(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getListBookReservedByUser\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookReservedByUser\")\n @ResponseWrapper(localName = \"getListBookReservedByUserResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookReservedByUserResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.library.oc.library.business.contract.manager.BookReserved> getListBookReservedByUser(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getListBookReservedByUserAndReadyToBorrow\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookReservedByUserAndReadyToBorrow\")\n @ResponseWrapper(localName = \"getListBookReservedByUserAndReadyToBorrowResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetListBookReservedByUserAndReadyToBorrowResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<com.library.oc.library.business.contract.manager.Book> getListBookReservedByUserAndReadyToBorrow(\n @WebParam(name = \"idUser\", targetNamespace = \"\")\n int idUser\n );\n\n @WebMethod\n @RequestWrapper(localName = \"getOldestUserReservationForABook\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetOldestUserReservationForABook\")\n @ResponseWrapper(localName = \"getOldestUserReservationForABookResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.GetOldestUserReservationForABookResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public com.library.oc.library.business.contract.manager.ReservationWithEmail getOldestUserReservationForABook(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n\n @WebMethod\n @RequestWrapper(localName = \"buildBookReservedDependencies\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BuildBookReservedDependencies\")\n @ResponseWrapper(localName = \"buildBookReservedDependenciesResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.BuildBookReservedDependenciesResponse\")\n public void buildBookReservedDependencies(\n @WebParam(name = \"reservedBook\", targetNamespace = \"\")\n com.library.oc.library.business.contract.manager.BookReserved reservedBook\n );\n\n @WebMethod\n @RequestWrapper(localName = \"extendBorrow\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.ExtendBorrow\")\n @ResponseWrapper(localName = \"extendBorrowResponse\", targetNamespace = \"http://manager.contract.business.library.oc.library.com/\", className = \"com.library.oc.library.business.contract.manager.ExtendBorrowResponse\")\n public void extendBorrow(\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Integer id\n );\n}", "title": "" }, { "docid": "4eb348a54214daec8baf8478d66efe17", "score": "0.6176262", "text": "@WebService\npublic interface OrderService {\n int findOrderNumByCustomerId(@WebParam(name = \"purchase\") String purchase);\n\n Order findOrderById(@WebParam(name = \"orderId\") Long id);\n\n}", "title": "" }, { "docid": "45edaf8b676a4adc1f976e6df653e8e9", "score": "0.6167694", "text": "ServiceObjectivesClient getServiceObjectives();", "title": "" }, { "docid": "9222e5e8e8a75637460f40a12c085593", "score": "0.61663043", "text": "@WebService(name = \"MobileCodeWSHttpGet\", targetNamespace = \"http://WebXml.com.cn/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface MobileCodeWSHttpGet {\n\n\n /**\n * <br /><h3>��ù����ֻ����������ʡ�ݡ��������ֻ���������Ϣ</h3><p>���������mobileCode = �ַ������ֻ����룬����ǰ7λ���֣���userID = �ַ�������ҵ�û�ID�� ����û�Ϊ���ַ������������ݣ��ַ������ֻ����룺ʡ�� ���� �ֻ������ͣ���</p><br />\n * \n * @param mobileCode\n * @param userID\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(name = \"string\", targetNamespace = \"http://WebXml.com.cn/\", partName = \"Body\")\n public String getMobileCodeInfo(\n @WebParam(name = \"string\", targetNamespace = \"http://www.w3.org/2001/XMLSchema\", partName = \"mobileCode\")\n String mobileCode,\n @WebParam(name = \"string\", targetNamespace = \"http://www.w3.org/2001/XMLSchema\", partName = \"userID\")\n String userID);\n\n /**\n * <br /><h3>��ù����ֻ�������������ݿ���Ϣ</h3><p>����������ޣ��������ݣ�һά�ַ������飨ʡ�� ���� ��¼��������</p><br />\n * \n * @return\n * returns com.ujiuye.server.ArrayOfString\n */\n @WebMethod\n @WebResult(name = \"ArrayOfString\", targetNamespace = \"http://WebXml.com.cn/\", partName = \"Body\")\n public ArrayOfString getDatabaseInfo();\n\n}", "title": "" }, { "docid": "714ea18376a784910303a96fb2b9b73f", "score": "0.6158014", "text": "@WebService(name = \"WebServiceRCBSoap\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface WebServiceRCBSoap {\n\n\n /**\n * WS retorna datos de inscritos en arrays - compatibilidad con otros lenguajes (Java, etc)\n *\n * @param keyContrato\n * @param idMatricula\n * @param idContrato\n * @return returns bo.gaceta.rcb.presentacion.autorizado.servicios.ArrayOfMatriculaDatos\n */\n @WebMethod(operationName = \"SrvMatricula\", action = \"http://www.fundempresa.org.bo:10080/wsrcb/SrvMatricula\")\n @WebResult(name = \"SrvMatriculaResult\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n @RequestWrapper(localName = \"SrvMatricula\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvMatricula\")\n @ResponseWrapper(localName = \"SrvMatriculaResponse\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvMatriculaResponse\")\n public ArrayOfMatriculaDatos srvMatricula(\n @WebParam(name = \"idContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idContrato,\n @WebParam(name = \"keyContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String keyContrato,\n @WebParam(name = \"IdMatricula\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idMatricula);\n\n /**\n * WS retorna datos de actividades de inscritos en arrays - compatibilidad con otros lenguajes (Java, etc)\n *\n * @param keyContrato\n * @param idMatricula\n * @param idContrato\n * @return returns bo.gaceta.rcb.presentacion.autorizado.servicios.ArrayOfMatriculaActividad\n */\n @WebMethod(operationName = \"SrvActividades\", action = \"http://www.fundempresa.org.bo:10080/wsrcb/SrvActividades\")\n @WebResult(name = \"SrvActividadesResult\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n @RequestWrapper(localName = \"SrvActividades\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvActividades\")\n @ResponseWrapper(localName = \"SrvActividadesResponse\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvActividadesResponse\")\n public ArrayOfMatriculaActividad srvActividades(\n @WebParam(name = \"idContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idContrato,\n @WebParam(name = \"keyContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String keyContrato,\n @WebParam(name = \"IdMatricula\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idMatricula);\n\n /**\n * WS retorna datos de representantes en arrays - compatibilidad con otros lenguajes (Java, etc)\n *\n * @param keyContrato\n * @param idMatricula\n * @param idContrato\n * @return returns bo.gaceta.rcb.presentacion.autorizado.servicios.ArrayOfRepresentantes\n */\n @WebMethod(operationName = \"SrvRepresentante\", action = \"http://www.fundempresa.org.bo:10080/wsrcb/SrvRepresentante\")\n @WebResult(name = \"SrvRepresentanteResult\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n @RequestWrapper(localName = \"SrvRepresentante\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvRepresentante\")\n @ResponseWrapper(localName = \"SrvRepresentanteResponse\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvRepresentanteResponse\")\n public ArrayOfRepresentantes srvRepresentante(\n @WebParam(name = \"idContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idContrato,\n @WebParam(name = \"keyContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String keyContrato,\n @WebParam(name = \"IdMatricula\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idMatricula);\n\n /**\n * WS consulta de imágenes\n *\n * @param keyContrato\n * @param idLibro\n * @param idMatricula\n * @param numReg\n * @param idContrato\n * @return returns bo.gaceta.rcb.presentacion.autorizado.servicios.ArrayOfImagenDatos\n */\n @WebMethod(operationName = \"SrvImagen\", action = \"http://www.fundempresa.org.bo:10080/wsrcb/SrvImagen\")\n @WebResult(name = \"SrvImagenResult\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n @RequestWrapper(localName = \"SrvImagen\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvImagen\")\n @ResponseWrapper(localName = \"SrvImagenResponse\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvImagenResponse\")\n public ArrayOfImagenDatos srvImagen(\n @WebParam(name = \"idContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idContrato,\n @WebParam(name = \"keyContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String keyContrato,\n @WebParam(name = \"IdMatricula\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idMatricula,\n @WebParam(name = \"idLibro\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idLibro,\n @WebParam(name = \"numReg\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String numReg);\n\n /**\n * WS retorna datos de inscrito con la fecha de la vigencia de la Matricula\n *\n * @param keyContrato\n * @param idMatricula\n * @param idContrato\n * @return returns bo.gaceta.rcb.presentacion.autorizado.servicios.ArrayOfMatriculaDatosVigencia\n */\n @WebMethod(operationName = \"SrvMatriculaVigencia\", action = \"http://www.fundempresa.org.bo:10080/wsrcb/SrvMatriculaVigencia\")\n @WebResult(name = \"SrvMatriculaVigenciaResult\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n @RequestWrapper(localName = \"SrvMatriculaVigencia\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvMatriculaVigencia\")\n @ResponseWrapper(localName = \"SrvMatriculaVigenciaResponse\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvMatriculaVigenciaResponse\")\n public ArrayOfMatriculaDatosVigencia srvMatriculaVigencia(\n @WebParam(name = \"idContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idContrato,\n @WebParam(name = \"keyContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String keyContrato,\n @WebParam(name = \"IdMatricula\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idMatricula);\n\n /**\n * WS retorna datos operativos del inscrito\n *\n * @param keyContrato\n * @param idMatricula\n * @param idContrato\n * @return returns bo.gaceta.rcb.presentacion.autorizado.servicios.ArrayOfMatriculaDatosOperativos\n */\n @WebMethod(operationName = \"SrvMatriculaDatosOperativos\", action = \"http://www.fundempresa.org.bo:10080/wsrcb/SrvMatriculaDatosOperativos\")\n @WebResult(name = \"SrvMatriculaDatosOperativosResult\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n @RequestWrapper(localName = \"SrvMatriculaDatosOperativos\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvMatriculaDatosOperativos\")\n @ResponseWrapper(localName = \"SrvMatriculaDatosOperativosResponse\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\", className = \"bo.gaceta.rcb.presentacion.autorizado.servicios.SrvMatriculaDatosOperativosResponse\")\n public ArrayOfMatriculaDatosOperativos srvMatriculaDatosOperativos(\n @WebParam(name = \"idContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idContrato,\n @WebParam(name = \"keyContrato\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String keyContrato,\n @WebParam(name = \"IdMatricula\", targetNamespace = \"http://www.fundempresa.org.bo:10080/wsrcb\")\n String idMatricula);\n\n}", "title": "" }, { "docid": "ff936f8c0396cda35e5dd2887930912d", "score": "0.61478347", "text": "@WebService(name = \"MortgageIndexHttpPost\", targetNamespace = \"http://www.webserviceX.NET/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface MortgageIndexHttpPost {\n\n\n /**\n * Get Current month ARM indexes\n * \n * @return\n * returns net.webservicex.MonthlyIndex\n */\n @WebMethod(operationName = \"GetCurrentMortgageIndexMonthly\")\n @WebResult(name = \"MonthlyIndex\", targetNamespace = \"http://www.webserviceX.NET/\", partName = \"Body\")\n public MonthlyIndex getCurrentMortgageIndexMonthly();\n\n /**\n * Get Current week ARM indexes\n * \n * @return\n * returns net.webservicex.WeeklyIndex\n */\n @WebMethod(operationName = \"GetCurrentMortgageIndexByWeekly\")\n @WebResult(name = \"WeeklyIndex\", targetNamespace = \"http://www.webserviceX.NET/\", partName = \"Body\")\n public WeeklyIndex getCurrentMortgageIndexByWeekly();\n\n /**\n * Get ARM indexes by Month\n * \n * @param month\n * @param year\n * @return\n * returns net.webservicex.MonthlyIndex\n */\n @WebMethod(operationName = \"GetMortgageIndexByMonth\")\n @WebResult(name = \"MonthlyIndex\", targetNamespace = \"http://www.webserviceX.NET/\", partName = \"Body\")\n public MonthlyIndex getMortgageIndexByMonth(\n @WebParam(name = \"string\", targetNamespace = \"http://www.w3.org/2001/XMLSchema\", partName = \"Month\")\n String month,\n @WebParam(name = \"string\", targetNamespace = \"http://www.w3.org/2001/XMLSchema\", partName = \"Year\")\n String year);\n\n /**\n * Get ARM indexes by Week\n * \n * @param month\n * @param year\n * @param day\n * @return\n * returns net.webservicex.WeeklyIndex\n */\n @WebMethod(operationName = \"GetMortgageIndexByWeek\")\n @WebResult(name = \"WeeklyIndex\", targetNamespace = \"http://www.webserviceX.NET/\", partName = \"Body\")\n public WeeklyIndex getMortgageIndexByWeek(\n @WebParam(name = \"string\", targetNamespace = \"http://www.w3.org/2001/XMLSchema\", partName = \"Day\")\n String day,\n @WebParam(name = \"string\", targetNamespace = \"http://www.w3.org/2001/XMLSchema\", partName = \"Month\")\n String month,\n @WebParam(name = \"string\", targetNamespace = \"http://www.w3.org/2001/XMLSchema\", partName = \"Year\")\n String year);\n\n}", "title": "" }, { "docid": "ffbc18b29c07c1d6593fb9ab2715815f", "score": "0.61418265", "text": "@WebService(targetNamespace = \"http://epoint.com.cn/\", name = \"PingBiaoInterfaceSoap\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface PingBiaoInterfaceSoap {\n\n @WebMethod(operationName = \"GetLastCommitBJHistoryDetail\", action = \"http://epoint.com.cn/GetLastCommitBJHistoryDetail\")\n @RequestWrapper(localName = \"GetLastCommitBJHistoryDetail\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetLastCommitBJHistoryDetail\")\n @ResponseWrapper(localName = \"GetLastCommitBJHistoryDetailResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetLastCommitBJHistoryDetailResponse\")\n @WebResult(name = \"GetLastCommitBJHistoryDetailResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getLastCommitBJHistoryDetail(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"DanWeiGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String danWeiGuid\n );\n\n @WebMethod(operationName = \"GetDanWeiKBBiaoDuan\", action = \"http://epoint.com.cn/GetDanWeiKBBiaoDuan\")\n @RequestWrapper(localName = \"GetDanWeiKBBiaoDuan\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetDanWeiKBBiaoDuan\")\n @ResponseWrapper(localName = \"GetDanWeiKBBiaoDuanResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetDanWeiKBBiaoDuanResponse\")\n @WebResult(name = \"GetDanWeiKBBiaoDuanResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getDanWeiKBBiaoDuan(\n @WebParam(name = \"DanWeiGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String danWeiGuid,\n @WebParam(name = \"StartTime\", targetNamespace = \"http://epoint.com.cn/\")\n javax.xml.datatype.XMLGregorianCalendar startTime,\n @WebParam(name = \"EndTime\", targetNamespace = \"http://epoint.com.cn/\")\n javax.xml.datatype.XMLGregorianCalendar endTime,\n @WebParam(name = \"MD5\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String md5\n );\n\n @WebMethod(operationName = \"UpdateBJInfo\", action = \"http://epoint.com.cn/UpdateBJInfo\")\n @RequestWrapper(localName = \"UpdateBJInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpdateBJInfo\")\n @ResponseWrapper(localName = \"UpdateBJInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpdateBJInfoResponse\")\n public void updateBJInfo(\n @WebParam(name = \"xml\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String xml\n );\n\n @WebMethod(operationName = \"UploadTBDWInfo\", action = \"http://epoint.com.cn/UploadTBDWInfo\")\n @RequestWrapper(localName = \"UploadTBDWInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UploadTBDWInfo\")\n @ResponseWrapper(localName = \"UploadTBDWInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UploadTBDWInfoResponse\")\n @WebResult(name = \"UploadTBDWInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public boolean uploadTBDWInfo(\n @WebParam(name = \"ProjectGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String projectGuid,\n @WebParam(name = \"XiaQuCode\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String xiaQuCode,\n @WebParam(name = \"PWD\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String pwd,\n @WebParam(name = \"XML\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String xml\n );\n\n @WebMethod(operationName = \"GetLastEditBJHistoryDetail\", action = \"http://epoint.com.cn/GetLastEditBJHistoryDetail\")\n @RequestWrapper(localName = \"GetLastEditBJHistoryDetail\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetLastEditBJHistoryDetail\")\n @ResponseWrapper(localName = \"GetLastEditBJHistoryDetailResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetLastEditBJHistoryDetailResponse\")\n @WebResult(name = \"GetLastEditBJHistoryDetailResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getLastEditBJHistoryDetail(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"DanWeiGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String danWeiGuid\n );\n\n @WebMethod(operationName = \"GetBJHistoryDetail\", action = \"http://epoint.com.cn/GetBJHistoryDetail\")\n @RequestWrapper(localName = \"GetBJHistoryDetail\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJHistoryDetail\")\n @ResponseWrapper(localName = \"GetBJHistoryDetailResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJHistoryDetailResponse\")\n @WebResult(name = \"GetBJHistoryDetailResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getBJHistoryDetail(\n @WebParam(name = \"BJGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String bjGuid\n );\n\n @WebMethod(operationName = \"GetNJHWBiaoDuan\", action = \"http://epoint.com.cn/GetNJHWBiaoDuan\")\n @RequestWrapper(localName = \"GetNJHWBiaoDuan\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetNJHWBiaoDuan\")\n @ResponseWrapper(localName = \"GetNJHWBiaoDuanResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetNJHWBiaoDuanResponse\")\n @WebResult(name = \"GetNJHWBiaoDuanResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getNJHWBiaoDuan(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid\n );\n\n @WebMethod(operationName = \"GetMeetStatus\", action = \"http://epoint.com.cn/GetMeetStatus\")\n @RequestWrapper(localName = \"GetMeetStatus\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetMeetStatus\")\n @ResponseWrapper(localName = \"GetMeetStatusResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetMeetStatusResponse\")\n @WebResult(name = \"GetMeetStatusResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getMeetStatus(\n @WebParam(name = \"MeetID\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String meetID\n );\n\n @WebMethod(operationName = \"GetDanWeiBiaoDuan\", action = \"http://epoint.com.cn/GetDanWeiBiaoDuan\")\n @RequestWrapper(localName = \"GetDanWeiBiaoDuan\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetDanWeiBiaoDuan\")\n @ResponseWrapper(localName = \"GetDanWeiBiaoDuanResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetDanWeiBiaoDuanResponse\")\n @WebResult(name = \"GetDanWeiBiaoDuanResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getDanWeiBiaoDuan(\n @WebParam(name = \"DanWeiGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String danWeiGuid,\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"MD5\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String md5\n );\n\n @WebMethod(operationName = \"UploadFile\", action = \"http://epoint.com.cn/UploadFile\")\n @RequestWrapper(localName = \"UploadFile\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UploadFile\")\n @ResponseWrapper(localName = \"UploadFileResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UploadFileResponse\")\n public void uploadFile(\n @WebParam(name = \"BiaoDuanNo\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanNo,\n @WebParam(name = \"PingWeiName\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String pingWeiName\n );\n\n @WebMethod(operationName = \"GenBiaoDuanInfo\", action = \"http://epoint.com.cn/GenBiaoDuanInfo\")\n @RequestWrapper(localName = \"GenBiaoDuanInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GenBiaoDuanInfo\")\n @ResponseWrapper(localName = \"GenBiaoDuanInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GenBiaoDuanInfoResponse\")\n @WebResult(name = \"GenBiaoDuanInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String genBiaoDuanInfo(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid\n );\n\n @WebMethod(operationName = \"GetPingBiaoIsEnd\", action = \"http://epoint.com.cn/GetPingBiaoIsEnd\")\n @RequestWrapper(localName = \"GetPingBiaoIsEnd\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingBiaoIsEnd\")\n @ResponseWrapper(localName = \"GetPingBiaoIsEndResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingBiaoIsEndResponse\")\n @WebResult(name = \"GetPingBiaoIsEndResult\", targetNamespace = \"http://epoint.com.cn/\")\n public boolean getPingBiaoIsEnd(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid\n );\n\n @WebMethod(operationName = \"GetNJHWDanWei\", action = \"http://epoint.com.cn/GetNJHWDanWei\")\n @RequestWrapper(localName = \"GetNJHWDanWei\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetNJHWDanWei\")\n @ResponseWrapper(localName = \"GetNJHWDanWeiResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetNJHWDanWeiResponse\")\n @WebResult(name = \"GetNJHWDanWeiResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getNJHWDanWei(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid\n );\n\n @WebMethod(operationName = \"UpdateBJQianZhangInfo\", action = \"http://epoint.com.cn/UpdateBJQianZhangInfo\")\n @RequestWrapper(localName = \"UpdateBJQianZhangInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpdateBJQianZhangInfo\")\n @ResponseWrapper(localName = \"UpdateBJQianZhangInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpdateBJQianZhangInfoResponse\")\n public void updateBJQianZhangInfo(\n @WebParam(name = \"BJGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String bjGuid,\n @WebParam(name = \"AttachConName\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String attachConName,\n @WebParam(name = \"IsQianZhang\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String isQianZhang\n );\n\n @WebMethod(operationName = \"GetPingBiaoBiaoDuanInfo\", action = \"http://epoint.com.cn/GetPingBiaoBiaoDuanInfo\")\n @RequestWrapper(localName = \"GetPingBiaoBiaoDuanInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingBiaoBiaoDuanInfo\")\n @ResponseWrapper(localName = \"GetPingBiaoBiaoDuanInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingBiaoBiaoDuanInfoResponse\")\n @WebResult(name = \"GetPingBiaoBiaoDuanInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getPingBiaoBiaoDuanInfo(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid\n );\n\n @WebMethod(operationName = \"GetMeetList\", action = \"http://epoint.com.cn/GetMeetList\")\n @RequestWrapper(localName = \"GetMeetList\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetMeetList\")\n @ResponseWrapper(localName = \"GetMeetListResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetMeetListResponse\")\n @WebResult(name = \"GetMeetListResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getMeetList();\n\n @WebMethod(operationName = \"GetBJHistoryByBJGuid\", action = \"http://epoint.com.cn/GetBJHistoryByBJGuid\")\n @RequestWrapper(localName = \"GetBJHistoryByBJGuid\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJHistoryByBJGuid\")\n @ResponseWrapper(localName = \"GetBJHistoryByBJGuidResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJHistoryByBJGuidResponse\")\n @WebResult(name = \"GetBJHistoryByBJGuidResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getBJHistoryByBJGuid(\n @WebParam(name = \"BJGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String bjGuid\n );\n\n @WebMethod(operationName = \"GetPBDanWeiInfo\", action = \"http://epoint.com.cn/GetPBDanWeiInfo\")\n @RequestWrapper(localName = \"GetPBDanWeiInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPBDanWeiInfo\")\n @ResponseWrapper(localName = \"GetPBDanWeiInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPBDanWeiInfoResponse\")\n @WebResult(name = \"GetPBDanWeiInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getPBDanWeiInfo(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"DanWeiGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String danWeiGuid\n );\n\n @WebMethod(operationName = \"IsEnd\", action = \"http://epoint.com.cn/IsEnd\")\n @RequestWrapper(localName = \"IsEnd\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.IsEnd\")\n @ResponseWrapper(localName = \"IsEndResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.IsEndResponse\")\n @WebResult(name = \"IsEndResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String isEnd(\n @WebParam(name = \"MeetingID\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String meetingID\n );\n\n @WebMethod(operationName = \"GetKBJLInfo\", action = \"http://epoint.com.cn/GetKBJLInfo\")\n @RequestWrapper(localName = \"GetKBJLInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetKBJLInfo\")\n @ResponseWrapper(localName = \"GetKBJLInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetKBJLInfoResponse\")\n @WebResult(name = \"GetKBJLInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getKBJLInfo(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid\n );\n\n @WebMethod(operationName = \"UpLoadProjectInfo\", action = \"http://epoint.com.cn/UpLoadProjectInfo\")\n @RequestWrapper(localName = \"UpLoadProjectInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpLoadProjectInfo\")\n @ResponseWrapper(localName = \"UpLoadProjectInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpLoadProjectInfoResponse\")\n @WebResult(name = \"UpLoadProjectInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public boolean upLoadProjectInfo(\n @WebParam(name = \"XiaQuCode\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String xiaQuCode,\n @WebParam(name = \"XML\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String xml,\n @WebParam(name = \"ProjectGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String projectGuid,\n @WebParam(name = \"PWD\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String pwd\n );\n\n @WebMethod(operationName = \"UpdateDecrInfo\", action = \"http://epoint.com.cn/UpdateDecrInfo\")\n @RequestWrapper(localName = \"UpdateDecrInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpdateDecrInfo\")\n @ResponseWrapper(localName = \"UpdateDecrInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UpdateDecrInfoResponse\")\n @WebResult(name = \"UpdateDecrInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public boolean updateDecrInfo(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"DanWeiGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String danWeiGuid,\n @WebParam(name = \"strDecrTB\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String strDecrTB\n );\n\n @WebMethod(operationName = \"GetBJHistory\", action = \"http://epoint.com.cn/GetBJHistory\")\n @RequestWrapper(localName = \"GetBJHistory\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJHistory\")\n @ResponseWrapper(localName = \"GetBJHistoryResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJHistoryResponse\")\n @WebResult(name = \"GetBJHistoryResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getBJHistory(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"DanWeiGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String danWeiGuid\n );\n\n @WebMethod(operationName = \"GetBJBiaoDuanList\", action = \"http://epoint.com.cn/GetBJBiaoDuanList\")\n @RequestWrapper(localName = \"GetBJBiaoDuanList\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJBiaoDuanList\")\n @ResponseWrapper(localName = \"GetBJBiaoDuanListResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetBJBiaoDuanListResponse\")\n public void getBJBiaoDuanList(\n @WebParam(name = \"TName\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String tName,\n @WebParam(name = \"PageSize\", targetNamespace = \"http://epoint.com.cn/\")\n int pageSize,\n @WebParam(name = \"CurrentPageIndex\", targetNamespace = \"http://epoint.com.cn/\")\n int currentPageIndex,\n @WebParam(name = \"UniqueField\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String uniqueField,\n @WebParam(name = \"Where\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String where,\n @WebParam(name = \"OrderBy\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String orderBy,\n @WebParam(mode = WebParam.Mode.OUT, name = \"GetBJBiaoDuanListResult\", targetNamespace = \"http://epoint.com.cn/\")\n javax.xml.ws.Holder<java.lang.String> getBJBiaoDuanListResult,\n @WebParam(mode = WebParam.Mode.OUT, name = \"TotalNum\", targetNamespace = \"http://epoint.com.cn/\")\n javax.xml.ws.Holder<java.lang.Integer> totalNum\n );\n\n @WebMethod(operationName = \"GetRoomInfo\", action = \"http://epoint.com.cn/GetRoomInfo\")\n @RequestWrapper(localName = \"GetRoomInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetRoomInfo\")\n @ResponseWrapper(localName = \"GetRoomInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetRoomInfoResponse\")\n @WebResult(name = \"GetRoomInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getRoomInfo(\n @WebParam(name = \"StartTime\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String startTime,\n @WebParam(name = \"EndTime\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String endTime\n );\n\n @WebMethod(operationName = \"UploadPW_LibInfo\", action = \"http://epoint.com.cn/UploadPW_LibInfo\")\n @RequestWrapper(localName = \"UploadPW_LibInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UploadPWLibInfo\")\n @ResponseWrapper(localName = \"UploadPW_LibInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.UploadPWLibInfoResponse\")\n @WebResult(name = \"UploadPW_LibInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public boolean uploadPWLibInfo(\n @WebParam(name = \"XiaQuCode\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String xiaQuCode,\n @WebParam(name = \"PWD\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String pwd,\n @WebParam(name = \"XML\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String xml,\n @WebParam(name = \"ProjectGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String projectGuid\n );\n\n @WebMethod(operationName = \"GetPBResultInfo\", action = \"http://epoint.com.cn/GetPBResultInfo\")\n @RequestWrapper(localName = \"GetPBResultInfo\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPBResultInfo\")\n @ResponseWrapper(localName = \"GetPBResultInfoResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPBResultInfoResponse\")\n @WebResult(name = \"GetPBResultInfoResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getPBResultInfo(\n @WebParam(name = \"Info\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String info,\n @WebParam(name = \"PWD\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String pwd\n );\n\n @WebMethod(operationName = \"GetPingWeiLSDZDF\", action = \"http://epoint.com.cn/GetPingWeiLSDZDF\")\n @RequestWrapper(localName = \"GetPingWeiLSDZDF\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingWeiLSDZDF\")\n @ResponseWrapper(localName = \"GetPingWeiLSDZDFResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingWeiLSDZDFResponse\")\n @WebResult(name = \"GetPingWeiLSDZDFResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getPingWeiLSDZDF(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"MD5\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String md5\n );\n\n @WebMethod(operationName = \"GetPingWeiLSDDetailDF\", action = \"http://epoint.com.cn/GetPingWeiLSDDetailDF\")\n @RequestWrapper(localName = \"GetPingWeiLSDDetailDF\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingWeiLSDDetailDF\")\n @ResponseWrapper(localName = \"GetPingWeiLSDDetailDFResponse\", targetNamespace = \"http://epoint.com.cn/\", className = \"cn.com.epoint.GetPingWeiLSDDetailDFResponse\")\n @WebResult(name = \"GetPingWeiLSDDetailDFResult\", targetNamespace = \"http://epoint.com.cn/\")\n public java.lang.String getPingWeiLSDDetailDF(\n @WebParam(name = \"BiaoDuanGuid\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String biaoDuanGuid,\n @WebParam(name = \"MD5\", targetNamespace = \"http://epoint.com.cn/\")\n java.lang.String md5\n );\n}", "title": "" }, { "docid": "93e9d44bf839ca922753bb7f0f3565ad", "score": "0.61298704", "text": "String getService();", "title": "" }, { "docid": "6fe747496da00c1ca8b964e50c07ead6", "score": "0.61164594", "text": "OKMWebservices getOKMWebservices(String username) throws AuthenticationException, UnknowException, WebserviceException;", "title": "" }, { "docid": "3bcb76c04a26f5d3972177c075cdd9e8", "score": "0.61159974", "text": "public interface InvocaWebServiceInterface {\n\tpublic AdministrationEndPoint_Service service = new AdministrationEndPoint_Service();\n\tpublic AdministrationEndPoint port = service.getAdministrationEndPointPort();\n\t\n\tpublic String valida = \"OK\";\n\n}", "title": "" }, { "docid": "8a45bb4ef8a2384dd0afb62de0e04b7e", "score": "0.61111027", "text": "public interface WebServiceInterface {\n void getConvertedAmount(Double rate);\n}", "title": "" }, { "docid": "f5c55549f5e71473ee7c69219eab2f2f", "score": "0.6107688", "text": "@WebService(targetNamespace = \"http://webservice.openmeetings.apache.org/\", name = \"RoomWebService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface RoomWebService {\n\n @WebMethod\n @RequestWrapper(localName = \"getExternal\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.GetExternal\")\n @ResponseWrapper(localName = \"getExternalResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.GetExternalResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public the.bhushan.service.room.RoomDTO getExternal(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"type\", targetNamespace = \"\")\n java.lang.String type,\n @WebParam(name = \"externaltype\", targetNamespace = \"\")\n java.lang.String externaltype,\n @WebParam(name = \"externalid\", targetNamespace = \"\")\n java.lang.Long externalid,\n @WebParam(name = \"room\", targetNamespace = \"\")\n the.bhushan.service.room.RoomDTO room\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"add\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.Add\")\n @ResponseWrapper(localName = \"addResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.AddResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public the.bhushan.service.room.RoomDTO add(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"room\", targetNamespace = \"\")\n the.bhushan.service.room.RoomDTO room\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"counters\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.Counters\")\n @ResponseWrapper(localName = \"countersResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.CountersResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<the.bhushan.service.room.RoomCountBean> counters(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.util.List<java.lang.Long> id\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"kick\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.Kick\")\n @ResponseWrapper(localName = \"kickResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.KickResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public the.bhushan.service.room.ServiceResult kick(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"id\", targetNamespace = \"\")\n long id\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"getPublic\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.GetPublic\")\n @ResponseWrapper(localName = \"getPublicResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.GetPublicResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public java.util.List<the.bhushan.service.room.RoomDTO> getPublic(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"type\", targetNamespace = \"\")\n java.lang.String type\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"getRoomById\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.GetRoomById\")\n @ResponseWrapper(localName = \"getRoomByIdResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.GetRoomByIdResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public the.bhushan.service.room.RoomDTO getRoomById(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"id\", targetNamespace = \"\")\n java.lang.Long id\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"open\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.Open\")\n @ResponseWrapper(localName = \"openResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.OpenResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public the.bhushan.service.room.ServiceResult open(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"id\", targetNamespace = \"\")\n long id\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"close\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.Close\")\n @ResponseWrapper(localName = \"closeResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.CloseResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public the.bhushan.service.room.ServiceResult close(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"id\", targetNamespace = \"\")\n long id\n ) throws ServiceException_Exception;\n\n @WebMethod\n @RequestWrapper(localName = \"delete\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.Delete\")\n @ResponseWrapper(localName = \"deleteResponse\", targetNamespace = \"http://webservice.openmeetings.apache.org/\", className = \"the.bhushan.service.room.DeleteResponse\")\n @WebResult(name = \"return\", targetNamespace = \"\")\n public the.bhushan.service.room.ServiceResult delete(\n @WebParam(name = \"sid\", targetNamespace = \"\")\n java.lang.String sid,\n @WebParam(name = \"id\", targetNamespace = \"\")\n long id\n ) throws ServiceException_Exception;\n}", "title": "" }, { "docid": "b4a421692832c84371203e94b732faef", "score": "0.61046326", "text": "@WebService(name = \"SelfServiceContact\", targetNamespace = \"http://siebel.com/SelfService/Common/Contact\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n com.siebel.selfservice.common.contact.query.ObjectFactory.class,\n com.siebel.selfservice.common.contact.data.ObjectFactory.class,\n com.siebel.selfservice.common.contact.id.ObjectFactory.class,\n com.siebel.selfservice.common.contact.ObjectFactory.class\n})\npublic interface SelfServiceContact {\n\n\n /**\n * \n * @param selfServiceContactQueryPageInput\n * @return\n * returns com.siebel.selfservice.common.contact.SelfServiceContactQueryPageOutput\n */\n @WebMethod(operationName = \"SelfServiceContactQueryPage\", action = \"document/http://siebel.com/SelfService/Common/Contact:SelfServiceContactQueryPage\")\n @WebResult(name = \"SelfServiceContactQueryPage_Output\", targetNamespace = \"http://siebel.com/SelfService/Common/Contact\", partName = \"SelfServiceContactQueryPage_Output\")\n public SelfServiceContactQueryPageOutput selfServiceContactQueryPage(\n @WebParam(name = \"SelfServiceContactQueryPage_Input\", targetNamespace = \"http://siebel.com/SelfService/Common/Contact\", partName = \"SelfServiceContactQueryPage_Input\")\n SelfServiceContactQueryPageInput selfServiceContactQueryPageInput);\n\n /**\n * \n * @param selfServiceContactExecuteInput\n * @return\n * returns com.siebel.selfservice.common.contact.SelfServiceContactExecuteOutput\n */\n @WebMethod(operationName = \"SelfServiceContactExecute\", action = \"document/http://siebel.com/SelfService/Common/Contact:SelfServiceContactExecute\")\n @WebResult(name = \"SelfServiceContactExecute_Output\", targetNamespace = \"http://siebel.com/SelfService/Common/Contact\", partName = \"SelfServiceContactExecute_Output\")\n public SelfServiceContactExecuteOutput selfServiceContactExecute(\n @WebParam(name = \"SelfServiceContactExecute_Input\", targetNamespace = \"http://siebel.com/SelfService/Common/Contact\", partName = \"SelfServiceContactExecute_Input\")\n SelfServiceContactExecuteInput selfServiceContactExecuteInput);\n\n}", "title": "" }, { "docid": "3e2d6e6f2f30227e2fd4ad9ce7f77660", "score": "0.61045164", "text": "@WebService(name = \"PAccesoSitio\", targetNamespace = \"http://Publisher/\")\n@SOAPBinding(style = SOAPBinding.Style.RPC)\npublic interface PAccesoSitio {\n\n\n /**\n * \n * @param os\n * @param browser\n * @param user\n * @param url\n * @param ip\n */\n @WebMethod\n @Action(input = \"http://Publisher/PAccesoSitio/regitrarAccesoRequest\", output = \"http://Publisher/PAccesoSitio/regitrarAccesoResponse\")\n public void regitrarAcceso(\n @WebParam(name = \"Ip\", partName = \"Ip\")\n String ip,\n @WebParam(name = \"User\", partName = \"User\")\n String user,\n @WebParam(name = \"URL\", partName = \"URL\")\n String url,\n @WebParam(name = \"Browser\", partName = \"Browser\")\n String browser,\n @WebParam(name = \"OS\", partName = \"OS\")\n String os);\n\n /**\n * \n */\n @WebMethod\n @Action(input = \"http://Publisher/PAccesoSitio/stopRequest\", output = \"http://Publisher/PAccesoSitio/stopResponse\")\n public void stop();\n\n}", "title": "" }, { "docid": "617571a45dbc9790d58b04b3a143c0a4", "score": "0.6097448", "text": "@WebService(name = \"ThumbnailService\", targetNamespace = \"http://shaman.liv.ac.uk/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ThumbnailService {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"resolve\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.Resolve\")\n @ResponseWrapper(localName = \"resolveResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ResolveResponse\")\n public String resolve(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws IOException_Exception\n ;\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns byte[]\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"generateThumbnailFromData\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateThumbnailFromData\")\n @ResponseWrapper(localName = \"generateThumbnailFromDataResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateThumbnailFromDataResponse\")\n public byte[] generateThumbnailFromData(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n byte[] arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n int arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n int arg5)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"generateSVGThumbnailFromData\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateSVGThumbnailFromData\")\n @ResponseWrapper(localName = \"generateSVGThumbnailFromDataResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateSVGThumbnailFromDataResponse\")\n public String generateSVGThumbnailFromData(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n byte[] arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n int arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n int arg3)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<uk.ac.liverpool.shaman.thumbnailserviceclient.FontInformation>\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"extractFontInformationFromData\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractFontInformationFromData\")\n @ResponseWrapper(localName = \"extractFontInformationFromDataResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractFontInformationFromDataResponse\")\n public List<FontInformation> extractFontInformationFromData(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n byte[] arg0)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"extractXmlTextFromData\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractXmlTextFromData\")\n @ResponseWrapper(localName = \"extractXmlTextFromDataResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractXmlTextFromDataResponse\")\n public String extractXmlTextFromData(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n byte[] arg0)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @param arg5\n * @param arg4\n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns byte[]\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"generateThumbnail\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateThumbnail\")\n @ResponseWrapper(localName = \"generateThumbnailResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateThumbnailResponse\")\n public byte[] generateThumbnail(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n int arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n String arg3,\n @WebParam(name = \"arg4\", targetNamespace = \"\")\n String arg4,\n @WebParam(name = \"arg5\", targetNamespace = \"\")\n int arg5)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @param arg3\n * @param arg2\n * @param arg1\n * @param arg0\n * @return\n * returns java.lang.String\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"generateSVGThumbnail\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateSVGThumbnail\")\n @ResponseWrapper(localName = \"generateSVGThumbnailResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GenerateSVGThumbnailResponse\")\n public String generateSVGThumbnail(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n int arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n int arg2,\n @WebParam(name = \"arg3\", targetNamespace = \"\")\n int arg3)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<uk.ac.liverpool.shaman.thumbnailserviceclient.FontInformation>\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"extractFontInformation\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractFontInformation\")\n @ResponseWrapper(localName = \"extractFontInformationResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractFontInformationResponse\")\n public List<FontInformation> extractFontInformation(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n * @throws MalformedURLException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"extractXmlText\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractXmlText\")\n @ResponseWrapper(localName = \"extractXmlTextResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.ExtractXmlTextResponse\")\n public String extractXmlText(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws IOException_Exception, MalformedURLException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSupportedMimeTypes\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GetSupportedMimeTypes\")\n @ResponseWrapper(localName = \"getSupportedMimeTypesResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GetSupportedMimeTypesResponse\")\n public List<String> getSupportedMimeTypes();\n\n /**\n * \n * @return\n * returns java.util.List<java.lang.String>\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getSupportedOutputType\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GetSupportedOutputType\")\n @ResponseWrapper(localName = \"getSupportedOutputTypeResponse\", targetNamespace = \"http://shaman.liv.ac.uk/\", className = \"uk.ac.liverpool.shaman.thumbnailserviceclient.GetSupportedOutputTypeResponse\")\n public List<String> getSupportedOutputType();\n\n}", "title": "" }, { "docid": "4e0ab3211bc401bff544e04501b889da", "score": "0.6093502", "text": "@WebService(name = \"IStockWebService\", targetNamespace = \"http://webservice.stock.s2re.fr\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface IStockWebService {\n\n\n /**\n * \n * @param paramProduit\n * @return\n * returns fr.s2re.stock.webservice.ProduitDto\n */\n @WebMethod\n @WebResult(name = \"produitUpdate\", targetNamespace = \"\")\n @RequestWrapper(localName = \"updateProduit\", targetNamespace = \"http://webservice.stock.s2re.fr\", className = \"fr.s2re.stock.webservice.UpdateProduit\")\n @ResponseWrapper(localName = \"updateProduitResponse\", targetNamespace = \"http://webservice.stock.s2re.fr\", className = \"fr.s2re.stock.webservice.UpdateProduitResponse\")\n public ProduitDto updateProduit(\n @WebParam(name = \"paramProduit\", targetNamespace = \"\")\n ProduitDto paramProduit);\n\n /**\n * \n * @param paramReference\n * @return\n * returns fr.s2re.stock.webservice.ProduitDto\n */\n @WebMethod\n @WebResult(name = \"produitByReference\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getProduitByReference\", targetNamespace = \"http://webservice.stock.s2re.fr\", className = \"fr.s2re.stock.webservice.GetProduitByReference\")\n @ResponseWrapper(localName = \"getProduitByReferenceResponse\", targetNamespace = \"http://webservice.stock.s2re.fr\", className = \"fr.s2re.stock.webservice.GetProduitByReferenceResponse\")\n public ProduitDto getProduitByReference(\n @WebParam(name = \"paramReference\", targetNamespace = \"\")\n String paramReference);\n\n}", "title": "" }, { "docid": "35137df38c5d2bbcfcad9ca3d682acab", "score": "0.60923946", "text": "@WebService(name = \"WebDBCrawlerServiceInterface\", targetNamespace = \"http://www.xd-tech.com\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface WebDBCrawlerServiceInterface {\r\n\r\n\r\n /**\r\n * \r\n * @param arg1\r\n * @param arg0\r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"updateByMD5\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.UpdateByMD5\")\r\n @ResponseWrapper(localName = \"updateByMD5Response\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.UpdateByMD5Response\")\r\n public void updateByMD5(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n List<String> arg0,\r\n @WebParam(name = \"arg1\", targetNamespace = \"\")\r\n int arg1);\r\n\r\n /**\r\n * \r\n * @param arg0\r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"addOrUpdateURLs\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.AddOrUpdateURLs\")\r\n @ResponseWrapper(localName = \"addOrUpdateURLsResponse\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.AddOrUpdateURLsResponse\")\r\n public void addOrUpdateURLs(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n List<UrlInfoCrawler> arg0);\r\n\r\n /**\r\n * \r\n * @param arg1\r\n * @param arg0\r\n * @throws Exception_Exception\r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"update\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.Update\")\r\n @ResponseWrapper(localName = \"updateResponse\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.UpdateResponse\")\r\n public void update(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0,\r\n @WebParam(name = \"arg1\", targetNamespace = \"\")\r\n int arg1)\r\n throws Exception_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @throws Exception_Exception\r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"delete\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.Delete\")\r\n @ResponseWrapper(localName = \"deleteResponse\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.DeleteResponse\")\r\n public void delete(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0)\r\n throws Exception_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param arg1\r\n * @param arg0\r\n * @return\r\n * returns java.util.List<com.xdtech.platform.webcrawler.ws.webdb.WebDbCrawler>\r\n * @throws Exception_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"findWebDbByQueryFromTable\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.FindWebDbByQueryFromTable\")\r\n @ResponseWrapper(localName = \"findWebDbByQueryFromTableResponse\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.FindWebDbByQueryFromTableResponse\")\r\n public List<WebDbCrawler> findWebDbByQueryFromTable(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0,\r\n @WebParam(name = \"arg1\", targetNamespace = \"\")\r\n int arg1)\r\n throws Exception_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @throws Exception_Exception\r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"addUrl\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.AddUrl\")\r\n @ResponseWrapper(localName = \"addUrlResponse\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.AddUrlResponse\")\r\n public void addUrl(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n List<UrlInfoCrawler> arg0)\r\n throws Exception_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param arg3\r\n * @param arg2\r\n * @param arg1\r\n * @param arg0\r\n * @return\r\n * returns com.xdtech.platform.webcrawler.ws.webdb.WebDBCrawlerResult\r\n * @throws Exception_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"findWebDbByQuery\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.FindWebDbByQuery\")\r\n @ResponseWrapper(localName = \"findWebDbByQueryResponse\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.FindWebDbByQueryResponse\")\r\n public WebDBCrawlerResult findWebDbByQuery(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0,\r\n @WebParam(name = \"arg1\", targetNamespace = \"\")\r\n String arg1,\r\n @WebParam(name = \"arg2\", targetNamespace = \"\")\r\n int arg2,\r\n @WebParam(name = \"arg3\", targetNamespace = \"\")\r\n int arg3)\r\n throws Exception_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @throws Exception_Exception\r\n */\r\n @WebMethod\r\n @RequestWrapper(localName = \"clearDB\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.ClearDB\")\r\n @ResponseWrapper(localName = \"clearDBResponse\", targetNamespace = \"http://www.xd-tech.com\", className = \"com.xdtech.platform.webcrawler.ws.webdb.ClearDBResponse\")\r\n public void clearDB()\r\n throws Exception_Exception\r\n ;\r\n\r\n}", "title": "" }, { "docid": "7f2a72500a55df3ef6f56efcd19ba6f3", "score": "0.6091059", "text": "@WebService(name = \"GestionTienda\", targetNamespace = \"http://servidortienda/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface GestionTienda {\n\n\n /**\n * \n * @param base64\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"importTienda\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ImportTienda\")\n @ResponseWrapper(localName = \"importTiendaResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ImportTiendaResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/importTiendaRequest\", output = \"http://servidortienda/GestionTienda/importTiendaResponse\")\n public String importTienda(\n @WebParam(name = \"base64\", targetNamespace = \"\")\n String base64);\n\n /**\n * \n * @param producto\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"setProducto\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.SetProducto\")\n @ResponseWrapper(localName = \"setProductoResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.SetProductoResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/setProductoRequest\", output = \"http://servidortienda/GestionTienda/setProductoResponse\")\n public String setProducto(\n @WebParam(name = \"producto\", targetNamespace = \"\")\n Producto producto);\n\n /**\n * \n * @param ean\n * @return\n * returns servidortienda.Producto\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getProducto\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.GetProducto\")\n @ResponseWrapper(localName = \"getProductoResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.GetProductoResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/getProductoRequest\", output = \"http://servidortienda/GestionTienda/getProductoResponse\")\n public Producto getProducto(\n @WebParam(name = \"EAN\", targetNamespace = \"\")\n String ean);\n\n /**\n * \n * @param ean\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"exportProducto\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ExportProducto\")\n @ResponseWrapper(localName = \"exportProductoResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ExportProductoResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/exportProductoRequest\", output = \"http://servidortienda/GestionTienda/exportProductoResponse\")\n public String exportProducto(\n @WebParam(name = \"EAN\", targetNamespace = \"\")\n String ean);\n\n /**\n * \n * @param base64\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"importProducto\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ImportProducto\")\n @ResponseWrapper(localName = \"importProductoResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ImportProductoResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/importProductoRequest\", output = \"http://servidortienda/GestionTienda/importProductoResponse\")\n public String importProducto(\n @WebParam(name = \"base64\", targetNamespace = \"\")\n String base64);\n\n /**\n * \n * @param tienda\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"setTienda\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.SetTienda\")\n @ResponseWrapper(localName = \"setTiendaResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.SetTiendaResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/setTiendaRequest\", output = \"http://servidortienda/GestionTienda/setTiendaResponse\")\n public String setTienda(\n @WebParam(name = \"tienda\", targetNamespace = \"\")\n Tienda tienda);\n\n /**\n * \n * @return\n * returns servidortienda.Tienda\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getTienda\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.GetTienda\")\n @ResponseWrapper(localName = \"getTiendaResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.GetTiendaResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/getTiendaRequest\", output = \"http://servidortienda/GestionTienda/getTiendaResponse\")\n public Tienda getTienda();\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"exportTienda\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ExportTienda\")\n @ResponseWrapper(localName = \"exportTiendaResponse\", targetNamespace = \"http://servidortienda/\", className = \"servidortienda.ExportTiendaResponse\")\n @Action(input = \"http://servidortienda/GestionTienda/exportTiendaRequest\", output = \"http://servidortienda/GestionTienda/exportTiendaResponse\")\n public String exportTienda();\n\n}", "title": "" }, { "docid": "8e789ab13b339026d55a5f44150ca0c6", "score": "0.60900974", "text": "public interface IHTTPClientService {\n\n public RESTResponse getJSON(String url, Utils.Notification progressNotification);\n\n IHTTPClient createClient();\n\n}", "title": "" }, { "docid": "d7d179d7132b241800b5fb1ac634fed2", "score": "0.607343", "text": "@SuppressWarnings(\"ALL\")\n@WebService(targetNamespace = \"http://www.infokiosk.org\", name = \"InfoKioskWSPortType\")\n@XmlSeeAlso({org.infokiosk_types.ObjectFactory.class, ObjectFactory.class})\npublic interface InfoKioskWSPortType {\n\n @WebMethod(operationName = \"GetCompanyName\", action = \"http://www.infokiosk.org#InfoKioskWS:GetCompanyName\")\n @RequestWrapper(localName = \"GetCompanyName\", targetNamespace = \"http://www.infokiosk.org\", className = \"org.infokiosk.GetCompanyName\")\n @ResponseWrapper(localName = \"GetCompanyNameResponse\", targetNamespace = \"http://www.infokiosk.org\", className = \"org.infokiosk.GetCompanyNameResponse\")\n @WebResult(name = \"return\", targetNamespace = \"http://www.infokiosk.org\")\n public java.lang.String getCompanyName()\n;\n\n @WebMethod(operationName = \"GetEmployeeData\", action = \"http://www.infokiosk.org#InfoKioskWS:GetEmployeeData\")\n @RequestWrapper(localName = \"GetEmployeeData\", targetNamespace = \"http://www.infokiosk.org\", className = \"org.infokiosk.GetEmployeeData\")\n @ResponseWrapper(localName = \"GetEmployeeDataResponse\", targetNamespace = \"http://www.infokiosk.org\", className = \"org.infokiosk.GetEmployeeDataResponse\")\n @WebResult(name = \"return\", targetNamespace = \"http://www.infokiosk.org\")\n public org.infokiosk_types.EmployeeData getEmployeeData(\n\n @WebParam(name = \"KeyCardNumber\", targetNamespace = \"http://www.infokiosk.org\")\n java.lang.String keyCardNumber\n );\n\n @WebMethod(operationName = \"GetPaySlip\", action = \"http://www.infokiosk.org#InfoKioskWS:GetPaySlip\")\n @RequestWrapper(localName = \"GetPaySlip\", targetNamespace = \"http://www.infokiosk.org\", className = \"org.infokiosk.GetPaySlip\")\n @ResponseWrapper(localName = \"GetPaySlipResponse\", targetNamespace = \"http://www.infokiosk.org\", className = \"org.infokiosk.GetPaySlipResponse\")\n @WebResult(name = \"return\", targetNamespace = \"http://www.infokiosk.org\")\n public byte[] getPaySlip(\n\n @WebParam(name = \"IndividualId\", targetNamespace = \"http://www.infokiosk.org\")\n java.lang.String individualId,\n @WebParam(name = \"Month\", targetNamespace = \"http://www.infokiosk.org\")\n javax.xml.datatype.XMLGregorianCalendar month,\n @WebParam(name = \"FileType\", targetNamespace = \"http://www.infokiosk.org\")\n org.infokiosk_types.FileTypes fileType\n );\n}", "title": "" }, { "docid": "cdd07919e90debdb69b67700917c37a1", "score": "0.60718614", "text": "@WebService(name = \"PersonaService\", targetNamespace = \"http:/walmart.com.mx/PersonaService/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface PersonaService {\n\n\n /**\n * \n * @return\n * returns personaservice.api.ws.UserList\n */\n @WebMethod(operationName = \"GetAllUsers\", action = \"http:/walmart.com.mx/PersonaService/GetAllUsers\")\n @WebResult(name = \"Users\", targetNamespace = \"http:/walmart.com.mx/user/\", partName = \"parameters\")\n public UserList getAllUsers();\n\n /**\n * \n * @param parameters\n * @return\n * returns personaservice.api.ws.User\n */\n @WebMethod(operationName = \"GetUserLogin\", action = \"http:/walmart.com.mx/PersonaService/GetAllUsers\")\n @WebResult(name = \"User\", targetNamespace = \"http:/walmart.com.mx/user/\", partName = \"parameters\")\n public User getUserLogin(\n @WebParam(name = \"LoginParams\", targetNamespace = \"http:/walmart.com.mx/user/\", partName = \"parameters\")\n LoginParams parameters);\n\n}", "title": "" }, { "docid": "3546fb986ec8d304210bc380f480b156", "score": "0.60643774", "text": "public void setWebService(ServicesWebProxy webService)\r\n\t{\r\n\t\tthis.webService = webService;\r\n\t}", "title": "" }, { "docid": "d0a912de0f871d86144d4774482e415d", "score": "0.6061167", "text": "@WebService(name = \"GalleryServerImplWS\", targetNamespace = \"http://srv.tp1.sd/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface GalleryServerImplWS {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.util.List<sd.tp1.clt.ws.PictureClass>\n * @throws AlbumNotFoundException_Exception\n */\n @WebMethod(operationName = \"ListPictures\")\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"ListPictures\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.ListPictures\")\n @ResponseWrapper(localName = \"ListPicturesResponse\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.ListPicturesResponse\")\n @Action(input = \"http://srv.tp1.sd/GalleryServerImplWS/ListPicturesRequest\", output = \"http://srv.tp1.sd/GalleryServerImplWS/ListPicturesResponse\", fault = {\n @FaultAction(className = AlbumNotFoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/ListPictures/Fault/AlbumNotFoundException\")\n })\n public List<PictureClass> listPictures(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws AlbumNotFoundException_Exception\n ;\n\n /**\n * \n * @return\n * returns java.util.List<sd.tp1.clt.ws.AlbumFolderClass>\n * @throws GalleryNotFoundException_Exception\n */\n @WebMethod(operationName = \"ListAlbums\")\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"ListAlbums\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.ListAlbums\")\n @ResponseWrapper(localName = \"ListAlbumsResponse\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.ListAlbumsResponse\")\n @Action(input = \"http://srv.tp1.sd/GalleryServerImplWS/ListAlbumsRequest\", output = \"http://srv.tp1.sd/GalleryServerImplWS/ListAlbumsResponse\", fault = {\n @FaultAction(className = GalleryNotFoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/ListAlbums/Fault/GalleryNotFoundException\")\n })\n public List<AlbumFolderClass> listAlbums()\n throws GalleryNotFoundException_Exception\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @throws AlbumNotFoundException_Exception\n * @throws PictureNotfoundException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deletePicture\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.DeletePicture\")\n @ResponseWrapper(localName = \"deletePictureResponse\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.DeletePictureResponse\")\n @Action(input = \"http://srv.tp1.sd/GalleryServerImplWS/deletePictureRequest\", output = \"http://srv.tp1.sd/GalleryServerImplWS/deletePictureResponse\", fault = {\n @FaultAction(className = AlbumNotFoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/deletePicture/Fault/AlbumNotFoundException\"),\n @FaultAction(className = PictureNotfoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/deletePicture/Fault/PictureNotfoundException\")\n })\n public void deletePicture(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1)\n throws AlbumNotFoundException_Exception, PictureNotfoundException_Exception\n ;\n\n /**\n * \n * @param arg0\n * @throws AlbumAlreadyExistsException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"creatAlbum\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.CreatAlbum\")\n @ResponseWrapper(localName = \"creatAlbumResponse\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.CreatAlbumResponse\")\n @Action(input = \"http://srv.tp1.sd/GalleryServerImplWS/creatAlbumRequest\", output = \"http://srv.tp1.sd/GalleryServerImplWS/creatAlbumResponse\", fault = {\n @FaultAction(className = AlbumAlreadyExistsException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/creatAlbum/Fault/AlbumAlreadyExistsException\")\n })\n public void creatAlbum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws AlbumAlreadyExistsException_Exception\n ;\n\n /**\n * \n * @param arg0\n * @throws AlbumNotFoundException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"deleteAlbum\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.DeleteAlbum\")\n @ResponseWrapper(localName = \"deleteAlbumResponse\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.DeleteAlbumResponse\")\n @Action(input = \"http://srv.tp1.sd/GalleryServerImplWS/deleteAlbumRequest\", output = \"http://srv.tp1.sd/GalleryServerImplWS/deleteAlbumResponse\", fault = {\n @FaultAction(className = AlbumNotFoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/deleteAlbum/Fault/AlbumNotFoundException\")\n })\n public void deleteAlbum(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0)\n throws AlbumNotFoundException_Exception\n ;\n\n /**\n * \n * @param arg1\n * @param arg0\n * @return\n * returns byte[]\n * @throws AlbumNotFoundException_Exception\n * @throws IOException_Exception\n * @throws PictureNotfoundException_Exception\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"getPicture\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.GetPicture\")\n @ResponseWrapper(localName = \"getPictureResponse\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.GetPictureResponse\")\n @Action(input = \"http://srv.tp1.sd/GalleryServerImplWS/getPictureRequest\", output = \"http://srv.tp1.sd/GalleryServerImplWS/getPictureResponse\", fault = {\n @FaultAction(className = AlbumNotFoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/getPicture/Fault/AlbumNotFoundException\"),\n @FaultAction(className = IOException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/getPicture/Fault/IOException\"),\n @FaultAction(className = PictureNotfoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/getPicture/Fault/PictureNotfoundException\")\n })\n public byte[] getPicture(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n String arg1)\n throws AlbumNotFoundException_Exception, IOException_Exception, PictureNotfoundException_Exception\n ;\n\n /**\n * \n * @param arg2\n * @param arg1\n * @param arg0\n * @throws AlbumNotFoundException_Exception\n * @throws PictureAlreadyExistsException_Exception\n * @throws IOException_Exception\n */\n @WebMethod\n @RequestWrapper(localName = \"uploadPicture\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.UploadPicture\")\n @ResponseWrapper(localName = \"uploadPictureResponse\", targetNamespace = \"http://srv.tp1.sd/\", className = \"sd.tp1.clt.ws.UploadPictureResponse\")\n @Action(input = \"http://srv.tp1.sd/GalleryServerImplWS/uploadPictureRequest\", output = \"http://srv.tp1.sd/GalleryServerImplWS/uploadPictureResponse\", fault = {\n @FaultAction(className = AlbumNotFoundException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/uploadPicture/Fault/AlbumNotFoundException\"),\n @FaultAction(className = IOException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/uploadPicture/Fault/IOException\"),\n @FaultAction(className = PictureAlreadyExistsException_Exception.class, value = \"http://srv.tp1.sd/GalleryServerImplWS/uploadPicture/Fault/PictureAlreadyExistsException\")\n })\n public void uploadPicture(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0,\n @WebParam(name = \"arg1\", targetNamespace = \"\")\n byte[] arg1,\n @WebParam(name = \"arg2\", targetNamespace = \"\")\n String arg2)\n throws AlbumNotFoundException_Exception, IOException_Exception, PictureAlreadyExistsException_Exception\n ;\n\n}", "title": "" }, { "docid": "348f417ad2953560b83d6a3c98b03707", "score": "0.6051969", "text": "@WebService(name = \"SmartMeterForPowerProvider\", targetNamespace = \"http://smartmeter.power.home/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface SmartMeterForPowerProvider {\r\n\r\n\r\n /**\r\n * \r\n * @param frequency\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"requestConsumptionProfile\", targetNamespace = \"http://smartmeter.power.home/\", className = \"home.power.smartmeter.RequestConsumptionProfile\")\r\n @ResponseWrapper(localName = \"requestConsumptionProfileResponse\", targetNamespace = \"http://smartmeter.power.home/\", className = \"home.power.smartmeter.RequestConsumptionProfileResponse\")\r\n public String requestConsumptionProfile(\r\n @WebParam(name = \"frequency\", targetNamespace = \"\")\r\n String frequency);\r\n\r\n /**\r\n * \r\n * @param fromDate\r\n * @param toDate\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"requestConsumptionSummary\", targetNamespace = \"http://smartmeter.power.home/\", className = \"home.power.smartmeter.RequestConsumptionSummary\")\r\n @ResponseWrapper(localName = \"requestConsumptionSummaryResponse\", targetNamespace = \"http://smartmeter.power.home/\", className = \"home.power.smartmeter.RequestConsumptionSummaryResponse\")\r\n public String requestConsumptionSummary(\r\n @WebParam(name = \"fromDate\", targetNamespace = \"\")\r\n String fromDate,\r\n @WebParam(name = \"toDate\", targetNamespace = \"\")\r\n String toDate);\r\n\r\n /**\r\n * \r\n * @param newPowerLevel\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"setConsumptionProfile\", targetNamespace = \"http://smartmeter.power.home/\", className = \"home.power.smartmeter.SetConsumptionProfile\")\r\n @ResponseWrapper(localName = \"setConsumptionProfileResponse\", targetNamespace = \"http://smartmeter.power.home/\", className = \"home.power.smartmeter.SetConsumptionProfileResponse\")\r\n public String setConsumptionProfile(\r\n @WebParam(name = \"newPowerLevel\", targetNamespace = \"\")\r\n String newPowerLevel);\r\n\r\n}", "title": "" }, { "docid": "f6d76a559c8bf6b158d745a0a064264f", "score": "0.604227", "text": "@WebService(name = \"DemoServicePort\", targetNamespace = \"http://techprimers.com/demo\")\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface DemoServicePort {\r\n\r\n\r\n /**\r\n * \r\n * @param getPorukeRequest\r\n * @return\r\n * returns com.techprimers.demo.GetPorukeResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"getPorukeResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getPorukeResponse\")\r\n public GetPorukeResponse getPoruke(\r\n @WebParam(name = \"getPorukeRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getPorukeRequest\")\r\n GetPorukeRequest getPorukeRequest);\r\n\r\n /**\r\n * \r\n * @param getRezervacijeRequest\r\n * @return\r\n * returns com.techprimers.demo.GetRezervacijeResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"getRezervacijeResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getRezervacijeResponse\")\r\n public GetRezervacijeResponse getRezervacije(\r\n @WebParam(name = \"getRezervacijeRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getRezervacijeRequest\")\r\n GetRezervacijeRequest getRezervacijeRequest);\r\n\r\n /**\r\n * \r\n * @param getUserRequest\r\n * @return\r\n * returns com.techprimers.demo.GetUserResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"getUserResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getUserResponse\")\r\n public GetUserResponse getUser(\r\n @WebParam(name = \"getUserRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getUserRequest\")\r\n GetUserRequest getUserRequest);\r\n\r\n /**\r\n * \r\n * @param addMessageRequest\r\n * @return\r\n * returns com.techprimers.demo.AddMessageResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"addMessageResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"addMessageResponse\")\r\n public AddMessageResponse addMessage(\r\n @WebParam(name = \"addMessageRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"addMessageRequest\")\r\n AddMessageRequest addMessageRequest);\r\n\r\n /**\r\n * \r\n * @param getSobaRequest\r\n * @return\r\n * returns com.techprimers.demo.GetSobaResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"getSobaResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getSobaResponse\")\r\n public GetSobaResponse getSoba(\r\n @WebParam(name = \"getSobaRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getSobaRequest\")\r\n GetSobaRequest getSobaRequest);\r\n\r\n /**\r\n * \r\n * @param getUserCredentialRequest\r\n * @return\r\n * returns com.techprimers.demo.GetUserCredentialResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"getUserCredentialResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getUserCredentialResponse\")\r\n public GetUserCredentialResponse getUserCredential(\r\n @WebParam(name = \"getUserCredentialRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getUserCredentialRequest\")\r\n GetUserCredentialRequest getUserCredentialRequest);\r\n\r\n /**\r\n * \r\n * @param addRezervacijaRequest\r\n * @return\r\n * returns com.techprimers.demo.AddRezervacijaResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"addRezervacijaResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"addRezervacijaResponse\")\r\n public AddRezervacijaResponse addRezervacija(\r\n @WebParam(name = \"addRezervacijaRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"addRezervacijaRequest\")\r\n AddRezervacijaRequest addRezervacijaRequest);\r\n\r\n /**\r\n * \r\n * @param addSmestajRequest\r\n * @return\r\n * returns com.techprimers.demo.AddSmestajResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"addSmestajResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"addSmestajResponse\")\r\n public AddSmestajResponse addSmestaj(\r\n @WebParam(name = \"addSmestajRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"addSmestajRequest\")\r\n AddSmestajRequest addSmestajRequest);\r\n\r\n /**\r\n * \r\n * @param getAllSmestajRequest\r\n * @return\r\n * returns com.techprimers.demo.GetAllSmestajResponse\r\n */\r\n @WebMethod\r\n @WebResult(name = \"getAllSmestajResponse\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getAllSmestajResponse\")\r\n public GetAllSmestajResponse getAllSmestaj(\r\n @WebParam(name = \"getAllSmestajRequest\", targetNamespace = \"http://techprimers.com/demo\", partName = \"getAllSmestajRequest\")\r\n GetAllSmestajRequest getAllSmestajRequest);\r\n\r\n}", "title": "" }, { "docid": "1bdb731e46451d2b99d2e33fba47f294", "score": "0.60320306", "text": "@WebService(name = \"PlaylistPortType\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface PlaylistPortType {\n\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.SongType\n */\n @WebMethod\n @WebResult(name = \"getSongResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public SongType getSong(\n @WebParam(name = \"getSongRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n GetSongRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.SongType\n */\n @WebMethod\n @WebResult(name = \"addSongResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public SongType addSong(\n @WebParam(name = \"addSongRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n AddSongRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.GetSongListResponse\n */\n @WebMethod\n @WebResult(name = \"getSongListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public GetSongListResponse getSongList(\n @WebParam(name = \"getSongListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n GetSongListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.PlaylistType\n */\n @WebMethod\n @WebResult(name = \"getPlaylistResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public PlaylistType getPlaylist(\n @WebParam(name = \"getPlaylistRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n GetPlaylistRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.PlaylistType\n */\n @WebMethod\n @WebResult(name = \"addPlaylistResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public PlaylistType addPlaylist(\n @WebParam(name = \"addPlaylistRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n AddPlaylistRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.GetPlaylistListResponse\n */\n @WebMethod\n @WebResult(name = \"getPlaylistListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public GetPlaylistListResponse getPlaylistList(\n @WebParam(name = \"getPlaylistListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n GetPlaylistListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.PlaylistSongListType\n */\n @WebMethod\n @WebResult(name = \"getPlaylistSongListResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public PlaylistSongListType getPlaylistSongList(\n @WebParam(name = \"getPlaylistSongListRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n GetPlaylistSongListRequest parameter);\n\n /**\n * \n * @param parameter\n * @return\n * returns ee.ttu.idu0075.playlist.PlaylistSongType\n */\n @WebMethod\n @WebResult(name = \"addPlaylistSongResponse\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n public PlaylistSongType addPlaylistSong(\n @WebParam(name = \"addPlaylistSongRequest\", targetNamespace = \"http://www.ttu.ee/idu0075/playlist\", partName = \"parameter\")\n AddPlaylistSongRequest parameter);\n\n}", "title": "" }, { "docid": "1bfb7af24ecd1d51a40975ec81b9b5ca", "score": "0.60294217", "text": "@WebService(name = \"CCWebService\", targetNamespace = \"http://MyPack/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface CCWebService {\r\n\r\n\r\n /**\r\n * \r\n * @param user\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"addUser\", targetNamespace = \"http://MyPack/\", className = \"MyPack.AddUser\")\r\n @ResponseWrapper(localName = \"addUserResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.AddUserResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/addUserRequest\", output = \"http://MyPack/CCWebService/addUserResponse\")\r\n public String addUser(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n SingleUser user);\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @param pass\r\n * @return\r\n * returns MyPack.SingleUser\r\n */\r\n @WebMethod(operationName = \"Login\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"Login\", targetNamespace = \"http://MyPack/\", className = \"MyPack.Login\")\r\n @ResponseWrapper(localName = \"LoginResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.LoginResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/LoginRequest\", output = \"http://MyPack/CCWebService/LoginResponse\")\r\n public SingleUser login(\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid,\r\n @WebParam(name = \"pass\", targetNamespace = \"\")\r\n String pass);\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @return\r\n * returns java.lang.Boolean\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"chechUID\", targetNamespace = \"http://MyPack/\", className = \"MyPack.ChechUID\")\r\n @ResponseWrapper(localName = \"chechUIDResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.ChechUIDResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/chechUIDRequest\", output = \"http://MyPack/CCWebService/chechUIDResponse\")\r\n public Boolean chechUID(\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid);\r\n\r\n /**\r\n * \r\n * @param user\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"UpdateUser\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"UpdateUser\", targetNamespace = \"http://MyPack/\", className = \"MyPack.UpdateUser\")\r\n @ResponseWrapper(localName = \"UpdateUserResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.UpdateUserResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/UpdateUserRequest\", output = \"http://MyPack/CCWebService/UpdateUserResponse\")\r\n public String updateUser(\r\n @WebParam(name = \"user\", targetNamespace = \"\")\r\n SingleUser user);\r\n\r\n /**\r\n * \r\n * @param mid\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"removeMessage\", targetNamespace = \"http://MyPack/\", className = \"MyPack.RemoveMessage\")\r\n @ResponseWrapper(localName = \"removeMessageResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.RemoveMessageResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/removeMessageRequest\", output = \"http://MyPack/CCWebService/removeMessageResponse\")\r\n public String removeMessage(\r\n @WebParam(name = \"mid\", targetNamespace = \"\")\r\n int mid);\r\n\r\n /**\r\n * \r\n * @param mes\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod(operationName = \"AddMessage\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"AddMessage\", targetNamespace = \"http://MyPack/\", className = \"MyPack.AddMessage\")\r\n @ResponseWrapper(localName = \"AddMessageResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.AddMessageResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/AddMessageRequest\", output = \"http://MyPack/CCWebService/AddMessageResponse\")\r\n public String addMessage(\r\n @WebParam(name = \"mes\", targetNamespace = \"\")\r\n SingleMessage mes);\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @return\r\n * returns java.util.List<MyPack.SingleMessage>\r\n */\r\n @WebMethod(operationName = \"GetMyMessages\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"GetMyMessages\", targetNamespace = \"http://MyPack/\", className = \"MyPack.GetMyMessages\")\r\n @ResponseWrapper(localName = \"GetMyMessagesResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.GetMyMessagesResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/GetMyMessagesRequest\", output = \"http://MyPack/CCWebService/GetMyMessagesResponse\")\r\n public List<SingleMessage> getMyMessages(\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid);\r\n\r\n /**\r\n * \r\n * @return\r\n * returns java.util.List<MyPack.SingleTask>\r\n */\r\n @WebMethod(operationName = \"FetchTaskList\")\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"FetchTaskList\", targetNamespace = \"http://MyPack/\", className = \"MyPack.FetchTaskList\")\r\n @ResponseWrapper(localName = \"FetchTaskListResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.FetchTaskListResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/FetchTaskListRequest\", output = \"http://MyPack/CCWebService/FetchTaskListResponse\")\r\n public List<SingleTask> fetchTaskList();\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @param code\r\n * @return\r\n * returns byte[]\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"compileCode\", targetNamespace = \"http://MyPack/\", className = \"MyPack.CompileCode\")\r\n @ResponseWrapper(localName = \"compileCodeResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.CompileCodeResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/compileCodeRequest\", output = \"http://MyPack/CCWebService/compileCodeResponse\")\r\n public byte[] compileCode(\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n SingleCode code,\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid);\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @param code\r\n * @return\r\n * returns byte[]\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"executeCode\", targetNamespace = \"http://MyPack/\", className = \"MyPack.ExecuteCode\")\r\n @ResponseWrapper(localName = \"executeCodeResponse\", targetNamespace = \"http://MyPack/\", className = \"MyPack.ExecuteCodeResponse\")\r\n @Action(input = \"http://MyPack/CCWebService/executeCodeRequest\", output = \"http://MyPack/CCWebService/executeCodeResponse\")\r\n public byte[] executeCode(\r\n @WebParam(name = \"code\", targetNamespace = \"\")\r\n SingleCode code,\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid);\r\n\r\n}", "title": "" }, { "docid": "64e3d1e0a9010813ed1975d90c9de9f4", "score": "0.6029197", "text": "@WebService(name = \"EXAM_DepAcctTrnInqSvc\", targetNamespace = \"http://www.example.org/EXAM_DepAcctTrnInqSvc/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface EXAMDepAcctTrnInqSvc_1 {\n\n\n /**\n * \n * @param casaTransactionHistory\n */\n @WebMethod(operationName = \"EXAM_DepAcctTrnInqSvc\", action = \"http://www.EXAMBusinessServices.org/EXAM_DepAcctTrnInqSvc/EXAM_DepAcctTrnInqSvc\")\n void examDepAcctTrnInqSvc(\n @WebParam(name = \"EXAM_DepAcctTrnInqSvc\", targetNamespace = \"urn:ifxforum-org:XSD:1\", mode = WebParam.Mode.INOUT, partName = \"CASATransactionHistory\")\n Holder<EXAMDepAcctTrnInqSvc> casaTransactionHistory);\n\n}", "title": "" }, { "docid": "e114b7b09a9845fa11da96d45ce80c82", "score": "0.6029035", "text": "@WebService(targetNamespace = \"http://www.tathing.com\", name = \"IEnterFrontService\")\n@XmlSeeAlso({ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface IEnterFrontService {\n\n @WebMethod(operationName = \"AppPersonial\")\n @WebResult(name = \"AppPersonialResponse\", targetNamespace = \"http://www.tathing.com\", partName = \"AppPersonialResponse\")\n public AppPersonialResponse appPersonial(\n @WebParam(partName = \"AppPersonialRequest\", name = \"AppPersonialRequest\", targetNamespace = \"http://www.tathing.com\")\n AppPersonialRequest appPersonialRequest\n );\n\n @WebMethod(operationName = \"AppQuery\")\n @WebResult(name = \"AppQueryResponse\", targetNamespace = \"http://www.tathing.com\", partName = \"AppQueryResponse\")\n public AppQueryResponse appQuery(\n @WebParam(partName = \"AppQueryRequest\", name = \"AppQueryRequest\", targetNamespace = \"http://www.tathing.com\")\n AppQueryRequest appQueryRequest\n );\n}", "title": "" }, { "docid": "8876838dff87221f02655a1a740214f1", "score": "0.60257024", "text": "@WebService(targetNamespace = \"http://services.rqns.optum.com/\", name = \"MemberDemographicService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface MemberDemographicService {\n\n /**\n * The operation fetches the latest medicare member demographic information by member hic number and client ID\n */\n @WebMethod(action = \"getMedicareMemberLatestDemographicInfo\")\n @RequestWrapper(localName = \"getMedicareMemberLatestDemographicInfo\", targetNamespace = \"http://services.rqns.optum.com/\", className = \"com.optum.rqns.services.medicareDemographyTest.GetMedicareMemberLatestDemographicInfo\")\n @ResponseWrapper(localName = \"getMedicareMemberLatestDemographicInfoResponse\", targetNamespace = \"http://services.rqns.optum.com/\", className = \"com.optum.rqns.services.medicareDemographyTest.GetMedicareMemberLatestDemographicInfoResponse\")\n @WebResult(name = \"medicareMemberDemographicInfo\", targetNamespace = \"\")\n public com.optum.rqns.services.medicareDemographyTest.MedicareMemberDemographicInfo getMedicareMemberLatestDemographicInfo(\n @WebParam(name = \"mbrHicNbr\", targetNamespace = \"\")\n java.lang.String mbrHicNbr,\n @WebParam(name = \"clientId\", targetNamespace = \"\")\n java.lang.String clientId,\n @WebParam(name = \"metaData\", targetNamespace = \"\")\n com.optum.rqns.services.medicareDemographyTest.ServiceMetaData metaData\n ) throws ServiceException_Exception;\n\n /**\n * The operation fetches the medicare member demographic information by member hic number and client ID\n */\n @WebMethod(action = \"getMedicareMemberListInfoByHicId\")\n @RequestWrapper(localName = \"getMedicareMemberListInfoByHicId\", targetNamespace = \"http://services.rqns.optum.com/\", className = \"com.optum.rqns.services.medicareDemographyTest.GetMedicareMemberListInfoByHicId\")\n @ResponseWrapper(localName = \"getMedicareMemberListInfoByHicIdResponse\", targetNamespace = \"http://services.rqns.optum.com/\", className = \"com.optum.rqns.services.medicareDemographyTest.GetMedicareMemberListInfoByHicIdResponse\")\n @WebResult(name = \"medicareMemberDemographicInfoList\", targetNamespace = \"\")\n public com.optum.rqns.services.medicareDemographyTest.MedicareMemberDemographicInfoList getMedicareMemberListInfoByHicId(\n @WebParam(name = \"mbrHicNum\", targetNamespace = \"\")\n java.lang.String mbrHicNum,\n @WebParam(name = \"clientId\", targetNamespace = \"\")\n java.lang.String clientId,\n @WebParam(name = \"metaData\", targetNamespace = \"\")\n com.optum.rqns.services.medicareDemographyTest.ServiceMetaData metaData\n ) throws ServiceException_Exception;\n\n\t/**\n * The operation fetches the medicare member demographic information by member card ID and client ID\n */\n @WebMethod(action = \"getMedicareMemberListInfoByCardId\")\n @RequestWrapper(localName = \"getMedicareMemberListInfoByCardId\", targetNamespace = \"http://services.rqns.optum.com/\", className = \"com.optum.rqns.services.medicareDemographyTest.GetMedicareMemberListInfoByCardId\")\n @ResponseWrapper(localName = \"getMedicareMemberListInfoByCardIdResponse\", targetNamespace = \"http://services.rqns.optum.com/\", className = \"com.optum.rqns.services.medicareDemographyTest.GetMedicareMemberListInfoByCardIdResponse\")\n @WebResult(name = \"medicareMemberDemographicInfoList\", targetNamespace = \"\")\n public com.optum.rqns.services.medicareDemographyTest.MedicareMemberDemographicInfoList getMedicareMemberListInfoByCardId(\n @WebParam(name = \"mbrCardId\", targetNamespace = \"\")\n java.lang.String mbrCardId,\n @WebParam(name = \"clientId\", targetNamespace = \"\")\n java.lang.String clientId,\n @WebParam(name = \"metaData\", targetNamespace = \"\")\n com.optum.rqns.services.medicareDemographyTest.ServiceMetaData metaData\n ) throws ServiceException_Exception;\n\n\t/**\n * The operation fetches the medicare member demographic information by member hic number and client ID\n */\n// @WebMethod(action = \"getMedicareMemberListInfoByHicId\")\n// @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n// @WebResult(name = \"getMedicareMemberListInfoByHicIdResponse\", targetNamespace = \"http://services.rqns.optum.com/\", partName = \"getMedicareMemberListInfoByHicIdResponse\")\n public GetMedicareMemberListInfoByHicIdResponse getMedicareMemberListInfoByHicId(\n @WebParam(partName = \"getMedicareMemberListInfoByHicId\", name = \"getMedicareMemberListInfoByHicId\", targetNamespace = \"http://services.rqns.optum.com/\")\n GetMedicareMemberListInfoByHicId getMedicareMemberListInfoByHicId\n ) throws ServiceException_Exception;\n\n /**\n * The operation fetches the medicare member demographic information by member card ID and client ID\n */\n// @WebMethod(action = \"getMedicareMemberListInfoByCardId\")\n// @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n// @WebResult(name = \"getMedicareMemberListInfoByCardIdResponse\", targetNamespace = \"http://services.rqns.optum.com/\", partName = \"getMedicareMemberListInfoByCardIdResponse\")\n public GetMedicareMemberListInfoByCardIdResponse getMedicareMemberListInfoByCardId(\n @WebParam(partName = \"getMedicareMemberListInfoByCardId\", name = \"getMedicareMemberListInfoByCardId\", targetNamespace = \"http://services.rqns.optum.com/\")\n GetMedicareMemberListInfoByCardId getMedicareMemberListInfoByCardId\n ) throws ServiceException_Exception;\n}", "title": "" }, { "docid": "f8dbb9d480c103164c9f3aa55c587279", "score": "0.60204184", "text": "@WebService(name = \"ExternalAPI\", targetNamespace = \"http://soap.finalproject.introsde/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface ExternalAPI {\n\n\n /**\n * \n * @param content\n * @param email\n * @param subject\n * @return\n * returns int\n */\n @WebMethod\n @WebResult(name = \"result\", targetNamespace = \"\")\n @RequestWrapper(localName = \"sendEmail\", targetNamespace = \"http://soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.SendEmail\")\n @ResponseWrapper(localName = \"sendEmailResponse\", targetNamespace = \"http://soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.SendEmailResponse\")\n @Action(input = \"http://soap.finalproject.introsde/ExternalAPI/sendEmailRequest\", output = \"http://soap.finalproject.introsde/ExternalAPI/sendEmailResponse\")\n public int sendEmail(\n @WebParam(name = \"email\", targetNamespace = \"\")\n String email,\n @WebParam(name = \"subject\", targetNamespace = \"\")\n String subject,\n @WebParam(name = \"content\", targetNamespace = \"\")\n String content);\n\n /**\n * \n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(name = \"quote\", targetNamespace = \"\")\n @RequestWrapper(localName = \"getRandomQuote\", targetNamespace = \"http://soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.GetRandomQuote\")\n @ResponseWrapper(localName = \"getRandomQuoteResponse\", targetNamespace = \"http://soap.finalproject.introsde/\", className = \"introsde.finalproject.soap.GetRandomQuoteResponse\")\n @Action(input = \"http://soap.finalproject.introsde/ExternalAPI/getRandomQuoteRequest\", output = \"http://soap.finalproject.introsde/ExternalAPI/getRandomQuoteResponse\")\n public String getRandomQuote();\n\n}", "title": "" }, { "docid": "c6644c15acc7060237aa9ee080e4bb23", "score": "0.60175806", "text": "@WebService(name = \"EpowerServiceSoap\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface EpowerServiceSoap {\n\n\n /**\n * \n * @param otaPingRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.PingResponse.OTAPingRS\n */\n @WebMethod(operationName = \"Ping\", action = \"http://epowerv5.amadeus.com.tr/WS/Ping\")\n @WebResult(name = \"OTA_PingRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"Ping\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.Ping\")\n @ResponseWrapper(localName = \"PingResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.PingResponse\")\n public wsimport.lib.epower.PingResponse.OTAPingRS ping(\n @WebParam(name = \"OTA_PingRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.Ping.OTAPingRQ otaPingRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @return\n * returns boolean\n */\n @WebMethod(operationName = \"SignOut\", action = \"http://epowerv5.amadeus.com.tr/WS/SignOut\")\n @WebResult(name = \"SignOutResult\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SignOut\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SignOut\")\n @ResponseWrapper(localName = \"SignOutResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SignOutResponse\")\n public boolean signOut();\n\n /**\n * \n * @param otaCurrencyConversionRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTACurrencyConversionRS\n */\n @WebMethod(operationName = \"CurrencyConversion\", action = \"http://epowerv5.amadeus.com.tr/WS/CurrencyConversion\")\n @WebResult(name = \"OTA_CurrencyConversionRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"CurrencyConversion\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.CurrencyConversion\")\n @ResponseWrapper(localName = \"CurrencyConversionResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.CurrencyConversionResponse\")\n public OTACurrencyConversionRS currencyConversion(\n @WebParam(name = \"OTA_CurrencyConversionRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTACurrencyConversionRQ otaCurrencyConversionRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader\n );\n\n /**\n * \n * @param otaCancelRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.CancelResponse.OTACancelRS\n */\n @WebMethod(operationName = \"Cancel\", action = \"http://epowerv5.amadeus.com.tr/WS/Cancel\")\n @WebResult(name = \"OTA_CancelRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"Cancel\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.Cancel\")\n @ResponseWrapper(localName = \"CancelResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.CancelResponse\")\n public wsimport.lib.epower.CancelResponse.OTACancelRS cancel(\n @WebParam(name = \"OTA_CancelRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.Cancel.OTACancelRQ otaCancelRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param queueRQ\n * @return\n * returns wsimport.lib.epower.QueueRS\n */\n @WebMethod(operationName = \"Queue\", action = \"http://epowerv5.amadeus.com.tr/WS/Queue\")\n @WebResult(name = \"QueueRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"Queue\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.Queue\")\n @ResponseWrapper(localName = \"QueueResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.QueueResponse\")\n public QueueRS queue(\n @WebParam(name = \"QueueRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n QueueRQ queueRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaAirLowFareSearchRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.SearchFlightResponse.OTAAirLowFareSearchRS\n */\n @WebMethod(operationName = \"SearchFlight\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchFlight\")\n @WebResult(name = \"OTA_AirLowFareSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchFlight\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchFlight\")\n @ResponseWrapper(localName = \"SearchFlightResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchFlightResponse\")\n public wsimport.lib.epower.SearchFlightResponse.OTAAirLowFareSearchRS searchFlight(\n @WebParam(name = \"OTA_AirLowFareSearchRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.SearchFlight.OTAAirLowFareSearchRQ otaAirLowFareSearchRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader\n );\n\n /**\n * \n * @param serviceFeeInfoRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.ServiceFeeInfoRS\n */\n @WebMethod(operationName = \"GetServiceFee\", action = \"http://epowerv5.amadeus.com.tr/WS/GetServiceFee\")\n @WebResult(name = \"ServiceFeeInfoRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetServiceFee\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetServiceFee\")\n @ResponseWrapper(localName = \"GetServiceFeeResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetServiceFeeResponse\")\n public ServiceFeeInfoRS getServiceFee(\n @WebParam(name = \"ServiceFeeInfoRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n ServiceFeeInfoRQ serviceFeeInfoRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader\n );\n\n /**\n * \n * @param baggageInfoRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.BaggageInfoRS\n */\n @WebMethod(operationName = \"GetBaggageInfo\", action = \"http://epowerv5.amadeus.com.tr/WS/GetBaggageInfo\")\n @WebResult(name = \"BaggageInfoRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetBaggageInfo\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetBaggageInfo\")\n @ResponseWrapper(localName = \"GetBaggageInfoResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetBaggageInfoResponse\")\n public BaggageInfoRS getBaggageInfo(\n @WebParam(name = \"BaggageInfoRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n BaggageInfoRQ baggageInfoRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param ancillaryInfoRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.AncillaryInfoRS\n */\n @WebMethod(operationName = \"GetAncillaryInfo\", action = \"http://epowerv5.amadeus.com.tr/WS/GetAncillaryInfo\")\n @WebResult(name = \"AncillaryInfoRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetAncillaryInfo\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetAncillaryInfo\")\n @ResponseWrapper(localName = \"GetAncillaryInfoResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetAncillaryInfoResponse\")\n public AncillaryInfoRS getAncillaryInfo(\n @WebParam(name = \"AncillaryInfoRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n AncillaryInfoRQ ancillaryInfoRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param flightOptionRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.GetCompatibleLowestFaresForSunExpressResponse.OTAAirLowFareSearchRS\n */\n @WebMethod(operationName = \"GetCompatibleLowestFaresForSunExpress\", action = \"http://epowerv5.amadeus.com.tr/WS/GetCompatibleLowestFaresForSunExpress\")\n @WebResult(name = \"OTA_AirLowFareSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetCompatibleLowestFaresForSunExpress\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCompatibleLowestFaresForSunExpress\")\n @ResponseWrapper(localName = \"GetCompatibleLowestFaresForSunExpressResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCompatibleLowestFaresForSunExpressResponse\")\n public wsimport.lib.epower.GetCompatibleLowestFaresForSunExpressResponse.OTAAirLowFareSearchRS getCompatibleLowestFaresForSunExpress(\n @WebParam(name = \"FlightOptionRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n FlightOptionRQ flightOptionRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param serviceFeeInfoRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.ServiceFeeInfoRS\n */\n @WebMethod(operationName = \"GetServiceFeeV2\", action = \"http://epowerv5.amadeus.com.tr/WS/GetServiceFeeV2\")\n @WebResult(name = \"ServiceFeeInfoRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetServiceFeeV2\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetServiceFeeV2\")\n @ResponseWrapper(localName = \"GetServiceFeeV2Response\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetServiceFeeV2Response\")\n public ServiceFeeInfoRS getServiceFeeV2(\n @WebParam(name = \"ServiceFeeInfoRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n ServiceFeeInfoRQ serviceFeeInfoRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param priceInfoRQ\n * @return\n * returns wsimport.lib.epower.GetPriceResponse.OTAAirLowFareSearchRS\n */\n @WebMethod(operationName = \"GetPrice\", action = \"http://epowerv5.amadeus.com.tr/WS/GetPrice\")\n @WebResult(name = \"OTA_AirLowFareSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetPrice\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetPrice\")\n @ResponseWrapper(localName = \"GetPriceResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetPriceResponse\")\n public wsimport.lib.epower.GetPriceResponse.OTAAirLowFareSearchRS getPrice(\n @WebParam(name = \"PriceInfoRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n PriceInfoRQ priceInfoRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param genericSoapHeader\n * @param requiredParametersRQ\n * @return\n * returns wsimport.lib.epower.GetRequiredParametersForLCCResponse.RequiredParametersRS\n */\n @WebMethod(operationName = \"GetRequiredParametersForLCC\", action = \"http://epowerv5.amadeus.com.tr/WS/GetRequiredParametersForLCC\")\n @WebResult(name = \"RequiredParametersRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetRequiredParametersForLCC\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetRequiredParametersForLCC\")\n @ResponseWrapper(localName = \"GetRequiredParametersForLCCResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetRequiredParametersForLCCResponse\")\n public wsimport.lib.epower.GetRequiredParametersForLCCResponse.RequiredParametersRS getRequiredParametersForLCC(\n @WebParam(name = \"RequiredParametersRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n RequiredParametersRQ requiredParametersRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.GetNextFlightResultsResponse.OTAAirLowFareSearchRS\n */\n @WebMethod(operationName = \"GetNextFlightResults\", action = \"http://epowerv5.amadeus.com.tr/WS/GetNextFlightResults\")\n @WebResult(name = \"OTA_AirLowFareSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetNextFlightResults\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetNextFlightResults\")\n @ResponseWrapper(localName = \"GetNextFlightResultsResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetNextFlightResultsResponse\")\n public wsimport.lib.epower.GetNextFlightResultsResponse.OTAAirLowFareSearchRS getNextFlightResults(\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaAirLowFareSearchRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.SearchFlightCalendarResponse.OTAAirLowFareSearchRS\n */\n @WebMethod(operationName = \"SearchFlightCalendar\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchFlightCalendar\")\n @WebResult(name = \"OTA_AirLowFareSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchFlightCalendar\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchFlightCalendar\")\n @ResponseWrapper(localName = \"SearchFlightCalendarResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchFlightCalendarResponse\")\n public wsimport.lib.epower.SearchFlightCalendarResponse.OTAAirLowFareSearchRS searchFlightCalendar(\n @WebParam(name = \"OTA_AirLowFareSearchRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.SearchFlightCalendar.OTAAirLowFareSearchRQ otaAirLowFareSearchRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaAirCheckETicketRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAAirCheckETicketRS\n */\n @WebMethod(operationName = \"CheckETicket\", action = \"http://epowerv5.amadeus.com.tr/WS/CheckETicket\")\n @WebResult(name = \"OTA_AirCheckETicketRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"CheckETicket\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.CheckETicket\")\n @ResponseWrapper(localName = \"CheckETicketResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.CheckETicketResponse\")\n public OTAAirCheckETicketRS checkETicket(\n @WebParam(name = \"OTA_AirCheckETicketRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAAirCheckETicketRQ otaAirCheckETicketRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaAirRulesRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAAirRulesRS\n */\n @WebMethod(operationName = \"GetFlightRules\", action = \"http://epowerv5.amadeus.com.tr/WS/GetFlightRules\")\n @WebResult(name = \"OTA_AirRulesRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetFlightRules\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetFlightRules\")\n @ResponseWrapper(localName = \"GetFlightRulesResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetFlightRulesResponse\")\n public OTAAirRulesRS getFlightRules(\n @WebParam(name = \"OTA_AirRulesRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAAirRulesRQ otaAirRulesRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaAirBookRQ\n * @return\n * returns wsimport.lib.epower.BookFlightResponse.OTAAirBookRS\n */\n @WebMethod(operationName = \"BookFlight\", action = \"http://epowerv5.amadeus.com.tr/WS/BookFlight\")\n @WebResult(name = \"OTA_AirBookRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"BookFlight\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookFlight\")\n @ResponseWrapper(localName = \"BookFlightResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookFlightResponse\")\n public wsimport.lib.epower.BookFlightResponse.OTAAirBookRS bookFlight(\n @WebParam(name = \"OTA_AirBookRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.BookFlight.OTAAirBookRQ otaAirBookRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaAirBookRQ\n * @return\n * returns wsimport.lib.epower.BookFlightWithRecommendationResponse.OTAAirBookRS\n */\n @WebMethod(operationName = \"BookFlightWithRecommendation\", action = \"http://epowerv5.amadeus.com.tr/WS/BookFlightWithRecommendation\")\n @WebResult(name = \"OTA_AirBookRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"BookFlightWithRecommendation\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookFlightWithRecommendation\")\n @ResponseWrapper(localName = \"BookFlightWithRecommendationResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookFlightWithRecommendationResponse\")\n public wsimport.lib.epower.BookFlightWithRecommendationResponse.OTAAirBookRS bookFlightWithRecommendation(\n @WebParam(name = \"OTA_AirBookRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.BookFlightWithRecommendation.OTAAirBookRQ otaAirBookRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaAirBookRQ\n * @return\n * returns wsimport.lib.epower.CreateTicketResponse.OTAAirBookRS\n */\n @WebMethod(operationName = \"CreateTicket\", action = \"http://epowerv5.amadeus.com.tr/WS/CreateTicket\")\n @WebResult(name = \"OTA_AirBookRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"CreateTicket\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.CreateTicket\")\n @ResponseWrapper(localName = \"CreateTicketResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.CreateTicketResponse\")\n public wsimport.lib.epower.CreateTicketResponse.OTAAirBookRS createTicket(\n @WebParam(name = \"OTA_AirBookRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.CreateTicket.OTAAirBookRQ otaAirBookRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaReadRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.GetPNRResponse.OTAAirBookRS\n */\n @WebMethod(operationName = \"GetPNR\", action = \"http://epowerv5.amadeus.com.tr/WS/GetPNR\")\n @WebResult(name = \"OTA_AirBookRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetPNR\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetPNR\")\n @ResponseWrapper(localName = \"GetPNRResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetPNRResponse\")\n public wsimport.lib.epower.GetPNRResponse.OTAAirBookRS getPNR(\n @WebParam(name = \"OTA_ReadRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.GetPNR.OTAReadRQ otaReadRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param parameters\n * @return\n * returns wsimport.lib.epower.GetPNRPriceResponse\n */\n @WebMethod(operationName = \"GetPNRPrice\", action = \"http://epowerv5.amadeus.com.tr/WS/GetPNRPrice\")\n @WebResult(name = \"GetPNRPriceResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", partName = \"parameters\")\n @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n public GetPNRPriceResponse getPNRPrice(\n @WebParam(name = \"GetPNRPrice\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", partName = \"parameters\")\n GetPNRPrice parameters,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param editPNRRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.EditPNRResponse.EditPnrRS\n */\n @WebMethod(operationName = \"EditPNR\", action = \"http://epowerv5.amadeus.com.tr/WS/EditPNR\")\n @WebResult(name = \"EditPnrRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"EditPNR\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.EditPNR\")\n @ResponseWrapper(localName = \"EditPNRResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.EditPNRResponse\")\n public wsimport.lib.epower.EditPNRResponse.EditPnrRS editPNR(\n @WebParam(name = \"EditPNRRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.EditPNR.EditPNRRQ editPNRRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param pnrNo\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.GetLastTicketingDateResponse.LastTicketingDateRS\n */\n @WebMethod(operationName = \"GetLastTicketingDate\", action = \"http://epowerv5.amadeus.com.tr/WS/GetLastTicketingDate\")\n @WebResult(name = \"LastTicketingDateRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetLastTicketingDate\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetLastTicketingDate\")\n @ResponseWrapper(localName = \"GetLastTicketingDateResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetLastTicketingDateResponse\")\n public wsimport.lib.epower.GetLastTicketingDateResponse.LastTicketingDateRS getLastTicketingDate(\n @WebParam(name = \"PnrNo\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n String pnrNo,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaAirSeatMapRQ\n * @return\n * returns wsimport.lib.epower.OTAAirSeatMapRS\n */\n @WebMethod(operationName = \"GetSeatMap\", action = \"http://epowerv5.amadeus.com.tr/WS/GetSeatMap\")\n @WebResult(name = \"OTA_AirSeatMapRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetSeatMap\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetSeatMap\")\n @ResponseWrapper(localName = \"GetSeatMapResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetSeatMapResponse\")\n public OTAAirSeatMapRS getSeatMap(\n @WebParam(name = \"OTA_AirSeatMapRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAAirSeatMapRQ otaAirSeatMapRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaAirScheduleRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.SearchFlightTimeTableResponse.OTAAirScheduleRS\n */\n @WebMethod(operationName = \"SearchFlightTimeTable\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchFlightTimeTable\")\n @WebResult(name = \"OTA_AirScheduleRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchFlightTimeTable\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchFlightTimeTable\")\n @ResponseWrapper(localName = \"SearchFlightTimeTableResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchFlightTimeTableResponse\")\n public wsimport.lib.epower.SearchFlightTimeTableResponse.OTAAirScheduleRS searchFlightTimeTable(\n @WebParam(name = \"OTA_AirScheduleRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.SearchFlightTimeTable.OTAAirScheduleRQ otaAirScheduleRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param pCityCode\n * @return\n * returns java.lang.String\n */\n @WebMethod(operationName = \"GetCancelPolicyText\", action = \"http://epowerv5.amadeus.com.tr/WS/GetCancelPolicyText\")\n @WebResult(name = \"GetCancelPolicyTextResult\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetCancelPolicyText\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCancelPolicyText\")\n @ResponseWrapper(localName = \"GetCancelPolicyTextResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCancelPolicyTextResponse\")\n public String getCancelPolicyText(\n @WebParam(name = \"p_CityCode\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n String pCityCode);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaHotelSearchRQ\n * @return\n * returns wsimport.lib.epower.OTAHotelSearchRS\n */\n @WebMethod(operationName = \"SearchHotel\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchHotel\")\n @WebResult(name = \"OTA_HotelSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchHotel\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchHotel\")\n @ResponseWrapper(localName = \"SearchHotelResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchHotelResponse\")\n public OTAHotelSearchRS searchHotel(\n @WebParam(name = \"OTA_HotelSearchRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.SearchHotel.OTAHotelSearchRQ otaHotelSearchRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaHotelInfoRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAHotelSearchRS\n */\n @WebMethod(operationName = \"GetHotelInfo\", action = \"http://epowerv5.amadeus.com.tr/WS/GetHotelInfo\")\n @WebResult(name = \"OTA_HotelSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetHotelInfo\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetHotelInfo\")\n @ResponseWrapper(localName = \"GetHotelInfoResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetHotelInfoResponse\")\n public OTAHotelSearchRS getHotelInfo(\n @WebParam(name = \"OTA_HotelInfoRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAHotelInfoRQ otaHotelInfoRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaHotelAvailRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.SearchHotelRoomsResponse.OTAHotelAvailRS\n */\n @WebMethod(operationName = \"SearchHotelRooms\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchHotelRooms\")\n @WebResult(name = \"OTA_HotelAvailRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchHotelRooms\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchHotelRooms\")\n @ResponseWrapper(localName = \"SearchHotelRoomsResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchHotelRoomsResponse\")\n public wsimport.lib.epower.SearchHotelRoomsResponse.OTAHotelAvailRS searchHotelRooms(\n @WebParam(name = \"OTA_HotelAvailRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAHotelAvailRQ otaHotelAvailRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaHotelRoomRuleRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.GetHotelRoomRulesResponse.OTAHotelAvailRS\n */\n @WebMethod(operationName = \"GetHotelRoomRules\", action = \"http://epowerv5.amadeus.com.tr/WS/GetHotelRoomRules\")\n @WebResult(name = \"OTA_HotelAvailRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetHotelRoomRules\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetHotelRoomRules\")\n @ResponseWrapper(localName = \"GetHotelRoomRulesResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetHotelRoomRulesResponse\")\n public wsimport.lib.epower.GetHotelRoomRulesResponse.OTAHotelAvailRS getHotelRoomRules(\n @WebParam(name = \"OTA_HotelRoomRuleRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAHotelRoomRuleRQ otaHotelRoomRuleRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaHotelResRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAHotelResRS\n */\n @WebMethod(operationName = \"BookHotel\", action = \"http://epowerv5.amadeus.com.tr/WS/BookHotel\")\n @WebResult(name = \"OTA_HotelResRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"BookHotel\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookHotel\")\n @ResponseWrapper(localName = \"BookHotelResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookHotelResponse\")\n public OTAHotelResRS bookHotel(\n @WebParam(name = \"OTA_HotelResRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAHotelResRQ otaHotelResRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaReadRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAHotelResRS\n */\n @WebMethod(operationName = \"GetHotelPNR\", action = \"http://epowerv5.amadeus.com.tr/WS/GetHotelPNR\")\n @WebResult(name = \"OTA_HotelResRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetHotelPNR\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetHotelPNR\")\n @ResponseWrapper(localName = \"GetHotelPNRResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetHotelPNRResponse\")\n public OTAHotelResRS getHotelPNR(\n @WebParam(name = \"OTA_ReadRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.GetHotelPNR.OTAReadRQ otaReadRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaVehAvailRateRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAVehAvailRateRS\n */\n @WebMethod(operationName = \"SearchCar\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchCar\")\n @WebResult(name = \"OTA_VehAvailRateRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchCar\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchCar\")\n @ResponseWrapper(localName = \"SearchCarResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchCarResponse\")\n public OTAVehAvailRateRS searchCar(\n @WebParam(name = \"OTA_VehAvailRateRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAVehAvailRateRQ otaVehAvailRateRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaVehAvailVendorRQ\n * @return\n * returns wsimport.lib.epower.OTAVehAvailRateRS\n */\n @WebMethod(operationName = \"SearchCarVendor\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchCarVendor\")\n @WebResult(name = \"OTA_VehAvailRateRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchCarVendor\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchCarVendor\")\n @ResponseWrapper(localName = \"SearchCarVendorResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchCarVendorResponse\")\n public OTAVehAvailRateRS searchCarVendor(\n @WebParam(name = \"OTA_VehAvailVendorRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAVehAvailVendorRQ otaVehAvailVendorRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaVehLocSearchRQ\n * @return\n * returns wsimport.lib.epower.OTAVehLocSearchRS\n */\n @WebMethod(operationName = \"GetCarCompanyLocations\", action = \"http://epowerv5.amadeus.com.tr/WS/GetCarCompanyLocations\")\n @WebResult(name = \"OTA_VehLocSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetCarCompanyLocations\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCarCompanyLocations\")\n @ResponseWrapper(localName = \"GetCarCompanyLocationsResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCarCompanyLocationsResponse\")\n public OTAVehLocSearchRS getCarCompanyLocations(\n @WebParam(name = \"OTA_VehLocSearchRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAVehLocSearchRQ otaVehLocSearchRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaVehRateRuleRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAVehRateRuleRS\n */\n @WebMethod(operationName = \"GetCarRules\", action = \"http://epowerv5.amadeus.com.tr/WS/GetCarRules\")\n @WebResult(name = \"OTA_VehRateRuleRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetCarRules\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCarRules\")\n @ResponseWrapper(localName = \"GetCarRulesResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCarRulesResponse\")\n public OTAVehRateRuleRS getCarRules(\n @WebParam(name = \"OTA_VehRateRuleRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAVehRateRuleRQ otaVehRateRuleRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaVehResRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAVehResRS\n */\n @WebMethod(operationName = \"BookCar\", action = \"http://epowerv5.amadeus.com.tr/WS/BookCar\")\n @WebResult(name = \"OTA_VehResRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"BookCar\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookCar\")\n @ResponseWrapper(localName = \"BookCarResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookCarResponse\")\n public OTAVehResRS bookCar(\n @WebParam(name = \"OTA_VehResRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAVehResRQ otaVehResRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaReadRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAVehResRS\n */\n @WebMethod(operationName = \"GetCarPNR\", action = \"http://epowerv5.amadeus.com.tr/WS/GetCarPNR\")\n @WebResult(name = \"OTA_VehResRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetCarPNR\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCarPNR\")\n @ResponseWrapper(localName = \"GetCarPNRResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetCarPNRResponse\")\n public OTAVehResRS getCarPNR(\n @WebParam(name = \"OTA_ReadRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.GetCarPNR.OTAReadRQ otaReadRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param otaInsurancePlanSearchRQ\n * @return\n * returns wsimport.lib.epower.OTAInsurancePlanSearchRS\n */\n @WebMethod(operationName = \"SearchInsurancePlans\", action = \"http://epowerv5.amadeus.com.tr/WS/SearchInsurancePlans\")\n @WebResult(name = \"OTA_InsurancePlanSearchRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"SearchInsurancePlans\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchInsurancePlans\")\n @ResponseWrapper(localName = \"SearchInsurancePlansResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.SearchInsurancePlansResponse\")\n public OTAInsurancePlanSearchRS searchInsurancePlans(\n @WebParam(name = \"OTA_InsurancePlanSearchRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAInsurancePlanSearchRQ otaInsurancePlanSearchRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaInsuranceBookRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.OTAInsuranceBookRS\n */\n @WebMethod(operationName = \"BookInsurance\", action = \"http://epowerv5.amadeus.com.tr/WS/BookInsurance\")\n @WebResult(name = \"OTA_InsuranceBookRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"BookInsurance\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookInsurance\")\n @ResponseWrapper(localName = \"BookInsuranceResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookInsuranceResponse\")\n public OTAInsuranceBookRS bookInsurance(\n @WebParam(name = \"OTA_InsuranceBookRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n OTAInsuranceBookRQ otaInsuranceBookRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param bookBasketRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.BookResponse.BookBasketRS\n */\n @WebMethod(operationName = \"Book\", action = \"http://epowerv5.amadeus.com.tr/WS/Book\")\n @WebResult(name = \"BookBasketRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"Book\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.Book\")\n @ResponseWrapper(localName = \"BookResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.BookResponse\")\n public wsimport.lib.epower.BookResponse.BookBasketRS book(\n @WebParam(name = \"BookBasketRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.Book.BookBasketRQ bookBasketRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param otaReadRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.GetBasketPNRResponse.OTAAirBookRS\n */\n @WebMethod(operationName = \"GetBasketPNR\", action = \"http://epowerv5.amadeus.com.tr/WS/GetBasketPNR\")\n @WebResult(name = \"OTA_AirBookRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetBasketPNR\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetBasketPNR\")\n @ResponseWrapper(localName = \"GetBasketPNRResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetBasketPNRResponse\")\n public wsimport.lib.epower.GetBasketPNRResponse.OTAAirBookRS getBasketPNR(\n @WebParam(name = \"OTA_ReadRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.GetBasketPNR.OTAReadRQ otaReadRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param amadeusAPICommandRQ\n * @return\n * returns wsimport.lib.epower.ExecuteCommandResponse.AmadeusAPICommandRS\n */\n @WebMethod(operationName = \"ExecuteCommand\", action = \"http://epowerv5.amadeus.com.tr/WS/ExecuteCommand\")\n @WebResult(name = \"AmadeusAPICommandRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"ExecuteCommand\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.ExecuteCommand\")\n @ResponseWrapper(localName = \"ExecuteCommandResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.ExecuteCommandResponse\")\n public wsimport.lib.epower.ExecuteCommandResponse.AmadeusAPICommandRS executeCommand(\n @WebParam(name = \"AmadeusAPICommandRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.ExecuteCommand.AmadeusAPICommandRQ amadeusAPICommandRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param getUserRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.GetUserRS\n */\n @WebMethod(operationName = \"GetUser\", action = \"http://epowerv5.amadeus.com.tr/WS/GetUser\")\n @WebResult(name = \"GetUserRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetUser\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetUser\")\n @ResponseWrapper(localName = \"GetUserResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetUserResponse\")\n public GetUserRS getUser(\n @WebParam(name = \"GetUserRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.GetUser.GetUserRQ getUserRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param userOperationsRQ\n * @return\n * returns wsimport.lib.epower.GetUserRS\n */\n @WebMethod(operationName = \"RegisterUser\", action = \"http://epowerv5.amadeus.com.tr/WS/RegisterUser\")\n @WebResult(name = \"GetUserRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"RegisterUser\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.RegisterUser\")\n @ResponseWrapper(localName = \"RegisterUserResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.RegisterUserResponse\")\n public GetUserRS registerUser(\n @WebParam(name = \"UserOperationsRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.RegisterUser.UserOperationsRQ userOperationsRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param authenticationSoapHeader\n * @param userOperationsRQ\n * @return\n * returns wsimport.lib.epower.GetUserRS\n */\n @WebMethod(operationName = \"UpdateUser\", action = \"http://epowerv5.amadeus.com.tr/WS/UpdateUser\")\n @WebResult(name = \"GetUserRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"UpdateUser\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.UpdateUser\")\n @ResponseWrapper(localName = \"UpdateUserResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.UpdateUserResponse\")\n public GetUserRS updateUser(\n @WebParam(name = \"UserOperationsRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n wsimport.lib.epower.UpdateUser.UserOperationsRQ userOperationsRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param apisRulesRQ\n * @param authenticationSoapHeader\n * @return\n * returns wsimport.lib.epower.APISRulesRS\n */\n @WebMethod(operationName = \"GetAPISRules\", action = \"http://epowerv5.amadeus.com.tr/WS/GetAPISRules\")\n @WebResult(name = \"APISRulesRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetAPISRules\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetAPISRules\")\n @ResponseWrapper(localName = \"GetAPISRulesResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetAPISRulesResponse\")\n public APISRulesRS getAPISRules(\n @WebParam(name = \"APISRulesRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n APISRulesRQ apisRulesRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n /**\n * \n * @param fareFamilyInfoRQ\n * @param authenticationSoapHeader\n \n * @return\n * returns wsimport.lib.epower.FareFamilyInfoRS\n */\n @WebMethod(operationName = \"GetFlightFareFamilies\", action = \"http://epowerv5.amadeus.com.tr/WS/GetFlightFareFamilies\")\n @WebResult(name = \"FareFamilyInfoRS\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n @RequestWrapper(localName = \"GetFlightFareFamilies\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetFlightFareFamilies\")\n @ResponseWrapper(localName = \"GetFlightFareFamiliesResponse\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", className = \"wsimport.lib.epower.GetFlightFareFamiliesResponse\")\n public FareFamilyInfoRS getFlightFareFamilies(\n @WebParam(name = \"FareFamilyInfoRQ\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\")\n FareFamilyInfoRQ fareFamilyInfoRQ,\n @WebParam(name = \"AuthenticationSoapHeader\", targetNamespace = \"http://epowerv5.amadeus.com.tr/WS\", header = true, partName = \"AuthenticationSoapHeader\")\n AuthenticationSoapHeader authenticationSoapHeader);\n\n}", "title": "" }, { "docid": "c9037221de54f833e8599ac83d797260", "score": "0.6017118", "text": "@WebService(name = \"TestDataService\", targetNamespace = \"http://api.service.comm.esb.ymsino.com/\")\r\npublic interface TestDataService {\r\n\r\n\t/**\r\n\t * 集中器召测本机动态数据\r\n\t * \r\n\t * @param waterMeterId\r\n\t * @param concHardwareId\r\n\t * @param waterMeterSn\r\n\t * @return returns com.ymsino.water.service.comm.testData.MeterDataVo\r\n\t */\r\n\t@WebMethod\r\n\t@WebResult(targetNamespace = \"\")\r\n\t@RequestWrapper(localName = \"testData\", targetNamespace = \"http://api.service.comm.esb.ymsino.com/\", className = \"com.ymsino.water.service.comm.testData.TestData\")\r\n\t@ResponseWrapper(localName = \"testDataResponse\", targetNamespace = \"http://api.service.comm.esb.ymsino.com/\", className = \"com.ymsino.water.service.comm.testData.TestDataResponse\")\r\n\tpublic MeterDataVo testData(@WebParam(name = \"concHardwareId\", targetNamespace = \"\") String concHardwareId, @WebParam(name = \"waterMeterId\", targetNamespace = \"\") String waterMeterId, @WebParam(name = \"waterMeterSn\", targetNamespace = \"\") Integer waterMeterSn);\r\n\r\n}", "title": "" }, { "docid": "9bacfcd6d94dc94fee82d67254c974bf", "score": "0.6015074", "text": "@WebService(name = \"DataService\", targetNamespace = \"http://geoway.cn/\")\npublic interface DataService {\n\n\t/**\n\t * \n\t * @param arg1\n\t * @param arg0\n\t * @return returns java.util.List<com.gistone.seimp.job.Data>\n\t */\n\t@WebMethod\n\t@WebResult(targetNamespace = \"\")\n\t@RequestWrapper(localName = \"getData\", targetNamespace = \"http://geoway.cn/\", className = \"com.gistone.seimp.job.GetData\")\n\t@ResponseWrapper(localName = \"getDataResponse\", targetNamespace = \"http://geoway.cn/\", className = \"com.gistone.seimp.job.GetDataResponse\")\n\tpublic List<Data> getData(\n\t\t\t@WebParam(name = \"arg0\", targetNamespace = \"\") String arg0,\n\t\t\t@WebParam(name = \"arg1\", targetNamespace = \"\") String arg1);\n\n}", "title": "" }, { "docid": "adfcafff09703fbda9495b708e1478e4", "score": "0.6007456", "text": "public interface WWXService {\n\n ResponseEntity<byte[]> replyTextMsg() throws Exception;\n\n String getAccessToken() throws Exception;\n\n byte[] downloadMediaObject(String mediaId) throws Exception;\n\n}", "title": "" }, { "docid": "7360b123d97d205160f90c934515523e", "score": "0.6005329", "text": "@WebService(serviceName = \"ProdutoService\", targetNamespace = \"http://qat.com/sysmgmt\", portName = \"ProdutoServicePort\")\r\npublic interface IProdutoBAS\r\n{\r\n\r\n\t@WebMethod(action = \"insertProduto\")\r\n\t@WebResult(name = \"insertProdutoReturn\")\r\n\t@WSDLDocumentation(value = \"Insert a supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic ProdutoResponse insertProduto(@WebParam(name = \"request\") ProdutoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"updateProduto\")\r\n\t@WebResult(name = \"updateProdutoReturn\")\r\n\t@WSDLDocumentation(value = \"Updates the selected supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic ProdutoResponse updateProduto(@WebParam(name = \"request\") ProdutoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"deleteProduto\")\r\n\t@WebResult(name = \"deleteProdutoReturn\")\r\n\t@WSDLDocumentation(value = \"Deletes a supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic ProdutoResponse deleteProduto(@WebParam(name = \"request\") ProdutoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"fetchProdutosByRequest\")\r\n\t@WebResult(name = \"fetchProdutosByRequestReturn\")\r\n\t@WSDLDocumentation(value = \"Returns a list of supermercados paged.\")\r\n\tpublic ProdutoResponse fetchProdutosByRequest(@WebParam(name = \"request\") ProdutoInquiryRequest request);\r\n\r\n\t/**\r\n\t * Fetch all supermercados.\r\n\t * \r\n\t * @param request the request\r\n\t * \r\n\t * @return the supermercado response\r\n\t */\r\n\t@WebMethod(action = \"fetchAllProdutos\")\r\n\t@WebResult(name = \"fetchAllProdutosReturn\")\r\n\t@WSDLDocumentation(value = \"Returns a complete list of all supermercados.\")\r\n\tpublic ProdutoResponse fetchAllProdutos(@WebParam(name = \"request\") FetchAllRequest request);\r\n\r\n\t/**\r\n\t * Fetch supermercado by id.\r\n\t * \r\n\t * @param request the request\r\n\t * \r\n\t * @return the supermercado response\r\n\t */\r\n\t@WebMethod(action = \"fetchProdutoById\")\r\n\t@WebResult(name = \"fetchProdutoByIdReturn\")\r\n\t@WSDLDocumentation(value = \"Returns the desired supermercado.\")\r\n\tpublic ProdutoResponse fetchProdutoById(@WebParam(name = \"request\") FetchByIdRequest request);\r\n\r\n\t/**\r\n\t * Refresh supermercados.\r\n\t * \r\n\t * @param request the request\r\n\t * \r\n\t * @return the supermercado response\r\n\t */\r\n\t@WebMethod(action = \"refreshProdutos\")\r\n\t@WebResult(name = \"refreshProdutosReturn\")\r\n\t@WSDLDocumentation(value = \"Used for demo purposes only, rebuilds the supermercado tables.\")\r\n\tpublic ProdutoResponse refreshProdutos(@WebParam(name = \"request\") RefreshRequest request);\r\n\r\n\t// Servišo\r\n\r\n\t@WebMethod(action = \"insertServico\")\r\n\t@WebResult(name = \"insertServicoReturn\")\r\n\t@WSDLDocumentation(value = \"Insert a supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic ServicoResponse insertServico(@WebParam(name = \"request\") ServicoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"updateServico\")\r\n\t@WebResult(name = \"updateServicoReturn\")\r\n\t@WSDLDocumentation(value = \"Updates the selected supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic ServicoResponse updateServico(@WebParam(name = \"request\") ServicoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"deleteServico\")\r\n\t@WebResult(name = \"deleteServicoReturn\")\r\n\t@WSDLDocumentation(value = \"Deletes a supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic ServicoResponse deleteServico(@WebParam(name = \"request\") ServicoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"fetchServicosByRequest\")\r\n\t@WebResult(name = \"fetchServicosByRequestReturn\")\r\n\t@WSDLDocumentation(value = \"Returns a list of supermercados paged.\")\r\n\tpublic ServicoResponse fetchServicosByRequest(@WebParam(name = \"request\") ServicoInquiryRequest request);\r\n\r\n\t// Plano\r\n\t@WebMethod(action = \"insertPlano\")\r\n\t@WebResult(name = \"insertPlanoReturn\")\r\n\t@WSDLDocumentation(value = \"Insert a supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic PlanoResponse insertPlano(@WebParam(name = \"request\") PlanoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"updatePlano\")\r\n\t@WebResult(name = \"updatePlanoReturn\")\r\n\t@WSDLDocumentation(value = \"Updates the selected supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic PlanoResponse updatePlano(@WebParam(name = \"request\") PlanoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"deletePlano\")\r\n\t@WebResult(name = \"deletePlanoReturn\")\r\n\t@WSDLDocumentation(value = \"Deletes a supermercado record and optionally returns a list of supermercados.\")\r\n\tpublic PlanoResponse deletePlano(@WebParam(name = \"request\") PlanoMaintenanceRequest request);\r\n\r\n\t@WebMethod(action = \"fetchPlanosByRequest\")\r\n\t@WebResult(name = \"fetchPlanosByRequestReturn\")\r\n\t@WSDLDocumentation(value = \"Returns a list of supermercados paged.\")\r\n\tpublic PlanoResponse fetchPlanosByRequest(@WebParam(name = \"request\") PlanoInquiryRequest request);\r\n\r\n}", "title": "" }, { "docid": "11e37631eadf3d8af5e4c4a5ecc9ceca", "score": "0.6004793", "text": "@WebService\npublic interface CompareWebService\n{\n\n\t/******查询处理文件请求******/\n @WebMethod(action = \"urn:compareWebService\")\n @POST\n @Path(\"doQueryCompareInfo\")\n ResultData<FileWithdrawInfoDTO> doQueryCompareInfo(@WebParam(name = \"date\") String date, @WebParam(name = \"srcType\") String srcType);\n\n\n}", "title": "" }, { "docid": "c09a7b5f66db1ba5a273d327804ecaac", "score": "0.5998672", "text": "@WebService\npublic interface CardService {\n\t@WebMethod public Card generateCard(ClientInfo info);\n}", "title": "" }, { "docid": "5004b49a961c32d445c999f05424225f", "score": "0.59956247", "text": "@WebService(name = \"LoginService\", targetNamespace = \"http://jaxws_web1.com/\")\r\npublic interface LoginService\r\n{\r\n\t//1\r\n\tpublic String testlogin();\r\n\r\n}", "title": "" }, { "docid": "71db14cca8f7ebef779bde3a485b6489", "score": "0.59938633", "text": "@WebService(name = \"IRemoteCompany\", targetNamespace = \"http://service.web.com/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface IRemoteCompany {\r\n\r\n\r\n /**\r\n * \r\n * @param arg0\r\n * @return\r\n * returns int\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"companyTernOver\", targetNamespace = \"http://service.web.com/\", className = \"com.web.service.CompanyTernOver\")\r\n @ResponseWrapper(localName = \"companyTernOverResponse\", targetNamespace = \"http://service.web.com/\", className = \"com.web.service.CompanyTernOverResponse\")\r\n @Action(input = \"http://service.web.com/IRemoteCompany/companyTernOverRequest\", output = \"http://service.web.com/IRemoteCompany/companyTernOverResponse\")\r\n public int companyTernOver(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n String arg0);\r\n\r\n}", "title": "" }, { "docid": "d20ec6963302739c11a9f1aa17e71878", "score": "0.5990405", "text": "@WebService(\n portName = \"HelloWorldPort\",\n serviceName = \"HelloWorld\",\n targetNamespace = \"http://example/wsdl\",\n endpointInterface = \"example.HelloWorld\"\n)\npublic interface HelloWorldWs {\n\n String sayHelloWorldFrom(String from);\n}", "title": "" }, { "docid": "8eec93094acfb97d4c52aa3dd2431e47", "score": "0.5986079", "text": "@WebService(name = \"WokSearch\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface WokSearch {\r\n\r\n\r\n /**\r\n * \r\n * @param retrieveParameters\r\n * @param queryId\r\n * @return\r\n * returns java.util.List<com.thomsonreuters.wokmws.cxf.woksearch.CitedReference>\r\n * @throws SessionException_Exception\r\n * @throws QueryException_Exception\r\n * @throws AuthenticationException_Exception\r\n * @throws InvalidInputException_Exception\r\n * @throws ESTIWSException_Exception\r\n * @throws InternalServerException_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"citedReferencesRetrieve\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.CitedReferencesRetrieve\")\r\n @ResponseWrapper(localName = \"citedReferencesRetrieveResponse\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.CitedReferencesRetrieveResponse\")\r\n public List<CitedReference> citedReferencesRetrieve(\r\n @WebParam(name = \"queryId\", targetNamespace = \"\")\r\n String queryId,\r\n @WebParam(name = \"retrieveParameters\", targetNamespace = \"\")\r\n RetrieveParameters retrieveParameters)\r\n throws AuthenticationException_Exception, ESTIWSException_Exception, InternalServerException_Exception, InvalidInputException_Exception, QueryException_Exception, SessionException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @param editions\r\n * @param timeSpan\r\n * @param queryLanguage\r\n * @param databaseId\r\n * @param retrieveParameters\r\n * @return\r\n * returns com.thomsonreuters.wokmws.cxf.woksearch.FullRecordSearchResults\r\n * @throws SessionException_Exception\r\n * @throws QueryException_Exception\r\n * @throws AuthenticationException_Exception\r\n * @throws InvalidInputException_Exception\r\n * @throws ESTIWSException_Exception\r\n * @throws InternalServerException_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"relatedRecords\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.RelatedRecords\")\r\n @ResponseWrapper(localName = \"relatedRecordsResponse\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.RelatedRecordsResponse\")\r\n public FullRecordSearchResults relatedRecords(\r\n @WebParam(name = \"databaseId\", targetNamespace = \"\")\r\n String databaseId,\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid,\r\n @WebParam(name = \"editions\", targetNamespace = \"\")\r\n List<EditionDesc> editions,\r\n @WebParam(name = \"timeSpan\", targetNamespace = \"\")\r\n TimeSpan timeSpan,\r\n @WebParam(name = \"queryLanguage\", targetNamespace = \"\")\r\n String queryLanguage,\r\n @WebParam(name = \"retrieveParameters\", targetNamespace = \"\")\r\n RetrieveParameters retrieveParameters)\r\n throws AuthenticationException_Exception, ESTIWSException_Exception, InternalServerException_Exception, InvalidInputException_Exception, QueryException_Exception, SessionException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @param editions\r\n * @param timeSpan\r\n * @param queryLanguage\r\n * @param databaseId\r\n * @param retrieveParameters\r\n * @return\r\n * returns com.thomsonreuters.wokmws.cxf.woksearch.CitedReferencesSearchResults\r\n * @throws SessionException_Exception\r\n * @throws QueryException_Exception\r\n * @throws AuthenticationException_Exception\r\n * @throws InvalidInputException_Exception\r\n * @throws ESTIWSException_Exception\r\n * @throws InternalServerException_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"citedReferences\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.CitedReferences\")\r\n @ResponseWrapper(localName = \"citedReferencesResponse\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.CitedReferencesResponse\")\r\n public CitedReferencesSearchResults citedReferences(\r\n @WebParam(name = \"databaseId\", targetNamespace = \"\")\r\n String databaseId,\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid,\r\n @WebParam(name = \"editions\", targetNamespace = \"\")\r\n List<EditionDesc> editions,\r\n @WebParam(name = \"timeSpan\", targetNamespace = \"\")\r\n TimeSpan timeSpan,\r\n @WebParam(name = \"queryLanguage\", targetNamespace = \"\")\r\n String queryLanguage,\r\n @WebParam(name = \"retrieveParameters\", targetNamespace = \"\")\r\n RetrieveParameters retrieveParameters)\r\n throws AuthenticationException_Exception, ESTIWSException_Exception, InternalServerException_Exception, InvalidInputException_Exception, QueryException_Exception, SessionException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param retrieveParameters\r\n * @param queryId\r\n * @return\r\n * returns com.thomsonreuters.wokmws.cxf.woksearch.FullRecordData\r\n * @throws SessionException_Exception\r\n * @throws QueryException_Exception\r\n * @throws AuthenticationException_Exception\r\n * @throws ESTIWSException_Exception\r\n * @throws InvalidInputException_Exception\r\n * @throws InternalServerException_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"retrieve\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.Retrieve\")\r\n @ResponseWrapper(localName = \"retrieveResponse\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.RetrieveResponse\")\r\n public FullRecordData retrieve(\r\n @WebParam(name = \"queryId\", targetNamespace = \"\")\r\n String queryId,\r\n @WebParam(name = \"retrieveParameters\", targetNamespace = \"\")\r\n RetrieveParameters retrieveParameters)\r\n throws AuthenticationException_Exception, ESTIWSException_Exception, InternalServerException_Exception, InvalidInputException_Exception, QueryException_Exception, SessionException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param queryParameters\r\n * @param retrieveParameters\r\n * @return\r\n * returns com.thomsonreuters.wokmws.cxf.woksearch.FullRecordSearchResults\r\n * @throws SessionException_Exception\r\n * @throws QueryException_Exception\r\n * @throws AuthenticationException_Exception\r\n * @throws InvalidInputException_Exception\r\n * @throws ESTIWSException_Exception\r\n * @throws InternalServerException_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"search\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.Search\")\r\n @ResponseWrapper(localName = \"searchResponse\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.SearchResponse\")\r\n public FullRecordSearchResults search(\r\n @WebParam(name = \"queryParameters\", targetNamespace = \"\")\r\n QueryParameters queryParameters,\r\n @WebParam(name = \"retrieveParameters\", targetNamespace = \"\")\r\n RetrieveParameters retrieveParameters)\r\n throws AuthenticationException_Exception, ESTIWSException_Exception, InternalServerException_Exception, InvalidInputException_Exception, QueryException_Exception, SessionException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param uid\r\n * @param editions\r\n * @param timeSpan\r\n * @param queryLanguage\r\n * @param databaseId\r\n * @param retrieveParameters\r\n * @return\r\n * returns com.thomsonreuters.wokmws.cxf.woksearch.FullRecordSearchResults\r\n * @throws SessionException_Exception\r\n * @throws QueryException_Exception\r\n * @throws AuthenticationException_Exception\r\n * @throws ESTIWSException_Exception\r\n * @throws InvalidInputException_Exception\r\n * @throws InternalServerException_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"citingArticles\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.CitingArticles\")\r\n @ResponseWrapper(localName = \"citingArticlesResponse\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.CitingArticlesResponse\")\r\n public FullRecordSearchResults citingArticles(\r\n @WebParam(name = \"databaseId\", targetNamespace = \"\")\r\n String databaseId,\r\n @WebParam(name = \"uid\", targetNamespace = \"\")\r\n String uid,\r\n @WebParam(name = \"editions\", targetNamespace = \"\")\r\n List<EditionDesc> editions,\r\n @WebParam(name = \"timeSpan\", targetNamespace = \"\")\r\n TimeSpan timeSpan,\r\n @WebParam(name = \"queryLanguage\", targetNamespace = \"\")\r\n String queryLanguage,\r\n @WebParam(name = \"retrieveParameters\", targetNamespace = \"\")\r\n RetrieveParameters retrieveParameters)\r\n throws AuthenticationException_Exception, ESTIWSException_Exception, InternalServerException_Exception, InvalidInputException_Exception, QueryException_Exception, SessionException_Exception\r\n ;\r\n\r\n /**\r\n * \r\n * @param uids\r\n * @param queryLanguage\r\n * @param databaseId\r\n * @param retrieveParameters\r\n * @return\r\n * returns com.thomsonreuters.wokmws.cxf.woksearch.FullRecordSearchResults\r\n * @throws SessionException_Exception\r\n * @throws QueryException_Exception\r\n * @throws AuthenticationException_Exception\r\n * @throws InvalidInputException_Exception\r\n * @throws ESTIWSException_Exception\r\n * @throws InternalServerException_Exception\r\n */\r\n @WebMethod\r\n @WebResult(targetNamespace = \"\")\r\n @RequestWrapper(localName = \"retrieveById\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.RetrieveById\")\r\n @ResponseWrapper(localName = \"retrieveByIdResponse\", targetNamespace = \"http://woksearch.cxf.wokmws.thomsonreuters.com\", className = \"com.thomsonreuters.wokmws.cxf.woksearch.RetrieveByIdResponse\")\r\n public FullRecordSearchResults retrieveById(\r\n @WebParam(name = \"databaseId\", targetNamespace = \"\")\r\n String databaseId,\r\n @WebParam(name = \"uids\", targetNamespace = \"\")\r\n List<String> uids,\r\n @WebParam(name = \"queryLanguage\", targetNamespace = \"\")\r\n String queryLanguage,\r\n @WebParam(name = \"retrieveParameters\", targetNamespace = \"\")\r\n RetrieveParameters retrieveParameters)\r\n throws AuthenticationException_Exception, ESTIWSException_Exception, InternalServerException_Exception, InvalidInputException_Exception, QueryException_Exception, SessionException_Exception\r\n ;\r\n\r\n}", "title": "" }, { "docid": "21a835e821f5ba962c7fb46b18e6ca2e", "score": "0.59588325", "text": "@WebService(name = \"Hello\", targetNamespace = \"urn:test\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n//@XmlSeeAlso({\n// ObjectFactory.class\n//})\npublic interface MyHello {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns fromwsdl.client_from_sei.server.HelloResponse\n */\n @WebMethod(action = \"urn:test:hello\")\n @WebResult(name = \"HelloResponse\", targetNamespace = \"urn:test:types\", partName = \"parameters\")\n public MyHelloResponse hello(\n @WebParam(name = \"Hello\", targetNamespace = \"urn:test:types\", partName = \"parameters\")\n MyHello_Type parameters);\n\n}", "title": "" }, { "docid": "6b9e0a521fcc1b1ad880a7fa5fc5ba92", "score": "0.5949904", "text": "public interface WsClientFactory<T> {\n\n /**\n * Get client for web service.\n *\n * @return proxy client for given service\n */\n T getService();\n\n /**\n * Release service back to pool.\n *\n * @param service service\n */\n void release(T service);\n\n}", "title": "" }, { "docid": "dff5c6b952d0b501b29cdc0bd0cf7e28", "score": "0.59472394", "text": "@WebService(targetNamespace = \"http://www.allianz.com/PricingDetailsService/\", name = \"PricingDetails\")\n@XmlSeeAlso({com.allianz.pricingdetailsservice.datamodel.ObjectFactory.class})\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\npublic interface PricingDetails {\n\n @WebMethod(action = \"http://www.allianz.com/PricingDetailsService/getPricing\")\n @WebResult(name = \"pricing-output\", targetNamespace = \"http://www.allianz.com/PricingDetailsService/datamodel\", partName = \"output\")\n public com.allianz.pricingdetailsservice.datamodel.PricingOutputType getPricing(\n @WebParam(partName = \"input\", name = \"pricing-input\", targetNamespace = \"http://www.allianz.com/PricingDetailsService/datamodel\")\n com.allianz.pricingdetailsservice.datamodel.PricingInputType input\n );\n}", "title": "" }, { "docid": "88907ec0fb56dcde12f7b707eb9e906d", "score": "0.5940275", "text": "@WebService(name = \"IService\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface IService {\n\n\n /**\n * \n * @param tags\n * @param reserve\n * @param comment\n * @param templateName\n * @return\n * returns ru.terralink.regnumservice.RegNumber\n */\n @WebMethod(operationName = \"Next\", action = \"http://tempuri.org/IService/Next\")\n @WebResult(name = \"NextResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"Next\", targetNamespace = \"http://tempuri.org/\", className = \"ru.terralink.regnumservice.Next\")\n @ResponseWrapper(localName = \"NextResponse\", targetNamespace = \"http://tempuri.org/\", className = \"ru.terralink.regnumservice.NextResponse\")\n public RegNumber next(\n @WebParam(name = \"templateName\", targetNamespace = \"http://tempuri.org/\")\n String templateName,\n @WebParam(name = \"tags\", targetNamespace = \"http://tempuri.org/\")\n ArrayOfKeyValueOfstringstring tags,\n @WebParam(name = \"reserve\", targetNamespace = \"http://tempuri.org/\")\n Boolean reserve,\n @WebParam(name = \"comment\", targetNamespace = \"http://tempuri.org/\")\n String comment);\n\n /**\n * \n * @param id\n */\n @WebMethod(operationName = \"Fix\", action = \"http://tempuri.org/IService/Fix\")\n @RequestWrapper(localName = \"Fix\", targetNamespace = \"http://tempuri.org/\", className = \"ru.terralink.regnumservice.Fix\")\n @ResponseWrapper(localName = \"FixResponse\", targetNamespace = \"http://tempuri.org/\", className = \"ru.terralink.regnumservice.FixResponse\")\n public void fix(\n @WebParam(name = \"ID\", targetNamespace = \"http://tempuri.org/\")\n Integer id);\n\n}", "title": "" }, { "docid": "b9b99dd436c6dca3486964b76786b9fa", "score": "0.59371287", "text": "public PCC9SOAPHandler() {\n final TriplestoreConnectionFactory connectionFactory =\n TriplestoreConnectionFactory.getInstance();\n final GenericTriplestore triplestore = connectionFactory.getTriplestore();\n requestClient = new PHRSRequestClient(triplestore);\n }", "title": "" }, { "docid": "0a3f4cdd39718298cd1670b06eda6b98", "score": "0.59368336", "text": "@WebService(targetNamespace = \"http://labs.avps/\", name = \"CurrencyWS\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\npublic interface CurrencyWS {\r\n\r\n @WebMethod\r\n @RequestWrapper(localName = \"getCurrencies\", targetNamespace = \"http://labs.avps/\", className = \"avps.labs.client.stubs.GetCurrencies\")\r\n @ResponseWrapper(localName = \"getCurrenciesResponse\", targetNamespace = \"http://labs.avps/\", className = \"avps.labs.client.stubs.GetCurrenciesResponse\")\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n public java.util.List<java.lang.String> getCurrencies();\r\n\r\n @WebMethod\r\n @RequestWrapper(localName = \"getCurrencyInfo\", targetNamespace = \"http://labs.avps/\", className = \"avps.labs.client.stubs.GetCurrencyInfo\")\r\n @ResponseWrapper(localName = \"getCurrencyInfoResponse\", targetNamespace = \"http://labs.avps/\", className = \"avps.labs.client.stubs.GetCurrencyInfoResponse\")\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n public avps.labs.client.stubs.Currency getCurrencyInfo(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n java.lang.String arg0\r\n );\r\n\r\n @WebMethod\r\n @RequestWrapper(localName = \"getConvertedSum\", targetNamespace = \"http://labs.avps/\", className = \"avps.labs.client.stubs.GetConvertedSum\")\r\n @ResponseWrapper(localName = \"getConvertedSumResponse\", targetNamespace = \"http://labs.avps/\", className = \"avps.labs.client.stubs.GetConvertedSumResponse\")\r\n @WebResult(name = \"return\", targetNamespace = \"\")\r\n public java.lang.Float getConvertedSum(\r\n @WebParam(name = \"arg0\", targetNamespace = \"\")\r\n avps.labs.client.stubs.Currency arg0,\r\n @WebParam(name = \"arg1\", targetNamespace = \"\")\r\n java.lang.String arg1,\r\n @WebParam(name = \"arg2\", targetNamespace = \"\")\r\n float arg2\r\n );\r\n}", "title": "" }, { "docid": "6d5e370cc1c3945e253782251bd27eb2", "score": "0.59306735", "text": "@Test\n public void callWebService() {\n Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();\n\n MyWebserviceCaller storeCaller = new MyWebserviceCaller(storeHandler);\n MyWebserviceCaller discountCaller = new MyWebserviceCaller(discountsHandler);\n storeCaller.getAll(\"getAll\", Store.class);\n discountCaller.getAll(\"getAll\", Discount.class);\n\n }", "title": "" }, { "docid": "1506fa1c95cd9d9fa18a96edf76aaa66", "score": "0.592739", "text": "@WebService(name = \"GetLocationDetail\", targetNamespace = \"http://Location.th/\")\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface GetLocationDetail {\n\n\n /**\n * \n * @param parameters\n * @return\n * returns th.location.webservicedetaillocationservice.GetpersonOffenderResponse\n * @throws SQLException_Exception\n */\n @WebMethod(operationName = \"GetpersonOffender\")\n @WebResult(name = \"GetpersonOffenderResponse\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n public GetpersonOffenderResponse getpersonOffender(\n @WebParam(name = \"GetpersonOffender\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n GetpersonOffender parameters)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns th.location.webservicedetaillocationservice.GetPlaceHisCaseResponse\n * @throws SQLException_Exception\n */\n @WebMethod(operationName = \"GetPlaceHisCase\")\n @WebResult(name = \"GetPlaceHisCaseResponse\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n public GetPlaceHisCaseResponse getPlaceHisCase(\n @WebParam(name = \"GetPlaceHisCase\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n GetPlaceHisCase parameters)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns th.location.webservicedetaillocationservice.GetPlaceResponse\n * @throws SQLException_Exception\n */\n @WebMethod(operationName = \"GetPlace\")\n @WebResult(name = \"GetPlaceResponse\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n public GetPlaceResponse getPlace(\n @WebParam(name = \"GetPlace\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n GetPlace parameters)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns th.location.webservicedetaillocationservice.GetPlaceTypePersonResponse\n * @throws SQLException_Exception\n */\n @WebMethod(operationName = \"GetPlaceTypePerson\")\n @WebResult(name = \"GetPlaceTypePersonResponse\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n public GetPlaceTypePersonResponse getPlaceTypePerson(\n @WebParam(name = \"GetPlaceTypePerson\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n GetPlaceTypePerson parameters)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns th.location.webservicedetaillocationservice.GetPersonResponse\n * @throws SQLException_Exception\n */\n @WebMethod(operationName = \"GetPerson\")\n @WebResult(name = \"GetPersonResponse\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n public GetPersonResponse getPerson(\n @WebParam(name = \"GetPerson\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n GetPerson parameters)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns th.location.webservicedetaillocationservice.GetPersonVInforResponse\n * @throws SQLException_Exception\n */\n @WebMethod(operationName = \"GetPersonVInfor\")\n @WebResult(name = \"GetPersonVInforResponse\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n public GetPersonVInforResponse getPersonVInfor(\n @WebParam(name = \"GetPersonVInfor\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n GetPersonVInfor parameters)\n throws SQLException_Exception\n ;\n\n /**\n * \n * @param parameters\n * @return\n * returns th.location.webservicedetaillocationservice.GetPlacePeopleInvolResponse\n * @throws SQLException_Exception\n */\n @WebMethod(operationName = \"GetPlacePeopleInvol\")\n @WebResult(name = \"GetPlacePeopleInvolResponse\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n public GetPlacePeopleInvolResponse getPlacePeopleInvol(\n @WebParam(name = \"GetPlacePeopleInvol\", targetNamespace = \"http://Location.th/\", partName = \"parameters\")\n GetPlacePeopleInvol parameters)\n throws SQLException_Exception\n ;\n\n}", "title": "" }, { "docid": "4475885ddc7fd6e46c4569fed8d6e6f1", "score": "0.5925853", "text": "protected abstract OutType callService(Object client, InType body) throws Exception;", "title": "" }, { "docid": "e4c75ad5e26f81db84b436136bd180b0", "score": "0.5925492", "text": "@WebService(name = \"MyHello\", targetNamespace = \"helloservice.ws.helen.com\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface MyHello {\n\n\n /**\n * \n * @param arg0\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"sayBye\", targetNamespace = \"helloservice.ws.helen.com\", className = \"com.helen.ws.helloservice.SayBye\")\n @ResponseWrapper(localName = \"sayByeResponse\", targetNamespace = \"helloservice.ws.helen.com\", className = \"com.helen.ws.helloservice.SayByeResponse\")\n @Action(input = \"helloservice.ws.helen.com/MyHello/sayByeRequest\", output = \"helloservice.ws.helen.com/MyHello/sayByeResponse\")\n public String sayBye(\n @WebParam(name = \"arg0\", targetNamespace = \"\")\n String arg0);\n\n /**\n * \n * @param username\n * @return\n * returns java.lang.String\n */\n @WebMethod\n @WebResult(name = \"helloResult\", targetNamespace = \"\")\n @RequestWrapper(localName = \"sayHello\", targetNamespace = \"helloservice.ws.helen.com\", className = \"com.helen.ws.helloservice.SayHello\")\n @ResponseWrapper(localName = \"sayHelloResponse\", targetNamespace = \"helloservice.ws.helen.com\", className = \"com.helen.ws.helloservice.SayHelloResponse\")\n @Action(input = \"helloservice.ws.helen.com/MyHello/sayHelloRequest\", output = \"helloservice.ws.helen.com/MyHello/sayHelloResponse\")\n public String sayHello(\n @WebParam(name = \"username\", targetNamespace = \"\")\n String username);\n\n}", "title": "" }, { "docid": "f15dfa073b5cf1ba578f427263725309", "score": "0.5923362", "text": "public javax.tv.service.Service getService();", "title": "" }, { "docid": "101b39332e98ca0e667d577ef6df291a", "score": "0.5922512", "text": "@WebService(name = \"ServeiCarro\", targetNamespace = \"http://api\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface ServeiCarro {\r\n\r\n\r\n /**\r\n * \r\n * @param passwd\r\n * @param nom\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(name = \"autenticarReturn\", targetNamespace = \"http://api\")\r\n @RequestWrapper(localName = \"autenticar\", targetNamespace = \"http://api\", className = \"api.Autenticar\")\r\n @ResponseWrapper(localName = \"autenticarResponse\", targetNamespace = \"http://api\", className = \"api.AutenticarResponse\")\r\n public String autenticar(\r\n @WebParam(name = \"nom\", targetNamespace = \"http://api\")\r\n String nom,\r\n @WebParam(name = \"passwd\", targetNamespace = \"http://api\")\r\n String passwd);\r\n\r\n /**\r\n * \r\n * @param user\r\n * @param producte\r\n * @return\r\n * returns boolean\r\n */\r\n @WebMethod\r\n @WebResult(name = \"afegirProducteReturn\", targetNamespace = \"http://api\")\r\n @RequestWrapper(localName = \"afegirProducte\", targetNamespace = \"http://api\", className = \"api.AfegirProducte\")\r\n @ResponseWrapper(localName = \"afegirProducteResponse\", targetNamespace = \"http://api\", className = \"api.AfegirProducteResponse\")\r\n public boolean afegirProducte(\r\n @WebParam(name = \"user\", targetNamespace = \"http://api\")\r\n String user,\r\n @WebParam(name = \"producte\", targetNamespace = \"http://api\")\r\n Producte producte);\r\n\r\n /**\r\n * \r\n * @param user\r\n * @return\r\n * returns java.util.List<api.Producte>\r\n */\r\n @WebMethod\r\n @WebResult(name = \"obtenirProductesReturn\", targetNamespace = \"http://api\")\r\n @RequestWrapper(localName = \"obtenirProductes\", targetNamespace = \"http://api\", className = \"api.ObtenirProductes\")\r\n @ResponseWrapper(localName = \"obtenirProductesResponse\", targetNamespace = \"http://api\", className = \"api.ObtenirProductesResponse\")\r\n public List<Producte> obtenirProductes(\r\n @WebParam(name = \"user\", targetNamespace = \"http://api\")\r\n String user);\r\n\r\n /**\r\n * \r\n * @param product\r\n * @param user\r\n * @return\r\n * returns api.Producte\r\n */\r\n @WebMethod\r\n @WebResult(name = \"obtenirProducteReturn\", targetNamespace = \"http://api\")\r\n @RequestWrapper(localName = \"obtenirProducte\", targetNamespace = \"http://api\", className = \"api.ObtenirProducte\")\r\n @ResponseWrapper(localName = \"obtenirProducteResponse\", targetNamespace = \"http://api\", className = \"api.ObtenirProducteResponse\")\r\n public Producte obtenirProducte(\r\n @WebParam(name = \"user\", targetNamespace = \"http://api\")\r\n String user,\r\n @WebParam(name = \"product\", targetNamespace = \"http://api\")\r\n String product);\r\n\r\n /**\r\n * \r\n * @param inici\r\n * @param fi\r\n * @param user\r\n * @return\r\n * returns java.util.List<api.Producte>\r\n */\r\n @WebMethod\r\n @WebResult(name = \"otenirProductesperDataReturn\", targetNamespace = \"http://api\")\r\n @RequestWrapper(localName = \"otenirProductesperData\", targetNamespace = \"http://api\", className = \"api.OtenirProductesperData\")\r\n @ResponseWrapper(localName = \"otenirProductesperDataResponse\", targetNamespace = \"http://api\", className = \"api.OtenirProductesperDataResponse\")\r\n public List<Producte> otenirProductesperData(\r\n @WebParam(name = \"user\", targetNamespace = \"http://api\")\r\n String user,\r\n @WebParam(name = \"inici\", targetNamespace = \"http://api\")\r\n String inici,\r\n @WebParam(name = \"fi\", targetNamespace = \"http://api\")\r\n String fi);\r\n\r\n}", "title": "" }, { "docid": "2102d9a977579c8e17c04e09b2655eaa", "score": "0.59163797", "text": "@WebService\npublic interface VoucherInfoService {\n\n @WebMethod\n List<VoucherInfoDTO> findAll();\n\n @WebMethod\n BaseMessage insertListVoucherInfo(@WebParam(name = \"voucherInfoDTOs\") List<VoucherInfoDTO> voucherInfoDTOs);\n\n @WebMethod\n VoucherInfoDTO findBySerial(@WebParam(name = \"serial\") String serial);\n\n @WebMethod\n BaseMessage deleteVoucherInfo(Long id);\n}", "title": "" }, { "docid": "998b2731daeacccb1dc99b828705300e", "score": "0.591247", "text": "public Webservice() {\n }", "title": "" }, { "docid": "9416fdb8ef3930354ecead307eab855b", "score": "0.59086055", "text": "@WebService(targetNamespace = \"http://www.example.org/TransferGoodsInfoToEhaierSAP/\", name = \"TransferGoodsInfoToEhaierSAP\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface TransferGoodsInfoToEhaierSAP {\n\n @WebMethod(operationName = \"TransferGoodsInfoToEhaierSAP\", action = \"http://www.example.org/TransferGoodsInfoToEhaierSAP/TransferGoodsInfoToEhaierSAP\")\n @RequestWrapper(localName = \"TransferGoodsInfoToEhaierSAP\", targetNamespace = \"http://www.example.org/TransferGoodsInfoToEhaierSAP/\", className = \"com.haier.purchase.data.eai.finance.transfer.TransferGoodsInfoToEhaierSAP_Type\")\n @ResponseWrapper(localName = \"TransferGoodsInfoToEhaierSAPResponse\", targetNamespace = \"http://www.example.org/TransferGoodsInfoToEhaierSAP/\", className = \"com.haier.purchase.data.eai.finance.transfer.TransferGoodsInfoToEhaierSAPResponse\")\n public void transferGoodsInfoToEhaierSAP(\n @WebParam(name = \"T_ZMMS0010\", targetNamespace = \"\")\n java.util.List<com.haier.purchase.data.eai.finance.transfer.ZMMS0010> tZMMS0010,\n @WebParam(mode = WebParam.Mode.OUT, name = \"EX_SUBRC\", targetNamespace = \"\")\n javax.xml.ws.Holder<java.lang.Integer> exSUBRC,\n @WebParam(mode = WebParam.Mode.OUT, name = \"T_MSG\", targetNamespace = \"\")\n javax.xml.ws.Holder<java.util.List<com.haier.purchase.data.eai.finance.transfer.ZSDS0002>> tMSG\n );\n}", "title": "" }, { "docid": "23dc4163b02ef898d5d13e4d9dd3738a", "score": "0.59079367", "text": "@WebService(name = \"iHello\", targetNamespace = \"http://webservice.poe.atos.com/\")\r\n@SOAPBinding(style = SOAPBinding.Style.RPC)\r\npublic interface IHello {\r\n\r\n\r\n /**\r\n * \r\n * @param nom\r\n * @return\r\n * returns java.lang.String\r\n */\r\n @WebMethod\r\n @WebResult(partName = \"return\")\r\n @Action(input = \"http://webservice.poe.atos.com/iHello/sayRequest\", output = \"http://webservice.poe.atos.com/iHello/sayResponse\")\r\n public String say(\r\n @WebParam(name = \"nom\", partName = \"nom\")\r\n String nom);\r\n\r\n}", "title": "" }, { "docid": "cef4968140f271474e020ad8f4104491", "score": "0.59061706", "text": "public Client getClient();", "title": "" }, { "docid": "61db507abb6594d38ef1ba3ba15ed8f1", "score": "0.59023404", "text": "@WebService(wsdlLocation=\"https://my-oraclesalescloud.com/foundationParties/PersonService?WSDL\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/\",\n name=\"PersonService\")\n@XmlSeeAlso(\n { com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ObjectFactory.class })\npublic interface PersonService\n{\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonResponse\")\n @ResponseWrapper(localName=\"getPersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonResponse\")\n @RequestWrapper(localName=\"getPerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person getPerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"partyId\")\n long partyId)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/createPerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/createPerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/createPerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/createPersonResponse\")\n @ResponseWrapper(localName=\"createPersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.CreatePersonResponse\")\n @RequestWrapper(localName=\"createPerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.CreatePerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult createPerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/updatePerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/updatePersonResponse\")\n @ResponseWrapper(localName=\"updatePersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.UpdatePersonResponse\")\n @RequestWrapper(localName=\"updatePerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.UpdatePerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult updatePerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/mergePerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/mergePersonResponse\")\n @ResponseWrapper(localName=\"mergePersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.MergePersonResponse\")\n @RequestWrapper(localName=\"mergePerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.MergePerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult mergePerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonByOriginalSystemReference\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonByOriginalSystemReference\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonByOriginalSystemReference/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonByOriginalSystemReferenceResponse\")\n @ResponseWrapper(localName=\"getPersonByOriginalSystemReferenceResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonByOriginalSystemReferenceResponse\")\n @RequestWrapper(localName=\"getPersonByOriginalSystemReference\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonByOriginalSystemReference\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult getPersonByOriginalSystemReference(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindOrigSystem\")\n String bindOrigSystem, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindOrigSystemReference\")\n String bindOrigSystemReference, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageCode\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageCode\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonsFilteredByPartyUsageCode/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonsFilteredByPartyUsageCodeResponse\")\n @ResponseWrapper(localName=\"getPersonsFilteredByPartyUsageCodeResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonsFilteredByPartyUsageCodeResponse\")\n @RequestWrapper(localName=\"getPersonsFilteredByPartyUsageCode\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonsFilteredByPartyUsageCode\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult getPersonsFilteredByPartyUsageCode(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindPartyUsageCode\")\n String bindPartyUsageCode, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindEffectiveDate\")\n XMLGregorianCalendar bindEffectiveDate, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageFilterRuleCode\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageFilterRuleCode\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonsFilteredByPartyUsageFilterRuleCode/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonsFilteredByPartyUsageFilterRuleCodeResponse\")\n @ResponseWrapper(localName=\"getPersonsFilteredByPartyUsageFilterRuleCodeResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonsFilteredByPartyUsageFilterRuleCodeResponse\")\n @RequestWrapper(localName=\"getPersonsFilteredByPartyUsageFilterRuleCode\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonsFilteredByPartyUsageFilterRuleCode\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult getPersonsFilteredByPartyUsageFilterRuleCode(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindPartyUsageFrCode\")\n String bindPartyUsageFrCode, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindEffectiveDate\")\n XMLGregorianCalendar bindEffectiveDate, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/deletePerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/deletePerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/deletePerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/deletePersonResponse\")\n @ResponseWrapper(localName=\"deletePersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.DeletePersonResponse\")\n @RequestWrapper(localName=\"deletePerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.DeletePerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.MethodResult deletePerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processCSPerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processCSPerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/processCSPerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/processCSPersonResponse\")\n @ResponseWrapper(localName=\"processCSPersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.ProcessCSPersonResponse\")\n @RequestWrapper(localName=\"processCSPerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.ProcessCSPerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ProcessData processCSPerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"processData\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ProcessData processData,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"processControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ProcessControl processControl)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonByOriginalSystemReferenceAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonByOriginalSystemReferenceAsync\")\n @RequestWrapper(localName=\"getPersonByOriginalSystemReferenceAsync\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonByOriginalSystemReferenceAsync\")\n @Oneway\n public void getPersonByOriginalSystemReferenceAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindOrigSystem\")\n String bindOrigSystem, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindOrigSystemReference\")\n String bindOrigSystemReference, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePersonAsync\")\n @RequestWrapper(localName=\"mergePersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.MergePersonAsync\")\n @Oneway\n public void mergePersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/deletePersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/deletePersonAsync\")\n @RequestWrapper(localName=\"deletePersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.DeletePersonAsync\")\n @Oneway\n public void deletePersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processCSPersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processCSPersonAsync\")\n @RequestWrapper(localName=\"processCSPersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.ProcessCSPersonAsync\")\n @Oneway\n public void processCSPersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"processData\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ProcessData processData,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"processControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ProcessControl processControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageCodeAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageCodeAsync\")\n @RequestWrapper(localName=\"getPersonsFilteredByPartyUsageCodeAsync\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonsFilteredByPartyUsageCodeAsync\")\n @Oneway\n public void getPersonsFilteredByPartyUsageCodeAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindPartyUsageCode\")\n String bindPartyUsageCode, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindEffectiveDate\")\n XMLGregorianCalendar bindEffectiveDate, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/createPersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/createPersonAsync\")\n @RequestWrapper(localName=\"createPersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.CreatePersonAsync\")\n @Oneway\n public void createPersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePersonAsync\")\n @RequestWrapper(localName=\"updatePersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.UpdatePersonAsync\")\n @Oneway\n public void updatePersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person personParty);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonAsync\")\n @RequestWrapper(localName=\"getPersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonAsync\")\n @Oneway\n public void getPersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"partyId\")\n long partyId);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageFilterRuleCodeAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonsFilteredByPartyUsageFilterRuleCodeAsync\")\n @RequestWrapper(localName=\"getPersonsFilteredByPartyUsageFilterRuleCodeAsync\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonsFilteredByPartyUsageFilterRuleCodeAsync\")\n @Oneway\n public void getPersonsFilteredByPartyUsageFilterRuleCodeAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindPartyUsageFrCode\")\n String bindPartyUsageFrCode, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"bindEffectiveDate\")\n XMLGregorianCalendar bindEffectiveDate, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/findPerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/findPersonResponse\")\n @ResponseWrapper(localName=\"findPersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.FindPersonResponse\")\n @RequestWrapper(localName=\"findPerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.FindPerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult findPerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processPerson\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processPerson\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/processPerson/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/processPersonResponse\")\n @ResponseWrapper(localName=\"processPersonResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.ProcessPersonResponse\")\n @RequestWrapper(localName=\"processPerson\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.ProcessPerson\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonResult processPerson(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"changeOperation\")\n String changeOperation, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n List<com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person> personParty,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"processControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ProcessControl processControl)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processPersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/processPersonAsync\")\n @RequestWrapper(localName=\"processPersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.ProcessPersonAsync\")\n @Oneway\n public void processPersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"changeOperation\")\n String changeOperation, @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personParty\")\n List<com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.Person> personParty,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"processControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.ProcessControl processControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPersonAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPersonAsync\")\n @RequestWrapper(localName=\"findPersonAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.FindPersonAsync\")\n @Oneway\n public void findPersonAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonProfile\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonProfile\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonProfile/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/getPersonProfileResponse\")\n @ResponseWrapper(localName=\"getPersonProfileResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonProfileResponse\")\n @RequestWrapper(localName=\"getPersonProfile\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonProfile\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile getPersonProfile(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"PartyId\")\n long partyId)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonProfileAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/getPersonProfileAsync\")\n @RequestWrapper(localName=\"getPersonProfileAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.GetPersonProfileAsync\")\n @Oneway\n public void getPersonProfileAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"PartyId\")\n long partyId);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePersonProfile\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePersonProfile\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/updatePersonProfile/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/updatePersonProfileResponse\")\n @ResponseWrapper(localName=\"updatePersonProfileResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.UpdatePersonProfileResponse\")\n @RequestWrapper(localName=\"updatePersonProfile\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.UpdatePersonProfile\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile updatePersonProfile(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personDVO\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile personDVO)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePersonProfile\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePersonProfile\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/mergePersonProfile/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/mergePersonProfileResponse\")\n @ResponseWrapper(localName=\"mergePersonProfileResponse\",\n targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.MergePersonProfileResponse\")\n @RequestWrapper(localName=\"mergePersonProfile\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.MergePersonProfile\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile mergePersonProfile(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personDVO\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile personDVO)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePersonProfileAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/updatePersonProfileAsync\")\n @RequestWrapper(localName=\"updatePersonProfileAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.UpdatePersonProfileAsync\")\n @Oneway\n public void updatePersonProfileAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personDVO\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile personDVO);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePersonProfileAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/mergePersonProfileAsync\")\n @RequestWrapper(localName=\"mergePersonProfileAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.MergePersonProfileAsync\")\n @Oneway\n public void mergePersonProfileAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"personDVO\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile personDVO);\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPersonProfile\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPersonProfile\", fault =\n { @FaultAction(value=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/findPersonProfile/Fault/ServiceException\",\n className=com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException.class) },\n output=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/PersonService/findPersonProfileResponse\")\n @ResponseWrapper(localName=\"findPersonProfileResponse\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.FindPersonProfileResponse\")\n @RequestWrapper(localName=\"findPersonProfile\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.FindPersonProfile\")\n @WebResult(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"result\")\n public List<com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.PersonProfile> findPersonProfile(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl)\n throws com.oracle.ptsdemo.healthcare.wsclient.osc.person.ServiceException;\n\n @WebMethod(action=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPersonProfileAsync\")\n @Action(input=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/findPersonProfileAsync\")\n @RequestWrapper(localName=\"findPersonProfileAsync\", targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n className=\"com.oracle.pts.person.wsclient.generated.FindPersonProfileAsync\")\n @Oneway\n public void findPersonProfileAsync(@WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findCriteria\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindCriteria findCriteria,\n @WebParam(targetNamespace=\"http://xmlns.oracle.com/apps/cdm/foundation/parties/personService/applicationModule/types/\",\n name=\"findControl\")\n com.oracle.ptsdemo.healthcare.wsclient.osc.person.generated.FindControl findControl);\n}", "title": "" }, { "docid": "7c00ddaf0abc432ee7e332ce0bb85cf2", "score": "0.590068", "text": "@WebService\n@SOAPBinding(style=Style.DOCUMENT,use=Use.LITERAL)\npublic interface ShortestPathSOAPService {\n\n\t@WebMethod\n\tShortestPath getShortestPath(String source, String target);\n}", "title": "" }, { "docid": "c15a754c4021ed861e7c21b612e31a5d", "score": "0.58935565", "text": "@WebService(name = \"IntegrationServiceSoap\", targetNamespace = \"http://tempuri.org/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface IntegrationServiceSoap {\n\n\n /**\n * ForeTees Interface\n * \n * @param otherProduct1Qty\n * @param acct\n * @param otherProductCode1\n * @param caddieFeeCode\n * @param greenFeeCode\n * @param otherProduct2Qty\n * @param cartFeeCode\n * @param greenFeeQty\n * @param otherProduct2\n * @param cartFeeQty\n * @param caddieFeeQty\n * @return\n * returns org.tempuri.OnlineSaleResult\n */\n @WebMethod(operationName = \"AddSaleOnline\", action = \"http://tempuri.org/AddSaleOnline\")\n @WebResult(name = \"AddSaleOnlineResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"AddSaleOnline\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnline\")\n @ResponseWrapper(localName = \"AddSaleOnlineResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnlineResponse\")\n public OnlineSaleResult addSaleOnline(\n @WebParam(name = \"acct\", targetNamespace = \"http://tempuri.org/\")\n String acct,\n @WebParam(name = \"greenFeeCode\", targetNamespace = \"http://tempuri.org/\")\n String greenFeeCode,\n @WebParam(name = \"greenFeeQty\", targetNamespace = \"http://tempuri.org/\")\n int greenFeeQty,\n @WebParam(name = \"cartFeeCode\", targetNamespace = \"http://tempuri.org/\")\n String cartFeeCode,\n @WebParam(name = \"cartFeeQty\", targetNamespace = \"http://tempuri.org/\")\n int cartFeeQty,\n @WebParam(name = \"caddieFeeCode\", targetNamespace = \"http://tempuri.org/\")\n String caddieFeeCode,\n @WebParam(name = \"caddieFeeQty\", targetNamespace = \"http://tempuri.org/\")\n int caddieFeeQty,\n @WebParam(name = \"otherProductCode1\", targetNamespace = \"http://tempuri.org/\")\n String otherProductCode1,\n @WebParam(name = \"otherProduct1Qty\", targetNamespace = \"http://tempuri.org/\")\n int otherProduct1Qty,\n @WebParam(name = \"otherProduct2\", targetNamespace = \"http://tempuri.org/\")\n String otherProduct2,\n @WebParam(name = \"otherProduct2Qty\", targetNamespace = \"http://tempuri.org/\")\n int otherProduct2Qty);\n\n /**\n * ForeTees Interface\n * \n * @param acct\n * @param productFeeCodes\n * @param productQty\n * @return\n * returns org.tempuri.OnlineSaleResult\n */\n @WebMethod(operationName = \"AddSaleOnlineV2\", action = \"http://tempuri.org/AddSaleOnlineV2\")\n @WebResult(name = \"AddSaleOnlineV2Result\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"AddSaleOnlineV2\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnlineV2\")\n @ResponseWrapper(localName = \"AddSaleOnlineV2Response\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnlineV2Response\")\n public OnlineSaleResult addSaleOnlineV2(\n @WebParam(name = \"acct\", targetNamespace = \"http://tempuri.org/\")\n String acct,\n @WebParam(name = \"productFeeCodes\", targetNamespace = \"http://tempuri.org/\")\n ArrayOfString productFeeCodes,\n @WebParam(name = \"productQty\", targetNamespace = \"http://tempuri.org/\")\n ArrayOfInt productQty);\n\n /**\n * ForeTees Interface\n * \n * @param acct\n * @param productFeeCodes\n * @param productQty\n * @param transactionNotes\n * @return\n * returns org.tempuri.OnlineSaleResult\n */\n @WebMethod(operationName = \"AddSaleOnlineV2WithNotes\", action = \"http://tempuri.org/AddSaleOnlineV2WithNotes\")\n @WebResult(name = \"AddSaleOnlineV2WithNotesResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"AddSaleOnlineV2WithNotes\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnlineV2WithNotes\")\n @ResponseWrapper(localName = \"AddSaleOnlineV2WithNotesResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnlineV2WithNotesResponse\")\n public OnlineSaleResult addSaleOnlineV2WithNotes(\n @WebParam(name = \"acct\", targetNamespace = \"http://tempuri.org/\")\n String acct,\n @WebParam(name = \"productFeeCodes\", targetNamespace = \"http://tempuri.org/\")\n ArrayOfString productFeeCodes,\n @WebParam(name = \"productQty\", targetNamespace = \"http://tempuri.org/\")\n ArrayOfInt productQty,\n @WebParam(name = \"transactionNotes\", targetNamespace = \"http://tempuri.org/\")\n String transactionNotes);\n\n /**\n * ForeTees Interface\n * \n * @param pRequests\n * @return\n * returns org.tempuri.ArrayOfOnlineSaleResult\n */\n @WebMethod(operationName = \"AddSaleOnlineMultiple\", action = \"http://tempuri.org/AddSaleOnlineMultiple\")\n @WebResult(name = \"AddSaleOnlineMultipleResult\", targetNamespace = \"http://tempuri.org/\")\n @RequestWrapper(localName = \"AddSaleOnlineMultiple\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnlineMultiple\")\n @ResponseWrapper(localName = \"AddSaleOnlineMultipleResponse\", targetNamespace = \"http://tempuri.org/\", className = \"org.tempuri.AddSaleOnlineMultipleResponse\")\n public ArrayOfOnlineSaleResult addSaleOnlineMultiple(\n @WebParam(name = \"pRequests\", targetNamespace = \"http://tempuri.org/\")\n ArrayOfOnlineSaleRequest pRequests);\n\n}", "title": "" }, { "docid": "aa95e4d82eacd52102a7b8c1eedacfc3", "score": "0.5888631", "text": "@WebService(name = \"ICService\", targetNamespace = \"http://ws.service.zhengtong.com/\")\r\n@XmlSeeAlso({\r\n ObjectFactory.class\r\n})\r\npublic interface ICService {\r\n\r\n\r\n /**\r\n * \r\n * @param message\r\n * @return\r\n * returns com.zhengtong.service.ws.IcResp\r\n */\r\n @WebMethod\r\n @WebResult(name = \"message\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"idCert\", targetNamespace = \"http://ws.service.zhengtong.com/\", className = \"com.zhengtong.service.ws.IdCert\")\r\n @ResponseWrapper(localName = \"idCertResponse\", targetNamespace = \"http://ws.service.zhengtong.com/\", className = \"com.zhengtong.service.ws.IdCertResponse\")\r\n public IcResp idCert(\r\n @WebParam(name = \"message\", targetNamespace = \"\")\r\n Ic message);\r\n\r\n /**\r\n * \r\n * @param message\r\n * @return\r\n * returns com.zhengtong.service.ws.OcBizQResp\r\n */\r\n @WebMethod\r\n @WebResult(name = \"message\", targetNamespace = \"\")\r\n @RequestWrapper(localName = \"orgCertBizQuery\", targetNamespace = \"http://ws.service.zhengtong.com/\", className = \"com.zhengtong.service.ws.OrgCertBizQuery\")\r\n @ResponseWrapper(localName = \"orgCertBizQueryResponse\", targetNamespace = \"http://ws.service.zhengtong.com/\", className = \"com.zhengtong.service.ws.OrgCertBizQueryResponse\")\r\n public OcBizQResp orgCertBizQuery(\r\n @WebParam(name = \"message\", targetNamespace = \"\")\r\n OcBizQ message);\r\n\r\n}", "title": "" }, { "docid": "dcae16e74485480d7510c0d533ddb3bd", "score": "0.5888564", "text": "public interface TableImportWebServiceClient {\n}", "title": "" }, { "docid": "9cf29c7db2aa7fbca156021abc6b5e7d", "score": "0.5874784", "text": "@WebService(name = \"IntelligentNetworkService\", targetNamespace = \"http://service.soap.in.econetwireless.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface IntelligentNetworkService {\n\n\n /**\n * \n * @param partnerCode\n * @param msisdn\n * @return\n * returns com.econetwireless.in.webservice.BalanceResponse\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"enquireBalance\", targetNamespace = \"http://service.soap.in.econetwireless.com/\", className = \"com.econetwireless.in.webservice.EnquireBalance\")\n @ResponseWrapper(localName = \"enquireBalanceResponse\", targetNamespace = \"http://service.soap.in.econetwireless.com/\", className = \"com.econetwireless.in.webservice.EnquireBalanceResponse\")\n @Action(input = \"http://service.soap.in.econetwireless.com/IntelligentNetworkService/enquireBalanceRequest\", output = \"http://service.soap.in.econetwireless.com/IntelligentNetworkService/enquireBalanceResponse\")\n public BalanceResponse enquireBalance(\n @WebParam(name = \"partnerCode\", targetNamespace = \"\")\n String partnerCode,\n @WebParam(name = \"msisdn\", targetNamespace = \"\")\n String msisdn);\n\n /**\n * \n * @param creditRequest\n * @return\n * returns com.econetwireless.in.webservice.CreditResponse\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"creditSubscriberAccount\", targetNamespace = \"http://service.soap.in.econetwireless.com/\", className = \"com.econetwireless.in.webservice.CreditSubscriberAccount\")\n @ResponseWrapper(localName = \"creditSubscriberAccountResponse\", targetNamespace = \"http://service.soap.in.econetwireless.com/\", className = \"com.econetwireless.in.webservice.CreditSubscriberAccountResponse\")\n @Action(input = \"http://service.soap.in.econetwireless.com/IntelligentNetworkService/creditSubscriberAccountRequest\", output = \"http://service.soap.in.econetwireless.com/IntelligentNetworkService/creditSubscriberAccountResponse\")\n public CreditResponse creditSubscriberAccount(\n @WebParam(name = \"creditRequest\", targetNamespace = \"\")\n CreditRequest creditRequest);\n\n}", "title": "" }, { "docid": "7aa3ca11804c751093a495d1fe8c5da0", "score": "0.5872681", "text": "@WebService(name = \"HeroisService\", targetNamespace = \"http://valhala.com/herois/services/HeroisService/v1\")\n@XmlSeeAlso({\n com.valhala.heroi.domain.v1.ObjectFactory.class,\n com.valhala.herois.services.heroisservice.v1.ObjectFactory.class\n})\npublic interface HeroisService {\n\n\n /**\n * \n * @return\n * returns java.util.List<com.valhala.heroi.domain.v1.Heroi>\n */\n @WebMethod(action = \"HeroisService/ListarHerois\")\n @WebResult(name = \"heroi\", targetNamespace = \"\")\n @RequestWrapper(localName = \"listarHerois\", targetNamespace = \"http://valhala.com/herois/services/HeroisService/v1\", className = \"com.valhala.herois.services.heroisservice.v1.ListarHerois\")\n @ResponseWrapper(localName = \"listarHeroisResponse\", targetNamespace = \"http://valhala.com/herois/services/HeroisService/v1\", className = \"com.valhala.herois.services.heroisservice.v1.ListarHeroisResponse\")\n public List<Heroi> listarHerois();\n\n /**\n * \n * @param heroi\n */\n @WebMethod(action = \"HeroisService/IncluirHeroi\")\n @Oneway\n @RequestWrapper(localName = \"incluirHeroi\", targetNamespace = \"http://valhala.com/herois/services/HeroisService/v1\", className = \"com.valhala.herois.services.heroisservice.v1.IncluirHeroi\")\n public void incluirHeroi(\n @WebParam(name = \"heroi\", targetNamespace = \"\")\n Heroi heroi);\n\n /**\n * \n * @param heroi\n */\n @WebMethod(action = \"HeroisService/EditarHeroi\")\n @Oneway\n @RequestWrapper(localName = \"editarHeroi\", targetNamespace = \"http://valhala.com/herois/services/HeroisService/v1\", className = \"com.valhala.herois.services.heroisservice.v1.EditarHeroi\")\n public void editarHeroi(\n @WebParam(name = \"heroi\", targetNamespace = \"\")\n Heroi heroi);\n\n /**\n * \n * @param codigo\n */\n @WebMethod(action = \"HeroisService/DeletarHeroi\")\n @Oneway\n @RequestWrapper(localName = \"deletarHeroi\", targetNamespace = \"http://valhala.com/herois/services/HeroisService/v1\", className = \"com.valhala.herois.services.heroisservice.v1.DeletarHeroi\")\n public void deletarHeroi(\n @WebParam(name = \"codigo\", targetNamespace = \"\")\n long codigo);\n\n}", "title": "" }, { "docid": "fba04bbc6011a5280dea174fc0abf438", "score": "0.5867349", "text": "@WebService(name = \"A4_DContinuas\", targetNamespace = \"http://Continuas_DA4/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface A4DContinuas {\n\n\n /**\n * \n * @param tipoAleatorios\n * @param repeticiones\n * @return\n * returns double\n */\n @WebMethod\n @WebResult(targetNamespace = \"\")\n @RequestWrapper(localName = \"peticionContinuasDA4\", targetNamespace = \"http://Continuas_DA4/\", className = \"continuas_da4.PeticionContinuasDA4\")\n @ResponseWrapper(localName = \"peticionContinuasDA4Response\", targetNamespace = \"http://Continuas_DA4/\", className = \"continuas_da4.PeticionContinuasDA4Response\")\n @Action(input = \"http://Continuas_DA4/A4_DContinuas/peticionContinuasDA4Request\", output = \"http://Continuas_DA4/A4_DContinuas/peticionContinuasDA4Response\")\n public double peticionContinuasDA4(\n @WebParam(name = \"repeticiones\", targetNamespace = \"\")\n int repeticiones,\n @WebParam(name = \"tipoAleatorios\", targetNamespace = \"\")\n int tipoAleatorios);\n\n}", "title": "" }, { "docid": "b39aca15f380a3c71db8c37a0fcc4bb3", "score": "0.58658224", "text": "@WebService(targetNamespace = \"http://service.aiyingshi.com/\", name = \"AppPrizeServiceHttpPost\")\r\n@XmlSeeAlso({ObjectFactory.class})\r\n@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)\r\npublic interface AppPrizeServiceHttpPost {\r\n\r\n /**\r\n * 用户积分兑换抽奖资格\r\n */\r\n @WebResult(name = \"string\", targetNamespace = \"http://service.aiyingshi.com/\", partName = \"Body\")\r\n @WebMethod(operationName = \"PointExchangePrizeQualify\")\r\n public java.lang.String pointExchangePrizeQualify(\r\n @WebParam(partName = \"customerSysNo\", name = \"customerSysNo\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String customerSysNo,\r\n @WebParam(partName = \"userPwd\", name = \"userPwd\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String userPwd,\r\n @WebParam(partName = \"encryptData\", name = \"encryptData\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String encryptData,\r\n @WebParam(partName = \"sign\", name = \"sign\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String sign\r\n );\r\n\r\n /**\r\n * 赠送用户奖品\r\n */\r\n @WebResult(name = \"string\", targetNamespace = \"http://service.aiyingshi.com/\", partName = \"Body\")\r\n @WebMethod(operationName = \"SendUserPrize\")\r\n public java.lang.String sendUserPrize(\r\n @WebParam(partName = \"customerSysNo\", name = \"customerSysNo\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String customerSysNo,\r\n @WebParam(partName = \"userPwd\", name = \"userPwd\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String userPwd,\r\n @WebParam(partName = \"encryptData\", name = \"encryptData\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String encryptData,\r\n @WebParam(partName = \"sign\", name = \"sign\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String sign\r\n );\r\n\r\n /**\r\n * 获取用户获奖的分页信息\r\n */\r\n @WebResult(name = \"string\", targetNamespace = \"http://service.aiyingshi.com/\", partName = \"Body\")\r\n @WebMethod(operationName = \"GetUserPrizeList\")\r\n public java.lang.String getUserPrizeList(\r\n @WebParam(partName = \"customerSysNo\", name = \"customerSysNo\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String customerSysNo,\r\n @WebParam(partName = \"pageSize\", name = \"pageSize\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String pageSize,\r\n @WebParam(partName = \"currentPageNo\", name = \"currentPageNo\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String currentPageNo,\r\n @WebParam(partName = \"sign\", name = \"sign\", targetNamespace = \"http://service.aiyingshi.com/\")\r\n java.lang.String sign\r\n );\r\n}", "title": "" }, { "docid": "40441995ffbf1ef46ac13e175d55940c", "score": "0.5858236", "text": "@WebService(targetNamespace = \"http://webservice.ssh.ushine.com/\", name = \"IWebServiceUpload\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface IWebServiceUpload {\n\n @WebResult(name = \"result\", targetNamespace = \"\")\n @RequestWrapper(localName = \"sumitVocationalWorkSystemVersion\", targetNamespace = \"http://webservice.ssh.ushine.com/\", className = \"com.ushine.ssh.webcline.SumitVocationalWorkSystemVersion\")\n @WebMethod\n @ResponseWrapper(localName = \"sumitVocationalWorkSystemVersionResponse\", targetNamespace = \"http://webservice.ssh.ushine.com/\", className = \"com.ushine.ssh.webcline.SumitVocationalWorkSystemVersionResponse\")\n public boolean sumitVocationalWorkSystemVersion(\n @WebParam(name = \"han\", targetNamespace = \"\")\n com.ushine.ssh.webcline.VocationalWorkSystemVersionHan han\n ) throws Exception_Exception;\n}", "title": "" }, { "docid": "7627bfd68579d9837ad6af441114a8b3", "score": "0.58423066", "text": "@WebMethod(operationName = \"obtenerCliente\") \r\n public List<Cliente> obtenerCliente() \r\n {\r\n try{ \r\n ClienteDao dao = new OracleCliente(); \r\n Cliente = dao.obtenerCliente(); \r\n }\r\n catch(Exception ex)\r\n {}\r\n return Cliente;\r\n }", "title": "" }, { "docid": "778c18db2e01567df231a8438eb7bb1e", "score": "0.58411676", "text": "@WebService\npublic interface SubscriptionService {\n\n\t/**\n\t * Subscribe to a notification provider.\n\t * \n\t * @param subscription : subscriber, provider and topic are required.\n\t * @return\n\t * @throws GovernanceExeption\n\t */\n\t@WebMethod\n\tSubscription subscribe(Subscription subscription) throws GovernanceExeption;\n\n\t/**\n\t * Unsubscribe from a notification provider.\n\t * \n\t * @param subscription: The ID is required.\n\t * @param subscriptionManagement : where to send the unsubscribe\n\t * @return\n\t * @throws GovernanceExeption\n\t */\n\t@WebMethod\n\tboolean unsubscribe(Subscription subscription, String subscriptionManagementEndpoint) throws GovernanceExeption;\n}", "title": "" }, { "docid": "4e92b83f853dfb7328496ef6f9a64626", "score": "0.58381623", "text": "private CRUDClient() {\n\t\tconfig = new DefaultClientConfig();\n\t\tclient = Client.create(config);\n\t\tservice = client.resource(getBaseURI());\n\t}", "title": "" }, { "docid": "0c070126e7908f36962f4f447068b6df", "score": "0.5827706", "text": "@WebService(name = \"HistoriaClinica\", targetNamespace = \"http://ws.udea.com/\")\n@XmlSeeAlso({\n ObjectFactory.class\n})\npublic interface HistoriaClinica {\n\n\n /**\n * \n * @param fecha\n * @param cedula\n * @param nombreMedico\n * @param nombrePaciente\n */\n @WebMethod\n @Oneway\n @RequestWrapper(localName = \"registrar\", targetNamespace = \"http://ws.udea.com/\", className = \"com.udea.ws.Registrar\")\n @Action(input = \"http://ws.udea.com/HistoriaClinica/registrar\")\n public void registrar(\n @WebParam(name = \"cedula\", targetNamespace = \"\")\n int cedula,\n @WebParam(name = \"nombre_paciente\", targetNamespace = \"\")\n String nombrePaciente,\n @WebParam(name = \"nombre_medico\", targetNamespace = \"\")\n String nombreMedico,\n @WebParam(name = \"fecha\", targetNamespace = \"\")\n XMLGregorianCalendar fecha);\n\n}", "title": "" } ]
2ad6d907ad363d9482e8a441cc7629ee
displays the array before sorting
[ { "docid": "e04a9864a98a96bb1da66c6b8a5ffee1", "score": "0.74187016", "text": "static void displayUnsortedArray(int[] data) {\n\t\tSystem.out.println(\"\\nArray BEFORE sorting: \");\n\t\tfor (int i=0; i < data.length; i++) {\n\t\t\tSystem.out.print(data[i] + \", \");\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "9533e38d8fecb8f76c1dfa06db836737", "score": "0.78883374", "text": "@Override\n void sort(int[] arr, SortingVisualizer display) {\n\t\tfor (int k = 0; k < arr.length - 1; k++) {\n\n\t\t\tif (arr[k] > arr[k + 1]) {\n\n\t\t\t\n\t\t\t}\n\t\t\n\t}\n\t\n }", "title": "" }, { "docid": "2c5188b5859c2e3f9e314857fc42f483", "score": "0.75806016", "text": "static void displaySortedArray(int[] data) {\n\t\tSystem.out.println(\"\\n\\nArray AFTER Bubble Sort: \");\n\t\tfor (int i=0; i < data.length; i++) {\n\t\t\tSystem.out.print(data[i] + \", \");\n\t\t}\n\t}", "title": "" }, { "docid": "926f8330a940b3adae9104c0511cafff", "score": "0.7524269", "text": "@Override\n\tvoid sort(int[] array, SortingVisualizer display) {\n\t\tboolean ordered = true;\n\t\twhile(ordered) {\n\t\t\tint i = array.length;\n\t\t\tif(array[i-1] > array[i]) {\n\t\t\t\tordered = false;\n\t\t\t}\n\t\t\tif(i < array.length) {\n\t\t\t\tSystem.out.println(\"Its sorted.\");\n\t\t\t}\n\t\t\ti--;\n\t\t}\n\t\tarray = swap(array);\n\t\tordered = true;\n\t\tdisplay.updateDisplay();\n\t\t\n\n\t}", "title": "" }, { "docid": "39bd7ee42cd95f40f3e9822c7a55eb3b", "score": "0.73217297", "text": "public static void main(String[] args) {\n\t\tint array[] = {11,2,32,435,224,5};\r\n\t //sorted.setText(\"\");\r\n\t for (int i = 1; i < array.length; i++)\r\n\t {\r\n\t for(int j = i; j>0;j--)\r\n\t {\r\n\t if(array[j]<array[j-1])\r\n\t {\r\n\t int temp = array[j];\r\n\t array[j] = array[j-1];\r\n\t array[j-1] = temp;\r\n\t \r\n\t }\r\n\t }\r\n\t }\r\n\t for (int i = 1; i < array.length; i++)\r\n\t {\r\n\t System.out.println(array[i]);}\r\n\t}", "title": "" }, { "docid": "73a8947f2caa7f4f1bce44fb9a2c5f41", "score": "0.70020366", "text": "private static void display(int [] sorted, int comparisons)\n\t{\n\t\tSystem.out.print(\"\\t\");\n\t\tfor (int i = 0; i < sorted.length; i++)\n\t\t{\n\t\t\tSystem.out.print(sorted[i] + \" \");\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t\t\n\t\tSystem.out.println(\"\\tNumber of comparisons: \" \n\t\t\t\t\t\t\t+ comparisons);\t\t\t\t\t\n\t}", "title": "" }, { "docid": "9ef9426e62aa55e1583d7507730a648a", "score": "0.6905362", "text": "private static void sortAndPrint(int[][] indexWithFrequency) {\n\r\n\t}", "title": "" }, { "docid": "f678615f7ede8a650d6031cefecd1ac9", "score": "0.68523204", "text": "public static void display(Comparable[] array) {\n\t\tint size = array.length;\n\t\tfor (int x = 0; x < size; x++) {\n\t\t\t//add spacing after each element\n\t\t\tStdOut.print(array[x] + \" \");\n\t\t}\n\t\tStdOut.println();\n\t}", "title": "" }, { "docid": "71e0db21f9146c5e3504f790c3bfd38b", "score": "0.68417436", "text": "private static void show(Comparable[] a) {\r\n\t\tfor (int i = 0; i < a.length; i++) {\r\n\t\t\tStdOut.print(a[i] + \" \");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "58ca0431cd9a00aea6e67a3cbb60801b", "score": "0.67927414", "text": "private static void show(Comparable[] a) {\n\t\tfor(int i=0; i<a.length; i++) {\n\t\t\tStdOut.println(a[i]);\n\t\t}\n\t}", "title": "" }, { "docid": "081cf10cc8dbc802428275a49b15ee74", "score": "0.6762123", "text": "private static void show(Comparable[] a) {\n for (int i = 0; i < a.length; i++)\n StdOut.print(a[i] + \" \");\n StdOut.println();\n }", "title": "" }, { "docid": "5f6e7d48a935fa495618a6cf5e448b99", "score": "0.6722921", "text": "public void displaySortedList() \n\t{\n\t\tif(this==null){\n\t\t\tthrow new AssertionError(\"Empty list\");\n\t\t}\n\t\telse{\n\t\tsort();\n\t\tdisplay(sortPointer);\n\t\t}\n\t}", "title": "" }, { "docid": "91a25ea3e5fd95f827b4a601cde9f838", "score": "0.67033917", "text": "private static void printSortedArray(String message, double anArray[]){\n System.out.println(\"The sorted numbers are: \");\n for (int i = 0; i < anArray.length; i++){\n System.out.print(anArray[i] +\" \");\n\n }\n }", "title": "" }, { "docid": "aff09ce98c2fd40bfdad206110fdf24d", "score": "0.66778207", "text": "public static void sortAndDisplay(String[] names,int[] keys)\n {\n String tempName;\n int tempNum;\n for(int i = 0; i < names.length - 1; i++)\n {\n for(int j = i + 1;j < names.length; j++)\n {\n //Compare and swap\n if(names[i].compareTo(names[j]) > 0)\n {\n tempName = names[i];\n names[i] = names[j];\n names[j] = tempName;\n tempNum = keys[i];\n keys[i] = keys[j];\n keys[j] = tempNum;\n }\n }\n }\n }", "title": "" }, { "docid": "c5d7cb3021f32450dc392edd15e8edee", "score": "0.6650838", "text": "static void printArray(int arr[])\r\n {\r\n int n = arr.length;\r\n System.out.println(\"The sorted array using insertion sort is :\");\r\n for(int i=0; i<n; ++i)\r\n { \r\n System.out.print(\" \"+arr[i]+\" \");\r\n System.out.println();\r\n }\r\n }", "title": "" }, { "docid": "308594ce0d81413369098c3cbc4e9b37", "score": "0.6616315", "text": "@Override\n\tpublic void sort() {\n\t\t\n\t\t\n\t\tfor(int i = 0; i < sort.length - 1; i++){\n\t\t\tfor(int j = 0; j < sort.length - 1; j++){\n\t\t\t\t\n\t\t\t\tif(sort[j] > sort[j + 1]){\n\t\t\t\t\tswap(j, j + 1);\n\t\t\t\t\t\n\t\t\t\t\tthis.repaint();\n\t\t \n\t\t \ttry {\n\t\t\t\t\t\tThread.sleep(1, 0);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(isSorted()){ break; }\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t//System.out.println(Arrays.toString(sort));\n\t\t}\n\t\t\n\t\tcomparisons = 0;\n\t}", "title": "" }, { "docid": "09c85744ee2fc824a4acb20787827883", "score": "0.6602324", "text": "@Override\n\t\tpublic void sort(Viewer viewer, Object[] elements) {\n\t\t}", "title": "" }, { "docid": "41ea526720146d7d0fb678963fdba05c", "score": "0.6598643", "text": "public void sort(int[] a) {\r\n\r\n createHeader();\r\n createHeaderBox();\r\n SourceCode descr = createDescription();\r\n\r\n lang.nextStep();\r\n Text descriptionCaption = createCaptionTextAt(\"Funktionsweise\",\r\n new Coordinates(20, 180));\r\n createDescriptionSteps();\r\n descriptionCaption.hide();\r\n descr.hide();\r\n\r\n Text descriptionCaptionMerge = createCaptionTextAt(\"Merge\",\r\n new Coordinates(20, 180));\r\n createDescriptionMerge();\r\n descriptionCaptionMerge.hide();\r\n\r\n createCaptionTextAt(\"Pseudocode\", new Coordinates(20, 80));\r\n SourceCode pseudoCodeMergeSort = createMergeSortPseudoCode();\r\n SourceCode pseudoCodeMerge = createMergePseudoCode();\r\n\r\n lang.nextStep();\r\n arrayAccess = 0;\r\n if (a == null || a.length == 0) {\r\n numberOfArrays = 0;\r\n } else {\r\n numberOfArrays = 1;\r\n }\r\n statisticsArrayAccess = createStatusTextAt(\"Arrayzugriffe: \" + arrayAccess,\r\n new Coordinates(170, 20));\r\n statisticsNumberOfArrays = createStatusTextAt(\"Anzahl an Arrays: \"\r\n + numberOfArrays, new Coordinates(170, 40));\r\n status = createStatusTextAt(\"Start!\", new Coordinates(170, 80));\r\n IntArray ia = initArrayAt(a, initialArrayCoords(a));\r\n maxDepth = maxDepth(a);\r\n\r\n lang.nextStep();\r\n vars = lang.newVariables();\r\n vars.openContext();\r\n mergeSort(ia, pseudoCodeMergeSort, pseudoCodeMerge, initialArrayCoords(a));\r\n\r\n lang.nextStep();\r\n vars.closeContext();\r\n lang.hideAllPrimitives();\r\n createHeader();\r\n createHeaderBox();\r\n createCaptionTextAt(\"Laufzeit\", new Coordinates(20, 180));\r\n createTimeComplexityDescription();\r\n createStatusTextAt(\"Arrayzugriffe: \" + arrayAccess,\r\n new Coordinates(20, 280));\r\n createStatusTextAt(\"Anzahl an Arrays: \" + numberOfArrays, new Coordinates(\r\n 20, 300));\r\n createStatusTextAt(\"Ursprungliche Arraylaenge: \" + a.length,\r\n new Coordinates(20, 240));\r\n }", "title": "" }, { "docid": "64b9781d183c300727d394e7942a0579", "score": "0.6595595", "text": "@Override\r\n\tpublic void sort(Integer[] numbers) {\n\t\tSystem.out.println(\"Ordenando con EprinsaSort\");\r\n\t}", "title": "" }, { "docid": "c0f21724db617596aff2042d77d7eabf", "score": "0.65526396", "text": "public static void main(String a[])\r\n {\n int numbers[] = {23,5,23,1,7,12,3,34,0};\r\n \r\n //Displaying the numbers before sorting\r\n System.out.print(\"Before sorting, numbers are \");\r\n for(int i = 0; i < numbers.length; i++)\r\n {\r\n System.out.print(numbers[i]+\" \");\r\n }\r\n System.out.println();\r\n \r\n //Sorting in ascending order using bubble sort\r\n bubbleSortInAscendingOrder(numbers);\r\n \r\n //Displaying the numbers after sorting\r\n System.out.print(\"After sorting, numbers are \");\r\n for(int i = 0; i < numbers.length; i++)\r\n {\r\n System.out.print(numbers[i]+\" \");\r\n }\r\n \r\n }", "title": "" }, { "docid": "7c58931bdfdbda11298a36b53b912d49", "score": "0.65319216", "text": "public void selectionSort(int[] list)\n {\n // Replace these lines with your code\n System.out.println();\n System.out.println(\"Selection Sort\");\n System.out.println();\n }", "title": "" }, { "docid": "630cd6a538b9e70206c6728ade9b086f", "score": "0.6512218", "text": "public static void show(Comparable[] a){\n for (int i = 0; i < a.length; i++) {\n System.out.print(a[i]+\" \");\n System.out.println();\n }\n }", "title": "" }, { "docid": "4e790ef84ca35180b224ba9f2dac81e7", "score": "0.6511098", "text": "public void sort() {\n\t\tquickSort(vertex, 0, numberVertices - 1);\n\t\tshowAllVertices();\n\t}", "title": "" }, { "docid": "ef2865fce7d65df58800152ed18978f4", "score": "0.64678705", "text": "@Override\n void sort() {\n }", "title": "" }, { "docid": "28e47c52d00ffa06951f10def7b69657", "score": "0.64110047", "text": "public static void main(String[] args) {\n\t\tint arr[]= {4,33,44,22,66,99,333};\r\n\t\tArrays.sort(arr);\r\n\t\tSystem.out.println(Arrays.toString(arr));\r\n\t\tSystem.out.println(arr[0]+\",\"+arr[1]);\r\n\r\n\t}", "title": "" }, { "docid": "7cc1a4cc7144cbce37ef8421f21c26c2", "score": "0.6383464", "text": "public static void main(String[] args) {\n int[] numbers = initIntegerArray(1000);\n // int[] numbers = {10,9,8,7,6,5,4,3,2,1};\n \n \n System.out.println(\"\\nNumbers before Sorting: \" + displayValues(numbers));\n // System.out.println(\"\\nNumbers after Sorting: \" + displayValues(bubbleSort(numbers)));\n // System.out.println(\"\\nNumbers after Sorting: \" + displayValues(bubbleSort2(numbers)));\n // System.out.println(\"\\nNumbers after Sorting: \" + displayValues(bubbleSort3(numbers)));\n System.out.println(\"\\nNumbers after Sorting: \" + displayValues(sort(numbers)));\n\n }", "title": "" }, { "docid": "e1b0cf4eeabaa11e939ac89fe5cf181a", "score": "0.6376981", "text": "public static void main(String[] args) {\n Student[] students = Datasource.loadDataAsArray();\n System.out.println(\"Original array\");\n //System.out.println(Arrays.toString(students)); //zjednoduseny vypis statickeho pole objektu\n print(students);\n System.out.println(\"\");\n \n //Interface Comparable s metodou compareTo(Student s)\n System.out.println(\"Sorting by number\");\n Arrays.sort(students); //Student musi byt typove kompatibilni s Comparable\n //if(student1.compareTo(student2)\n print(students);\n System.out.println(\"\");\n \n //Interface Comparator compare(Student s1, Student s2)\n System.out.println(\"Sorting by prumer\");\n StudentComparatorByAverage sc = new StudentComparatorByAverage();\n Arrays.sort(students, sc); //sc je typove kompatibilni s Comparator\n //if(compare(student1, student2))\n print(students);\n System.out.println(\"\");\n \n //Arrays.sort(students, Comparator.comparing(Student::getAverage)); funkcni programovani\n \n System.out.println(\"Sorting by name\");\n //\"metoda jako vstupni parameter do jine metody\"\n Arrays.sort(students, new Comparator<Student>() { //anonymni trida typove kompatibilni s Comparator\n @Override\n public int compare(Student o1, Student o2) { //podle ceske abecedy\n Collator col = Collator.getInstance(new Locale(\"cs\", \"CZ\")); \n return col.compare(o1.getName(), o2.getName());\n //return o1.getName().compareTo(o2.getName()); //trideni na zaklade ASCII tabulky ABC...abc\n }\n });\n print(students);\n System.out.println(\"\");\n \n System.out.println(\"Sorting by entry date\");\n //lambda vyraz\n Arrays.sort(students, (Student o1, Student o2) -> o1.getEntryDate().compareTo(o2.getEntryDate()) //pro reference compareT\n );\n print(students);\n System.out.println(\"\");\n \n //Trideni dynamickeho pole objektu - metody sort v tride Collections\n List<Student> studentsList = Datasource.loadDataAsList();\n System.out.println(\"Original list\");\n //System.out.println(Arrays.toString(students)); ////zjednoduseny vypis dynamickeho pole objektu\n print(studentsList);\n System.out.println(\"\");\n \n System.out.println(\"Sorting list by number\");\n Collections.sort(studentsList);\n print(studentsList);\n \n }", "title": "" }, { "docid": "b03b87e559217e0f523d1ffbb545623f", "score": "0.637657", "text": "private static void testArrayMergeSort() {\n Integer[] array = {12, 31, 11, 14, 18, 82, 21, 14};\n MergeSort.mergeSort(array, new DefaultComparator<>()); //sort\n //print results\n for(Integer i: array)\n {\n System.out.print(i + \" \");\n }\n }", "title": "" }, { "docid": "fa0fa9026191409fe0c1d031f1034acc", "score": "0.6370688", "text": "public static void main(String[] args){\n Integer[] edades = {10,12,13,14,2,50,3,1,7,6};\n //Creo un arreglo de Doubles. autoboxing otra vez...\n Double[] temperaturas = {10.5,8.3,50.9,13.7,45.89,45.88,1.0,12.6};\n //Creo un arreglo de Strings. (Por defecto String siempre es trabajado como un objeto)\n String[] nombres = {\"phicar\",\"clerigo\",\"dmk\",\"radical\",\"checho\",\"lozano\",\"cocoman\"};\n \n //Uso simple del metodo sort para ordenamientos ascendentes\n System.out.print(\"\\n [------- Ordenamientos de forma Ascendente --------]\");\n //Ejemplo para el ordenamiento de enteros\n Arrays.sort(edades);\n //Ejemplo para el ordenamiento de doubles\n Arrays.sort(temperaturas);\n //Ejemplo para el ordenamiento de Strings\n Arrays.sort(nombres);\n \n //Muestro las edades ordenadas de forma ascendente\n System.out.print(\"\\n\\n[Edades] \\n>> \");\n mostrar(edades);\n \n //Muestro las temperaturas ordenadas de forma ascendente\n System.out.print(\"\\n\\n[Temperaturas] \\n>> \");\n mostrar(temperaturas);\n \n //Muestro los nombres ordenados de forma ascendente\n System.out.print(\"\\n\\n[Nombres] \\n>> \");\n mostrar(nombres);\n \n //Uso del metodo sort combinado con el metodo reverseOrder para colecciones\n //el cual permite realizar un ordenamiento inverso\n System.out.print(\"\\n\\n [------- Ordenamientos de forma Descendente --------]\");\n //Ejemplo para el ordenamiento de enteros\n Arrays.sort(edades, Collections.reverseOrder());\n //Ejemplo para el ordenamiento de doubles\n Arrays.sort(temperaturas, Collections.reverseOrder());\n //Ejemplo para el ordenamiento de Strings\n Arrays.sort(nombres, Collections.reverseOrder());\n \n //Muestro las edades ordenadas de forma desascendente\n System.out.print(\"\\n\\n[Edades] \\n>> \");\n mostrar(edades);\n \n //Muestro las temperaturas ordenadas de forma desascendente\n System.out.print(\"\\n\\n[Temperaturas] \\n>> \");\n mostrar(temperaturas);\n \n //Muestro los nombres ordenados de forma desascendente\n System.out.print(\"\\n\\n[Nombres] \\n>> \");\n mostrar(nombres);\n \n }", "title": "" }, { "docid": "760b8eb285befe35b4029f9cc64d43ad", "score": "0.6357461", "text": "public static void sort(int[] arrayOne) {\n int x;\n for(int j = 0; j < arrayOne.length; j++) {\n for(int k =0; k <arrayOne.length; k++) {\n if(arrayOne[j] < arrayOne[k]) {\n x = arrayOne[k];\n arrayOne[k] = arrayOne[j];\n arrayOne[j] = x;\n }\n }\n }\n for (int h =0; h<arrayOne.length; h++) {\n System.out.print(arrayOne[h]+\" \");\n }\n }", "title": "" }, { "docid": "48d762b8211972eb2ed8a201e4416a04", "score": "0.6333586", "text": "private static void printLargest(List<String> arr) {\n\t\t\n\t\t\tCollections.sort(arr, new Comparator<String>(){\n\t\t\t\t\n\t\t\t\t@Override\n\t\t\t\tpublic int compare(String arg0, String arg1) {\n\t\t\t\t\t\n\t\t\t\t\tString arg01 = arg0+arg1;\n\t\t\t\t\tString arg10 = arg1+arg0;\n\t\t\t\t\t\n\t\t\t\t\treturn arg01.compareTo(arg10) > 0 ? -1:1;\n\t\t\t\t}\n\t\t\t});\n\t\t\t Iterator it = arr.iterator();\n\t\t\t while(it.hasNext())\n\t\t\t System.out.print(it.next());\n\t\t\t \n\t\t\t }", "title": "" }, { "docid": "be4468403be07d45af321533510d8ee6", "score": "0.6319955", "text": "public static void main(String[] args) \n\t{\n\t\tint [][] arr = {{85, 76, 78},\n\t\t\t\t\t\t{75, 76, 78},\n\t\t\t\t\t\t{95, 96, 98},\n\t\t\t\t\t\t{65, 46, 48},\n\t\t\t\t\t\t{45, 86, 88},\n\t\t\t\t\t\t{75, 66, 68}};\n\n\t\t\n\t\tString [] name = {\"泅后1\", \"榜后2\", \"捞后3\", \"坷后4\", \"酒后5\", \"备后6\"};\n\t\tint [][] res = new int[arr.length][2];\n\t\t\n\t\tfor (int i = 0; i < arr.length; i++) \n\t\t{\n\t\t\tfor (int j : arr[i]) \n\t\t\t{\n\t\t\t\tres[i][0] += j;\n\t\t\t}\n\t\t\tres[i][1] = res[i][0] / arr[i].length;\n\t\t}\n\t\t\n\t\tint [] buf, resBuf;\n\t\tString nameBuf;\n\t\t\n\t\tfor (int i = 0; i < arr.length; i++) \n\t\t{\n\t\t\tfor (int j = i; j < arr.length; j++) \n\t\t\t{\n\t\t\t\t\n\t\t\t\tif(res[i][1] < res[j][1])\n\t\t\t\t{\n\t\t\t\t\tbuf = arr[i];\n\t\t\t\t\tarr[i] = arr[j];\n\t\t\t\t\tarr[j] = buf;\n\t\t\t\t\t\n\t\t\t\t\tnameBuf = name[i];\n\t\t\t\t\tname[i] = name[j];\n\t\t\t\t\tname[j] = nameBuf;\n\t\t\t\t\t\n\t\t\t\t\tbuf = res[i];\n\t\t\t\t\tres[i] = res[j];\n\t\t\t\t\tres[j] = buf;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < name.length; i++) \n\t\t{\n\t\t\tSystem.out.print(name[i] + '\\t');\n\t\t\tfor (int j : arr[i]) \n\t\t\t{\n\t\t\t\tSystem.out.print(j + \",\");\n\t\t\t}\n\t\t\t\n\t\t\tfor (int j : res[i]) \n\t\t\t{\n\t\t\t\tSystem.out.print(j + \",\");\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\t}", "title": "" }, { "docid": "f21f612ef092d182ecf7c30b184ff214", "score": "0.6316905", "text": "public static void main(String args[]) {\n int[] arr = {32, 39, 21, 45, 23, 3};\n System.out.println(\"unsorted array before sorting : \" + Arrays.toString(arr));\n selectionSort(arr);\n System.out.println(\"sorted array After sorting : \" + Arrays.toString(arr));\n }", "title": "" }, { "docid": "1eb296aa1378d3c592043ac7049f706c", "score": "0.62696", "text": "public static void main(String[] args) {\n\n\t\tint array[] = new int[] { 90, 20, 05, 109, 250, 22, 67, 34 };\n\t\tArrays.sort(array);\n\n\t\tint desarray[] = new int[] { -2, -5, 50, 89, 6, 58, 90, 59, 99, -105, 63 };\n\n\t\tArrays.sort(desarray);\n\t\tSystem.out.println();\n\t\tfor (int i = 0; i < array.length; i++) {\n\n\t\t\tSystem.out.println(\"Elements of array sorted in ascending order: \" + array[i]);\n\t\t}\n\n\t\t// Another Way\n\n\t\t/*\n\t\t * Returns a string representation of the contents of the specified array. The\n\t\t * string representation consists of a list of the array's elements,enclosed in\n\t\t * square brackets\n\t\t */\n\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Elements of array sorted in descending order: \" + Arrays.toString(desarray));\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Elements of array sorted in ascending order:\" + Arrays.toString(array));\n\n\t}", "title": "" }, { "docid": "94458e5182dbc12f5d9c20f1b6d1b133", "score": "0.6262102", "text": "public void sortByFigure(){\n\t\t\n\t\t// write your code here!\n\t\t\n\t}", "title": "" }, { "docid": "0aa52f6f74527fbcd937148c8421c0ff", "score": "0.6246635", "text": "void sort();", "title": "" }, { "docid": "070ddb87cbdf46c7d122e630bae15173", "score": "0.6245809", "text": "public void mergeSort(int[] a, int first, int last)\n {\n // Replace these lines with your code\n System.out.println();\n System.out.println(\"MergeSort\");\n System.out.println();\n }", "title": "" }, { "docid": "644a0fcae4e4cf0e3eb65b3c9002816f", "score": "0.62451285", "text": "public void trier()\n {\n Collections.sort(arrayFonds);\n }", "title": "" }, { "docid": "e55c57821f3c6ec4bfbce33658005ee4", "score": "0.6242945", "text": "@Override\r\n\tpublic void displayInput() {\n\t\tSystem.out.printf(\"Input unsorted array is: %s\\n\", Arrays.toString(inputArray));\r\n\t}", "title": "" }, { "docid": "4f32fdbff56ecc50d6b99585286ebbe3", "score": "0.62401956", "text": "private void sort() {\n quicksort(0, (this.chaveTransformada.length)-1);\n }", "title": "" }, { "docid": "2e36febcd95017c5a1f702143dd2c79d", "score": "0.6237429", "text": "public void sort()\r\n\t{\r\n\t\tsort(0,arr.length-1);\r\n\t}", "title": "" }, { "docid": "ba765047501995ea215149bfd6976c63", "score": "0.622437", "text": "@Override\n\tpublic void sort(int[] data) {\n\t\t\n\t}", "title": "" }, { "docid": "5384404c08449819704d5eeea6bcac4e", "score": "0.62227255", "text": "public void display()\r\n\t{\r\n\t\tfor(int i=0;i<arr.length;i++)\r\n\t\t{\r\n\t\t\tSystem.out.print(\" \" + arr[i]);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "df2a50941b74f2e9d9d49f24bb4cf414", "score": "0.62186986", "text": "private String collectionSort() {\n\t\tString avengerList = \"\";\n\t\tif (avengersArrayList.size()>4) {\n\t\t\tfor(int i = 0; i<4;i++) {\n\t\t\t\tavengerList = avengerList + avengersArrayList.get(i).toString() + \"\\n\";\n\t\t\t}\n\t\t\t}\n\t\telse {\n\t\t\t\tfor(int i = 0; i<avengersArrayList.size();i++) {\n\t\t\t\t\tavengerList = avengerList + avengersArrayList.get(i).toString() + \"\\n\";\n\t\t\t\t}\n\t\t\t}\n\t\treturn avengerList;\n\t}", "title": "" }, { "docid": "357400babc7c259683f058540c59c553", "score": "0.6211303", "text": "public static void sortData(int [] array) {\n\t\tdisplayUnsortedArray(array);\n\t\tfor (int i=0; i < array.length; i++ ) {\n\t\t\tfor (int j =0; j < array.length - i - 1; j++) {\n\t\t\t\tif (array[j] > array[j+1]) {\n\t\t\t\t\tint temp=array[j+1];\n\t\t\t\t\tarray[j+1] = array[j];\n\t\t\t\t\tarray[j] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdisplaySortedArray(array);\n\t}", "title": "" }, { "docid": "e06d24b1bc1052121bc46572fd0ce2da", "score": "0.62108636", "text": "private void display(int[] arr) {\n\t\tfor(int i=1;i<arr.length;i++){\n\t\t\tSystem.out.print(arr[i]+\" \");\n\t\t}\n\t\tSystem.out.println(\"\\n\");\n\t}", "title": "" }, { "docid": "c13c3216de6a16a1a1e0e46564f6c04a", "score": "0.6208898", "text": "public static void main(String[] args) {\n\t\tint[] array= {7,6,5,4,3,2,1,0};\n\t\tmergeSort(array, 0, 7);\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tSystem.out.print(array[i]+\" \");\n\t\t}\n\t}", "title": "" }, { "docid": "f771a579af3a3b4bcf08b7eff67e3d0a", "score": "0.62026864", "text": "private void display(int[] arr) {\n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tSystem.out.print(arr[i]);\n\t\t\tif(i<arr.length-1)\n\t\t\t\tSystem.out.print(\",\");\n\t\t}\n\t}", "title": "" }, { "docid": "fd8833221df9de07d71c38dec3cd01d9", "score": "0.6197051", "text": "public void printCountrySorted() {\n Collections.sort(lc);\n System.out.printf(\"%-10s%-25s%-20s%-25s\\n\", \"ID\", \"Name\", \"Total Area\", \"Terrain\");\n for (Country country : lc) {\n country.display();\n }\n }", "title": "" }, { "docid": "b06b3b8c19216a619e5f49133b0f7f8f", "score": "0.61959094", "text": "public static void main(String[] args) {\n\n\t\tint arr[]= {0,1,0, 1, 1,0,1,0,1,0};\n\t\t\n\t\n\n\t\tfor (int i = 0; i < arr.length; i++) \n\t\t{ \n\t\tfor (int j = i + 1; j < arr.length; j++) \n\t\t{ \n\t\tint tmp = 0; \n\t\tif (arr[i] > arr[j]) \n\t\t{ \n\t\ttmp = arr[i]; \n\t\tarr[i] = arr[j]; \n\t\tarr[j] = tmp; \n\t\t} \n\t\t} \n\t\t//prints the sorted element of the array \n\t\tSystem.out.println(arr[i]); \n\t\t} \n\t\t}", "title": "" }, { "docid": "4f435e78df98df4b74b6f7a069a849bb", "score": "0.619342", "text": "public static void main(String[] args) {\n\n int[] arr = {2,1,3,5,8,7};\n Arrays.sort(arr); // arr: 2 1 3 5 8 7\n int[] desc = new int[arr.length]; // {8 7 5 3 2 1}\n desc [0] = arr[arr.length-1];\n\n int k = arr.length-1;\n for (int i = 0; i <= desc.length - 1 ; i++){// i: 1,2,3,5,7,8\n desc[i] = arr[k]; // tersine cevirir\n k--;\n }\n\n System.out.println(Arrays.toString(desc));\n\n\n }", "title": "" }, { "docid": "6eac0d289db46c5c1e15e939b27c5a88", "score": "0.6187192", "text": "public void arraySort()\n {\n for (int k = 0; k < numStudents; k++)\n {\n // compare with method def to see where inner loop stops\n if ( !floatLargestToTop(numStudents - 1 - k) )\n {\n return;\n }\n }\n }", "title": "" }, { "docid": "15c1d3c7a22591a396286381170d3f4d", "score": "0.6181298", "text": "public static void main(String[] args) {\n\t\tint[] array = {23, 1, 33, 12, 15, 17, 16, 22, 4, 56, 88, 21};\r\n\t\tqSort(array, 0, array.length - 1);\r\n\t\t\r\n\t\tfor(int i = 0; i < array.length; ++i) {\r\n\t\t\tSystem.out.print(array[i] + \" \");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "0bd17f48b18307151ae02ee0bb5d5104", "score": "0.61796516", "text": "public static void main(String[] args) {\n int[] test = {2,3,5,4,9,6,7};\n selSort(test);\n\n for(int i=0; i<test.length; i++){\n System.out.print(test[i] + \" \");\n }\n\n }", "title": "" }, { "docid": "7cad503804601df382e3e793debf2484", "score": "0.61772984", "text": "public static void main(String args[]) {\n int[] arr = {32, 39, 21, 45, 23, 3};\n System.out.println(\"unsorted array before sorting : \" + Arrays.toString(arr));\n insertionSort(arr);\n System.out.println(\"sorted array After sorting : \" + Arrays.toString(arr));\n }", "title": "" }, { "docid": "04089afbdb30020d43e5a4c699513c30", "score": "0.61757374", "text": "public static void main(String[] args) {\n\t\tint[] numbers=new int[15];\n\t\tRandom r=new Random();\n\t\tint key=0;\n\t\t//15 numbers\n\t\tSystem.out.println(\"Before Sorting:\");\n\t\tfor(int i=0;i<numbers.length;i++){\n\t\t\tkey=r.nextInt(50)+1;\n\t\t\tnumbers[i]=key;\n\t\t\tSystem.out.print(numbers[i] +\" \");\n\t\t}\n\t\tSystem.out.println();\n\t\tnumbers=bubbleSort(numbers);\n\t\tSystem.out.println(\"\\n\\nThe numbers after Bubble Sort:\");\n\t\tdisplay(numbers);\n\t\t\n\t}", "title": "" }, { "docid": "32a3946cdbb0aecb497d1884755fab6e", "score": "0.61749893", "text": "public static void main(String[] args) {\n\t\t for(int e:a){\n\t\t \tSystem.out.print(e+\" \");\n\t\t }\n\t\t System.out.println();\n\t rearrange(a, a.length);\n\t for(int e:a){\n\t \tSystem.out.print(e+\" \");\n\t }\n\t\n\t}", "title": "" }, { "docid": "c5d180d1920798068ecc350db9c8c59a", "score": "0.6164247", "text": "public static void main (String[] args) {\r\n\t\tint[] array = new int[] {7, 4, 6, 9, 1, -1, 2, 3, 8, 0, 6, 5};\r\n\t\tsort(array);\r\n\t\t\r\n\t\tfor (int index = 0; index < array.length; index++) {\r\n\t\t\tSystem.out.print(array[index]+\" \");\r\n\t\t}\r\n\t\tSystem.out.println();\r\n\t}", "title": "" }, { "docid": "4843eb74c5efc4bb5087dd13fc8aa512", "score": "0.6145208", "text": "public static void main(String[] args) {\n int [] a = {4,29,2,2,110,99,5};\n System.out.println(\"Array Before Sort\");\n System.out.println(Arrays.toString(a));\n System.out.println(\"Array After Shell Sort\");\n shellSort(a);\n System.out.println(Arrays.toString(a));\n }", "title": "" }, { "docid": "b3adb231314d4532e96fc4df4df69ddd", "score": "0.6143794", "text": "public static void main(String[] args) {\n int[] data = {4, 3, 10, 8, 2, 9};\n System.out.println(Arrays.toString(data));\n selectionSort(data);\n System.out.println(Arrays.toString(data));\n\n }", "title": "" }, { "docid": "200c7d7ffb691506fd5d6ef77a587b7d", "score": "0.61393833", "text": "public void printData() {\n int i;\n List<Map.Entry<String, Integer>> values = new ArrayList<>(words.entrySet());\n\n // Sort the entries by value.\n values.sort(Map.Entry.comparingByValue());\n\n // Output the entries in reverse to display the largest values first.\n for (i = values.size() - 1; i >= 0; i--) {\n System.out.println(values.get(i).getKey() + \":\\t\" + \"*\".repeat(values.get(i).getValue()));\n }\n }", "title": "" }, { "docid": "7220449d966905d41615a887feb59371", "score": "0.61387265", "text": "public static void main(String[] args) {\r\n int[] array = {3,8,4,2,1,6,4,2};//Creates the array\r\n \r\n System.out.println(\"Unsorted Array\"); \r\n for (int i = 0; i < array.length; i++) //This prints out the unsorted array\r\n System.out.print(array[i]+\" \"); \r\n \r\n long time = System.currentTimeMillis(); //Gets the initial time for when the sorting starts\r\n \r\n sorter(array); //Sorts the array\r\n \r\n long elapsed = System.currentTimeMillis() - time; //Takes the initial time and subtracts the current time to get the length it took to sort\r\n \r\n \r\n System.out.println(\"\\nSorted Array \"); \r\n for (int i = 0; i < array.length; i++) //Prints the sorted array\r\n System.out.print(array[i]+\" \");\r\n \r\n System.out.println(\"\");\r\n System.out.println(\"Time: \" + elapsed); //Prints the elapsed time\r\n }", "title": "" }, { "docid": "22bf3e45c8a3cb251000fe79adc0b501", "score": "0.61369836", "text": "private void mergeSort()\n\t{\n\t\tmergeSortHelper(0, size());\n\t\t// check for abortFlag\n\t\tif (gui.getAbortFlag())\n\t\t{\n\t\t\tgui.abort();\n\t\t\treturn;\n\t\t}\n\t\t// indicate to gui that process has ended\n\t\tgui.toggleProcess();\n\t\t// update isSorted flag\n\t\tvalues.isSorted = true;\n\t}", "title": "" }, { "docid": "7952008b7bc7259a4bd9d93e568d2549", "score": "0.61362505", "text": "public static void main(String[] args)\n {\n // variable declaration area\n int number = 1000;\n long start,end,elapsed;\n Integer[] selectionData;\n Integer[] insertionData;\n Integer[] bubbleData;\n Integer[] quickData;\n Integer[] mergeData;\n String[] values = new String [number];\n Integer [] data = new Integer[number];\n Random generator = new Random();\n \n //generate random integers and place them in the array\n for (int i = 0; i<data.length;i++)\n {\n data[i] = generator.nextInt(10);\n }\n\n // deep copy the data for each sort\n selectionData = data.clone();\n insertionData = data.clone();\n bubbleData = data.clone();\n quickData = data.clone();\n mergeData = data.clone();\n\n // print contents of the array prior to sorting\n for (Integer element : data)\n System.out.print(element + \" \");\n System.out.println(\" \");\n\n // access Selection sort and display comparisons and elapsed time\n start = System.currentTimeMillis(); // get starting time\n Sorting.selectionSort(selectionData);\n end = System.currentTimeMillis(); // get ending time\n elapsed = end - start;\n System.out.println(\"Selection elapsed time is \" + elapsed + \" ms\");\n System.out.println(\"Comparisons are \" + Sorting.comparisons);\n\n // access Insertion sort and display comparisons and elapsed time\n start = System.currentTimeMillis(); // get starting time\n Sorting.insertionSort(insertionData);\n end = System.currentTimeMillis(); // get ending time\n elapsed = end - start;\n System.out.println(\"Insertion elapsed time is \" + elapsed + \" ms\");\n System.out.println(\"Comparisons are \" + Sorting.comparisons);\n\n // access Bubble sort and display comparisons and elapsed time\n start = System.currentTimeMillis(); // get starting time\n Sorting.bubbleSort(bubbleData);\n end = System.currentTimeMillis(); // get ending time\n elapsed = end - start;\n System.out.println(\"Bubble elapsed time is \" + elapsed + \" ms\");\n System.out.println(\"Comparisons are \" + Sorting.comparisons);\n\n // access Quick sort and display comparisons and elapsed time\n start = System.nanoTime(); // get starting time\n Sorting.quickSort(quickData);\n end = System.nanoTime(); // get ending time\n elapsed = (end - start)/1000000;\n System.out.println(\"Quick elapsed time is \" + elapsed + \" ms\");\n System.out.println(\"Comparisons are \" + Sorting.comparisons);\n\n // access Merge sort and display comparisons and elapsed time\n start = System.nanoTime(); // get starting time\n Sorting.mergeSort(mergeData);\n end = System.nanoTime(); // get ending time\n elapsed = (end - start)/1000000;\n System.out.println(\"Merge elapsed time is \" + elapsed + \" ms\");\n System.out.println(\"Comparisons are \" + Sorting.comparisons);\n\n // print contents of the array prior to sorting\n// for (Integer element : mergeData)\n// System.out.print(element + \" \");\n// System.out.println(\" \");\n }", "title": "" }, { "docid": "af2e6ea2f9cd7eb894c6b5d15125f4dd", "score": "0.613511", "text": "public String displayOrdered(){\n\t\treturn stack.sortedToString();\n\t}", "title": "" }, { "docid": "d80afdcfaa1a103efa2bb4e1ff2cb64b", "score": "0.6132789", "text": "public void sort() {\r\n\r\n\t\tSet<Entry<String, Integer>> entrySet = wordCount.entrySet(); // Using set to put in the entries of wordCount\r\n\t\tList<Entry<String, Integer>> list = new ArrayList<Entry<String, Integer>>(entrySet); // Put the entry in a list\r\n\t\t// Using collection to sort the list in decreasing order\r\n\t\tCollections.sort(list, new Comparator<Entry<String, Integer>>() {\r\n\t\t\t@Override\r\n\t\t\tpublic int compare(Entry<String, Integer> e1, Entry<String, Integer> e2) {\r\n\t\t\t\treturn (e2.getValue().compareTo(e1.getValue()));\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// Printing the repeated words along with their occurrences\r\n\r\n\t\tfor (int i = 1; i <= 3454; i++) {\r\n\t\t\tString s = list.get(i).toString();\r\n\t\t\tarray[i - 1] = s;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "94227748a16da90684b460143e698a38", "score": "0.6120854", "text": "static void show() {\n\t\tSystem.out.println(arr[0] + \" \" + arr[1] + \" \" + arr[2]);\n\t\tSystem.out.println(arr[3] + \" \" + arr[4] + \" \" + arr[5]);\n\t\tSystem.out.println(arr[6] + \" \" + arr[7] + \" \" + arr[8]);\n\t}", "title": "" }, { "docid": "5bf056462c00680831cb31cb9d64439f", "score": "0.6101812", "text": "public void bubbleSort(int[] list)\n {\n // Replace these lines with your code\n System.out.println();\n System.out.println(\"Bubble Sort\");\n System.out.println();\n }", "title": "" }, { "docid": "4307c471b99baafe3c53a6538061c3c1", "score": "0.60905766", "text": "public void displayUnSortedList() \n\t{\n\t\tdisplay(head);\n\t}", "title": "" }, { "docid": "f8787c7813290953bdebd22348681a90", "score": "0.6087064", "text": "public static void main(String[] args) {\n\t\tdisplayArray(arr);\n\n\t\tsort(arr);\n\n\t\tdisplayArray(arr);\n\t}", "title": "" }, { "docid": "1fbec703660a261f6244fe792400563d", "score": "0.60746145", "text": "void sortAndDisplay(ArrayList<Coupon> coupons) {\n\n\t\tCoupon temp;\n\n\t\tSystem.out.println(\n\t\t\t\t\"\\nSort by: \\n1. Product name\\n2. Price\\n3. Provider\\n4. Discount Rate\\n5. Expiration\\n6. Status\\n7. Final Price\");\n\t\tint sel;\n\t\tScanner scan = new Scanner(System.in);\n\t\tsel = scan.nextInt();\n\n\t\tif (sel == 1) {\n\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\ttemp = coupons.get(i);\n\n\t\t\t\tfor (int j = i + 1; j < coupons.size(); j++) {\n\t\t\t\t\tif (((coupons.get(i).getProduct()).compareToIgnoreCase(coupons.get(j).getProduct()) > 0)) {\n\t\t\t\t\t\ttemp = coupons.get(i);\n\t\t\t\t\t\tcoupons.set(i, coupons.get(j));\n\t\t\t\t\t\tcoupons.set(j, temp);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\tSystem.out.println(\"\\nCoupon #\" + (i + 1) + \":\");\n\t\t\t\tSystem.out.print(coupons.get(i) + \"\\n\\n\");\n\t\t\t}\n\t\t}\n\n\t\tif (sel == 2) {\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\ttemp = coupons.get(i);\n\n\t\t\t\tfor (int j = i + 1; j < coupons.size(); j++) {\n\t\t\t\t\tif (coupons.get(i).getPrice() > coupons.get(j).getPrice()) {\n\t\t\t\t\t\ttemp = coupons.get(i);\n\t\t\t\t\t\tcoupons.set(i, coupons.get(j));\n\t\t\t\t\t\tcoupons.set(j, temp);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\tSystem.out.println(\"\\nCoupon #\" + (i + 1) + \":\");\n\t\t\t\tSystem.out.print(coupons.get(i) + \"\\n\\n\");\n\t\t\t}\n\t\t}\n\t\tif (sel == 3) {\n\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\ttemp = coupons.get(i);\n\n\t\t\t\tfor (int j = i + 1; j < coupons.size(); j++) {\n\t\t\t\t\tif (((coupons.get(i).getProvider()).compareToIgnoreCase(coupons.get(j).getProvider()) > 0)) {\n\t\t\t\t\t\ttemp = coupons.get(i);\n\t\t\t\t\t\tcoupons.set(i, coupons.get(j));\n\t\t\t\t\t\tcoupons.set(j, temp);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\tSystem.out.println(\"\\nCoupon #\" + (i + 1) + \":\");\n\t\t\t\tSystem.out.print(coupons.get(i) + \"\\n\\n\");\n\t\t\t}\n\t\t}\n\t\tif (sel == 4) {\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\ttemp = coupons.get(i);\n\n\t\t\t\tfor (int j = i + 1; j < coupons.size(); j++) {\n\t\t\t\t\tif (coupons.get(i).getDiscountRate() > coupons.get(j).getDiscountRate()) {\n\t\t\t\t\t\ttemp = coupons.get(i);\n\t\t\t\t\t\tcoupons.set(i, coupons.get(j));\n\t\t\t\t\t\tcoupons.set(j, temp);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\tSystem.out.println(\"\\nCoupon #\" + (i + 1) + \":\");\n\t\t\t\tSystem.out.print(coupons.get(i) + \"\\n\\n\");\n\t\t\t}\n\t\t}\n\n\t\tif (sel == 5) {\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\ttemp = coupons.get(i);\n\n\t\t\t\tfor (int j = i + 1; j < coupons.size(); j++) {\n\t\t\t\t\tif (coupons.get(i).getExpiration() > coupons.get(j).getExpiration()) {\n\t\t\t\t\t\ttemp = coupons.get(i);\n\t\t\t\t\t\tcoupons.set(i, coupons.get(j));\n\t\t\t\t\t\tcoupons.set(j, temp);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\tSystem.out.println(\"\\nCoupon #\" + (i + 1) + \":\");\n\t\t\t\tSystem.out.print(coupons.get(i) + \"\\n\\n\");\n\t\t\t}\n\t\t}\n\n\t\tif (sel == 6) {\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\ttemp = coupons.get(i);\n\n\t\t\t\tfor (int j = i + 1; j < coupons.size(); j++) {\n\t\t\t\t\tif (((coupons.get(i).getStatus()).compareToIgnoreCase(coupons.get(j).getStatus()) > 0)) {\n\t\t\t\t\t\ttemp = coupons.get(i);\n\t\t\t\t\t\tcoupons.set(i, coupons.get(j));\n\t\t\t\t\t\tcoupons.set(j, temp);\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\tSystem.out.println(\"\\nCoupon #\" + (i + 1) + \":\");\n\t\t\t\tSystem.out.print(coupons.get(i) + \"\\n\\n\");\n\t\t\t}\n\t\t}\n\t\tif (sel == 7) {\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\ttemp = coupons.get(i);\n\n\t\t\t\tfor (int j = i + 1; j < coupons.size(); j++) {\n\t\t\t\t\tif (coupons.get(i).getFinalPrice() > coupons.get(j).getFinalPrice()) {\n\t\t\t\t\t\ttemp = coupons.get(i);\n\t\t\t\t\t\tcoupons.set(i, coupons.get(j));\n\t\t\t\t\t\tcoupons.set(j, temp);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tfor (int i = 0; i < coupons.size(); i++) {\n\t\t\t\tSystem.out.println(\"\\nCoupon #\" + (i + 1) + \":\");\n\t\t\t\tSystem.out.print(coupons.get(i) + \"\\n\\n\");\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "4c0c50cfbea509b7eae71299594f2da5", "score": "0.60732925", "text": "private void sort() {\n Arrays.sort(score, (ScorePegHolder p1, ScorePegHolder p2) -> {\n return Integer.compare(p2.getPegInHolder().ordinal(), p1.getPegInHolder().ordinal());\n });\n }", "title": "" }, { "docid": "4b16a4b7dfb904c66d1090b4daed0d5a", "score": "0.60682565", "text": "public void showArray()\n {\n int index;\n \n for( index = 0; index < arraySize; index++ )\n {\n System.out.print( heapArray[ index ] + \" \" );\n }\n }", "title": "" }, { "docid": "7010f7b8efd2043f7fd552ec9abd9df2", "score": "0.60652655", "text": "public static void main(String[] args) {\n\t\tint[] array = {8, 6, 5, 2, 4, -7, -2, -3, 0, -9};\r\n\t\tSystem.out.println(\"Current Array\");\r\n\t\tprintAll(array);\r\n\t\tsort(array);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3316be4fabcc2b489ba066859892d6c1", "score": "0.60594815", "text": "public static void main(String[] args) {\n\t\tArrayList<Stagiaires> al = new ArrayList<Stagiaires>();\r\n\t\tStagiaires stagiaire1 = new Stagiaires(\"Tonny.S\", 48, 001);\r\n\t\tStagiaires stagiaire2 = new Stagiaires(\"James.B\", 37, 007);\r\n\t\tStagiaires stagiaire3 = new Stagiaires(\"Lucifer.A\", 999999999, 666);\r\n\t\tStagiaires stagiaire4 = new Stagiaires(\"Rocco.S\", 69, 714);\r\n\t\tal.add(stagiaire1);\r\n\t\tal.add(stagiaire2);\r\n\t\tal.add(stagiaire3);\r\n\t\tal.add(stagiaire4);\r\n\t\tfor(Stagiaires x : al) {\r\n\t\t\tSystem.out.println(x.toString());\r\n\t\t}\r\nSystem.out.println(\"____________________________________\");\r\nSystem.out.println(\"____________________________________\");\r\n\t\tCollections.sort(al, Stagiaires.ageComparator);\r\n\t\tfor(Stagiaires x : al) {\r\n\t\t\tSystem.out.println(x.toString());\r\n\t\t}\r\n\t\tSystem.out.println(\"____________________________________\");\r\n\t\tSystem.out.println(\"____________________________________\");\r\n\t\tSystem.out.println(\"____________________________________\");\r\n\t\tCollections.sort(al, Stagiaires.nomComparator);\r\n\t\tfor(Stagiaires x : al) {\r\n\t\t\tSystem.out.println(x.toString());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3bab7c84e7f7a107c50e566c3d80c94d", "score": "0.60563177", "text": "public static void quickSort(Comparable[] array) { \n\t\t//Eliminate dependence on input.\n\t\tStdRandom.shuffle(array); \n\t\tStdOut.println(\"\\nShuffled Array:\");\n\t\t//output shuffled array\n\t\tdisplay(array);\n\t\tStdOut.println(\"\\nTrace:\");\n\t\tquickSort(array, 0, array.length - 1);\n\t}", "title": "" }, { "docid": "c5e44c797704954bbb2e4ab617974ecb", "score": "0.60556394", "text": "public static void main(String args[]) {\r\n\t\t// allocate and initialize array\r\n\t\tint array[] = new int[10];\r\n\t\t\r\n\t\tfor (int i = 0; i < 10; i++)\r\n\t\t{\r\n\t\t\tarray[i] = -3 * i;\r\n\t\t}\r\n\t\t\t// display, sort, display\r\n\t\tSystem.out.print(\"Original contents: \");\r\n\t\t\r\n\t\tdisplay(array);\r\n\t\tArrays.sort(array);\r\n\t\tSystem.out.print(\"Sorted: \");\r\n\t\tdisplay(array);\r\n\t\t\r\n\t\tdouble nums[] = {10.1, 11.2, 12.3, 13.4, 14.5};\r\n\t\tdouble result = 0;\r\n\t\tint i;\r\n\t\tfor(i=0; i<5; i++)\r\n\t\tresult = result + nums[i];\r\n\t\tSystem.out.println(\"Average is \" + result / 5);\r\n\r\n\t}", "title": "" }, { "docid": "61748ccc791091a4efe5ac590b73b669", "score": "0.6053743", "text": "public void sort() {\r\n Shell_Sort sh = new Shell_Sort(head);\r\n head = sh.shellSort(head);\r\n }", "title": "" }, { "docid": "c50a7ab3aaf2df3e8cc7d10443283b41", "score": "0.6047089", "text": "public static void main(String[] args) {\n\t\tint Len= 100;\n\t\tSystem.out.println(\"Welcome to the sort routine\");\n\t\t//gen randomw array\n\t\tint [] random= new int[Len];\n\t\tfor(int i=0;i<Len;i++){\n\t\t\trandom[i]=(int)((Math.random()*100)+1);\n\t\t}\n\t\tSystem.out.println(\"The unsorted array is: \");\n\t\tprintArray(random);\n\t\tSystem.out.println(\"Sorting...\");\n\t\t//now sort the array\n\t\tint[] sorted =sort(random);\n\t\tSystem.out.println(\"The sorted array is: \");\n\t\tprintArray(sorted);\n\t}", "title": "" }, { "docid": "31399d65b68e6990bebaf676d22e232d", "score": "0.604457", "text": "public void displayStocksInAscOrder(StocksDetails[] stockers, int noOfCompanies){\r\n if(this.isSorted != true){\r\n stockValues = new double[noOfCompanies];\r\n for(int i=0; i<noOfCompanies ; ++i)\r\n stockValues[i] = (stockers[i]).stockValue;\r\n //sort this array in ascending order\r\n Arrays.sort(stockValues);\r\n this.isSorted = true;\r\n }\r\n System.out.println(\"Stock values in ascending order are: \");\r\n for(int i=0; i<noOfCompanies ; ++i)\r\n System.out.print(stockValues[i]+\" \");\r\n \r\n }", "title": "" }, { "docid": "480e1dc80ddfe9f873914b6d9cdc9cac", "score": "0.6043781", "text": "public static void main(String[] args) {\n\n int[] arr = new int[20];\n System.out.println(\"Before sorting\");\n for (int i = 0; i < arr.length; i++) {\n arr[i] = (int) (Math.random() * 100);\n System.out.print(arr[i] + \" \");\n }\n quickSort(arr, 0, arr.length - 1);\n System.out.println(\"\\nAfter sorting\");\n for (int i = 0; i < arr.length; i++) {\n System.out.print(arr[i] + \" \");\n }\n }", "title": "" }, { "docid": "c89717fddd5123783ac770a6567f6ddb", "score": "0.6043381", "text": "private static void display(final int[] arr) {\n\n int i = 0;\n\n while (i < arr.length) {\n System.out.print(arr[i] + \" \");\n if (++i % 10 == 0) {\n System.out.println();\n }\n }\n System.out.println();\n }", "title": "" }, { "docid": "7eb68b71446f8e44c104219338257dd3", "score": "0.6041638", "text": "public static void main(String[] args) {\n\n\t\tInteger[] array = {2, 7, 1, 56, 14, 54, 2, 6, 2, 66, 3, 7, 32, 24, 15, 25, 18, 25, 690};\n\t\t\n\t\tSystem.out.println(\"Nieposortowana Tablica: \");\n\t\tSystem.out.println(Arrays.toString(array));\n\t\tSystem.out.println(\"Posortowana w naturalnym porządku: \");\n\t\tArrays.sort(array);\n\t\tSystem.out.println(Arrays.toString(array));\n\t\t\n\t\tArrays.sort(array, new Comparator<Integer>() {\n\t\t @Override\n\t\t public int compare(Integer o1, Integer o2) {\n\t\t return -(o1.compareTo(o2));\n\t\t }\n\t\t});\n\t\tSystem.out.println(\"Posortowana w przeciwnym do naturalnego porządku: \");\n\t\tSystem.out.println(Arrays.toString(array));\n\t}", "title": "" }, { "docid": "e3a5198b29e2323b4f6bfa5315d8cb0d", "score": "0.6040507", "text": "public static void printArray (ActivityArchive arr) {\n\t\tif (arr == null || arr.isEmpty()) {\n\t\t\tSystem.out.println(\"[]\");\n\t\t\treturn;\n\t\t}\n\t\tint m = arr.size();\n\t\t\n\t\tint i;\n\t\t\n\t\tHashtable<Object, int[]> dict;\n\t\tIterator<Map.Entry<Object, int[]>> iter;\n\t\tMap.Entry<Object, int[]> entry;\n\t\tObject key;\n\t\tint[] value;\n\t\t\n\t\tSystem.out.println(\"[\");\n\t\tfor (i = 0; i < m; i++) {\n\t\t\t\n\t\t\tdict = (Hashtable<Object, int[]>)arr.get(i);\n\t\t\titer = dict.entrySet().iterator();\n\t\t\twhile (iter.hasNext()) {\n\t\t\t\tentry = (Entry<Object, int[]>) iter.next();\n\t\t\t\tkey = entry.getKey();\n\t\t\t\tvalue = (int[])entry.getValue();\n\n\t\t\t\tif (key instanceof String) {\n\t\t\t\t\t//System.err.println(\"String\");\n\t\t\t\t\tSystem.out.print(\"\\t\" + (String)key);\n\t\t\t\t} else if (key instanceof String[]) {\n\t\t\t\t\t//System.err.println(\"String[]\");\n\t\t\t\t\tSystem.out.print(\"\\t\");\n\t\t\t\t\tDebugTools.printInlineArray((String[])key);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.err.println(\"Difference class: \" + key.getClass());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\" -> {\" + value[0] + \", \" + value[1] + \"} \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"]\");\n\t}", "title": "" }, { "docid": "2cdbdf411002f27abe0632af7241002b", "score": "0.60397726", "text": "public static void main(String[] args) {\n int maxValue = 7;\n int[] data = {5,3,7,2,3,1};\n// int maxValue = 9876;\n// int[] data = {25, 777, 863, 9876, 1, 1230, 56};\n //Prints out the array before and after being sorted\n System.out.println(\"Before the array is sorted: \" + Arrays.toString(data));\n sort(data, maxValue);\n System.out.println(\"After the array is sorted: \" + Arrays.toString(data));\n }", "title": "" }, { "docid": "ad8bc1d6c8b10eb46656232d6605baa8", "score": "0.6037462", "text": "public static void printArray() {\n\n for (int i = 0; i < nrow; i++) {// i for row\n for (int j = 0; j < ncol; j++) {// j for column\n System.out.printf(\"%3d\", a[i][j]);\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "044284fb99b64dde2f7fc04d6d24502a", "score": "0.6032048", "text": "public static void main(String[] args) {\n\t\tint[] a={8,6,3,10,7,12};\n\t\t//int[] b={2,7,9};\n\t\tint[] c=mergesort(a,0,a.length-1);\n\t\tfor(int i=0;i<c.length;i++)\n\t\t{\n\t\t\tSystem.out.print(c[i]+\" \");\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "b1bb059099628c071d69ffaf8d8db37c", "score": "0.60247225", "text": "public static void main(String[] args) {\n\t\tint[] array= {1,5,4,2,46,23,78,27,12,101};\n\t\tShellSort(array);\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tSystem.out.println(array[i]);\n\t\t}\n\t}", "title": "" }, { "docid": "53f357888b603fdbfe3b97fbee5710f6", "score": "0.6021242", "text": "public static void main(String[] args) \n {\n Statistics Statystyka = new Statistics();\n SimpleTimer timer = new SimpleTimer();\n Random generator = new Random();\n Sort sortuj = new Sort();\n \n int \n i = 0, j = 0,\n ileElementów = 10000,\n ilePomiarów = 10;\n \n int[][] tabElementów = new int[6][];\n double[][] tabPomiarów = new double[6][ilePomiarów];\n \n \n for(i = 0; i < tabElementów.length; ++i) \n {\n tabElementów[i] = new int[ileElementów];\n ileElementów += 1000;\n }\n \n // Pomiar sortowania metodą bąbelkową\n for(i = 0; i < tabElementów.length; ++i)\n { \n for(j = 0; j < ilePomiarów; ++j)\n {\n // Wypełnienie tablicy do sortowania losowymi wartościami z zakresu od 0 do 9999999\n Losuj(tabElementów[i], generator);\n \n // Rozpoczęcie pomiaru czasu sortowania metodą bąbelkową\n timer.Start();\n sortuj.Bubble(tabElementów[i]);\n timer.Stop();\n \n tabPomiarów[i][j] = timer.TimeInSec();\n }\n }\n \n // Wyświetlenie wyników\n for(i = 0; i < tabPomiarów.length; ++i) \n {\n System.out.print(tabElementów[i].length + \"\\t\");\n \n for(j = 0; j < ilePomiarów; ++j)\n {\n System.out.printf(\"%.3f\\t\", tabPomiarów[i][j]);\n }\n \n System.out.printf(\"%.3f\\t%.3f\\t%.3f\\n\", Statystyka.Average(tabPomiarów[i]), Statystyka.Deviation(tabPomiarów[i]), Statystyka.RelativeError(tabPomiarów[i]));\n }\n System.out.print(\"\\n\\n\");\n \n // Pomiar sortowania metodą bąbelkową ulepszoną\n for(i = 0; i < tabElementów.length; ++i)\n { \n for(j = 0; j < ilePomiarów; ++j)\n {\n // Wypełnienie tablicy do sortowania losowymi wartościami z zakresu od 0 do 9999999\n Losuj(tabElementów[i], generator);\n \n // Rozpoczęcie pomiaru czasu sortowania metodą bąbelkową ulepszoną\n timer.Start();\n sortuj.BubbleImproved(tabElementów[i]);\n timer.Stop();\n \n tabPomiarów[i][j] = timer.TimeInSec();\n }\n }\n \n // Wyświetlenie wyników\n for(i = 0; i < tabPomiarów.length; ++i) \n {\n System.out.print(tabElementów[i].length + \"\\t\");\n \n for(j = 0; j < ilePomiarów; ++j)\n {\n System.out.printf(\"%.3f\\t\", tabPomiarów[i][j]);\n }\n \n System.out.printf(\"%.3f\\t%.3f\\t%.3f\\n\", Statystyka.Average(tabPomiarów[i]), Statystyka.Deviation(tabPomiarów[i]), Statystyka.RelativeError(tabPomiarów[i]));\n }\n System.out.print(\"\\n\\n\");\n \n // Pomiar sortowania metodą przez wybieranie\n for(i = 0; i < tabElementów.length; ++i)\n { \n for(j = 0; j < ilePomiarów; ++j)\n {\n // Wypełnienie tablicy do sortowania losowymi wartościami z zakresu od 0 do 9999999\n Losuj(tabElementów[i], generator);\n \n // Rozpoczęcie pomiaru czasu sortowania metodą przez wybieranie\n timer.Start();\n sortuj.Insertion(tabElementów[i]);\n timer.Stop();\n \n tabPomiarów[i][j] = timer.TimeInSec();\n }\n }\n \n // Wyświetlenie wyników\n for(i = 0; i < tabPomiarów.length; ++i) \n {\n System.out.print(tabElementów[i].length + \"\\t\");\n \n for(j = 0; j < ilePomiarów; ++j)\n {\n System.out.printf(\"%.3f\\t\", tabPomiarów[i][j]);\n }\n \n System.out.printf(\"%.3f\\t%.3f\\t%.3f\\n\", Statystyka.Average(tabPomiarów[i]), Statystyka.Deviation(tabPomiarów[i]), Statystyka.RelativeError(tabPomiarów[i]));\n }\n }", "title": "" }, { "docid": "fb14197594b03900110fb109ec9dfd49", "score": "0.6018178", "text": "public void sort()\n {\n if (left > right) {\n float t = left; left = right; right = t;\n }\n if (top > bottom) {\n float t = top; top = bottom; bottom = t;\n }\n }", "title": "" }, { "docid": "02f5d6ba53fb93d423713524fee666db", "score": "0.6007162", "text": "public static void main(String[] args){\r\n int a[]={10,2 , 5, 3, 6, 1,9};\r\n int b[]=selectionrSort(a, a.length-1);\r\n for(int k=0; k<b.length;k++){\r\n System.out.println(b[k]);\r\n }\r\n }", "title": "" }, { "docid": "ab427831635d5a568b9b70cb423f4346", "score": "0.59950304", "text": "private void bubbleSort()\n\t{\n\t\tboolean sorted = false;\n\t\twhile (!sorted)\n\t\t{\n\t\t\tsorted = true;\n\t\t\t// for each item pair\n\t\t\tfor (int i = 0; i < size() - 1; i++)\n\t\t\t{\n\t\t\t\tgui.setSelector(i);\n\t\t\t\t// if items are not in order, swap them and update sorted\n\t\t\t\tif (values.get(i) > values.get(i + 1))\n\t\t\t\t{\n\t\t\t\t\tvalues.swap(i, i + 1);\n\t\t\t\t\tsorted = false;\n\t\t\t\t\tgui.updateBars();\n\t\t\t\t}\n\t\t\t\t// check for abortFlag\n\t\t\t\tif (gui.getAbortFlag())\n\t\t\t\t{\n\t\t\t\t\tgui.abort();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// indicate to gui that process has ended\n\t\tgui.toggleProcess();\n\t\t// update isSorted flag\n\t\tvalues.isSorted = true;\n\t}", "title": "" }, { "docid": "1b0042a3cdfa40c200e6018562dbf223", "score": "0.5993695", "text": "public static void display(double[] array)\r\n {\r\n for(int k = 1; k < array.length; k++)\r\n System.out.print(array[k] + \" \");\r\n System.out.println(\"\\n\");\t\r\n }", "title": "" }, { "docid": "2b1bec7c39985aefb3d844eb2e36e957", "score": "0.5991692", "text": "public static void main(String[] args){\nint[] a = {2,3,4,5,122,13314,2,33,5,4,2};\nint[] b = {1,2,3,4,5,6,7,8,9};\nint[] c = {10,9,8,7,6,5,4,3};\nint[] d = {2,2,2,2,2,2,2,2};\nint[] e = {};\n\n\nSystem.out.println(printArray(a));\nmergesort(a);\nSystem.out.println(printArray(a));\n\nSystem.out.println(printArray(b));\nmergesort(b);\nSystem.out.println(printArray(b));\n\nSystem.out.println(printArray(c));\nmergesort(c);\nSystem.out.println(printArray(c));\n\nSystem.out.println(printArray(d));\nmergesort(d);\nSystem.out.println(printArray(d));\n\nSystem.out.println(printArray(e));\nmergesort(e);\nSystem.out.println(printArray(e));\n\n}", "title": "" }, { "docid": "1a88c6770353d0b8c59ffdba3ebc2f80", "score": "0.5988363", "text": "public static void main(String[] args) {\n int intArray[] = {1,4,3,5,2};\n\n System.out.print(\"Array prior sorting :\");\n for(int i=0; i < intArray.length ; i++)\n\n System.out.print(\" \" + intArray[i]);\n\n /*\n Arrays.sort() method sorts an array in ascending order based on quicksort\n algorithm. We can fully sort an array by using Arrays.sort(array) operation\n or we can partially sort an array by using Arrays.sort(array, startIndex, endIndex)\n operation where startIndex is inclusive and endIndex is exclusive\n */\n Arrays.sort(intArray);\n\n System.out.print(\"nArray after full sort :\");\n for(int i=0; i < intArray.length ; i++)\n\n System.out.print(\" \" + intArray[i]);\n\n }", "title": "" }, { "docid": "a819a57ab851d678efe06fe9205afc85", "score": "0.59833205", "text": "public void BubbleSortBook() {\r\n\t\t\r\n\t\tString bookA;\r\n\t\tString bookB;\r\n\r\n\t\tfor(int i = 0; i < bookArray.size(); i++) {\r\n\t\t\tfor(int j = i+1; j < bookArray.size(); j++) { //j will be at one position ahead of i\r\n\t\t\t\tbookA = bookArray.get(i).getBookName();//from the record at pos i get the object name there\r\n\t\t\t\tbookB = bookArray.get(j).getBookName();\r\n\t\t\t\t\r\n\t\t\t\tif(bookA.compareToIgnoreCase(bookB) > 0) { //it compares one character against the other one\r\n\t\t\t/* +1 if bookA > bookB -->that means swap them! because B comes after A in alfabetic order\r\n\t\t\t * 0 bookA and bookB would have the same value\r\n\t\t\t * -1 bookA < bookB they dont need to be swapped, because A comes before B \r\n\t\t\t */\r\n\t\t\t\t\ttemporaryArray.add(bookArray.get(i));//adding the records to the temporary Array\r\n\t\t\t\t\tbookArray.set(i, bookArray.get(j));// the swapping is with objects comparing the names\r\n\t\t\t\t\tbookArray.set(j, temporaryArray.get(0));\r\n\t\t\t\t\ttemporaryArray.clear();\r\n\t\t\t\t\t\r\n\t\t\t\t\tprintArray(bookArray); // it will print every time the array was sorted until the last sortting \r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "68c5677b0d0ae786d7f38b6287a4cf89", "score": "0.5980258", "text": "private static void basicSortDesc() {\n\t\tInteger[] scores = {80, 50, 30, 90, 75, 88, 77};\n\t\tSystem.out.println(\"Origin : \" + Arrays.toString(scores));\n\t\t\n\t\tArrays.sort(scores, Collections.reverseOrder());\n\t\tSystem.out.println(\"Desc sort : \" + Arrays.toString(scores));\n\t}", "title": "" }, { "docid": "f39dfeafebd135e960685d9c96372757", "score": "0.59762293", "text": "public void sort(int[] a) {\n \tint i,j,t;\n \tint vergl = 0;\n \tint tausch = 0;\n \t\n \t/* Laufrichtung rechts > links */\n \tfor (i=a.length; i>1; i--) {\n \t\tTracer.direct(a, i);\n \t\tfor (j=1; j<i; j++) {\n \t\t\tvergl++;\n \t\t\tif(a[j-1] > a[j]){\n \t\t\t\tt = a[j-1];\n \t\t\t\ta[j-1] = a[j];\n \t\t\t\ta[j] = t;\n \t\t\t\ttausch++;\n \t\t\t}\n \t\t}\n \t}\n \t//System.out.print(\"v/t \" + vergl + \"/\" + tausch + \" \");\n \tTracer.array(a);\n \t\n \t\n \t/* Laufrichtung links > rechts\n \tfor (i=0; i < a.length; i++){\n \t\tTracer.direct(a, i);\n \t\tfor (j=i+1; j < a.length; j++){\n \t\t\tif (a[j] < a[i]) { \n \t\t\t\tt = a[i]; \n \t\t\t\ta[i] = a[j];\n \t\t\t\ta[j] = t;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \tTracer.array(a);\n \t*/\n }", "title": "" }, { "docid": "44960a446f72f243088997f5a505febb", "score": "0.5974897", "text": "public static void sort() {\n\t\tfor (int i = 1; i < nums.length; i++) {\n\t\t\tfor (int j = 0; j < i; j++) {\n\t\t\t\tif (nums[j] > nums[i]) {\n\t\t\t\t\ttemp = nums[j];\n\t\t\t\t\tnums[j] = nums[i];\n\t\t\t\t\tnums[i] = temp;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(Arrays.toString(nums));\n\t}", "title": "" }, { "docid": "0d5fa1829668709e758881f4e46085a0", "score": "0.59739214", "text": "public void sort()\n\t{\n\t\tsort(0, _size - 1);\n\t}", "title": "" }, { "docid": "3860e6b6f6d49faf1e58d3cbc64ad0fa", "score": "0.5971333", "text": "public static void main(String[] args) {\n\t\tint[] array = {9,8,7,6,5,46,5,6,-11,-10,-12};\n\t\tSystem.out.println(Arrays.toString(bbSort(array)));\n\t}", "title": "" } ]
c37d66ab60851a150343b7c179f1db2d
Set whether this param should be used. It will be used if the expression evaluates to true or the name of a property which has been set, otherwise it won't.
[ { "docid": "02361c3c9a034dea2f37f8867a4a6cf9", "score": "0.0", "text": "public void setIf(final Object ifCond) {\n this.ifCond = ifCond;\n }", "title": "" } ]
[ { "docid": "0b5fc8e87b24c7da9a2beecbe3433d60", "score": "0.58347994", "text": "public void setRepProperty(boolean is, Token propToAssign){\r\n Objects.requireNonNull(propToAssign);\r\n if(propToAssign.getType() != tokenType.property){\r\n throw new IllegalArgumentException(\"Token has to be a property\");\r\n }\r\n new Sprite(this.getRep()).setProperty(is, propToAssign);\r\n }", "title": "" }, { "docid": "e629682db8b765cdb40e47e07d6db39b", "score": "0.5744719", "text": "public void setOp(boolean value);", "title": "" }, { "docid": "6737d7aa6568006437bee19fe55c63c0", "score": "0.5716318", "text": "public void set_boolean(boolean param){\n \n this.local_boolean=param;\n \n\n }", "title": "" }, { "docid": "9796537e893449ad329f5028b38c7094", "score": "0.56677026", "text": "public boolean isSetParam() {\n return this.param != null;\n }", "title": "" }, { "docid": "f95c6fea53be292b031e1fd33fe5f166", "score": "0.5645012", "text": "@FluentSetter\n\tpublic ContextBuilder set(String name) {\n\t\tAssertions.assertString(name).msg(\"Property ''{0}'' is not boolean.\", name).endsWith(\".b\");\n\t\tpsb.set(name);\n\t\treturn this;\n\t}", "title": "" }, { "docid": "22597df17b06d30a233cae2adfbfd37a", "score": "0.56172097", "text": "@DISPID(3083)\n @PropPut\n void setIsFiltered(\n boolean rhs);", "title": "" }, { "docid": "80898f5c1de5c042471c5c157c6e97e4", "score": "0.5614561", "text": "boolean getPropertyBool(String key, boolean def);", "title": "" }, { "docid": "73754f8a380b248a31b3805f34e2bab1", "score": "0.5581242", "text": "public void setTest(boolean value) {\n this.test = value;\n }", "title": "" }, { "docid": "d0d6ba680ce72c03bcef49ffe29145f3", "score": "0.5572601", "text": "boolean setInitParameter(String name, String value);", "title": "" }, { "docid": "d7db0a60c148406c962ceec05f7e984e", "score": "0.5545325", "text": "public void setProperty(final String name, final boolean value) {\n setProperty(name, value, PiiKind.None);\n }", "title": "" }, { "docid": "18d8def31dfbdcb785a08d012ce579d7", "score": "0.55319005", "text": "private boolean getPropertyValueBoolean(Properties paramProperties, String paramString, boolean paramBoolean) {\n/* 290 */ String str = paramProperties.getProperty(paramString, \"\");\n/* 291 */ if (!str.isEmpty()) {\n/* 292 */ return Boolean.parseBoolean(str);\n/* */ }\n/* 294 */ return paramBoolean;\n/* */ }", "title": "" }, { "docid": "db5aac2b7aeb558c5ec29dcc930a46f0", "score": "0.55164033", "text": "@Test\n public void testSetIncludesAllowed()\n {\n assertSame(\"Wrong result\", params, params.setIncludesAllowed(true));\n assertEquals(\"Value not set\", Boolean.TRUE,\n params.getParameters().get(\"includesAllowed\"));\n }", "title": "" }, { "docid": "d0e7a69697bcfd4e188a7290e2120320", "score": "0.5513925", "text": "public void setBoolean(String name, boolean value);", "title": "" }, { "docid": "7eb03caecf5475af11e64acbce7e7f6c", "score": "0.5488955", "text": "public void setRequired(boolean tmp) {\n this.required = tmp;\n }", "title": "" }, { "docid": "3f0702d5e8036519b2f51b8006d2e79f", "score": "0.5471032", "text": "public void setEnabled(boolean param){\n \n // setting primitive attribute tracker to true\n localEnabledTracker =\n true;\n \n this.localEnabled=param;\n \n\n }", "title": "" }, { "docid": "a22447486ff6c86f7c0d2279ca434138", "score": "0.5460997", "text": "public void setOptional(boolean optional);", "title": "" }, { "docid": "0e0b626e0acaf68f0f25600e21d564c9", "score": "0.54358935", "text": "public boolean getParameter(String name, boolean defaultValue) {\n return getParameter(name, defaultValue ? \"on\" : \"\").equals(\"on\");\n }", "title": "" }, { "docid": "6d3a2c99c37ce813ab2b3eec2cf694af", "score": "0.542405", "text": "private boolean getRequieredParameterBoolean(String name)\r\n\t\t\tthrows Ptolemy3DException {\r\n\t\tString strValue = getRequieredParameter(name);\r\n\t\treturn strValue.equals(\"1\") ? true : false;\r\n\t}", "title": "" }, { "docid": "6e9ddffaaf3a64676ebe805d2ccf6c64", "score": "0.54165196", "text": "void setPerson(boolean person);", "title": "" }, { "docid": "11c3cf12b0b93384374bab18888857e7", "score": "0.53891146", "text": "public void addBooleanParameter(String name, boolean value)\n {\n if(value)\n addParameter(name, name);\n }", "title": "" }, { "docid": "601f856ec8810c7efb584d55acf0070f", "score": "0.5374236", "text": "public void setValid(boolean NewValue);", "title": "" }, { "docid": "748c1749ac554b2cf92e335e4436f755", "score": "0.5365704", "text": "@Override\r\n public String getPropertyString() {\r\n if (!getElder()) {\r\n return null;\r\n }\r\n else {\r\n return \"true\";\r\n }\r\n }", "title": "" }, { "docid": "b4cf8040ac23fb1c91214b382d13e7cd", "score": "0.5358643", "text": "public PostRequestBodyBuffer addParamIfNotNull(String name, Boolean value) {\n return value != null ? addParam(name, value.toString()) : this;\n }", "title": "" }, { "docid": "d3325fad63ff8ddc094256a4fc44629b", "score": "0.5352361", "text": "void setPropertyBoolean(\n\t\tString schemaNS,\n\t\tString propName,\n\t\tboolean propValue,\n\t\tPropertyOptions options) throws XMPException;", "title": "" }, { "docid": "2a018c73ebfaacc742933dc12f3762e0", "score": "0.5339784", "text": "public void setValid(boolean param){\n \n // setting primitive attribute tracker to true\n localValidTracker =\n true;\n \n this.localValid=param;\n \n\n }", "title": "" }, { "docid": "323690771c66825f081b11af70e64abb", "score": "0.5304831", "text": "@Override\n\t\t\t\tpublic void setOp(boolean arg0) {\n\n\t\t\t\t}", "title": "" }, { "docid": "fef05b5619256c1dddccf73efec6fc16", "score": "0.52797097", "text": "public void setOn(boolean pOn);", "title": "" }, { "docid": "a5a917faee66d707278db02804fb5541", "score": "0.52679163", "text": "public boolean understandsProperty(String paramString) {\n/* 361 */ return this.resolverSpi.understandsProperty(paramString);\n/* */ }", "title": "" }, { "docid": "b7d5cd6dda9a9f89f53c287484b5b110", "score": "0.5246359", "text": "public void setIsDefaultFlag(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localIsDefaultFlagTracker = true;\n } else {\n localIsDefaultFlagTracker = false;\n \n }\n \n this.localIsDefaultFlag=param;\n \n\n }", "title": "" }, { "docid": "fea55587e02b0792cce851fd7d84709e", "score": "0.52461153", "text": "protected boolean discoverBooleanParam(ModelContext context, String name)\n {\n return discoverBooleanParam(context, name, false);\n }", "title": "" }, { "docid": "007c00dbc1e40ecbee7948205fc4f934", "score": "0.5244099", "text": "public void setVehicle(boolean aIsVehicle) {\n/* 2756 */ this.isVehicle = aIsVehicle;\n/* */ }", "title": "" }, { "docid": "7ae1ce576faf37a1510bc879e18a4764", "score": "0.52297807", "text": "protected boolean shouldSet(CompoundName name, Object value) { return true; }", "title": "" }, { "docid": "f6b2be167008b3e8cc0b201be404d076", "score": "0.5224947", "text": "public void setProperty(String propertyName, Object property, boolean isSystem);", "title": "" }, { "docid": "2af4a372467f8547b55bd354a2ed4dab", "score": "0.52240324", "text": "private boolean getBooleanProperty(String name, boolean def)\n\t{\n\t\tString value = getProperty(name);\n\t\tif(value == null)\n\t\t\treturn def;\n\t\telse if(\"true\".equals(value) || \"yes\".equals(value)\n\t\t\t|| \"on\".equals(value))\n\t\t\treturn true;\n\t\telse if(\"false\".equals(value) || \"no\".equals(value)\n\t\t\t|| \"off\".equals(value))\n\t\t\treturn false;\n\t\telse\n\t\t\treturn def;\n\t}", "title": "" }, { "docid": "dbeac4c1aabaae12b16ef1cd6fe90cb5", "score": "0.5223621", "text": "protected boolean discoverBooleanParam(ModelContext context, String name, boolean defaultValue)\n {\n String value = getParameter(context.getRequest(), name, Boolean.toString(defaultValue));\n \n return (\"true\".equals(value)) ? true : false;\n }", "title": "" }, { "docid": "8c4ca5ba7ef59f33e727f1aabf8fcc9a", "score": "0.52211213", "text": "public SimpleBooleanProperty isOnProperty() {\n return isOnProp;\n }", "title": "" }, { "docid": "85c2c92b3b3526c5e4cca15546cd487e", "score": "0.52127826", "text": "public void setPractice(boolean p) {\n this.practice = p;\n }", "title": "" }, { "docid": "9cf48f4cb99868ce64482a46e426f5a5", "score": "0.5212733", "text": "@Override\n\tpublic void setBoolean(String arg0, boolean arg1) throws OdaException {\n\t\t\n\t}", "title": "" }, { "docid": "cf77a7af6b3d781a61b9f42e7774d1af", "score": "0.52077085", "text": "public boolean hasParameter() {\r\n\t\t\treturn this.usesParameter;\r\n\t\t}", "title": "" }, { "docid": "ef928bf7b01e6da8e9cbb1cfca8a8ca6", "score": "0.51968956", "text": "public void set_boolean(org.apache.axis2.databinding.types.soapencoding._boolean param){\n \n this.local_boolean=param;\n \n\n }", "title": "" }, { "docid": "35897ba052c801c79ccf56bdda740047", "score": "0.51953536", "text": "protected boolean doSetProperty(String propertyName, Object propertyValue) {\n \t\t\n \t\t// If annotations is changed, notify an enablement change\n \t\tif (propertyName.equals(USE_ANNOTATIONS)) {\n \t\t\tuseAnnotations = ((Boolean) propertyValue).booleanValue();\n \t\t\tif (useAnnotations && !isAnnotationsSupported())\n \t\t\t\treturn true;\n \t\t\tnotifyEnablementChange(USE_ANNOTATIONS);\n \t\t}\n \t\t// If the source folder is changed, ensure we have the correct project name\n \t\tif (propertyName.equals(SOURCE_FOLDER)) {\n \t\t\t// Get the project name from the source folder name\n \t\t\tString sourceFolder = (String) propertyValue;\n \t\t\tint index = sourceFolder.indexOf(File.separator);\n \t\t\tString projectName = sourceFolder;\n \t\t\tif (index == 0)\n \t\t\t\tprojectName = sourceFolder.substring(1);\n \t\t\tindex = projectName.indexOf(File.separator);\n \t\t\tif (index != -1) {\n \t\t\t\tprojectName = projectName.substring(0, index);\n \t\t\t\tsetProperty(PROJECT_NAME, projectName);\n \t\t\t}\n \t\t}\n \t\t// Call super to set the property on the data model\n \t\tboolean result = super.doSetProperty(propertyName, propertyValue);\n \t\t//\tIf class name is changed, update the display name to be the same\n \t\tif (propertyName.equals(CLASS_NAME) && !isSet(DISPLAY_NAME)) {\n \t\t\tnotifyDefaultChange(DISPLAY_NAME);\n \t\t}\n \t\t// After the property is set, if project changed, update the nature and the annotations enablement\n \t\tif (propertyName.equals(MODULE_NAME)) {\n \t\t\tnotifyEnablementChange(USE_ANNOTATIONS);\n \t\t}\n \t\t// After property is set, if annotations is set to true, update its value based on the new level of the project\n \t\tif (getBooleanProperty(USE_ANNOTATIONS)) {\n \t\t\tif (!isAnnotationsSupported())\n \t\t\t\tsetBooleanProperty(USE_ANNOTATIONS, false);\n \t\t}\n \t\t// Return whether property was set\n \t\treturn result;\n \t}", "title": "" }, { "docid": "ea1ce3a3f80d3899dce5d7165ff9ffb3", "score": "0.517438", "text": "public void setHasPerson(String hasPerson){\n switch (hasPerson){\n case \"person\":\n this.hasPerson = true;\n break;\n case \"notPerson\":\n this.hasPerson = false;\n break;\n }\n }", "title": "" }, { "docid": "0ab0291703488ad5fc5922b7f1fd506c", "score": "0.5172266", "text": "public boolean isProp() {\n\t\treturn this.in(propOp);\n\t}", "title": "" }, { "docid": "3ea7a3f846467471e00fac13f407e681", "score": "0.51612616", "text": "@Handler(id=\"setValueExpression\",\n input={\n\t\t@HandlerInput(name=\"keyObjectName\", type=String.class, required=true),\n @HandlerInput(name=\"hasBoolean\", type=Boolean.class),\n @HandlerInput(name=\"objectValue\", type=String.class, required=true)}\n )\n public static void setValueExpression(HandlerContext handlerCtx) {\n String name = (String) handlerCtx.getInputValue(\"keyObjectName\");\n String value = (String) handlerCtx.getInputValue(\"objectValue\");\n Boolean hasBoolean = (Boolean)handlerCtx.getInputValue(\"hasBoolean\");\n FacesContext facesContext = FacesContext\n .getCurrentInstance();\n ELContext elcontext = facesContext.getELContext();\n ValueExpression ve =\n facesContext.getApplication().getExpressionFactory().\n createValueExpression(\n facesContext.getELContext(), \"#{\"+name+\"}\", Object.class);\n if(hasBoolean == null) {\n ve.setValue(facesContext.getELContext(), value);\n } else {\n if(hasBoolean.booleanValue()) {\n if(value.equals(\"true\")) {\n ve.setValue(facesContext.getELContext(), Boolean.TRUE);\n } else {\n ve.setValue(facesContext.getELContext(), Boolean.FALSE);\n }\n } else {\n ve.setValue(facesContext.getELContext(), value);\n }\n }\n }", "title": "" }, { "docid": "8615033b1cfb723b0304b6b5abca7198", "score": "0.51601356", "text": "public boolean getBoolParam(String name, boolean defaultValue) { return internalParams.getBoolParam(name, defaultValue); }", "title": "" }, { "docid": "dd24b990d50c91f335b6c703493c5148", "score": "0.5149285", "text": "public void setValue(boolean value) {\n attributeValue = value;\n }", "title": "" }, { "docid": "1725eb643b3907f63a93e17d313aabcc", "score": "0.51421845", "text": "public void setMandatory(java.lang.Boolean value);", "title": "" }, { "docid": "8fc461809c8049e894560568e7f976e7", "score": "0.51356894", "text": "@VTID(18)\r\n void setEnabled(\r\n boolean rhs);", "title": "" }, { "docid": "bffbf20294f504e3c5f11153169c6df4", "score": "0.5135605", "text": "public void setEnabled(Boolean val);", "title": "" }, { "docid": "87115fa8295e23bcfbbd11e2d5f5afa1", "score": "0.51267004", "text": "private boolean setSortOrder(String sortOrderParam ) throws ApiRequestException{\n \n boolean sortOrder = false;\n if (\"true\".equals(sortOrderParam)) {\n sortOrder = true;\n }\n else if (sortOrderParam == null || \"false\".equals(sortOrderParam)) {\n sortOrder = false;\n }\n else {\n throw new ApiRequestException(\"Invalid sortOrder parameter: \"+sortOrderParam);\n }\n return sortOrder;\n }", "title": "" }, { "docid": "c36530c95e635b8537ee42ee2011f4d2", "score": "0.51221496", "text": "public BooleanParameter(boolean value, String name, String description, String section) {\n\t\t\tsuper(value, name, description, section);\n\t\t}", "title": "" }, { "docid": "33586f0d535620ced0253a8ab4b257ff", "score": "0.5100987", "text": "public void setPaginate(boolean param){\n \n // setting primitive attribute tracker to true\n localPaginateTracker =\n true;\n \n this.localPaginate=param;\n \n\n }", "title": "" }, { "docid": "756ef017dbf411db856e0dc43e43499e", "score": "0.5097057", "text": "public static Query setParameter(Query query, String paramName, Boolean paramValue) {\n\t\tif (paramValue != null) {\n\t\t\tquery.setParameter(paramName, paramValue);\n\t\t}\n\t\treturn query;\n\t}", "title": "" }, { "docid": "a8ff347c6c2c79efd0ded43eba1bc1f6", "score": "0.5096788", "text": "public void setProcessed (boolean Processed)\n{\nset_Value (\"Processed\", new Boolean(Processed));\n}", "title": "" }, { "docid": "955240fec71d057617a78b29e7269cd7", "score": "0.50940007", "text": "void addBooleanProperty(String key, BooleanSupplier getter, BooleanConsumer setter);", "title": "" }, { "docid": "7a85c3ce7f5297b91d645daf3e3851fe", "score": "0.50921935", "text": "public void setPlaceholder(boolean value) {\n this.placeholder = value;\n }", "title": "" }, { "docid": "8ce9b36d498b370afaf524b68b30456b", "score": "0.5080278", "text": "public void setPreferenceCriteria(java.lang.String param){\n localPreferenceCriteriaTracker = param != null;\n \n this.localPreferenceCriteria=param;\n \n\n }", "title": "" }, { "docid": "01110b9f5507b3269b7d63e86d86c122", "score": "0.5079295", "text": "public void addParameter(P parameter, boolean value) {\n addParameter(parameter, String.valueOf(value));\n }", "title": "" }, { "docid": "f9a6cb3a1211bebade51c57f109c502c", "score": "0.5068113", "text": "public void setIncludeParm(String includeParm) {\r\n\r\n if (log.isDebugEnabled())\r\n log.debug(\"setIncludeParm() : \" + includeParm);\r\n\r\n if (includeParm.toLowerCase().equals(INCLUDE_PARM_TRUE)){\r\n this.includeParm = INCLUDE_PARM_TRUE;\r\n }\r\n else if (includeParm.toLowerCase().equals(INCLUDE_PARM_SKIPVALUE)) {\r\n this.includeParm = INCLUDE_PARM_SKIPVALUE;\r\n }\r\n else {\r\n this.includeParm = INCLUDE_PARM_FALSE;\r\n }\r\n\r\n }", "title": "" }, { "docid": "f6eacdf21e42bd1326e87872fff24638", "score": "0.5056623", "text": "public void setProperty(Property_type0[] param){\n \n validateProperty(param);\n\n localPropertyTracker = param != null;\n \n this.localProperty=param;\n }", "title": "" }, { "docid": "24fe4359274a2b8493df472ddeeaaa3a", "score": "0.5053157", "text": "@Override\n public boolean setNotEvaluated() {\n return false;\n }", "title": "" }, { "docid": "477b5dedcf7588528425fe0eb291ac74", "score": "0.5047853", "text": "boolean isPropertySetted(String propertyName);", "title": "" }, { "docid": "0374c57ccaefd8eccac7830bf7b10afd", "score": "0.5044022", "text": "void setRestricted(boolean value);", "title": "" }, { "docid": "2a47e103994508d0e33e42356bd23026", "score": "0.5038635", "text": "public void setIf(final String ifProperty) {\n setIf((Object) ifProperty);\n }", "title": "" }, { "docid": "4542af7c11cb2520041db7e8debf4513", "score": "0.5034741", "text": "public void setReadOnly(BooleanEnum param){\n localReadOnlyTracker = param != null;\n \n this.localReadOnly=param;\n \n\n }", "title": "" }, { "docid": "9a819bcb8b6543353f5c73f0e01394e3", "score": "0.50311714", "text": "@Override\n\tpublic boolean getParameterAsBoolean(String key) {\n\t\ttry {\n\t\t\treturn Boolean.valueOf(getParameter(key));\n\t\t} catch (UndefinedParameterError e) {\n\t\t}\n\t\treturn false; // cannot happen\n\t}", "title": "" }, { "docid": "78a7d7a2eb0eb61e6fe1731be91baab0", "score": "0.5029943", "text": "private boolean getRequieredParameterBoolean(String name, Element elem)\r\n\t\t\tthrows Ptolemy3DException {\r\n\r\n\t\t// Check if the setting must be read from XML file or from applet's\r\n\t\t// params.\r\n\t\tif (elem == null) {\r\n\t\t\treturn getRequieredParameterBoolean(name);\r\n\t\t}\r\n\r\n\t\tString strValue = getRequieredParameter(name, elem);\r\n\t\treturn strValue.equals(\"1\") ? true : false;\r\n\t}", "title": "" }, { "docid": "26f024d0d1e86389e2ade56df6a614c9", "score": "0.50213784", "text": "@SuppressWarnings(\"deprecation\")\n public boolean canSetParameter(String name, Object value) {\n if (value instanceof Boolean){\n if ( name.equalsIgnoreCase(DOMConstants.DOM_CDATA_SECTIONS)\n || name.equalsIgnoreCase(DOMConstants.DOM_COMMENTS)\n || name.equalsIgnoreCase(DOMConstants.DOM_ENTITIES)\n || name.equalsIgnoreCase(DOMConstants.DOM_INFOSET)\n || name.equalsIgnoreCase(DOMConstants.DOM_ELEMENT_CONTENT_WHITESPACE)\n || name.equalsIgnoreCase(DOMConstants.DOM_NAMESPACES)\n || name.equalsIgnoreCase(DOMConstants.DOM_NAMESPACE_DECLARATIONS)\n || name.equalsIgnoreCase(DOMConstants.DOM_SPLIT_CDATA)\n || name.equalsIgnoreCase(DOMConstants.DOM_WELLFORMED)\n || name.equalsIgnoreCase(DOMConstants.DOM_DISCARD_DEFAULT_CONTENT)\n || name.equalsIgnoreCase(DOMConstants.DOM_FORMAT_PRETTY_PRINT)\n || name.equalsIgnoreCase(DOMConstants.DOM_XMLDECL)\n || name.equalsIgnoreCase(JdkConstants.FQ_IS_STANDALONE)\n || name.equalsIgnoreCase(JdkConstants.SP_IS_STANDALONE)){\n // both values supported\n return true;\n }\n else if (name.equalsIgnoreCase(DOMConstants.DOM_CANONICAL_FORM)\n || name.equalsIgnoreCase(DOMConstants.DOM_CHECK_CHAR_NORMALIZATION)\n || name.equalsIgnoreCase(DOMConstants.DOM_DATATYPE_NORMALIZATION)\n || name.equalsIgnoreCase(DOMConstants.DOM_VALIDATE_IF_SCHEMA)\n || name.equalsIgnoreCase(DOMConstants.DOM_VALIDATE)\n // || name.equalsIgnoreCase(DOMConstants.DOM_NORMALIZE_CHARACTERS)\n ) {\n // true is not supported\n return !((Boolean)value);\n }\n else if (name.equalsIgnoreCase(DOMConstants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS)) {\n // false is not supported\n return ((Boolean)value);\n }\n }\n else if (name.equalsIgnoreCase(DOMConstants.DOM_ERROR_HANDLER) &&\n value == null || value instanceof DOMErrorHandler){\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "6fbbdbe043a893035c78f060009310bf", "score": "0.50208944", "text": "public abstract void setSpeed(boolean set, double speed);", "title": "" }, { "docid": "7e644a430fe7e81a394337acd9bd6d79", "score": "0.5010551", "text": "public static boolean getValShowProp() {\n\t\treturn reqValShowProp;\n\t}", "title": "" }, { "docid": "8a29311754633b3afccf87e2ba1c8c4e", "score": "0.5006742", "text": "public void setSpecified(boolean arg) {\n\n if (needsSyncData()) {\n synchronizeData();\n }\n isSpecified(arg);\n\n }", "title": "" }, { "docid": "6bfd258e27daaafd025b2253683fa3d7", "score": "0.50043726", "text": "public static Expression isSet(String propertyName) {\n return not(new PropertyExpression(propertyName, null, EqualFunction.INSTANCE));\n }", "title": "" }, { "docid": "af1b06cfb3d7002908ff4f044fd94d98", "score": "0.50039953", "text": "void boolField(String name, boolean isDefined, boolean value);", "title": "" }, { "docid": "f6ab43a57072c927e648883d5ea85b08", "score": "0.5000481", "text": "public void setBoolean(int parameterIndex, boolean x)\r\n throws java.sql.SQLException {\r\n wrappedStatement.setBoolean(parameterIndex, x);\r\n saveQueryParamValue(parameterIndex, new Boolean(x));\r\n\r\n }", "title": "" }, { "docid": "acfda1efddb375d0e56571737cd56155", "score": "0.4995866", "text": "private void setBooleanTokenState(Token token, String stateName, Object val) {\n\t\tboolean set;\n\t\tif (val instanceof Integer) {\n\t\t\tset = ((Integer) val).intValue() != 0;\n\t\t} else if (val instanceof Boolean) {\n\t\t\tset = ((Boolean) val).booleanValue();\n\t\t} else {\n\t\t\ttry {\n\t\t\t\tset = Integer.parseInt(val.toString()) != 0;\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\tset = Boolean.parseBoolean(val.toString());\n\t\t\t}\n\t\t\ttoken.setState(stateName, set);\n\t\t}\n\t}", "title": "" }, { "docid": "a7d5c56e606696e56b72e3731cca0ce2", "score": "0.49951038", "text": "public void setWarGuard(boolean isWarGuard) {\n/* 2994 */ this.isWarGuard = isWarGuard;\n/* */ }", "title": "" }, { "docid": "6bfb6b607dce6934ab83116081d5951a", "score": "0.49924466", "text": "public void setValueContainsLiteralCharacters(boolean paramBoolean) {\n/* 341 */ this.containsLiteralChars = paramBoolean;\n/* */ }", "title": "" }, { "docid": "57a9484c35c558ff068b76b52d978e17", "score": "0.49909917", "text": "public Builder setArgOptional(boolean value) {\n \n argOptional_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3633e30fbe8ffc2f98792ddb2e4e1b31", "score": "0.49890068", "text": "void setTrueSight(boolean trueSight);", "title": "" }, { "docid": "3b9604ccf4267941f2e902029d6b5931", "score": "0.49819437", "text": "public abstract void setItemValue(boolean value);", "title": "" }, { "docid": "e27399976f1b4f537b1e7aaf73283236", "score": "0.49617884", "text": "public void setValue(boolean value) {\n\t\tthis.value = value;\n\t}", "title": "" }, { "docid": "91a0c961a7b22454362d54a8f34118ed", "score": "0.4960964", "text": "public void setOption(java.lang.String param){\n localOptionTracker = param != null;\n \n this.localOption=param;\n \n\n }", "title": "" }, { "docid": "91a0c961a7b22454362d54a8f34118ed", "score": "0.4960964", "text": "public void setOption(java.lang.String param){\n localOptionTracker = param != null;\n \n this.localOption=param;\n \n\n }", "title": "" }, { "docid": "10ab94207fc7d5cdb0201af1c157989b", "score": "0.49530104", "text": "public static void setSpiceUseCellParameters(boolean p) { cacheSpiceUseCellParameters.setBoolean(p); }", "title": "" }, { "docid": "0cffb1d24da64cb93f74eb8608fd94b0", "score": "0.4952188", "text": "public void doSetisSearchedById(boolean val) {\n this.isSearchedById = val;\n }", "title": "" }, { "docid": "45f65a6a81a0fed1696282b7195f82cf", "score": "0.4946946", "text": "public void setIsPartnerRequired (boolean IsPartnerRequired);", "title": "" }, { "docid": "985377ce0ae5005e95aff57c60b980cd", "score": "0.49398285", "text": "public void setActive(java.lang.Boolean value);", "title": "" }, { "docid": "f30f2d0937c0683c276cdfbd56435da4", "score": "0.49382082", "text": "public boolean isSetterInvokedUStaff();", "title": "" }, { "docid": "35ceb6311c84d8467b01c95cdba40d44", "score": "0.49297133", "text": "public void setPrzyjeto(boolean value) {\r\n this.przyjeto = value;\r\n }", "title": "" }, { "docid": "3e4edb5aa706fbd4a80edc93ea0fc9fc", "score": "0.49263853", "text": "@DISPID(163)\n @PropPut\n void setSmooth(\n boolean rhs);", "title": "" }, { "docid": "d3d946d7401d72c41762b9f15f6a3ae4", "score": "0.4924821", "text": "public void setParameter(String name, Object value) throws DOMException {\n // If the value is a boolean\n if (value instanceof Boolean) {\n boolean bValue = ((Boolean) value);\n\n if (name.equalsIgnoreCase(DOMConstants.DOM_COMMENTS)) {\n fFeatures = bValue ? fFeatures | COMMENTS : fFeatures\n & ~COMMENTS;\n // comments\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_COMMENTS, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_COMMENTS, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_CDATA_SECTIONS)) {\n fFeatures = bValue ? fFeatures | CDATA : fFeatures\n & ~CDATA;\n // cdata-sections\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_CDATA_SECTIONS, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_CDATA_SECTIONS, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_ENTITIES)) {\n fFeatures = bValue ? fFeatures | ENTITIES : fFeatures\n & ~ENTITIES;\n // entities\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_ENTITIES, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_ENTITIES, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_NAMESPACES)) {\n fFeatures = bValue ? fFeatures | NAMESPACES : fFeatures\n & ~NAMESPACES;\n // namespaces\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_NAMESPACES, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_NAMESPACES, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name\n .equalsIgnoreCase(DOMConstants.DOM_NAMESPACE_DECLARATIONS)) {\n fFeatures = bValue ? fFeatures | NAMESPACEDECLS\n : fFeatures & ~NAMESPACEDECLS;\n // namespace-declarations\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_NAMESPACE_DECLARATIONS, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_NAMESPACE_DECLARATIONS, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_SPLIT_CDATA)) {\n fFeatures = bValue ? fFeatures | SPLITCDATA : fFeatures\n & ~SPLITCDATA;\n // split-cdata-sections\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_SPLIT_CDATA, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_SPLIT_CDATA, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_WELLFORMED)) {\n fFeatures = bValue ? fFeatures | WELLFORMED : fFeatures\n & ~WELLFORMED;\n // well-formed\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_WELLFORMED, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_WELLFORMED, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name\n .equalsIgnoreCase(DOMConstants.DOM_DISCARD_DEFAULT_CONTENT)) {\n fFeatures = bValue ? fFeatures | DISCARDDEFAULT\n : fFeatures & ~DISCARDDEFAULT;\n // discard-default-content\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_DISCARD_DEFAULT_CONTENT, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_DISCARD_DEFAULT_CONTENT, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_FORMAT_PRETTY_PRINT)) {\n fFeatures = bValue ? fFeatures | PRETTY_PRINT : fFeatures\n & ~PRETTY_PRINT;\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_XSL_OUTPUT_INDENT,DOMConstants.DOM3_EXPLICIT_TRUE);\n fDOMConfigProperties.setProperty(OutputPropertiesFactory.S_KEY_INDENT_AMOUNT, Integer.toString(4));\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_XSL_OUTPUT_INDENT,DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_XMLDECL)) {\n fFeatures = bValue ? fFeatures | XMLDECL : fFeatures\n & ~XMLDECL;\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_XSL_OUTPUT_OMIT_XML_DECL, \"no\");\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_XSL_OUTPUT_OMIT_XML_DECL, \"yes\");\n }\n } else if (ImplPropMap.ISSTANDALONE.is(name)) {\n fIsStandalone.setValue(name, bValue, State.APIPROPERTY);\n fFeatures = fIsStandalone.getValue() ? fFeatures | IS_STANDALONE : fFeatures & ~IS_STANDALONE;\n fDOMConfigProperties.setProperty(DOMConstants.NS_IS_STANDALONE,\n fIsStandalone.getValue() ? DOMConstants.DOM3_EXPLICIT_TRUE : DOMConstants.DOM3_EXPLICIT_FALSE);\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_ELEMENT_CONTENT_WHITESPACE)) {\n fFeatures = bValue ? fFeatures | ELEM_CONTENT_WHITESPACE : fFeatures\n & ~ELEM_CONTENT_WHITESPACE;\n // element-content-whitespace\n if (bValue) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_ELEMENT_CONTENT_WHITESPACE, DOMConstants.DOM3_EXPLICIT_TRUE);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_ELEMENT_CONTENT_WHITESPACE, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS)) {\n // false is not supported\n if (!bValue) {\n // Here we have to add the Xalan specific DOM Message Formatter\n String msg = Utils.messages.createMessage(\n MsgKey.ER_FEATURE_NOT_SUPPORTED,\n new Object[] { name });\n throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);\n } else {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_IGNORE_UNKNOWN_CHARACTER_DENORMALIZATIONS, DOMConstants.DOM3_EXPLICIT_TRUE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_CANONICAL_FORM)\n || name.equalsIgnoreCase(DOMConstants.DOM_VALIDATE_IF_SCHEMA)\n || name.equalsIgnoreCase(DOMConstants.DOM_VALIDATE)\n || name.equalsIgnoreCase(DOMConstants.DOM_CHECK_CHAR_NORMALIZATION)\n || name.equalsIgnoreCase(DOMConstants.DOM_DATATYPE_NORMALIZATION)\n // || name.equalsIgnoreCase(DOMConstants.DOM_NORMALIZE_CHARACTERS)\n ) {\n // true is not supported\n if (bValue) {\n String msg = Utils.messages.createMessage(\n MsgKey.ER_FEATURE_NOT_SUPPORTED,\n new Object[] { name });\n throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);\n } else {\n if (name.equalsIgnoreCase(DOMConstants.DOM_CANONICAL_FORM)) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_CANONICAL_FORM, DOMConstants.DOM3_EXPLICIT_FALSE);\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_VALIDATE_IF_SCHEMA)) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_VALIDATE_IF_SCHEMA, DOMConstants.DOM3_EXPLICIT_FALSE);\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_VALIDATE)) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_VALIDATE, DOMConstants.DOM3_EXPLICIT_FALSE);\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_VALIDATE_IF_SCHEMA)) {\n fDOMConfigProperties.setProperty(DOMConstants.DOM_CHECK_CHAR_NORMALIZATION\n + DOMConstants.DOM_CHECK_CHAR_NORMALIZATION, DOMConstants.DOM3_EXPLICIT_FALSE);\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_DATATYPE_NORMALIZATION)) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_DATATYPE_NORMALIZATION, DOMConstants.DOM3_EXPLICIT_FALSE);\n } /* else if (name.equalsIgnoreCase(DOMConstants.DOM_NORMALIZE_CHARACTERS)) {\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_NORMALIZE_CHARACTERS, DOMConstants.DOM3_EXPLICIT_FALSE);\n } */\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_INFOSET)) {\n if (bValue) {\n fFeatures &= ~ENTITIES;\n fFeatures &= ~CDATA;\n fFeatures &= ~SCHEMAVALIDATE;\n fFeatures &= ~DTNORMALIZE;\n fFeatures |= NAMESPACES;\n fFeatures |= NAMESPACEDECLS;\n fFeatures |= WELLFORMED;\n fFeatures |= ELEM_CONTENT_WHITESPACE;\n fFeatures |= COMMENTS;\n\n // infoset\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_NAMESPACES, DOMConstants.DOM3_EXPLICIT_TRUE);\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_NAMESPACE_DECLARATIONS, DOMConstants.DOM3_EXPLICIT_TRUE);\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_COMMENTS, DOMConstants.DOM3_EXPLICIT_TRUE);\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_ELEMENT_CONTENT_WHITESPACE, DOMConstants.DOM3_EXPLICIT_TRUE);\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_WELLFORMED, DOMConstants.DOM3_EXPLICIT_TRUE);\n\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_ENTITIES, DOMConstants.DOM3_EXPLICIT_FALSE);\n\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_CDATA_SECTIONS, DOMConstants.DOM3_EXPLICIT_FALSE);\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_VALIDATE_IF_SCHEMA, DOMConstants.DOM3_EXPLICIT_FALSE);\n fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS\n + DOMConstants.DOM_DATATYPE_NORMALIZATION, DOMConstants.DOM3_EXPLICIT_FALSE);\n }\n } else if (name.equalsIgnoreCase(DOMConstants.DOM_NORMALIZE_CHARACTERS)) {\n String msg = Utils.messages.createMessage(\n MsgKey.ER_FEATURE_NOT_SUPPORTED,\n new Object[] { name });\n throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);\n } else {\n // Setting this to false has no effect\n }\n } // If the parameter value is not a boolean\n else if (name.equalsIgnoreCase(DOMConstants.DOM_ERROR_HANDLER)) {\n if (value == null || value instanceof DOMErrorHandler) {\n fDOMErrorHandler = (DOMErrorHandler)value;\n } else {\n String msg = Utils.messages.createMessage(\n MsgKey.ER_TYPE_MISMATCH_ERR,\n new Object[] { name });\n throw new DOMException(DOMException.TYPE_MISMATCH_ERR, msg);\n }\n } else if (\n name.equalsIgnoreCase(DOMConstants.DOM_SCHEMA_LOCATION)\n || name.equalsIgnoreCase(DOMConstants.DOM_SCHEMA_TYPE)\n || name.equalsIgnoreCase(DOMConstants.DOM_NORMALIZE_CHARACTERS)\n && value != null) {\n String msg = Utils.messages.createMessage(\n MsgKey.ER_FEATURE_NOT_SUPPORTED,\n new Object[] { name });\n throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);\n } else {\n String msg = Utils.messages.createMessage(\n MsgKey.ER_FEATURE_NOT_FOUND,\n new Object[] { name });\n throw new DOMException(DOMException.NOT_FOUND_ERR, msg);\n }\n }", "title": "" }, { "docid": "d8c90b115e5828a83c6fc9ab240181af", "score": "0.49163297", "text": "public void setReadOnly(boolean param){\n \n // setting primitive attribute tracker to true\n localReadOnlyTracker =\n true;\n \n this.localReadOnly=param;\n \n\n }", "title": "" }, { "docid": "b8980b5124b8a03cb91395d710ac29b2", "score": "0.49159494", "text": "Users setIsSubscriber(Boolean isSubscriber);", "title": "" }, { "docid": "8af16f428716747f4cf990874aca6ac1", "score": "0.49119732", "text": "public void setIsTrue(boolean isTrue) {\n this.isTrue = isTrue;\n }", "title": "" }, { "docid": "544bca91624be9bf0a62f480081cf18d", "score": "0.49031037", "text": "public void setPropvalue(java.lang.String param) {\n\n\t\t\tthis.localPropvalue = param;\n\n\t\t}", "title": "" }, { "docid": "544bca91624be9bf0a62f480081cf18d", "score": "0.49031037", "text": "public void setPropvalue(java.lang.String param) {\n\n\t\t\tthis.localPropvalue = param;\n\n\t\t}", "title": "" }, { "docid": "544bca91624be9bf0a62f480081cf18d", "score": "0.49031037", "text": "public void setPropvalue(java.lang.String param) {\n\n\t\t\tthis.localPropvalue = param;\n\n\t\t}", "title": "" }, { "docid": "1e4d937fb6bd7ce1faad0d83f0b48398", "score": "0.49028704", "text": "@VTID(25)\r\n void setLocked(\r\n boolean rhs);", "title": "" }, { "docid": "e4a66e88159276bbee3b36cbf27662ec", "score": "0.489922", "text": "public TypedParameter(final Boolean value) {\n this.type = ParameterType.WHOLE_NUMBER;\n this.value = (value != null ? (value ? TRUE : FALSE) : null);\n }", "title": "" }, { "docid": "74c1e2314c500c2378d4616459c6bd36", "score": "0.48968974", "text": "void setBoolean(String key, boolean value);", "title": "" }, { "docid": "b3476e802b91550511dc724722831603", "score": "0.4896102", "text": "public void setIsTranslated (boolean IsTranslated)\n{\nset_Value (\"IsTranslated\", new Boolean(IsTranslated));\n}", "title": "" } ]
8f38c60afa614b54a166c7e56316c183
show the result of spinning the wheel
[ { "docid": "3b4420ec70a36b653272f7a2015ff502", "score": "0.71092206", "text": "public static void spinWheel(String result) {\n System.out.println(\"The category that was spun is: \" + result);\n }", "title": "" } ]
[ { "docid": "1c2bd21f14789aa32191ce8a5be0a0e4", "score": "0.7117513", "text": "void spinWheel() {\n System.out.println(\"\\nThe wheel is spinning and the ball is rolling!! \");\n for (int i = 0; i < 3; i++) {\n try {\n Thread.sleep(500);\n System.out.println(\".\");\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"\\nNo more bets!\");\n for (int i = 0; i <= 1; i++) {\n try {\n Thread.sleep(500);\n System.out.println(\" o\");\n Thread.sleep(500);\n System.out.println(\" o\");\n Thread.sleep(500);\n System.out.println(\" o\");\n Thread.sleep(500);\n System.out.println(\" o\");\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n System.out.println(\"\\nIt looks like the ball has landed on .... \");\n System.out.println();\n for (int i = 0; i <= 3; i++) {\n try {\n Thread.sleep(800);\n System.out.println(\".\");\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "5d1c13ad9caddbf2f15eb1dc84a62692", "score": "0.6260895", "text": "@Override\n public void execute() {\n\n if (Robot.oi.mechanism.getYButton()) { // remove later just for testing\n isOn = true;\n }\n\n if (isOn) {\n\n spinner.set(ControlMode.PercentOutput, -0.40);\n Timer.delay(6.154); // 4.7 upper limit 4.63 lowwer limit at 40%\n // slow at 20% is 15 lots less error\n spinner.set(ControlMode.PercentOutput, .20);\n Timer.delay(0.245);\n\n // spinner.set(ControlMode.PercentOutput, -0.80);\n // Timer.delay(2.2);\n\n // spinner.set(ControlMode.PercentOutput, .40);\n // Timer.delay(0.245);\n\n // spinner.set(ControlMode.PercentOutput, -1);\n // Timer.delay(1.7);\n\n // spinner.set(ControlMode.PercentOutput, .50);\n // Timer.delay(0.245);\n\n isOn = false;\n } else {\n spinner.set(ControlMode.PercentOutput, 0);\n }\n\n }", "title": "" }, { "docid": "4621cbbb471ceebfd0d3ad7ef1ba5fb8", "score": "0.6250524", "text": "public void run() {\n\t\t\t\t\t\t\tmeter1.setValue((float) vss);\n\t\t\t\t\t\t\tmeter2.setValue((float) rpm / 100);\n\t\t\t\t\t\t\tmeter3.setValue((float) temp);\n\t\t\t\t\t\t\tet1.setText((rpm * 10) + \"\");\n\t\t\t\t\t\t\tet2.setText(temp + \"\");\n\t\t\t\t\t\t\tet3.setText(vss + \"\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "title": "" }, { "docid": "2839e903e14cd6876edbf5ad382b905c", "score": "0.6200553", "text": "@Override\n public void execute() {\n // spin the motor slowly until it reaches the desired revolution count\n controller.setReference(this.totalRevolutionsNeeded, ControlType.kPosition);\n // System.out.println(spinnerSubsystem.getEncoderPosition());\n }", "title": "" }, { "docid": "4c4aff44487645fcefa181ca1720f565", "score": "0.6163657", "text": "public int spin() {\n \n num = spinner.spin();\n \n System.out.println(\"\\nYou spun a \" + num + \"!\");\n numTurns++;\n return num;\n }", "title": "" }, { "docid": "a14d9af30595a86a9c75ae525d66b9b1", "score": "0.60146815", "text": "private void stepDegreeViewShow() {\n textView_degree.setText(\" Angle : \" + degreeDisplay + \" degree\");\n }", "title": "" }, { "docid": "7cc9a7da54fe3140efcc9c26097363c9", "score": "0.5984823", "text": "@Override\n\tpublic void printResult() {\n\t\tSystem.out.println(this.name); // interface Figure 의 String name 도 가져오네\n\t\tdouble result = (double) Math.pow(radius, 2) * Math.PI;\n\t\tSystem.out.println(\"원의 넓이는: \" + String.format(\"%.3f\", result) + \"입니다\");\n\n\t}", "title": "" }, { "docid": "188135f0c9b2ca4e25ec12c30254819a", "score": "0.59460825", "text": "public void intake(double speed){\n\n TALON_BAR.set(ControlMode.PercentOutput, speed);\n\n }", "title": "" }, { "docid": "99af141bf318d94b3efcc987af5a991c", "score": "0.5880594", "text": "@Override\r\n\tpublic void display() {\n\t\tSystem.out.println(\"A circle was randomly generated with a radius of \" + \r\n\t\t\t\tString.format(\"%,.4f\", radius));\r\n\t}", "title": "" }, { "docid": "5b033c86458e1c6b5f0af709902d8555", "score": "0.58037907", "text": "public void spin() {\r\n\t\t//delay between selection of RouletteSquares is set to a random\r\n\t\t//amount of time between a 10th of a second and 1 second\r\n\t\tlong delay = ThreadLocalRandom.current().nextLong(100, 1000);\r\n\t\t//sets duration of spin to a random amount of time between 6\r\n\t\t//seconds and 12 seconds\r\n\t\tlong duration = ThreadLocalRandom.current().nextLong(6000, 12000);\r\n\t\tRunnable spinner = new RouletteSpin(delay, duration);\r\n\t\tnew Thread(spinner).start();\r\n\t}", "title": "" }, { "docid": "639a55b8b0e059852f3c137fe0411e45", "score": "0.57894564", "text": "@Override\r\n\tprotected void execute() {\n\t\tRobot.intakeSubsystem.spinOutput();\r\n\t}", "title": "" }, { "docid": "237be2f10a39bad1b493a3e090c18810", "score": "0.57652825", "text": "public void spinUp() {\n setPower(1);\n }", "title": "" }, { "docid": "c90539ca127fd9513b394ae69ffc7ef8", "score": "0.5754592", "text": "private void realSpinResults() {\n\t\tslot = new SlotMachineImpl(player);\n\t\tslot.spin(1, selections.getData());\n\t\tlabels[SlotMachineConstants.GB_TOP_LEFT].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_ZERO,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_ZERO })\n\t\t\t\t\t\t\t\t.getIcon())));\n\t\tlabels[SlotMachineConstants.GB_TOP_MIDDLE].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_ZERO,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_ONE })\n\t\t\t\t\t\t\t\t.getIcon())));\n\t\tlabels[SlotMachineConstants.GB_TOP_RIGHT].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_ZERO,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_TWO })\n\t\t\t\t\t\t\t\t.getIcon())));\n\n\t\tlabels[SlotMachineConstants.GB_MIDDLE_LEFT].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_ONE,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_ZERO })\n\t\t\t\t\t\t\t\t.getIcon())));\n\t\tlabels[SlotMachineConstants.GB_MIDDLE_MIDDLE].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_ONE,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_ONE })\n\t\t\t\t\t\t\t\t.getIcon())));\n\t\tlabels[SlotMachineConstants.GB_MIDDLE_RIGHT].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_ONE,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_TWO })\n\t\t\t\t\t\t\t\t.getIcon())));\n\n\t\tlabels[SlotMachineConstants.GB_BOTTOM_LEFT].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_TWO,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_ZERO })\n\t\t\t\t\t\t\t\t.getIcon())));\n\t\tlabels[SlotMachineConstants.GB_BOTTOM_MIDDLE].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_TWO,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_ONE })\n\t\t\t\t\t\t\t\t.getIcon())));\n\t\tlabels[SlotMachineConstants.GB_BOTTOM_RIGHT].setIcon(new ImageIcon(\n\t\t\t\tgetClass().getResource(\n\t\t\t\t\t\tslot.getBoardPosition(\n\t\t\t\t\t\t\t\tnew int[] { SlotMachineConstants.INDEX_TWO,\n\t\t\t\t\t\t\t\t\t\tSlotMachineConstants.INDEX_TWO })\n\t\t\t\t\t\t\t\t.getIcon())));\n\t}", "title": "" }, { "docid": "612cd7206d6d5658c4b5bcc91562490d", "score": "0.57465476", "text": "public void displayTick();", "title": "" }, { "docid": "c54509f02ccf7f655222d57a1a0140c6", "score": "0.5743375", "text": "public void spinWheelForRevolutions() {\n spinMotor(kCountRevSpeed);\n m_readyToCount = true;\n }", "title": "" }, { "docid": "8de3b2a3d7d95ef76d36344cea540404", "score": "0.5695085", "text": "void showProgress();", "title": "" }, { "docid": "8de3b2a3d7d95ef76d36344cea540404", "score": "0.5695085", "text": "void showProgress();", "title": "" }, { "docid": "8de3b2a3d7d95ef76d36344cea540404", "score": "0.5695085", "text": "void showProgress();", "title": "" }, { "docid": "2543bea6e9bea515496db87a2105228b", "score": "0.5678712", "text": "void mouseWheel(int rotation);", "title": "" }, { "docid": "1d1f605cca495484f10daaea2b65ca48", "score": "0.5675695", "text": "public void spinWheelForColor() {\n spinMotor(kFindColorSpeed);\n m_readyToFindColor = true;\n }", "title": "" }, { "docid": "8c879394a5807ff188e5eb40aa992cf4", "score": "0.56635195", "text": "public void update()\r\n\t{\t\t\r\n\r\n\t\t//Rotates wheel\r\n\t\tif(tank.getCurrentValue()>0)\r\n\t\t\tangle-=(controller.getCurrentValue()-14)/12.0;\r\n\t\telse\r\n\t\t\tcontroller.resetCurrentValue();\r\n\r\n\r\n\t\t//Checks if a revolution has been finished, and counts it.\r\n\t\tif(angle/-360 != revolution)\r\n\t\t{\r\n\t\t\trevolutionsDone++;\r\n\t\t\trevolution=angle/-360;\r\n\t\t}\r\n\r\n\t\tCarDashSimulator.frame.repaint();\r\n\r\n\t\ttry{\r\n\t\t\t//Delay is in milliseconds\r\n\t\t\tThread.sleep(delay);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "6e7072944c7e3cbe6a0d8511d54febfa", "score": "0.56516445", "text": "void handleWheel(WheelInteractionData wheelData);", "title": "" }, { "docid": "48eb5c55f128440e174437149aa29023", "score": "0.5633557", "text": "public void printResult() {\n\t\tchar dir = 'N';\n\t\t\n\t\tswitch(facing){\n\t\t\tcase 0:\n\t\t\t\tdir = 'N';\n\t\t\t\tbreak;\n\t\t\tcase 90:\n\t\t\t\tdir = 'E';\n\t\t\t\tbreak;\n\t\t\tcase 180:\n\t\t\t\tdir = 'S';\n\t\t\t\tbreak;\n\t\t\tcase 270:\n\t\t\t\tdir = 'W';\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t}\n\t\tSystem.out.println(\"\"+ x + \" \"+ y + \" \" + dir);\n\t}", "title": "" }, { "docid": "adcd783ae5318a25bf0a88eb4cc32da0", "score": "0.56101966", "text": "public void show() {\n Timer t = new Timer() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\tif (progressBarCancelled) {\r\n\t\t\t\t\tcancel();\r\n\t\t\t\t}\r\n\t\t\t\tdouble progress = progressBar.getProgress() + 4;\r\n\t\t\t\tif (progress > 100) {\r\n\t\t\t\t\tprogress = 0; //start over\r\n\t\t\t\t}\r\n\t\t\t\tprogressBar.setProgress(progress);\r\n\t\t\t}\r\n\t\t};\r\n\t\tt.scheduleRepeating(400); //how fast we update progress\r\n \r\n super.show();\r\n }", "title": "" }, { "docid": "a3751b8d55fa3b9b6817233b0e18bfa3", "score": "0.55443853", "text": "public void setSpinning(boolean spin)\n\t{\n\t\tisSpinning = spin;\n\t}", "title": "" }, { "docid": "cf71c89faafa722f3363c04a909facc4", "score": "0.5543489", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tnetworkOut.println(String.format(\"%1.3f\\t%1.3f\\t\", outRudder, outAileron));\n\t\t\t\t\n\t\t\t\ttestOut += 0.025;\n\t\t\t\t\n\t\t\t\tif (testOut > 1.0) {\n\t\t\t\t\ttestOut = -1.0;\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "a64fcb06c11efc912dff926734b6a66b", "score": "0.5540618", "text": "@Override\n public void execute() {\n m_radians = TestingDashboard.getInstance().getNumber(m_arm, \"ElbowAngle\");\n System.out.println(finished);\n finished = true;\n }", "title": "" }, { "docid": "5665fa2e08a28c56511a0cb1d49a8085", "score": "0.5518551", "text": "public void setSpin() {\n vex.set(EndEffectorConstants.VEX_FORWARD * EndEffectorConstants.VEX_SPEED);\n }", "title": "" }, { "docid": "2d5d3aa3ed7713390f7eec0e6de79c74", "score": "0.551841", "text": "public void spinMotor(double speed) {\n m_spinnerMotor.set(speed);\n }", "title": "" }, { "docid": "02963648fd14adab492ee5739be89f62", "score": "0.55068547", "text": "private void calculateAndDisplaySpeed(){\n double meter = distance *1000;\n long elapsedMillis = SystemClock.elapsedRealtime() - simpleChronometer.getBase();\n double second = elapsedMillis/1000;\n KMH_DISPLAY.setText(\"\"+df.format(meter/second));\n }", "title": "" }, { "docid": "55a88bfb9c72f5f61fdb7f03bb0cd698", "score": "0.5502279", "text": "@Override\n public void onSensorChanged(SensorEvent event) {\n if(isRunning) {\n tv_steps.setText(String.valueOf(event.values[0]));\n }\n }", "title": "" }, { "docid": "6024f2654040bbf840400ca183091c58", "score": "0.5488771", "text": "@Override\n\tpublic void run() {\n\t\twhile (true) {\n\t\t\ttry {\n\t\t\t\tThread.sleep(100);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tTime += 1;\n\t\t\tif (Time >= 360) {\n\t\t\t\tTime = 0;\n\t\t\t}\n\t\t\tSystem.out.println(Time);\n\t\t\trepaint();\n\t\t}\n\t}", "title": "" }, { "docid": "a7e7fd13f9e089873b882e27154f291a", "score": "0.548545", "text": "@Test\n public void testPinwheel(){\n updateActiveTurtle();\n controller.interpretCommand(\"set :distance 10 repeat 18 [ forward product 5 :distance right 150 forward product 6 :distance right 100 forward product 3 :distance right 90 ] \");\n updateLatestCommandOfFirstActiveTurtle();\n assertTrue(Math.abs(x) <= 0.0000000001);\n assertTrue(Math.abs(y) <= 0.0000000001);\n assertTrue(direction == 90.0);\n assertTrue(isPenDown);\n assertTrue(isVisible);\n turtleTrace.clearCommandList();\n }", "title": "" }, { "docid": "8a5dba471fb3b040e443f637397ad262", "score": "0.5472707", "text": "protected void execute() {\n \tif (direction) {\n \tRobot.grabber.grabberStartSpinning();\n \t}else {\n \tRobot.grabber.grabberReverseSpin();\n\n \t}\n }", "title": "" }, { "docid": "7067bdb7ae2f3dce6a133b0303f5b01e", "score": "0.5470348", "text": "@Override\n protected void onProgressUpdate(String... values) {\n super.onProgressUpdate(values);\n\n String message = \"\";\n for ( String str : values )\n message += str + \"> \";\n\n displayProgress(message);\n\n MainActivity.this.spinningCircle.setVisibility(View.VISIBLE);\n }", "title": "" }, { "docid": "7bc882fda7da01091b8d49e63770a1bd", "score": "0.54698634", "text": "static void showMessage (double result) {\n System.out.println(\"Result: \" + result);\n }", "title": "" }, { "docid": "f2cfe38cb8270202c74487998d136c52", "score": "0.5441896", "text": "@Override\n\tpublic void teleopPeriodic() {\n\n\t\tdouble leftYstick = _joy.getY();\n\t\tdouble motorOutput = _talon.getMotorOutputPercent();\n\t\tboolean button1 = _joy.getRawButton(1);\n\n\t\t/* prepare line to print */\n\t\t_sb.append(\"\\tout:\");\n\t\t_sb.append(motorOutput);\n\t\t_sb.append(\"\\tcur:\");\n\t\t_sb.append(_talon.getOutputCurrent());\n\n\t\tif (button1) {\n\t\t\t_talon.set(ControlMode.Current, leftYstick * 40); // Scale to 40A\n\t\t} else {\n\t\t\t_talon.set(ControlMode.PercentOutput, leftYstick);\n\t\t}\n\t\t/* if Talon is in position closed-loop, print some more info */\n\t\tif (_talon.getControlMode() == ControlMode.Current) {\n\t\t\t/* append more signals to print when in speed mode. */\n\t\t\t_sb.append(\"\\terrNative:\");\n\t\t\t_sb.append(_talon.getClosedLoopError(0));\n\t\t\t_sb.append(\"\\ttrg:\");\n\t\t\t_sb.append(leftYstick * 40);\n\t\t}\n\n\t\t/*\n\t\t * print every ten loops, printing too much too fast is generally bad\n\t\t * for performance\n\t\t */\n\t\tif (++_loops >= 10) {\n\t\t\t_loops = 0;\n\t\t\tSystem.out.println(_sb.toString());\n\t\t}\n\t\t_sb.setLength(0);\n\t}", "title": "" }, { "docid": "04ca1d259c0cef74923f31d853be4896", "score": "0.54344463", "text": "public void mouseWheelDown(){\n robot.mouseWheel(1);\n }", "title": "" }, { "docid": "4cbc97b404141042c82f7a275347f627", "score": "0.54200363", "text": "public void timingEvent(float progress) {\r\n\t\t\t\tdRadius = 25 + 50 * progress;\r\n\t\t\t}", "title": "" }, { "docid": "cfa527de614dab6dbc952d2fd3b11e48", "score": "0.5385326", "text": "@Override\n public void run() {\n tvAngleFuyang.setText(\"俯仰角:\" + rotateAngle1);\n// fuyang = 90 - Math.toDegrees(B) + \"\";\n tvAngleHenggun.setText(\"横滚角:\" + rotateAngle2);\n// henggun = alpha + \"\";\n tvAngleOrientation.setText(\"方位角:\" + rotateAngle0);\n if (Math.abs(rotateAngle - rotateAngle0) > 10) {\n rotateAngle = rotateAngle0;\n mls.myLocationIcon(BitmapDescriptorFactory.fromBitmap(BitmapUtil.rotaingImageView(rotateAngle, locBitmap)));\n aMap.setMyLocationStyle(mls);\n }\n\n// fangwei = rotateAngle0 + \"\";\n\n// tvAngleFuyang.setText(\"俯仰角:\" + Math.toDegrees(angle0));\n// tvAngleHenggun.setText(\"横滚角:\" + Math.toDegrees(angle1));\n// tvAngleOrientation.setText(\"方位角:\" + (90 - Math.toDegrees(angle2)));\n }", "title": "" }, { "docid": "81ab2130a082b8ee08e20eab0083e7ef", "score": "0.5366391", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tdegree +=90;\r\n\t\t\t\tif (degree >= 360){\r\n\t\t\t\t\tdegree = 0;\r\n\t\t\t\t}\r\n\t\t\t\t//System.out.println(degree);\r\n\t\t\t\trepaint();\r\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "d5c62cf8b751a56b04b91a6b5d174b95", "score": "0.53444827", "text": "@Override\n public void onClick(View v) {\n\n simpleProgressBarCircular1.setText(\"\");\n simpleProgressBarCircular2.setText(\"\");\n simpleProgressBarCircular3.setText(\"\");\n simpleProgressBarHorizontal.setText(\"\");\n //simpleProgressBarCircular1.setProgressText(\"\");\n //simpleProgressBarHorizontal.setCircular();\n\n\n simpleProgressBarCircular1.setIndeterminate(true);\n simpleProgressBarCircular2.setIndeterminate(true);\n simpleProgressBarCircular3.setIndeterminate(true);\n simpleProgressBarHorizontal.setIndeterminate(true);\n\n //simpleProgressBarCircular1.setCircularRadious(x);\n //simpleProgressBarCircular1.invalidate();\n //x+=30;\n\n simpleProgressBarCircular1.show();\n simpleProgressBarCircular2.show();\n simpleProgressBarCircular3.show();\n simpleProgressBarHorizontal.show();\n }", "title": "" }, { "docid": "299cbd0deff6f872778364cf8a885fc9", "score": "0.53401655", "text": "@Override\n public void run() {\n mProgress.setProgress(progresscircle);\n tv.setText(pStatus + \"\");\n if (pStatus < Double.parseDouble(s1.getWeight()) && pStatus > Double.parseDouble(s1.getWeight()) - 1)\n tv.setText(s1.getWeight());\n }", "title": "" }, { "docid": "6e7292137d684f115f955c27de682a14", "score": "0.5333626", "text": "@Override\r\n public void run() {\r\n // disables JButton component if it was initialized on object creation\r\n if (button != null) {\r\n button.setEnabled(false);\r\n scriptBtn.setEnabled(false);\r\n }\r\n // sets different value for Altimiter display control\r\n int value = 1;\r\n if (controlObject.getDrawClass().getClass().getSimpleName().equals(\"AltimeterDraw\")) {\r\n Random rand = new Random();\r\n value = (int) ((rand.nextDouble() + 1) * 100);\r\n }\r\n /**\r\n * if control's old value is less than new value, it will run for loop\r\n * to increment the old value till it is equal to new value\r\n */\r\n if (oldValue < newValue) {\r\n for (int i = oldValue; i <= newValue; i += value) {\r\n updateValue(i);\r\n try {\r\n Thread.sleep(25);\r\n } catch (InterruptedException ie) {\r\n ie.printStackTrace();\r\n }\r\n }\r\n value = newValue;\r\n updateValue(value);\r\n }\r\n /**\r\n * if control's new value is less than old value, it will run for loop\r\n * to decrement the old value till it is equal to new value\r\n */\r\n else {\r\n for (int i = oldValue; i >= newValue; i -= value) {\r\n updateValue(i);\r\n try {\r\n Thread.sleep(25);\r\n } catch (InterruptedException ie) {\r\n ie.printStackTrace();\r\n }\r\n }\r\n value = newValue;\r\n updateValue(value);\r\n }\r\n // enables JButton component if it was initialized on object creation\r\n if (button != null) {\r\n button.setEnabled(true);\r\n scriptBtn.setEnabled(true);\r\n }\r\n }", "title": "" }, { "docid": "d3cd66e995b1c23796dbaa6b750812ec", "score": "0.5317169", "text": "@Override\n public void onClick(View v) {\n\n simpleProgressBarCircular1.setMax(100);\n simpleProgressBarCircular2.setMax(100);\n simpleProgressBarCircular3.setMax(100);\n simpleProgressBarCircular2.runSteps(5,96);\n simpleProgressBarCircular3.runSteps(5,96);\n\n simpleProgressBarCircular1.runSteps(5, 100, new SimpleProgressBar.StepsCallback() {\n @Override\n public void onProgressing(int currentProgress) {\n Log.e(\"SimpleProgressBar\",\"Main StepsCallback onProgressing: \"+currentProgress);\n }\n\n @Override\n public void onFinish() {\n Log.e(\"SimpleProgressBar\",\"Main StepsCallback onFinish\");\n simpleProgressBarCircular1.startTimer(5);\n simpleProgressBarCircular2.startTimer(5);\n simpleProgressBarCircular3.startTimer(5);\n simpleProgressBarHorizontal.startTimer(5);\n }\n });\n\n simpleProgressBarHorizontal.setMax(100);\n simpleProgressBarHorizontal.runSteps(5,96);\n }", "title": "" }, { "docid": "3f6d162fbee9ea7ba8dada5e2d0d8c73", "score": "0.5317119", "text": "@Override\n public int wheelCount() {\n return 4;\n }", "title": "" }, { "docid": "eb2b779d7b4d101193918b9c49985271", "score": "0.52845705", "text": "public void paintComponent(Graphics g)\r\n\t{\r\n\t\t//Sets size and location.\r\n\t\tsuper.paintComponent(g);\r\n\t\tthis.setLocation(420, 125);\r\n\t\tthis.setSize(255,235);\r\n\r\n\t\t//Background for wheel.\r\n\t\tg.setColor(Color.black);\r\n\t\tg.fillArc(0, 0, 235, 235, 0, 360);\r\n\r\n\t\t//Foreground of the wheel\r\n\t\tg.setColor(Color.gray);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-335, 40);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-20, 40);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-65, 40);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-110, 40);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-155, 40);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-200, 40);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-245, 40);\r\n\r\n\t\t//Wheel Label\r\n\t\tg.setColor(Color.black);\r\n\t\tg.drawString(\"W\",240,90);\r\n\t\tg.drawString(\"H\",240,110);\r\n\t\tg.drawString(\"E\",240,130);\r\n\t\tg.drawString(\"E\",240,150);\r\n\t\tg.drawString(\"L\",240,170);\r\n\r\n\t\t//Reference marker.\r\n\t\tg.setColor(Color.red);\r\n\t\tg.fillArc(0, 0, 235, 235, angle-290, 40);\r\n\r\n\t\tupdate();\r\n\t}", "title": "" }, { "docid": "9870b069c92cfd2c9924edb1b6af92c4", "score": "0.5283419", "text": "@Override\n public void start() {\n\n leftWheel.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rightWheel.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n telemetry.addData(\"bU\",\"\");\n telemetry.update();\n beforeUnlock(500);\n runtime.reset();\n }", "title": "" }, { "docid": "0f306c83102cbcfe20b5c234ee05b4ba", "score": "0.528128", "text": "public void drawScanScreen() {\n screenTitle = \"Scanning Mode\";\n // Rotating Circle\n rotation += 1;\n if (rotation > 360) {\n rotation = 0;\n }\n pushMatrix();\n pushStyle();\n textAlign(CENTER, CENTER);\n textSize(fontSize);\n popStyle();\n text(\"Welcome to the\\nICE Device Lab!\\n\\nScan a tag to get started\", width/2, height/2, width*5/6, height*2/3);\n// rotate(radians(rotation));\n// arc(0, 0, width/2, width/2, PI, PI*2);\n popMatrix();\n}", "title": "" }, { "docid": "72b097f01fe2e730a243ddd943f73b6b", "score": "0.52791655", "text": "void showProgressBar();", "title": "" }, { "docid": "c219f6798a2dd6ff5bf00beb697e0808", "score": "0.5268119", "text": "@Override\n public void showSpinner() {\n progress.setVisibility(View.VISIBLE);\n }", "title": "" }, { "docid": "bf511ca1f8f84287e9098b7ee508449e", "score": "0.5247614", "text": "private void showNextVocable() {\n if (trainer.isFinished()) {\n showResultDialog();\n } else {\n updateTip();\n }\n }", "title": "" }, { "docid": "312325efcdee0a76d7cd906b5fb2dd3b", "score": "0.52467555", "text": "public void run1() {\n\t\tdouble x = 0.0;\n\t\twhile (true) {\n\t\t\tx++;\n\t\t\tSystem.out.println(\"Djnojkn\");\n\t\t\tprogressBar.setValue((int) x);\n\t\t\tprogressBar.update(progressBar.getGraphics());\n\t\t}\n\n\t}", "title": "" }, { "docid": "fa0d3392d838c9ed1b3667b325720940", "score": "0.5246483", "text": "public void servoButtonControl() {\n if (globals.operator.joystick_right.getRawButton(3)) {\n DriverStationLCD.getInstance().println(DriverStationLCD.Line.kUser3, 1, \"3: true \" + tiltHold);\n tiltHold++;\n if (tiltHold >= tiltMax) {\n tiltHold = tiltMax;\n }\n tilt.setAngle(tiltHold/governor);\n }\n else if (globals.operator.joystick_right.getRawButton(2)) {\n DriverStationLCD.getInstance().println(DriverStationLCD.Line.kUser4, 1, \"2: true \" + tiltHold);\n tiltHold--;\n if (tiltHold <= tiltMin) {\n tiltHold = tiltMin;\n }\n tilt.setAngle(tiltHold/governor);\n }\n else if (globals.operator.joystick_right.getRawButton(4)) {\n DriverStationLCD.getInstance().println(DriverStationLCD.Line.kUser5, 1, \"4: true \" + panHold);\n panHold--;\n if (panHold <= panMin) {\n panHold = panMin;\n }\n pan.setAngle(panHold/governor);\n }\n else if (globals.operator.joystick_right.getRawButton(5)) {\n DriverStationLCD.getInstance().println(DriverStationLCD.Line.kUser6, 1, \"5: true \" + panHold);\n panHold++;\n if (panHold >= panMax) {\n panHold = panMax;\n }\n pan.setAngle(panHold/governor);\n }\n }", "title": "" }, { "docid": "dd43382883f36e82bfa77052ead53363", "score": "0.52430934", "text": "@Override\n public void loop() {\n // Setup a variable for each drive wheel to save power level for telemetry\n\n\n // Choose to drive using either Tank Mode, or POV Mode\n // Comment out the method that's not used. The default below is POV.\n\n // POV Mode uses left stick to go forward, and right stick to turn.\n // - This uses basic math to combine motions and is easier to drive straight.\n double drive = -gamepad1.left_stick_y;\n double turn = gamepad1.right_stick_x;\n\n\n // Tank Mode uses one stick to control each wheel.\n // - This requires no math, but it is hard to drive forward slowly and keep straight.\n // leftPower = -gamepad1.left_stick_y ;\n // rightPower = -gamepad1.right_stick_y ;\n\n // Send calculated power to wheels\n double angle = robot.getAngle(gamepad1.left_stick_x, gamepad1.left_stick_y);\n\n robot.angleDrive(Math.sqrt(gamepad1.left_stick_x*gamepad1.left_stick_x + gamepad1.left_stick_y*gamepad1.left_stick_y), angle, (double)gamepad1.right_stick_x);\n\n\n\n telemetry.addData(\"angle\", angle);\n telemetry.addData(\"Power 1-2-3-4\", robot.wheelOne.getPower() + \"-\" + robot.wheelTwo.getPower() + \"-\" + robot.wheelThree.getPower() + \"-\" + robot.wheelFour.getPower());\n // Show the elapsed game time and wheel power.\n telemetry.addData(\"Status\", \"Run Time: \" + runtime.toString());\n\n if(gamepad2.dpad_right && !(robot.CubeSlideSwitchR.isPressed() || robot.CubeSlideSwitchL.isPressed())) {\n robot.CubeTimeBelt.setPower(1);\n }\n else if(gamepad2.dpad_left && !(robot.CubeSlideSwitchR.isPressed() || robot.CubeSlideSwitchL.isPressed())) {\n robot.CubeTimeBelt.setPower(-1);\n }\n else if(((!gamepad2.dpad_right && !gamepad2.dpad_left) || (robot.CubeSlideSwitchR.isPressed() || robot.CubeSlideSwitchL.isPressed())))\n {\n robot.CubeTimeBelt.setPower(0);\n }\n\n telemetry.addData(\"Switch R/ Switch L\", robot.CubeSlideSwitchR.isPressed() + \" / \" + robot.CubeSlideSwitchL.isPressed());\n telemetry.addData(\"dpadLeft / dpadRight / \", gamepad2.dpad_left + \" / \" + gamepad2.dpad_right);\n\n if(robot.CubeSlideSwitchR.isPressed()) {\n while (robot.CubeSlideSwitchR.isPressed())\n robot.CubeTimeBelt.setPower(1);\n robot.CubeTimeBelt.setPower(0);\n }\n if(robot.CubeSlideSwitchL.isPressed()) {\n while (robot.CubeSlideSwitchL.isPressed())\n robot.CubeTimeBelt.setPower(-1);\n robot.CubeTimeBelt.setPower(0);\n }\n\n\n\n\n telemetry.addData(\"Position of CubeTimeBelt\", robot.CubeTimeBelt.getPower());\n\n\n if(gamepad1.x)\n robot.RelClaw.setPosition(.4);\n\n if(gamepad1.y)\n robot.RelClaw.setPosition(0.0);\n\n if (gamepad2.a){\n robot.clawExtenderLeft.setPosition(0.5);\n robot.clawExtenderRight.setPosition(0.5);\n }\n if (gamepad2.b){\n robot.clawExtenderRight.setPosition(1);\n robot.clawExtenderLeft.setPosition(0);\n }\n\n if (gamepad2.x)\n robot.relicClawLifter.setPower(0.75);\n else if (gamepad2.y){\n robot.relicClawLifter.setPower(-0.75);\n }\n else\n robot.relicClawLifter.setPower(0);\n\n\n\n\n }", "title": "" }, { "docid": "9a1016899ac080c5a518c2d95ba6d536", "score": "0.5230458", "text": "public void printSpeed() {\r\n\t\tSystem.out.println(\"The boat is going \" + this.getSpeed() + \"knot.\");\r\n\t}", "title": "" }, { "docid": "2171073d4fe63db5d580c0740e235b20", "score": "0.5229398", "text": "public void stopSpinning() {\n spinMotor(0.0);\n m_readyToCount = false;\n m_readyToFindColor = false;\n }", "title": "" }, { "docid": "bd88e61e872f8084031a3be5bc103c6a", "score": "0.52167547", "text": "@Override\n public void doControl()\n {\n\n double q1 = - q_back.getDoubleValue();\n double q2 = pitch.getDoubleValue() - q1;\n double q3 = q_wheel.getDoubleValue();\n double q1d = - qd_back.getDoubleValue();\n double q2d = pitch_rate.getDoubleValue() - q1d;\n double q3d = qd_wheel.getDoubleValue();\n\n x.set(0, q1);\n x.set(1, q2);\n x.set(2, q3 - x_d.getDoubleValue()/radius);\n x.set(3, q1d);\n x.set(4, q2d);\n x.set(5, q3d);\n\n // do some control here\n CommonOps_DDRM.mult(F_lqr, x, u);\n back_tau.set(-u.get(0));\n wheel_tau.set(u.get(1));\n }", "title": "" }, { "docid": "ab27f36a83ed0aeba6eb020f9943beb5", "score": "0.52121687", "text": "@Override\n public void run() {\n while (pStatus < Double.parseDouble(s1.getWeight()) - 1) {\n progresscircle += 5;\n pStatus += 1;\n\n handler.post(new Runnable() {\n\n @Override\n public void run() {\n // TODO Auto-generated method stub\n mProgress.setProgress(progresscircle);\n tv.setText(pStatus + \"\");\n if (pStatus < Double.parseDouble(s1.getWeight()) && pStatus > Double.parseDouble(s1.getWeight()) - 1)\n tv.setText(s1.getWeight());\n }\n });\n try {\n // Sleep for 200 milliseconds.\n // Just to display the progress slowly\n Thread.sleep(15); //thread will take approx 1.5 seconds to finish\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "7bcdbb1136c97e9ce9dc0a9fb90f4077", "score": "0.52098376", "text": "@Override\n public void run() {\n encoderDrive(DRIVE_SPEED, 22, 22, 10);\n encoderDrive(DRIVE_SPEED, -77/4, 77/4, 10);\n //turn(80, 0.5,aresBot.motorLeft, aresBot.motorRight, aresBot.motorLeftBack, aresBot.motorRightBack);\n encoderDrive(DRIVE_SPEED, 44, 44, 10);\n encoderDrive(DRIVE_SPEED, -77/8, 77/8, 10);\n\n //turn(40, 0.5, aresBot.motorLeft, aresBot.motorRight, aresBot.motorLeftBack, aresBot.motorRightBack);\n encoderDrive(DRIVE_SPEED, 45, 45, 10);\n aresBot.markerRelease.setPosition(0.19607843137);\n sleep(1000);\n aresBot.markerRelease.setPosition(0.96078431372);\n //turn(179.5, 0.5, aresBot.motorLeft, aresBot.motorRight, aresBot.motorLeftBack, aresBot.motorRightBack);\n encoderDrive(DRIVE_SPEED, -77/2, 77/2, 10);\n encoderDrive(1, 88, 88, 10);\n }", "title": "" }, { "docid": "e40361e754abf3e3285a1ff3b1404da9", "score": "0.52098167", "text": "private void showResult() {\n addValue();\n if (this.listValues.size() > 0) {\n double finalValue = this.listValues.get(0);\n\n for (int i = 0; i < this.listOperators.size(); i++) {\n String operator = this.listOperators.get(i);\n if (this.listValues.size() > i + 1) {\n double next = this.listValues.get(i + 1);\n\n finalValue = doMath(operator, finalValue, next);\n }\n }\n\n this.txtResultTemporary.setText(String.format(\"%s\", finalValue));\n showTxtResultTemp();\n clear(true);\n }\n }", "title": "" }, { "docid": "fac6c8fb69ab7a0b71bf5e5251793292", "score": "0.52003354", "text": "private void showAlgorithmTime(String str){\n double time = gameBoard.getAlgorithmTime();\n TextView timer = findViewById(R.id.log);\n timer.setMovementMethod(new ScrollingMovementMethod());\n String text = \"Time taken: \";\n text += time;\n text += \" milliseconds.\\n\" + str;\n timer.setText(text);\n }", "title": "" }, { "docid": "c347d2d6528265ff2946760a6bb438e6", "score": "0.51999205", "text": "@Override\n public void loop() {\n\n telemetry.addLine()\n .addData(\"stage\", stage)\n .addData(\"subStep\", subStep);\n\n telemetry.addLine()\n .addData(\"RightWheel: \", rightWheel.getCurrentPosition())\n .addData(\"LeftWheel: \", leftWheel.getCurrentPosition())\n .addData(\"TICKS_PER_WHEEL_ROTATION: \", TICKS_PER_WHEEL_ROTATION);\n telemetry.update();\n\n if(stage==-4) {\n\n if (runtime.seconds()<2) {\n unlockArm();\n telemetry.addData(\"unlock\",\"\");\n }\n\n if(runtime.seconds()>2) {\n unfold(1925);\n telemetry.addData(\"unfold\",\"\");\n }\n //thiiiiiiiiiiing\n if(runtime.seconds()>5) {\n stage = -3;\n runtime.reset();\n resetDriveEncoders();\n }\n\n //telemetry.update();\n\n }\n if(stage==-3.5){\n telemetry.addLine()\n .addData(\"IsLeftBusy\", leftArm.isBusy())\n .addData(\"IsRightBusy\", rightArm.isBusy());\n if (!leftArm.isBusy() && !rightArm.isBusy()) {\n stage=-3;\n }\n }\n if(stage==-3) {\n rotation = .3;\n int targetPosition = (int) (rotation * TICKS_PER_WHEEL_ROTATION);\n // int delta = targetPosition - Math.abs(rightWheel.getCurrentPosition());\n //sets speed at which the wheels move and actually sets the wheels' position\n rightWheel.setTargetPosition(-targetPosition);\n leftWheel.setTargetPosition(targetPosition-(int)(0.1 * TICKS_PER_WHEEL_ROTATION));\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n// telemetry.addLine()\n// .addData(\"Current Position: \", rightWheel.getCurrentPosition())\n// .addData(\"Delta\", delta);\n if (!leftWheel.isBusy() && !rightWheel.isBusy() && runtime.seconds()>1) {\n stage=-2.5;\n leftArm.setDirection(DcMotorSimple.Direction.REVERSE);\n resetDriveEncoders();\n runtime.reset();\n }\n }\n if(stage==-2.5){\n int targetPosition = (int) (.4 * TICKS_PER_WHEEL_ROTATION);\n rightWheel.setTargetPosition(targetPosition);\n leftWheel.setTargetPosition(targetPosition);\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n if (!leftWheel.isBusy() && !rightWheel.isBusy() && runtime.seconds()>1) {\n stage=-2.6;\n leftArm.setDirection(DcMotorSimple.Direction.REVERSE);\n resetDriveEncoders();\n runtime.reset();\n }\n\n }\n if(stage==-2.6){\n\n int targetPosition = (int) (.3 * TICKS_PER_WHEEL_ROTATION);\n rightWheel.setTargetPosition(targetPosition);\n leftWheel.setTargetPosition(-targetPosition);\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n if (!leftWheel.isBusy() && !rightWheel.isBusy() && runtime.seconds()>1) {\n stage=-2.6;\n leftArm.setDirection(DcMotorSimple.Direction.REVERSE);\n resetDriveEncoders();\n runtime.reset();\n }\n }\n // leftArm.setDirection(DcMotorSimple.Direction.REVERSE);\n if(stage==-2) {\n rightArm.setTargetPosition((int) (.105 * TICKS_PER_WHEEL_ROTATION * 8));\n leftArm.setTargetPosition((int) (.105 * TICKS_PER_WHEEL_ROTATION * 8));\n rightArm.setPower(.6);\n leftArm.setPower(.6);\n if(runtime.seconds()>4){\n stage=0;\n }\n }\n\n// telemetry.addData(\"IsAligned\" , detector.getAligned()); // Is the bot aligned with the gold mineral?\n// telemetry.addData(\"X Pos\" , detector.getXPosition()); // Gold X position.\n\n //Point screenpos = detector.getScreenPosition();\n if(stage==0) {\n Rect bestRect = detector.getFoundRect();\n\n double xPos = bestRect.x + (bestRect.width / 2);\n\n if (xPos < alignXMax && xPos > alignXMin) {\n aligned = true;\n } else {\n aligned = false;\n }\n telemetry.addData(\"aligned \", aligned);\n\n telemetry.addData(\"xpos \", xPos);\n telemetry.addData(\"amax \", alignXMax);\n telemetry.addData(\"amin \", alignXMin);\n if(!(xPos>0)){\n rightWheel.setPower(0);\n leftWheel.setPower(0);\n telemetry.addLine(\"not detected\");\n }\n else if (xPos > alignXMax) {\n double power = ((xPos - alignXMax) / scale) * .3 + .4;\n rightWheel.setPower(power);\n leftWheel.setPower(-power);\n telemetry.addData(\"powL: \", power);\n telemetry.addLine(\"turning left\");\n runtime.reset();\n } else if (xPos < alignXMin) {\n double power = ((alignXMin - xPos) / scale) * .3 + .4;\n rightWheel.setPower(-power);\n leftWheel.setPower(power);\n telemetry.addData(\"powR: \", power);\n telemetry.addLine(\"turning right\");\n runtime.reset();\n } else {\n rightWheel.setPower(0);\n leftWheel.setPower(0);\n telemetry.addLine(\"found\");\n telemetry.addData(\"secks: \", runtime.seconds());\n if(runtime.seconds()>.1){\n runtime.reset();\n stage++;\n resetDriveEncoders();\n }\n }\n\n\n }\n else if (stage==1){\n rightWheel.setTargetPosition(-3*TICKS_PER_WHEEL_ROTATION);\n leftWheel.setTargetPosition(-3*TICKS_PER_WHEEL_ROTATION);\n leftWheel.setPower(.5);\n rightWheel.setPower(.5);\n if(runtime.seconds()>5){\n rightWheel.setPower(0);\n leftWheel.setPower(0);\n }\n stage = 2;\n }\n if ((subStep * 2) % 2 == 1) {\n resetDriveEncoders();\n subStep += 0.5;\n } else if (subStep == goldTestAuto3LandSampleCrater.state.TURN_TO_WALL.ordinal()) {\n // turns the robot 90 degrees counter clockwise\n double target = .75;\n\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n leftWheel.setTargetPosition((int) (-target * TICKS_PER_WHEEL_ROTATION));\n rightWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n\n telemetry.addData(\"delta\", (target * TICKS_PER_WHEEL_ROTATION - Math.abs(leftWheel.getCurrentPosition())));\n\n if (!leftWheel.isBusy() && !rightWheel.isBusy()) {\n subStep += 0.5;\n }\n }\n//\n else if (subStep == goldTestAuto3LandSampleCrater.state.MOVE_TO_WALL.ordinal()) {\n // moves the robot forward up against the wall\n\n double target = 3;\n\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n leftWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n rightWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n\n telemetry.addData(\"delta2 \", (target * TICKS_PER_WHEEL_ROTATION - Math.abs(leftWheel.getCurrentPosition())));\n\n if (!leftWheel.isBusy() && !rightWheel.isBusy()) {\n subStep += 0.5;\n }\n } else if (subStep == goldTestAuto3LandSampleCrater.state.MOVE_AWAY_FROM_WALL.ordinal()) {\n // moves the robot backward away from the wall\n double target = -1;\n\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n leftWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n rightWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n\n telemetry.addData(\"delta2 \", (target * TICKS_PER_WHEEL_ROTATION - Math.abs(leftWheel.getCurrentPosition())));\n\n if (!leftWheel.isBusy() && !rightWheel.isBusy()) {\n subStep += 0.5;\n\n }\n } else if (subStep == goldTestAuto3LandSampleCrater.state.TURN_TO_DEPOT.ordinal()) {\n // turns the robot counter-clockwise to line up with the depot\n double target = 1;\n\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n leftWheel.setTargetPosition((int) (-target * TICKS_PER_WHEEL_ROTATION));\n rightWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n\n telemetry.addData(\"delta2 \", (target * TICKS_PER_WHEEL_ROTATION - Math.abs(leftWheel.getCurrentPosition())));\n\n if (!leftWheel.isBusy() && !rightWheel.isBusy()) {\n subStep += 0.5;\n }\n } else if (subStep == goldTestAuto3LandSampleCrater.state.MOVE_TO_DEPOT.ordinal()) {\n // moves the robot forward up to the depot\n double target = 5;\n\n leftWheel.setPower(0.5);\n rightWheel.setPower(0.5);\n\n leftWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n rightWheel.setTargetPosition((int) (target * TICKS_PER_WHEEL_ROTATION));\n\n telemetry.addData(\"delta2 \", (target * TICKS_PER_WHEEL_ROTATION - Math.abs(leftWheel.getCurrentPosition())));\n\n if (!leftWheel.isBusy() && !rightWheel.isBusy()) {\n subStep += 0.5;\n }\n }\n }", "title": "" }, { "docid": "98675c880ce6b3b180a68b365ec771a9", "score": "0.5197357", "text": "private void startR() {\n spinning = true;\n frameRate=new KeyFrame(Duration.millis( 120+speedControl ), eventHandler);\n animationReel = new Timeline(frameRate);\n animationReel.setCycleCount(Timeline.INDEFINITE);\n animationReel.play();\n\n\n }", "title": "" }, { "docid": "d0868e9dea7c16714181e412eea6b25b", "score": "0.51931024", "text": "@Override\n\tpublic void performs() {\n\t\tSystem.out.println(\"²y­û\" + getName() + \"·mÄxªO²y!\");\n\t}", "title": "" }, { "docid": "19d9acc96b73d463af7acfe60d3be8b7", "score": "0.5185493", "text": "@Override\n public void execute() {\n m_tilt.jogTilt(m_speed);\n }", "title": "" }, { "docid": "737e7842e5cbc3cb6c47a377b28585be", "score": "0.5182646", "text": "public void updateGUI() {\n\n //Will up actively as simulation runs\n out1.setText(trafficMap.getFinished() + \" with max = 80\");\n out2.setText(String.valueOf(trafficMap.getNumLightsRun()));\n out3.setText(String.valueOf(trafficMap.getNumOfAccidents()));\n out4.setText(df.format(trafficMap.getAvgStoppedTime()) + \" seconds\");\n out5.setText(df.format(trafficMap.getAvgVehicleSpeed()) + \" mph\");\n out6.setText(df.format(trafficMap.getUserThruTime()) + \" seconds\");\n out7.setText(df.format(trafficMap.getTotalAvgVehicleTime()) + \" seconds\");\n }", "title": "" }, { "docid": "ff254deb53f5a6f81318c65695a6c3a8", "score": "0.5181783", "text": "@Override\n\t\tpublic void run() {\n\t\t\tSystem.out.println(base + \"^\" + power + \" = \" + pow(base, power));\n\t\t\t\n\t\t}", "title": "" }, { "docid": "c5504483bd7467eb8c982ce4bf278820", "score": "0.5180307", "text": "public void fullThrottle(){\r\n System.out.println(\"The Car is going as fast as it can!\");\r\n }", "title": "" }, { "docid": "0203c1cf8832ae4ca2f10f0150f3b9a1", "score": "0.51789194", "text": "public void fly() {\n\t\tdouble temp = range/speed;\n\tSystem.out.print(model+\" \");\n\tString strDouble = String.format(\"%.2f\", temp);\n\tSystem.out.println(strDouble+\": time(hrs) the jet can fly until it runs out of fuel. \\n\");\n\t\n\t}", "title": "" }, { "docid": "4511218feb1bbc87c7d48272e04d0a61", "score": "0.5175982", "text": "void updateSpeed(Text speed){\n speed.setText( \"v = \"+ \"(\"+(int)jeu.getMedusa().vx+\", \"+(-(int)jeu.getMedusa().vy+\")\"));\n }", "title": "" }, { "docid": "ab674aa3ed963cf7cf25745c20318960", "score": "0.51729065", "text": "public void mouseWheel(int move){\n robot.mouseWheel(move);\n }", "title": "" }, { "docid": "304691503352e495b99a7d6b64e29918", "score": "0.51691794", "text": "@Override\r\n public void run() {\n\r\n long tempoTranscorrido = (SystemClock.elapsedRealtime() - m_chronometer.getBase()) / 36000; //3600000\r\n //long cronoparado = m_chronometer.getBase() - SystemClock.elapsedRealtime();\r\n\r\n //double real = (double) pegavalor;\r\n\r\n //=================================================\r\n while (!finishCorrida) {\r\n getDistance();\r\n\r\n double distanciaPercorrida = getDistance() / 550;\r\n double kminicial = 0;\r\n\r\n //calculo da tarifa 1\r\n double result = (distanciaPercorrida - kminicial) * CONSTANTE_TAXIMENTRO +\r\n (tempoTranscorrido * CONSTANTE_HORA * CONSTANTE_VALOR_HORA +\r\n (tempoTranscorrido + CONSTANTE_BANDEIRA));\r\n\r\n DecimalFormat dft = new DecimalFormat(\"0.##\"); //CONVERTE PARA FORMATO DECIMAL COM DUAS CASAS!!!\r\n String converte = dft.format(result);\r\n\r\n //valores.setVisibility(View.INVISIBLE);\r\n valores.setText(\"R$ \" + converte + \"\\n\");\r\n //valores.append(\"R$ \" + (converte) + \"\\n\");\r\n //valores.refreshDrawableState();\r\n\r\n break;\r\n }\r\n //=================================================\r\n }", "title": "" }, { "docid": "d7084e1f485ac04f3a9eeda919835b88", "score": "0.5166783", "text": "public void operatorControl() {\n long currentTime;\n long startTime = 0;\n boolean motorStart = false;\n encoder.reset();\n //Debug.clear();\n //js = new Joystick(JOYSTICK);\n //solen = new DoubleSolenoid(PCM_MODULE_NO, SOLEN_FORWARD_CHANNEL, SOLEN_BACKWARD_CHANNEL);\n \n while(isEnabled() && isOperatorControl()){\n \t\n //Debug.clear();\n currentTime = System.currentTimeMillis();\n //debug[0] = \"Drive Speed: \" + js.getY();\n //ds.mecanumDrive(js.getX(), js.getY(), js.getZ(), gyro.getAngle());\n motor1.set(js.getY());\n \n \n // OUTPUT\n dashboard.putNumber(\"Enc: \", encoder.get());\n dashboard.putNumber(\"Current\", panel.getCurrent(3));\n dashboard.putNumber(\"Voltage\", panel.getVoltage());\n dashboard.putNumber(\"Amps\", panel.getTotalCurrent());\n \n dashboard.putData(\"PDP: \", panel);\n \n \n \n // GET DIRECTION\n if (encoder.isGoingForward() == true)\n dashboard.putString(\"Going Forward?\", \"Yes\");\n else\n dashboard.putString(\"Going Forward?\", \"No\");\n //\n \n \n // get VS getRaw\n dashboard.putString(\"rawEnc: \", encoder.getRaw() + \"\");\n \n \n // distancePerPulse\n //ACTIVATE LINE AT TOP OF METHOD\n dashboard.putString(\"Distance: \", encoder.getDistance() + \"\");\n \n \n // getRate\n dashboard.putString(\"Rate: \", encoder.getRate() + \"\");\n \n \n \n // encodingScale\n //ACTIVATE LINE AT INIT\n //look at how enc.get() is different\n //also compare with getRaw()\n //*/\n \n /*\n if (js.getRawButton(SOL_FORWARD_BUTTON))\n {\n dashboard.putString(\"Piston\", \"Forward\");\n }\n else if (js.getRawButton(SOL_REVERSE_BUTTON))\n {\n dashboard.putString(\"Piston\", \"Backward\");\n }\n else\n {\n dashboard.putString(\"Piston\", \"Stable swag\");\n }//*/\n \n /*\n if (js.getRawButton(SOL_FORWARD_BUTTON))\n {\n solen.set(DoubleSolenoid.Value.kForward);\n System.out.println(\"Forward!\");\n //debug[1] = \"solen FORWARD\";\n }\n else if (js.getRawButton(SOL_REVERSE_BUTTON))\n {\n solen.set(DoubleSolenoid.Value.kReverse);\n System.out.println(\"REVERSE!\");\n //debug[1] = \"solen REVERSE\";\n }\n else\n {\n solen.set(DoubleSolenoid.Value.kOff);\n System.out.println(\"OFF!\");\n //debug[1] = \"solen OFF\";\n }//*/\n \n \n \n //debug[1] = \"Gyro: \" + gyro.getAngle();\n //Debug.log(debug);\n }\n }", "title": "" }, { "docid": "905938db5a13c6613389c81bd9be83c6", "score": "0.5160165", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tSystem.out.println(\"Tick\");\r\n\t\thueoffset+=0.01f;\r\n\t\trenderMandelbrotSet();\r\n\t\trepaint();\r\n\t}", "title": "" }, { "docid": "fd50aba8ad7d63e110c881817d4f03ac", "score": "0.5159786", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tdegree -=90;\r\n\t\t\t\tif (degree < 0){\r\n\t\t\t\t\tdegree = 360-90;\r\n\t\t\t\t}\r\n\t\t\t\t//System.out.println(degree);\r\n\t\t\t\trepaint();\r\n\t\t\t}", "title": "" }, { "docid": "d45d167457e6eabb7dacc549e29eeb5d", "score": "0.51571035", "text": "public void display(){\n System.out.println(r+\"+\"+im+\"i\");\n }", "title": "" }, { "docid": "90edb10f90dd659abb3c736ca7a9537a", "score": "0.51532704", "text": "void spinOnAxis(int toDegree);", "title": "" }, { "docid": "8f4612f4b2640497d0127dd971f9de93", "score": "0.51506996", "text": "public void BotonPerimetro(ActionEvent evt) {\n int radio;\n double perimetro;\n radio = Integer.parseInt(txtRadio.getText());\n perimetro = 2 * Math.PI * radio;\n etiResultado.setText(\"\" + perimetro);\n }", "title": "" }, { "docid": "d618b955adb6463c11eab5724ab1e841", "score": "0.51450914", "text": "double startAngle();", "title": "" }, { "docid": "01282b4b04cb1fc9dc52bbcc74cbaab5", "score": "0.51384526", "text": "public void show(myPointf P, float r){show(P,r, gui_Black);}", "title": "" }, { "docid": "b2ecd4a1d509cc9c68f3a26c94596378", "score": "0.51327586", "text": "public WheelSpace spinWheel() {\n\t\tWheelSpace[] wheel = loadImages();\n\t\tint wheelSpace = generator.nextInt(NUM_WHEEL_SPACES);\n\t\treturn wheel[wheelSpace];\n\t}", "title": "" }, { "docid": "51a20abd949b442abc8690f243270f2f", "score": "0.5125262", "text": "@Override\n\tpublic String drive() {\n\t\treturn \"I get in my new \" + this.getName() + \" car, and start it. I enjoy driving fast, i can even reach \" + this.getMaxSpeed()\n\t\t\t\t+ \" km/h with my car!\";\n\t}", "title": "" }, { "docid": "fc25c718ab7120dcae7e4d39a3949817", "score": "0.5125068", "text": "@Override\n\tpublic void showProgressBar() {\n\t\tstartViewAnim(roundImageButton);\n\n\t}", "title": "" }, { "docid": "612b825143a89148140e00cae33cff66", "score": "0.5113296", "text": "@Override\n public void updateDashboard() {\n dashboard.putNumber(\"Passthru motor current\", motor.getOutputCurrent());\n dashboard.putNumber(\"Passthru motor percent\", motor.getMotorOutputPercent());\n }", "title": "" }, { "docid": "85e3369ad75ebb36595b0f443c66c09f", "score": "0.5106726", "text": "protected void execute() {\n\t\tdouble throttle = ((1.0 - Robot.oi.LEFT_JOY.getThrottle()) / -2.0);\n\t\tRobot.drivebase.set(ControlMode.PercentOutput, Robot.oi.rightArcade * throttle, Robot.oi.leftArcade * throttle);\n\t}", "title": "" }, { "docid": "e3f702d84f37b2515f92e8d68c64626c", "score": "0.51012546", "text": "@Override\n\tpublic boolean execute() {\n\t\tfinal TextLCD textLCD = getMarvin().getBrick().getTextLCD();\n\t\t\n\t\tlong startTime = System.currentTimeMillis();\n\t\tlong lastTime = System.currentTimeMillis();\n\t\tint count = 0;\n\t\t\n\t\twhile(lastTime - startTime < 10000) {\t \n\t lastTime = System.currentTimeMillis();\n\t \n\t\t //textLCD.refresh();\n\t //textLCD.clear();\n\t //textLCD.drawString(\"Distance:\", 2, 1);\n\t //textLCD.drawString(\"\" + distance, 1, 2);\n\n\t if (count % 16 == 0) {\n\t\t\t\tfloat x = 0;\n\t\t\t\tProximityControl proximitySensor = getMarvin().getProximityControl();\n\n\t\t\t\tint distance = proximitySensor.getDistance();\n\t\t\t\tdouble sigmoid = Utils.sigmoid(distance / 200f, 5f);\n\t\t\t\t\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t textLCD.refresh();\n\t\t textLCD.clear();\n\t\t textLCD.drawString(\"distance:\", 2, 1);\n\t\t textLCD.drawString(\"\" + distance, 1, 2);\n\t\t textLCD.drawString(\"\" + sigmoid, 1, 3);\n\n\t\t double invertedSigmoid = 1.0 - sigmoid;\n\t\t \n\t\t\t\tSound.playTone(50, 1, (int)(invertedSigmoid * 100));\t\t\n\t }\n\t \n\t count ++;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "52ea2a808f96510483edba9f51d3c01e", "score": "0.50941074", "text": "@Override\n protected void updateView ()\n {\n long nnow = System.currentTimeMillis();\n _elapsed += (nnow - _lastUpdate) * _speedSpinner.getFloatValue();\n _lastUpdate = nnow;\n\n // remove the integer portion for use as time increment\n long lelapsed = (long)_elapsed;\n _elapsed -= lelapsed;\n _now.value += lelapsed;\n\n updateView(lelapsed / 1000f);\n }", "title": "" }, { "docid": "c7e12191f30afaae986a6422f76b3dfd", "score": "0.50881577", "text": "@Override\n public void onTick(long l) {\n tiempo.setText(\"Tiempo \" + l / 1000);\n }", "title": "" }, { "docid": "18b7e787a0b1af8a18dcac702a4b2ce1", "score": "0.5086876", "text": "@Override\n public void onClick(View view) {\n if(as!=null) {\n\n //orientation angle\n float[] vals = as.getCurrOrientation();//vals is in radians\n String z = Double.toString(Math.toDegrees(vals[0]));\n String x = Double.toString(Math.toDegrees(vals[1]));\n String y = Double.toString(Math.toDegrees(vals[2]));\n String all = \"-Z (Azimuth/Yaw): \" + z + \" \\n \" +\n \"X (Pitch): \" + x + \" \\n \" +\n \"Y (Roll): \" + y;\n tv.setText(all);\n\n //check if timer to be started\n startTimer();\n }\n else\n tv.setText(\"error in retrieving custom sensor manager.\");\n }", "title": "" }, { "docid": "430fdf45c13ae798ce114a32231b79d4", "score": "0.5086539", "text": "public void displayTurtle();", "title": "" }, { "docid": "6deae8f5ce8977d6939847529bf1435d", "score": "0.50859404", "text": "@Override\n public void render(GL2 gl) {\n Materials.SetDarkGreyMetalMaterial(gl);\n\n gl.glPushMatrix();\n gl.glTranslated(0, 0, -Specification.PAIR_OF_WHEELS_ROD_DEPTH);\n\n GLU glu = new GLU();\n GLUquadric quad = glu.gluNewQuadric();\n glu.gluCylinder(quad, Specification.PAIR_OF_WHEELS_ROD_RADIUS, Specification.PAIR_OF_WHEELS_ROD_RADIUS, 2*Specification.PAIR_OF_WHEELS_ROD_DEPTH, 30, 1);\n\n gl.glPopMatrix();\n\n gl.glPushMatrix();\n gl.glTranslated(0, 0, -Specification.PAIR_OF_WHEELS_ROD_DEPTH + Specification.TIRE_RADIUS / 2);\n wheel.render(gl);\n gl.glPopMatrix();\n\n gl.glPushMatrix();\n gl.glRotated(180, 1, 1, 0);\n gl.glTranslated(0, 0, -Specification.PAIR_OF_WHEELS_ROD_DEPTH + Specification.TIRE_RADIUS / 2);\n wheel.render(gl);\n gl.glPopMatrix();\n\n }", "title": "" }, { "docid": "c1477e0db38b9d01d980361ffe50467e", "score": "0.50836754", "text": "@Override\r\n public void onProgressChanged(SeekBar seekBar, int i, boolean b) {\n number.setText(\"\"+i);\r\n }", "title": "" }, { "docid": "4f65419978e82d05d2a117aa544fe526", "score": "0.5082051", "text": "@Override\n public void initialize() {\n\n spinner.set(ControlMode.PercentOutput, 0);\n }", "title": "" }, { "docid": "334254b4a254ce65d228570762ef72e2", "score": "0.50794095", "text": "@Override\n protected void execute() {\n double leftSpeed = leftEncoderFollower.calculate(Robot.drivetrain.getLeftEncoder());\n double rightSpeed = rightEncoderFollower.calculate(Robot.drivetrain.getRightEncoder());\n double curTrajectoryHeading = Math.toDegrees(leftEncoderFollower.getHeading());\n double correction = Pathfinder\n .boundHalfDegrees(curTrajectoryHeading + Robot.drivetrain.gyroReadYawAngle());\n double turn = RobotMap.TRAJ_GYRO_CORRECTION * (-1.0 / 80.0) * correction;\n\n System.out.println(\"Left Speed: \" + leftSpeed + \"\\n\" + \"Right Speed: \" + rightSpeed);\n System.out.println(\"Correction: \" + correction);\n System.out\n .println(\"Left Cur: \" + (leftSpeed + turn) + \"\\n\" + \"Right Cur: \" + (rightSpeed - turn));\n\n leftSpeed += turn;\n rightSpeed -= turn;\n\n Robot.drivetrain.driveTank(leftSpeed, rightSpeed);\n }", "title": "" }, { "docid": "57893ddb42593967a9cde9b04cdd1ee6", "score": "0.50776297", "text": "private void showInOutput(float value){\n \tString resultAsString= String.format(OUTPUT_FORMAT,value);\n \toutputView.setText(resultAsString);\n }", "title": "" }, { "docid": "a591a913de11963b134faedc9758f42e", "score": "0.5076865", "text": "@Override\n public void end(boolean interrupted) {\n spinnerSubsystem.spinSpinner(0.0);\n }", "title": "" }, { "docid": "8e077ced50e7fa31320304170f47f514", "score": "0.5072026", "text": "public void test() {\n \tlong sec = (long) (15 * Math.pow(10, 9));\n \tlong start = System.nanoTime();\n \tint counter = 0;\n \twhile(System.nanoTime() - start < sec){\n \t\tlibrary.getControls().talonSet(0.0, 0.0, 0.0, 0.0);\n \t\tcounter++;\n \t}\n \tSystem.out.println(counter);\n }", "title": "" }, { "docid": "ee2e3513fc8b99503845b060ce538f0f", "score": "0.5071242", "text": "public void run() {\n\t\t\t\t\t\t\t\tmTvStatus.setText(mTvStatus.getText() + \".\");\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "599873a8e9310b2ae89e237017853b87", "score": "0.5071163", "text": "public void abrirCalcVolume() {\n this.volum.setVisible(true);\n }", "title": "" } ]
38a923524d5ca6df8bf947c05b229721
Clones this object, returning an exact copy.
[ { "docid": "43c52bd12a35c5dd9bcfbe63b9d7491e", "score": "0.0", "text": "public MmeIuCongestionControl clone() {\n return (MmeIuCongestionControl)cloneContent(new MmeIuCongestionControl());\n }", "title": "" } ]
[ { "docid": "2e2247b12b9ec9f91ee6ca24a981e0c0", "score": "0.8091823", "text": "public Object clone() {\n return this.copy();\n }", "title": "" }, { "docid": "2eb81173458604f805ef36e555d3e119", "score": "0.80174196", "text": "public Object clone(){\n \t\n \treturn this;\n \t\n }", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.7867129", "text": "public Object clone();", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.7867129", "text": "public Object clone();", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.7867129", "text": "public Object clone();", "title": "" }, { "docid": "e72d6745bad98b041cc9efe1aab71c04", "score": "0.7867129", "text": "public Object clone();", "title": "" }, { "docid": "aecc5003851cb12b7e68297c880116ae", "score": "0.77699614", "text": "Object clone();", "title": "" }, { "docid": "aecc5003851cb12b7e68297c880116ae", "score": "0.77699614", "text": "Object clone();", "title": "" }, { "docid": "b521ba9043245c207744b2a8b081f39c", "score": "0.776435", "text": "public /*@ non_null @*/ Object clone() {\n return this;\n }", "title": "" }, { "docid": "f350294fb6e4403f080f684e563e1d3f", "score": "0.77073205", "text": "public Object clone() {\n // No problems cloning here since private variables are immutable\n return super.clone();\n }", "title": "" }, { "docid": "465f9d495429d2db3f53bd96d221d863", "score": "0.7486375", "text": "public abstract Object clone();", "title": "" }, { "docid": "a76293a502c4acef27748d8aed8b52e0", "score": "0.7458268", "text": "public Object clone() {\r\n try {\r\n return super.clone();\r\n } catch (CloneNotSupportedException e) {\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "e3340546b5ed05d9ccd60a958261f3dc", "score": "0.7437342", "text": "public Function clone();", "title": "" }, { "docid": "304bc508770afd354aca4343b513979c", "score": "0.74237525", "text": "public Object clone() {\n\t\ttry {\n\t\t\treturn super.clone();\n\t\t}\n\t\tcatch(CloneNotSupportedException exc) {\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "6bca6f5950d35b139ed03cfc421a9992", "score": "0.7402842", "text": "public abstract Object clone() ;", "title": "" }, { "docid": "d6e9096ff3a69e28856fdf29b8ae2c32", "score": "0.736921", "text": "@Override\n public Object clone() {\n return super.clone();\n }", "title": "" }, { "docid": "f329593b3dc8d4fb5dffa5f2367649d6", "score": "0.7361992", "text": "public /*@ non_null @*/ Object clone() { \n //@ assume owner == null;\n return this;\n }", "title": "" }, { "docid": "3c4e618b18458bc0a1b0dbd6bd87a2c2", "score": "0.7353707", "text": "public T copy() {\n T ret = createLike();\n ret.getMatrix().setTo(this.getMatrix());\n return ret;\n }", "title": "" }, { "docid": "b296299dac3e36de42bebb3339af0e53", "score": "0.7294699", "text": "public Complex makeDeepCopy() {\r\n Complex complex2 = new Complex(this.getReal(), this.getImaginary());\r\n return complex2;\r\n }", "title": "" }, { "docid": "1a826a79a1d4d67b60b9596dbe47cc72", "score": "0.7279472", "text": "public Object clone() {\n try {\n // clones itself\n return super.clone();\n } catch (Exception exception) {\n ;\n }\n return null;\n }", "title": "" }, { "docid": "354730cddf577ef419c1d2fb8a2f0d05", "score": "0.7237533", "text": "public Clone() {}", "title": "" }, { "docid": "d0cfea791a1f2521a9c5fff46bf451bb", "score": "0.7236811", "text": "public Object clone() throws CloneNotSupportedException { return super.clone(); }", "title": "" }, { "docid": "d0fd1d3e02743757212d77d206693ad4", "score": "0.72200775", "text": "public final Object clone() throws CloneNotSupportedException {\n throw new CloneNotSupportedException();\n }", "title": "" }, { "docid": "59ad7c778848ae969dde79a89986b52f", "score": "0.72106147", "text": "public Object clone() {\n try {\n return super.clone();\n } catch (Exception exception) {\n throw new InternalError(\"Clone failed\");\n }\n }", "title": "" }, { "docid": "9e77ef7ff057b1074051021d7aa01515", "score": "0.72035813", "text": "Prototype makeCopy();", "title": "" }, { "docid": "cb00bcf4b3ed45adcb5bf14ed6f631f1", "score": "0.7166806", "text": "public Object clone () {\n\t\t\ttry {\n\t\t\t\treturn super.clone();\n\t\t\t} catch (CloneNotSupportedException e) {\n\t\t\t\tthrow new InternalError(e.toString());\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "0f0667a4dbcf3ee28183614ae3e20636", "score": "0.7158849", "text": "public Object clone() throws CloneNotSupportedException {\r\n\t\tthrow new CloneNotSupportedException();\r\n\t}", "title": "" }, { "docid": "e1a02561109a5c949e42a3726f1aa35a", "score": "0.7124239", "text": "@Override\n public Object clone() {\n try {\n return super.clone();\n } catch (CloneNotSupportedException e) {\n throw new AssertionError(e);\n }\n }", "title": "" }, { "docid": "45d1e1d70d413c84f5d7b58cfa07a860", "score": "0.7083523", "text": "public Coordinates copy() {\n\t\treturn new Coordinates(this);\n\t}", "title": "" }, { "docid": "5b06f1252e9b1a076534cdd8b4457b8f", "score": "0.70776576", "text": "public Object clone()\n {\n PSRelation copy = new PSRelation(new PSCollection(m_keyNames.iterator()),\n new PSCollection(m_keyValues.iterator()));\n \n copy.m_componentState = m_componentState;\n copy.m_databaseComponentId = m_databaseComponentId;\n copy.m_id = m_id;\n\n return copy;\n }", "title": "" }, { "docid": "4a753a4a13ce9384a7319cb9eef822cd", "score": "0.7055196", "text": "@Override\n public Object clone() {\n try {\n return super.clone();\n } catch (CloneNotSupportedException e) {\n throw new AssertionError(e);\n }\n }", "title": "" }, { "docid": "1db27d94fc6f89080cfea3254e045c36", "score": "0.70526105", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic <T> T clon(){\n\t\ttry {\n\t\t\treturn (T) this.clone();\n\t\t} catch (CloneNotSupportedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn (T) new Object();\n\t}", "title": "" }, { "docid": "8c6efafcaf1e614bccc60f0f0f71e778", "score": "0.7040795", "text": "public Object clone(){ \r\n\t\tBaseballCard cloned = new BaseballCard();\r\n\t\tcloned.name = this.getName();\r\n\t\tcloned.manufacturer=this.getManufacturer();\r\n\t\tcloned.year = this.getYear();\r\n\t\tcloned.price = this.getPrice();\r\n\t\tcloned.size[0]= this.getSizeX();\r\n\t\tcloned.size[1]= this.getSizeY();\r\n\t\treturn cloned;\r\n\t}", "title": "" }, { "docid": "b951bc8cba2a15194ccbbf41c77cc2f3", "score": "0.7034311", "text": "public Object clone() throws CloneNotSupportedException {\n // return INSTANCE\n throw new CloneNotSupportedException();\n }", "title": "" }, { "docid": "f3a302acebc7cd7301a407280963fd21", "score": "0.7033902", "text": "@Override\r\n public Object clone() {\r\n\r\n Coordinate c = new Coordinate( this );\r\n return c;\r\n }", "title": "" }, { "docid": "a7d1542936edb15952b749e2b3225691", "score": "0.702913", "text": "public Object clone() {\n GlobalizedAnswer cloned;\n try {\n cloned = (GlobalizedAnswer)super.clone();\n }\n catch (CloneNotSupportedException e) {\n throw new Error(getClass() + \" must support cloning\", e);\n }\n assert cloned != null;\n \n // Copy mutable fields by value\n cloned.tuples = (Tuples) tuples.clone();\n \n return cloned;\n }", "title": "" }, { "docid": "d11e2966d75ec9c200660d00a23d0613", "score": "0.7026167", "text": "protected Shingle copy() {\n return new Shingle(this);\n }", "title": "" }, { "docid": "7d39ea99dde8962b95e09394863b4fba", "score": "0.7021727", "text": "public Object clone() {\n return new PointImpl( this );\n }", "title": "" }, { "docid": "045573ff39110a352c7ed282298a5a3e", "score": "0.7007464", "text": "public Object clone()\n/* */ {\n/* 835 */ return super.clone();\n/* */ }", "title": "" }, { "docid": "d751624a2378ca708629e8c14a4df78f", "score": "0.69915676", "text": "@Override\n public Board clone() {\n return new Board(copyOf(this.board));\n }", "title": "" }, { "docid": "6ff989bf6c4eb302407f320634adfa40", "score": "0.6990994", "text": "public Object clone ()\n\t{\n\t\ttry \n\t\t{\n\t\t\treturn super.clone();\n\t\t}\n\t\tcatch (CloneNotSupportedException e) \n\t\t{\n throw new InternalError(e.toString());\n\t\t}\n\t}", "title": "" }, { "docid": "1c025548d844804120899c7060c8d48a", "score": "0.6987196", "text": "@Override\n\tpublic Object clone() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e2158da36f6ebbd7956b162850d2471d", "score": "0.6983179", "text": "@Override\n public SharedObject clone() {\n SharedObject c;\n try {\n c = (SharedObject)super.clone();\n } catch (CloneNotSupportedException e) {\n // Should never happen.\n throw new ICUCloneNotSupportedException(e);\n }\n c.refCount = new AtomicInteger();\n return c;\n }", "title": "" }, { "docid": "6684ac5f96620e8431f32ab87a40ff9e", "score": "0.6969319", "text": "@Override\n\tpublic Box clone()\n\t{\n\t\treturn new Box(center.clone(), xExtent, yExtent, zExtent);\n\t}", "title": "" }, { "docid": "00125a5bb7ad872f0cf018097be58ef2", "score": "0.6960772", "text": "public Object clone() throws CloneNotSupportedException {\n throw new CloneNotSupportedException(\"clone() is not supported in \"+this.getClass().getName());\n }", "title": "" }, { "docid": "5238e911c930f59d6664f91dacf1b01e", "score": "0.69438154", "text": "public ComplexNum copy() {\n /*\n * returns a deep copy of this complex number\n * */\n\n return new ComplexNum(realPart, imaginaryPart);\n }", "title": "" }, { "docid": "54badad01b54f1617051595c729c4cea", "score": "0.69005644", "text": "public Vector clone()\r\n {\r\n Vector<O> v = new Vector<O>();\r\n \r\n VectorItem<O> vi = first;\r\n while (vi != null)\r\n {\r\n v.pushBack (vi.getObject());\r\n vi = vi.getNext();\r\n }\r\n \r\n return v;\r\n }", "title": "" }, { "docid": "ed1ae3748ff7a57f5478e692af43a840", "score": "0.68927115", "text": "public final PaintObject clone() {\n \t\n \ttry {\n\t\t\treturn (PaintObject) super.clone();\n\t\t} catch (CloneNotSupportedException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n }", "title": "" }, { "docid": "4efcf378f44ccae074a1939f47ff5473", "score": "0.6863234", "text": "public Object clone() throws CloneNotSupportedException\n\t{\n\t\tthrow new CloneNotSupportedException();\n\t}", "title": "" }, { "docid": "f538c668656e293ba563b346d7feff5d", "score": "0.68610185", "text": "public d clone() {\n ArrayList arrayList = this.e;\n int size = this.e.size();\n c[] cVarArr = new c[size];\n for (int i = 0; i < size; i++) {\n cVarArr[i] = ((c) arrayList.get(i)).clone();\n }\n return new d(cVarArr);\n }", "title": "" }, { "docid": "cab7c69fddcc377a8412e5014196941f", "score": "0.6857511", "text": "public BufferTWeak cloneMe() {\r\n BufferTWeak ib = new BufferTWeak(uc);\r\n ib.increment = increment;\r\n ib.set(new Object[objects.length]);\r\n for (int i = 0; i < objects.length; i++) {\r\n ib.objects[i] = this.objects[i];\r\n }\r\n ib.offset = this.offset;\r\n ib.count = this.count;\r\n return ib;\r\n }", "title": "" }, { "docid": "78e166e449dff1633967876d2cabfe9f", "score": "0.6845153", "text": "public Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\n\t}", "title": "" }, { "docid": "f0e3580ebfdba6ff34c82ffc06e6a1c2", "score": "0.683416", "text": "public CMObject copyOf();", "title": "" }, { "docid": "cccef549ae144e80ffd2ebca2d559d7a", "score": "0.68267983", "text": "@Override\n\tpublic PhyphoxBuffer clone() {\n\t\treturn new PhyphoxBuffer(this, 0);\n\t}", "title": "" }, { "docid": "23c6d99affef6b61c83339b9fdde3956", "score": "0.68176407", "text": "public DessertVO clone() {\r\n return (DessertVO) super.clone();\r\n }", "title": "" }, { "docid": "ff1201151b0160462e8d996151e6dd3e", "score": "0.68163943", "text": "public Object clone() {\n View v2;\n try {\n v2 = (View) super.clone();\n } catch (CloneNotSupportedException cnse) {\n v2 = new View();\n }\n v2.center = (Location) center.clone();\n v2.zoom = zoom;\n v2.size = (Dimension) size.clone();\n return v2;\n }", "title": "" }, { "docid": "df270fb679607976916bc92dfe10a499", "score": "0.6813235", "text": "public Client copy() {\n\t\tClient clone = new Client(ID, Email, PostalAddress);\n\t\treturn(clone);\n\t}", "title": "" }, { "docid": "33ceedb5748a20e2cae3bf5439996b8d", "score": "0.6804664", "text": "@Override\r\n\tpublic Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "26f83ccc48bad57025c5d075ac00280f", "score": "0.67947596", "text": "@Override\n public Object clone() throws CloneNotSupportedException {\n throw new CloneNotSupportedException();\n }", "title": "" }, { "docid": "f718bb3c758745f413c6dff364bdf784", "score": "0.6792285", "text": "public Sudoku copy(){\n\t\treturn (Sudoku) this.clone();\n\t}", "title": "" }, { "docid": "461de8dd7616c1d5cdc2d6b6e9ff94bd", "score": "0.67885983", "text": "public Instance cloneShallow() {\n Instance copy;\n try {\n copy = new Instance(getNameValue().toString());\n } catch (JNCException e) {\n copy = null;\n }\n return (Instance)cloneShallowContent(copy);\n }", "title": "" }, { "docid": "a29fb8c9b6316a51d6f2cc1adb299b0e", "score": "0.67839503", "text": "@Override\n public Data clone() {\n final Data data = new Data(name, code, numeric, symbol, fractionSymbol, fractionsPerUnit, rounding, formatString,\n triangulated.clone());\n return data;\n }", "title": "" }, { "docid": "791a8e0e1f89d52ddc37c53ad324ef81", "score": "0.6767126", "text": "@Override\r\n\tprotected Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "791a8e0e1f89d52ddc37c53ad324ef81", "score": "0.6767126", "text": "@Override\r\n\tprotected Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "791a8e0e1f89d52ddc37c53ad324ef81", "score": "0.6767126", "text": "@Override\r\n\tprotected Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "f1126ff18de3ee501c34d521a5827375", "score": "0.6764774", "text": "public Object clone(){\r\n\t\tSampleData obj = new SampleData(letter,getWidth(),getHeight());\r\n\t\tfor ( int y=0;y<getHeight();y++ )\r\n\t\t\tfor ( int x=0;x<getWidth();x++ )\r\n\t\t\t\tobj.setData(x,y,getData(x,y));\r\n\t\treturn obj;\r\n\t}", "title": "" }, { "docid": "220d0a9e485956d58942b703caed25ca", "score": "0.6756828", "text": "public Position copy() {\n return new Position(values.clone());\n }", "title": "" }, { "docid": "15579a98f854b3e55f4fb51a61d31856", "score": "0.6754835", "text": "@Override\n public MetaContainer clone() {\n return clone(false);\n }", "title": "" }, { "docid": "54af6ca32c9c4f3086ea986d764ef0b2", "score": "0.67451984", "text": "public Instance clone() {\n Instance copy;\n try {\n copy = new Instance(getNameValue().toString());\n } catch (JNCException e) {\n copy = null;\n }\n return (Instance)cloneContent(copy);\n }", "title": "" }, { "docid": "9c34a540755181bd66f6b58c990a8851", "score": "0.6738999", "text": "public Tree<K, V> copy() {\n\t\tTree<K, V> copy = EmptyTree.getInstance(), t = this;\n\t\treturn copy(t, copy);\n\t}", "title": "" }, { "docid": "96f6ded642ea96a7f63acdab2ff960be", "score": "0.6738838", "text": "public Cliente clone(){\r\n return new Cliente(this.nome, this.email, this.endereco, this.id);\r\n }", "title": "" }, { "docid": "6dd5a57ea1bf73b25f2aa0fa1f0f161f", "score": "0.673735", "text": "public Object clone() {\n try {\n return super.clone();\n } catch (CloneNotSupportedException e) {\n /* Cannot happen */\n throw new RuntimeException(e.getMessage(), e);\n }\n }", "title": "" }, { "docid": "faa9cd6ce135f2cea9e12e5ebd051edb", "score": "0.67366755", "text": "public Object clone() {\n \ttry {\n \tMyClass1 result = (MyClass1) super.clone();\n \tresult.Some2Ob = (Some2)Some2Ob.clone(); ///IMPORTANT: Some2 clone method called for deep copy without calling this Some2.x will be = 12\n \t\n \treturn result;\n \t} catch (CloneNotSupportedException e) {\n \treturn null; \n \t}\n\t}", "title": "" }, { "docid": "0b33eaf4b6e2fea6a998912e781d4698", "score": "0.67274505", "text": "@Override\n protected Currency clone() {\n final Currency currency = new Currency();\n if (data != null) {\n currency.data = data.clone();\n }\n return currency;\n\n }", "title": "" }, { "docid": "264ef8c3e4fa49b8cd4a8bd9fd6ad280", "score": "0.67254394", "text": "@Override\r\n\tpublic Object clone() throws CloneNotSupportedException {\n\t\t\r\n\t\treturn super.clone();\r\n\t}", "title": "" }, { "docid": "5f00e8215824b568fb12ea990f654186", "score": "0.67253596", "text": "public Vec clone();", "title": "" }, { "docid": "48a611bb660a9425d06d0acadf44e410", "score": "0.6723734", "text": "public GameBoard clone(){\r\n\t\tGameBoard result = new GameBoard();\r\n\t\ttry{\r\n\t\t\tresult = (GameBoard) super.clone();\r\n\t\t}catch(CloneNotSupportedException e){\r\n\t\t\tthrow new RuntimeException();\r\n\t\t}\r\n\t\tresult.board = (Box[]) board.clone();\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "2bd329f18bbf5ec9498f313ec120575f", "score": "0.67225444", "text": "public T cloneDeep();", "title": "" }, { "docid": "3f8a484037ba7d2fa139d33dac7a2c3b", "score": "0.6717096", "text": "Component deepClone();", "title": "" }, { "docid": "48b9d21d2aa4a326710036922bed4424", "score": "0.6710857", "text": "public Object clone() throws CloneNotSupportedException {\n\tthrow new CloneNotSupportedException(\"This is a Singleton Ojbect; Buzz off\");\n }", "title": "" }, { "docid": "59079a6ad9e8aac63d02594c3f4549d8", "score": "0.67036283", "text": "public Tree<T> clone() {\n Node<T> clonedRoot = this.root.clone();\n clone(this.root, this.root.clone());\n return new Tree<T>(clonedRoot);\n }", "title": "" }, { "docid": "0735eca6f32da6809d0427050e66a75e", "score": "0.6700037", "text": "@Override\r\n\tprotected Object clone() throws CloneNotSupportedException { // semi-copy\r\n\t\tthrow new CloneNotSupportedException();\r\n\t}", "title": "" }, { "docid": "de07440bc0f5fd93edb002bf2964f890", "score": "0.6699884", "text": "public Object clone() throws CloneNotSupportedException{\n\t\tthrow (new CloneNotSupportedException());\n\t}", "title": "" }, { "docid": "9eea40319105a5d222a8d15dad337a09", "score": "0.669927", "text": "@Override\n public GeoPoint clone() {\n return new GeoPoint(this.latitude, this.longitude);\n }", "title": "" }, { "docid": "e9313447b02a980f480df55d3f124ce2", "score": "0.6695693", "text": "public Object clone()\n\t{\n\t\treturn new Tree();\n\t}", "title": "" }, { "docid": "6b24a772b3bd3529e0127e80e8beffba", "score": "0.669529", "text": "public VCalendar clone() {\n\t\treturn new VCalendar(this.content, this.collectionId, this.resourceId, this.earliestStart, this.latestEnd, null);\n\t}", "title": "" }, { "docid": "ca9ccbbfcd6f8b349fc0c57e0c456098", "score": "0.6681447", "text": "public abstract Pessoa clone();", "title": "" }, { "docid": "75abbb8e845aa634b055d8d5dd9dfc6c", "score": "0.6672097", "text": "public CopyBuilder copy() {\n return new CopyBuilder(this);\n }", "title": "" }, { "docid": "194a12fb6dc4b0220ca3915a51d95ebe", "score": "0.6660837", "text": "public final Object clone() throws java.lang.CloneNotSupportedException {\n\t\tthrow new java.lang.CloneNotSupportedException();\n\t}", "title": "" }, { "docid": "e68a9dd356905310c7868d20b2180b3a", "score": "0.66575724", "text": "public IVenda clone ();", "title": "" }, { "docid": "713a9bf738a9b79ca99b9c010bef4fa2", "score": "0.6656901", "text": "protected final Object clone() {\n\t\tBitBoardImpl clone = new BitBoardImpl();\n\t\tfor( int i = 0; i < 5; i++) {\n\t\t clone._boardLayer[i] = _boardLayer[i];\n\t\t}\n\t\treturn clone;\n }", "title": "" }, { "docid": "e07728f3e68e420271d75ae3b11606c3", "score": "0.66515476", "text": "protected Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\n\t}", "title": "" }, { "docid": "30aea7ea24e9a8217116b15c986aec71", "score": "0.66482556", "text": "@Override\n public MultiCache clone () {\n return new MultiCache(this);\n }", "title": "" }, { "docid": "9be074a1140dea1aca85ab6b424ef0ee", "score": "0.6644334", "text": "@Override\n protected Object clone() throws CloneNotSupportedException {\n\n return super.clone();\n }", "title": "" }, { "docid": "ecb0a3cfe8f7469530b9bea499b72528", "score": "0.6643747", "text": "public ArrayList<E> clone() {\n ArrayList<E> temp = new ArrayList<E>();\n temp.size = this.size;\n temp.capacity = this.capacity;\n temp.list = Arrays.copyOf(this.list, this.list.length);\n return temp;\n }", "title": "" }, { "docid": "89c7b3778370d0a89090b61a7a29993f", "score": "0.6643119", "text": "public Object clone() {\n // No problems cloning here since private variables are immutable\n return (InstTexes) super.clone();\n }", "title": "" }, { "docid": "b84d5b85719f0175300fe8817fca5932", "score": "0.66429085", "text": "public Object clone()\n {\n Object o = null;\n try \n { o = super.clone(); } \n catch(CloneNotSupportedException e) \n { System.err.println(\"Erreur dans le clonage de la cellule...\"); }\n return o;\n }", "title": "" }, { "docid": "eec97a8b561466c39a39bb82d00b23f5", "score": "0.6623625", "text": "public Restaurant clone() {\r\n return new Restaurant(this);\r\n }", "title": "" }, { "docid": "73c53e7f1d647a96c1c93e9e3f99d8bb", "score": "0.6622939", "text": "public LinkedList<AnyType> clone() {\n LinkedList<AnyType> clone = new LinkedList<AnyType>();\n LinkedListIterator<AnyType> itr = this.first();\n LinkedListIterator<AnyType> cloneitr = clone.zeroth();\n while (itr.current != null) {\n clone.insert(itr.current.element, cloneitr);\n itr.advance();\n cloneitr.advance();\n }\n return clone;\n }", "title": "" }, { "docid": "6c593a4777bc843c36984990b56876d8", "score": "0.66188705", "text": "@Override\n\tpublic Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\n\t}", "title": "" }, { "docid": "6c593a4777bc843c36984990b56876d8", "score": "0.66188705", "text": "@Override\n\tpublic Object clone() throws CloneNotSupportedException {\n\t\treturn super.clone();\n\t}", "title": "" } ]
f67db788b9c84c4b11f0b9b0b5bd49b0
First decode with inJustDecodeBounds=true to check dimensions
[ { "docid": "c9f8e25bbb53b54c1f92318ac236cbd2", "score": "0.0", "text": "public static Bitmap decodeBitmapFromFD(FileDescriptor fd, int reqWidth, int reqHeight) {\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inJustDecodeBounds = true;\n BitmapFactory.decodeFileDescriptor(fd ,null, options);\n\n // Calculate inSampleSize\n options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);\n\n // Decode bitmap with inSampleSize set\n options.inJustDecodeBounds = false;\n return BitmapFactory.decodeFileDescriptor(fd ,null, options);\n }", "title": "" } ]
[ { "docid": "2c03151d02a0eebd0358eadbe8d38c74", "score": "0.5310127", "text": "@NonNull\n Rect getDecodeRetangle();", "title": "" }, { "docid": "2d3fd1058484c87df9071376f7c2274b", "score": "0.51620805", "text": "@Override\n public void decode() {\n\n }", "title": "" }, { "docid": "5ad56c494cbf71a1ec6cae6ea922b599", "score": "0.51482695", "text": "private Bitmap decodeFile(File f) {\r\n\t\ttry {\r\n\t\t\t// decode image size\r\n\t\t\tBitmapFactory.Options o = new BitmapFactory.Options();\r\n\t\t\to.inJustDecodeBounds = true;\r\n\t\t\tFileInputStream stream1;\r\n\t\t\tstream1 = new FileInputStream(f);\r\n\t\t\tBitmapFactory.decodeStream(stream1, null, o);\r\n\r\n\t\t\tint scale = 1;\r\n\t\t\tif (REQUIRED_SIZE > 0) {\r\n\t\t\t\t// Find the correct scale value. It should be the power of 2.\r\n\t\t\t\tint width_tmp = o.outWidth, height_tmp = o.outHeight;\r\n\t\t\t\twhile (true) {\r\n\t\t\t\t\tif (width_tmp / 2 < REQUIRED_SIZE\r\n\t\t\t\t\t\t\t|| height_tmp / 2 < REQUIRED_SIZE)\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\twidth_tmp /= 2;\r\n\t\t\t\t\theight_tmp /= 2;\r\n\t\t\t\t\tscale *= 2;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// decode with inSampleSize\r\n\t\t\tBitmapFactory.Options o2 = new BitmapFactory.Options();\r\n\t\t\to2.inSampleSize = scale;\r\n\t\t\tFileInputStream stream2 = new FileInputStream(f);\r\n\t\t\tBitmap bitmap = BitmapFactory.decodeStream(stream2, null, o2);\r\n\t\t\tstream2.close();\r\n\t\t\t// Log.d(\"ImageController\", \"requiredsize=\" + REQUIRED_SIZE\r\n\t\t\t// + \", scale=\" + scale + \", bitmap w=\" + bitmap.getWidth()\r\n\t\t\t// + \" h=\" + bitmap.getHeight());\r\n\t\t\treturn bitmap;\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "1de029d0b0f33ab5fef5d98a433f8f39", "score": "0.51464325", "text": "public boolean fitsByte() {\n byte[] byteArray = trunc().toByteArray();\n return (byteArray.length <= 1);\n }", "title": "" }, { "docid": "2e52dd95c729dd5304e369aa8dfbb2ef", "score": "0.5039373", "text": "public ImageDimensions getImageDimensions(InputStream in) throws XWikiException{\n BufferedImage img = decodeImage(in);\n return new ImageDimensions(img.getWidth(), img.getHeight());\n }", "title": "" }, { "docid": "268706f4aae611e7c057d25d8bedca0d", "score": "0.5027527", "text": "public boolean hasWidth() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "ca1e210fa5fee6b853ff5ff0b9173faf", "score": "0.49927863", "text": "public abstract Bitmap decode(BitmapFactory.Options options);", "title": "" }, { "docid": "15ab826318f94a266a2bab95e99412b8", "score": "0.49846157", "text": "@Override\n public boolean validateRawData(DataView container) {\n return false;\n }", "title": "" }, { "docid": "de05a2cab7b61a7c707dd899f6e775d1", "score": "0.49708295", "text": "@Test\n public void geoPackageReaderGetImageDimensions() throws SQLException, ClassNotFoundException, ConformanceException, IOException, TileStoreException\n {\n final File testFile = this.getRandomFile(9);\n try(final GeoPackage gpkg = new GeoPackage(testFile))\n {\n final TileMatrix tileMatrix = createTileSetAndTileMatrix(gpkg, new BoundingBox(-180.0, -90.0, 180.0, 90.0), 10, 7, 9);\n final String formatName = \"PNG\";\n final Dimensions<Integer> dimensions = new Dimensions<>(256, 512);\n gpkg.tiles().addTile(gpkg.tiles().getTileSet(tileMatrix.getTableName()),\n tileMatrix,\n 6,\n 5,\n createImageBytes(BufferedImage.TYPE_3BYTE_BGR, formatName, dimensions));\n\n try(GeoPackageReader reader = new GeoPackageReader(testFile, tileMatrix.getTableName()))\n {\n final Dimensions<Integer> dimensionsReturned = reader.getImageDimensions();\n assertTrue(String.format(\"The dimensions returned from getImageDimensions were not as expected. Actual: height %d width %d\\nExpected: height %d width %d.\",\n dimensionsReturned.getHeight(),\n dimensionsReturned.getWidth(),\n dimensions.getHeight(),\n dimensions.getWidth()),\n dimensionsReturned.getHeight().equals(dimensions.getHeight()) &&\n dimensionsReturned.getWidth() .equals(dimensions.getWidth()));\n }\n\n }\n finally\n {\n deleteFile(testFile);\n }\n }", "title": "" }, { "docid": "17477971f886f4e5a18121938c856478", "score": "0.49549496", "text": "public boolean hasWidth() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "db5bdc8dc96dce8bae2c7eda0bc6411b", "score": "0.49396288", "text": "public boolean hasWidth() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "a29d9b2ad64d316519fb7d0baf734684", "score": "0.4925495", "text": "boolean hasDecompressedSize();", "title": "" }, { "docid": "3b8581ef13e21ff4fe8f82ecd2659802", "score": "0.49080288", "text": "private void checkRep() {\n assert inner instanceof Serializable; \n }", "title": "" }, { "docid": "46fbcd211d1f39dc9bbc6d22f3c436d1", "score": "0.48990345", "text": "public boolean areKnown() {\n return (this.imageWidth == -1 || this.imageHeight == -1) ? false : true;\n }", "title": "" }, { "docid": "1c472456ab3b32d5e0ec729394fb0048", "score": "0.48960805", "text": "void decode(ByteBuffer dmxStream);", "title": "" }, { "docid": "7d6ed94df4780ba418e2cbe64f516a3e", "score": "0.48824143", "text": "@Test\n @Override\n public void heightFullDeserialization()\n throws InstantiationException, IllegalAccessException {\n String design = String.format(\"<%s size-full/>\", getComponentTag());\n\n Tree<String> tree = new Tree<>();\n\n tree.setHeight(\"100%\");\n testRead(design, tree);\n testWrite(design, tree);\n }", "title": "" }, { "docid": "98c57a8fd64cc38f4f08ea042f15bf4e", "score": "0.48713017", "text": "public boolean hasSize() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "f9005b5e9df68bc89d957bed00620bc6", "score": "0.4869302", "text": "public boolean hasSize() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "86885f2098e693ffd7bf165ddc8713f7", "score": "0.48692024", "text": "public MessageDecoderResult decodable( ProtocolSession session, ByteBuffer in )\n {\n if( in.remaining() < Constants.HEADER_LEN )\n {\n return MessageDecoderResult.NEED_DATA;\n }\n \n // Return OK if type and bodyLength matches.\n if( type == in.getShort() )\n {\n return MessageDecoderResult.OK;\n }\n \n // Return NOT_OK if not matches.\n return MessageDecoderResult.NOT_OK;\n }", "title": "" }, { "docid": "0ddc7d7422d97ab6d468709207f7923e", "score": "0.48687756", "text": "public boolean hasSize() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "b6497e74b84cab20b0b359ee04ba78d0", "score": "0.4860626", "text": "private boolean checkSize(String[] data)\r\n {\r\n if(data == null || data.length > MAX_HEIGHT || data[0].length() > MAX_WIDTH)\r\n {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "e2c3cb2ac28749aed84f94386162b574", "score": "0.48481545", "text": "public boolean hasSize() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "76ba46328406168c7a2a4e0d2ef498f9", "score": "0.48384467", "text": "public abstract void decode(Decoder decoder) throws DecoderException;", "title": "" }, { "docid": "d720bd6e650ac316eb59db5b2c80f0e7", "score": "0.4834947", "text": "public int getDimensions();", "title": "" }, { "docid": "3c45589f415059a26fd1f54a78dafdd3", "score": "0.4833386", "text": "public boolean hasDecompressedSize() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }", "title": "" }, { "docid": "84b4b6c4182506fbf97104325e07f89e", "score": "0.48263893", "text": "private Rectangle2D decodeRect1() {\n/* 112 */ this.rect.setRect(decodeX(1.0F), \n/* 113 */ decodeY(0.0F), (\n/* 114 */ decodeX(2.0F) - decodeX(1.0F)), (\n/* 115 */ decodeY(3.0F) - decodeY(0.0F)));\n/* 116 */ return this.rect;\n/* */ }", "title": "" }, { "docid": "25613c1c11a6dd1e590100a148978be9", "score": "0.4825414", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "25613c1c11a6dd1e590100a148978be9", "score": "0.4825414", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "25613c1c11a6dd1e590100a148978be9", "score": "0.4825414", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "25613c1c11a6dd1e590100a148978be9", "score": "0.4825414", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "25613c1c11a6dd1e590100a148978be9", "score": "0.4825414", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "02162cd3a799fe159725f8c8586ba4f2", "score": "0.48067686", "text": "public abstract Data getDecodedData();", "title": "" }, { "docid": "1a4b81e85c4d89e94c9f2c0616a1fb7c", "score": "0.48065007", "text": "public boolean isByteArray() {\r\n return bytes != null && this.inputNodeSet == null && subNode == null;\r\n }", "title": "" }, { "docid": "0b3d65ab65d63f6bca3401362f5723cf", "score": "0.47938898", "text": "public static Bitmap decodeSampleBitmapFromInputStream(InputStream stream, int reqHeight, int reqWidth) {\n Log.d(TAG, \"decodeSampleBitmapFromFile: called!\");\n\n //Height and Width in pixels\n BitmapFactory.Options options = new BitmapFactory.Options();\n options.inJustDecodeBounds = true;\n BitmapFactory.decodeStream(stream, null, options);\n\n Log.i(TAG, \"readBitmapDimensionsAndType: height = \" + options.outHeight);\n Log.i(TAG, \"readBitmapDimensionsAndType: width = \" + options.outWidth);\n Log.i(TAG, \"readBitmapDimensionsAndType: memeType= \" + options.outMimeType);\n Log.i(TAG, \"readBitmapDimensionsAndType: sizeInMemory = \" + options.outHeight * options.outWidth * 4);\n\n options.inSampleSize = calculateInSampleSize(options, reqHeight, reqWidth);\n\n options.inJustDecodeBounds = false;\n\n Bitmap bitmap = BitmapFactory.decodeStream(stream, null, options);\n Log.i(TAG, \"readBitmapDimensionsAndType: height = \" + options.outHeight);\n Log.i(TAG, \"readBitmapDimensionsAndType: width = \" + options.outWidth);\n Log.i(TAG, \"readBitmapDimensionsAndType: memeType= \" + options.outMimeType);\n Log.i(TAG, \"readBitmapDimensionsAndType: sizeInMemory = \" + options.outHeight * options.outWidth * 4);\n Log.i(TAG, \"readBitmapDimensionsAndType: bitmap size() = \" + bitmap.getByteCount());\n\n return bitmap;\n\n }", "title": "" }, { "docid": "dd9adccec7a4532bdaac0335612cecd6", "score": "0.47890887", "text": "@Override\n @NotNull\n public String readingPeekYaml() {\n long start = readContext.start;\n if (start == -1)\n return \"\";\n return Wires.fromSizePrefixedBlobs(bytes, start, usePadding());\n }", "title": "" }, { "docid": "381608f621bfd889b60b5f0e4867eb85", "score": "0.47817585", "text": "boolean hasImageDimension();", "title": "" }, { "docid": "cb4ac982cb9f1f7631392f78d79e59fa", "score": "0.47648463", "text": "private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {\n s.defaultReadObject();\n\n // restore the dimension\n //dimension = s.readInt();\n }", "title": "" }, { "docid": "da92275fe8f08f9bcd8a87576e73ea67", "score": "0.476358", "text": "public boolean hasSize() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "3adc37af36fcd6cf151869c6930d6515", "score": "0.47589806", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "e29c8b2f66e335fb9acdde37b2ffb01c", "score": "0.47582707", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "e29c8b2f66e335fb9acdde37b2ffb01c", "score": "0.47582707", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "e29c8b2f66e335fb9acdde37b2ffb01c", "score": "0.47582707", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "e29c8b2f66e335fb9acdde37b2ffb01c", "score": "0.47582707", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "e29c8b2f66e335fb9acdde37b2ffb01c", "score": "0.47582707", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "640e2d659ebc096260501c904398fee7", "score": "0.47581294", "text": "public boolean hasSize() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "99d65825d9956a384bc350d81cdeb4a6", "score": "0.47514364", "text": "@Override\n public void reshape(int size) {\n \n }", "title": "" }, { "docid": "4e60446c706acd93877f838b88116c3c", "score": "0.4750204", "text": "private void checkForArrayDimensionSizeInRefinedFeature(Feature feature) {\n\t\t// TODO-phf: Now we have to check the list of ArrayDimensions if each\n\t\t// has the size field set.\n\t\t// if (!feature.getArrayDimensions().isEmpty() &&\n\t\t// !feature.getArraySpecification().getSizes().isEmpty() &&\n\t\t// feature.getRefined() != null &&\n\t\t// !feature.getRefined().getArrayDimensions().isEmpty() &&\n\t\t// !feature.getRefined().getArraySpecification().getSizes().isEmpty())\n\t\t// {\n\t\t// error(feature.getArraySpecification().getSizes().get(0),\n\t\t// \"Cannot specify an array dimension size because the refined feature already specified the array dimension size.\");\n\t\t// }\n\t}", "title": "" }, { "docid": "9acf5596caabd4b3a2f62c781f0dff1a", "score": "0.4746362", "text": "public static Bitmap decodeBitmap(byte[] data, int reqWidth, int reqHeight) {\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inJustDecodeBounds = true;\n //options.inPurgeable = true;\n BitmapFactory.decodeByteArray(data, 0, data.length, options);\n\n // Calculate inSampleSize\n //options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);\n options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);\n\n // Decode bitmap with inSampleSize set\n options.inJustDecodeBounds = false;\n //options.inPreferredConfig = Bitmap.Config.RGB_565;\n //options.inDither = true;\n Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length, options);\n\n if(bitmap==null ){\n return null;\n }\n/*\n ByteArrayOutputStream stream = new ByteArrayOutputStream();\n bitmap.compress(Bitmap.CompressFormat.PNG, 90, stream);\n bitmap.recycle();\n\n // Decode bitmap with inSampleSize set\n options.inJustDecodeBounds = false;\n data = stream.toByteArray();\n Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length, options);\n //bitmap.recycle();\n\n Util.closeSilently(stream);\n*/\n return bitmap;\n }", "title": "" }, { "docid": "fe12b8e517c5b6650ed2c64a7423d2b4", "score": "0.47342744", "text": "public boolean hasImageDimension() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "86404f49b7297fa8b9bb948d07acc6ce", "score": "0.4728359", "text": "private Rectangle2D decodeRect1() {\n/* 95 */ this.rect.setRect(decodeX(0.0F), \n/* 96 */ decodeY(1.3333334F), (\n/* 97 */ decodeX(3.0F) - decodeX(0.0F)), (\n/* 98 */ decodeY(1.6666667F) - decodeY(1.3333334F)));\n/* 99 */ return this.rect;\n/* */ }", "title": "" }, { "docid": "a20c15bc03fa7ebe3672b1eb55bddaf6", "score": "0.47232074", "text": "boolean UnannArrayType_0()\n {\n if (saved(\"UnannArrayType_0\",UnannArrayType_0)) return reuseInner();\n if (!UnannPrimitiveType() || !Dims()) return rejectInner();\n return acceptInner();\n }", "title": "" }, { "docid": "4e1f93d3dc445252ad63ecd61dccdd36", "score": "0.47082585", "text": "public boolean hasImageDimension() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "d2b52788ce308a50593148f31cce0969", "score": "0.4706756", "text": "public static Bitmap decodeFile(Bitmap f, int size, int width) {\n\t\ttry {\n\t\t\t// int degree = 90;\n\t\t\t// Find the correct scale value. It should be the power of 2.\n\t\t\t// final int REQUIRED_SIZE = 200;\n\t\t\t// int width_tmp = o.outWidth, height_tmp = o.outHeight;\n\t\t\tfloat scale = 1;\n\n\t\t\tint length = 0;\n\n\t\t\tif (f.getWidth() > f.getHeight()) {\n\t\t\t\tlength = f.getWidth();\n\t\t\t} else {\n\t\t\t\tlength = f.getHeight();\n\t\t\t}\n\n\t\t\tif (size > MAX_HEIGHT) {\n\t\t\t\tsize = MAX_HEIGHT;\n\t\t\t}\n\n\t\t\twhile (true) {\n\t\t\t\t// if (width_tmp / 4 * 3 < size || height_tmp / 4 * 3 < size)\n\t\t\t\t// break;\n\t\t\t\tif (length / 5 * 4 < size)\n\t\t\t\t\tbreak;\n\t\t\t\tlength = length / 5 * 4;\n\t\t\t\tscale = scale * 5 / 4;\n\t\t\t}\n\n\t\t\tfloat s = (float) length / (float) (f.getWidth());\n\n\t\t\tMatrix matrix = new Matrix();\n\t\t\tmatrix.postScale(s, s);\n\t\t\t// decode with inSampleSize\n\t\t\tf = Bitmap.createBitmap(f, 0, 0, f.getWidth(), f.getHeight(),\n\t\t\t\t\tmatrix, true);\n\n\t\t\treturn f;\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9f277ad8b12c342cece20c0c5400c369", "score": "0.47064045", "text": "public boolean hasHeight() {\n return ((bitField0_ & 0x00001000) == 0x00001000);\n }", "title": "" }, { "docid": "759601488fb6e19a904034a2ef7b915e", "score": "0.47052944", "text": "private static Dimension getImageDimension(byte[] input) throws IOException {\n try (ImageInputStream in = ImageIO.createImageInputStream(new ByteArrayInputStream(input))) {\n Iterator<ImageReader> readers = ImageIO.getImageReaders(in);\n if (readers.hasNext()) {\n ImageReader reader = readers.next();\n try {\n reader.setInput(in);\n return new Dimension(reader.getWidth(0), reader.getHeight(0));\n } finally {\n reader.dispose();\n }\n } else {\n throw new RuntimeException(\"ImageIO.getImageReaders returned an empty iterator\");\n }\n }\n }", "title": "" }, { "docid": "360fdf199943822746841b6a3c3bf020", "score": "0.46914148", "text": "@Test\n\tpublic void testSizeExtraction() {\n\t\tNearEarthObject neo = NEOJsonGenerator.getNEOSample();\n\t\tEstimatedDiameter ed = neo.getMeasurements().get(NearEarthObject.KM);\n\t\tFloat expectedSize = (ed.getMin()+ed.getMax() )/2;\n\t\tassertEquals(expectedSize, NEOComparators.getSize(neo));\n\t}", "title": "" }, { "docid": "40ac82832e9c9b818961bec8adeb17d0", "score": "0.46876687", "text": "private static Bitmap decodeSampledBitmapFromResource(Resources res, int resId,\n int reqWidth, int reqHeight) {\n\n // First decode with inJustDecodeBounds = true to check dimensions\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inJustDecodeBounds = true;\n BitmapFactory.decodeResource(res, resId, options);\n\n // Calculate inSampleSize\n options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);\n\n // Decode bitmap with inSampleSize set\n options.inJustDecodeBounds = false;\n return BitmapFactory.decodeResource(res, resId, options);\n }", "title": "" }, { "docid": "3d3f9102bbdf4d56a69d54f544658220", "score": "0.4683531", "text": "public boolean hasNormalized() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "0850298ba69fdd72442f9e2f85a0e171", "score": "0.46776927", "text": "protected Object decode(ChannelHandlerContext ctx, ByteBuf in)\r\n/* 121: */ throws Exception\r\n/* 122: */ {\r\n/* 123:408 */ if (this.discardingTooLongFrame) {\r\n/* 124:409 */ discardingTooLongFrame(in);\r\n/* 125: */ }\r\n/* 126:412 */ if (in.readableBytes() < this.lengthFieldEndOffset) {\r\n/* 127:413 */ return null;\r\n/* 128: */ }\r\n/* 129:416 */ int actualLengthFieldOffset = in.readerIndex() + this.lengthFieldOffset;\r\n/* 130:417 */ long frameLength = getUnadjustedFrameLength(in, actualLengthFieldOffset, this.lengthFieldLength, this.byteOrder);\r\n/* 131:419 */ if (frameLength < 0L) {\r\n/* 132:420 */ failOnNegativeLengthField(in, frameLength, this.lengthFieldEndOffset);\r\n/* 133: */ }\r\n/* 134:423 */ frameLength += this.lengthAdjustment + this.lengthFieldEndOffset;\r\n/* 135:425 */ if (frameLength < this.lengthFieldEndOffset) {\r\n/* 136:426 */ failOnFrameLengthLessThanLengthFieldEndOffset(in, frameLength, this.lengthFieldEndOffset);\r\n/* 137: */ }\r\n/* 138:429 */ if (frameLength > this.maxFrameLength)\r\n/* 139: */ {\r\n/* 140:430 */ exceededFrameLength(in, frameLength);\r\n/* 141:431 */ return null;\r\n/* 142: */ }\r\n/* 143:435 */ int frameLengthInt = (int)frameLength;\r\n/* 144:436 */ if (in.readableBytes() < frameLengthInt) {\r\n/* 145:437 */ return null;\r\n/* 146: */ }\r\n/* 147:440 */ if (this.initialBytesToStrip > frameLengthInt) {\r\n/* 148:441 */ failOnFrameLengthLessThanInitialBytesToStrip(in, frameLength, this.initialBytesToStrip);\r\n/* 149: */ }\r\n/* 150:443 */ in.skipBytes(this.initialBytesToStrip);\r\n/* 151: */ \r\n/* 152: */ \r\n/* 153:446 */ int readerIndex = in.readerIndex();\r\n/* 154:447 */ int actualFrameLength = frameLengthInt - this.initialBytesToStrip;\r\n/* 155:448 */ ByteBuf frame = extractFrame(ctx, in, readerIndex, actualFrameLength);\r\n/* 156:449 */ in.readerIndex(readerIndex + actualFrameLength);\r\n/* 157:450 */ return frame;\r\n/* 158: */ }", "title": "" }, { "docid": "0121c7ce1a815c642218dd44a92a54d5", "score": "0.46716553", "text": "private Bitmap decodeSampledBitmapFromFile(String path, int reqWidth, int reqHeight) {\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(path, options);\n\n // Calculate inSampleSize\n options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);\n\n // Decode bitmap with inSampleSize set\n options.inJustDecodeBounds = false;\n return BitmapFactory.decodeFile(path, options);\n }", "title": "" }, { "docid": "49e9ac521e34aa9063a4f9ad412849f2", "score": "0.46484295", "text": "boolean hasBytesValue();", "title": "" }, { "docid": "458578c0e63a5a4cffa34747ca4b1b8b", "score": "0.46463084", "text": "boolean hasBytes();", "title": "" }, { "docid": "458578c0e63a5a4cffa34747ca4b1b8b", "score": "0.46463084", "text": "boolean hasBytes();", "title": "" }, { "docid": "458578c0e63a5a4cffa34747ca4b1b8b", "score": "0.46463084", "text": "boolean hasBytes();", "title": "" }, { "docid": "458578c0e63a5a4cffa34747ca4b1b8b", "score": "0.46463084", "text": "boolean hasBytes();", "title": "" }, { "docid": "458578c0e63a5a4cffa34747ca4b1b8b", "score": "0.46463084", "text": "boolean hasBytes();", "title": "" }, { "docid": "458578c0e63a5a4cffa34747ca4b1b8b", "score": "0.46463084", "text": "boolean hasBytes();", "title": "" }, { "docid": "46e7bd596271550625eb6f81592b204b", "score": "0.46431276", "text": "@Override\r\n\tpublic Object decode(Object objectToDecode) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "480b4fd63a293433c05f95b1c2f915da", "score": "0.46302715", "text": "public boolean canDecodeInput(Object input) throws IOException {\n\t\t\r\n\t\tif (!(input instanceof ImageInputStream))\r\n\t\t\treturn false;\r\n\r\n\t\tImageInputStream stream = (ImageInputStream) input;\r\n\r\n\t\t/** Read and validate the input source's header. */\r\n\t\tbyte[] header = new byte[8];\r\n\t\ttry {\r\n\t\t\t// The input source's current position must be preserved so that\r\n\t\t\t// other ImageReaderSpis can determine if they can decode the input\r\n\t\t\t// source's format, should this input source be unable to handle the\r\n\t\t\t// decoding. Because the input source is an ImageInputStream, its\r\n\t\t\t// mark() and reset() methods are called to preserve the current\r\n\t\t\t// position.\r\n\r\n\t\t\tstream.mark();\r\n\t\t\tstream.read(header);\r\n\t\t\tstream.reset();\r\n\t\t} catch (IOException e) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tbyte[] controlHeader = new byte[] { (byte) 151, 74, 66, 50, 13, 10, 26, 10 };\r\n\r\n\t\treturn Arrays.equals(controlHeader, header);\r\n\t}", "title": "" }, { "docid": "8404c42bc9f2a2c45e02f40e40cb252e", "score": "0.4627223", "text": "protected void readLengthAndBitWidth(InputStream in) throws IOException {\r\n\t// long st = System.currentTimeMillis();\r\n\tlength = ReadWriteStreamUtils.readUnsignedVarInt(in);\r\n\tbyte[] tmp = new byte[length];\r\n\tin.read(tmp, 0, length);\r\n\tbyteCache = new ByteArrayInputStream(tmp);\r\n\tisLengthAndBitWidthReaded = true;\r\n\tbitWidth = byteCache.read();\r\n\tinitPacker();\r\n\t// long et = System.currentTimeMillis();\r\n }", "title": "" }, { "docid": "a1e0436d7971270fa64e91edac217b44", "score": "0.46238652", "text": "@Override\n public final int getTranslationDimensions() {\n return data.length;\n }", "title": "" }, { "docid": "9bf42fdcbcdc1ead20c1566fe6cbfa70", "score": "0.46125126", "text": "public boolean hasLayout() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "9bf42fdcbcdc1ead20c1566fe6cbfa70", "score": "0.46125126", "text": "public boolean hasLayout() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "955a99b5486c0fb4b546a104a596edb2", "score": "0.46101665", "text": "public boolean hasDecompressedSize() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" }, { "docid": "97bcef8599ac0976b73932d51d591e3d", "score": "0.4606918", "text": "@Override\n public Pair<Integer, Integer> size(ByteBuffer buffer) {\n buffer = ByteUtil.slice(buffer, 4);\n\n int orientation = 0;\n byte next;\n while (buffer.limit() > 0) {\n // read length of the next block\n int i = ByteUtil.readUInt16BE(buffer, 0);\n\n if (isEXIF(buffer)) {\n orientation = validateExifBlock(buffer, i);\n }\n\n // ensure correct format\n validateBuffer(buffer, i);\n\n // 0xFFC0 is baseline standard(SOF)\n // 0xFFC1 is baseline optimized(SOF)\n // 0xFFC2 is progressive(SOF2)\n next = buffer.get(i + 1);\n if (next == (byte)0xC0 || next == (byte)0xC1 || next == (byte)0xC2) {\n Pair<Integer, Integer> size = extractSize(buffer, i + 5);\n\n // TODO: is orientation=0 a valid answer here?\n if (orientation != -1) {\n return size;\n }\n return size;\n }\n // move to the next block\n buffer = ByteUtil.slice(buffer, i + 2);\n }\n return null;\n }", "title": "" }, { "docid": "e0acbbe1f055146f39266767d1912fd0", "score": "0.46027738", "text": "public abstract boolean hasDims() throws Exception ;", "title": "" }, { "docid": "09dfc6a6d741cec71d9b34186c7f8c33", "score": "0.45979962", "text": "public boolean hasLayout() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "09dfc6a6d741cec71d9b34186c7f8c33", "score": "0.45979962", "text": "public boolean hasLayout() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "9d3208ae4265acd00193ae94c98d780e", "score": "0.4594184", "text": "private Bitmap decodeSampledBitmapFromResource(\n Bitmap bitmap, int reqWidth, int reqHeight) {\n final int height = bitmap.getHeight()*bitmap.getDensity();\n final int width = bitmap.getWidth()*bitmap.getDensity();\n //int inSampleSize = 1;\n\n final int maxSize = 960;\n int outWidth = reqWidth;\n int outHeight = reqHeight;\n int inWidth = bitmap.getWidth();\n int inHeight = bitmap.getHeight();\n if(inWidth > inHeight){\n outWidth = maxSize;\n outHeight = (inHeight * maxSize) / inWidth;\n } else {\n outHeight = maxSize;\n outWidth = (inWidth * maxSize) / inHeight;\n }\n\n bitmap = Bitmap.createScaledBitmap(bitmap, outWidth, outHeight, false);\n\n //bitmap = Bitmap.createScaledBitmap(bitmap, 800, 600, false);\n\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n bitmap.compress(Bitmap.CompressFormat.JPEG, 15, byteArrayOutputStream);\n byte[] byteArray = byteArrayOutputStream.toByteArray();\n\n BitmapFactory.Options options = new BitmapFactory.Options();\n options.inSampleSize = 8;\n //options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);\n\n Bitmap bmp = BitmapFactory.decodeByteArray(byteArray, 0, byteArray.length);\n\n return bmp;\n\n }", "title": "" }, { "docid": "c81772aae4985188bc128196e1ad325e", "score": "0.4591538", "text": "@Test\n public void geoPackageReaderGetImageDimensions2() throws SQLException, ClassNotFoundException, ConformanceException, IOException, TileStoreException\n {\n final File testFile = this.getRandomFile(9);\n try(final GeoPackage gpkg = new GeoPackage(testFile))\n {\n final TileMatrix tileMatrix = createTileSetAndTileMatrix(gpkg, new BoundingBox(-180.0, -90.0, 180.0, 90.0), 10, 7, 9);\n\n try(GeoPackageReader reader = new GeoPackageReader(testFile, tileMatrix.getTableName()))\n {\n final Dimensions<Integer> dimensionsReturned = reader.getImageDimensions();\n assertNull(\"There were no tiles in the GeoPackage but the Reader returned a value for imageDimensions instead of returning null.\", dimensionsReturned);\n }\n }\n finally\n {\n deleteFile(testFile);\n }\n }", "title": "" }, { "docid": "82d4af1d3fa248b8e8e1265f1e21289e", "score": "0.45915115", "text": "@Test()\n public void testDecode()\n throws Exception\n {\n _data.addBig();\n for (int i = 0; i < _data._strings.size(); ++i)\n {\n testDecode(toBigFloat(_data._numbers.get(i)), _data._strings.get(i));\n }\n }", "title": "" }, { "docid": "36513df5c5ec9ce84a8f89c365aeb407", "score": "0.45909458", "text": "public boolean load(){\n heightData = new int[size*size];\n\n //attempt to connect to the supplied file.\n\n try {\n int bpd=2;\n \n if(heightData.length != input.available()/bpd) {\n LoggingSystem.getLogger().log(Level.WARNING, \"Incorrect map size. Aborting raw load.\");\n }\n //read in each byte from the raw file.\n for (int i = 0; i < size; i++) {\n for(int j = 0; j < size; j++) {\n int index;\n \n index=(i*size) + j;\n \n heightData[index] = input.readUnsignedByte();\n }\n }\n input.close();\n \n } catch (FileNotFoundException e) {\n LoggingSystem.getLogger().log(\n Level.WARNING,\n \"Heightmap file\" + input.toString() + \" not found.\");\n return false;\n } catch (IOException e1) {\n LoggingSystem.getLogger().log(\n Level.WARNING,\n \"Error reading data from \" + input.toString());\n return false;\n }\n\n LoggingSystem.getLogger().log(\n Level.WARNING,\n \"Successfully loaded \" + input.toString());\n System.out.println(\"Height Map chargée !\");\n return true;\n }", "title": "" }, { "docid": "a79c391afc03261c9bd020b29d1aa044", "score": "0.45881176", "text": "com.google.protobuf.ByteString getLayout();", "title": "" }, { "docid": "86899e8ff823701d7f90088c92eccc89", "score": "0.45847633", "text": "private static native int getMaxImageDimension1D0(Buffer ptr);", "title": "" }, { "docid": "bbe9b7d969f4b0d67d36054306fcbb39", "score": "0.45846504", "text": "boolean UnannArrayType_1()\n {\n if (saved(\"UnannArrayType_1\",UnannArrayType_1)) return reuseInner();\n if (!UnannClassType() || !Dims()) return rejectInner();\n return acceptInner();\n }", "title": "" }, { "docid": "424ffbe54725ac7143cd562a586b5447", "score": "0.45781082", "text": "public boolean fitsInt() {\n byte[] byteArray = trunc().toByteArray();\n return (byteArray.length <= 4);\n }", "title": "" }, { "docid": "b95926d3faf756077c9872f0fb96643e", "score": "0.45764774", "text": "@Test\n public void decodeValueEmpty() throws IOException {\n byte[] data = new byte[0x01];\n DataInputStream is = new DataInputStream(new ByteArrayInputStream(data));\n\n Unsigned32 unsigned32 = new Unsigned32();\n unsigned32.decode(is);\n Assert.assertEquals(0, unsigned32.getVal());\n Assert.assertFalse(unsigned32.isSelected());\n }", "title": "" }, { "docid": "be77f12516ec4bb47f8134c8c0145fe3", "score": "0.4575932", "text": "@Override\n public Long decode(byte[] b) {\n return super.decode(b);\n }", "title": "" }, { "docid": "be77f12516ec4bb47f8134c8c0145fe3", "score": "0.4575932", "text": "@Override\n public Long decode(byte[] b) {\n return super.decode(b);\n }", "title": "" }, { "docid": "be77f12516ec4bb47f8134c8c0145fe3", "score": "0.4575932", "text": "@Override\n public Long decode(byte[] b) {\n return super.decode(b);\n }", "title": "" }, { "docid": "92272c71dacb37b9d8f773f940e4a6b2", "score": "0.45690644", "text": "public boolean hasHeightPx() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "a4b645580196c4534cd5961967ed874f", "score": "0.45680583", "text": "protected abstract boolean deserializeField ( Codec.FieldHeader hdr, ReadBuffer readBuffer ) throws CodecException;", "title": "" }, { "docid": "06c63f327c55a0dc2e08ba0c6d09dbe3", "score": "0.45671174", "text": "byte[] getData()\r\n/* 61: */ {\r\n/* 62:130 */ this.data = new byte[18];\r\n/* 63:131 */ IntegerHelper.getTwoBytes(this.properties, this.data, 0);\r\n/* 64: */ \r\n/* 65: */ \r\n/* 66:134 */ IntegerHelper.getTwoBytes((int)this.x1, this.data, 2);\r\n/* 67: */ \r\n/* 68: */ \r\n/* 69:137 */ int x1fraction = (int)((this.x1 - (int)this.x1) * 1024.0D);\r\n/* 70:138 */ IntegerHelper.getTwoBytes(x1fraction, this.data, 4);\r\n/* 71: */ \r\n/* 72: */ \r\n/* 73:141 */ IntegerHelper.getTwoBytes((int)this.y1, this.data, 6);\r\n/* 74: */ \r\n/* 75: */ \r\n/* 76:144 */ int y1fraction = (int)((this.y1 - (int)this.y1) * 256.0D);\r\n/* 77:145 */ IntegerHelper.getTwoBytes(y1fraction, this.data, 8);\r\n/* 78: */ \r\n/* 79: */ \r\n/* 80:148 */ IntegerHelper.getTwoBytes((int)this.x2, this.data, 10);\r\n/* 81: */ \r\n/* 82: */ \r\n/* 83:151 */ int x2fraction = (int)((this.x2 - (int)this.x2) * 1024.0D);\r\n/* 84:152 */ IntegerHelper.getTwoBytes(x2fraction, this.data, 12);\r\n/* 85: */ \r\n/* 86: */ \r\n/* 87:155 */ IntegerHelper.getTwoBytes((int)this.y2, this.data, 14);\r\n/* 88: */ \r\n/* 89: */ \r\n/* 90:158 */ int y2fraction = (int)((this.y2 - (int)this.y2) * 256.0D);\r\n/* 91:159 */ IntegerHelper.getTwoBytes(y2fraction, this.data, 16);\r\n/* 92: */ \r\n/* 93:161 */ return setHeaderData(this.data);\r\n/* 94: */ }", "title": "" }, { "docid": "62c9c1eb87f678c087c22a7c454490c9", "score": "0.45633897", "text": "public boolean loadHeightmap() {\n // initialize the height data attributes\n heightData = new float[size * size];\n\n // attempt to connect to the supplied file.\n BufferedInputStream bis = null;\n\n try {\n bis = new BufferedInputStream(stream);\n final DataInputStream dis = new DataInputStream(bis);\n DataInput di = dis;\n if (isLittleEndian) {\n di = new LittleEndianDataInput(dis);\n }\n\n // read the raw file\n for (int y = 0; y < size; y++) {\n for (int x = 0; x < size; x++) {\n int index;\n int xIndex = x;\n int yIndex = y;\n\n if (flipX) {\n xIndex = size - x - 1;\n }\n if (flipY) {\n yIndex = size - y - 1;\n }\n\n if (swapXY) {\n index = xIndex * size + yIndex;\n } else {\n index = yIndex * size + xIndex;\n }\n\n switch (format) {\n case Byte:\n heightData[index] = di.readByte() * 0.5f / Byte.MAX_VALUE + 0.5f;\n break;\n case Short:\n heightData[index] = di.readShort() * 0.5f / Short.MAX_VALUE + 0.5f;\n break;\n case UnsignedByte:\n heightData[index] = di.readUnsignedByte() * 0.5f / Byte.MAX_VALUE;\n break;\n case UnsignedShort:\n heightData[index] = di.readUnsignedShort() * 0.5f / Short.MAX_VALUE;\n break;\n case Integer:\n heightData[index] = di.readInt() * 0.5f / Integer.MAX_VALUE + 0.5f;\n break;\n case Float:\n heightData[index] = di.readFloat() / Float.MAX_VALUE;\n break;\n }\n }\n }\n dis.close();\n } catch (final IOException e1) {\n logger.warning(\"Error reading height data from stream.\");\n return false;\n }\n loaded = true;\n return true;\n }", "title": "" }, { "docid": "400baff6b694e17ea04ca2c92d8bb1ca", "score": "0.45617446", "text": "public boolean fitsLong() {\n byte[] byteArray = trunc().toByteArray();\n return (byteArray.length <= 8);\n }", "title": "" }, { "docid": "e3dbafedad83aea9fa0a9afa88b1c739", "score": "0.45542896", "text": "private Bitmap decodeSampledBitmapFromResource(Resources res, int resId, int reqWidth, int reqHeight) {\n final BitmapFactory.Options options = new BitmapFactory.Options();\n options.inJustDecodeBounds = true;\n BitmapFactory.decodeResource(res, resId, options);\n\n // Calculate inSampleSize\n options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);\n\n // Decode bitmap with inSampleSize set\n options.inJustDecodeBounds = false;\n return BitmapFactory.decodeResource(res, resId, options);\n }", "title": "" }, { "docid": "56473a12e413f92cd2477e2bbae70324", "score": "0.45530647", "text": "public boolean hasHeightPx() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "ae9711cc60600ed5f2423c1fbb3f393f", "score": "0.45498294", "text": "boolean hasSize();", "title": "" }, { "docid": "ae9711cc60600ed5f2423c1fbb3f393f", "score": "0.45498294", "text": "boolean hasSize();", "title": "" }, { "docid": "ae9711cc60600ed5f2423c1fbb3f393f", "score": "0.45498294", "text": "boolean hasSize();", "title": "" }, { "docid": "ae9711cc60600ed5f2423c1fbb3f393f", "score": "0.45498294", "text": "boolean hasSize();", "title": "" } ]
2572fb5b887bf8c083670aca481f93c1
Create the R_SCRIPT_SUCCESS file here during initialization. Otherwise, if created at the end (as per usual) an error in R script processing could prevent the file from ever being created, leaving the program to loop indefinitely.
[ { "docid": "010e668339185b641d4fcc719ec61683", "score": "0.63678944", "text": "private void initRScript() throws Exception\n\t{\n\t\trScript = new File( getScriptDir() + File.separator + R_SCRIPT_NAME );\n\t\taddScriptFile( rScript );\n\t\twriter = new BufferedWriter( new FileWriter( rScript ) );\n\t\taddLine( \"rm( list=ls() )\" );\n\t\taddLine( \"pdf( \\\"\" + getScriptDir() + File.separator + R_SCRIPT_SUCCESS + \"\\\" )\" );\n\t\t// addLine( \"install.packages( \\\"Kendall\\\", repos = \\\"http://cran.us.r-project.org\\\" ) \" );\n\t\t// addLine( \"install.packages( \\\"coin\\\", repos = \\\"http://cran.us.r-project.org\\\" ) \" );\n\t\taddLine( \"library( \\\"Kendall\\\" )\" );\n\t\taddLine( \"library( \\\"coin\\\" )\" );\n\t\taddLine( \"setwd(\\\"\" + getOutputDir().getAbsolutePath() + \"\\\")\" );\n\t\taddLine( getTaxaLevels() );\n\t\taddLine( \"sessionInfo()\" );\n\t\taddLine( \"wilcox_test.default <- function(x, y, ...) {\" );\n\t\taddLine( \" data=data.frame(values = c(x, y), group = rep(c(\\\"x\\\", \\\"y\\\"), c(length(x), length(y))))\" );\n\t\taddLine( \" wilcox_test(values ~ group, data = data, ...)\" );\n\t\taddLine( \"}\" );\n\t\taddLine( \"for( taxa in taxaLevels ) \\n {\" );\n\t}", "title": "" } ]
[ { "docid": "8350a6a2202d81696daf33bb1c481995", "score": "0.5827027", "text": "@Test\n\tpublic void testWriteResult_CREATE() {\n\t\tApp.WriteResult(\"test appending to output when results.txt does not exist\");\n\t}", "title": "" }, { "docid": "548a6b8a7c93a6d9692caf95ad3a3bbd", "score": "0.5605006", "text": "public void createResultFile() {\r\n try {\r\n file = new RandomAccessFile(new File(\"test.save\"), \"rw\");\r\n } catch (FileNotFoundException e) {\r\n System.out.println(\"File was not created!\");\r\n }\r\n }", "title": "" }, { "docid": "b276e090036e780d342dd35a788a6577", "score": "0.5584221", "text": "private boolean shouldCreateSuccessFile(JobConf conf) {\n return conf.getBoolean(\"mapreduce.fileoutputcommitter.marksuccessfuljobs\", true);\n }", "title": "" }, { "docid": "e5eceabb65b41a45c50f9b40bf6a3878", "score": "0.53449005", "text": "private void createFile() {\n FileWriter fstream = null;\n try {\n if (\"\".equals(trainingExperimentOutputFileName)) {\n Date date = new Date();\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd HH-mm-ss\");\n trainingExperimentOutputFileName = \"./saved_states/Experiments3/\" + dateFormat.format(date) + \"-trainingerror.csv\";\n }\n File file = new File(trainingExperimentOutputFileName);\n fstream = new FileWriter(file);\n out = new BufferedWriter(fstream);\n experimentOutputFileCreated = true;\n\n } catch (IOException ex) {\n System.out.println(\"Error creating file. \" + ex.getMessage());\n try {\n fstream.close();\n } catch (IOException ex1) {\n //do nothing\n }\n }\n }", "title": "" }, { "docid": "456ebc97b678f11e00cf83eb58dcf9ee", "score": "0.5230527", "text": "@Override \n public void commitJob(JobContext context) throws IOException {\n JobConf conf = context.getJobConf();\n if (shouldCreateSuccessFile(conf)) {\n Path outputPath = FileOutputFormat.getOutputPath(conf);\n if (outputPath != null) {\n FileSystem fileSys = outputPath.getFileSystem(conf);\n Path filePath = new Path(outputPath, FileOutputCommitter.SUCCEEDED_FILE_NAME);\n fileSys.create(filePath).close();\n }\n }\n }", "title": "" }, { "docid": "ad6c6cd8311a8f19f0886e1d7a27d718", "score": "0.51753396", "text": "public boolean createAdditionalFile(){\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"ddMMyyyy_HHmmss\");\n\t\tDate date = new Date();\n\t\tpath=getFilePath();\n\t\tString dateString=dateFormat.format(date);\n\t\ttry{\n\t\t\tnew File(getFilePath()).mkdirs();\n\t\t\tnew File(getFilePath()+\"/scripts/archive\").mkdirs();\n\t\t\tnew File(getFilePath()+\"/\"+dateString+\".txt\").createNewFile();\n\t\t\tPrintStream out = new PrintStream(new FileOutputStream(getFilePath()+\"/\"+dateString+\".txt\"));\n\t\t\tout.print(toJsonString());\n\t\t\tout.close();\n\t\t}catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "4ea325e3a0a2e8d607f697e744c73a28", "score": "0.5044978", "text": "public void reportreturning()\n{\n /*TextFile log = new TextFile (); // instantiation of a text file handler\n\n if (!log.openForAppending(\".\", fileName))\n { GenericIO.writelnString (\"The operation of creating the file \" + fileName + \" failed!\");\n System.exit (1);\n }\n log.writelnString (\"\\n\");\n log.writelnString (\"Flight \" + numberF + \": returning.\");\n if (!log.close ())\n { GenericIO.writelnString (\"The operation of closing the file \" + fileName + \" failed!\");\n System.exit (1);\n }*/\n}", "title": "" }, { "docid": "fc3656df426a88025cfc72a18c2f6ee7", "score": "0.49992323", "text": "private boolean buildOutputFile() throws FileNotFoundException\n {\n FileOutputStream outFile = new FileOutputStream(m_FilePath + m_FileNames.get(0), false);\n boolean result = false;\n ResultSet pmntData = null;\n int curRow = 5;\n \n try {\n //\n // Need to call this here after the parameters have been set. The title contains \n // the sequence numbers.\n \n setupWorkbook();\n \n m_PaymentData.setString(1, m_BegCust);\n m_PaymentData.setString(2, m_EndCust);\n m_PaymentData.setLong(3, m_BegDate);\n m_PaymentData.setLong(4, m_EndDate); \n pmntData = m_PaymentData.executeQuery();\n \n while ( pmntData.next() && m_Status == RptServer.RUNNING ) { \n addRow(curRow);\n addCell(0, pmntData.getString(\"IDCUST\"), m_StyleTxtL);\n addCell(1, pmntData.getString(\"NAMECUST\"), m_StyleTxtL);\n addCell(2, toDateStr(pmntData.getInt(\"doc_date\")), m_StyleDate);\n addCell(3, toDateStr(pmntData.getInt(\"due_date\")), m_StyleDate);\n addCell(4, pmntData.getString(\"inv_nbr\"), m_StyleTxtL);\n addCell(5, pmntData.getString(\"pmt_nbr\"), m_StyleTxtL);\n addCell(6, pmntData.getString(\"check_nbr\"), m_StyleTxtL);\n addCell(7, toDateStr(pmntData.getInt(\"pmt_date\")), m_StyleDate);\n addCell(8, pmntData.getString(\"date_var\"), m_StyleInt);\n addCell(9, pmntData.getDouble(\"AMTDUEHC\"), m_StyleDouble);\n addCell(10, pmntData.getDouble(\"AMTPAYMHC\"), m_StyleDouble); \n addCell(11, pmntData.getString(\"remit_var\"), m_StyleInt);\n \n curRow++;\n }\n\n m_Wrkbk.write(outFile); \n result = true;\n }\n \n catch ( Exception ex ) {\n m_ErrMsg.append(\"Your report had the following errors: \\r\\n\");\n m_ErrMsg.append(ex.getClass().getName() + \"\\r\\n\");\n m_ErrMsg.append(ex.getMessage());\n\n log.fatal(\"[SageEarlyInterest]\", ex);\n }\n\n finally {\n DbUtils.closeDbConn(null, m_PaymentData, pmntData);\n }\n \n return result;\n }", "title": "" }, { "docid": "13c7a1044bbe101ea2b41ba81a5b135c", "score": "0.499448", "text": "private void doExecute() throws IOException {\n SortedSetMultimap<String, Resource> rDotJavaPackageToResources = sortSymbols(\n new Function<String, Readable>() {\n @Override\n public Readable apply(String pathToFile) {\n try {\n return new FileReader(pathToFile);\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }\n },\n symbolsFileToRDotJavaPackage,\n true /* reenumerate */);\n\n // Create an R.java file for each package.\n for (String rDotJavaPackage : rDotJavaPackageToResources.keySet()) {\n // Create the content of R.java.\n SortedSet<Resource> resources = rDotJavaPackageToResources.get(rDotJavaPackage);\n\n // Write R.java in the pathToGeneratedJavaFiles directory. Admittedly, this will be written\n // to /tmp/com.example.stuff/R.java rather than /tmp/com/example/stuff/R.java. It turns out\n // that directory structure does not matter to javac.\n\n // Determine the path to R.java.\n File rDotJava = getOutputFile(pathToGeneratedJavaFiles, rDotJavaPackage);\n\n // Then write R.java to the output directory.\n Files.createParentDirs(rDotJava);\n BufferedWriter writer = Files.newWriter(rDotJava, Charsets.UTF_8);\n try {\n writeJavaCodeForPackageAndResources(new PrintWriter(writer),\n rDotJavaPackage, resources);\n } finally {\n writer.close();\n }\n }\n }", "title": "" }, { "docid": "305743fb7fb8f85d46065fa0bd01890f", "score": "0.49493283", "text": "@Test\n\tpublic void testWriteResult_APPEND() {\n\t\tApp.WriteResult(\"test appending to output when results.txt DOES exist\");\n\t}", "title": "" }, { "docid": "5edc0bff12ca0aef25cfcb7a997f5407", "score": "0.49204817", "text": "@Test\r\n \tpublic void testFirstStart_FileIsCreated_ProgramExits() throws Exception {\r\n \r\n \t\t// delete the settings file to simulate a first start\r\n \t\tsettingsFile.delete();\r\n \r\n \t\tloadSettings();\r\n \r\n \t\t// verify message\r\n \t\tverify(log, times(1))\r\n \t\t\t\t.info(\r\n \t\t\t\t\t\tString.format(\r\n \t\t\t\t\t\t\t\tConstants.MSG_CONFIGURATION_UPGRADED,\r\n \t\t\t\t\t\t\t\tsettingsFile.getAbsolutePath(),\r\n \t\t\t\t\t\t\t\t\"{sync.types,sync.end,sync.start,sync.transfer.title,sync.transfer.description,sync.transfer.location,notes.mail.db.file,notes.domino.server,google.calendar.reminderminutes,google.calendar.name,google.account.email,proxy.host,proxy.port,proxy.user,proxy.password}\"));\r\n \r\n \t\t// verify exit\r\n \t\tverify(exitStrategy, times(1)).exit(0);\r\n \t\tverifyNoMoreInteractions(exitStrategy);\r\n \r\n \t\t// verify that all parameters are set with their defaults\r\n \t\tverifyAllParametersAreSetWithDefaults();\r\n \t}", "title": "" }, { "docid": "e6c0e1a33c8abef7fff7dbb903581c60", "score": "0.49093467", "text": "@Override\n public boolean wasLastScriptSuccessful() {\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Checking if the last deployment script was successful\");\n }\n final StringBuilder queryBuilder = new StringBuilder(36);\n\n // The creation time is unreliable because on fast machines two items can have the same creation time.\n queryBuilder.append(\"SELECT {\").append(ScriptExecutionModel.PK).append(\"}\").append(\" FROM {\").append(ScriptExecutionModel._TYPECODE)\n .append(\"} ORDER BY {pk} DESC\");\n\n final Map<String, Object> queryParams = new ConcurrentHashMap<>();\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"Executing the query: '\" + queryBuilder.toString() + \"'.\");\n }\n final FlexibleSearchQuery query = new FlexibleSearchQuery(queryBuilder.toString(), queryParams);\n query.setCount(1); // The first range must have one element.\n query.setNeedTotal(false);\n\n final SearchResult<ScriptExecutionModel> result = this.flexibleSearchService.search(query);\n if (result.getCount() == 0) {\n if (LOG.isTraceEnabled()) {\n LOG.trace(\"No script was run. Returning true.\");\n }\n return true;\n }\n final ScriptExecutionModel lastScript = result.getResult().iterator().next();\n final boolean hadErrors = this.flexibleSearchScriptExecutionResultDao.getErrorResult().equals(lastScript.getResult());\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Had the last script errors? \" + hadErrors);\n }\n return !hadErrors;\n }", "title": "" }, { "docid": "457f45965dd97b2bf84394ce4e595775", "score": "0.48725665", "text": "static void writeSat(int r) {\n // Create the file satn-r.pml\n String name = \"sat\" + n + \"-\" + r + \".pml\";\n\t\ttry {\n\t\t\tprogramWriter = \n\t\t\t\tnew PrintWriter(new FileWriter(name));\n\t\t // Create the batch file satn.bat only once at the beginning \n if (r == 0)\n batchWriter = \n new PrintWriter(new FileWriter(\"sat\" + n + \".bat\"));\n\t\t}\n catch (IOException e) {\n System.out.println(\"Cannot open file\"); \n }\n\n // Write the batch file\n writeBatch(name, r);\n\n // Display a status message\n System.out.println(\"Generating file \" + name + \", \" +\n (r == 0 ? \"unsatisfiable\" : \"changed literal \" + change) );\n\n // Prepare the printf statements in the program\n // printf(\"p1 p2 ... \");\n // printf(\"%d %d ...\\n, p1, p2, ...);\n //\n\t\tString t0 = \"\"; // List of variables for printf (and declarations)\n String t1 = \"\"; // Print the names of the variables\n String t2 = \" \"; // Format specifier for printf\n\t\tfor (int i = 0; i < n*n; i++) {\n\t\t\tt0 = t0 + \", \" + ch(i);\n\t\t\tt1 = t1 + ch(i) + \" \";\n\t\t\tt2 = t2 + \"%d \";\n\t\t}\n\n // Emit program header and declarations\n\t\temit(\"active proctype sat() {\");\n\t\temit(\"\\tbool\" + t0.substring(1) + \";\"); // Delete leading comma\n\t\temit(\"\\tbool result = 1;\"); // For Erigone, initialize\n\t\temit(\"\");\n\t\t\n // Generate nondeterministic assignments to each variable\n // if :: p1 = true :: p1 = false fi;\n //\n\t\tfor (int i = 0; i < n*n; i++)\n\t\t\temit(\"\\tif :: \" + ch(i) + \" = true :: \" + \n\t\t\t\t\tch(i) + \" = false fi;\");\n\t\temit(\"\");\n\n // Generate the clauses\n\n\t\t// A bit vector for negating individual literals \n\t\tint bits;\n // Parity of the node label. The first node is 0, the rest are 1\t\t\n\t\tboolean parity;\n // Reset literal counter\n literals = 0;\n\n\t\t// Loop for generating clauses at each of the 2*n nodes:\n\t\t// n on the left and n on the right\n\t\tfor (int i = 0; i < 2*n; i++) {\n \t\temit(\"\\tresult = result &&\"); // For Erigone, short statements\t \n\t\t\tparity = i == 0;\n\t\t\tbits = 0;\n // Since each node is connected to n others,\n // there are 2^n possible clauses on the literals labeling\n // the edges, but only half are of the correct parity.\n\t\t\tfor (int k = 0; k < twon/2 ; k++) {\n\t\t\t // Skip bit vectors where there are an odd number of bits\n\t\t\t // and odd parity, or an even number of bits and even parity;\n\t\t\t // use only bit vectors where these are different parity\n\t\t\t // Count bits as 1,2,3,...,2*n-1,0\n\t\t\t\tdo {\n\t\t\t\t bits = (bits+1) % twon;\n\t\t\t\t} \n\t\t\t\twhile (oddBits(bits) == parity);\n\t\t\t\t// Generate a clause for the n'th node\n\t\t\t\t// If i < n, this is the left side of the bipartite graph\n\t\t\t\tclause(n, i<n ? i : i-n, bits, i<n);\n\t\t\t}\n \t\temit(\"\\ttrue;\"); // Terminate with true after each final &&\n\t\t}\n\n\t\temit(\"\");\n\n // Emit printf\n\t\temit(\"\\tprintf(\\\"\" + t1 + \"\\\\n\\\");\"); \n\t\temit(\"\\tprintf(\\\"\" + t2 + \"\\\\n\\\"\\n\\t\" + t0 + \");\"); \n\t\temit(\"\\tprintf(\\\"Result = %d\\\\n\\\", result);\");\n\n\t\t// Emit final assert statement\n\t\temit(\"\\tassert(!result);\");\n\t\temit(\"}\");\n\n\t\tprogramWriter.close();\n\t}", "title": "" }, { "docid": "25d0fdd42be57670fbd149fd315d61af", "score": "0.48567677", "text": "public void testCreateFromFile() throws Exception {\r\n File testScript = new File(\"src/test-scripts/test1.jexl\");\r\n assertNotNull(\"No script created\", ScriptFactory.createScript(testScript));\r\n }", "title": "" }, { "docid": "e6ff3f9fe36e65fd97c02aadbdb2c128", "score": "0.48329794", "text": "@Override\n\tpublic File getMainScript() throws Exception\n\t{\n\t\tif( rScript != null )\n\t\t{\n\t\t\treturn rScript;\n\t\t}\n\n\t\tthrow new Exception( \"R Script not found: \" + rScript.getAbsolutePath() );\n\n\t}", "title": "" }, { "docid": "59700b6a26cf643610773fd5fb346d99", "score": "0.4829282", "text": "boolean executeInitTestFile();", "title": "" }, { "docid": "e0ae27acce0b719606dedea554a1fc14", "score": "0.47795454", "text": "public boolean performFinish( )\n { \n\t\tString fname=firstPage.getFileName();\n\t\tif (!fname.toLowerCase().endsWith(\".uxf\")) {\n\t\t\tfirstPage.setFileName(fname+\".uxf\");\n\t\t}\n\t\t\n\t\tif (firstPage.getErrorMessage()!=null) return false;\n\t\t\n IFile file = firstPage.createNewFile( );\n \n return true;\n }", "title": "" }, { "docid": "59abf10a53fcb44bdd795feec463d7cc", "score": "0.47573787", "text": "public void testCreateFromNullFile() throws Exception {\r\n File testScript = null;\r\n try\r\n {\r\n assertNotNull(\"No script created\", ScriptFactory.createScript(testScript));\r\n fail(\"Null script created\");\r\n }\r\n catch (NullPointerException e)\r\n {\r\n // expected\r\n }\r\n }", "title": "" }, { "docid": "2dad01e15643363d6a4e90d3f3b9e004", "score": "0.47415525", "text": "private Boolean setupWriter() {\r\n \r\n try {\r\n \r\n pWriter = new PrintWriter(new FileWriter(\"SimulationOutput.txt\"));\r\n return true;\r\n \r\n } catch(IOException e) {\r\n \r\n System.out.println(\"Error creating print writer.\");\r\n \r\n }\r\n \r\n return false;\r\n \r\n }", "title": "" }, { "docid": "27228a995e668edb77a5eb38ddea7f8a", "score": "0.47310874", "text": "public void run()\n \t\t\t{\n \t\t\t\twriteFile();\n \t\t\t}", "title": "" }, { "docid": "732457dfcc54da45131192c70287c72e", "score": "0.47307733", "text": "@Then(\"^It should generate a flat file with the test result$\")\n\tpublic void generate_file_with_the_test_result() {\n\t\tPrintWriter writer;\n\t\ttry {\n\t\t\tString basePath = new File(\"\").getAbsolutePath();\n\t\t\tString path = new File(\"TestResult.txt\").getAbsolutePath();\n\n\t\t\twriter = new PrintWriter(path, \"UTF-8\");\n\t\t\twriter.println(result);\n\t\t\twriter.close();\n\t\t\tSystem.out.println(result);\n\t\t\tSystem.out.println(\"Test Result File generaged: \" + path);\n\t\t} catch (FileNotFoundException | UnsupportedEncodingException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "1438f139f64a8f654ed6a96360ddf4a2", "score": "0.47258025", "text": "public void createCompilationOutput() {\n /* Create a new temporary directory for compilation output */\n Bundle compilationOutput;\n try {\n compilationOutput = new Bundle();\n } catch (IOException e) {\n LOGGER.severe(\"Unable to create compilation output directory\");\n return;\n }\n\n /* Create a subdirectory for broken solutions compilation */\n try {\n solutionsOutput = compilationOutput.makeBundle(\"solutions\");\n } catch (IOException e) {\n LOGGER.severe(\"Unable to create solutions directory in compilation output directory\");\n return;\n }\n\n /* Create a subdirectory for sample solution compilation */\n try {\n solutionOutput = compilationOutput.makeBundle(\"solution\");\n } catch (IOException e) {\n LOGGER.severe(\"Unable to create solution directory in compilation output directory\");\n }\n }", "title": "" }, { "docid": "ca5462a81cf3cc593d90f9770b05d43e", "score": "0.47144893", "text": "private static boolean rollOutputFile ()\n {\n \tboolean startNewFile = false;\n\n SimpleDateFormat formatter = new SimpleDateFormat(\"yyyy-MM-dd_HH\"); // SimpleDateFormat(\"yyyy-MM-dd_HH-mm-ss\");\n String nowAsString = formatter.format(new Date()) + \"h\";\n \t\n synchronized ( s_outputFileName ) {\n \t// a new file is created first time and on every new hour\n \tstartNewFile = ( null == s_outputStream ) || ( !nowAsString.equals( s_fileTimeTag ));\n \t\n \t\n \t// create the file if it does not already exist\n if ( startNewFile ) {\n \t// flush and close the old one if one exists\n \tif ( null != s_outputStream ) {\n \t\ttry { s_outputStream.flush(); } catch (IOException e) { e.printStackTrace(); }\n \t\ttry { s_outputStream.close(); } catch (IOException e) { e.printStackTrace(); }\n \t\ts_outputStream = null;\n \t}\n \t\n \t// create new file name: replace the $now in the filename with current date-time\n \ts_fileTimeTag = nowAsString;\n String filename = s_logDir+ \"emsMsgTrack-$now.txt\";\n filename = filename.replaceAll( \"\\\\$now\", nowAsString );\n\n // open the file\n try {\n File f = new File( filename );\n s_outputStream = new FileOutputStream( f, true ); // append to file since version 0.6.1 as it is no longer a unique filename\n System.err.println( \"INFO\\t[MyMessageListener] Tracking individual message processing timings in file: '\" + f.getAbsolutePath()+ \"'.\" );\n } catch ( java.io.FileNotFoundException e ) {\n System.out.println(\"ERROR [MyMessageListener] Exception caught during output file creation. Error=\" + e.getMessage() );\n e.printStackTrace();\n }\n \n // header line\n OutputStream o = (null != s_outputStream) ? s_outputStream : System.out;\n \n if ( s_traceFormat == TraceFormat.SHORT ) {\n\t util.writeLine( o, \"LASTEVT\\tSTATE\\tDateTime\"\n \t\t\t\t+ \"\\tElapsedT1\\tProcessingT1\\tQueuedT1\"\n + \"\\tElapsedT2\\tProcessingT2\\tTransitT2\"\n + \"\\tElapsedT3\\tProcessingT3\\tQueuedT3\"\n \t\t\t\t+ \"\\tTimeDiffLocal2MsgTS\\tTimeDiffLocal2JMSTS\" \n + \"\\tMapSize\"\n + \"\\tProducerConn\\tConsumerConnID\"\n + \"\\tRcvCount\\tSndCount\\tAckCount\\tExpCount\\tRedelCount\" );\n \t\n } else {\n \t// must be TraceFormat.LONG\n\t util.writeLine( o, \"LASTEVT\\tSTATE\\tDateTime\"\n\t \t\t\t\t+ \"\\tLocalTimestamp\\tMsgTimestamp\\tMsgSeq\" \n\t \t\t\t\t+ \"\\tMsgID\\tCorrID\" \n\t \t\t\t\t+ \"\\tReceivedAt\\tSendAt\\tAckedAt\\tExpiredAt\"\n\t \t\t\t\t+ \"\\tElapsedT1\\tProcessingT1\\tQueuedT1\"\n\t + \"\\tElapsedT2\\tProcessingT2\\tTransitT2\"\n\t + \"\\tElapsedT3\\tProcessingT3\\tQueuedT3\"\n\t \t\t\t\t+ \"\\tTimeDiffLocal2MsgTS\\tTimeDiffLocal2JMSTS\" \n\t + \"\\tMapSize\"\n\t + \"\\tProducerUser\\tConsumerUser\\tProducerConn\\tProducerID\\tProducerHost\\tConsumerConnID\\tConsumerID\\tConsumerHost\"\n\t + \"\\tRcvCount\\tSndCount\\tAckCount\\tExpCount\\tRedelCount\" );\n }\n }\n }\n \treturn startNewFile; \t\n }", "title": "" }, { "docid": "4d93ea39f8096e959545e036e4ba99f5", "score": "0.47141573", "text": "private static void outputFinalFile(long start) {\n File file = new File(\"resources/results/stats.txt\");\n try {\n FileWriter fr = new FileWriter(file);\n\n //Print totals\n System.out.println(\"\\tThere was a total of \" + totalErrorOccurrences.keySet().size() + \" different errors.\");\n fr.write(\"\\tThere was a total of \" + totalErrorOccurrences.keySet().size() + \" different errors.\\n\");\n fr.flush();\n\n System.out.println(\"\\tThere was a total of \" + totalWarningOccurrences.keySet().size() + \" different warnings.\");\n fr.write(\"\\tThere was a total of \" + totalWarningOccurrences.keySet().size() + \" different warnings.\\n\");\n fr.flush();\n\n System.out.println(\"\\tThere was a total of \" + totalElementOccurrences.keySet().size() + \" different elements.\");\n fr.write(\"\\tThere was a total of \" + totalElementOccurrences.keySet().size() + \" different elements.\\n\");\n fr.flush();\n\n System.out.println(\"\\tA total of \" + failedNoBytes + \" pages were excluded for having 0 bytes.\");\n fr.write(\"\\tA total of \" + failedNoBytes + \" pages were excluded for having 0 bytes.\\n\");\n fr.flush();\n\n System.out.println(\"\\tA total of \" + failedValidation + \" pages were excluded for failing to be validated.\");\n fr.write(\"\\tA total of \" + failedValidation + \" pages were excluded for failing to be validated.\\n\");\n fr.flush();\n\n System.out.println(\"\\tA total of \" + failedParsing + \" pages were excluded for failing to be parsed.\");\n fr.write(\"\\tA total of \" + failedParsing + \" pages were excluded for failing to be parsed.\\n\");\n fr.flush();\n\n System.out.println(\"\\tA total of \" + successful + \" pages out of \" + numWARCs + \" were successfully analyzed.\");\n fr.write(\"\\tA total of \" + successful + \" pages out of \" + numWARCs + \" were successfully analyzed.\\n\");\n fr.flush();\n\n System.out.println(\"\\tA total of \" + numForced + \" pages required forced settings to pass validation.\");\n fr.write(\"\\tA total of \" + numForced + \" pages required forced settings to pass validation.\\n\");\n fr.flush();\n\n\n //Time spent processing data\n long end = System.currentTimeMillis();\n fr.write(\"-> Start: \" + start + \", End: \" + end + \", Took: \" +(end - start) +\" ms, \" + ((end - start) / 1000) + \" seconds.\\n\");\n fr.flush();\n fr.close();\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "b1dd1573607a7c6796ec987ef7adc3ad", "score": "0.4708121", "text": "@Override\n protected void doFullTaskAction() throws IOException {\n File srcOut = getSourceOutputDir();\n if (srcOut != null) {\n // FileUtils.emptyFolder(srcOut);\n srcOut.delete();\n srcOut.mkdirs();\n }\n\n @Nullable\n File resOutBaseNameFile = getPackageOutputFile();\n\n // If are in instant run mode and we have an instant run enabled manifest\n File instantRunManifest = getInstantRunManifestFile();\n File manifestFileToPackage = instantRunBuildContext.isInInstantRunMode() && instantRunManifest != null\n && instantRunManifest.exists() ? instantRunManifest : getManifestFile();\n\n // 增加awb模块编译所需要的额外参数\n addAaptOptions();\n AaptPackageProcessBuilder aaptPackageCommandBuilder = new AaptPackageProcessBuilder(manifestFileToPackage,\n getAaptOptions()).setAssetsFolder(getAssetsDir()).setResFolder(getResDir()).setLibraries(getLibraries()).setPackageForR(getPackageForR()).setSourceOutputDir(absolutePath(srcOut)).setSymbolOutputDir(absolutePath(getTextSymbolOutputDir())).setResPackageOutput(absolutePath(resOutBaseNameFile)).setProguardOutput(absolutePath(getProguardOutputFile())).setType(getType()).setDebuggable(getDebuggable()).setPseudoLocalesEnabled(getPseudoLocalesEnabled()).setResourceConfigs(getResourceConfigs()).setSplits(getSplits()).setPreferredDensity(getPreferredDensity());\n\n @NonNull\n AtlasBuilder builder = (AtlasBuilder) getBuilder();\n\n // MergingLog mergingLog = new MergingLog(getMergeBlameLogFolder());\n //\n // ProcessOutputHandler processOutputHandler = new ParsingProcessOutputHandler(\n // new ToolOutputParser(new AaptOutputParser(), getILogger()),\n // builder.getErrorReporter());\n\n ProcessOutputHandler processOutputHandler = new LoggedProcessOutputHandler(getILogger());\n try {\n builder.processAwbResources(aaptPackageCommandBuilder, getEnforceUniquePackageName(), processOutputHandler,\n getMainSymbolFile());\n if (resOutBaseNameFile != null) {\n if (instantRunBuildContext.isInInstantRunMode()) {\n\n instantRunBuildContext.addChangedFile(InstantRunBuildContext.FileType.RESOURCES,\n resOutBaseNameFile);\n\n // get the new manifest file CRC\n JarFile jarFile = new JarFile(resOutBaseNameFile);\n String currentIterationCRC = null;\n try {\n ZipEntry entry = jarFile.getEntry(SdkConstants.ANDROID_MANIFEST_XML);\n if (entry != null) {\n currentIterationCRC = String.valueOf(entry.getCrc());\n }\n } finally {\n jarFile.close();\n }\n\n // check the manifest file binary format.\n File crcFile = new File(instantRunSupportDir, \"manifest.crc\");\n if (crcFile.exists() && currentIterationCRC != null) {\n // compare its content with the new binary file crc.\n String previousIterationCRC = Files.readFirstLine(crcFile, Charsets.UTF_8);\n if (!currentIterationCRC.equals(previousIterationCRC)) {\n instantRunBuildContext.abort();\n instantRunBuildContext.setVerifierResult(InstantRunVerifierStatus.BINARY_MANIFEST_FILE_CHANGE);\n }\n }\n\n // write the new manifest file CRC.\n Files.createParentDirs(crcFile);\n Files.write(currentIterationCRC, crcFile, Charsets.UTF_8);\n }\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n } catch (InterruptedException e) {\n throw new RuntimeException(e);\n } catch (ProcessException e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "03206b07ecd7b77a58aa7c4ff39881e6", "score": "0.46960986", "text": "abstract protected void generateScript(Namespace namespace, PrintStream out);", "title": "" }, { "docid": "b6e69018e85835c0bb1e7f032b56a1dc", "score": "0.46876115", "text": "public void setFailScriptDirectory(File newfailScriptDirectory) {\n this.failScriptDirectory = newfailScriptDirectory;\n }", "title": "" }, { "docid": "54494b10394d636f81a0b0bfea7c3b28", "score": "0.46725586", "text": "public void reportCheck(int id)\n{\n /*TextFile log = new TextFile (); // instantiation of a text file handler\n\n if (!log.openForAppending(\".\", fileName))\n { GenericIO.writelnString (\"The operation of creating the file \" + fileName + \" failed!\");\n System.exit (1);\n }\n log.writelnString (\"\\n\");\n log.writelnString (\"Flight \" + numberF + \": passenger \" + id + \" checked.\");\n if (!log.close ())\n { GenericIO.writelnString (\"The operation of closing the file \" + fileName + \" failed!\");\n System.exit (1);\n }*/\n}", "title": "" }, { "docid": "7820da3cbee2aacd04d86c71d70da016", "score": "0.46607625", "text": "@Override\n protected boolean processUpdateScript(final ScriptClass script) {\n getLog().debug(\"Converting \" + script.getFile().getAbsolutePath() + \" to updater xml\");\n final Node updateScriptNode = getUpdateScriptNode(sourceDir, script);\n if (updateScriptNode == null) {\n getLog().warn(\"Skipping file: \" + script.getFile().getAbsolutePath() + \", not a valid updatescript\");\n return false;\n }\n final File targetFile = new File(targetDir, getUpdateScriptXmlFilename(sourceDir, script.getFile()));\n targetFile.getParentFile().mkdirs();\n getLog().info(\"Write \" + targetFile.getAbsolutePath());\n return marshal(updateScriptNode, targetFile);\n }", "title": "" }, { "docid": "56f542e1ac0329b41669f0a8c595126a", "score": "0.46471012", "text": "private void generateResponse(String outLine, String command, String nextScript, boolean success, HttpServletResponse response)\n\t throws IOException {\n\n response.setContentType(\"text/html\");\n PrintWriter out = response.getWriter();\n\n out.println(\"<html>\");\n out.println(\"<head>\");\n out.println(\" <LINK href=\\\"css/styles.css\\\" type=text/css rel=STYLESHEET>\");\n out.println(\"<title>Permissions</title>\");\n out.println(\"</head>\");\n out.println(\"<body BGCOLOR=#DEC68B background=images/background.png leftmargin=0 topmargin=0>\");\n out.println(\"<form name=result method=post>\");\n out.println(\"\");\n out.println(\"<input type=hidden name=command value='\" + command + \"'>\");\n out.println(\"<script language=\\\"JavaScript\\\">\\n\");\n out.println(\"<!--\\n\");\n if (success) {\n if (!outLine.equals(\"\")) {\n out.println(\"alert('\" + outLine + \"');\\n\");\n }\n if (!nextScript.equals(\"noRefresh\")) {\n out.println(\"parent.document.location='\" + nextScript + \"';\\n\");\n }\n } else {\n if (!outLine.equals(\"\")) {\n out.println(\"alert('Error saving resource!');\\n\");\n } else {\n out.println(\"alert('Error saving resource: \" + outLine + \"');\\n\");\n }\n }\n out.println(\"//-->\\n\");\n out.println(\"</script>\\n\");\n out.println(\"\");\n out.println(\"</form>\\n</body>\\n</html>\");\n\n out.close();\n }", "title": "" }, { "docid": "753b842a76089fa85603bd065fff4d77", "score": "0.4634461", "text": "private static synchronized void compileScript() {\n try {\n compiledScript = ((Compilable) theOneTrueEngine).compile(healthExpr);\n } catch (Exception e) {\n compiledScript = null;\n }\n }", "title": "" }, { "docid": "33e7854a64f3c2f3bc5865dd6e40d9b2", "score": "0.46238795", "text": "public void preExecutionWork(){\n\t\toutputFolder = new File(Main.sessionDir.getPath() + File.separator + \"keywords\");\n\t\toutputFolder.mkdir();\n\t\t\n\t\tabstractFolder = new File(Main.sessionDir.getPath() + File.separator + \"abstracts\");\n\t\tabstractFolder.mkdir();\n\t\t\n\t\tabstractFolder.deleteOnExit();\n\t\t\n\t\tkeyphraseJar = generateResource(\"/resources/KeyphraseExtract.jar\", outputFolder.getPath() +File.separator+\"KeyphraseExtract.jar\");\n\t\t\n\t\tString resourcePath = keyphraseJar.getPath();\n\t\tif(System.getProperty(\"os.name\").contains(\"indows\") && resourcePath.startsWith(\"/\")){\n\t\t\tresourcePath = resourcePath.substring(1, resourcePath.length());\n\t\t}\n\t\t// template command for running bibliography extraction\t\n\t\ttemplateCommand = templateCommand + resourcePath + \" \";\n\t}", "title": "" }, { "docid": "bbeb27c0c4e0c91a75413828d218c503", "score": "0.4620349", "text": "public static void include_ssi_file(String filename){\n// char buffer[MAX_INPUT_BUFFER];\n// FILE *fp;\n// struct stat stat_result;\n// int call_return = 1;\n \n /* TODO if file is executable, we want to run it rather than print it */\n// call_return=stat(filename,&stat_result);\n \n// /* file is executable */\n// if(call_return==0 ) // && (stat_result.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))){\n// \n// /* must flush output stream first so that output\n// from script shows up in correct place. Other choice\n// is to open program under pipe and copy the data from\n// the program to our output stream.\n// */\n// System.out.flush();\n// \n// /* ignore return status from system call. */\n// call_return=system(filename);\n// \n// return;\n// }\n// \n// /* an error occurred trying to stat() the file */\n// else if(call_return!=0){\n// \n// /* Handle error conditions. Assume that standard posix error codes and errno are available. If not, comment this section out. */\n// switch(errno){\n// case ENOTDIR: /* - A component of the path is not a directory. */\n// case ELOOP: /* Too many symbolic links encountered while traversing the path. */\n// case EFAULT: /* Bad address. */\n// case ENOMEM: /* Out of memory (i.e. kernel memory). */\n// case ENAMETOOLONG: /* File name too long. */\n// System.out.printf(\"<br /> A stat call returned %d while looking for the file %s.<br />\", errno, filename);\n// return;\n// case EACCES: /* Permission denied. -- The file should be accessible by blue. */\n// System.out.printf(\"<br /> A stat call returned a permissions error(%d) while looking for the file %s.<br />\", errno, filename);\n// return;\n// case ENOENT: /* A component of the path file_name does not exist, or the path is an empty string. Just return if the file doesn't exist. */\n// return;\n// default:\n// return;\n// }\n// }\n \n try {\n InputStream in = new FileInputStream(filename);\n \n // Transfer bytes from in to out\n byte[] buf = new byte[1024*512];\n \n int len;\n while ((len = in.read(buf)) > 0) {\n System.out.write(buf, 0, len);\n }\n in.close();\n } catch (IOException ioE ) {\n ;\n }\n return;\n }", "title": "" }, { "docid": "f67e476f1630b2aadc66366cd60df794", "score": "0.46070585", "text": "public synchronized String process(File fileCPP, Problem problem, Submission submission) {\r\n submission.verdict = \"COMPILING\";\r\n File fileEXE = compileCode(fileCPP);\r\n if (fileEXE == null) {\r\n// System.out.println(\"CodeProcessing, 136 null\");\r\n return \"COMPILE ERROR\";\r\n }\r\n \r\n// System.out.println(\"CodeProcessing 141\\n\");\r\n// problem.timeLimit = 5000;\r\n if (problem.oneFile) {\r\n File fileSTDOUT = new File(String.format(\"output%d.txt\", getNewFileNumber()));\r\n deleteFile(fileSTDOUT);\r\n submission.verdict = \"RUNNING...\";\r\n Date now = new Date();\r\n int verdictCode = RunProgram(fileEXE, problem.inputFile, fileSTDOUT, problem.timeLimit);\r\n \r\n deleteFile(fileEXE);\r\n\r\n if (verdictCode == 4) {\r\n submission.timeElapsed = new Date().getTime() - now.getTime();\r\n return \"TIME LIMIT EXCEEDED\";\r\n\r\n }\r\n if (verdictCode == 3) {\r\n return \"RUNTIME ERROR\";\r\n }\r\n\r\n if (matcher.process(problem,fileSTDOUT, problem.outputFile)) {\r\n deleteFiles(fileSTDOUT);\r\n submission.timeElapsed = new Date().getTime() - now.getTime();\r\n return \"ACCEPTED\";\r\n } else {\r\n deleteFiles(fileSTDOUT);\r\n System.out.println(\"returned from 166th line\");\r\n return \"WRONG ANSWER\";\r\n }\r\n \r\n } else {\r\n submission.verdict = String.format(\"PREPARING TESTS...\");\r\n File inputFiles[] = problem.folderPath.listFiles(new FilenameFilter() {\r\n @Override\r\n public boolean accept(File dir, String name) {\r\n return name.toLowerCase().endsWith(problem.inputExtension);\r\n// System.out.println(\"Name: \\'\" + name+\"\\' out: \\'\"+name.toLowerCase().endsWith(extensions[it]) +\"\\' returned == \"+shouldBeReturned+ \"for ext: \"+extensions[it]);\r\n }\r\n });\r\n \r\n int extensionLength = problem.inputExtension.length();\r\n Date now = new Date();\r\n for (int i = 0; i < inputFiles.length; i++) {\r\n submission.verdict = String.format(\"RUNNING...(%d)\",i+1);\r\n File fileSTDOUT = new File(String.format(\"output%d.txt\", getNewFileNumber()));\r\n deleteFile(fileSTDOUT);\r\n int verdictCode = RunProgram(fileEXE, inputFiles[i], fileSTDOUT, problem.timeLimit);\r\n \r\n\r\n if (verdictCode == 4) {\r\n deleteFile(fileEXE);\r\n deleteFiles(fileSTDOUT);\r\n submission.timeElapsed = problem.timeLimit;\r\n return \"TIME LIMIT EXCEEDED\";\r\n\r\n }\r\n if (verdictCode == 3) {\r\n deleteFile(fileEXE);\r\n deleteFiles(fileSTDOUT);\r\n return \"RUNTIME ERROR\";\r\n }\r\n\r\n if (!matcher.process(problem,fileSTDOUT, new File(inputFiles[i].toString().substring(0, inputFiles[i].toString().length()-extensionLength)+problem.outputExtension))) {\r\n deleteFile(fileEXE);\r\n deleteFiles(fileSTDOUT);\r\n System.out.println(\"returned from 203th line\");\r\n return \"WRONG ANSWER\";\r\n }\r\n deleteFiles(fileSTDOUT);\r\n }\r\n submission.timeElapsed = new Date().getTime() - now.getTime();\r\n submission.timeElapsed/=inputFiles.length;\r\n deleteFile(fileEXE);\r\n return \"ACCEPTED\";\r\n }\r\n }", "title": "" }, { "docid": "ce48460f51d3eeb0b99a026b7767f6e5", "score": "0.46033147", "text": "protected void dumpPostProcess() {\n if (writeVSHToFile) {\n if (logger.isInfoEnabled())\n\tlogger.info(getName () + \".run - writing complete Vishnu problem to VSH file (vishnu XML format).\");\n comm.writeBufferToFile_withBackup(\"complete\", \".vsh\", sched.toXML());\n }\n }", "title": "" }, { "docid": "4df547977e32f41929f507522b281a3c", "score": "0.458905", "text": "@Override\r\n\tpublic boolean performFinish() {\r\n\t\tIProgressMonitor monitor = new NullProgressMonitor();\r\n\t\tString projectName = page0.getProjectName();\r\n\t\tModuleDefinition selected = page0.getSelectedModule();\r\n\t\tboolean result = createProject(projectName, monitor);\r\n\t\tif (result){\r\n\t\t\tIWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();\r\n\t\t\tIProject project = root.getProject(projectName);\r\n\t\t\tFile dest = new File(root.getRawLocation().toFile(), projectName);\r\n\t\t\tList<VelocityLibrary> libraries = new ArrayList<VelocityLibrary>();\r\n\t\t\tList<VelocityShimLibrary> shimLibraries = new ArrayList<VelocityShimLibrary>();\r\n\t\t\t\r\n\t\t\ttry{\r\n\t\t\t\tString outputScriptName = projectName + \".min.js\";\r\n\t\t\t\t//Add the main module and all it's dependencies\r\n\t\t\t\taddModule(selected, shimLibraries, libraries, dest);\r\n\t\t\t\tfor(ModuleDefinition requiredLibrary : selected.getRequiredLibraries()){\r\n\t\t\t\t\taddModule(requiredLibrary, shimLibraries, libraries, dest);\r\n\t\t\t\t}\r\n\t\t\r\n\t\t\t\tString cssFileName = generateCSS(project, monitor, selected);\r\n\t\t\t\tString renderFileName = generateRender(project, monitor, selected);\r\n\t\t\t\tlibraries.add(new VelocityLibrary(selected.getModuleName(), removeJsExtension(renderFileName)));\r\n\t\t\t\tString buildFile = generateBuildFile(libraries, shimLibraries, selected.getModuleName(), outputScriptName);\r\n\t\t\t\tcreateFile(\"build.js\", project, buildFile, monitor); //$NON-NLS-1$\r\n\t\t\t\t//Eventually create a sample for the current project\r\n\t\t\t\tcreateSample(selected, outputScriptName, cssFileName, project, monitor);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tproject.refreshLocal(IProject.DEPTH_INFINITE, new NullProgressMonitor());\r\n\t\t\t\t} catch (CoreException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t} catch(FileNotFoundException ex){\r\n\t\t\t\tMessageDialog.openError(UIUtils.getShell(), Messages.CustomVisualizationComponentWizard_errorTitle, ex.getMessage());\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "0f43179c561ea65d949ebec7f87fd3fa", "score": "0.45807168", "text": "private void createMatlabScriptByName(FilePath uniqeTmpFolderPath, String uniqueScriptName, FilePath workspace, TaskListener listener) throws IOException, InterruptedException {\n final FilePath matlabBuildFile =\n new FilePath(uniqeTmpFolderPath, uniqueScriptName + \".m\");\n final String tasks = getContext().get(EnvVars.class).expand(getTasks());\n String cmd = \"buildtool\";\n\n if (!tasks.trim().isEmpty()) {\n cmd += \" \" + tasks;\n }\n final String matlabBuildFileContent =\n \"cd '\" + workspace.getRemote().replaceAll(\"'\", \"''\") + \"';\\n\" + cmd;\n\n // Display the commands on console output for users reference\n listener.getLogger()\n .println(\"Generating MATLAB script with content:\\n\" + cmd + \"\\n\");\n\n matlabBuildFile.write(matlabBuildFileContent, \"UTF-8\");\n }", "title": "" }, { "docid": "b253d123047ed7789d40928f8d7dc233", "score": "0.45792946", "text": "public LocalizationFile createNew(String script, LocalizationLevel level,\n Overwrite mode) throws GFEException;", "title": "" }, { "docid": "e3ea65ce5fa90492b4acb43fd326deb0", "score": "0.45665365", "text": "public void createFile()\r\n throws Exception\r\n {\r\n // Get the cordys classpath\r\n CmdLine clLine = new CmdLine(\"java\");\r\n clLine.addArgument(\"com.eibus.util.CordysClassPath\");\r\n clLine.addArgument(getParameter(DN_SOAPPROCESSOR));\r\n clLine.execute();\r\n\r\n String sCordysClassPath = clLine.getStdOut();\r\n\r\n // Create the output folder.\r\n String sDestFolder = getParameter(OUTPUT_FOLDER);\r\n File fDir = new File(sDestFolder);\r\n\r\n if (!fDir.exists())\r\n {\r\n fDir.mkdirs();\r\n }\r\n\r\n File fBatchFile = new File(fDir, getParameter(NAME_OF_BATCHFILE));\r\n\r\n if (fBatchFile.exists())\r\n {\r\n fBatchFile.delete();\r\n }\r\n\r\n FileWriter fwOut = new FileWriter(fBatchFile, false);\r\n BufferedWriter bwOut = new BufferedWriter(fwOut);\r\n\r\n try\r\n {\r\n bwOut.write(\"@echo off\");\r\n bwOut.newLine();\r\n bwOut.newLine();\r\n bwOut.write(\"rem Batchfile for starting the processor: \");\r\n bwOut.write(getParameter(DN_SOAPPROCESSOR));\r\n bwOut.newLine();\r\n bwOut.write(\"rem === Setting the classpath\");\r\n bwOut.newLine();\r\n bwOut.write(\"SET CLASSPATH=\");\r\n bwOut.write(sCordysClassPath);\r\n bwOut.newLine();\r\n bwOut.newLine();\r\n\r\n bwOut.write(\"set DEBUG_PARAM=%1\");\r\n bwOut.newLine();\r\n bwOut.write(\"if defined DEBUG_PARAM goto :StartInDebug\");\r\n bwOut.newLine();\r\n bwOut.write(\"echo Starting \" + getParameter(DN_SOAPPROCESSOR) +\r\n \" with the following parameters:\");\r\n bwOut.newLine();\r\n\r\n String sTemp = getParameter(PROP_VM_NORMAL_ARG);\r\n\r\n if ((sTemp != null) && (sTemp.length() > 0))\r\n {\r\n bwOut.write(\"echo \" + sTemp);\r\n bwOut.newLine();\r\n }\r\n\r\n if (sTemp == null)\r\n {\r\n sTemp = \"\";\r\n }\r\n\r\n bwOut.write(\"@java \" + sTemp + \" com.eibus.soap.Processor \\\"\" +\r\n getParameter(DN_SOAPPROCESSOR) + \"\\\"\");\r\n bwOut.newLine();\r\n bwOut.write(\"goto :EndProgram\");\r\n bwOut.newLine();\r\n bwOut.newLine();\r\n\r\n bwOut.write(\":StartInDebug\");\r\n bwOut.newLine();\r\n bwOut.write(\"echo Starting \" + getParameter(DN_SOAPPROCESSOR) +\r\n \" in debug mode with the following parameters:\");\r\n bwOut.newLine();\r\n sTemp = getParameter(PROP_VM_DEBUG_ARG);\r\n\r\n if ((sTemp != null) && (sTemp.length() > 0))\r\n {\r\n bwOut.write(\"echo \" + sTemp);\r\n bwOut.newLine();\r\n }\r\n\r\n if (sTemp == null)\r\n {\r\n sTemp = \"\";\r\n }\r\n\r\n bwOut.write(\"@java \" + sTemp + \" com.eibus.soap.Processor \\\"\" +\r\n getParameter(DN_SOAPPROCESSOR) + \"\\\"\");\r\n bwOut.newLine();\r\n bwOut.newLine();\r\n bwOut.write(\":EndProgram\");\r\n bwOut.newLine();\r\n\r\n if (\"on\".equals(getParameter(USE_PAUSE)))\r\n {\r\n bwOut.newLine();\r\n bwOut.write(\"pause\");\r\n bwOut.newLine();\r\n }\r\n\r\n bwOut.flush();\r\n }\r\n finally\r\n {\r\n bwOut.close();\r\n fwOut.close();\r\n }\r\n\r\n System.out.println(\"File \" + fBatchFile.getAbsolutePath() + \" created.\");\r\n }", "title": "" }, { "docid": "ad464ade969e0252c370bdf850a25bd2", "score": "0.45639578", "text": "private static void createFile(File output) {\n try {\n if (output.exists()) {\n return;\n }\n if (!output.getParentFile().exists()) {\n output.getParentFile().mkdirs();\n }\n output.createNewFile();\n Ui.printFileCreatedMessage();\n } catch (IOException e) {\n Ui.printFileCreateErrorMessage(e);\n }\n }", "title": "" }, { "docid": "fb1ce641370f246d3ddde196b4caedcd", "score": "0.45638812", "text": "public void reportArrived()\n{/*\n TextFile log = new TextFile (); // instantiation of a text file handler\n\n if (!log.openForAppending(\".\", fileName))\n { GenericIO.writelnString (\"The operation of creating the file \" + fileName + \" failed!\");\n System.exit (1);\n }\n log.writelnString (\"\\n\");\n log.writelnString (\"Flight \" + numberF + \": arrived.\");\n if (!log.close ())\n { GenericIO.writelnString (\"The operation of closing the file \" + fileName + \" failed!\");\n System.exit (1);\n }*/\n}", "title": "" }, { "docid": "d8143b1fd29129d3e6d38170110ddb63", "score": "0.452926", "text": "protected void preScriptBuild() {\n }", "title": "" }, { "docid": "aa8dd1525fe72b5892658a38b96b04a3", "score": "0.4528376", "text": "public void createFile() throws IOException {\n path = new File(\"RuleFile.txt\");\n path.createNewFile();\n }", "title": "" }, { "docid": "235798ce945f4ef53bf06d3f905f6036", "score": "0.45061454", "text": "private void verifyFileExists() {\n\t\t//Grab the config file\n\t\tconfigFile = new File(Main.getPlugin().getDataFolder(), fileName);\n\t\t\n\t\t//If it doesn't exist, create it\n\t\tif (!configFile.exists()) {\n\t\t\tconfigFile.getParentFile().mkdirs();\n\t\t\tMain.getPlugin().saveResource(fileName, false);\n }\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "f50e21970c5bbe769e9f14b0883a158a", "score": "0.44914493", "text": "public Document prepareScriptData()\r\n {\n Folder unitTestFolder = createUnitTestFolder(alfsession);\r\n\r\n // Create sample folder\r\n Map<String, Serializable> properties = new HashMap<String, Serializable>();\r\n properties.put(ContentModel.PROP_TITLE, SAMPLE_FOLDER_NAME);\r\n Folder folder = createNewFolder(alfsession, unitTestFolder, SAMPLE_FOLDER_NAME, properties);\r\n \r\n // Add comment\r\n alfsession.getServiceRegistry().getCommentService().addComment(folder, SAMPLE_FOLDER_NAME);\r\n \r\n return null;\r\n }", "title": "" }, { "docid": "e322c7998ce01b8c45aa3f33f653f25a", "score": "0.44829068", "text": "public String save() {\n\n WeblogManager weblogManager = WebloggerFactory.getWeblogger().getWeblogManager();\n\n if (!hasActionErrors()) {\n try {\n\n WeblogTemplate stylesheet = getTemplate();\n\n stylesheet.setLastModified(new Date());\n stylesheet.setAction(ComponentType.STYLESHEET);\n\n if (stylesheet.getTemplateRendition(RenditionType.STANDARD) != null) {\n // if we have a template, then set it\n CustomTemplateRendition tc = stylesheet.getTemplateRendition(RenditionType.STANDARD);\n tc.setTemplate(getContentsStandard());\n weblogManager.saveTemplateRendition(tc);\n\n } else {\n // otherwise create it, then set it\n CustomTemplateRendition tc = new CustomTemplateRendition( stylesheet, RenditionType.STANDARD);\n tc.setTemplate(\"\");\n weblogManager.saveTemplateRendition(tc);\n }\n\n if (stylesheet.getTemplateRendition(RenditionType.MOBILE) != null) {\n CustomTemplateRendition tc = stylesheet.getTemplateRendition(RenditionType.MOBILE);\n tc.setTemplate(getContentsMobile());\n weblogManager.saveTemplateRendition(tc);\n }\n\n // save template and flush\n WebloggerFactory.getWeblogger().getWeblogManager().saveTemplate(stylesheet);\n\n WebloggerFactory.getWeblogger().flush();\n\n // notify caches\n CacheManager.invalidate(stylesheet);\n\n // success message\n addMessage(\"stylesheetEdit.save.success\", stylesheet.getName());\n\n } catch (WebloggerException ex) {\n log.error(\"Error updating stylesheet template for weblog - \"\n + getActionWeblog().getHandle(), ex);\n addError(\"Error saving template - check Roller logs\");\n }\n }\n return INPUT;\n }", "title": "" }, { "docid": "95b607be8692399b09cc12696716c1c6", "score": "0.44804996", "text": "@NonNullByDefault\n private static String createScriptFile(ConnectionManager connection, List<String> modules, String codeLocation, Map<String, String> envVarsMap, String command) throws IOException {\n StringBuilder script = new StringBuilder();\n script.append(\"#!/bin/sh\");\n script.append(\"\\n\");\n script.append(\"module use /projects/p_readex/modules\").append(\"\\n\");\n for( String module: modules )\n script.append(\"module load \").append(module).append(\"\\n\");\n \n for(Map.Entry<String, String> entry : envVarsMap.entrySet())\n {\n \tscript.append(\"export \" + entry.getKey() + \"=\" + entry.getValue());\n \tscript.append(\"\\n\");\n }\n \n script.append(\"\\n\");\n script.append(command);\n script.append(\"\\n\");\n script.append(\"rm -rf scorep-* && rm -f *.filt\");\n script.append(\"\\n\");\n\n File localFile = File.createTempFile(\"pathway_rdd.\", \".sh\");\n Writer outStream = new OutputStreamWriter(new FileOutputStream(localFile));\n try {\n outStream.write(script.toString());\n }\n finally {\n outStream.close();\n }\n\n String remoteFile = FileUtils.combinePath(codeLocation, localFile.getName());\n FileUtils.copyResourceToRemote(connection, localFile.getAbsolutePath(), remoteFile, true, null);\n localFile.delete();\n\n return remoteFile;\n }", "title": "" }, { "docid": "5942f6cc4562881060ddf120ed20d6de", "score": "0.44795567", "text": "private void setStatusToFinished() {\n writeToFile(\"Finished\", new File(tmpDir.getServerFile(), \"complete\"));\n }", "title": "" }, { "docid": "769e61a2183303b09e9f35f5399dbec9", "score": "0.4475218", "text": "public interface IScriptUtil {\n public enum Overwrite {\n OVERWRITE, SAFE\n };\n\n /**\n * Copy script to the new file toScript at localization level toLevel. If\n * source and dest are the equal, toLevel must be different from the\n * localization level of source. If dest already exists and mode is SAFE,\n * dest will not be overwritten and the returned localization file will be\n * null.\n * \n * @param source\n * the simple name of the source script\n * @param dest\n * the simple name of the destination script\n * @param mode\n * Whether processing should proceed if dest already exists.\n * @return A reference to toScript, which may be null if the copy fails.\n * @throws GFEException\n * if script and toScript have the same name and level or if the\n * copy cannot complete due to file or network errors.\n */\n public LocalizationFile copy(String source, String dest,\n LocalizationLevel toLevel, Overwrite mode) throws GFEException;\n\n /**\n * Create a new script at the designated localization level. Implementations\n * may initialize the contents of the new script however they desire.\n * \n * @param script\n * @return A reference to the newly created script, or null if the script\n * could not be created.\n */\n public LocalizationFile createNew(String script, LocalizationLevel level,\n Overwrite mode) throws GFEException;\n\n /**\n * Delete the script with the designated name at the designated localization\n * level.\n * \n * @param name\n * The simple name of the script.\n * @param level\n * the localization level at which the script should be deleted.\n * @throws GFEException\n * if underlying file or network operations fail.\n */\n public void delete(String name, LocalizationLevel level)\n throws GFEException;\n\n /**\n * The type of file to pass to PythonUtil.openPythonFile() when editing\n * scripts of this type.\n * \n * @return the file type string\n */\n public String getFileType();\n\n /**\n * The type of script this utility handles. Implementors should return this\n * in capitalized case, i.e., \"Procedure\", for use in error messages.\n * \n * @return the script type string\n */\n public String getScriptType();\n\n /**\n * Find the named script at the designated localization level, or at the\n * most localized level at which it appears if level is null.\n * \n * @param name\n * the simple name of the script to find.\n * @param level\n * the localization level of the script. If this parameter is\n * null, the standard USER/SITE/BASE search levels will be used.\n * @return a reference to the script, or null if the script cannot be found.\n * @throws GFEException\n * if network or file errors (other than FileNotFoundException)\n * prevent the file from being found.\n */\n public LocalizationFile find(String name, LocalizationLevel level)\n throws GFEException;\n\n /**\n * Rename source to dest. This should be equivalent to calling copy()\n * followed by delete().\n * \n * @param source\n * the simple name of the source script\n * @param dest\n * the simple name of the destination script\n * @param mode\n * Whether processing should proceed if dest already exists.\n * @return A reference to the renamed file.\n */\n public LocalizationFile rename(String source, String dest,\n LocalizationLevel toLevel, Overwrite mode) throws GFEException;\n\n /**\n * Convert a simple name to the name of a script file. For example,\n * \"Extrapolate\" might become \"Extrapolate.py\".\n * \n * @param name\n * The undecorated name\n * @return The name of the script file derived from name.\n */\n public String scripted(String name);\n\n\t/**\n\t * Get the path prefix used in building localization filenames. For example,\n\t * the path prefix for Procedures is \"gfe/userPython/procedures\", or\n\t * GfePyIncludeUtil.PROCEDURES.\n\t * \n\t * @return The path prefix\n\t */\n\tpublic abstract String getScriptTypePathPrefix();\n}", "title": "" }, { "docid": "bad7b2a0caa56dc7308b315d9ecbd398", "score": "0.44747972", "text": "public boolean doTestFileInit(Properties p)\n {\n // NOTE: 'reporter' variable is already initialized at this point\n\n // Used for all tests; just dump files in trax subdir\n File outSubDir = new File(outputDir + File.separator + TRAX_STREAM_SUBDIR);\n if (!outSubDir.mkdirs())\n reporter.logWarningMsg(\"Could not create output dir: \" + outSubDir);\n // Initialize an output name manager to that dir with .out extension\n outNames = new OutputNameManager(outputDir + File.separator + TRAX_STREAM_SUBDIR\n + File.separator + testName, \".out\");\n\n String testBasePath = inputDir \n + File.separator \n + TRAX_STREAM_SUBDIR\n + File.separator;\n String goldBasePath = goldDir \n + File.separator \n + TRAX_STREAM_SUBDIR\n + File.separator;\n\n testFileInfo.inputName = testBasePath + \"StreamImpIncl.xsl\";\n testFileInfo.xmlName = testBasePath + \"StreamImpIncl.xml\";\n testFileInfo.goldName = goldBasePath + \"StreamImpIncl.out\";\n try\n {\n TransformerFactory tf = TransformerFactory.newInstance();\n if (!(tf.getFeature(StreamSource.FEATURE)\n && tf.getFeature(StreamResult.FEATURE)))\n { // The rest of this test relies on Streams\n reporter.logErrorMsg(\"Streams not supported! Some tests may be invalid!\");\n }\n }\n catch (Throwable t)\n {\n reporter.checkFail(\n \"Problem creating factory; Some tests may be invalid!\");\n reporter.logThrowable(reporter.ERRORMSG, t,\n \"Problem creating factory; Some tests may be invalid!\");\n }\n\n return true;\n }", "title": "" }, { "docid": "798d839c3cf1637d8291aa81a4bd1f3e", "score": "0.44641024", "text": "public void reportBoarding()\n{\n /* TextFile log = new TextFile (); // instantiation of a text file handler\n\n if (!log.openForAppending(\".\", fileName))\n { GenericIO.writelnString (\"The operation of creating the file \" + fileName + \" failed!\");\n System.exit (1);\n }\n log.writelnString (\"\\n\");\n log.writelnString (\" Flight \" + numberF + \": boarding started.\");\n if (!log.close ())\n { GenericIO.writelnString (\"The operation of closing the file \" + fileName + \" failed!\");\n System.exit (1);\n }*/\n}", "title": "" }, { "docid": "52214239a59a9d7785f564c0b02c0044", "score": "0.4460476", "text": "public static void main(String[] args) throws IOException {\n File file = new File(\"test12.txt\");\n boolean fileCreated = file.createNewFile();\n boolean fileExist = file.exists();\n if (fileExist) {\n System.out.println(\"Exist\");\n } else {\n System.out.println(\"Not Exist\");\n }\n }", "title": "" }, { "docid": "6eba72b288ca8520cfa3fa0617a460f4", "score": "0.4459179", "text": "public void execute() {\n\t\tApplication.instance.newSpreadsheet();\n\t\tSystem.out.println(\"- made new spreadsheet, named: \" \n\t\t+ Application.instance.getLast().getName());\n\t\tSaveFile.saveFile.add(\"ns\");\n\t}", "title": "" }, { "docid": "5c658ef718cb97173d31d5eee25067bd", "score": "0.44550112", "text": "@Test\n public void testitFailAtEnd() throws Exception {\n File testDir = ResourceExtractor.simpleExtractResources(getClass(), \"/mng-0095\");\n\n Verifier verifier = newVerifier(testDir.getAbsolutePath());\n verifier.setAutoclean(false);\n verifier.deleteDirectory(\"target\");\n verifier.deleteDirectory(\"subproject1/target\");\n verifier.deleteDirectory(\"subproject2/target\");\n verifier.deleteDirectory(\"subproject3/target\");\n verifier.addCliArgument(\"--fail-at-end\");\n verifier.setLogFileName(\"log-fae.txt\");\n try {\n verifier.addCliArgument(\"org.apache.maven.its.plugins:maven-it-plugin-touch:touch\");\n verifier.execute();\n verifier.verifyErrorFreeLog();\n } catch (VerificationException e) {\n // expected\n }\n\n verifier.verifyFilePresent(\"target/touch.txt\");\n verifier.verifyFileNotPresent(\"subproject1/target/touch.txt\");\n verifier.verifyFilePresent(\"subproject2/target/touch.txt\");\n verifier.verifyFileNotPresent(\"subproject3/target/touch.txt\");\n }", "title": "" }, { "docid": "ecacc1f85ac9858fce150c47065c1812", "score": "0.44540593", "text": "public static void start(){\n try {\n filename=Variables.log_file;\n String to_write=\"Application started...Log file was created successfully!\\n\";\n Files.write(Paths.get(filename), to_write.getBytes(), StandardOpenOption.APPEND);\n } catch (IOException e) {\n System.out.println(\"An error occurred.\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "695a5730f62182799de84f4074bfcfc0", "score": "0.44480217", "text": "public void writeFile() {\n /*\n r8 = this;\n java.lang.Object r0 = r8.mLock\n monitor-enter(r0)\n boolean r1 = r8.mDestroyed // Catch:{ all -> 0x0081 }\n if (r1 == 0) goto L_0x0009\n monitor-exit(r0) // Catch:{ all -> 0x0081 }\n return\n L_0x0009:\n r1 = 0\n r8.mWriteScheduled = r1 // Catch:{ all -> 0x0081 }\n int r1 = r8.mVersion // Catch:{ all -> 0x0081 }\n java.lang.String r2 = r8.mPackagesHash // Catch:{ all -> 0x0081 }\n android.util.ArrayMap r3 = r8.snapshotRolesLocked() // Catch:{ all -> 0x0081 }\n monitor-exit(r0) // Catch:{ all -> 0x0081 }\n android.util.AtomicFile r0 = new android.util.AtomicFile\n int r4 = r8.mUserId\n java.io.File r4 = getFile(r4)\n java.lang.StringBuilder r5 = new java.lang.StringBuilder\n r5.<init>()\n java.lang.String r6 = \"roles-\"\n r5.append(r6)\n int r6 = r8.mUserId\n r5.append(r6)\n java.lang.String r5 = r5.toString()\n r0.<init>(r4, r5)\n r4 = 0\n java.io.FileOutputStream r5 = r0.startWrite() // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n r4 = r5\n org.xmlpull.v1.XmlSerializer r5 = android.util.Xml.newSerializer() // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n java.nio.charset.Charset r6 = java.nio.charset.StandardCharsets.UTF_8 // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n java.lang.String r6 = r6.name() // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n r5.setOutput(r4, r6) // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n java.lang.String r6 = \"http://xmlpull.org/v1/doc/features.html#indent-output\"\n r7 = 1\n r5.setFeature(r6, r7) // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n r6 = 0\n java.lang.Boolean r7 = java.lang.Boolean.valueOf(r7) // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n r5.startDocument(r6, r7) // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n r8.serializeRoles(r5, r1, r2, r3) // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n r5.endDocument() // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n r0.finishWrite(r4) // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n java.lang.String r6 = LOG_TAG // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n java.lang.String r7 = \"Wrote roles.xml successfully\"\n android.util.Slog.i(r6, r7) // Catch:{ IOException | IllegalArgumentException | IllegalStateException -> 0x006a }\n goto L_0x0078\n L_0x0068:\n r5 = move-exception\n goto L_0x007d\n L_0x006a:\n r5 = move-exception\n java.lang.String r6 = LOG_TAG // Catch:{ all -> 0x0068 }\n java.lang.String r7 = \"Failed to write roles.xml, restoring backup\"\n android.util.Slog.wtf(r6, r7, r5) // Catch:{ all -> 0x0068 }\n if (r4 == 0) goto L_0x0077\n r0.failWrite(r4) // Catch:{ all -> 0x0068 }\n L_0x0077:\n L_0x0078:\n libcore.io.IoUtils.closeQuietly(r4)\n return\n L_0x007d:\n libcore.io.IoUtils.closeQuietly(r4)\n throw r5\n L_0x0081:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x0081 }\n throw r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.server.role.RoleUserState.writeFile():void\");\n }", "title": "" }, { "docid": "d60e534172558a60384196a6a352bfef", "score": "0.44466683", "text": "@Override\n public void run() {\n createFile();\n writeToFile();\n }", "title": "" }, { "docid": "758686a3a5f09d96a6bb52c5006b7b95", "score": "0.44452867", "text": "public void createReportFile() {\n if (UIModel.twitterReader.hasData()) {\n UIModel.webPageBuilder.build();\n timeAndDateLabel.setText(UIModel.webPageBuilder.middlename + \n UIModel.webPageBuilder.lastname + \n UIModel.PROMPT_REPORT_SAVED);\n }\n else {\n UIModel.dialog.show(UIModel.PROMPT_CANNOT_REPORT);\n timeAndDateLabel.setText(UIModel.PROMPT_CANNOT_REPORT);\n }\n }", "title": "" }, { "docid": "87dd51a5dc56dff6e585bd28b57c6c2c", "score": "0.44427165", "text": "private void corruptedSaveFile() throws RoriException {\n // If the Tasks file is corrupted\n try {\n tasks.createNewFile();\n } catch (IOException error) {\n throw new RoriException(\"What is with this sav file! I can't create it!\");\n }\n TaskList taskList = new TaskList();\n store(taskList);\n throw new RoriException(\"Hnng. It's a corrupted save file! \\n\"\n + \"Hmmpf. I have rewrote the old save file with a new one. \"\n + \"Startup me again!\");\n }", "title": "" }, { "docid": "64c8640e5b6e4f12c716b14e6ec4ad6c", "score": "0.4435334", "text": "protected void initialize() {\n finished = false;\n code = \"\";\n }", "title": "" }, { "docid": "5535625364903e7552270a6cd324cde2", "score": "0.44169375", "text": "public FRQSubmission grade(String source_file, String compile_cmd, String dir, String run_cmd, short problemNum) throws IOException {\n System.out.printf(\"Compiling %s\\n\", source_file);\n System.out.printf(\"Compiling %s\\n\", compile_cmd);\n System.out.println(\"/bin/chmod -R 777 \" + dir);\n Process p = Runtime.getRuntime().exec(new String[]{\"/bin/bash\", \"-c\", compile_cmd, \"/bin/chmod -R 777 \" + dir});\n long currentTime = System.currentTimeMillis();\n\n try {\n p.waitFor();\n\n int ret = p.waitFor();\n if (ret != 0) {\n System.out.println(\"Program exited with code: \" + ret);\n System.out.println(\"Compilation failure\");\n InputStream stderr = p.getErrorStream();\n\n ByteArrayOutputStream error_bytes = new ByteArrayOutputStream();\n byte[] buffer = new byte[1024];\n\n int length;\n while((length = stderr.read(buffer)) != -1) {\n error_bytes.write(buffer, 0, length);\n }\n\n return new FRQSubmission(problemNum, FRQSubmission.Result.COMPILETIME_ERROR, \"\",\"\", new String(buffer), currentTime, AUTO_GRADE);\n }\n\n System.out.println(\"Compilation success\");\n } catch (InterruptedException var32) {\n System.out.printf(\"Compilation failure\");\n var32.printStackTrace();\n return new FRQSubmission(problemNum, FRQSubmission.Result.COMPILETIME_ERROR, \"\",\"\", \"\", currentTime, AUTO_GRADE);\n }\n\n System.out.println(\"Looking for file with probNum=\"+problemNum);\n Pair<File, File> testcase = files.get(problemNum);\n\n //do {\n if (testcase == null) {\n System.out.println(\"Issue loading\");\n return new FRQSubmission(problemNum, FRQSubmission.Result.SERVER_ERROR, \"\",\"\", \"\", currentTime, AUTO_GRADE);\n }\n\n File in_file = testcase.key;\n File ans_file = testcase.value;\n\n if(ans_file == null) return new FRQSubmission(problemNum, FRQSubmission.Result.SERVER_ERROR, \"\",\"\", \"\",\n currentTime, AUTO_GRADE); // There is no answer file. This is a misconfiguration.\n\n if(in_file != null) { // Only add in the dat file if there is one\n try {\n Runtime.getRuntime().exec(new String[]{\"/bin/bash\", \"-c\", \"/bin/ln -s \" + in_file.getAbsolutePath() + \" '\" +\n dir + PROBLEM_MAP[problemNum].inputFname + \"'\"}).waitFor();\n } catch (InterruptedException e) {\n e.printStackTrace();\n return new FRQSubmission(problemNum, FRQSubmission.Result.SERVER_ERROR, \"\",\"\", \"\", currentTime, AUTO_GRADE);\n }\n System.out.println(\"Test Case \" + in_file.getName());\n }\n\n System.out.println(\"--Executing command '\" + run_cmd + \"'\");\n Process r = null;\n InputStream stdout;\n InputStream stderr;\n\n try {\n r = Runtime.getRuntime().exec(new String[]{\"bash\", \"-c\", run_cmd});\n stdout = r.getInputStream();\n stderr = r.getErrorStream();\n\n if (!r.waitFor(60L, TimeUnit.SECONDS)) {\n System.out.println(\"Time limit exceeded\");\n r.destroyForcibly();\n close(stdout, stderr);\n return new FRQSubmission(problemNum, FRQSubmission.Result.EXCEEDED_TIME_LIMIT, \"\",\"\", \"\", currentTime, AUTO_GRADE);\n }\n } catch (InterruptedException e) {\n e.printStackTrace();\n return new FRQSubmission(problemNum, FRQSubmission.Result.SERVER_ERROR, \"\",\"\", \"\", currentTime, AUTO_GRADE);\n }\n\n long a = System.currentTimeMillis();\n\n int xcode = r.exitValue();\n /*try {\n xcode = r.waitFor();\n } catch (InterruptedException var31) {\n var31.printStackTrace();\n close(stdout, stderr);\n return new FRQSubmission(problemNum, FRQSubmission.Result.RUNTIME_ERROR, \"\",\"\", \"\", currentTime, AUTO_GRADE);\n }*/\n\n long b = System.currentTimeMillis();\n ByteArrayOutputStream error_bytes = new ByteArrayOutputStream();\n byte[] buffer = new byte[1024];\n\n int length;\n while((length = stderr.read(buffer)) != -1) {\n error_bytes.write(buffer, 0, length);\n }\n\n String errors = error_bytes.toString(\"UTF-8\");\n if (!errors.equals(\"\") && !errors.contains(\"NOTE:\")) {\n System.out.println(\"Runtime error\");\n System.out.println(errors);\n close(stdout, stderr);\n return new FRQSubmission(problemNum, FRQSubmission.Result.RUNTIME_ERROR, \"\",\"\", errors, currentTime, AUTO_GRADE);\n }\n\n if (xcode != 0) {\n System.out.println(\"Runtime error\");\n System.out.println(\"Program exited with code: \" + xcode);\n close(stdout, stderr);\n return new FRQSubmission(problemNum, FRQSubmission.Result.RUNTIME_ERROR, \"\",\"\", errors, currentTime, AUTO_GRADE);\n }\n\n String newline = System.getProperty(\"line.separator\");\n BufferedReader reader = new BufferedReader(new InputStreamReader(stdout));\n StringBuilder res = new StringBuilder();\n\n String output;\n for(boolean flag = false; (output = reader.readLine()) != null; flag = true) {\n res.append(flag ? newline : \"\").append(output);\n }\n\n output = res.toString();\n System.out.println(\"output: \" + output);\n FRQSubmission judge_code = judge(ans_file, output);\n judge_code.problemNumber = problemNum;\n\n long c = b - a;\n System.out.println(\"Execution time: \" + c + \" ms\");\n close(stdout, stderr);\n\n return judge_code;\n //} while(judge_code == 0);\n }", "title": "" }, { "docid": "a592051570508eaaace54d933c8ebb8c", "score": "0.44034454", "text": "public void reportLDeparted()\n{\n /*TextFile log = new TextFile (); // instantiation of a text file handler\n\n if (!log.openForAppending(\".\", fileName))\n { GenericIO.writelnString (\"The operation of creating the file \" + fileName + \" failed!\");\n System.exit (1);\n }\n log.writelnString (\"\\n\");\n log.writelnString (\"Flight \" + numberF + \": departed with \" + \"1\" + \" passengers.\");\n if (!log.close ())\n { GenericIO.writelnString (\"The operation of closing the file \" + fileName + \" failed!\");\n System.exit (1);\n }*/\n}", "title": "" }, { "docid": "7966e9c2f7dbef7750f7e9f440b24b9f", "score": "0.43984506", "text": "public void endOfFile(ScriptTree scriptTree) {\n }", "title": "" }, { "docid": "eabe133fbd290b10e6f98ff62761434f", "score": "0.4389595", "text": "private void initializeFiles() {\n // Extract the dir-name and create the dir (if it does not yet exist).\n File checksumDir = FileUtils.retrieveDirectory(\n settings.getReferenceSettings().getPillarSettings().getFileDir());\n \n // Get the name and initialise the wrong entry file.\n wrongEntryFile = new File(checksumDir, makeWrongEntryFileName());\n \n // ensure that the file exists.\n if(!wrongEntryFile.exists()) {\n try {\n wrongEntryFile.createNewFile();\n } catch (IOException e) {\n String msg = \"Cannot create 'wrongEntryFile'!\";\n log.error(msg);\n throw new IllegalStateException(msg, e);\n }\n }\n \n // get the name of the file and initialise it.\n checksumFile = new File(checksumDir, makeChecksumFileName());\n \n // Create file is checksumFile does not exist.\n if(!checksumFile.exists()) {\n try {\n checksumFile.createNewFile();\n lastModifiedChecksumFile = checksumFile.lastModified();\n } catch (IOException e) {\n String msg = \"Cannot create checksum archive file!\";\n log.error(msg);\n throw new IllegalStateException(msg, e);\n }\n } else {\n // If the archive file already exists, then it must consist of the archive for this replica. It must \n // therefore be loaded into the memory.\n loadFile();\n }\n }", "title": "" }, { "docid": "0cf3e95cf0ff8a092cb2af906209e3f8", "score": "0.43871534", "text": "private void writeSqlScript(ArkUserVO arkUserVO) {\n\t\n\t\ttry\n\t\t{\n\t\t\t// open the script file, overwriting any previous file\n\t\t\tPrintStream outputStream = new PrintStream(new FileOutputStream(SQL_FILENAME));\n\t\t\t// output the script's SQL\n\t\t\toutputStream.println(\"-- This script will create in the database a super user account for \" + \n\t\t\t\t\t\t\t\t\tarkUserVO.getArkUserId() + \n\t\t\t\t\t\t\t\t\t\" (\" + arkUserVO.getFirstName() + \" \" + arkUserVO.getLastName() + \")\");\n\t\t\toutputStream.println(\"USE study;\");\n\t\t\toutputStream.println(\"-- NOTE: You must first setup all the database schema with appropriate patches before importing this.\");\n\t\t\toutputStream.println(\"-- Insert first Super User as a valid account\");\n\t\t\toutputStream.println(\"INSERT INTO `study`.`ark_user` (`ID`, `LDAP_USER_NAME`) VALUES (1, '\" + arkUserVO.getArkUserId() + \"');\");\n\t\t\toutputStream.println(\"-- Set up the permissions for the first Super User (ark_role_id = 1)\");\n\t\t\toutputStream.println(\"INSERT INTO `study`.`ark_user_role` (ID,ARK_USER_ID,ARK_ROLE_ID,ARK_MODULE_ID,STUDY_ID) VALUES (1,1,1,1,NULL);\");\n\t\t\toutputStream.println(\"INSERT INTO `study`.`ark_user_role` (ID,ARK_USER_ID,ARK_ROLE_ID,ARK_MODULE_ID,STUDY_ID) VALUES (2,1,1,2,NULL);\");\n\t\t\toutputStream.println(\"INSERT INTO `study`.`ark_user_role` (ID,ARK_USER_ID,ARK_ROLE_ID,ARK_MODULE_ID,STUDY_ID) VALUES (3,1,1,3,NULL);\");\n\t\t\toutputStream.println(\"INSERT INTO `study`.`ark_user_role` (ID,ARK_USER_ID,ARK_ROLE_ID,ARK_MODULE_ID,STUDY_ID) VALUES (4,1,1,4,NULL);\");\n\t\t\toutputStream.println(\"INSERT INTO `study`.`ark_user_role` (ID,ARK_USER_ID,ARK_ROLE_ID,ARK_MODULE_ID,STUDY_ID) VALUES (5,1,1,5,NULL);\");\t\t\t\t\n\t\t\toutputStream.println(\"-- NB: ark_module_id = 6 (Reporting) omitted, because reporting relies on permissions defined in other modules.\");\n\t\t\toutputStream.println(\"INSERT INTO `study`.`ark_user_role` (ID,ARK_USER_ID,ARK_ROLE_ID,ARK_MODULE_ID,STUDY_ID) VALUES (7,1,1,7,NULL);\");\n\t\t\t// script complete, close the file\n\t\t\toutputStream.close();\n\t\t}\n\t\tcatch(Exception ex)\n\t\t{\n\t\t\tSystem.out.println(\"Error writing matching SQL script \" + SQL_FILENAME + \" for user \" + arkUserVO.getArkUserId() + \".\");\n\t\t}\n\t}", "title": "" }, { "docid": "26c3754b81ecc9bde012d0eb45eb475f", "score": "0.43858197", "text": "public CodeGenerator()\n {\n try{\n bw = new BufferedWriter((new FileWriter(filename)));\n Prolog();\n }catch(Exception e){\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "ebe739d2ad34792ef63b83e05939b362", "score": "0.4380233", "text": "@Override\n\tpublic void checkOutputSpecs(JobContext job)\n\t\t\tthrows FileAlreadyExistsException, IOException {\n\t}", "title": "" }, { "docid": "6f994dea07c0ccf50a6bbec3a960644b", "score": "0.43727356", "text": "public File getFailScriptDirectory() {\n return this.failScriptDirectory;\n }", "title": "" }, { "docid": "8346322d5d712c4a50dd211e777f8e15", "score": "0.43714058", "text": "private static boolean writeFile(String outputFileName, String outString, byte [] outBytes, RetryNotifier rn, String charSet)\r\n\t\tthrows IOException\r\n\t{\r\n\t\treturn writeFile(outputFileName, outString, outBytes, rn, charSet, false);\r\n\t}", "title": "" }, { "docid": "3c993ac43562e4985a18d875ca333cf7", "score": "0.43609878", "text": "protected boolean preExecCheck() {\t\t\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "03dbac07e871e50a54999e441cdc89ce", "score": "0.43524477", "text": "String getFinalOutputPath();", "title": "" }, { "docid": "efe60a12d747676f73b74183f4c6bd55", "score": "0.43475735", "text": "@Test\n public void testPreInstallScriptExecution() throws Exception\n {\n File packageWithPreInstallScript = this.createPackageWithPreInstallScript(\"basic-pre-install-test-package\");\n\n // now run the package manager\n this.pkgMgr.installPackage(packageWithPreInstallScript.getAbsolutePath());\n // now assert that the JBOSS_HOME/bin/test.txt was created\n // If that file was created then it's enough to guarantee that the pre-install script was run\n this.assertFileExistenceUnderJBossHome(this.jbossHome, \"bin/test.txt\");\n\n // As a further test, also check that the dummy.jar packaged in this package was\n // also installed (at JBOSS_HOME/server/default/deploy folder)\n this.assertFileExistenceUnderJBossHome(this.jbossHome, \"server/default/deploy/dummy.jar\");\n\n }", "title": "" }, { "docid": "9a73cdc18861a3253821a3dc19e25b7e", "score": "0.4347571", "text": "private void createIfNotExist() {\n\t\t\n\t\tif (!file.exists())\t{\n\t\t\t\n\t\t\ttry\t{\n\t\t\t\t\n\t\t\t\tif (!file.getParentFile().exists())\t{\n\t\t\t\t\tfile.getParentFile().mkdirs();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tInputStream input = plugin.getResource(defaultPathFile);\n\t\t\t\t\n\t\t\t\tif (input != null)\t{\n\t\t\t\t\tFiles.copy(input, file.toPath(), StandardCopyOption.REPLACE_EXISTING);\n\t\t\t\t\tinput.close();\n\t\t\t\t} else {\n\t\t\t\t\tfile.createNewFile();\n\t\t\t\t\tplugin.getLogger().warning(\"No file found with \" + defaultPathFile + \", empty file was created\");\n\t\t\t\t}\n\t\t\t} catch (IOException e)\t{\n\t\t\t\te.printStackTrace();\n\t\t\t\tplugin.getLogger().warning(\"Error during creation of file \" + file.getPath());\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "33e2d0d597cf96c044ef83a2e0ce53c0", "score": "0.43472785", "text": "public static void generateExpectedResultsFile(String results, String expectedResultsFilename) {\r\n\t\t/* Official use only (we used this to generate official result) */\r\n\t\tif (GENERATE_EXPECTED_RESULTS_FILE) {\r\n\t\t\tString message;\r\n\t\t\tif (!writeToFile(expectedResultsFilename, results)) {\r\n\t\t\t\tmessage = \"File copying failed\";\r\n\t\t\t} else {\r\n\t\t\t\tmessage = expectedResultsFilename + \" created\";\r\n\t\t\t}\r\n\t\t\tJOptionPane.showMessageDialog(null, message);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "45ee5ebe0b79479b476b6f65df3e7d9d", "score": "0.43449402", "text": "private void doCreateUndefined()\n throws Exception\n {\n dataFile = DataFileFactory.getDataFile(Constants.FILE_TYPE_UNDEFINED, headerList, \"newCreateFileUtil_\", exportDir);\n if(dataFile != null)\n {\n appendFile = dataFile.open();\n for(FileRowVO fileRow : dataList)\n {\n // Get row data from DB here, then..\n // Append row to the file\n dataFile.append(appendFile, fileRow);\n }\n // Close the appended file\n dataFile.close(appendFile);\n showFileContents(appendFile);\n }\n }", "title": "" }, { "docid": "f7fc36a44955ff7b5d3cf7d176be02aa", "score": "0.43399534", "text": "public void mainRun(boolean exitOnFailure)\n { mainRun(exitOnFailure, true) ; }", "title": "" }, { "docid": "57e2d7ac836460cf81f8fd5f9ae6096a", "score": "0.4338379", "text": "@Override\n public void preliminarySuccess() {\n }", "title": "" }, { "docid": "ab158f04654f1936edf2d964e43a6b0e", "score": "0.4336617", "text": "private void initTestFile() {\r\n \t\tFile testScript = null;\t\t// test script configured\r\n \t\tString nameTest = null;\t\t// test script path\r\n \t\tfinal String nameScript = propertiesPlugin.getProperty(\"grinder.script\");\r\n \r\n \t\tif (nameScript == null) {\r\n \t\t\tif(logger.isDebugEnabled()) {\r\n \t\t\t\tlogger.error(\"\");\r\n \t\t\t\tlogger.error(\" ----------------------------\");\r\n \t\t\t\tlogger.error(\"| Configuration ERROR!!! |\");\r\n \t\t\t\tlogger.error(\" ----------------------------\");\r\n \t\t\t\tlogger.error(\"\");\r\n \t\t\t\tlogger.error(\" The 'grinder.script' property is missing from your Grinder properties file. \");\r\n \t\t\t\tSystem.exit(0);\r\n \t\t\t}\r\n \t\t} else {\r\n \t\t\tnameTest = pathTest + File.separator + nameScript;\r\n \t\t}\r\n \r\n \t\ttestScript = new File(nameTest);\r\n \r\n \t\tif (!testScript.exists()) {\r\n \t\t\tif (logger.isDebugEnabled()) {\r\n \t\t\t\tlogger.error(\"\");\r\n \t\t\t\tlogger.error(\" ----------------------------\");\r\n \t\t\t\tlogger.error(\"| Configuration ERROR!!! |\");\r\n \t\t\t\tlogger.error(\" ----------------------------\");\r\n \t\t\t\tlogger.error(\"\");\r\n \t\t\t\tlogger.error(\" The test file path \");\r\n \t\t\t\tlogger.error(\" \" + nameTest);\r\n \t\t\t\tlogger.error(\" set into your POM file do not exists!\");\r\n \t\t\t\tSystem.exit(0);\r\n \t\t\t}\r\n \t\t}\r\n \t\tsetTest(nameTest);\r\n \r\n \t\tif(logger.isDebugEnabled()) {\r\n \t\t\tlogger.debug(\"--- Grinder test file: \" + test);\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "4c14af0d35aa5001ca006d2520e280ac", "score": "0.43334603", "text": "@Override\r\n public void execute() throws MojoExecutionException, MojoFailureException {\n if( !sourceFolder.exists() || sourceFolder.list().length == 0 ){\r\n throw new MojoExecutionException(\"No resources found to work on. Make sure to call 'distbundle:java-app' first.\");\r\n }\r\n\r\n if( verbose ){\r\n getLog().info(\"Prepare target area: \" + outputBaseFolder.toString());\r\n }\r\n\r\n if( outputBaseFolder.exists() && cleanupOutputFolder ){\r\n try{\r\n if( verbose ){\r\n getLog().info(\"Deleting recursively: \" + outputBaseFolder.toString());\r\n }\r\n internalUtils.deleteRecursive(outputBaseFolder.toPath());\r\n } catch(IOException ex){\r\n throw new MojoFailureException(\"Not possible to cleanup output folder: \" + outputBaseFolder.getAbsolutePath(), ex);\r\n }\r\n }\r\n\r\n if( !outputBaseFolder.exists() && !outputBaseFolder.mkdirs() ){\r\n throw new MojoFailureException(\"Not possible to create output folder: \" + outputBaseFolder.getAbsolutePath());\r\n }\r\n\r\n if( !tempWorkfolder.exists() && !tempWorkfolder.mkdirs() ){\r\n throw new MojoFailureException(\"Not possible to create temporary working folder: \" + tempWorkfolder.getAbsolutePath());\r\n }\r\n\r\n if( withJRE ){\r\n if( jrePath == null || jrePath.trim().isEmpty() ){\r\n if( verbose ){\r\n getLog().info(\"JRE was not set, trying to autodetect...\");\r\n }\r\n // detect jmods-folder in order to detect jdk9+\r\n boolean isUsingJmodFiles = Files.exists(new File(jdkPath).toPath().resolve(\"jmods\"), LinkOption.NOFOLLOW_LINKS);\r\n if( isUsingJmodFiles ){\r\n if( verbose ){\r\n getLog().info(\"Found JDK9+ layout.\");\r\n }\r\n // JDK9+\r\n jrePath = System.getProperty(\"java.home\") + \"/../jre-\" + System.getProperty(\"java.version\");\r\n } else {\r\n if( verbose ){\r\n getLog().info(\"Found JDK8 layout.\");\r\n }\r\n // JDK8\r\n // please be aware that java.home does NOT equal to JAVA_HOME, this is an often\r\n // misinterpreted system-property, it points to the JRE inside the JDK\r\n jrePath = System.getProperty(\"java.home\");\r\n }\r\n }\r\n File jre = new File(jrePath);\r\n jrePath = jre.toPath().normalize().toAbsolutePath().toFile().getAbsolutePath();\r\n if( !jre.exists() ){\r\n throw new MojoFailureException(\"Could not find JRE at location: \" + jrePath);\r\n }\r\n }\r\n\r\n if( verbose ){\r\n getLog().info(\"Checking and sanitizing native launcher configuration...\");\r\n }\r\n\r\n // prepare native launchers list\r\n if( nativeLaunchers == null ){\r\n nativeLaunchers = new ArrayList<>();\r\n }\r\n if( nativeLaunchers.isEmpty() ){\r\n if( verbose ){\r\n getLog().info(\"Adding default native launcher entry...\");\r\n }\r\n\r\n NativeLauncher defaultLauncher = new NativeLauncher();\r\n defaultLauncher.setFilename(project.getBuild().getFinalName());\r\n if( internalUtils.isPlatformWindows() ){\r\n defaultLauncher.setExtension(\"exe\");\r\n }\r\n nativeLaunchers.add(defaultLauncher);\r\n }\r\n\r\n if( verbose ){\r\n getLog().info(\"Constructing bundler source maven coordinates...\");\r\n }\r\n\r\n // download bundler-source-artifact (might contain multiple bundlers)\r\n // to get this artifact, we have to create our source-GAV\r\n AtomicReference<String> bundlerSourceToUse = new AtomicReference<>();\r\n Optional.ofNullable(bundlerSource).ifPresent(configuredBundlerSource -> {\r\n if( configuredBundlerSource.trim().isEmpty() ){\r\n return;\r\n }\r\n\r\n // check if it contains GAV\r\n if( configuredBundlerSource.split(\":\").length <= 2 ){\r\n getLog().warn(\"Provided bundler source did not contain GAV format, using default bundler source artifact. Please check your plugin-configuration.\");\r\n return;\r\n }\r\n\r\n // developer did provide some GAV-reachable artifact\r\n bundlerSourceToUse.set(configuredBundlerSource.trim());\r\n });\r\n\r\n // used did not set custom source, so let's use the \"default one\"\r\n if( bundlerSourceToUse.get() == null ){\r\n if( verbose ){\r\n getLog().info(\"Using default bundler source artifact coordinates.\");\r\n }\r\n\r\n // check targeted clientOS/-Arch for generating artifact-id\r\n AtomicReference<String> clientOSToUse = new AtomicReference<>();\r\n Optional.ofNullable(clientOS).ifPresent(configuredClientOS -> {\r\n if( configuredClientOS.trim().isEmpty() ){\r\n return;\r\n }\r\n\r\n // developer selected clientOS\r\n clientOSToUse.set(configuredClientOS.trim());\r\n });\r\n\r\n // user did not set custom clientOS, so let's use the \"default one\"\r\n if( clientOSToUse.get() == null ){\r\n if( internalUtils.isPlatformWindows() ){\r\n clientOSToUse.set(\"windows\");\r\n }\r\n if( internalUtils.isPlatformLinux() ){\r\n clientOSToUse.set(\"linux\");\r\n }\r\n if( internalUtils.isPlatformMac() ){\r\n clientOSToUse.set(\"mac\");\r\n }\r\n }\r\n\r\n AtomicReference<String> clientArchToUse = new AtomicReference<>();\r\n Optional.ofNullable(clientArch).ifPresent(configuredClientArch -> {\r\n if( configuredClientArch.trim().isEmpty() ){\r\n return;\r\n }\r\n\r\n // developer selected clientArch\r\n clientArchToUse.set(configuredClientArch.trim());\r\n });\r\n\r\n // user did not set custom clientArch, so let's use the \"default one\"\r\n if( clientArchToUse.get() == null ){\r\n // even when this might seem like \"get bit of operating system\", it seems to be the architecture of the running jdk\r\n if( System.getProperty(\"os.arch\").contains(\"64\") ){\r\n clientArchToUse.set(\"x64\");\r\n } else {\r\n clientArchToUse.set(\"x86\");\r\n }\r\n }\r\n\r\n bundlerSourceToUse.set(HARDCODED_DEFAULT_BUNDLER_GROUPID + \":\" + HARDCODED_DEFAULT_BUNDLER_ARTIFACTID_PREFIX + clientOSToUse.get() + \"-\" + clientArchToUse.get() + \":\" + mojoExecution.getPlugin().getVersion());\r\n }\r\n\r\n String bundlerSourceGAV = bundlerSourceToUse.get();\r\n String[] bundlerSourceParts = bundlerSourceGAV.split(\":\");\r\n\r\n Artifact bundlerSourceArtifact = null;\r\n if( bundlerSourceParts.length == 3 ){\r\n // GAV\r\n bundlerSourceArtifact = repositorySystem.createArtifact(bundlerSourceParts[0], bundlerSourceParts[1], Optional.ofNullable(overrideBundlerSourceVersion).orElse(bundlerSourceParts[2]), \"jar\");\r\n }\r\n if( bundlerSourceParts.length == 4 ){\r\n // GAV + classifier\r\n bundlerSourceArtifact = repositorySystem.createArtifact(bundlerSourceParts[0], bundlerSourceParts[1], Optional.ofNullable(overrideBundlerSourceVersion).orElse(bundlerSourceParts[2]), \"jar\", bundlerSourceParts[3]);\r\n }\r\n\r\n if( bundlerSourceArtifact == null ){\r\n throw new MojoExecutionException(\"Provided bundlerSource did not contain the requested GAV-format. Please check your configuration.\");\r\n }\r\n\r\n if( verbose ){\r\n getLog().info(String.format(\"Using GAV for bundler source artifact: %s\", bundlerSourceToUse.get()));\r\n }\r\n\r\n // try to resolve this artifact\r\n ArtifactResolutionRequest request = new ArtifactResolutionRequest();\r\n\r\n request.setArtifact(bundlerSourceArtifact);\r\n try{\r\n request.setLocalRepository(repositorySystem.createDefaultLocalRepository());\r\n } catch(InvalidRepositoryException ire){\r\n throw new MojoExecutionException(\"Got exception while creating local repository reference.\", ire);\r\n }\r\n request.setRemoteRepositories(project.getRemoteArtifactRepositories());\r\n\r\n if( session.isOffline() ){\r\n if( verbose ){\r\n getLog().info(\"Activating OFFLINE search\");\r\n }\r\n\r\n request.setOffline(true);\r\n }\r\n\r\n if( verbose ){\r\n getLog().info(\"Starting bundler source artifact resolution...\");\r\n }\r\n\r\n ArtifactResolutionResult result = repositorySystem.resolve(request);\r\n\r\n if( !result.isSuccess() ){\r\n throw new MojoExecutionException(\"Could not resolve bundler source, got some exceptions (\" + result.hasExceptions() + \"), here is the last one:\", result.getExceptions().get(result.getExceptions().size() - 1));\r\n }\r\n\r\n Set<URL> artifactUrls = result.getArtifacts()\r\n .stream()\r\n .map(artifact -> {\r\n return artifact.getFile().toURI();\r\n })\r\n .map(uri -> {\r\n try{\r\n return uri.toURL();\r\n } catch(MalformedURLException ex){\r\n // NO-OP stupid java api\r\n }\r\n return null;\r\n })\r\n .filter(entry -> entry != null)\r\n .collect(Collectors.toSet());\r\n\r\n if( verbose ){\r\n getLog().info(\"Creating temporary classloader for found bundler source artifact...\");\r\n }\r\n\r\n // create our own classloader for easier isolation\r\n URLClassLoader cl = new URLClassLoader(\r\n artifactUrls.toArray(new URL[0]),\r\n Thread.currentThread().getContextClassLoader()\r\n );\r\n\r\n AtomicBoolean didRun = new AtomicBoolean(false);\r\n AtomicReference<AbstractMojoExecutionException> innerException = new AtomicReference<>();\r\n\r\n AtomicBoolean hasSpecialFlavorRequest = new AtomicBoolean(false);\r\n Optional.ofNullable(bundlerFlavor).ifPresent(flavor -> {\r\n if( !flavor.trim().isEmpty() ){\r\n hasSpecialFlavorRequest.set(true);\r\n }\r\n });\r\n\r\n if( verbose ){\r\n getLog().info(\"Searching for NativeAppBundler service implementations...\");\r\n }\r\n\r\n ServiceLoader<NativeAppBundler> nativeAppBundlerServices = ServiceLoader.load(NativeAppBundler.class, cl);\r\n\r\n nativeAppBundlerServices.iterator().forEachRemaining(appBundler -> {\r\n // first found native app bundler wins\r\n // skip if any exception was thrown\r\n if( didRun.get() || innerException.get() != null ){\r\n return;\r\n }\r\n\r\n if( hasSpecialFlavorRequest.get() ){\r\n // if special bundler flavor was configured, skip each non-matching\r\n if( !bundlerFlavor.trim().equalsIgnoreCase(appBundler.getBundlerIdentifier()) ){\r\n if( verbose ){\r\n getLog().info(\"Found bundler did not match requested id: \" + appBundler.getBundlerIdentifier());\r\n }\r\n\r\n return;\r\n }\r\n }\r\n\r\n if( verbose ){\r\n getLog().info(\"Using bundler with id: \" + appBundler.getBundlerIdentifier());\r\n }\r\n\r\n try{\r\n if( verbose ){\r\n getLog().info(\"Running bundler requirements checks...\");\r\n }\r\n\r\n NativeAppOptions nativeAppOptions = new NativeAppOptions();\r\n\r\n nativeAppOptions.setInternalParameters(internalParameters);\r\n nativeAppOptions.setJdkPath(jdkPath);\r\n nativeAppOptions.setJrePath(jrePath);\r\n nativeAppOptions.setNativeLaunchers(nativeLaunchers);\r\n nativeAppOptions.setOutputBaseFolder(outputBaseFolder);\r\n nativeAppOptions.setSourceFolder(sourceFolder);\r\n nativeAppOptions.setTempWorkfolder(tempWorkfolder);\r\n nativeAppOptions.setVerbose(verbose);\r\n nativeAppOptions.setWithJRE(withJRE);\r\n\r\n appBundler.checkRequirements(nativeAppOptions, internalUtils, project, repositorySystem, mojoExecution, session, getLog());\r\n\r\n if( verbose ){\r\n getLog().info(\"Running creation of native app bundle...\");\r\n }\r\n\r\n // here we have a \"valid\" bundler, so call it\r\n File bundlerOutput = appBundler.bundleApp(nativeAppOptions, internalUtils, project, repositorySystem, mojoExecution, session, getLog());\r\n } catch(MojoFailureException | MojoExecutionException ex){\r\n // pass exception to outer world\r\n innerException.set(ex);\r\n }\r\n didRun.set(true);\r\n });\r\n\r\n if( innerException.get() != null ){\r\n AbstractMojoExecutionException thrownInnerException = innerException.get();\r\n throw new MojoFailureException(\"There was a problem while creating the native app bundle, please check your build log.\", thrownInnerException);\r\n }\r\n\r\n try{\r\n cl.close();\r\n } catch(IOException ex){\r\n // NO-OP\r\n }\r\n if( !didRun.get() ){\r\n throw new MojoFailureException(\"No bundler found to build with, please check your plugin-configuration.\");\r\n }\r\n }", "title": "" }, { "docid": "f7405d2bbacecf3c235473728ca9622c", "score": "0.43313995", "text": "public void fileResultOut();", "title": "" }, { "docid": "0fb53c741eef42aeb7ff834ad5e805db", "score": "0.43288875", "text": "public void executeInitialize() throws BuildException {\n String sourceValue;\n\n String sep = AntUtil.getPropertyAsString(propertyHelper, \"sep\");\n if(sep == null) {\n sep = File.separator;\n sourceValue = \" (auto-detect)\";\n } else {\n sourceValue = null;\n }\n mySetProperty(-1, \"sep\", sourceValue, sep, false);\n\n String psep = AntUtil.getPropertyAsString(propertyHelper, \"psep\");\n if(psep == null) {\n psep = File.pathSeparator;\n sourceValue = \" (auto-detect)\";\n } else {\n sourceValue = null;\n }\n mySetProperty(-1, \"psep\", sourceValue, psep, false);\n\n File jambiDirectoryAbspath = null;\n {\n sourceValue = null;\n String value = AntUtil.getPropertyAsString(propertyHelper, Constants.DIRECTORY);\n File dir = null;\n if(value == null) {\n // If this is not set we can auto-configure from $JAMBIDIR\n String JAMBIDIR = System.getenv(\"JAMBIDIR\");\n if(JAMBIDIR != null)\n getProject().log(this, \"JAMBIDIR is set: \" + prettyValue(JAMBIDIR), Project.MSG_INFO);\n dir = new File(JAMBIDIR);\n sourceValue = \" (from envvar:JAMBIDIR)\";\n } else {\n dir = new File(value);\n }\n if(dir != null) {\n if(dir.isDirectory() == false)\n sourceValue = \" (WARNING: path does not exist or is not a directory)\";\n else\n jambiDirectoryAbspath = ResolvePathTask.resolve(dir);\n }\n mySetProperty(-1, Constants.DIRECTORY, sourceValue, value, false);\n }\n\n {\n int thisVerbose = 0; // quiet\n sourceValue = null;\n String value = AntUtil.getPropertyAsString(propertyHelper, Constants.DIRECTORY_ABSPATH);\n if(value != null) {\n if(jambiDirectoryAbspath != null) {\n String path = jambiDirectoryAbspath.getAbsolutePath();\n if(value.equals(path) == false) {\n sourceValue = \" (WARNING MISMATCH: \" + path + \")\";\n thisVerbose = -1; // noisy (because of WARNING)\n }\n }\n } else if(jambiDirectoryAbspath != null) {\n value = jambiDirectoryAbspath.getAbsolutePath();\n thisVerbose = -1; // noisy (because we set it)\n }\n mySetProperty(thisVerbose, Constants.DIRECTORY_ABSPATH, null, value, false);\n }\n\n String QTDIR = System.getenv(\"QTDIR\"); // used here\n if(QTDIR == null){\n\t\t\tQTDIR = AntUtil.getPropertyAsString(propertyHelper, \"QTDIR\");\n\t\t}\n\t\tif(QTDIR != null)\n getProject().log(this, \"QTDIR is set: \" + prettyValue(QTDIR), Project.MSG_INFO);\n else if(OSInfo.isWindows() || OSInfo.isMacOS())\n getProject().log(this, \"WARNING QTDIR is not set, yet this platform usually requires it to be set\", Project.MSG_WARN);\n else{\n \tString value = AntUtil.getPropertyAsString(propertyHelper, Constants.BINDIR);\n \tif(value!=null){\n \t\tFile binDir = new File(value);\n \t\tif(binDir.isDirectory()){\n \t\t\tQTDIR = binDir.getParent();\n \t\t}\n \t}\n }\n\n final String[] emitA = {\n Constants.BINDIR,\n Constants.LIBDIR,\n Constants.INCLUDEDIR,\n Constants.PLUGINSDIR,\n Constants.IMPORTSDIR,\n Constants.QMLMODULESDIR\n };\n for(String emit : emitA) {\n sourceValue = null;\n String value = AntUtil.getPropertyAsString(propertyHelper, emit);\n File dir = null;\n if(value != null) {\n dir = new File(value);\n } else if(value == null && QTDIR != null) {\n dir = resolveDirectoryViaQTDIR(QTDIR, emit);\n if(dir != null) {\n value = dir.getAbsolutePath();\n sourceValue = \" (from envvar:QTDIR)\";\n }\n }\n if(dir != null) {\n if(dir.isDirectory() == false)\n sourceValue = \" (WARNING: path does not exist or is not a directory)\";\n }\n mySetProperty(-1, emit, sourceValue, value, false);\n }\n\n final String[] emitB = {\n Constants.QTJAMBI_PHONON_INCLUDEDIR,\n Constants.QTJAMBI_PHONON_LIBDIR,\n Constants.QTJAMBI_PHONON_PLUGINSDIR\n };\n for(String emit : emitB) {\n sourceValue = null;\n String value = AntUtil.getPropertyAsString(propertyHelper, emit);\n File dir = null;\n if(value != null) {\n dir = new File(value);\n } else if(value == null) {\n String x = null;\n if(Constants.QTJAMBI_PHONON_INCLUDEDIR.equals(emit))\n x = Constants.INCLUDEDIR;\n else if(Constants.QTJAMBI_PHONON_LIBDIR.equals(emit))\n x = Constants.LIBDIR;\n else if(Constants.QTJAMBI_PHONON_PLUGINSDIR.equals(emit))\n x = Constants.PLUGINSDIR;\n if(x != null)\n value = AntUtil.getPropertyAsString(propertyHelper, x);\n if(value != null)\n sourceValue = \" (inherited from ${\" + x + \"})\";\n }\n if(dir != null) {\n if(dir.isDirectory() == false)\n sourceValue = \" (WARNING: path does not exist or is not a directory)\";\n }\n mySetProperty(-1, emit, sourceValue, value, false);\n }\n\n {\n sourceValue = null;\n // FIXME: we could auto-configure this instead of setenv.xml doing that\n String value = AntUtil.getPropertyAsString(propertyHelper, Constants.QTJAMBI_PHONON_KDEPHONON_PATH);\n if(value == null)\n value = \"\"; // set this empty-string default here\n mySetProperty(-1, Constants.QTJAMBI_PHONON_KDEPHONON_PATH, sourceValue, value, false);\n }\n\n {\n sourceValue = null;\n String qtQmake = AntUtil.getPropertyAsString(propertyHelper, Constants.QMAKE);\n String detectedQmake = QMakeTask.executableName();\n if(qtQmake == null) {\n qtQmake = detectedQmake;\n sourceValue = \" (default)\";\n } else if(qtQmake.equals(detectedQmake) == false) {\n sourceValue = \" (WARNING expected \" + detectedQmake + \")\";\n }\n mySetProperty(-1, Constants.QMAKE, sourceValue, qtQmake, false);\n\n String detectedQmakeAbsolutePath = QMakeTask.resolveExecutableAbsolutePath(getProject(), qtQmake);\n\n String qtQmakeAbspath = AntUtil.getPropertyAsString(propertyHelper, Constants.QMAKE_ABSPATH);\n if(qtQmakeAbspath == null) {\n qtQmakeAbspath = detectedQmakeAbsolutePath;\n if(qtQmakeAbspath != null)\n sourceValue = \" (auto-detected)\";\n else\n sourceValue = \" (WARNING not found)\";\n } else {\n if(qtQmakeAbspath.equals(detectedQmakeAbsolutePath) == false)\n sourceValue = \" (WARNING detected at \" + detectedQmakeAbsolutePath + \")\";\n }\n mySetProperty(-1, Constants.QMAKE_ABSPATH, sourceValue, qtQmakeAbspath, false);\n }\n\n FindCompiler finder = new FindCompiler(this);\n\n String detectedOsname = OSInfo.osArchName();\n String osname = AntUtil.getPropertyAsString(propertyHelper, Constants.OSNAME);\n if(osname == null) {\n sourceValue = \" (auto-detected)\";\n osname = detectedOsname;\n } else {\n if(\"help\".equals(osname) || \"?\".equals(osname)) {\n OSInfo.OS[] values = OSInfo.OS.values();\n String s = Arrays.toString(values);\n throw new BuildException(Constants.OSNAME + \" valid values: \" + s);\n }\n sourceValue = \" (detected: \" + detectedOsname + \")\";\n }\n mySetProperty(-1, Constants.OSNAME, sourceValue, osname, false); // report value\n\n Compiler compiler;\n {\n Compiler detectedCompiler = finder.decideCompiler();\n String compilerValue = AntUtil.getPropertyAsString(propertyHelper, Constants.COMPILER);\n if(compilerValue == null) {\n sourceValue = \" (available compilers: \" + finder.getAvailableCompilers() + \"; auto-detected)\";\n compilerValue = detectedCompiler.toString();\n } else {\n if(\"help\".equals(compilerValue) || \"?\".equals(compilerValue)) {\n Compiler[] values = Compiler.values();\n String s = Arrays.toString(values);\n throw new BuildException(Constants.COMPILER + \" valid values: \" + s);\n }\n sourceValue = \" (available compilers: \" + finder.getAvailableCompilers() + \"; detected: \" + detectedCompiler + \")\";\n }\n mySetProperty(-1, Constants.COMPILER, sourceValue, compilerValue, false); // report value\n compiler = Compiler.resolve(compilerValue);\n }\n\n String vsredistdirValue = AntUtil.getPropertyAsString(propertyHelper, Constants.VSREDISTDIR);\n if(vsredistdirValue != null) {\n sourceValue = null; // \" (environment variable $\" + \"VSREDISTDIR\" + \")\"; // not strictly true it could be set by ant cmdline\n mySetProperty(-1, Constants.VSREDISTDIR_PACKAGE, sourceValue, vsredistdirValue, false); // report value\n\n String vsredistdirPackageValue = AntUtil.getPropertyAsString(propertyHelper, Constants.VSREDISTDIR_PACKAGE);\n if(vsredistdirPackageValue == null) {\n sourceValue = \" (default value; feature need explicit enabling)\";\n vsredistdirPackageValue = \"false\";\n } else {\n sourceValue = null;\n }\n mySetProperty(-1, Constants.VSREDISTDIR_PACKAGE, sourceValue, vsredistdirPackageValue, false); // report value\n } else {\n mySetProperty(0, Constants.VSREDISTDIR_PACKAGE, null, \"false\", false); // silently set false\n }\n\n String CROSS_COMPILE = System.getenv(\"CROSS_COMPILE\"); // used here\n if(CROSS_COMPILE != null)\n getProject().log(this, \"CROSS_COMPILE is set: \" + prettyValue(CROSS_COMPILE), Project.MSG_INFO);\n\n if(OSInfo.isMacOS())\n mySetProperty(0, Constants.QTJAMBI_CONFIG_ISMACOSX, \" (set by init)\", \"true\", false);\n\n String s;\n\n s = null;\n if(OSInfo.isLinux())\n s = OSInfo.K_LINUX;\n else if(OSInfo.isWindows())\n s = OSInfo.K_WINDOWS;\n else if(OSInfo.isMacOS())\n s = OSInfo.K_MACOSX;\n else if(OSInfo.isFreeBSD())\n s = OSInfo.K_FREEBSD;\n else if(OSInfo.isSolaris())\n s = OSInfo.K_SUNOS;\n if(s != null)\n AntUtil.setNewProperty(propertyHelper, Constants.OSPLATFORM, s);\n\n s = null;\n\n if(true) { // FIXME lookup if verbose is set\n Properties props = System.getProperties();\n Enumeration e = props.propertyNames();\n while(e.hasMoreElements()) {\n String k = (String) e.nextElement();\n Object v = System.getProperty(k);\n getProject().log(\"systemProperty[\" + k + \"] = \" + v, Project.MSG_VERBOSE);\n }\n }\n\n String javaOsArch = System.getProperty(\"os.arch\");\t// arm|\n if(\"arm\".equals(javaOsArch)) {\n // FIXME get LE or BE\n s = \"arm\";\n } else {\n if(osname.endsWith(\"64\"))\n s = \"x86_64\";\n else\n s = \"i386\";\n }\n if(s != null)\n AntUtil.setNewProperty(propertyHelper, Constants.OSCPU, s);\n String osCpu = s;\n\n finder.checkCompilerDetails();\n \n mySetProperty(-1, Constants.EXEC_STRIP, null, null, false); // report value\n\n String JAVA_HOME = System.getenv(\"JAVA_HOME\"); // used here\n if(JAVA_HOME != null)\n getProject().log(this, \"JAVA_HOME is set: \" + prettyValue(JAVA_HOME), Project.MSG_INFO);\n else\n getProject().log(this, \"WARNING JAVA_HOME is not set, this is usually required to be set\", Project.MSG_WARN);\n\n String javaHomeTarget = decideJavaHomeTarget();\n if(javaHomeTarget == null)\n throw new BuildException(\"Unable to determine JAVA_HOME_TARGET, setup environment variable JAVA_HOME (or JAVA_HOME_TARGET) or edit build.properties\");\n\n String javaOsarchTarget = decideJavaOsarchTarget();\n if(javaOsarchTarget == null) {\n if(OSInfo.isMacOS() == false) // On MacOSX there is no sub-dir inside the JDK include directory that contains jni.h\n throw new BuildException(\"Unable to determine JAVA_OSARCH_TARGET, setup environment variable JAVA_OSARCH_TARGET or edit build.properties\");\n }\n\n String javaOscpu = decideJavaOscpu();\n if(javaOscpu == null)\n throw new BuildException(\"Unable to determine JAVA_OSCPU, setup environment variable JAVA_OSCPU or edit build.properties\");\n\n String javaOscpuTarget = decideJavaOscpuTarget();\n if(javaOscpuTarget == null)\n throw new BuildException(\"Unable to determine JAVA_OSCPU_TARGET, setup environment variable JAVA_OSCPU_TARGET or edit build.properties\");\n\n {\n sourceValue = null;\n String toolsBindir = AntUtil.getPropertyAsString(propertyHelper, Constants.TOOLS_BINDIR);\n if(toolsBindir == null) {\n String bindir = AntUtil.getPropertyAsString(propertyHelper, Constants.BINDIR);\n if(bindir != null) {\n sourceValue = \" (inherited from ${\" + Constants.BINDIR + \"})\";\n toolsBindir = bindir;\n }\n }\n mySetProperty(-1, Constants.TOOLS_BINDIR, sourceValue, toolsBindir, false); // report value\n }\n {\n sourceValue = null;\n String toolsLibdir = AntUtil.getPropertyAsString(propertyHelper, Constants.TOOLS_LIBDIR);\n if(toolsLibdir == null) {\n String libdir = AntUtil.getPropertyAsString(propertyHelper, Constants.LIBDIR);\n if(libdir != null) {\n sourceValue = \" (inherited from ${\" + Constants.LIBDIR + \"})\";\n toolsLibdir = libdir;\n }\n }\n mySetProperty(-1, Constants.TOOLS_LIBDIR, sourceValue, toolsLibdir, false); // report value\n }\n {\n sourceValue = null;\n String toolsQmake = AntUtil.getPropertyAsString(propertyHelper, Constants.TOOLS_QMAKE);\n if(toolsQmake == null) {\n String qmake = AntUtil.getPropertyAsString(propertyHelper, Constants.QMAKE);\n sourceValue = \" (inherited from ${\" + Constants.QMAKE + \"})\";\n toolsQmake = qmake;\n }\n mySetProperty(-1, Constants.TOOLS_QMAKE, sourceValue, toolsQmake, false); // report value\n\n // This method needs to look in Constants.TOOLS_BINDIR not Constants.BINDIR\n String detectedQmakeAbsolutePath = QMakeTask.resolveExecutableAbsolutePath(getProject(), toolsQmake, Constants.TOOLS_BINDIR);\n\n String toolsQmakeAbspath = AntUtil.getPropertyAsString(propertyHelper, Constants.TOOLS_QMAKE_ABSPATH);\n if(toolsQmakeAbspath == null) {\n toolsQmakeAbspath = detectedQmakeAbsolutePath;\n if(toolsQmakeAbspath != null)\n sourceValue = \" (auto-detected)\";\n else\n sourceValue = \" (WARNING not found)\";\n } else {\n if(toolsQmakeAbspath.equals(detectedQmakeAbsolutePath) == false)\n sourceValue = \" (WARNING detected at \" + detectedQmakeAbsolutePath + \")\";\n }\n mySetProperty(-1, Constants.TOOLS_QMAKE_ABSPATH, sourceValue, toolsQmakeAbspath, false);\n }\n\n\n if(!decideQtVersion())\n throw new BuildException(\"Unable to determine Qt version, try editing: \" + pathVersionPropertiesTemplate);\n s = String.valueOf(qtVersion);\n analyzeLibinfix(new File(QTDIR));\n \n if(OSInfo.isMacOS()){\n\t String wantedSdk = AntUtil.getPropertyAsString(propertyHelper, Constants.QTJAMBI_MACOSX_MAC_SDK);\n\t detectMacosxSdk(wantedSdk);\n }\n if(qtMajorVersion>=5){\n \tAntUtil.setProperty(propertyHelper, \"qt.feature.QT_NO_STYLE_PLASTIQUE\", \"true\");\n }\n\n getProject().log(this, Constants.QT_VERSION + \" is \" + s + qtVersionSource, Project.MSG_VERBOSE);\n AntUtil.setNewProperty(propertyHelper, Constants.QT_VERSION, s);\n AntUtil.setNewProperty(propertyHelper, Constants.VERSION, s); // this won't overwrite existing value\n\n s = String.valueOf(qtMajorVersion);\n getProject().log(this, Constants.QT_VERSION_MAJOR + \" is \" + s, Project.MSG_VERBOSE);\n AntUtil.setNewProperty(propertyHelper, Constants.QT_VERSION_MAJOR, s);\n AntUtil.setNewProperty(propertyHelper, Constants.QT_VERSION_MAJOR_NEXT, String.valueOf(qtMajorVersion + 1));\n AntUtil.setNewProperty(propertyHelper, Constants.QT_VERSION_MINOR, String.valueOf(qtMinorVersion));\n AntUtil.setNewProperty(propertyHelper, Constants.QT_VERSION_MINOR_NEXT, String.valueOf(qtMinorVersion + 1));\n AntUtil.setNewProperty(propertyHelper, Constants.QT_VERSION_PATCHLEVEL, String.valueOf(qtPatchlevelVersion));\n\n\n versionSuffix = AntUtil.getPropertyAsString(propertyHelper, Constants.SUFFIX_VERSION);\n mySetProperty(-1, Constants.SUFFIX_VERSION, null, null, false); // report\n\n String canonVersionSuffix;\n if(versionSuffix != null)\n canonVersionSuffix = versionSuffix;\n else\n canonVersionSuffix = \"\";\n String bundleVersionMode = AntUtil.getPropertyAsString(propertyHelper, Constants.BUNDLE_VERSION_MODE);\n if(bundleVersionMode != null) {\n if(bundleVersionMode.equals(\"auto-suffix-date\")) {\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyyMMdd\");\n s = qtVersion + \".\" + sdf.format(new Date()) + canonVersionSuffix;\n }\n } else {\n s = qtVersion + canonVersionSuffix;\n }\n mySetProperty(-1, Constants.BUNDLE_VERSION, null, s, false);\n\n\n { // Need to detect the version of Qt we a reworking with before deciding configuration\n String wantedConfiguration = AntUtil.getPropertyAsString(propertyHelper, Constants.CONFIGURATION);\n detectConfiguration(wantedConfiguration); // all the magic in in here now\n }\n\n // Moved until after auto-detect of configuration is complete\n s = null;\n if(Constants.CONFIG_RELEASE.equals(getConfiguration()))\n s = \"\"; // empty\n else if(Constants.CONFIG_DEBUG.equals(getConfiguration()))\n s = \"-debug\";\n else if(Constants.CONFIG_TEST.equals(getConfiguration()))\n s = \"-test\";\n else\n s = \"\"; // empty (debug_and_release)\n if(s != null)\n AntUtil.setNewProperty(propertyHelper, Constants.CONFIGURATION_DASH, s);\n s = null;\n if(Constants.CONFIG_RELEASE.equals(getConfiguration()))\n s = \"\"; // empty\n else if(Constants.CONFIG_DEBUG.equals(getConfiguration()))\n s = \".debug\";\n else if(Constants.CONFIG_TEST.equals(getConfiguration()))\n s = \".test\";\n else\n s = \"\"; // empty (debug_and_release)\n if(s != null)\n AntUtil.setNewProperty(propertyHelper, Constants.CONFIGURATION_OSGI, s);\n\n {\n sourceValue = null;\n String value = AntUtil.getPropertyAsString(propertyHelper, Constants.QTJAMBI_DEBUG_TOOLS);\n if(value == null) {\n if(isConfigurationDebug() || isConfigurationTest())\n value = Boolean.TRUE.toString();\n else\n value = Boolean.FALSE.toString();\n sourceValue = \" (auto-configured based on ${\" + Constants.CONFIGURATION + \"})\";\n }\n mySetProperty(-1, Constants.QTJAMBI_DEBUG_TOOLS, sourceValue, value, false);\n }\n\n {\n sourceValue = null;\n String qmakeTargetDefault = AntUtil.getPropertyAsString(propertyHelper, Constants.QMAKE_TARGET_DEFAULT);\n if(qmakeTargetDefault == null) {\n // We only need to override the default when the Qt SDK is debug_and_release but\n // we are only building the project for one kind.\n// if(Constants.CONFIG_RELEASE.equals(configuration))\n// qmakeTargetDefault = configuration;\n// else if(Constants.CONFIG_DEBUG.equals(configuration))\n// qmakeTargetDefault = configuration;\n if(Constants.CONFIG_DEBUG_AND_RELEASE.equals(getConfiguration()))\n qmakeTargetDefault = \"all\";\n else\n qmakeTargetDefault = \"\"; // must be set to empty string (avoid ant subst ${qmake.target.default})\n // FIXME: We want ${qtjambi.configuration} to set from QTDIR build kind *.prl data\n// sourceValue = \" (set from ${qtjambi.configuration})\";\n }\n mySetProperty(-1, Constants.QMAKE_TARGET_DEFAULT, sourceValue, qmakeTargetDefault, false); // report value\n }\n\n\n if(qtMajorVersion<5){\n String sonameVersionMajor = Constants.DEFAULT_QTJAMBI_SONAME_VERSION_MAJOR;\n String sonameSource = \" (set by init)\";\n \tmySetProperty(-1, Constants.QTJAMBI_SONAME_VERSION_MAJOR, sonameSource, sonameVersionMajor, false);\n }else{\n \tString sonameVersionMajor = \"\"+qtMajorVersion;\n String sonameSource = \" (taken from qt version)\";\n \tmySetProperty(-1, Constants.QTJAMBI_SONAME_VERSION_MAJOR, sonameSource, sonameVersionMajor, false);\n }\n\n String cachekeyVersion = AntUtil.getPropertyAsString(propertyHelper, Constants.CACHEKEY);\n String cachekeyVersionSource = \" (already set)\";\n if(cachekeyVersion == null) { // auto-configure\n cachekeyVersionSource = \" (set by init)\";\n // ${qtjambi.compiler}${qtjambi.configuration.dash}-${DSTAMP}-${TSTAMP}\n cachekeyVersion = propertyHelper.replaceProperties(null, \"${qtjambi.compiler}${qtjambi.configuration.dash}-${DSTAMP}-${TSTAMP}\", null);\n }\n mySetProperty(-1, Constants.CACHEKEY, cachekeyVersionSource, cachekeyVersion, false);\n\n\n if(!decideGeneratorPreProc(osCpu))\n throw new BuildException(\"Unable to determine generator pre-processor settings\");\n s = Util.safeArrayToString(generatorPreProcStageOneA);\n getProject().log(this, Constants.GENERATOR_PREPROC_STAGE1 + \" is \" + ((s != null) ? s : \"<unset>\"), Project.MSG_VERBOSE);\n AntUtil.setNewProperty(propertyHelper, Constants.GENERATOR_PREPROC_STAGE1, Util.safeArrayJoinToString(generatorPreProcStageOneA, \",\"));\n s = Util.safeArrayToString(generatorPreProcStageTwoA);\n getProject().log(this, Constants.GENERATOR_PREPROC_STAGE2 + \" is \" + ((s != null) ? s : \"<unset>\"), Project.MSG_VERBOSE);\n AntUtil.setNewProperty(propertyHelper, Constants.GENERATOR_PREPROC_STAGE2, Util.safeArrayJoinToString(generatorPreProcStageTwoA, \",\"));\n\n\n String qtjambiQtLibdir = AntUtil.getPropertyAsString(propertyHelper, Constants.LIBDIR);\n if(qtjambiQtLibdir != null) {\n sourceValue = null;\n s = null;\n// s = AntUtil.getPropertyAsString(propertyHelper, Constants.QTJAMBI_MACOSX_QTMENUNIB_DIR);\n if(OSInfo.isMacOS()) {\n s = doesQtLibExistDir(qtjambiQtLibdir, \"Resources/qt_menu.nib\");\n if(s == null)\n s = doesQtLibExistDir(qtjambiQtLibdir, \"qt_menu.nib\");\n if(s == null)\n s = doesQtLibExistDir(qtjambiQtLibdir, \"../src/gui/mac/qt_menu.nib\");\n // FIXME: auto-detect, directory from source, directory from QtSDK on MacOSX, directory from framework on MacOSX\n \n if(s != null)\n sourceValue = \" (auto-detected)\";\n }\n if(s == null) {\n if(OSInfo.isMacOS() == false)\n sourceValue = \" (expected for non-MacOSX platform)\";\n else\n sourceValue = \" (WARNING you should resolve this for targetting MacOSX)\";\n s = \"\";\n }\n mySetProperty(-1, Constants.QTJAMBI_MACOSX_QTMENUNIB_DIR, sourceValue, s, false);\n }\n if(AntUtil.getPropertyAsString(propertyHelper, Constants.QTJAMBI_MACOSX_QTMENUNIB_DIR) == null)\n AntUtil.setProperty(propertyHelper, Constants.QTJAMBI_MACOSX_QTMENUNIB_DIR, \"\", false);\n\n\n // The 'qreal' Qt C++ type is 'float' on ARM platforms and 'double' on all others\n String qrealtype = \"double\";\n String qrealSource = \" (the default)\";\n if(\"arm\".equals(javaOsArch)) {\n qrealtype = \"float\";\n qrealSource = \" (${\" + Constants.OSCPU + \"} is \\\"arm\\\")\";\n }\n mySetProperty(-1, Constants.QTJAMBI_QREALTYPE, qrealSource, qrealtype, false);\n\n\n detectQtDsoExistAndSetProperty(Constants.CORE, \"QtCore\", libInfix, String.valueOf(qtMajorVersion), null);\n \n detectQtDsoExistAndSetProperty(Constants.DBUS, \"QtDBus\", libInfix, String.valueOf(qtMajorVersion), \"dbus\");\n\n detectQtDsoExistAndSetProperty(Constants.CLUCENE, \"QtCLucene\", libInfix, String.valueOf(qtMajorVersion), null);\n\n String qtDetectDeclarative = detectQtDsoExistAndSetProperty(Constants.DECLARATIVE, \"QtDeclarative\", libInfix, String.valueOf(qtMajorVersion), \"declarative\");\n\n detectQtDsoExistAndSetProperty(Constants.DESIGNER, \"QtDesigner\", libInfix, String.valueOf(qtMajorVersion), \"designer\");\n\n detectQtDsoExistAndSetProperty(Constants.DESIGNERCOMPONENTS, \"QtDesignerComponents\", libInfix, String.valueOf(qtMajorVersion), null);\n\n detectQtDsoExistAndSetProperty(Constants.GUI, \"QtGui\", libInfix, String.valueOf(qtMajorVersion), \"gui\");\n \n detectQtDsoExistAndSetProperty(Constants.HELP, \"QtHelp\", libInfix, String.valueOf(qtMajorVersion), \"help\");\n\n detectQtDsoExistAndSetProperty(Constants.MULTIMEDIA, \"QtMultimedia\", libInfix, String.valueOf(qtMajorVersion), \"multimedia\");\n\n detectQtDsoExistAndSetProperty(Constants.NETWORK, \"QtNetwork\", libInfix, String.valueOf(qtMajorVersion), \"network\");\n\n detectQtDsoExistAndSetProperty(Constants.OPENGL, \"QtOpenGL\", libInfix, String.valueOf(qtMajorVersion), \"opengl\");\n \n String phononLibDir = AntUtil.getPropertyAsString(propertyHelper, Constants.QTJAMBI_PHONON_LIBDIR); // maybe null or valid\n String qtDetectPhonon = detectQtDsoExistAndSetProperty(Constants.PHONON, \"phonon\", String.valueOf(qtMajorVersion), \"phonon\", phononLibDir);\n\n detectQtDsoExistAndSetProperty(Constants.SCRIPT, \"QtScript\", libInfix, String.valueOf(qtMajorVersion), \"script\");\n\n detectQtDsoExistAndSetProperty(Constants.SCRIPTTOOLS, \"QtScriptTools\", libInfix, String.valueOf(qtMajorVersion), \"scripttools\");\n\n detectQtDsoExistAndSetProperty(Constants.SQL, \"QtSql\", libInfix, String.valueOf(qtMajorVersion), \"sql\");\n\n detectQtDsoExistAndSetProperty(Constants.SVG, \"QtSvg\", libInfix, String.valueOf(qtMajorVersion), \"svg\");\n\n if(qtMajorVersion>=5){\n \tdetectQtDsoExistAndSetProperty(Constants.TEST, \"QtTest\", libInfix, String.valueOf(qtMajorVersion), \"testlib\");\n }else{\n \tdetectQtDsoExistAndSetProperty(Constants.TEST, \"QtTest\", libInfix, String.valueOf(qtMajorVersion), \"qtestlib\");\n }\n\n String qtDetectWebkit = detectQtDsoExistAndSetProperty(Constants.WEBKIT, \"QtWebKit\", libInfix, String.valueOf(qtMajorVersion), \"webkit\");\n // Not sure why this is a problem \"ldd libQtWebKit.so.4.7.4\" has no dependency on libphonon for me,\n // if you have headers and DSOs for WebKit then QtJambi should build the support.\n if(qtDetectWebkit != null && qtDetectPhonon == null)\n getProject().log(this, \"WARNING: \" + Constants.WEBKIT + \" is FOUND, but \" + Constants.PHONON + \" is NOT FOUND\", Project.MSG_VERBOSE);\n// DECLARATIVE_WEBKIT\n\n if(qtDetectWebkit != null && qtDetectDeclarative != null){\n \tAntUtil.setNewProperty(propertyHelper, Constants.DECLARATIVE_WEBKIT + \".true\", \"true\"); // true or not-set\n }\n \t\n detectQtDsoExistAndSetProperty(Constants.XML, \"QtXml\", libInfix, String.valueOf(qtMajorVersion), \"xml\");\n\n detectQtDsoExistAndSetProperty(Constants.XMLPATTERNS, \"QtXmlPatterns\", libInfix, String.valueOf(qtMajorVersion), \"xmlpatterns\");\n \n if(qtMajorVersion>=5){\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.EGLDEVICEINTEGRATION, \"QtEglDeviceIntegration\", libInfix, String.valueOf(qtMajorVersion), null);\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.WAYLANDCLIENT, \"QtWaylandClient\", libInfix, String.valueOf(qtMajorVersion), null);\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.XCBQPA, \"QtXcbQpa\", libInfix, String.valueOf(qtMajorVersion), null);\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.WIDGETS, \"QtWidgets\", libInfix, String.valueOf(qtMajorVersion), \"widgets\");\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.QT3DCORE, \"Qt3DCore\", libInfix, String.valueOf(qtMajorVersion), \"3dcore\");\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.QT3DQUICK, \"Qt3DQuick\", libInfix, String.valueOf(qtMajorVersion), \"3dquick\");\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.QT3DQUICKRENDERER, \"Qt3DQuickRenderer\", libInfix, String.valueOf(qtMajorVersion), \"3dquickrenderer\");\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.QT3DRENDERER, \"Qt3DRenderer\", libInfix, String.valueOf(qtMajorVersion), \"3drenderer\");\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.WINEXTRAS, \"QtWinExtras\", libInfix, String.valueOf(qtMajorVersion), \"winextras\");\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.MACEXTRAS, \"QtMacExtras\", libInfix, String.valueOf(qtMajorVersion), \"macextras\");\n \t\n \tdetectQtDsoExistAndSetProperty(Constants.X11EXTRAS, \"QtX11Extras\", libInfix, String.valueOf(qtMajorVersion), \"x11extras\");\n \t\n detectQtDsoExistAndSetProperty(Constants.CONCURRENT, \"QtConcurrent\", libInfix, String.valueOf(qtMajorVersion), \"concurrent\");\n \n detectQtDsoExistAndSetProperty(Constants.LIBEGL, \"libEGL\", libInfix, null, null);\n \n detectQtDsoExistAndSetProperty(Constants.LIBGLESV2, \"libGLESv2\", libInfix, null, null);\n \n detectQtDsoExistAndSetProperty(Constants.BLUETOOTH, \"QtBluetooth\", libInfix, String.valueOf(qtMajorVersion), \"bluetooth\");\n \n detectQtDsoExistAndSetProperty(Constants.LOCATION, \"QtLocation\", libInfix, String.valueOf(qtMajorVersion), \"location\");\n \n detectQtDsoExistAndSetProperty(Constants.WEBSOCKETS, \"QtWebSockets\", libInfix, String.valueOf(qtMajorVersion), \"websocket\");\n \n detectQtDsoExistAndSetProperty(Constants.WEBCHANNEL, \"QtWebChannel\", libInfix, String.valueOf(qtMajorVersion), \"webchannel\");\n \n detectQtDsoExistAndSetProperty(Constants.SERIALPORT, \"QtSerialPort\", libInfix, String.valueOf(qtMajorVersion), \"serialport\");\n \n detectQtDsoExistAndSetProperty(Constants.SENSORS, \"QtSensors\", libInfix, String.valueOf(qtMajorVersion), \"sensors\");\n \n detectQtDsoExistAndSetProperty(Constants.QUICKTEST, \"QtQuickTest\", libInfix, String.valueOf(qtMajorVersion), null);\n \n detectQtDsoExistAndSetProperty(Constants.QUICKWIDGETS, \"QtQuickWidgets\", libInfix, String.valueOf(qtMajorVersion), null);\n \n detectQtDsoExistAndSetProperty(Constants.QUICKPARTICLES, \"QtQuickParticles\", libInfix, String.valueOf(qtMajorVersion), null);\n \n detectQtDsoExistAndSetProperty(Constants.QUICK, \"QtQuick\", libInfix, String.valueOf(qtMajorVersion), \"quick\");\n \n detectQtDsoExistAndSetProperty(Constants.QML, \"QtQml\", libInfix, String.valueOf(qtMajorVersion), \"qml\");\n \n detectQtDsoExistAndSetProperty(Constants.PRINTSUPPORT, \"QtPrintSupport\", libInfix, String.valueOf(qtMajorVersion), \"printsupport\");\n \n detectQtDsoExistAndSetProperty(Constants.NFC, \"QtNfc\", libInfix, String.valueOf(qtMajorVersion), \"nfc\");\n \n detectQtDsoExistAndSetProperty(Constants.MULTIMEDIAWIDGETS, \"QtMultimediaWidgets\", libInfix, String.valueOf(qtMajorVersion), null);\n \n detectQtDsoExistAndSetProperty(Constants.MULTIMEDIAQUICK_P, \"QtMultimediaQuick_p\", libInfix, String.valueOf(qtMajorVersion), null);\n\n detectQtDsoExistAndSetProperty(Constants.OPENGLEXTENSIONS, \"QtOpenGLExtensions\", libInfix, String.valueOf(qtMajorVersion), null);\n \n detectQtDsoExistAndSetProperty(Constants.PLATFORMSUPPORT, \"QtPlatformSupport\", libInfix, String.valueOf(qtMajorVersion), null);\n\n }\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_ACCESSIBLE_QTACCESSIBLEWIDGETS, \"accessible\", \"qtaccessiblewidgets\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_BEARER_CONNMANBEARER, \"bearer\", \"qconnmanbearer\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_BEARER_GENERICBEARER, \"bearer\", \"qgenericbearer\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_BEARER_NATIVEWIFIBEARER, \"bearer\", \"qnativewifibearer\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_BEARER_NMBEARER, \"bearer\", \"qnmbearer\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_CODECS_CNCODECS, \"codecs\", \"qcncodecs\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_CODECS_JPCODECS, \"codecs\", \"qjpcodecs\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_CODECS_KRCODECS, \"codecs\", \"qkrcodecs\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_CODECS_TWCODECS, \"codecs\", \"qtwcodecs\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_GRAPHICSSYSTEMS_GLGRAPHICSSYSTEM, \"graphicssystems\", \"qglgraphicssystem\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_GRAPHICSSYSTEMS_TRACEGRAPHICSSYSTEM, \"graphicssystems\", \"qtracegraphicssystem\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_ICONENGINES_SVGICON, \"iconengines\", \"qsvgicon\", null, null, null);\n\n // These are only detecting if the plugins exist for these modules,\n // lack of a plugins does not necessarily mean Qt doesn't have support\n // since the implementation might be statically linked in.\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_GIF, \"imageformats\", \"qgif\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_ICO, \"imageformats\", \"qico\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_JPEG, \"imageformats\", \"qjpeg\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_MNG, \"imageformats\", \"qmng\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_PNG, \"imageformats\", \"qpng\", null, \"probably a built-in\", null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_SVG, \"imageformats\", \"qsvg\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_TIFF, \"imageformats\", \"qtiff\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_INPUTMETHODS_IMSW_MULTI, \"inputmethods\", \"qimsw-multi\", null, null, null);\n\n // We now just do plugin detection and emit what we see, regardless of platform\n String sourceValueIfNull;\n\n sourceValueIfNull = null;\n if(OSInfo.isWindows() == false)\n sourceValueIfNull = \"expected for non-Windows platform\";\n detectQtPluginExistAndSetProperty(Constants.PHONON_DS9, \"phonon_backend\", \"phonon_ds9\", null, sourceValueIfNull, \"auto-detected\");\n\n if(OSInfo.isLinux() == false)\n sourceValueIfNull = \"expected for non-Linux platform\"; // also sunos/freebsd/ete...\n decideQtPluginsPhononBackendPhononGstreamer(Constants.PHONON_GSTREAMER, \"phonon_backend\", \"phonon_gstreamer\", sourceValueIfNull);\n\n sourceValueIfNull = null;\n if(OSInfo.isMacOS() == false)\n sourceValueIfNull = \"expected for non-MacOSX platform\";\n detectQtPluginExistAndSetProperty(Constants.PHONON_QT7, \"phonon_backend\", \"phonon_qt7\", null, sourceValueIfNull, \"auto-detected\");\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_QMLTOOLING_QMLDBG_TCP, \"qmltooling\", \"qmldbg_tcp\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SCENEFORMATS_QSCENEAI, \"sceneformats\", \"qsceneai\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SCENEFORMATS_QSCENEBEZIER, \"sceneformats\", \"qscenebezier\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SCENEFORMATS_QSCENEOBJ, \"sceneformats\", \"qsceneobj\", null, null, null);\n\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SCRIPT_QTSCRIPTDBUS, \"script\", \"qtscriptdbus\", null, null, null);\n\n // FIXME: Detect the case when this module was compiled into QtSql\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SQLDRIVERS_SQLITE, \"sqldrivers\", \"qsqlite\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SQLDRIVERS_SQLITE2, \"sqldrivers\", \"qsqlite2\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SQLDRIVERS_SQLMYSQL, \"sqldrivers\", \"qsqlmysql\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SQLDRIVERS_SQLODBC, \"sqldrivers\", \"qsqlodbc\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SQLDRIVERS_SQLPSQL, \"sqldrivers\", \"qsqlpsql\", null, null, null);\n detectQtPluginExistAndSetProperty(Constants.PLUGINS_SQLDRIVERS_SQLTDS, \"sqldrivers\", \"qsqltds\", null, null, null);\n \n if(qtMajorVersion>=5){\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_AUDIO_QTAUDIO_WINDOWS, \"audio\", \"qtaudio_windows\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_GENERIC_QTUIOTOUCHPLUGIN, \"generic\", \"qtuiotouchplugin\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_QJP2, \"imageformats\", \"qjp2\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_QICNS, \"imageformats\", \"qicns\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_QDDS, \"imageformats\", \"qdds\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_QTGA, \"imageformats\", \"qtga\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_QWBMP, \"imageformats\", \"qwbmp\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_IMAGEFORMATS_QWEBP, \"imageformats\", \"qwebp\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_MEDIASERVICE_DSENGINE, \"mediaservice\", \"dsengine\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_MEDIASERVICE_QTMEDIA_AUDIOENGINE, \"mediaservice\", \"qtmedia_audioengine\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_MEDIASERVICE_WMFENGINE, \"mediaservice\", \"wmfengine\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QMINIMAL, \"platforms\", \"qminimal\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QOFFSCREEN, \"platforms\", \"qoffscreen\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QWINDOWS, \"platforms\", \"qwindows\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QCOCOA, \t\"platforms\", \"qcocoa\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QEGLFS, \t\"platforms\", \"qeglfs\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QLINUXFB, \"platforms\", \"qlinuxfb\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QMINIMALEGL, \"platforms\", \"qminimalegl\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QWAYLAND_EGL, \"platforms\", \"qwayland-egl\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QWAYLAND_GENERIC, \"platforms\", \"qwayland-generic\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLATFORMS_QXCB, \t\t\t\"platforms\", \"qxcb\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_STYLES_QWINDOWSVISTASTYLE, \t\"styles\", \"qwindowsvistastyle\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PLAYLISTFORMATS_QTMULTIMEDIA_M3U, \"playlistformats\",\"qtmultimedia_m3u\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_POSITION_QTPOSITION_POSITIONPOLL, \"position\", \"qtposition_positionpoll\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_PRINTSUPPORT_WINDOWSPRINTERSUPPORT, \"printsupport\", \"windowsprintersupport\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_QML1TOOLING_QMLDBG_INSPECTOR, \"qml1tooling\", \"qmldbg_inspector\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_QML1TOOLING_QMLDBG_TCP_QTDECLARATIVE,\"qml1tooling\", \"qmldbg_tcp_qtdeclarative\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_QMLTOOLING_QMLDBG_QTQUICK2, \"qmltooling\", \"qmldbg_qtquick2\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_SENSORGESTURES_QTSENSORGESTURES_PLUGIN, \"sensorgestures\", \"qtsensorgestures_plugin\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_SENSORGESTURES_QTSENSORGESTURES_SHAKEPLUGIN, \"sensorgestures\", \"qtsensorgestures_shakeplugin\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_SENSORS_QTSENSORS_GENERIC, \"sensors\", \"qtsensors_generic\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_VIDEO_VIDEONODE_EGLVIDEONODE, \"video/videonode\",\"eglvideonode\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_GEOSERVICES_QTGEOSERVICES_MAPBOX, \"geoservices\", \"qtgeoservices_mapbox\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_GEOSERVICES_QTGEOSERVICES_NOKIA, \"geoservices\", \"qtgeoservices_nokia\", null, null, null);\n\t detectQtPluginExistAndSetProperty(Constants.PLUGINS_GEOSERVICES_QTGEOSERVICES_OSM, \"geoservices\", \"qtgeoservices_osm\", null, null, null);\n\t\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QT_LABS_FOLDERLISTMODEL_QMLFOLDERLISTMODELPLUGIN, \t\"Qt/labs/folderlistmodel\", \t\"qmlfolderlistmodelplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QT_LABS_SETTINGS_QMLSETTINGSPLUGIN, \t\t\t\t\"Qt/labs/settings\", \t\t\t\"qmlsettingsplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QT3D_QUICK3DCOREPLUGIN, \t\t\t\t\t\t\t\"Qt3D\", \t\t\t\t\t\t\"quick3dcoreplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_Qt3D_INPUT_QUICK3DINPUTPLUGIN, \t\t\t\t\t\t\"Qt3D/Input\",\t\t\t\t\t\"quick3dinputplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_Qt3D_RENDERER_QUICK3DRENDERERPLUGIN, \t\t\t\t\t\"Qt3D/Renderer\",\t\t\t\t\"quick3drendererplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QtBLUETOOTH_DECLARATIVE_BLUETOOTH, \t\t\t\t\t\"QtBluetooth\", \t\t\t\t\"declarative_bluetooth\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTCANVAS3D_QTCANVAS3D,\t\t\t\t\t\t\t \t\"QtCanvas3D\",\t\t\t \t\"qtcanvas3d\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTGRAPHICALEFFECTS, \t\t\t\t\t\t\t\t\"QtGraphicalEffects\", \t\tnull, null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTLOCATION_DECLARATIVE_LOCATION,\t\t\t\t\t\t\t\"QtLocation\",\t\t\t \t\"declarative_location\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTMULTIMEDIA_DECLARATIVE_MULTIMEDIA,\t\t\t\t\t\t\"QtMultimedia\",\t\t\t \t\"declarative_multimedia\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTNFC_DECLARATIVE_NFC,\t\t\t\t\t\t\t\t\t\"QtNfc\",\t\t\t \t\t\"declarative_nfc\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTPOSITIONING_DECLARATIVE_POSITIONING,\t\t\t\t\t\"QtPositioning\",\t\t\t \"declarative_positioning\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQML_MODELS_2_MODELSPLUGIN,\t\t\t\t\t\t\t\t\"QtQml/Models.2\",\t\t\t \"modelsplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQML_STATEMACHINE_QTQMLSTATEMACHINE,\t\t\t\t\t\"QtQml/StateMachine\",\t\t\t\"qtqmlstatemachine\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_2_QTQUICK2PLUGIN,\t\t\t\t\t\t\t\t\"QtQuick.2\",\t\t\t \t\"qtquick2plugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_CONTROLS_QTQUICKCONTROLSPLUGIN,\t\t\t\t\t\"QtQuick/Controls\",\t\t\t \"qtquickcontrolsplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_CONTROLS_STYLES_FLAT_QTQUICKEXTRASFLATPLUGIN,\t\"QtQuick/Controls/Styles/Flat\", \"qtquickextrasflatplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_DIALOGS_DIALOGPLUGIN,\t\t\t\t\t\t\t\"QtQuick/Dialogs\",\t\t\t \"dialogplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_DIALOGS_IMAGES,\t\t\t\t\t\t\t\t\t\"QtQuick/Dialogs/images\",\t null, null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_DIALOGS_QML,\t\t\t\t\t\t\t\t\t\t\"QtQuick/Dialogs/qml\",\t\t null, null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_DIALOGS_PRIVATE_DIALOGSPRIVATEPLUGIN,\t\t\t\"QtQuick/Dialogs/Private\",\t\t\"dialogsprivateplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_EXTRAS_QTQUICKEXTRASPLUGIN,\t\t\t\t\t\t\"QtQuick/Extras\",\t\t\t \"qtquickextrasplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_LAYOUTS_QQUICKLAYOUTSPLUGIN,\t\t\t\t\t\t\"QtQuick/Layouts\",\t\t\t \"qquicklayoutsplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_LOCALSTORAGE_QMLLOCALSTORAGEPLUGIN,\t\t\t\t\"QtQuick/LocalStorage\",\t\t\t\"qmllocalstorageplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_PARTICLES_2_PARTICLESPLUGIN,\t\t\t\t\t\t\"QtQuick/Particles.2\",\t\t\t\"particlesplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_PRIVATEWIDGETS_WIDGETSPLUGIN,\t\t\t\t\t\"QtQuick/PrivateWidgets\",\t\t\"widgetsplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_SCENE3D_QTQUICKSCENE3DPLUGIN,\t\t\t\t\t\"QtQuick/Scene3D\",\t\t\t\t\"qtquickscene3dplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_WINDOW_2_WINDOWPLUGIN,\t\t\t\t\t\t\t\"QtQuick/Window.2\",\t\t\t\t\"windowplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTQUICK_XMLLISTMODEL_QMLXMLLISTMODELPLUGIN,\t\t\t\t\"QtQuick/XmlListModel\",\t\t\t\"qmlxmllistmodelplugin\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTSENSORS_DECLARATIVE_SENSORS,\t\t\t\t\t\t\t\"QtSensors\",\t\t\t\t\t\"declarative_sensors\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTWEBCHANNEL_DECLARATIVE_WEBCHANNEL,\t\t\t\t\t\t\"QtWebChannel\",\t\t\t\t\t\"declarative_webchannel\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTWEBSOCKETS_DECLARATIVE_QMLWEBSOCKETS,\t\t\t\t\t\"QtWebSockets\",\t\t\t\t\t\"declarative_qmlwebsockets\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTWINEXTRAS_QML_WINEXTRAS,\t\t\t\t\t\t\t\t\"QtWinExtras\",\t\t\t\t\t\"qml_winextras\", null, null, null);\n\t detectQtQmlModuleExistAndSetProperty(Constants.QML_QTAUDIOENGINE_DECLARATIVE_AUDIOENGINE,\t\t\t\t\t\"QtQtAudioEngine\",\t\t\t\t\"declarative_audioengine\", null, null, null);\n\t }\n \n AntUtil.setNewProperty(propertyHelper, Constants.PACKAGING_DSO_LIBSTDC___6, decideQtBinDso(Constants.PACKAGING_DSO_LIBSTDC___6, \"libstdc++-6\", null, null, null));\n AntUtil.setNewProperty(propertyHelper, Constants.PACKAGING_DSO_LIBGCC_S_DW2_1, decideQtBinDso(Constants.PACKAGING_DSO_LIBGCC_S_DW2_1, \"libgcc_s_dw2-1\", null, null, null));\n AntUtil.setNewProperty(propertyHelper, Constants.PACKAGING_DSO_LIBGCC_S_SJLJ_1, decideQtBinDso(Constants.PACKAGING_DSO_LIBGCC_S_SJLJ_1, \"libgcc_s_sjlj-1\", null, null, null));\n AntUtil.setNewProperty(propertyHelper, Constants.PACKAGING_DSO_MINGWM10, decideQtBinDso(Constants.PACKAGING_DSO_MINGWM10, \"mingwm10\", null, null, null));\n\n\n String packagingDsoLibeay32 = decideQtBinDso(Constants.PACKAGING_DSO_LIBEAY32, \"libeay32\", null, null, false);\n mySetProperty(-1, Constants.PACKAGING_DSO_LIBEAY32, null, packagingDsoLibeay32, false);\n\n String packagingDsoLibssl32 = decideQtBinDso(Constants.PACKAGING_DSO_LIBSSL32, \"libssl32\", null, null, false);\n String packagingDsoSsleay32 = decideQtBinDso(Constants.PACKAGING_DSO_SSLEAY32, \"ssleay32\", null, null, false);\n // When building QtJambi against the official Nokia Qt SDK they appear to provide duplicate\n // DLLs for the two naming variants libssl32.dll ssleay32.dll so we need to resolve this and\n // omit one.\n String packagingDsoLibssl32Message = \"\";\n String packagingDsoSsleay32Message = \"\";\n // \"true\" or a path, also means true. Only \"false\" means false.\n if((\"false\".equals(packagingDsoLibssl32) == false && packagingDsoLibssl32 != null) && (\"false\".equals(packagingDsoSsleay32) == false && packagingDsoSsleay32 != null)) {\n // FIXME: Compare the files are actually the same\n if(compiler == Compiler.GCC || compiler == Compiler.OldGCC || compiler == Compiler.MinGW || compiler == Compiler.MinGW_W64) {\n packagingDsoSsleay32Message = \" (was \" + packagingDsoSsleay32 + \"; auto-inhibited)\";\n packagingDsoSsleay32 = \"false\"; // favour libssl32.dll\n } else {\n packagingDsoLibssl32Message = \" (was \" + packagingDsoLibssl32 + \"; auto-inhibited)\";\n packagingDsoLibssl32 = \"false\"; // favour ssleay32.dll\n }\n }\n AntUtil.setNewProperty(propertyHelper, Constants.PACKAGING_DSO_LIBSSL32, packagingDsoLibssl32);\n if((packagingDsoLibssl32Message.length() > 0 || (\"false\".equals(packagingDsoLibssl32) == false) && packagingDsoLibssl32 != null))\n getProject().log(this, Constants.PACKAGING_DSO_LIBSSL32 + \": \" + packagingDsoLibssl32 + packagingDsoLibssl32Message, Project.MSG_INFO);\n\n AntUtil.setNewProperty(propertyHelper, Constants.PACKAGING_DSO_SSLEAY32, packagingDsoSsleay32);\n if((packagingDsoSsleay32Message.length() > 0 || (\"false\".equals(packagingDsoSsleay32) == false) && packagingDsoSsleay32 != null))\n getProject().log(this, Constants.PACKAGING_DSO_SSLEAY32 + \": \" + packagingDsoSsleay32 + packagingDsoSsleay32Message, Project.MSG_INFO);\n\n if(OSInfo.isWindows()) {\n String packagingDsoZlib1 = decideQtBinDso(Constants.PACKAGING_DSO_ZLIB1, \"zlib1\", null, null, false);\n mySetProperty(-1, Constants.PACKAGING_DSO_ZLIB1, null, packagingDsoZlib1, false);\n } else {\n // If the lib directory contains \"libz.so.1\" or \"libssl.so\" or \"libcrypto.so.1.0.0\"\n sourceValue = null;\n String packagingDsoLibssl = decideQtBinDso(Constants.PACKAGING_DSO_LIBSSL, \"ssl\", null, new String[] { null, \"1\", \"0\" }, false);\n if(packagingDsoLibssl != null && QTDIR != null && packagingDsoLibssl.startsWith(QTDIR) == false) {\n sourceValue = \" (detected: \" + packagingDsoLibssl + \"; but inhibited as not inside QTDIR)\";\n packagingDsoLibssl = null;\n }\n mySetProperty(-1, Constants.PACKAGING_DSO_LIBSSL, sourceValue, packagingDsoLibssl, false);\n\n // FIXME: Implement file globs and reverse sort\n sourceValue = null;\n String packagingDsoLibcrypto = decideQtBinDso(Constants.PACKAGING_DSO_LIBCRYPTO, \"crypto\", null, new String[] { \"1.0.0h\", \"1.0.0g\", \"1.0.0\", \"0.0.0\", null, \"10\" }, false);\n if(packagingDsoLibcrypto != null && QTDIR != null && packagingDsoLibcrypto.startsWith(QTDIR) == false) {\n sourceValue = \" (detected: \" + packagingDsoLibcrypto + \"; but inhibited as not inside QTDIR)\";\n packagingDsoLibcrypto = null;\n }\n mySetProperty(-1, Constants.PACKAGING_DSO_LIBCRYPTO, sourceValue, packagingDsoLibcrypto, false);\n\n sourceValue = null;\n String packagingDsoLibz = decideQtBinDso(Constants.PACKAGING_DSO_LIBZ, \"z\", null, new String[] { \"1\", null }, false);\n if(packagingDsoLibz != null && QTDIR != null && packagingDsoLibz.startsWith(QTDIR) == false) {\n sourceValue = \" (detected: \" + packagingDsoLibz + \"; but inhibited as not inside QTDIR)\";\n packagingDsoLibz = null;\n }\n mySetProperty(-1, Constants.PACKAGING_DSO_LIBZ, sourceValue, packagingDsoLibz, false);\n }\n\n // FIXME: On Macosx when we build and have qtjambi.dbus==true we should WARN when we can not locate libdbus-1.*.dylib\n // FIXME: On Macosx we should also search /usr/local/lib\n String packagingDsoLibdbus = decideQtBinDso(Constants.PACKAGING_DSO_LIBDBUS, \"dbus-1\", null, new String[] { \"3\", \"2\", null }, null);\n AntUtil.setNewProperty(propertyHelper, Constants.PACKAGING_DSO_LIBDBUS, packagingDsoLibdbus);\n\n // Other build information sanity testing and warning\n\n String generatorIncludepaths = AntUtil.getPropertyAsString(propertyHelper, Constants.GENERATOR_INCLUDEPATHS);\n if(generatorIncludepaths != null) {\n // Validate the settings\n sourceValue = null;\n mySetProperty(-1, Constants.GENERATOR_INCLUDEPATHS, sourceValue, generatorIncludepaths, false);\n\n prettifyPathSeparator(generatorIncludepaths, true);\n }\n // On Windows it is usual to configure the compile include directory via envvar\n String INCLUDE = System.getenv(\"INCLUDE\");\n if(INCLUDE != null) {\n getProject().log(this, \"INCLUDE is set: \" + INCLUDE, Project.MSG_INFO);\n prettifyPathSeparator(INCLUDE, false);\n }\n\n if(OSInfo.isLinux()) { // Check we have libQtCore.so.4 in one of the paths in LD_LIBRARY_PATH\n String LD_LIBRARY_PATH = System.getenv(\"LD_LIBRARY_PATH\");\n getProject().log(this, \"LD_LIBRARY_PATH is set: \" + ((LD_LIBRARY_PATH == null) ? \"<notset>\" : LD_LIBRARY_PATH), Project.MSG_INFO);\n if(LD_LIBRARY_PATH != null) {\n String[] sA = LD_LIBRARY_PATH.split(File.pathSeparator); // should regex escape it\n String filename = LibraryEntry.formatQtName(\"QtCore\", libInfix, isConfigurationDebug(), String.valueOf(qtMajorVersion));\n int found = 0;\n for(String element : sA) {\n File testDir = new File(element);\n if(testDir.isDirectory() == false)\n getProject().log(this, \" WARNING: LD_LIBRARY_PATH directory does not exit: \" + element, Project.MSG_INFO);\n File testFile = new File(element, filename);\n if(testFile.isFile()) {\n getProject().log(this, \" FOUND: LD_LIBRARY_PATH directory contains QtCore: \" + testFile.getAbsolutePath(), Project.MSG_INFO);\n found++;\n }\n }\n if(found == 0) // Maybe we should check to see if (QTDIR != null) before warning\n getProject().log(this, \" WARNING: LD_LIBRARY_PATH environment variable is set, but does not contain a valid location for libQtCore.so.*; this is usually needed to allow 'generator' and 'juic' executables to run during the build\", Project.MSG_INFO);\n\n // FIXME: Refactor this duplicate code later (we look for !debug here but don't WARNING is we dont find it)\n filename = LibraryEntry.formatQtName(\"QtCore\", libInfix, !isConfigurationDebug(), String.valueOf(qtMajorVersion));\n found = 0;\n for(String element : sA) {\n File testDir = new File(element);\n // we already warned about non-existing directory here\n File testFile = new File(element, filename);\n if(testFile.isFile()) {\n getProject().log(this, \" XFOUND: LD_LIBRARY_PATH directory contains QtCore: \" + testFile.getAbsolutePath(), Project.MSG_INFO);\n found++;\n }\n }\n } else { // Maybe we should check to see if (QTDIR != null) before warning\n getProject().log(this, \" WARNING: LD_LIBRARY_PATH environment variable is not set; this is usually needed to allow 'generator' and 'juic' executables to run during the build\", Project.MSG_INFO);\n }\n }\n if(OSInfo.isWindows()) { // Check we have QtCore4.dll/Qt5Core.dll in one of the paths in PATH\n String PATH = System.getenv(\"PATH\");\n getProject().log(this, \"PATH is set: \" + ((PATH == null) ? \"<notset>\" : PATH), Project.MSG_INFO);\n if(PATH != null) {\n String[] sA = PATH.split(File.pathSeparator); // should regex escape it\n String filename = LibraryEntry.formatQtName(\"QtCore\", libInfix, isConfigurationDebug(), String.valueOf(qtMajorVersion));\n int found = 0;\n for(String element : sA) {\n File testDir = new File(element);\n if(testDir.isDirectory() == false)\n getProject().log(this, \" WARNING: PATH directory does not exit: \" + element, Project.MSG_INFO);\n File testFile = new File(element, filename);\n if(testFile.isFile()) {\n getProject().log(this, \" FOUND: PATH directory contains QtCore: \" + testFile.getAbsolutePath(), Project.MSG_INFO);\n found++;\n }\n }\n if(found == 0)\n getProject().log(this, \" WARNING: PATH environment variable is set, but does not contain a valid location for QtCore*.dll; this is usually needed to allow 'generator' and 'juic' executables to run during the build\", Project.MSG_INFO);\n\n // FIXME: Refactor this duplicate code later (we look for !debug here but don't WARNING is we dont find it)\n filename = LibraryEntry.formatQtName(\"QtCore\", libInfix, !isConfigurationDebug(), String.valueOf(qtMajorVersion));\n found = 0;\n for(String element : sA) {\n File testDir = new File(element);\n // we already warned about non-existing directory here\n File testFile = new File(element, filename);\n if(testFile.isFile()) {\n getProject().log(this, \" XFOUND: PATH directory contains QtCore: \" + testFile.getAbsolutePath(), Project.MSG_INFO);\n found++;\n }\n }\n } else {\n getProject().log(this, \" WARNING: PATH environment variable is not set; this is usually needed to allow 'generator' and 'juic' executables to run during the build\", Project.MSG_INFO);\n }\n }\n if(OSInfo.isMacOS()) { // Check we have libQtCore.4.dylib in one of the paths in DYLD_LIBRARY_PATH\n String DYLD_LIBRARY_PATH = System.getenv(\"DYLD_LIBRARY_PATH\");\n getProject().log(this, \"DYLD_LIBRARY_PATH is set: \" + ((DYLD_LIBRARY_PATH == null) ? \"<notset>\" : DYLD_LIBRARY_PATH), Project.MSG_INFO);\n if(DYLD_LIBRARY_PATH != null) {\n String[] sA = DYLD_LIBRARY_PATH.split(File.pathSeparator); // should regex escape it\n String filename = LibraryEntry.formatQtName(\"QtCore\", libInfix, isConfigurationDebug(), String.valueOf(qtMajorVersion));\n int found = 0;\n for(String element : sA) {\n File testDir = new File(element);\n if(testDir.isDirectory() == false)\n getProject().log(this, \" WARNING: DYLD_LIBRARY_PATH directory does not exit: \" + element, Project.MSG_INFO);\n File testFile = new File(element, filename);\n if(testFile.isFile()) {\n getProject().log(this, \" FOUND: DYLD_LIBRARY_PATH directory contains QtCore: \" + testFile.getAbsolutePath(), Project.MSG_INFO);\n found++;\n }\n }\n if(found == 0)\n getProject().log(this, \" WARNING: DYLD_LIBRARY_PATH environment variable is set, but does not contain a valid location for libQtCore.*.dylib; this is usually needed to allow 'generator' and 'juic' executables to run during the build\", Project.MSG_INFO);\n\n // FIXME: Refactor this duplicate code later (we look for !debug here but don't WARNING is we dont find it)\n filename = LibraryEntry.formatQtName(\"QtCore\", libInfix, !isConfigurationDebug(), String.valueOf(qtMajorVersion));\n found = 0;\n for(String element : sA) {\n File testDir = new File(element);\n // we already warned about non-existing directory here\n File testFile = new File(element, filename);\n if(testFile.isFile()) {\n getProject().log(this, \" XFOUND: DYLD_LIBRARY_PATH directory contains QtCore: \" + testFile.getAbsolutePath(), Project.MSG_INFO);\n found++;\n }\n }\n } else {\n getProject().log(this, \" WARNING: DYLD_LIBRARY_PATH environment variable is not set; this is usually needed to allow 'generator' and 'juic' executables to run during the build\", Project.MSG_INFO);\n }\n }\n\n // Setup some properties to be silently set to an empty string for safe ANT substitution\n {\n final String[] emptyStringIfNotSetA = {\n Constants.QTJAMBI_CONFIG_JUMPTABLE,\n Constants.QTJAMBI_GENERATOR_JUMPTABLE\n };\n for(String emptyStringIfNotSet : emptyStringIfNotSetA) {\n String value = AntUtil.getPropertyAsString(propertyHelper, emptyStringIfNotSet);\n if(value == null)\n value = \"\"; // set this empty-string default here\n mySetProperty(0, emptyStringIfNotSet, \" (default)\", value, false); // silent\n }\n }\n\n // Sanity checking, the goal here is to abort the build process early\n // on so the developer doesn't waste their time getting an error\n // message later in the build process.\n if(generatorIncludepaths == null) // ${generator.includepaths}\n throw new BuildException(\"ERROR: \" + Constants.GENERATOR_INCLUDEPATHS + \" property is not configured, please ensure you read and edit build.properties\");\n String qtCore = AntUtil.getPropertyAsString(propertyHelper, Constants.CORE);\n String qtCoreDebug = AntUtil.getPropertyAsString(propertyHelper, Constants.CORE + \".debug\");\n if(qtCore == null && qtCoreDebug == null)\n throw new BuildException(\"ERROR: \" + Constants.CORE + \" or \" + Constants.CORE + \".debug property is not configured\");\n }", "title": "" }, { "docid": "5ee53ba5a56da392e7224d21ecc03355", "score": "0.43225253", "text": "private void makeOutput() {\n }", "title": "" }, { "docid": "94a86527fdb0c4ff6d12b2510260424d", "score": "0.4315676", "text": "private Runnable getPostExecution(PhpExecutable executable) {\n if (getRedirectToFile()) {\n File tmpFile = createTempFile();\n if (tmpFile != null) {\n String charset = FileEncodingQuery.getEncoding(FileUtil.toFileObject(file)).name();\n executable.fileOutput(tmpFile, charset, false);\n return new PostExecution(tmpFile);\n }\n }\n return null;\n }", "title": "" }, { "docid": "890976d01a7a07c5550834f22ab0a2ed", "score": "0.43062502", "text": "void onVerifyFileFail();", "title": "" }, { "docid": "b2d4f5378f6ee70f8b66e2ec35feef28", "score": "0.42962578", "text": "private void ensureStarted()\r\n/* 148: */ throws IOException\r\n/* 149: */ {\r\n/* 150: 295 */ if (this.state != States.STARTED)\r\n/* 151: */ {\r\n/* 152: 296 */ writeProlog();\r\n/* 153: 297 */ this.state = States.STARTED;\r\n/* 154: */ }\r\n/* 155: */ }", "title": "" }, { "docid": "d5e7d84cdd51eceda9058e3352bd9587", "score": "0.42835942", "text": "public String generateInitScript() throws URISyntaxException, IOException, InterruptedException {\n StringBuilder initScript = new StringBuilder();\n InputStream templateStream = getClass().getResourceAsStream(\"/initscripttemplate.gradle\");\n String templateAsString = IOUtils.toString(templateStream, Charsets.UTF_8.name());\n File localGradleExtractorJar = Which.jarFile(getClass().getResource(\"/initscripttemplate.gradle\"));\n FilePath dependencyDir = PluginDependencyHelper.getActualDependencyDirectory(build, localGradleExtractorJar);\n String absoluteDependencyDirPath = dependencyDir.getRemote();\n absoluteDependencyDirPath = absoluteDependencyDirPath.replace(\"\\\\\", \"/\");\n String str = templateAsString.replace(\"${pluginLibDir}\", absoluteDependencyDirPath);\n initScript.append(str);\n return initScript.toString();\n }", "title": "" }, { "docid": "616662592fbae6c5c5aae064e4579e28", "score": "0.42832255", "text": "private void ensureFileExists() {\n try {\n if (!Files.exists(Paths.get(path))) {\n Files.createFile(Paths.get(path));\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "549cb04c2091627dd0d4c2f498a0111d", "score": "0.42812967", "text": "public static int generateParameterSamples()\n {\n\ttry\n\t{\n\t // Use an array to get around the possibility that the file path\n\t // will have spaces\n\t String[] args =\n\t { \"Rscript\", spartanScript };\n\t Process pr = Runtime.getRuntime().exec(args);\n\n\t int code = pr.waitFor();\n\n\t switch (code)\n\t {\n\t case 0:\n\t\treturn 0;\n\t case 1:\n\t\tSystem.out.println(pr.getErrorStream());\n\t }\n\n\t return 1;\n\n\t}\n\n\tcatch (Exception e)\n\t{\n\t e.printStackTrace();\n\t return 1;\n\t}\n }", "title": "" }, { "docid": "e6b819d95d049e9f958ffd95c40a8d74", "score": "0.42802015", "text": "public void reportDeparted()\n{\n /*TextFile log = new TextFile (); // instantiation of a text file handler\n\n if (!log.openForAppending(\".\", fileName))\n { GenericIO.writelnString (\"The operation of creating the file \" + fileName + \" failed!\");\n System.exit (1);\n }\n log.writelnString (\"\\n\");\n log.writelnString (\"Flight \" + numberF + \": departed with \" + \"5\" + \" passengers.\");\n if (!log.close ())\n { GenericIO.writelnString (\"The operation of closing the file \" + fileName + \" failed!\");\n System.exit (1);\n }*/\n}", "title": "" }, { "docid": "ce1e9939f158e5ac8f7b69064abc86a9", "score": "0.42733106", "text": "public void saveFileInitiation () throws IOException\n\t{\n\t\tString namepart1;//the string that serves as the name of save files\n\t\tString name;//string that represents the complete name of a save file\n\t\tint choice;//int that represents user input\n\t\tScanner sc = new Scanner (System.in); // used to get user input\n\t\ttry {\n\t\t\tfor (int b = 1; b < 366; b++) // loop is used to go through all expected save files\n\t\t\t{\n\t\t\t\tnamepart1 = Integer.toString(b);\n\t\t\t\tname = namepart1 + \".txt\";\n\t\t\t\tFile file = new File (name);\n\t\t\t\tif (file.canRead() == false) // check to see if the file can be read\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"Saved Files are either missing or the program is denied access\");\n\t\t\t\t\tSystem.out.println(\"1. Create new SaveFiles\");\n\t\t\t\t\tSystem.out.println(\"2. Exit\");\n\t\t\t\t\tSystem.out.println(\"Choose an option: \");\n\t\t\t\t\tchoice = sc.nextInt();\n\t\t\t\t\tif (choice == 1)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor (int a = 1; a < 366; a++) // creates new blank saved files\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tnamepart1 = Integer.toString(a);\n\t\t\t\t\t\t\tname = namepart1 + \".txt\";\n\t\t\t\t\t\t\tFileWriter write2 = new FileWriter (name);\n\t\t\t\t\t\t\tBufferedWriter write = new BufferedWriter (write2);\n\t\t\t\t\t\t\tfor (int z = 0; z < 60; z++)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\twrite.newLine();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\twrite.close();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse if (choice == 2)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.exit(0);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tcatch (IOException e) // catch io exceptions\n\t\t{\n\t\t}\n\t\t//String check = read.readLine();\n\t\t//System.out.println(\"check\");\n\t}", "title": "" }, { "docid": "6fc0cae5ac0a12b328673b95d80ad271", "score": "0.42701194", "text": "public void testcase_resultwriter1() throws Exception {\n\t try\r\n\t {\r\n\t //WritableSheet sheet2 = RTS.writeExcelsheet(copy, \"Results\"); //18th July for performance fix for HP\r\n\t int testcase_row = sheet3.getRows();\r\n\t WritableCellFormat headerformat = new WritableCellFormat();\r\n\t String result;\r\n\t if ((teststeps_error == 0) && (teststeps_fail == 0)) {\r\n\t result = \"PASS\";\r\n\t }\r\n\t else {\r\n\t result = \"FAIL\";\r\n\t }\r\n\t Label label = new Label(0, testcase_row, testcasesheet);\r\n\t sheet3.addCell(label);\r\n\t Label label1 = new Label(1, testcase_row, testcase);\r\n\t sheet3.addCell(label1);\r\n\t Label label2 = new Label(2, testcase_row, testcase_iteration);\r\n\t sheet3.addCell(label2);\r\n\t if (result.equalsIgnoreCase(\"PASS\"))\r\n\t headerformat.setBackground(Colour.LIME);\r\n\t else {\r\n\t headerformat.setBackground(Colour.RED);\r\n\t }\r\n\t Label label3 = new Label(3, testcase_row, result, headerformat);\r\n\t sheet3.addCell(label3);\r\n\t Label label4 = new Label(4, testcase_row, teststeps_done+\"\");\r\n\t sheet3.addCell(label4);\r\n\t Label label5 = new Label(5, testcase_row, teststeps_pass+\"\");\r\n\t sheet3.addCell(label5);\r\n\t Label label6 = new Label(6, testcase_row, teststeps_fail+\"\");\r\n\t sheet3.addCell(label6);\r\n\t Label label7 = new Label(7, testcase_row, teststeps_error+\"\");\r\n\t sheet3.addCell(label7);\r\n\t Label label8 = new Label(8, testcase_row, teststeps_skip+\"\");\r\n\t sheet3.addCell(label8);\r\n\t Label label9 = new Label(9, testcase_row, testcase_starttime);\r\n\t sheet3.addCell(label9);\r\n\t Label label10 = new Label(10, testcase_row, testcase_endtime);\r\n\t sheet3.addCell(label10);\r\n\t Double duration = Double.valueOf(RTS.duration(starttime, endtime));\r\n\t Label label11 = new Label(11, testcase_row, duration+\"\");\r\n\t sheet3.addCell(label11);\r\n\t }\r\n\t catch (Exception localException)\r\n\t {\r\n\t }\r\n\t /*finally\r\n\t {\r\n\t copy.write();\r\n\t copy.close();\r\n\t }*/\r\n\t }", "title": "" }, { "docid": "b602a7ac3b1d993b5a7b0887eb9c915f", "score": "0.4261311", "text": "ErrorCode launch(String[] args) {\r\n ConsoleHandler h = new ConsoleHandler();\r\n\r\n h.setFormatter(STD_FORMATTER);\r\n h.setLevel(Level.INFO);\r\n boolean failed = false;\r\n List<File> files = new ArrayList<File>();\r\n ConsoleProgressIndicator indicator = new ConsoleProgressIndicator(\"Execution Progress\");\r\n\r\n try {\r\n List<String> arguments = new ArrayList<String>(Arrays.asList(args));\r\n while (!arguments.isEmpty()) {\r\n String arg = arguments.get(0);\r\n arguments.remove(0);\r\n if (arg.startsWith(\"-h\")) {\r\n printUsage();\r\n return ErrorCode.OK;\r\n }\r\n if (arg.startsWith(\"-d\")) {\r\n h.setLevel(Level.FINE);\r\n continue;\r\n }\r\n if (arg.startsWith(\"-q\")) {\r\n h.setLevel(Level.WARNING);\r\n continue;\r\n }\r\n if (arg.startsWith(\"-v\")) {\r\n printVersion();\r\n return ErrorCode.OK;\r\n }\r\n if (arg.startsWith(\"-t\")) {\r\n return template(arguments);\r\n }\r\n if (arg.startsWith(\"-nostat\")) {\r\n setNoStat(true);\r\n continue;\r\n }\r\n if (arg.startsWith(\"-nojmx\")) {\r\n setNoJmx(true);\r\n continue;\r\n\t\t\t\t}\r\n if (arg.startsWith(\"-\")) {\r\n err.println(\"Unrecognized option \" + arg);\r\n return ErrorCode.UNRECOGNIZED_OPTION;\r\n }\r\n if (!arg.startsWith(\"-\")) {\r\n files.add(resolveFile(null, arg));\r\n }\r\n }\r\n\r\n if (files.isEmpty()) { //adding default name if no files specified\r\n files.add(resolveFile(null, null));\r\n }\r\n } catch (FileNotFoundException e) {\r\n err.println(e.getMessage());\r\n return ErrorCode.FILE_NOT_FOUND;\r\n }\r\n\r\n if (indicator != null) {\r\n setProgressIndicator(indicator);\r\n }\r\n\r\n LoggingConfigurer.configure(h);\r\n if (properties == null) {\r\n setProperties(CollectionUtils.asMap(System.getProperties()));\r\n }\r\n for (File file : files) {\r\n try {\r\n execute(file);\r\n } catch (Exception e) {\r\n failed = true;\r\n LOG.log(Level.SEVERE,\r\n \"Script \" + file + \" execution failed.\", e);\r\n if (BugReport.isPossibleBug(e)) {\r\n LOG.log(Level.SEVERE, new BugReport(e).toString());\r\n } else if (h.getLevel().intValue() < Level.INFO.intValue()) {\r\n //Print stack trace of exception in debug mode\r\n err.println(\"---------------Debug Stack Trace-----------------\");\r\n Throwable t = e.getCause() == null ? e : e.getCause();\r\n t.printStackTrace();\r\n }\r\n }\r\n }\r\n LoggingConfigurer.remove(h);\r\n\r\n return failed ? ErrorCode.FAILED : ErrorCode.OK;\r\n }", "title": "" }, { "docid": "d4ca59232f3996ca7d45d51ba314b257", "score": "0.4257096", "text": "public void generateTestExecutionReport() {\n\t\t// Create WorkBook\n\t\t ws = new WorkbookSettings();\n\n\t\ttry {\n\t\t\tworkBook = Workbook.createWorkbook(new File(\n\t\t\t\t\tCopyOfFunctionalTestingWS.outFilePath + \"Execution-Results-Report.xls\"), ws);\n\n\t\t\t// Create Work Sheet\n\t\t\tworkSheet = workBook.createSheet(\n\t\t\t\t\t\"Execution-Report-Results\", 0);\n\n\t\t\t// Creating Writable font to be used in the report\n\t\t\tWritableFont normalFont = new WritableFont(\n\t\t\t\t\tWritableFont.createFont(\"MS Sans Serif\"),\n\t\t\t\t\tWritableFont.DEFAULT_POINT_SIZE, WritableFont.NO_BOLD,\n\t\t\t\t\tfalse);\n\t\t\tWritableFont normalFailFont = new WritableFont(\n\t\t\t\t\tWritableFont.createFont(\"MS Sans Serif\"),\n\t\t\t\t\tWritableFont.DEFAULT_POINT_SIZE, WritableFont.NO_BOLD,\n\t\t\t\t\tfalse, UnderlineStyle.NO_UNDERLINE, Colour.RED,\n\t\t\t\t\tScriptStyle.NORMAL_SCRIPT);\n\t\t\tWritableFont normalSuccessFont = new WritableFont(\n\t\t\t\t\tWritableFont.createFont(\"MS Sans Serif\"),\n\t\t\t\t\tWritableFont.DEFAULT_POINT_SIZE, WritableFont.NO_BOLD,\n\t\t\t\t\tfalse, UnderlineStyle.NO_UNDERLINE, Colour.GREEN,\n\t\t\t\t\tScriptStyle.NORMAL_SCRIPT);\n\t\t\tWritableFont suiteNameFont = new WritableFont(\n\t\t\t\t\tWritableFont.createFont(\"Adobe Kaiti Std R\"), 18,\n\t\t\t\t\tWritableFont.BOLD, false, UnderlineStyle.NO_UNDERLINE,\n\t\t\t\t\tColour.DARK_GREEN, ScriptStyle.SUPERSCRIPT);\n\n\t\t\t// Create Format to write data in Excel sheet\n\t\t\tnormalFormat = new WritableCellFormat(normalFont);\n\t\t\tnormalFailFormat = new WritableCellFormat(normalFailFont);\n\t\t\t\n\t\t\tnormalSuccessFormat = new WritableCellFormat(normalSuccessFont);\n\n\t\t\tsuiteNameFormat = new WritableCellFormat(suiteNameFont);\n\t\t\tsuiteNameFormat.setBackground(Colour.GRAY_25);\n\t\t\t\n\t\t\t//Create Results header\n\t\t\trowNo++;\n\t\t\tworkSheet.setColumnView(0, 10);\n\t\t\tworkSheet.addCell(new jxl.write.Label(0, rowNo, \"TestSuite_ID\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(1, 20);\n\t\t\tworkSheet.addCell(new jxl.write.Label(1, rowNo, \"Test Suite Name\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(2, 10);\n\t\t\tworkSheet.addCell(new jxl.write.Label(2, rowNo, \"TestCase_ID\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(3, 20);\n\t\t\tworkSheet.addCell(new jxl.write.Label(3, rowNo, \"Test Case Name\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(4, 10);\n\t\t\tworkSheet.addCell(new jxl.write.Label(4, rowNo, \"Test Step Name\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(5, 10);\n\t\t\tworkSheet.addCell(new jxl.write.Label(5, rowNo, \"Assertion\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(6, 10);\n\t\t\tworkSheet.addCell(new jxl.write.Label(6, rowNo, \"Status\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(7, 20);\n\t\t\tworkSheet.addCell(new jxl.write.Label(7, rowNo, \"Time Taken\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(8, 10);\n\t\t\tworkSheet.addCell(new jxl.write.Label(8, rowNo, \"Failure Comments\", suiteNameFormat));\n\t\t\t\n\t\t\tworkSheet.setColumnView(9, 50);\n\t\t\tworkSheet.addCell(new jxl.write.Label(9, rowNo, \"File Path\", suiteNameFormat));\n\t\t\t\n\t\t\tpopulateExecutionDetails();\n\t\t\t\n\n\t\t} catch (IOException | WriteException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "d271e167d9b9cdfa24bee39a490e6296", "score": "0.4256993", "text": "void createAndWriteInFile() throws IOException {\n File file = new File(path);\n FileWriter writer = new FileWriter(file);\n writer.write(workingString);\n writer.flush();\n writer.close();\n\n }", "title": "" }, { "docid": "2e3f425e6d22bbeae551433b384477f6", "score": "0.42486608", "text": "public void setTillFatalError()\n {\n tillFatalError = true;\n }", "title": "" }, { "docid": "b7b752dc4da4820c1b07deda2d1034c5", "score": "0.42471877", "text": "private boolean createNewFile(File file) {\n\t\ttry {\n\t\t\tfile.createNewFile();\n\n\t\t\tObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(file));\n\t\t\tout.writeObject(new EOFIndicator());\n\n\t\t\tout.close();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tlogger.log(Level.WARNING, \"Unable to create new file.\");\n\t\t\treturn false;\n\t\t}\n\n\t\tassert(file.exists());\n\t\treturn true;\n\t}", "title": "" }, { "docid": "06458881a3022a72388bf54bace0b8a3", "score": "0.42389932", "text": "private static void writeResult(Path outputFile, Path infoFile) {\n try {\n Files.writeString(outputFile, basicString, StandardCharsets.UTF_8);\n } catch (IOException e) {\n System.out.println(\"Smth goes wrong with output file: \" + e);\n }\n\n String perfResult = \"Program work time is \" + (calculatePerformance()) + \" milliseconds.\\n\"\n + totalChangeCounter + \" change operations were done.\\n\";\n try {\n Files.writeString(infoFile, perfResult, StandardCharsets.UTF_8, CREATE);\n } catch (IOException e) {\n System.out.println(\"Smth goes wrong with Info file: \" + e);\n }\n }", "title": "" }, { "docid": "9919fc1b05e46751209ae13fcf13c5df", "score": "0.42374378", "text": "private static void fileError()\r\n \t{\r\n \t\tJOptionPane.showMessageDialog(null,\r\n \t\t\t\t\t\"Error reading from or writing to preferences file.\");\r\n \t\tSystem.exit(0);\r\n \t}", "title": "" }, { "docid": "fbe3275d7968a47120c2850620749284", "score": "0.42323825", "text": "public static boolean createFile() throws IOException {\n boolean success = false;\n\n File file = new File(playerFileJson);\n file.getParentFile().mkdirs();\n\n if (file.createNewFile()) {\n success = true;\n }\n // as long as the exception is not thrown, the file exists\n playerFileExists = true;\n return success;\n }", "title": "" }, { "docid": "7fa4e031099266fd27f49e88d1b4aa86", "score": "0.42298582", "text": "public void setupHighscoreFile() {\n try {\n if (highscoreFile.exists()) {\n System.out.println(\"File already exists.\");\n } else {\n Object[] options = { \"Create new file\", \"Choose existing file\" };\n if (JOptionPane.showOptionDialog(null, \"Highscore File doesnt exist\", \"Alien Game File Handler\",\n JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE, null, options, options[0]) == 0) {\n JOptionPane.showMessageDialog(null,\n \"Creating file highscore.highscore under \" + System.getProperty(\"user.dir\"));\n highscoreFile.createNewFile();\n System.out.println(\"File is created!\");\n } else {\n getHighscoreFilePath();\n }\n }\n readHighscoreFile();\n updateText();\n } catch (Exception e) {\n System.out.println(\"Error with setting up highscore files\");\n }\n\n }", "title": "" } ]
d26acd36a91465152d8e308a3d1c8ff1
Tests openFile(filepath, formatstring) method of ReaderManager.
[ { "docid": "2cd05bcefd5f5267a40c913a0ac80182", "score": "0.69947666", "text": "@Test\n public void testOpenFile_String_String() {\n TabularDataReader reader;\n \n // First try to open a file by specifying the correct format.\n reader = rm.openFile(testdatadir + \"/test.csv\", \"CSV\");\n assertEquals(\"CSV\", reader.getFormatString());\n \n // Now, verify that we can force it to use a specific plugin even if\n // the file format is wrong.\n reader = rm.openFile(testdatadir + \"/test.ods\", \"CSV\");\n assertEquals(\"CSV\", reader.getFormatString());\n }", "title": "" } ]
[ { "docid": "8afd1a5db44b7ccd8b11b26a429b3320", "score": "0.72347087", "text": "@Test\n public void testOpenFile_String() {\n TabularDataReader reader;\n\n // Test each test file to verify that it is opened properly.\n reader = rm.openFile(testdatadir + \"/test.csv\");\n assertEquals(\"CSV\", reader.getFormatString());\n \n reader = rm.openFile(testdatadir + \"/test.ods\");\n assertEquals(\"ODF\", reader.getFormatString());\n \n reader = rm.openFile(testdatadir + \"/test.xls\");\n assertEquals(\"EXCEL\", reader.getFormatString());\n \n reader = rm.openFile(testdatadir + \"/test.xlsx\");\n assertEquals(\"EXCEL\", reader.getFormatString());\n \n reader = rm.openFile(testdatadir + \"/test-dwca\");\n assertEquals(\"DwCA\", reader.getFormatString());\n \n reader = rm.openFile(testdatadir + \"/test.zip\");\n assertEquals(\"DwCA\", reader.getFormatString());\n }", "title": "" }, { "docid": "bb2007fde806c446157b07b1edc492a7", "score": "0.6566878", "text": "void open(File file);", "title": "" }, { "docid": "74a82da60eee5d16ab8937cfc2644fda", "score": "0.640051", "text": "public void openFile(String filepath)\r\n\t{\n\t}", "title": "" }, { "docid": "e313e7eaaa9e15690485481d761af8f1", "score": "0.63710546", "text": "public void open() throws FileNotFoundException;", "title": "" }, { "docid": "a0160d0fb57b6a4f9c20ef758f2fd7c0", "score": "0.63399154", "text": "public String open(){\n\n try {\n this.file = getFile(this.name);\n BufferedReader bReader = new BufferedReader(new FileReader(this.file));\n\n String str;\n while ((str = bReader.readLine()) != null) {\n System.out.println(str);\n }\n }catch(IOException e){\n return Throwables.getStacktrace(e);\n }\n System.out.println(\"file opened\");\n return \"file opened\";\n }", "title": "" }, { "docid": "ed417c8add6a953e910075291830def6", "score": "0.6321307", "text": "@Test\n public void testRead() {\n final String read = readerUtils.read(filename);\n assertNotNull(read);\n assertEquals(filename, read);\n }", "title": "" }, { "docid": "05bd5539c9ed2d2344c0b18cb11de81c", "score": "0.61743325", "text": "private native long openFile(String filename);", "title": "" }, { "docid": "05bd5539c9ed2d2344c0b18cb11de81c", "score": "0.61743325", "text": "private native long openFile(String filename);", "title": "" }, { "docid": "0d264077499de31aa1539eb4287d4e29", "score": "0.6163824", "text": "@Test\n\tpublic void testOpenRead() throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {\n\t\tString path;\n\t\t\n\t\t// test a working file path\n\t Method openReadMethod = getMethodOfClass(SaveFile.class, \"openRead\");\n\t boolean result = (boolean) openReadMethod.invoke(saved, tmpFile);\n\t\tassertEquals(true,result);\n\t\t\n\t\t// test a broken file path\n\t openReadMethod = getMethodOfClass(SaveFile.class, \"openRead\");\n\t result = (boolean) openReadMethod.invoke(saved, brokenPath);\n\t\tassertEquals(false,result);\n\t\t\n\t\t// test a null file path\n\t\tpath = null;\n\t openReadMethod = getMethodOfClass(SaveFile.class, \"openRead\");\n\t result = (boolean) openReadMethod.invoke(saved, path);\n\t\tassertEquals(false,result);\n\t\t\n\t\t// test a empty file path\n\t\tpath = \"\";\n\t openReadMethod = getMethodOfClass(SaveFile.class, \"openRead\");\n\t result = (boolean) openReadMethod.invoke(saved, path);\n\t\tassertEquals(false,result);\n\t\t\n\t}", "title": "" }, { "docid": "d7fe6c738a6ab5ece80901c1fff5aae9", "score": "0.6098069", "text": "private Boolean openFile(String file){\n\t\ttry {\n\t\t\tFileReader fr = new FileReader(file);\n\t\t\treader = new BufferedReader(fr);\n\t\t\treturn true;\n\t\t}\n\t\tcatch(IOException ex) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "fa24aa50a56b9f8f22aba539ced879e8", "score": "0.60229695", "text": "@Test(expected = ReadException.class)\n public void testfilenotfound() throws ReadException {\n IReader read = new FileRead(\"magic\");\n }", "title": "" }, { "docid": "e6a488db53d2301f85e553c3c4fd369e", "score": "0.59589463", "text": "@Test\n public void givenInvalidFileShouldReturnError(){\n //act\n String fileLocation=\"/home/cgi/Desktop/test.txt\";\n String actualResult=this.fileReader.findFile(fileLocation);\n //assert\n assertEquals(\"wrong file\",actualResult);\n }", "title": "" }, { "docid": "86a2e8cc1c1e5ea5e9fb802b4fcdc5e4", "score": "0.59313804", "text": "void openReader();", "title": "" }, { "docid": "2e77383942f95ec1e2cc4e4722b4959a", "score": "0.5920047", "text": "private void openFile() {\n\t\tString filename = txtFileName.getText().toString();\n\n\t\tIntent intent = new Intent(Intent.ACTION_GET_CONTENT);\n\t\tintent.addCategory(Intent.CATEGORY_OPENABLE);\n\n\t\tintent.setData(Uri.parse(\"file://\" + filename));\n\t\tintent.setType(\"*/*\");\n\n\t\ttry {\n\t\t\tgetActivity().startActivityForResult(intent, requestId);\n\t\t} catch (ActivityNotFoundException e) {\n\t\t\t// No compatible file manager was found.\n\t\t\tToast.makeText(getActivity(), R.string.noFilemanagerInstalled,\n\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t}\n\t}", "title": "" }, { "docid": "f1159ef44f9b7f98f9345d45afabea6e", "score": "0.5900802", "text": "void openLedger(String file);", "title": "" }, { "docid": "0b3420ccdc94721f2b633fabb5b63bc6", "score": "0.5900679", "text": "@Test\n\tpublic void testReadFile() {\n\t\tSystem.out.println(\"readFile\");\n\t\tString filePath = \"\";\n\t\tString expResult = null;\n\t\tString result = Legacy.readFile(filePath);\n\t\tassertEquals(expResult, result);\n\t}", "title": "" }, { "docid": "933b5e01371bc820584ce30d81af1413", "score": "0.5884384", "text": "private void openFile(String fileName)\n\t{\n\t\t\n\t\tFile file = new File(fileName);\n\t\tBufferedReader bufReader=null;\n try {\n\t\t\tFileReader reader = new FileReader(file);\n\t\t\tbufReader = new BufferedReader(reader);\n\t\t\t\t\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"file \"+file.getAbsolutePath()+\" not found\");\n\t\t\tSystem.exit(0);\n\t\t} \n catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tthis.bufReader=bufReader;\n\t}", "title": "" }, { "docid": "29d702e0b882429b9166f0f8ff5faf5f", "score": "0.5811352", "text": "public Object fileReader();", "title": "" }, { "docid": "ccd24eca5921cac1fa833ef0a5899c91", "score": "0.5802345", "text": "public void open( Object pathname ) throws IllegalArgumentException, java.io.IOException;", "title": "" }, { "docid": "38185a41fc09b7f31e79ea87c5d55a8b", "score": "0.57885885", "text": "@Test\n public void openException() throws Exception {\n AlluxioURI file = new AlluxioURI(\"/file\");\n GetStatusPOptions getStatusOptions = GetStatusPOptions.getDefaultInstance();\n Mockito.when(mFileSystemMasterClient.getStatus(file, FileSystemOptions.getStatusDefaults(mConf).toBuilder().mergeFrom(getStatusOptions).build())).thenThrow(BaseFileSystemTest.EXCEPTION);\n try {\n mFileSystem.openFile(file, OpenFilePOptions.getDefaultInstance());\n Assert.fail(BaseFileSystemTest.SHOULD_HAVE_PROPAGATED_MESSAGE);\n } catch (Exception e) {\n Assert.assertSame(BaseFileSystemTest.EXCEPTION, e);\n }\n verifyFilesystemContextAcquiredAndReleased();\n }", "title": "" }, { "docid": "b5cc7d5175fe5678d1ac586a17e4d177", "score": "0.5786663", "text": "@Test\n public void openFile_fileExists_shouldReturnTrue() {\n }", "title": "" }, { "docid": "0f2f6a26f120449f54d8de7a8099a922", "score": "0.57640207", "text": "public void openFile()\n {\n \n try {\n x = new Formatter(\"audit.txt\");\n \n } catch (FileNotFoundException ex) {\n Logger.getLogger(Audit_class.class.getName()).log(Level.SEVERE, null, ex);\n } \n }", "title": "" }, { "docid": "ea2013eb850c22feec848cfcd67d4db7", "score": "0.5745231", "text": "InputStream open(String path) throws IOException;", "title": "" }, { "docid": "85c75f3ce06c3dcf2b435f05c67a7df9", "score": "0.5693308", "text": "private boolean openInFile() throws ProductException {\r\n boolean result = false;\r\n try {\r\n File inFile = new File( this.filePath );\r\n this.fr = new FileReader( inFile );\r\n this.reader = new BufferedReader( fr );\r\n result = true;\r\n } // End-of try-clause\r\n catch ( IOException ioe ) {\r\n throw new ProductException( \"Unable to open file \" + filePath + ioe.getMessage() );\r\n } // End-of catch-clause\r\n return result;\r\n }", "title": "" }, { "docid": "4535f7c476d8d247d3527d7f6831680d", "score": "0.5689611", "text": "@Override\r\n\tpublic void open(File file) {\r\n\t\tfileHandler.open(file);\r\n\t}", "title": "" }, { "docid": "45c8a4eee11fc881d7967fc14301c8f4", "score": "0.5667017", "text": "@Test\n public void testaaa() {\n StringBuilder filePath = new StringBuilder(new File(\".\").getAbsoluteFile().getParent());\n filePath.append(\"/tests/practice/utils/filesystem/file/input/text.txt\");\n///Users/yoshitaka.toyama/MyPrograms/private/mysample/tests/practice/utils/filesystem/file\n try {\n FileReader f = new FileReader(filePath.toString());\n String s = f.readAllBy(null);\n System.out.println(s);\n assertEquals(s, \"abcde,12345,)('0*+'\");\n\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "e7e7da10fcf764b8eaa7d240ca9a4864", "score": "0.5653246", "text": "public synchronized void open(RandomAccessFile raf) throws IOException\n {\n\topen(new RandomAccessFileOutputStream(raf));\n }", "title": "" }, { "docid": "bf1b97fc9f33614c48752c6fa667ce1e", "score": "0.5640054", "text": "@Test(expected = NullPointerException.class)\n public void testReadFromFileWithException() throws IOException {\n new FileRead().readFromFile(\"NotExistingPath\");\n }", "title": "" }, { "docid": "ab2dbddafcc0fc3fcdeb114b847643c7", "score": "0.56236476", "text": "public void open() throws FileNotFoundException {\n System.out.println(\"open\");\n }", "title": "" }, { "docid": "8faedaffa251608a2080a87eba79db69", "score": "0.5623604", "text": "@Test \n\tpublic void testFileReaderTC4() {\n\t}", "title": "" }, { "docid": "e8bd86d54884f4d010ec862ec11cfef8", "score": "0.56235915", "text": "File readFile(String fileId) throws Exception;", "title": "" }, { "docid": "ee04d4180429c63eba7648537c05e806", "score": "0.55995893", "text": "public java.io.InputStream readFile( String filename ) throws IllegalArgumentException, java.io.IOException;", "title": "" }, { "docid": "5693dcb44432abc64c091231279bb498", "score": "0.5596476", "text": "@Test\r\n public void testOpenFile (){\r\n mplayer.setPath(\"res/music/Scenery_of_the_Town_Morning.wav\");\r\n assertTrue(\"should open the file and return true.\", mplayer.openFile());\r\n mplayer.setPath(\"\");\r\n assertTrue(\"Wrong path. Should return false and notify that file cannot be open\", !mplayer.openFile());\r\n }", "title": "" }, { "docid": "fd87a4e4a6ad272b0e1c02aa526659f6", "score": "0.55438375", "text": "private static boolean openFile(String fileName)\n {\n boolean success;\n String inputLine;\n StringBuilder editorString= new StringBuilder();\n try {\n //OPEN THE FILE\n File file=new File(fileName);\n Scanner inputFile=new Scanner(file);\n //READ THE FILE CONTENT INTO THE EDITOR\n while (inputFile.hasNext())\n {\n inputLine=inputFile.nextLine();\n editorString.append(inputLine).append(\"\\n\");\n }\n //DISPLAY THE STRING\n editorText.setText(editorString.toString());\n //CLOSE THE FILE\n inputFile.close();\n success=true;\n }\n catch (IOException e)\n {\n success=false;\n }\n return success;\n }", "title": "" }, { "docid": "93e938f70fef36597eb2a3960802a619", "score": "0.5539776", "text": "@SuppressLint(\"ResourceType\")\n private void open_file(Uri uri) throws IOException{\n Log.i(\"222\", uri.toString());\n InputStream inputStream = getContentResolver().openInputStream(uri);\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));\n String line = null;\n if(strings.size() > 0){\n strings.clear();\n }\n while((line = bufferedReader.readLine()) != null){\n strings.add(line);\n }\n bufferedReader.close();\n inputStream.close();\n ArrayList<String> colored_codes = new ArrayList<String>(CodeFormatTool.attach_color_to_code(strings, colors));\n code_views.setLayoutManager(new LinearLayoutManager(this));\n codeRecyclerViewAdapter = new CodeRecyclerViewAdapter(colored_codes, colors.get(CodeFormatTool.KEY_BACKGROUND_ODD), colors.get(CodeFormatTool.KEY_BACKGROUND_EVEN));\n code_views.setAdapter(codeRecyclerViewAdapter);\n }", "title": "" }, { "docid": "1882a8586c06062c349dcdb4c3af1581", "score": "0.5531115", "text": "private void openMock( MockTargetDataLine mock, AudioFormat format ) {\n try {\n mock.open( format );\n } catch (LineUnavailableException ex) {\n fail( \"Line should be available.\" );\n } catch (IllegalStateException ex) {\n fail( \"Line should not yet be open.\" );\n }\n }", "title": "" }, { "docid": "34ba23661f0b32e180d3c0acc5538080", "score": "0.5523566", "text": "@Test\n public void testGetReader() {\n TabularDataReader reader;\n \n // Verify that requests for specific readers return the correct plugins.\n for (String rformat : rformats) {\n reader = rm.getReader(rformat);\n \n assertEquals(rformat, reader.getFormatString());\n }\n }", "title": "" }, { "docid": "620411c9e62f513560f98a0a4d8bc203", "score": "0.5518718", "text": "public Object readFile(String path) throws Exception;", "title": "" }, { "docid": "4bbd5b7b727da1857e31ddc6f7b96ca8", "score": "0.55079395", "text": "@Test\n\tpublic void testFileReaderTC2() {\n\t}", "title": "" }, { "docid": "cd52528d161b00e76e85e6b232663b2c", "score": "0.55064434", "text": "public void openFile(String name) {\n\t\topenFile(name, \"Open\", \"File...\");\n\n\t}", "title": "" }, { "docid": "d8cfdb04ab90736cd7e946b90d068364", "score": "0.5488381", "text": "TestFile(File input){\r\n this.inputFile = input; \r\n }", "title": "" }, { "docid": "001f5cb9fa5b2c65a17792df8f19db11", "score": "0.548293", "text": "private void openFile() {\r\n try {\r\n if (streamFile == null) {\r\n FileOutputStream streamFileO = new FileOutputStream(\r\n streamFilename);\r\n streamFile = new DataOutputStream(streamFileO);\r\n streamFileControl = streamFileO.getChannel();\r\n }\r\n } catch (IOException e) {\r\n logger.error(EXCEPTION_MESSAGE, e);\r\n bBadFileIO = true;\r\n }\r\n }", "title": "" }, { "docid": "76880aedd3a4976cd7b92364930f8668", "score": "0.5462887", "text": "@Test\n\tpublic void testFileReaderTC7() {\n\t}", "title": "" }, { "docid": "9433efb0e09f3d01cf284fefbf5ed97e", "score": "0.54603696", "text": "@Test(expected = IllegalArgumentException.class)\n public void badFileType() throws IOException {\n reader.readImageFromFile(\"res\\\\bug.ppm\");\n }", "title": "" }, { "docid": "906935a297a1b5956c0ee9a7c875b93c", "score": "0.54473865", "text": "protected void openFile() throws MedleyException {\n \tFileDialog dialog = new FileDialog (shell, SWT.OPEN);\n \tdialog.setFilterNames (new String [] {Resources.getStr(\"fileFilter.medleyFiles\"), \n \t\t\t\t\t\t\t\t\t\t Resources.getStr(\"fileFilter.allFiles\")});\n \tdialog.setFilterExtensions (new String [] {\"*.zmd\", \"*.*\"}); //Windows wild cards\n \tString fn = dialog.open();\n \topenFile(fn);\n }", "title": "" }, { "docid": "512d416e6e66c0ab183c29ce6c9a6377", "score": "0.5431973", "text": "public boolean openDatabaseFile(File file);", "title": "" }, { "docid": "a505466e0f7b2045ac84e024a820d15e", "score": "0.5420822", "text": "public ReadFile(String file_path) {\n path = file_path;\n }", "title": "" }, { "docid": "fea3d5f4a1ff2037237eb45ce3ff3188", "score": "0.5401891", "text": "@Test(expected = IllegalArgumentException.class)\n public void testBadPPMFile() throws IOException {\n reader.readImageFromFile(\"test\\\\testreaderfiles\\\\badfile.txt\");\n }", "title": "" }, { "docid": "dfd11bdebea3dd81f81a23a0d1924468", "score": "0.53927803", "text": "@Test\r\n public void testReadInvalidFile() {\r\n AddressBook.read(\"\");\r\n assertEquals(true, err.toString().contains(\"CaughtFileNotFoundException\"));\r\n }", "title": "" }, { "docid": "d56ad3b362a145c61c923a0e2546047b", "score": "0.53841347", "text": "public void openFile ()\n{\n closeFile ();\n\n try\n {\n input_file = new BufferedReader ( new InputStreamReader \n ( new FileInputStream ( file_name ) ) );\n end_of_file = false;\n line.setLength ( 0 );\n } // try \n catch ( IOException e )\n {\n System.out.println ( \"InputFile.openFile: IOException on input file \" +\n file_name + \"; \" + e );\n end_of_file = true;\n } /* catch */\n}", "title": "" }, { "docid": "1e73dac8e79b434ca58fe3b9dd344df0", "score": "0.53839386", "text": "private void openForInputCommon() {\n \n ensureLog();\n \n recordNumber = 0;\n fieldNumber = -1;\n\n reader = new FileLineReader (this);\n ensureClubEventCalc();\n if (! minutesFile) {\n clubEventCalc.setFileName(this);\n }\n atEnd = false;\n reader.open();\n readNextEvent();\n }", "title": "" }, { "docid": "cfb031afd145b17c01395b27b686388e", "score": "0.53766", "text": "public void testFile() {\n try {\n try {\n DeliverySheet.loadFromXML(null);\n } catch (IOException ex) {\n }\n fail(\"Chargement d'un reader null\");\n } catch (NullPointerException e) {\n }\n\n try {\n // Si c'est un dossier, la fonction retourne Null\n DeliverySheet.loadFromXML(new FileReader(\"/\"));\n fail(\"Chargement d'un dossier\");\n } catch (IOException ex) {\n }\n\n try {\n // Si le fichier n'est pas lisible, la fonction retourne Null\n // Normalement le fichier /root ne sont pas lisibles\n DeliverySheet.loadFromXML(new FileReader(\"/root\"));\n fail(\"Chargement d'un fichier illisible\");\n } catch (IOException ex) {\n }\n }", "title": "" }, { "docid": "5b12796f6f7fb5903743ab49e62b843c", "score": "0.5375918", "text": "public void open(String file_name) throws IOException {\n\n // Set read only flag.\n this.file_name = file_name;\n\n // Open the store.\n store = storeSystem().openStore(file_name);\n boolean need_check = !store.lastCloseClean();\n\n // Setup the list structure\n list_structure = new FixedRecordList(store, 12);\n\n // Read and setup the pointers\n readStoreHeaders();\n\n // Set the column count\n column_count = table_def.columnCount();\n\n // Open table indices\n table_indices = new MultiVersionTableIndices(getSystem(),\n table_def.getTableName(), table_def.columnCount());\n // The column rid list cache\n column_rid_list = new RIDList[table_def.columnCount()];\n\n // Load internal state\n loadInternal();\n\n if (need_check) {\n // Do an opening scan of the table. Any records that are uncommited\n // must be marked as deleted.\n doOpeningScan();\n\n // Scan for any leaks in the file,\n Debug().write(Lvl.INFORMATION, this,\n \"Scanning File: \" + file_name + \" for leaks.\");\n scanForLeaks();\n }\n\n// HashMap properties = new HashMap();\n// file_store.statsScan(properties);\n// System.out.println(\"File: \" + file_name);\n// Iterator key_i = properties.keySet().iterator();\n// while (key_i.hasNext()) {\n// String key = (String) key_i.next();\n// System.out.print(key);\n// System.out.print(\" = \");\n// System.out.println(properties.get(key));\n// }\n\n }", "title": "" }, { "docid": "21e37f1e7444052c57acc42dfa523c93", "score": "0.5367366", "text": "@Test(dataProvider = \"fileReaderTestDataProvider\")\n public void fileReaderTest(\n String messageJson,\n List<Message> expectedMessages,\n boolean expectedException) {\n boolean exception = false;\n List<Message> messages = new LinkedList<>();\n try {\n messageFileReader.open(new ByteArrayInputStream(messageJson.getBytes()));\n\n Message message;\n while ((message = messageFileReader.getNextMessage()) != null) {\n messages.add(message);\n }\n } catch (Exception ex) {\n exception = true;\n }\n Assert.assertEquals(messages, expectedMessages);\n Assert.assertEquals(exception, expectedException);\n }", "title": "" }, { "docid": "1263210b915398af71efa256587d34e0", "score": "0.5364298", "text": "protected static InputStream openFile(String filename) {\n FileInputStream fileInputStream;\n try {\n fileInputStream = new FileInputStream(filename);\n } catch (FileNotFoundException ex) {\n throw new OpenGammaRuntimeException(\"Could not open file \" + filename + \" for reading, exiting immediately.\");\n }\n\n return fileInputStream;\n }", "title": "" }, { "docid": "451fcdfb02f44314dcbc46a176f1c6e2", "score": "0.53615564", "text": "@Test\n\tpublic void testOpen() {\n\t}", "title": "" }, { "docid": "1cdbf81394c6c2fb5122ce11b3cdf4b4", "score": "0.5355141", "text": "InputStream openInputStream(String path) throws IOException;", "title": "" }, { "docid": "ebbffb405b9e2888156732838d1c5021", "score": "0.5353651", "text": "InputStream openForRead(Path path);", "title": "" }, { "docid": "5c1445510ff658980a6e199491f82f76", "score": "0.5341698", "text": "private native long nativeOpenFile(long pompNativePtr, @NonNull String path, @Nullable String track);", "title": "" }, { "docid": "be59c16154f3ac336b9c95c4ffb835d9", "score": "0.533329", "text": "private File openFromParams(File file)\n\t{\n\t\t// Check if default parameter exist\n\t\tif (!params.isEmpty() && params.get(0).getIdentifier() == \"-default\")\n\t\t{\n\t\t\t// Set file to parameter specified path\n\t\t\tfile = new File(params.get(0).getArgument());\n\n\t\t\tif (!verifyFile(file))\n\t\t\t\treturn null;\n\n\t\t\t// File is readable! We can cat!\n\t\t\treturn file;\n\t\t} else\n\t\t// if no default parameter exists\n\t\t{\n\t\t\tPrintError(\"No file specified!\", \"File not specified, exiting CAT.\");\n\n\t\t\t// Return a null, signifying errors exist.\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "9615a9acc45e0a6e9939464fe26342e2", "score": "0.5330579", "text": "private static BufferedReader openReader(String fileName)\n throws IOException {\n return new BufferedReader(new FileReader(fileName));\n }", "title": "" }, { "docid": "7b995ee7bc9f6a874920369ce9d1789a", "score": "0.53248197", "text": "@Test\r\n void checkWrongInputTextParseFile() throws ClassNotFoundException, IOException {\r\n ClassLoader classLoader = getClass().getClassLoader();\r\n File file = new File(classLoader.getResource(\"incorrectInput.txt\").getFile());\r\n String path = file.getPath();\r\n FileParser fileParser = FileParserFactory.INSTANCE.getFileParser(\"txt\", path);\r\n assertThrows(IOException.class, () -> fileParser.parseFile());\r\n }", "title": "" }, { "docid": "c7c17e5aa11ac985e9053c3711a935a1", "score": "0.53238666", "text": "public void openFile(File f){\n\n if (f != null) {\n String absolutePath = f.getAbsolutePath();\n\n //Input is FastA\n if (absolutePath.endsWith(\".fasta\") || absolutePath.endsWith(\".fas\") || absolutePath.endsWith(\".fa\") || absolutePath.endsWith(\".fna\") ) {\n\n MultiFastaParser multiFastAInput;\n try {\n try {\n multiFastAInput = new MultiFastaParser(f.getPath(), LOG, message_duplications);\n HashMap<String, List<Entry>> input_multifasta = multiFastAInput.getCorrespondingData();\n tableControllerUserBench.updateTable(input_multifasta);\n } catch (IOException e) {\n e.printStackTrace();\n }\n } catch (FastAException e) {\n FastAErrorDialogue fastAErrorDialogue = new FastAErrorDialogue(e);\n }\n\n }\n\n //Input is HSD Format\n if (absolutePath.endsWith(\".hsd\")) {\n try {\n HSDParser hsdInputParser = null;\n try {\n hsdInputParser = new HSDParser(f.getPath(), LOG, message_duplications);\n HashMap<String, List<Entry>> data_map = hsdInputParser.getCorrespondingData();\n tableControllerUserBench.updateTable(data_map);\n } catch (HSDException e) {\n HSDErrorDialogue hsdErrorDialogue = new HSDErrorDialogue(e);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //Input is Generic Format\n\n if (absolutePath.endsWith(\".tsv\")) {\n try {\n GenericInputParser genericInputParser = new GenericInputParser(f.getPath(), LOG, \"\\t\", message_duplications);\n HashMap<String, List<Entry>> data_map = genericInputParser.getCorrespondingData();\n tableControllerUserBench.updateTable(data_map);\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n //Input is Excel Format\n\n if (absolutePath.endsWith(\".xlsx\")) {\n ExcelParser excelReader;\n try {\n excelReader = new ExcelParser(f.getPath(), LOG, message_duplications);\n HashMap<String, List<Entry>> data_map = excelReader.getCorrespondingData();\n tableControllerUserBench.updateTable(data_map);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (EXCELException e) {\n new ExcelErrorDialogue(e);\n }\n }\n\n //Input is in ARP Format\n\n if(absolutePath.endsWith(\".arp\")){\n ARPParser arpreader = null;\n try {\n arpreader = new ARPParser(f.getPath(), LOG, message_duplications);\n HashMap<String, List<Entry>> data_map = arpreader.getCorrespondingData();\n tableControllerUserBench.updateTable(data_map);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (ARPException e) {\n ARPErrorDialogue arpErrorDialogue = new ARPErrorDialogue(e);\n }\n\n }\n\n if(absolutePath.endsWith(\".mitoproj\")){\n ProjectParser projectReader = new ProjectParser();\n try {\n\n projectReader.read(f, LOG);\n projectReader.loadData(tableControllerUserBench, mito.getChartController());\n mito.setAnotherProjectLoaded(true);\n } catch (IOException e) {\n e.printStackTrace();\n } catch (ProjectException e) {\n e.printStackTrace();\n }\n\n }\n\n\n } else {\n try {\n // do nothing\n }catch (Exception e ) {\n System.out.println(e.getMessage());\n }\n }\n }", "title": "" }, { "docid": "4ee7db94538903571ce35a6679955e16", "score": "0.53236854", "text": "@Test\n\tpublic void testFile(){\n\t}", "title": "" }, { "docid": "a2f51224f4139bfb8653c0aff785c82e", "score": "0.5321699", "text": "@Test\n public void openNonExistentUfsFile() throws Exception {\n Mockito.when(mMockUfs.isFile(mUri.toString())).thenReturn(false);\n mThrown.expect(FileDoesNotExistException.class);\n mThrown.expectMessage(ExceptionMessage.UFS_PATH_DOES_NOT_EXIST.getMessage(mUri.toString()));\n mManager.openFile(SESSION_ID, mUri);\n }", "title": "" }, { "docid": "9856c96acb91270dd1e3a5a193c9bf57", "score": "0.5309073", "text": "@CheckForNull\n public TftpData open(@Nonnull String filename) throws IOException;", "title": "" }, { "docid": "411e13e856a1035a85fbb72e248180a1", "score": "0.530004", "text": "public void openTourFile(String fileName)\n {\n\n logger.info(\"Begin reading the data in file \" + fileName);\n\n try\n {\n OLD_CSVFileReader csvFile = new OLD_CSVFileReader();\n tourData = csvFile.readFile(new File(fileName));\n } catch (IOException e)\n {\n throw new RuntimeException(e);\n }\n\n logger.info(\"End reading the data in file \" + fileName);\n }", "title": "" }, { "docid": "d17242fbc99b9abd802283ef12ea4549", "score": "0.5299925", "text": "public void readFromFile();", "title": "" }, { "docid": "582ab7ac80951083b37945ed21ec98a8", "score": "0.52961755", "text": "public static RFileInputStream openFile(final String str) throws IOException {\n\treturn rcon.openFile(str);\n }", "title": "" }, { "docid": "29a27041d464b8f653c9396934ebeb46", "score": "0.5290827", "text": "private FileInputStream openFileForReading(String filename)\n throws FileNotFoundException {\n FileInputStream in = null;\n\n in = new FileInputStream(filename);\n\n return in;\n }", "title": "" }, { "docid": "e2da312e70d23464c3eb93d1ae41ad39", "score": "0.5281625", "text": "@Test(expected = IllegalArgumentException.class)\n public void badFilename() throws IOException {\n reader.readImageFromFile(\"hello?.png\");\n }", "title": "" }, { "docid": "3917a4be601b9f180c5024458673405e", "score": "0.527889", "text": "public void open(String filename)\n throws IOException, CubeletFormatException {\n\n if (in != null) in.close();\n \n if (filename == null) {\n in = System.in;\n } else {\n in = new BufferedInputStream\n (new FileInputStream(filename));\n }\n\n byte[] headerBuf = new byte[HEADER_SIZE];\n int bytesRead = in.read(headerBuf);\n if (bytesRead != HEADER_SIZE) {\n close();\n throw new IOException(\"Failed to read header\");\n }\n\n String headerLine = new String(headerBuf, 0, HEADER_LINE.length(), ASCII);\n\n if (!headerLine.equals(HEADER_LINE)) {\n close();\n throw new CubeletFormatException(filename);\n }\n\n cubeletIndexOffset = longFromByteArray(headerBuf, 24);\n\n dataSizeBytes = 0;\n dataHasBeenRead = true;\n eofReached = false;\n }", "title": "" }, { "docid": "05c73b8749d86e489345b1d8df028522", "score": "0.52787143", "text": "@Test(expected = IllegalArgumentException.class)\n public void testCannotFindFileName() throws IOException {\n reader.readImageFromFile(\"hello?.ppm\");\n }", "title": "" }, { "docid": "240e10fed7addb7628368e226d7c7d08", "score": "0.52534753", "text": "public abstract T readFromFile(final File file);", "title": "" }, { "docid": "8bc1c75d991c248b8ea285e712302f38", "score": "0.5252327", "text": "private void openFile() throws Exception\n {\n int returnVal = fileChooser.showOpenDialog(frame);\n\n if(returnVal != JFileChooser.APPROVE_OPTION) {\n return; // cancelled\n }\n File selectedFile = fileChooser.getSelectedFile();\n textArea.setText(FSMIOFileManager.loadFSMIO(selectedFile.getName()));\n currentFSMIO = new FSMIOString(selectedFile.getName());\n\n if(currentFSMIO == null) { // image file was not a valid image\n JOptionPane.showMessageDialog(frame,\n \"The file was not in a recognized FSMIO file format.\",\n \"FSMIO Load Error\",\n JOptionPane.ERROR_MESSAGE);\n return;\n }\n \n showFilename(selectedFile.getName());\n JOptionPane.showMessageDialog(frame, selectedFile.getName(), \"File loaded\", JOptionPane.INFORMATION_MESSAGE);\n showStatus(\"FSMIO Loaded. Current State: \" + currentFSMIO.fsms.getInitialState());\n menubar.add(getOption());\n frame.pack();\n }", "title": "" }, { "docid": "5eb306574881c865e2657e8bf8e914fd", "score": "0.5243774", "text": "public void readFile(File file){\n\n }", "title": "" }, { "docid": "bb8fa7af72cde2047cef6297bc24acc1", "score": "0.5225392", "text": "public Scanner openFile(String fileName) {\r\n // create scanner object\r\n Scanner file;\r\n // try catch block in case of error in opening file\r\n try {\r\n file = new Scanner(Paths.get(fileName));\r\n } // end try\r\n catch (IOException ioException) {\r\n System.out.println(\"Error: file not found.\");\r\n file = null;\r\n } // end catch\r\n return file;\r\n }", "title": "" }, { "docid": "8e1bc78e763cdbeda228b31d6666c949", "score": "0.52109003", "text": "@Test( enabled = false, testName=\"file types\", description = \"open different type of files\",\n\t\t\tgroups = {\"Sanity iOS\"})\n\tpublic void fileTypes(){\n\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "816dd35cab28a839f34db71a979dc0ee", "score": "0.52059674", "text": "@Test\n\tpublic void testOpenBoolean() {\n\n\t\tFileInfo info;\n\t\tImagePlus ip;\n\n\t\t// test for a non existent file\n\n\t\t// ideally open() would pass back the exception for an unknown file. As it is something lower catches the\n\t\t// exception, prints a stack trace, and does nothing\n\n\t\tinfo = new FileInfo();\n\t\tinfo.fileName = \"SuperPuppy.tif\";\n\t\tinfo.fileType = FileInfo.GRAY8;\n\t\tinfo.height = 3; // required\n\t\tinfo.width = 4; // required\n\t\tfo = new FileOpener(info);\n\t\tip = fo.open(false);\n\t\tassertNull(ip);\n\n\t\t// test for a real 8 bit file\n\t\tinfo = new FileInfo();\n\t\tinfo.fileName = \"gray8-3x2-sub1.tif\";\n\t\tinfo.fileType = FileInfo.GRAY8;\n\t\tinfo.height = 2;\n\t\tinfo.width = 3;\n\t\tinfo.directory = DataConstants.DATA_DIR;\n\t\tfo = new FileOpener(info);\n\t\tip = fo.open(false);\n\t\tassertNotNull(ip);\n\t\tassertEquals(8,ip.getBitDepth());\n\t\tassertEquals(1,ip.getBytesPerPixel());\n\t\tassertEquals(2,ip.getHeight());\n\t\tassertEquals(3,ip.getWidth());\n\n\t\t// test for a real 16 bit file\n\t\tinfo = new FileInfo();\n\t\tinfo.fileName = \"gray16-3x2-sub1.tif\";\n\t\tinfo.fileType = FileInfo.GRAY16_UNSIGNED;\n\t\tinfo.height = 2;\n\t\tinfo.width = 3;\n\t\tinfo.directory = DataConstants.DATA_DIR;\n\t\tfo = new FileOpener(info);\n\t\tip = fo.open(false);\n\t\tassertNotNull(ip);\n\t\tassertEquals(16,ip.getBitDepth());\n\t\tassertEquals(2,ip.getBytesPerPixel());\n\t\tassertEquals(2,ip.getHeight());\n\t\tassertEquals(3,ip.getWidth());\n\n\t\t// test for a real 32 bit file\n\t\tinfo = new FileInfo();\n\t\tinfo.fileName = \"gray32float-3x2-sub1.tif\";\n\t\tinfo.fileType = FileInfo.GRAY32_FLOAT;\n\t\tinfo.height = 2;\n\t\tinfo.width = 3;\n\t\tinfo.directory = DataConstants.DATA_DIR;\n\t\tfo = new FileOpener(info);\n\t\tip = fo.open(false);\n\t\tassertNotNull(ip);\n\t\tassertEquals(32,ip.getBitDepth());\n\t\tassertEquals(4,ip.getBytesPerPixel());\n\t\tassertEquals(2,ip.getHeight());\n\t\tassertEquals(3,ip.getWidth());\n\n\t\t// test for a real 24 bit file\n\t\tinfo = new FileInfo();\n\t\tinfo.fileName = \"gray24-3x2-sub1.tif\";\n\t\tinfo.fileType = FileInfo.RGB;\n\t\tinfo.height = 2;\n\t\tinfo.width = 3;\n\t\tinfo.directory = DataConstants.DATA_DIR;\n\t\tfo = new FileOpener(info);\n\t\tip = fo.open(false);\n\t\tassertNotNull(ip);\n\t\tassertEquals(24,ip.getBitDepth());\n\t\tassertEquals(4,ip.getBytesPerPixel());\n\t\tassertEquals(2,ip.getHeight());\n\t\tassertEquals(3,ip.getWidth());\n\t\tassertEquals(1,ip.getNChannels());\n\t\tassertEquals(1,ip.getNSlices());\n\t\tassertEquals(1,ip.getNFrames());\n\n\t\t// test for a 48 bit file - use fake data for now - also testing Property() setting/getting\n\t\tinfo = new FileInfo();\n\t\tinfo.fileName = \"head8bit.tif\";\n\t\tinfo.fileType = FileInfo.RGB48_PLANAR;\n\t\tinfo.samplesPerPixel = 3;\n\t\tinfo.height = 256;\n\t\tinfo.width = 38;\n\t\tinfo.directory = DataConstants.DATA_DIR;\n\t\tinfo.info = \"Yuletide Greetings\";\n\t\tinfo.sliceLabels = new String[] {\"Carrots\"};\n\t\tfo = new FileOpener(info);\n\t\tip = fo.open(false);\n\t\tassertNotNull(ip);\n\t\tassertEquals(16,ip.getBitDepth());\n\t\tassertEquals(2,ip.getBytesPerPixel());\n\t\tassertEquals(256,ip.getHeight());\n\t\tassertEquals(38,ip.getWidth());\n\t\tassertTrue(ip.getProcessor() instanceof ShortProcessor);\n\t\tassertNotNull(ip.getStack());\n\t\tassertEquals(\"Red\",ip.getStack().getSliceLabel(1));\n\t\tassertEquals(\"Green\",ip.getStack().getSliceLabel(2));\n\t\tassertEquals(\"Blue\",ip.getStack().getSliceLabel(3));\n\t\tassertTrue(ip instanceof CompositeImage);\n\t\tassertNotNull(ip.getStack());\n\t\tassertEquals(\"Red\",ip.getStack().getSliceLabel(1));\n\t\tassertEquals(\"Green\",ip.getStack().getSliceLabel(2));\n\t\tassertEquals(\"Blue\",ip.getStack().getSliceLabel(3));\n\t\tassertTrue(ip instanceof CompositeImage);\n\t\tassertEquals(\"Yuletide Greetings\",ip.getProperty(\"Info\"));\n\t\tassertEquals(\"Carrots\",ip.getProperty(\"Label\"));\n\n\t\t// try to open an image stack\n\t\tinfo = new FileInfo();\n\t\tinfo.fileName = \"gray8-3x2-stack.tif\";\n\t\tinfo.fileType = FileInfo.GRAY8;\n\t\tinfo.nImages = 2;\n\t\tinfo.height = 2;\n\t\tinfo.width = 3;\n\t\tinfo.directory = DataConstants.DATA_DIR;\n\t\tfo = new FileOpener(info);\n\t\tip = fo.open(false);\n\t\tassertNotNull(ip);\n\t\tassertNotNull(ip.getStack());\n\t\tassertEquals(2,ip.getStack().getSize());\n\t\tassertEquals(2,ip.getStack().getHeight());\n\t\tassertEquals(3,ip.getStack().getWidth());\n\t}", "title": "" }, { "docid": "de1b46deb1c6c9982af9556b402ba8cd", "score": "0.52007353", "text": "@Test\n\tpublic void testFileOpener() {\n\t\tFileOpener opener = new FileOpener(null);\n\t\tassertNotNull(opener);\n\n\t\t// define one on a default file info object\n\t\tFileInfo info = new FileInfo();\n\t\topener = new FileOpener(info);\n\t\tassertNotNull(opener);\n\n\t\t// define one on a modified FileInfo\n\t\tinfo.fileName = \"miniTiled.tif\";\n\t\tinfo.fileType = FileInfo.GRAY8;\n\t\topener = new FileOpener(info);\n\t\tassertNotNull(opener);\n\t}", "title": "" }, { "docid": "0d3949acc939cd5d916b55c450a65948", "score": "0.519538", "text": "public boolean OpenFile(String strFilename)\n {\n return (chartModel.OpenFile(strFilename));\n }", "title": "" }, { "docid": "368efb95572fe1b07185ef2e42bb020e", "score": "0.51911706", "text": "@Test(expected = IOException.class)\n public void readPropertiesTestWithInvalidFile() throws Exception {\n ldapReader.readProperties(\"abc\");\n }", "title": "" }, { "docid": "4b1c301958dd387d87bfb6f62d78b5ef", "score": "0.51879936", "text": "public synchronized void open(String fn) throws IOException\n {\n\topen(new RandomAccessFile(fn, \"rw\"));\n }", "title": "" }, { "docid": "91f76a9a758725c65a4da72873b4fc1b", "score": "0.5176758", "text": "public void readFile();", "title": "" }, { "docid": "7ec746aabed0f82f9551c19f219818a3", "score": "0.5176037", "text": "@Override\n public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException {\n final File file = getFileForUri(uri);\n final int fileMode = modeToMode(mode);\n return ParcelFileDescriptor.open(file, fileMode);\n }", "title": "" }, { "docid": "e0e011b0fecf7a398cd87fb76f7dc423", "score": "0.5174095", "text": "public interface ReaderFactory {\n\n Reader createReader(String filename);\n\n}", "title": "" }, { "docid": "36627ceff89bc26d99816e22e65579a1", "score": "0.5170032", "text": "InputStream readFile() throws Exception;", "title": "" }, { "docid": "93c585da3466334a1ff8f27b8084f6fc", "score": "0.51696175", "text": "private Scanner openFile(String file) \n {\n try\n {\n Scanner input = new Scanner(new File(file));\n //System.out.println(\"The file has been scanned.\");\n\n return input;\n } catch(Exception e)\n {\n System.out.println(\"Your file has not been scanned.\");\n return null;\n }\n }", "title": "" }, { "docid": "096862bef4f3411cd5b3b6d738aceb66", "score": "0.5161358", "text": "boolean handleFile(File file);", "title": "" }, { "docid": "cd464c40634fdb20e477bafac25c0d4c", "score": "0.51468617", "text": "private void open(FileHolder f) {\n if (!f.getFile().exists())\n return;\n\n if (f.getFile().isDirectory()) {\n openDir(f);\n } else if (f.getFile().isFile()) {\n openFile(f);\n }\n }", "title": "" }, { "docid": "f4482b1319b4d74d955b94ce47111c90", "score": "0.51441884", "text": "@Test\n\tpublic void testReadFileValidInput() {\n\t\tint[] expectedNames = new int[] {1,2,3,4,5,6,7,8,9};\n\t\tString resourceName = \"/valid_fileio_test_input.txt\";\n\t\tString validInputFilepath = resourcesPath.concat(resourceName);\n\t\tassertArrayEquals(expectedNames, fileio.readFile(validInputFilepath));\n\t}", "title": "" }, { "docid": "09fe258e9cd9d6b8c8fc7bed51c11fef", "score": "0.514207", "text": "InputStream openStream() throws IOException;", "title": "" }, { "docid": "b27690afc743ed379ab79fae681482b9", "score": "0.51390946", "text": "private void openFile(String path, String mode, BPlusConfiguration opt)\n throws IOException, InvalidBTreeStateException {\n File f = new File(path);\n String stmode = mode.substring(0, 2);\n treeFile = new RandomAccessFile(path, stmode);\n // check if the file already exists\n if(f.exists() && !mode.contains(\"+\")) {\n System.out.println(\"File already exists (size: \" + treeFile.length() +\n \" bytes), trying to read it...\");\n // read the header\n conf = readFileHeader(treeFile, true);\n // read the lookup page\n initializeLookupPage(f.exists());\n System.out.println(\"File seems to be valid. Loaded OK!\");\n }\n // if we have to start anew, do so.\n else {\n System.out.println(\"Initializing the file...\");\n System.out.println(\"Tracking I/O performance as well\");\n treeFile.setLength(0);\n conf = opt == null ? new BPlusConfiguration() : opt;\n initializeLookupPage(false);\n createTree();\n writeFileHeader(conf);\n System.out.println(\"Done!\");\n }\n }", "title": "" }, { "docid": "9564e2e1917b904fcf569aaf7c2f886e", "score": "0.5137373", "text": "private void openfile() {\n\t \tFile file = new File(Environment.getExternalStorageDirectory()\n\t \t\t + \"/Buildman Files/\" + mFileName);\n\t \tString application_Type=getMimeType(url_File);\n\t \t\t PackageManager packageManager = getPackageManager();\n\t \t\t Intent pdfIntent = new Intent(Intent.ACTION_VIEW);\n\t \t\t pdfIntent .setType(application_Type);\n\t \t\t List list = packageManager.queryIntentActivities(pdfIntent ,\n\t \t\t PackageManager.MATCH_DEFAULT_ONLY);\n\t \t\t Intent intent = new Intent();\n\t \t\t intent.setAction(Intent.ACTION_VIEW);\n\t \t\t Uri uri = Uri.fromFile(file);\n\t \t\t intent.setDataAndType(uri, application_Type);\n\t \t\t startActivity(intent);\n\t\t}", "title": "" }, { "docid": "772eb4523ba3a750a18846a5d6671572", "score": "0.51351124", "text": "void open() throws IOException, IllegalAccessException, InstantiationException;", "title": "" }, { "docid": "51579d11e92286019819ea78b25af8ba", "score": "0.5134709", "text": "private native int open(String name, boolean read_only) throws IOException;", "title": "" }, { "docid": "f2b5869710ba22b6501988900091b44e", "score": "0.5134407", "text": "@Test(expected = IllegalArgumentException.class)\n public void nullFileName() throws IOException {\n reader.readImageFromFile(null);\n }", "title": "" }, { "docid": "82dce46b9ce701093c2734ce41ae02f5", "score": "0.5129401", "text": "public void setOpenedFilePath(Path path);", "title": "" }, { "docid": "8b4ebc83b0c4987c7bfd16c8f9225a90", "score": "0.5121931", "text": "@Test(expected = IllegalArgumentException.class)\n public void testNullFileName() throws IOException {\n reader.readImageFromFile(null);\n }", "title": "" }, { "docid": "ab18ea4da750dd37f61105c7cc80b5b0", "score": "0.51195484", "text": "public SimpleFileReader(String fileName)\r\n/* 16: */ {\r\n/* 17:17 */ this.fileName = fileName;\r\n/* 18: */ }", "title": "" } ]
c30548338765b37cb34017fba4f71364
Created by aleix on 23/05/2017.
[ { "docid": "06d52cb154fd7e06410cb528ef3ccf0b", "score": "0.0", "text": "interface Service {\n\n /*HttpLoggingInterceptor httpLoggingInterceptor = new HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY);\n OkHttpClient okHttpClient = new OkHttpClient.Builder().addInterceptor(httpLoggingInterceptor).build();\n\n\n\n public static final Retrofit retrofit = new Retrofit.Builder()\n .baseUrl(\"http://10.0.2.2:8081/EetakemonGo/\")\n .addConverterFactory(GsonConverterFactory.create()).client(okHttpClient)\n .build();*/\n\n @POST(\"/EetakemonGo/Eetakemon/Tipo\")\n Call<Eetakemon> Eetak(@Body Eetakemon eetak);\n @POST(\"/EetakemonGo/Eetakemon/Tipo\")\n Call<Eetakemon> Eetak2(@Body Eetakemon eetak);\n @POST(\"/EetakemonGo/Eetakemon/Tipo\")\n Call<Eetakemon> Eetak3(@Body Eetakemon eetak);\n\n @POST(\"/EetakemonGo/User/LoginApp\")\n Call<User> Login(@Body User usuario);\n\n @POST(\"/EetakemonGo/User/RegisterApp\")\n Call<User> Register(@Body User usuario);\n\n @GET(\"/EetakemonGo/Eetakemon/ListApp\")\n Call<List<Eetakemon>> Listar();\n}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.62798405", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "35e5940d13f06d1f0d6a21cf2739c70a", "score": "0.60110277", "text": "public function() {}", "title": "" }, { "docid": "5697bde38a38a77f3a0bd238fb737c11", "score": "0.5824934", "text": "@Override\n public int getDochody() {\n return 0;\n }", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.5774025", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.56862044", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "ee0f5f270c3e0eea9f37c3d1e42b1161", "score": "0.5647171", "text": "public void mo12736g() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.5628313", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.56177694", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.56114733", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "07779d53803dc6875c03bdee2e1afeb5", "score": "0.5589339", "text": "@Override\n public void ordenar() {\n }", "title": "" }, { "docid": "fdeab6ca2d3dd91b347a8cc2f5c862c2", "score": "0.55853677", "text": "private static void generateNew() {\n\t\t\t\t\n\t\t\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.5566098", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "39da14b1f6e1adac9c0b748811e78b68", "score": "0.556356", "text": "public void mo12645zl() {\n }", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.5551838", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.55327237", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5524393", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "6b0e2e41d411b76c357d16b3eb3a159c", "score": "0.5517953", "text": "protected abstract void entschuldigen();", "title": "" }, { "docid": "a56ce606ea5cc945279ea9725eed5272", "score": "0.55138135", "text": "@Override\n\tpublic void alearga() {\n\t\t\n\t}", "title": "" }, { "docid": "8e75ffe6faa994ed57c6ffb8b56296fe", "score": "0.54929423", "text": "public void xiuproof() {\n\t\t\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5457031", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.5454599", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "12cb886ceb5e3e8b5a540a316317c996", "score": "0.5443286", "text": "private void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "12cb886ceb5e3e8b5a540a316317c996", "score": "0.5443286", "text": "private void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.54384714", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.54384714", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.54384714", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "23a210590a86717974bed53b741032bf", "score": "0.54384714", "text": "@Override\n\tpublic void emi() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54301894", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54301894", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54301894", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.54301894", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "fa729e301b181004ac22fa6a16b19c1b", "score": "0.5424624", "text": "@Override\n public void init()\n {\n }", "title": "" }, { "docid": "777efb33041da4779c6ec15b9d85097c", "score": "0.5420364", "text": "@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}", "title": "" }, { "docid": "15c9cae08ae101b3a04f9ff3b519ae04", "score": "0.54055524", "text": "public void mo8316a() {\n }", "title": "" }, { "docid": "4077955e82cce22d988577ca0a7978fc", "score": "0.5368638", "text": "@Override\n\tpublic void dormir() {\n\n\t}", "title": "" }, { "docid": "4e86f604c407a96c75671f663064c24b", "score": "0.5366439", "text": "public void mo8319b() {\n }", "title": "" }, { "docid": "b46a4282f2416d8b0c8ecbdd64bad3c1", "score": "0.5361711", "text": "public void mo1618a() {\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.53605676", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.53562665", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "0b812af084ac0cb033ab904c49294fed", "score": "0.5355308", "text": "public void mo25703a() {\n }", "title": "" }, { "docid": "b429c7e890f65a814ea31e6014003667", "score": "0.5349536", "text": "@Override\n public int describeContents(){\n return 0;\n }", "title": "" }, { "docid": "d6d75432f50fcf22c3834bdfb660cd26", "score": "0.5339013", "text": "@Override\n public void use(){\n \n }", "title": "" }, { "docid": "e8868463a89178c883ee18ebd43b8a61", "score": "0.5330619", "text": "public final void mo34057y() {\n }", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.5324059", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5308737", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.5304628", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5291284", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "658e2157a962e8e3911961071abbf52d", "score": "0.52889234", "text": "protected void func_70088_a() {}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5287898", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5287898", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5287898", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.528602", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.528602", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.528602", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5284537", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.5280016", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.5280016", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "85b25c664df01fd0b02e103c9bbc8372", "score": "0.5272726", "text": "@Override\r\n\tpublic void arreter() {\n\r\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.5268877", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "df874b61406cbb181a458ae515220156", "score": "0.526687", "text": "public void mo12735f() {\n }", "title": "" }, { "docid": "b9b1accefb9dfdc03434ea65ec63d306", "score": "0.5256131", "text": "private void drow() {\n\t\t\n\t}", "title": "" }, { "docid": "cc32bfffe770f8a5c5cf88e6af231ff8", "score": "0.5250813", "text": "@Override\n\tpublic void one() {\n\t\t\n\t}", "title": "" }, { "docid": "c47723cc77bfdfbeac347959926f9a12", "score": "0.52498907", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "30639a7ffa7015f608440dbdbf2ca882", "score": "0.5248066", "text": "@Override\n protected void initialize() {}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.52394915", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.52394915", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.52394915", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "0dc532a19d96978e970e5069b07f56d9", "score": "0.5237484", "text": "public void mo12646zm() {\n }", "title": "" }, { "docid": "23d32e184a88bab31671010c45922a93", "score": "0.5234348", "text": "private void inic() {}", "title": "" }, { "docid": "a50388b9b48475bc092917bf1323e935", "score": "0.52293235", "text": "@Override\n public boolean estHelico() {\n return true;\n }", "title": "" }, { "docid": "f434de351aa50379517444f172381e08", "score": "0.5224629", "text": "public void bulletproof() {\n\t\t\n\t}", "title": "" }, { "docid": "3e9c4de332bfb94422f785054fa63ada", "score": "0.52078784", "text": "@Override\r\n\tpublic void limpiar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3767348a298bdbc42a516908dfac0022", "score": "0.5206843", "text": "public final void mo34050B() {\n }", "title": "" }, { "docid": "df89b968807fade64158ed6c7401bc7a", "score": "0.52009475", "text": "@Override\r\n\tpublic void afficher() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dc4ad5d6a5fcdc294379036f367a401b", "score": "0.51981527", "text": "@Override\n public void frenar() {\n\n }", "title": "" }, { "docid": "1d69f38b94702675a7a6d7b4ca002e6d", "score": "0.51959", "text": "@Override\n\tpublic void init()\n\t{\n\n\t}", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.519365", "text": "private void init() {\n\t}", "title": "" }, { "docid": "f6982c872fa3d00992534a737e2e11ab", "score": "0.5182624", "text": "private static void init() {\n }", "title": "" }, { "docid": "f838b13cad014e3ea632a7862aea755b", "score": "0.51796126", "text": "private void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.5174218", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "833ba2f1d8822ebbb0dddd05020c0c08", "score": "0.5173697", "text": "@Override\n\tpublic void attaque() {\n\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.51697594", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "8d2080edd6605bcfb742d32fd1a0091e", "score": "0.5158297", "text": "@Override\n\tpublic void ilerle() {\n\n\t}", "title": "" } ]
b1c91a63b31b915e9d1ea2afc4d4015e
.io.cucumber.messages.Location location = 1;
[ { "docid": "453a8c0856f13f90928f1c2f032c7890", "score": "0.0", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n io.cucumber.messages.Messages.Location, io.cucumber.messages.Messages.Location.Builder, io.cucumber.messages.Messages.LocationOrBuilder> \n getLocationFieldBuilder() {\n if (locationBuilder_ == null) {\n locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.cucumber.messages.Messages.Location, io.cucumber.messages.Messages.Location.Builder, io.cucumber.messages.Messages.LocationOrBuilder>(\n getLocation(),\n getParentForChildren(),\n isClean());\n location_ = null;\n }\n return locationBuilder_;\n }", "title": "" } ]
[ { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89201224", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89201224", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89201224", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89201224", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89201224", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89191085", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89186275", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89186275", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.89186275", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.891817", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.8917117", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.8917117", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.8917117", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.8917117", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.8917117", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "584fc8cd3c51d257274651d1c76d8fdc", "score": "0.8917117", "text": "io.cucumber.messages.Messages.Location getLocation();", "title": "" }, { "docid": "572534866e4e05d9ddb6240ab84699ec", "score": "0.7841953", "text": "io.cucumber.messages.Messages.SourceReference getLocation();", "title": "" }, { "docid": "572534866e4e05d9ddb6240ab84699ec", "score": "0.7841953", "text": "io.cucumber.messages.Messages.SourceReference getLocation();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74690336", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74690336", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74690336", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.7468775", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.7466281", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74649006", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74649006", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74649006", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74649006", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74649006", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74649006", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.7464842", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.7464842", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74645215", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74645215", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "74ec504272740e1e96d52959dbbb91b4", "score": "0.74645215", "text": "io.cucumber.messages.Messages.LocationOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "3dab0a877535439fc1925893cb508016", "score": "0.7230301", "text": "io.cucumber.messages.Messages.TestStepStarted getTestStepStarted();", "title": "" }, { "docid": "006eb32d38f83b3c224975a4d870fc4d", "score": "0.7190582", "text": "io.cucumber.messages.Messages.Status getStatus();", "title": "" }, { "docid": "d3ead136278da7ad78df62cc3a2c4f42", "score": "0.7111681", "text": "io.cucumber.messages.Messages.SourceReference getActionLocation();", "title": "" }, { "docid": "933f028add417c230838666f633902f9", "score": "0.7030416", "text": "io.cucumber.messages.Messages.TestRunStarted getTestRunStarted();", "title": "" }, { "docid": "ea4747b0f9ec51459416c5e0dc544c58", "score": "0.70044684", "text": "io.cucumber.messages.Messages.SourceReference getSourceLocation();", "title": "" }, { "docid": "c1bee69698697e507ce471be4dc6c3e7", "score": "0.6920648", "text": "io.cucumber.messages.Messages.SourceReferenceOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "c1bee69698697e507ce471be4dc6c3e7", "score": "0.6920648", "text": "io.cucumber.messages.Messages.SourceReferenceOrBuilder getLocationOrBuilder();", "title": "" }, { "docid": "0f9e3ac356680ca9f1cfb0b44255e12a", "score": "0.6738207", "text": "io.cucumber.messages.Messages.TestStepFinished getTestStepFinished();", "title": "" }, { "docid": "224f4ce5830cd1526284a259d2e5c5ff", "score": "0.6675963", "text": "io.cucumber.messages.Messages.TestCaseStarted getTestCaseStarted();", "title": "" }, { "docid": "4ecf79dc4846ec50d341f38e8c9e8326", "score": "0.66595906", "text": "io.cucumber.messages.Messages.TestHookStarted getTestHookStarted();", "title": "" }, { "docid": "12c03976f7001966ead762cd8f3f1258", "score": "0.6657158", "text": "io.cucumber.messages.Messages.Source getSource();", "title": "" }, { "docid": "60df012bf70f0aaf170e6b6cccf4cec8", "score": "0.6577899", "text": "io.cucumber.messages.Messages.Scenario getScenario();", "title": "" }, { "docid": "60df012bf70f0aaf170e6b6cccf4cec8", "score": "0.6576619", "text": "io.cucumber.messages.Messages.Scenario getScenario();", "title": "" }, { "docid": "a0c51f756758792baf021388a246b371", "score": "0.653951", "text": "io.cucumber.messages.Messages.TestRunFinished getTestRunFinished();", "title": "" }, { "docid": "9d94ebf2206377255c7838ccff6681e2", "score": "0.6525957", "text": "io.cucumber.messages.Messages.Feature getFeature();", "title": "" }, { "docid": "bedf8b1826ffe06148fb552623851c1e", "score": "0.6362928", "text": "io.cucumber.messages.Messages.TestResult getTestResult();", "title": "" }, { "docid": "bedf8b1826ffe06148fb552623851c1e", "score": "0.6362928", "text": "io.cucumber.messages.Messages.TestResult getTestResult();", "title": "" }, { "docid": "bedf8b1826ffe06148fb552623851c1e", "score": "0.6362928", "text": "io.cucumber.messages.Messages.TestResult getTestResult();", "title": "" }, { "docid": "bedf8b1826ffe06148fb552623851c1e", "score": "0.6362459", "text": "io.cucumber.messages.Messages.TestResult getTestResult();", "title": "" }, { "docid": "1820bf4e2f5e9609cfa1b5f36e434dad", "score": "0.62821376", "text": "io.cucumber.messages.Messages.TestHookFinished getTestHookFinished();", "title": "" }, { "docid": "1ba4075945c52e67f1c4f49cb705bd08", "score": "0.62461156", "text": "io.cucumber.messages.Messages.Location getLocations(int index);", "title": "" }, { "docid": "1ba4075945c52e67f1c4f49cb705bd08", "score": "0.6241653", "text": "io.cucumber.messages.Messages.Location getLocations(int index);", "title": "" }, { "docid": "72128e0e6253e56f9bf0746fdde1e91b", "score": "0.60290664", "text": "io.cucumber.messages.Messages.SourceReferenceOrBuilder getSourceLocationOrBuilder();", "title": "" }, { "docid": "4c169db53b8ca92f8215b8d643a8c5f1", "score": "0.5968399", "text": "io.cucumber.messages.Messages.TestCaseFinished getTestCaseFinished();", "title": "" }, { "docid": "1c6e083b4fb6b6c41eb30758d926f854", "score": "0.5955916", "text": "io.cucumber.messages.Messages.SourceReferenceOrBuilder getActionLocationOrBuilder();", "title": "" }, { "docid": "41579bfb8435b3c448d3dcc4cc43d7df", "score": "0.59448653", "text": "@Given(\"^Go to Onlocation menu$\")\r\n\tpublic void go_to_Onlocation_menu() throws Throwable {\n\t\tOnlocation onlocation=new Onlocation();\r\n\t\tonlocation.onlocation_nav();\r\n\t}", "title": "" }, { "docid": "d3d01366d310844b01b837884627413e", "score": "0.59409666", "text": "@When(\"^I run a step$\")\n public void i_run_a_step() throws Exception {\nSystem.out.println(\"done\");\n }", "title": "" }, { "docid": "32214795e1c189f4a6ac24ddeb6ecb19", "score": "0.5907763", "text": "@Test\n void sendLocationState() {\n }", "title": "" }, { "docid": "ddf30e0065911115d362d965ea887b71", "score": "0.5859272", "text": "@Given(\"This is a search contact test\")\n\tpublic void this_is_a_search_contact_test() {\n\t}", "title": "" }, { "docid": "a3e7f2249f421011345b2f0664d52201", "score": "0.5848206", "text": "@Given(\"This is a search report test\")\n\tpublic void this_is_a_search_report_test() {\n\t}", "title": "" }, { "docid": "7457db3f50f312f58c03bc5872d1fea1", "score": "0.58199686", "text": "@Given(\"This is a search case test\")\n\tpublic void this_is_a_search_case_test() {\n\t}", "title": "" }, { "docid": "b380bba893c209021353f4e513e4f8fd", "score": "0.5788757", "text": "io.cucumber.messages.Messages.Background getBackground();", "title": "" }, { "docid": "b380bba893c209021353f4e513e4f8fd", "score": "0.5787384", "text": "io.cucumber.messages.Messages.Background getBackground();", "title": "" }, { "docid": "fdeb154c2d0964c1f4b76b7dd3136a71", "score": "0.5778967", "text": "@Given(\"^I have hello world service$\")\n public void iHaveHelloWorldService() throws Throwable {\n\n }", "title": "" }, { "docid": "fac69802b4c315f91c6025a6c78e88f4", "score": "0.5769336", "text": "java.util.List<io.cucumber.messages.Messages.Location> \n getLocationsList();", "title": "" }, { "docid": "6f822162e68f8b0db02fcc912d19a8e7", "score": "0.57688016", "text": "io.cucumber.messages.Messages.SourceReference getSource();", "title": "" }, { "docid": "fac69802b4c315f91c6025a6c78e88f4", "score": "0.57680005", "text": "java.util.List<io.cucumber.messages.Messages.Location> \n getLocationsList();", "title": "" }, { "docid": "011bd80b5d1fd2823e639ab825c20469", "score": "0.5766565", "text": "@When(\"^she looks at this feature$\")\n public void sheLooksAtThisFeature() throws Throwable {\n }", "title": "" }, { "docid": "35d643c2998a9ed9a09ec9d7919a6159", "score": "0.57474893", "text": "io.cucumber.messages.Messages.DocString getDocString();", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.57211506", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.57211506", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.57211506", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.5720769", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.5720769", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.57203907", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.57203907", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.57203907", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.5719617", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.5719617", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.5719617", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.5719124", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.571895", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.571895", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.571895", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "5715280681e59dd460339b404a593d1c", "score": "0.571895", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n }", "title": "" }, { "docid": "624ed06fa18e59593867fa912eb193de", "score": "0.57142687", "text": "@Then(\"^user enters data jobTitle and city$\")\r\npublic void user_enters_data_jobTitle_and_city() throws Throwable {\n}", "title": "" }, { "docid": "7d9dfb335fd2abc905ad526e209a23fd", "score": "0.5702972", "text": "public void setLocation(String location) {\r\n\tthis.location = location;\r\n}", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.5700869", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.5700678", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.5700678", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.5700678", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.5700678", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.57004434", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.57004434", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.56991667", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.56991667", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "0885b87f9aa118cb552251e0dcedb79b", "score": "0.56988937", "text": "public io.cucumber.messages.Messages.Location getLocation() {\n if (locationBuilder_ == null) {\n return location_ == null ? io.cucumber.messages.Messages.Location.getDefaultInstance() : location_;\n } else {\n return locationBuilder_.getMessage();\n }\n }", "title": "" } ]
c4e7c41bae46a293ff8269a140d785f9
/ just wanted to see how to open a browser using intents. heh.
[ { "docid": "2017438ec0b60deddfa0d8ca0025ace3", "score": "0.7223389", "text": "public void openBrowser(View view) {\n String url = \"http://www.google.com\";\n Intent i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(url));\n startActivity(i);\n }", "title": "" } ]
[ { "docid": "a0bbe3c27482eb69ddea80ab3509b507", "score": "0.7696694", "text": "public void openInBrowser() {\n\t\t\tIntent intent = new Intent(android.content.Intent.ACTION_VIEW);\n\t\t\tUri uri = Uri.parse(mUrl);\n\t\t\tintent.setData(uri);\n\t\t\tstartActivity(intent);\n\t\t}", "title": "" }, { "docid": "5bbd4439e6b1b9f7963f94798d485376", "score": "0.74305564", "text": "public void openBrowser(String url) {\n Intent implicit = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n startActivity(implicit);\n }", "title": "" }, { "docid": "8b3ebcd7094cbb022548bc87478c5a96", "score": "0.72504914", "text": "private void openBrowser(String url) {\n Intent openBrowser = new Intent(getActivity(), BrowserActivity.class);\r\n openBrowser.putExtra(\"url\", url);\r\n startActivity(openBrowser);\r\n }", "title": "" }, { "docid": "db68007c85d88786659f1ae3cf33a236", "score": "0.7140737", "text": "private void goToUrl(String url) {\n Uri uriUrl = Uri.parse(url);\n Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uriUrl);\n startActivity(launchBrowser);\n }", "title": "" }, { "docid": "f99e98c89eed4137725954f3efc2ee50", "score": "0.71071106", "text": "public void openBrowser(View view) {\n\t\tIntent intent = new Intent(this, HttpExampleActivity.class);\n\t\tstartActivity(intent);\n\t}", "title": "" }, { "docid": "ac9c4f2a9840f21f53b490b0c48786f6", "score": "0.70819354", "text": "private void openWebSiteWithIntent(String url) {\n Intent i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(url));\n startActivity(i);\n }", "title": "" }, { "docid": "85dc4cb2ffb1bf1bbecd46cec746cb0e", "score": "0.7028484", "text": "public void launchBrowser() {\n\t}", "title": "" }, { "docid": "24762e7a87c66d9194e7f3e043b588a3", "score": "0.69718105", "text": "public static Intent createOpenBrowserIntent(String url) {\n\t\tif (!url.startsWith(\"http\")) {\n\t\t\turl = \"http://\" + url;\n\t\t}\n\t\treturn new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n\t}", "title": "" }, { "docid": "bc3e9d7d2976dcca353b9470967df13e", "score": "0.696811", "text": "public void onClickLaunchMyBrowser(View view) {\n\t\tIntent i = new Intent(this,MyBrowserActivity.class);\r\n i.setData(Uri.parse(\"https://www.centennialcollege.ca/\"));\r\n startActivity(i);\r\n\r\n\r\n }", "title": "" }, { "docid": "66ede2cbd773ca0d4a3509c7e380fa56", "score": "0.6915953", "text": "private void toBrowser(String url) {\n CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();\n builder.addDefaultShareMenuItem();\n CustomTabsIntent customTabsIntent = builder.build();\n customTabsIntent.launchUrl(Objects.requireNonNull(getContext()), Uri.parse(url));\n }", "title": "" }, { "docid": "f5a40d7909b5eb2324bb2ffa816efe91", "score": "0.6841991", "text": "private static void openURL(WebDriver browser, String url) {\n browser.get(url);\n }", "title": "" }, { "docid": "542df037ffbcf263c65a902214156f3a", "score": "0.6823493", "text": "public void openWebPage(String url) {\n Uri webpage = Uri.parse(url);\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n\n }", "title": "" }, { "docid": "40088c260687e690c322b2a3b9dcf620", "score": "0.6806533", "text": "public void openBrowser(){\n\n System.out.println(\"Opening the default browser\");\n }", "title": "" }, { "docid": "e09727ab55eb7338a4580572563c8e16", "score": "0.68008155", "text": "@Override\n public void onClick(View v) {\n\n\n String url = \"mth://action.cmd?name=%s\";\n Uri uri = Uri.parse(String.format(url, \"mth ftom client\"));\n Intent mIntent = new Intent(Intent.ACTION_VIEW, uri);\n\n if (isIntentAvailable(MainActivity.this, mIntent)){\n startActivity(mIntent);\n }else{\n Log.e(\"MTH\", \"no handle activity\");\n }\n\n }", "title": "" }, { "docid": "ef6db67a0700f80ffb705b39a15a7a9d", "score": "0.6768429", "text": "private void openWebPage(String url) {\n /*\n * We wanted to demonstrate the Uri.parse method because its usage occurs frequently. You\n * could have just as easily passed in a Uri as the parameter of this method.\n */\n Uri webpage = Uri.parse(url);\n\n /*\n * Here, we create the Intent with the action of ACTION_VIEW. This action allows the user\n * to view particular content. In this case, our webpage URL.\n */\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n\n /*\n * This is a check we perform with every implicit Intent that we launch. In some cases,\n * the device where this code is running might not have an Activity to perform the action\n * with the data we've specified. Without this check, in those cases your app would crash.\n */\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n }", "title": "" }, { "docid": "df331d8aff0116010ac676cfd59bd823", "score": "0.6757574", "text": "public static void openUri(Context ctx, Uri uri) {\n\t\ttry {\n\t\t\tIntent browserIntent = new Intent(Intent.ACTION_VIEW, uri);\n\t\t\tctx.startActivity(browserIntent);\n\t\t}\n\t\tcatch (ActivityNotFoundException e) {\n\t\t\t// There are actually people who don't have a webbrowser installed\n\t\t\tToast.makeText(ctx, com.dlka.showmyapps.R.string.msg_no_webbrowser, Toast.LENGTH_SHORT)\n\t\t\t\t\t.show();\n\t\t}\n\t}", "title": "" }, { "docid": "49b8ad71db52dfb8d7d4217c41a3dcc4", "score": "0.67188287", "text": "@Given(\"^open a browser$\")\n\tpublic void open_a_browser() throws Throwable {\n\t\tFBBasePage.initialization();\n\n\t}", "title": "" }, { "docid": "bdc2abbb449e2bd80e5cab218f895095", "score": "0.6712156", "text": "@Given(\"^the user launch the chrome application$\")\r\n\tpublic void the_user_launch_the_chrome_application() throws Throwable {\n\t f.url();\r\n\t}", "title": "" }, { "docid": "01b90cf1a987111040945dfc51f8a364", "score": "0.6666347", "text": "@Override\n public void onClick(View view) {\n String url = \"http://www.freepik.com\";\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setPackage(\"com.android.chrome\");\n try {\n startActivity(intent);\n } catch (ActivityNotFoundException e) {\n // Chrome is probably not installed\n // Try with the default browser\n intent.setPackage(null);\n startActivity(intent);\n } catch (Exception e) {\n Toast.makeText(CreditsActivity.this, \"Error while opening your browser\", Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "9db12089be0634bd57fd340de0e48524", "score": "0.6656042", "text": "private void execBrowser(final URI url) {\n if (desktop != null && desktop.isSupported(Desktop.Action.BROWSE)) {\n try {\n desktop.browse(url);\n } catch (IOException ex) {\n Logger.userError(ErrorLevel.LOW,\n \"Unable to open URL: \" + ex.getMessage(), ex);\n }\n } else {\n Logger.userError(ErrorLevel.LOW,\n \"Unable to open your browser: Your desktop enviroment is \"\n + \"not supported, please go to the URL Handlers section of \"\n + \"the preferences dialog and set the path to your browser \"\n + \"manually\");\n }\n }", "title": "" }, { "docid": "943a2fa13f0fe74154ede66a5d1602b6", "score": "0.6649973", "text": "private void launchBrowser(Book book) {\n\n String surl = book.getUrlForBrowser(settings);\n\n Log.d(DEBUG_TAG, \"book url: \" + surl);\n\n Uri uri = Uri.parse(surl);\n Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uri);\n SettingsHelper setting = new SettingsHelper(getActivity());\n if (setting.getAutoMarkFlag()) {\n adapter.makeSelectedRead(false);\n }\n\n startActivity(launchBrowser);\n }", "title": "" }, { "docid": "d2141250b1d048f55687877d0adcb75a", "score": "0.6636215", "text": "private void goToWebsite(String website) {\n startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(website)));\n }", "title": "" }, { "docid": "a4a190b9f600f02368e1a9cdc4b240ec", "score": "0.66184115", "text": "@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tString url = \"http://www.cinemark.com/mobiletheatreshowtimes.aspx?node_id=1730\";\n\t\t\t\t\t//create intent to launch browser\n\t\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW);\n\t\t\t\t\t//parse uri from string\n\t\t\t\t\tUri uri = Uri.parse(url);\n\t\t\t\t\t//set uri string as data for intent\n\t\t\t\t\tintent.setData(uri);\n\t\t\t\t\t//start intent\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "a2d587e54cd9fc70593c23dac47fd482", "score": "0.6603027", "text": "static public void goToUrl(String url, android.content.Context context) {\n Uri uriUrl = Uri.parse(url);\n Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uriUrl);\n launchBrowser.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n context.startActivity(launchBrowser);\n }", "title": "" }, { "docid": "bf30c7f26dad3b88b29a4fa8de68bd26", "score": "0.65869796", "text": "public static void openBrowser(Context context, String url) {\n\t\tcontext.startActivity(createOpenBrowserIntent(url));\n\t}", "title": "" }, { "docid": "2148aaf1664a592fd204fffb3d29b60f", "score": "0.65869707", "text": "private static void _openURL(final String _url) throws IOException, URISyntaxException {\r\n if (!CrossSystem.openCustom(CrossSystem.BROWSER_COMMANDLINE, _url)) {\r\n CrossSystem.DESKTOP_SUPPORT.browseURL(new URL(_url));\r\n }\r\n }", "title": "" }, { "docid": "10e457384748d7b35587feaf3df90abb", "score": "0.65849835", "text": "public void openWebsite(View view) {\n String URL = \"https://ca.hotels.com/\";\n if (hotelNameURL.equals(\"Hyatt\")) {\n URL = \"https://www.hyatt.com/\";\n } else if (hotelNameURL.equals(\"Hyatt\")) {\n URL = \"https://www.ihg.com/hotels/us/en/reservation\";\n } else if (hotelNameURL.equals(\"Marriott\")) {\n URL = \"https://www.marriott.com/default.mi\";\n } else if (hotelNameURL.equals(\"Hilton\")) {\n URL = \"https://www.hilton.com/en/\";\n }\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(URL));\n startActivity(browserIntent);\n }", "title": "" }, { "docid": "5ae7f3b637f43a30880dd66317933ba2", "score": "0.6567014", "text": "public void openBrowser(String browser)\n\t{\t\n\t\t//Base.log.debug(\"Opening Brower => \" + browser);\n\t\tif(browser.equalsIgnoreCase(\"firefox\"))\n\t\t{\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", System.getProperty(\"user.dir\") + \"\\\\src\\\\test\\\\java\\\\Executables\\\\geckodriver.exe\");\n\t\t\tdriver =new FirefoxDriver();\n\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\t\tthis.action=new Actions(driver);\n\t\t}\n\t\telse if(browser.equalsIgnoreCase(\"chrome\"))\n\t\t{\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", System.getProperty(\"user.dir\") + \"\\\\src\\\\test\\\\java\\\\Executables\\\\Chromedriver.exe\");\n\t\t\tdriver =new ChromeDriver();\n\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\t\tthis.action=new Actions(driver);\n\t\t}\n\t\telse if(browser.equalsIgnoreCase(\"id\"))\n\t\t{\n\t\t\tdriver =new InternetExplorerDriver();\n\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\t\tthis.action=new Actions(driver);\n\t\t}\n\t\telse if(browser.equalsIgnoreCase(\"opera\"))\n\t\t{\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\mohit.sharma2\\\\workspace\\\\Drivers\\\\operadriver.exe\");\n\t\t\tdriver =new ChromeDriver();\n\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\n\t\t\tthis.action=new Actions(driver);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", System.getProperty(\"user.dir\") + \"\\\\src\\\\test\\\\java\\\\Executables\\\\Chromedriver.exe\");\n\t\t\tBase.log.debug(\"Invalid Browse Name Hence open Defaul Browser as => Chrome Browser\");\n\t\t\tdriver =new ChromeDriver();\n\t\t\tthis.action=new Actions(driver);\n\t\t}\n\t}", "title": "" }, { "docid": "7448ac26492b2e90e095d62113555b86", "score": "0.6548479", "text": "private static void open(URI uri) {\n if (Desktop.isDesktopSupported()) {\n try {\n Desktop.getDesktop().browse(uri);\n } catch (IOException e) {\n System.err.println(\"Could not open the request URL\");\n }\n }\n }", "title": "" }, { "docid": "fd96e690e73ba4f152d0967f183189fd", "score": "0.65462184", "text": "public void loadBrowser(View view)\n {\n String url = websiteView.getText().toString();\n if (!url.startsWith(HTTP) && (!url.startsWith(HTTPS))) url = HTTP + url;\n Uri kraveWebsiteUri = Uri.parse(url);\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, kraveWebsiteUri);\n doIntent(websiteIntent);\n }", "title": "" }, { "docid": "c07c6791b3fb3d98a8889151025298bf", "score": "0.6535625", "text": "@Given(\"^Open browser and load application$\")\n\tpublic void Open_Browser_and_start_application() throws Throwable {\n\t\tinitateBrowserAndOpenApplication();\n\t\t\n\t}", "title": "" }, { "docid": "e39a1e565a3c88d5cec6e48e9556936c", "score": "0.6511157", "text": "public static void openWebUrl(Context context, String url) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n browserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n context.startActivity(browserIntent);\n }", "title": "" }, { "docid": "51a49087bcf5d5f6488a0106b3ed6af5", "score": "0.64782095", "text": "@Given(\"^I Open my URL$\")\n\tpublic void i_Open_my_URL() throws Throwable {\n\t\topenURL(\"http://demo.guru99.com/test/newtours/register.php\");\n\t\t\t}", "title": "" }, { "docid": "8c3716ee34140342e712540870892e82", "score": "0.6472113", "text": "private void openBrowser() throws IOException\r\n {\r\n URI authorizeRequestUrl = URI.create(m_login_url);\r\n \r\n \tif(RedshiftLogger.isEnable())\r\n\t m_log.log(LogLevel.DEBUG,\r\n\t String.format(\"SSO URI: \\n%s\", authorizeRequestUrl.toString())\r\n\t );\r\n Desktop.getDesktop().browse(authorizeRequestUrl);\r\n }", "title": "" }, { "docid": "9cfdeb242f67534813507f20dd8fc1c2", "score": "0.6439047", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(row_pos.getWebsite()));\n\t\t\t\tcontext.startActivity(browserIntent);\n\t\t\t}", "title": "" }, { "docid": "a165a9e8a965c3db1f77a42666917764", "score": "0.6416274", "text": "public void openPointURL(String url)\r\n {\n Runtime runtime = Runtime.getRuntime(); \r\n try \r\n {\r\n runtime.exec(\"google-chrome \"+ url);\r\n } \r\n catch (IOException e) \r\n {\r\n System.out.println(\"Error opening browser to url: \"+ url);\r\n }\r\n }", "title": "" }, { "docid": "a71001f648ece7a326f28bdd1312c209", "score": "0.63523686", "text": "private void openInBrowser(URI uri) throws Exception {\n\t\ttry {\n\t\t\tDesktop.getDesktop().browse(uri);\n\t\t} catch (IOException e) {\n\t\t\tthrow new Exception(\"Cannot open the Browser.\", e);\n\t\t}\n\t}", "title": "" }, { "docid": "5fbca1755575dc3c62f6b7b89966e774", "score": "0.6320358", "text": "public static void openInWindowsDefaultBrowser(String pageURL)\n {\n try\n {\n Runtime.getRuntime().exec(\"cmd.exe /c start \" + pageURL);\n }\n catch (IOException ex)\n {\n }\n }", "title": "" }, { "docid": "5e08a6a454367175f19978a2f5eab3b6", "score": "0.63140273", "text": "public void launchBrowser() {\r\n\tif(browser.toLowerCase().equals(\"chrome\")) {\r\n\t\tinstantiateChrome();\r\n\t}\r\n\telse if(browser.toLowerCase().equals(\"mozilla\")) {\r\n\t\tinstantiateMozilla();\r\n\t}\r\n\telse {\r\n\t\tinstantiateIE();\r\n\t}\r\n }", "title": "" }, { "docid": "a1b9245a28f011533b1833ef4ad40cf0", "score": "0.6301378", "text": "public void implicitWebsite(View view){\n /**\n * create Implicit\n * Defined by action\n * provide the data\n */\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.google.com\"));\n //start activity\n startActivity(intent);\n }", "title": "" }, { "docid": "faf087186ccc9d7e27945cc90385fc92", "score": "0.6298628", "text": "public void actionPerformed(ActionEvent arg0)\n { \n String url = \"HTTP://discover.nci.nih.gov/mim/mim_pathvisio.html\";\n try\n {\n BrowserLauncher bl = new BrowserLauncher(null);\n bl.openURLinBrowser(url);\n }\n catch (Exception ex)\n {\n ex.printStackTrace();\n }\n }", "title": "" }, { "docid": "5c39e2c772091dc21c8755107ea7812a", "score": "0.6297843", "text": "public void websiteIntent(View view){\n //generalos la URL a donde se dirigira\n String url = \"https://sepankasuite.com\";\n //Creamos un nuevo intento\n Intent intent = new Intent(Intent.ACTION_VIEW);\n //Parseamos la url para que sea leida por el app que se seleccione al abrir\n intent.setData(Uri.parse(url));\n //Lanzamos el activity nuevo\n startActivity(intent);\n }", "title": "" }, { "docid": "255bda204b5b4b8f264fafc23a611f69", "score": "0.62877965", "text": "private void openBrowser() {\n\t\twebView.getSettings().setJavaScriptEnabled(true);\n\t\twebView.loadUrl(urlText.getText().toString());\n\t}", "title": "" }, { "docid": "115c4d8c4492404249c6d8c2ba737b4d", "score": "0.62758356", "text": "public void onClickWebBrowser(View view) {\r\n\r\n Intent i = new\r\n Intent(\"android.intent.action.VIEW\");\r\n i.setData(Uri.parse(\"https://www.centennialcollege.ca/\"));\r\n startActivity(i);\r\n }", "title": "" }, { "docid": "b7d31491c9034dd70cc34fb5c1e179ef", "score": "0.62700886", "text": "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.moma.org\"));\n\t\t\t\tstartActivity(intent);\n\t\t\t}", "title": "" }, { "docid": "7df52a7d46c72e6381eb2d09e4989bc4", "score": "0.6255736", "text": "void openWebPage(String url);", "title": "" }, { "docid": "400adfa3d4e2dfabe63da1335fb69f4e", "score": "0.62518615", "text": "@Given(\"^Open Chrome and navigate to \\\"([^\\\"]*)\\\"$\")\n public void open_chrome_and_navigate_to_something(String strArg1) throws Throwable {\n \tdriver=intializeDriver();\n \tdriver.get(strArg1);\n }", "title": "" }, { "docid": "226ac87a92cb536719e3d74a4a91aa32", "score": "0.62341106", "text": "public void pgWeb(View view){\n\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://campus.somtic.net/\"));\n startActivity(intent);\n }", "title": "" }, { "docid": "4c51b5ca7d121782d9fe8b7515b60bdb", "score": "0.62121177", "text": "public static final void launchBrowser(String url) throws Exception {\n String os = System.getProperty(\"os.name\");\n Runtime runtime=Runtime.getRuntime();\n \n // Block for Windows Platform\n if (os.startsWith(\"Windows\")){\n String cmd = \"rundll32 url.dll,FileProtocolHandler \"+ url;\n \n if (new File(url).exists())\n cmd = \"cmd /c start \\\"\\\" \\\"\"+url+\"\\\"\";\n Process p = runtime.exec(cmd);\n }\n //Block for Mac OS\n else if(os.startsWith(\"Mac OS\")){\n Class fileMgr = Class.forName(\"com.apple.eio.FileManager\");\n Method openURL = fileMgr.getDeclaredMethod(\"openURL\", new Class[] {String.class});\n openURL.invoke(null, new Object[] {url});\n }\n //Block for UNIX Platform\n else {\n String[] browsers = {\"firefox\", \"opera\", \"konqueror\", \"epiphany\", \"mozilla\", \"netscape\" };\n String browser = null;\n for (int count = 0; count < browsers.length && browser == null; count++)\n if (runtime.exec(new String[] {\"which\", browsers[count]}).waitFor() == 0)\n browser = browsers[count];\n if (browser == null)\n throw new Exception(\"Could not find web browser\");\n else\n runtime.exec(new String[] {browser, url});\n }\n }", "title": "" }, { "docid": "3592ae0dd1f55400c61751afb972418b", "score": "0.6212093", "text": "@Given(\"^the user launch the application$\")\n\tpublic void the_user_launch_the_application() {\n\t login.application(\"chrome\", \"https://www.demoblaze.com/\"); //Accessing the launch browser and application method\n\t}", "title": "" }, { "docid": "a38bcbee6778746dd562dd59bf4fdcc5", "score": "0.6198333", "text": "@Given(\"^I open (.*)$\")\n\tpublic void openBrowser(String BrowserName) {\n\t\t\n\t\tcon.infologs(\"Opening Browser\"+BrowserName);\n\t\tcon.openBrowser(BrowserName);\n\n\t}", "title": "" }, { "docid": "6c7b291e6959ac75e1f3e413ec85e576", "score": "0.61867833", "text": "@And(\".*? open browser \\\"(.*?)\\\"$\")\n\tpublic void openBrowser(String browser) {\n\t\tif(System.getProperty(\"os.name\").contains(\"Mac\")) {\n\t\t\tif(browser.toLowerCase().contains(\"firefox\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"/Users/18055967/AutomationFrameworkBDD/WebUI/driver/macOS/geckodriver\");\n\t\t\t\tSystem.setProperty(FirefoxDriver.SystemProperty.BROWSER_LOGFILE,\"/dev/null\");\n\t\t\t\tdriver = new FirefoxDriver();\t\t\t\n\t\t\t}else {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"/Users/18055966/Documents/SourceCode/GITLAB/AutomationFramework/WebUI/Driver/macOS/chromedriver\");\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.silentOutput\", \"true\");\n\t\t\t\tjava.util.logging.Logger.getLogger(\"org.openqa.selenium\").setLevel(Level.OFF);\n\t\t\t\tChromeOptions chromeOptions = new ChromeOptions();\n\t\t\t\tchromeOptions.addArguments(\"--silent\");\n\t\t\t\tdriver = new ChromeDriver(chromeOptions);\t\t\t\t\n\t\t\t}\n\t\t}else if (System.getProperty(\"os.name\").contains(\"Win\")){\n\t\t\tif(browser.toLowerCase().contains(\"firefox\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"/Users/18055966/Documents/SourceCode/GITLAB/AutomationFramework/WebUI/Driver/windows/geckodriver.exe\");\n\t\t\t\tdriver = new FirefoxDriver();\t\t\t\t\n\t\t\t}else {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"/Users/18055966/Documents/SourceCode/GITLAB/AutomationFramework/WebUI/Driver/Windows/chromedriver.exe\");\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.silentOutput\", \"true\");\n\t\t\t\tjava.util.logging.Logger.getLogger(\"org.openqa.selenium\").setLevel(Level.OFF);\n\t\t\t\tChromeOptions chromeOptions = new ChromeOptions();\n\t\t\t\tchromeOptions.addArguments(\"--silent\");\n\t\t\t\tdriver = new ChromeDriver(chromeOptions);\t\t\t\t\n\t\t\t}\n\t\t}else {\n\t\t\tif(browser.toLowerCase().contains(\"firefox\")) {\n\t\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"/usr/bin/geckodriver\");\n\t\t\t\tSystem.setProperty(FirefoxDriver.SystemProperty.BROWSER_LOGFILE,\"/dev/null\");\n\t\t\t\tdriver = new FirefoxDriver();\n\t\t\t}else {\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"/usr/bin/chromedriver\");\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.silentOutput\", \"true\");\n\t\t\t\tjava.util.logging.Logger.getLogger(\"org.openqa.selenium\").setLevel(Level.OFF);\n\t\t\t\tChromeOptions chromeOptions = new ChromeOptions();\n\t\t\t\tchromeOptions.addArguments(\"--silent\");\n\t\t\t\tchromeOptions.addArguments(\"--headless\");\n\t\t\t\tchromeOptions.addArguments(\"--window-size=1325x744\");\n\t\t\t\tdriver = new ChromeDriver(chromeOptions);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "56c55ea43783cdf8697aa0563eba8c37", "score": "0.6159366", "text": "private void openUrl() {\n\t\t//Gets the url\n\t\tString url = this.link;\n\t\t//Checks if the url is complet\n\t\tif(!url.startsWith(\"http\"))\n\t\t\turl=\"https://\"+url;\n\t\t\t\n\t\t//Opens the url\n Util.getOSType().openURI(url);\n\t}", "title": "" }, { "docid": "87d1a6f557bb17eae289a74794ffa36c", "score": "0.61336833", "text": "public void goToWebsite(View view){\n\n Uri homepage = Uri.parse(\"https://amazing-land.com\");\n Intent openLink = new Intent(Intent.ACTION_VIEW, homepage);\n startActivity(openLink);\n\n }", "title": "" }, { "docid": "10cd483d1530e765cf4c8262504f83e8", "score": "0.612811", "text": "public static void openUrl(Context context, String url) {\n if (isChromeTabSupported(context)) {\n CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();\n builder.setToolbarColor(UiHelper.getColor(context, R.color.appBarBackground));\n CustomTabsIntent customTabsIntent = builder.build();\n customTabsIntent.launchUrl(context, Uri.parse(url));\n } else {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n context.startActivity(browserIntent);\n }\n }", "title": "" }, { "docid": "5cf787f27371499ba126627f91f090a8", "score": "0.61236817", "text": "@Override\n public void onClick(View view) {\n Uri uri = Uri.parse(urlface);\n Intent intent = new Intent(Intent.ACTION_VIEW, uri);\n startActivity(intent);\n }", "title": "" }, { "docid": "0c3807bd44717058b4a218b72d7cab93", "score": "0.61222523", "text": "protected boolean openURL(String url) {\n \t\tIntent i = new Intent(Intent.ACTION_VIEW);\n \t\ti.setData(Uri.parse(url));\n \t\tstartActivity(i);\n \t\treturn true;\n \t}", "title": "" }, { "docid": "dbd78c8483c04d820651877d6f434be4", "score": "0.6116622", "text": "public void openbrowser(String url) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\n\t\t\t\t\"C:\\\\Users\\\\EIT-JAGADESHAN\\\\eclipse-workspace\\\\SRD\\\\driv\\\\chromedriver.exe\");\n\t\tHashMap<String, Object> chromePrefs = new HashMap<String, Object>();\n\t\tchromePrefs.put(\"credentials_enable_service\", false);\n\t\t// options.setExperimentalOption(\"prefs\", chromePrefs);\n\t\t// driv = new ChromeDriver(options);\n\t\tdriv = new ChromeDriver();\n\t\tdriv.get(url);\n\t\tdriv.manage().window().maximize();\n\t}", "title": "" }, { "docid": "3bfa363f08b5cf5e06c503783bd002cd", "score": "0.6096716", "text": "@BeforeTest\r\n\tpublic void openBrowser()\r\n\t{\r\n\t\tString browser=ExcelOperation.readStringData(\"BaseClass\",1,0);\r\n\t\tString url=ExcelOperation.readStringData(\"BaseClass\",1,1);\r\n\t\tif(browser.equalsIgnoreCase(\"Chrome\"))\r\n\t\t{\r\n\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"G:\\\\Drivers/chromedriver.exe\");\r\n\t\t\tdriver= new ChromeDriver();\t\t\r\n\t\t}\r\n\t\t\r\n\t\telse if(browser.equalsIgnoreCase(\"firefox\"))\r\n\t\t{\r\n\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"G:\\\\Drivers/geckodriver.exe\");\r\n\t\t\tdriver = new FirefoxDriver();\r\n\t\t}\r\n\t\t\r\n\t\tdriver.get(url);\r\n\t}", "title": "" }, { "docid": "6413a7bb42d9033afdd8ac69ce9039ad", "score": "0.60932475", "text": "public static native void open(String url, String name, String features) /*-{\n $wnd.open(url, name, features);\n }-*/;", "title": "" }, { "docid": "65e2b3dbb07a69c9c949fcc50e7846d1", "score": "0.60928947", "text": "@Override\r\n public void onClick(View v) {\r\n Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.google.com\"));\r\n startActivity(i);\r\n\r\n }", "title": "" }, { "docid": "bd8f8faef73b9ecceb544c2c7bcc236b", "score": "0.60915464", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(Intent.ACTION_VIEW);\n // URI: uniform resource identifier\n Uri guUri = Uri.parse(\"https://www.gonzaga.edu\");\n intent.setData(guUri);\n startActivity(intent);\n }", "title": "" }, { "docid": "840123b3a547703f00cf066b7a6b1bd1", "score": "0.6080867", "text": "@Override\n public void onClick(View v) {\n Uri uri=Uri.parse(sportsList3.getUrl());\n\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, uri);\n activity.startActivity(browserIntent);\n\n }", "title": "" }, { "docid": "541630ec7b533f67f25ef0bb1d3adb54", "score": "0.6072256", "text": "public void goPlatzigramWeb(View view) {\n Intent intent = new Intent();\n intent.setAction(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(\"https://nimp3.github.io\"));\n if (intent.resolveActivity(getPackageManager()) != null){\n startActivity(intent);\n }\n }", "title": "" }, { "docid": "648636c237f84ca274e0bb4309ba0769", "score": "0.6068034", "text": "public void openUrl() {\n webDriver.get(\"https://jdi-testing.github.io/jdi-light/index.html\");\n }", "title": "" }, { "docid": "9cb69365089b84adf4b1345029866e3b", "score": "0.6053135", "text": "public void openBrowser(String object, String data) {\n\t\tLog.info(\"Opening Browser\");\n\t\ttry {\n\t\t\t// If value of the parameter is Mozilla, this will execute\n\t\t\tif (data.equals(\"Mozilla\")) {\n\t\t\t\tdriver = new FirefoxDriver();\n\t\t\t\tLog.info(\"Mozilla browser started\");\n\t\t\t} else if (data.equals(\"IE\")) {\n\t\t\t\t// You may need to change the code here to start IE Driver\n\t\t\t\tdriver = new InternetExplorerDriver();\n\t\t\t\tLog.info(\"IE browser started\");\n\t\t\t} else if (data.equals(\"Chrome\")) {\n\t\t\t\tdriver = new ChromeDriver();\n\t\t\t\tLog.info(\"Chrome browser started\");\n\t\t\t}\n\n//\t\t\tint implicitWaitTime = (10);\n//\t\t\tdriver.manage().timeouts().implicitlyWait(implicitWaitTime, TimeUnit.SECONDS);\n\n\t\t} catch (Exception e) {\n\t\t\t// This is to print the logs - Method Name & Error description/stack\n\t\t\tLog.info(\"Not able to open Browser --- \" + e.getMessage());\n\t\t\t// Set the value of result variable to false\n\t\t\tDriverScript.bResult = false;\n\t\t}\n\t}", "title": "" }, { "docid": "d0db629cae2bc2661baa599a1c18bef7", "score": "0.60154986", "text": "public void onClickOpenWebpageButton(View v) {\n String urlAsString = \"http://www.google.com\";\n openWebPage(urlAsString);\n }", "title": "" }, { "docid": "87c28dbb426db45a5f1315d4a5b712d8", "score": "0.6014546", "text": "@Test\r\n\tpublic void OpenBrowser() throws Throwable{\r\n\t\tString path = System.getProperty(\"propertyName\");\r\n\t\tSystem.out.println(\"Path is \"+ path);\r\n\t\tSystem.setProperty(\"webdriver.gecko.driver\", path);\r\n\t\t\r\n\t\tdriver= new FirefoxDriver();\r\n\t\tdriver.manage().timeouts().implicitlyWait(300, TimeUnit.SECONDS);\r\n\t\tdriver.get(\"https://live.runmyprocess.com/pub/621758689/appli/25209?P_mode=LIVE&P_language=fr\");\r\n\t\tThread.sleep(3000);\r\n\t}", "title": "" }, { "docid": "29b341e1fc8179dd4aecb15888662d26", "score": "0.6013301", "text": "@Override\n public void onClick(View v) {\n Uri websiteUri = Uri.parse(githubUrl.getText().toString());\n\n // Create a new intent to view the Github URI\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, websiteUri);\n\n //Start the Activity on the appropriate Browser\n startActivity(websiteIntent);\n }", "title": "" }, { "docid": "cc60c6440641c53421657305fdf9f48d", "score": "0.60049677", "text": "private void openBrowser(String itemToSearch) {\n\t\tString search = itemToSearch.replace(\" \", \"+\"); //$NON-NLS-1$ //$NON-NLS-2$\n\t\t// ottiene l'uri per la ricerca con google\n\t\tString uri = String.format(\n\t\t\t\t\"http://www.google.it/#sclient=psy&&q=%s&fp=1\", search); //$NON-NLS-1$\n\t\ttry {\n\t\t\tGenericUtil.openBrowser(new URI(uri));\n\t\t} catch (URISyntaxException e) {\n\t\t\tGestLog.Error(this.getClass(), e);\n\t\t} catch (IOException e) {\n\t\t\tGestLog.Error(this.getClass(), e);\n\t\t}\n\t}", "title": "" }, { "docid": "213233561137c382089f0e678a41a243", "score": "0.5975535", "text": "public void website(View v){\r\n\t\t\r\n\t\t v.startAnimation(buttonClick);\r\n\t\t \t\t\r\n\t\tIntent myWebLink = new Intent(android.content.Intent.ACTION_VIEW);\r\n myWebLink.setComponent(new ComponentName(\"com.android.browser\", \"com.android.browser.BrowserActivity\"));\r\n myWebLink.setData(Uri.parse(\"http://spmaverick.com\"));\r\n startActivity(myWebLink);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ef1d93bb274afcddd45612795455a18f", "score": "0.59700656", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tToast.makeText(getApplicationContext(), \"Calling implicit intent\", Toast.LENGTH_SHORT).show();\n\t\t\t\tstartActivity(new Intent(Intent.ACTION_VIEW,Uri.parse(\"http://www.google.com\")));\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "def47fbec03aea7f71853a4745ab654c", "score": "0.5969334", "text": "public void onClick(View v) {\n \t \tIntent browserIntent = new Intent(\"android.intent.action.VIEW\", Uri.parse(mSWJ));\n \t \tstartActivity(browserIntent);\n\n \t }", "title": "" }, { "docid": "68f972790dac2be00bf029bb91af08b9", "score": "0.5958991", "text": "private void setWebActivity(final ContentModelAppMStar content_model) {\n\n\t\tif(content_model.LinkURL.contains(\"playtagg.com\")) {\n\t\t\tAppController.openWebActivityAppMStar(instance, content_model.Title, content_model.LinkURL + SessionController.getToken());\n\t\t}else{\n\n\t\t\tif(content_model.Title.contains(\"Games\")){\n\t\t\t\tcheckGame();\n\t\t\t\t//setGameActivity(content_model);\n\n\t\t\t}\n\t\t\t//AppController.openWebActivity(instance, content_model.Title, content_model.LinkURL);\n\t\t}\n\n\t\t//Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.google.com\"));\n\t\t//Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(content_model.LinkURL + SessionController.getToken()));\n\t\t//startActivity(browserIntent);\n\t}", "title": "" }, { "docid": "89db01b12311aeb88ff126413b689592", "score": "0.5952586", "text": "protected void openInChrome(String url) {\n System.setProperty(\"selenide.browser\", \"chrome\");\n open(url);\n getWebDriver().manage().window().maximize();\n jsExec = (JavascriptExecutor) getWebDriver();\n }", "title": "" }, { "docid": "0b970fc83c4584190abfc7327051c9d1", "score": "0.5952205", "text": "private void redirectHelpPage () {\n String url = \"http://167.71.221.189/support/\";\n Intent intent = new Intent (Intent.ACTION_VIEW, Uri.parse (url));\n intent.addFlags (Intent.FLAG_ACTIVITY_NEW_TASK);\n intent.setPackage (\"com.android.chrome\");\n try {\n requireActivity().startActivity (intent); // if user's device has chrome installed, open via chrome\n }\n catch (ActivityNotFoundException e) {\n intent.setPackage (null);\n requireActivity().startActivity (intent); // if user doesn't have chrome, then ask user to choose browser\n }\n }", "title": "" }, { "docid": "a82a275c5d6749408838019ecf85b6fc", "score": "0.59459096", "text": "@Override\n public void onClick(View v) {\n\n Intent intent = new Intent(Intent.ACTION_VIEW); //implicit intent\n intent.setData(web_info.get(position));\n intent.addCategory(Intent.CATEGORY_BROWSABLE);\n if(intent.resolveActivity(getPackageManager())!=null)\n {\n startActivity(intent);\n }\n Log.i(\"aha\",\"youclickedme\");\n }", "title": "" }, { "docid": "af565a2e7b6a831e55f64ecae84cef29", "score": "0.59417605", "text": "@Given(\"^Launch Browser and Login to RMI Application$\")\n\tpublic void open_Browser_And_Login() throws Throwable {\n\t\t\n\t\toRMISearchStepDef.open_Browser_to_Login();\n\t\t\n\t}", "title": "" }, { "docid": "32c83796dd70934768530a186572d21b", "score": "0.5941404", "text": "protected String generateLaunchCmd(String url) {\n //HACK, needs to be OS/web-browser specific\n return Environment.get(Environment.WebBrowser) + \" \" + url;\n }", "title": "" }, { "docid": "a138b2c85e10c11d3158faedfd18c056", "score": "0.5936082", "text": "public static void openUrl(String url) throws IOException {\n\t\tString os = getSystemOS();\t\t\n\t\tif (os.indexOf(WINDOWS) >= 0) {\n\t\t\t// windows\n\t\t\tRuntime rt = Runtime.getRuntime();\n\t\t\trt.exec( \"rundll32 url.dll,FileProtocolHandler \" + url);\n\t\t} else if (os.indexOf(MAC) >= 0){\n\t\t\t// mac\n\t\t\tRuntime rt = Runtime.getRuntime();\n\t\t\trt.exec( \"open\" + url);\n\t\t} else if (os.indexOf(LINUX) >= 0 || \n\t\t\t\tos.indexOf(UNIX) >=0 ){\n\t\t\t// linux\n\t\t\tRuntime rt = Runtime.getRuntime();\n\t\t\tString[] browsers = {\"epiphany\", \"konqueror\",\n\t\t\t\t\t\"netscape\",\"opera\",\"links\",\"lynx\",\"chromium-browser\",\n\t\t\t\t\t\"firefox\", \"mozilla\",};\n\n\t\t\tStringBuffer cmd = new StringBuffer();\n\t\t\tfor (int i=0; i<browsers.length; i++)\n\t\t\t\tcmd.append( (i==0 ? \"\" : \" || \" ) + browsers[i] +\" \\\"\" + url + \"\\\" \");\n\n\t\t\trt.exec(new String[] { \"sh\", \"-c\", cmd.toString() });\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\t}", "title": "" }, { "docid": "858342e5b0875a53861e429f1d8f7233", "score": "0.5894722", "text": "public default void start(){\n System.out.println(\"Starting Browser ....\");\n }", "title": "" }, { "docid": "432b8dd1a11efd9fd94dc888470aad9e", "score": "0.58839625", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tUri uri= Uri.parse(\"http://www.dreamanimators.com/\");\n\t\t\t\tIntent intent = new Intent(Intent.ACTION_VIEW,uri);\n\t\t\t\tstartActivity(intent);\n\t\t\t}", "title": "" }, { "docid": "f9d65fda0f14da701a60b136e0bcb91b", "score": "0.58802116", "text": "private void OnClickListener() {\n\t\t\t\tUri uri = Uri.parse(\"https://m.facebook.com/dikisatria.toejoehx?v=info&refid=17\");\n\t\t\t\tIntent intent= new Intent(Intent.ACTION_VIEW, uri);\n\t\t\t\tstartActivity(intent);\n\t\t\t\t}", "title": "" }, { "docid": "b224caf8ba836db96fa82b0ce090a6dd", "score": "0.58789444", "text": "protected void sendTo(String url) {\n\n if (!oldWay) {\n// try {\n// edu.stanford.ejalbert.BrowserLauncher.openURL(url);\n// } catch (IOException ioe) {\n// Debug.error(\"WebBrowser caught IOException loading webpage (\"\n// + url.toString() + \")\\n\" + ioe.getMessage());\n// }\n return;\n\n } else {\n\n //Should work for Unix or Windows.\n\n String cmd;\n String arch = Environment.get(\"os.arch\");\n// String osname = Environment.get(\"os.name\");\n\n if (Environment.isApplet()) {\n try {\n java.applet.Applet applet = Environment.getApplet();\n java.applet.AppletContext ac = applet.getAppletContext();\n ac.showDocument(new URL(url), \"otherFrame\");\n } catch (java.net.MalformedURLException e) {\n System.err.println(\"WebBrowser.sendTo: \" + e);\n postErrorMessage(\"Cannot show document: \"\n + Environment.get(\"line.separator\") + e);\n }\n return;\n }\n\n if (arch.equals(\"x86\")) {\n // Windows HACK\n cmd = Environment.get(Environment.WebBrowser) + \" \" + url;\n } else {\n // Assume Unix HACK\n cmd = Environment.get(Environment.WebBrowser)\n + \" -remote OpenURL(\" + url + \")\";\n }\n\n try {\n Debug.message(\"www\", \"WebBrowser.sendTo: \" + cmd);\n Runtime.getRuntime().exec(cmd).waitFor();\n } catch (IOException e) {\n System.err.println(\"WebBrowser.sendTo: \" + e);\n postErrorMessage(\"Cannot start WebBrowser: \"\n + Environment.get(\"line.separator\") + e);\n } catch (InterruptedException f) {\n System.err.println(\"WebBrowser.sendTo: interrupted\");\n }\n }\n }", "title": "" }, { "docid": "2eb8036f9ec3f7c463e0e1ff9f2cd4f8", "score": "0.5878112", "text": "public void openLink(View view){\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(vaga.getUrl_sine()));\n startActivity(intent);\n }", "title": "" }, { "docid": "711ee8e0467cc65846a7fa3e4ca4b30f", "score": "0.5873993", "text": "public void openBrowser(String browser) {\n if (config.getProperty(\"browserType\").equalsIgnoreCase(\"Mozilla\"))\n driver = new FirefoxDriver();\n else if (config.getProperty(\"browserType\").equalsIgnoreCase(\"Chrome\")) {\n System.setProperty(\"webdriver.chrome.driver\", \"drivers/chromedriver.exe\");\n driver = new ChromeDriver();\n }\n\n driver.manage().window().maximize();\n driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);\n }", "title": "" }, { "docid": "b752fcb40305b3c479102fee276f45a3", "score": "0.5873322", "text": "public void openProductPage(View view) {\n String url = getIntent().getStringExtra(\"productURL\");\n Uri webpage = Uri.parse(url);\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n Log.wtf(\"openProductPage\", \"Opening product page\");\n startActivity(intent);\n }", "title": "" }, { "docid": "40b177700fda97180e81e0ec8bd15378", "score": "0.58722997", "text": "public static void openUrl(Context context, String url) {\n if (isNetworkAvailable(context)) {\n try {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n context.startActivity(browserIntent);\n } catch (Exception e) {\n e.printStackTrace();\n }\n } else {\n displayToast(context, context.getResources().getString(R.string.no_internet_connection));\n }\n }", "title": "" }, { "docid": "46482bb842f95d5f0239364055e64076", "score": "0.58685", "text": "@Given(\"User has launched the application\")\npublic void user_has_launched_the_application() {\n\t System.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\training_h2a.06.15\\\\Desktop\\\\TESTING\\\\selenium\\\\SeleniumBroDrivers\\\\SeleniumBroDrivers\\\\chromedriver.exe\");\n\t driver=new ChromeDriver();\n driver.get(\"http://newtours.demoaut.com/\");\n driver.manage().window().maximize();\n}", "title": "" }, { "docid": "5135128c7a4aebbf75432731e861319e", "score": "0.585929", "text": "@Given(\"User Launched the app of Mercury Tours\")\npublic void user_Launched_the_app_of_Mercury_Tours() {\n\tSystem.setProperty(\"webdriver.chrome.driver\",\"C:\\\\Users\\\\training_h2a.06.15\\\\Desktop\\\\TESTING\\\\selenium\\\\SeleniumBroDrivers\\\\SeleniumBroDrivers\\\\chromedriver.exe\");\n\t driver=new ChromeDriver();\n driver.get(\"http://newtours.demoaut.com/\");\n driver.manage().window().maximize();\n}", "title": "" }, { "docid": "27df3bdbc303803709b7918f5b36a3a8", "score": "0.58590597", "text": "public static void main(String[] args)\n\t{\n\t\tFirefoxDriver sridevi = new FirefoxDriver();\n\t\t\n\t\t// Object always represents to the Class itself\n\t\t// Open an application URL on the Browser using get() \n\t\t\n\t\tsridevi.get(\"http://google.com\");\n\t\t\n\t\tsridevi.navigate().to(\"http://facebook.com\");\n\t\t\n\t\t// to close the Browser\n\t\t// sridevi.close();\n\n\t}", "title": "" }, { "docid": "7a0cde92bbc31ccfc03e4b5acf622cc3", "score": "0.5855387", "text": "public void invokeBrowser()\r\n\t{\t\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C://Users/User/workspace_1/chromedriver.exe\");\r\n\t\t// Sets the path of the chromedriver\r\n\t\t\r\n\t\tdriver = new ChromeDriver();\r\n\t\t// assigns driver to ChromeDriver\r\n\t\t\r\n\t\tdriver.manage().window().maximize(); \r\n\t\t// Maximizes the browser window\r\n\t\t\r\n\t\tdriver.manage().timeouts().pageLoadTimeout(50, TimeUnit.SECONDS); \r\n\t\t//Gives webpage 50 seconds to load.\r\n\t\t\r\n\t\t//driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\r\n\t\t//implicitly waits 10 seconds to solve any sync issues\r\n\t\t\r\n\t\tdriver.get(flipkartURL);\r\n\t\t// loads the URL of Flipkart.com\r\n\t}", "title": "" }, { "docid": "17aab0fffb773b81049b1d2f1fe51c1e", "score": "0.5854556", "text": "@Test(description = \"Step 1: Open the browser, Enter the Watchable URL\", priority = 1)\r\n\tpublic void Step01_NavigeteToURL() throws Exception {\r\n\r\n\t\t// Navigates to Watchable mobile web URL\r\n\t\tHomeFun.navigateToWatchable_URL();\r\n\r\n\t\t// Verify successfully navigate to home page\r\n\t\tAssertions.assertWatchableTitle();\r\n\r\n\t\tlog.info(\"Successfully navigated to Watchable Mobile web Home page \\n\");\r\n\t\tReporter.log(\"<p>Successfully navigated to Watchable Mobile web Home page\");\r\n\r\n\t}", "title": "" }, { "docid": "2aaa7ab4f32b455b9da0e4d2a1cb7d4b", "score": "0.5852201", "text": "@Before\tpublic void Openbrowser()// called every time before executing the Test\n{\n\tSystem.out.println(\"Opening the browser\");\n\t\n\t}", "title": "" }, { "docid": "4e41f4851cb988cd866e74a096013236", "score": "0.584864", "text": "@Override\n public void launchWebView (String url) {\n Log.d(TAG, \"launchWebView() => \" + url);\n Intent intent = new Intent(this, WebViewActivity.class);\n\t\tintent.putExtra(WebViewActivity.KEY_URL_WEBVIEW, url);\n\t\tintent.putExtra(Constants.ExtraIntent.IS_ACTION_ACTIVITY, true);\n\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\t\tstartActivity(intent);\n }", "title": "" }, { "docid": "8520392676319821965fdc64a01e51c7", "score": "0.5833282", "text": "public void startApp(String browser, String url){\r\n\t\ttry {\r\n\t\t\tif (browser.equalsIgnoreCase(\"chrome\")) {\r\n\t\t\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./drivers/chromedriver.exe\");\r\n\t\t\t\tdriver = new ChromeDriver();\r\n\t\t\t} else if (browser.equalsIgnoreCase(\"firefox\")) {\r\n\t\t\t\tSystem.setProperty(\"webdriver.gecko.driver\", \"./drivers/geckoriver.exe\");\r\n\t\t\t\tdriver = new FirefoxDriver();\r\n\t\t\t}\r\n\t\t\tdriver.manage().window().maximize();\r\n\t\t\tdriver.get(url);\r\n\t\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\r\n\t\t\t System.out.println(\"The Browser \" + browser + \" is Launched Successfully\");\r\n\t\t\t//reportStep(\"The Browser \" + browser + \" is Launched Successfully\",\"pass\");\r\n\t\t} catch (WebDriverException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tSystem.out.println(\"WebDriver Exception has Occurred\");\r\n\t\t\t//reportStep(\"WebDriver Exception has Occurred\",\"fail\");\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\t//System.out.println(\"Exception has Occurred\");\r\n\t\t\treportStep(\"Exception has Occurred\",\"fail\");\r\n\t\t\tthrow new RuntimeException();\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tfinally {\r\n\t\t\ttakeSnap();\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "ec614636337b0ecbc86fa5453900dd40", "score": "0.5824091", "text": "public void actionPerformed(ActionEvent e) {\n JOptionPane.showConfirmDialog(\r\n null, \r\n \"Your browser will open to page \" + urlString + \" in a moment\\n\", \r\n \"Browse to SimTK.org\",\r\n JOptionPane.DEFAULT_OPTION, \r\n JOptionPane.INFORMATION_MESSAGE\r\n );\r\n\r\n // New way\r\n URL url;\r\n try {url = new URL(urlString);} \r\n catch (MalformedURLException exc) {\r\n launchErrorConfirmDialog(\"Problem opening browser to page \" + urlString + \"\\n\" + exc,\r\n \"Web URL error!\");\r\n return;\r\n }\r\n try {\r\n // This only works when started in a web start application\r\n BasicService bs = (BasicService)ServiceManager.lookup(\"javax.jnlp.BasicService\");\r\n boolean result = bs.showDocument(url);\r\n } \r\n catch (UnavailableServiceException exc) {\r\n // launchErrorConfirmDialog(\"Problem opening browser to page \" + urlString + \"\\n\" + exc,\r\n // \"JNLP Error!\");\r\n try {BrowserLauncher.openURL(urlString);}\r\n catch (IOException exc2) {\r\n launchErrorConfirmDialog(\"Problem opening browser to page \" + urlString + \"\\n\" + exc2,\r\n \"Web URL error!\");\r\n } \r\n }\r\n }", "title": "" }, { "docid": "28952e410a639a6a047c338b19a289df", "score": "0.5817548", "text": "DesktopAgent getDesktop();", "title": "" }, { "docid": "3c86bc3e49a1ef9c297cb1946405b61c", "score": "0.5813423", "text": "protected void seleniumOpen (String url) {\n this.selenium.open (this.contextRoot + \"/\" + url);\n }", "title": "" }, { "docid": "2067f35c3435524b059d6d52b6361770", "score": "0.5805847", "text": "public void invokeApp(String browser) {\r\n\t\tinvokeApp(browser,false);\r\n\t}", "title": "" } ]
63e37e557c78efea7aed3361984f15c9
vigilantManagerImplMock = new VigilantManagerImpl();
[ { "docid": "8343ffec1418ff1dc2ad87fe32e04ada", "score": "0.68872744", "text": "@Before\n\tpublic void setup() {\n\t\tvigilantManagerImpl = new VigilantManagerImpl();\n\t\tvigilantDao = new VigilantDaoImpl();\n\t\tvigilantDaoImpl = new VigilantDaoImpl();\n\t\tparkingLotDao = new ParkingLotDaoImpl();\n\t\tparkingLotDaoImpl = new ParkingLotDaoImpl();\n\n\t}", "title": "" } ]
[ { "docid": "f9bfbf739f30c183edc2aa572b40fa7c", "score": "0.6504205", "text": "@Before\n\tpublic void setUp()\n\t{\n\t\tgarageServiceImpl = new GarageServiceImpl();\n\t\tgarageServiceImpl.setCarServiceHistoryServiceImpl(carServiceHistoryServiceImpl);\n\t\tsparkPlugs = getWorkingSparkPlugs();\n\n\t\tcar = new Car();\n\t\tengine = mock(Engine.class);\n\t\tcar.setEngine(engine);\n\t}", "title": "" }, { "docid": "57a4d51b6a71b4ad2768e187c0e38acc", "score": "0.62386984", "text": "@Before\n public void setUp() {\n ////// MOCKING CLASSES //////\n /////////////////////////////////\n\n FirebaseFirestore mockFirestore = mock(FirebaseFirestore.class);\n FirebaseAuth mockFireAuth = mock(FirebaseAuth.class);\n FirebaseUser mockFireUser = mock(FirebaseUser.class);\n CollectionReference mockCollections = mock(CollectionReference.class);\n DocumentReference mockDocs = mock(DocumentReference.class);\n\n ///////////////////////////////////\n ////// MOCKING FUNCTIONS //////\n ///////////////////////////////////\n\n// doReturn(mockFireUser).when(mockFireAuth).getCurrentUser();\n// doReturn(\"example\").when(mockFireUser).getUid();\n doReturn(mockCollections).when(mockFirestore).collection(anyString());\n doReturn(mockDocs).when(mockCollections).document(anyString());\n\n //////////////////////////////////\n ///// Penalty Management /////\n //////////////////////////////////\n\n pm = new PenaltyManagement(mockFirestore, mockFireAuth, \"gid1\", \"group1\", \"example\");\n PenaltyManagement.addPenalty(\"gid1\", \"This is a penalty\", \"Penalty1\");\n }", "title": "" }, { "docid": "47ade7f9b6c80eeb61a4ccc3d216a277", "score": "0.62272966", "text": "@Test\n public void testSetInstance() {\n XMLParser xmlParser = new XMLParser();\n //Crea mock object\n XMLParser xmlParser2 = Mockito.mock(XMLParser.class);\n //Inyecta dependencia\n xmlParser.setInstance(xmlParser2);\n //Invoca método a probar\n Assert.assertNotNull(xmlParser.getInstance());\n }", "title": "" }, { "docid": "70d8bef0cd957088ae6c59e613964846", "score": "0.6189019", "text": "@BeforeClass\n public static void setUpClass()\n {\n parkingBayNumber = 1;\n mealDispatcher = new InFlightMealDispatcher();\n cateringDispatcher = new CateringTrollyDispatcher();\n allFood = new FoodDispatcher();\n allFood.registerObserver(mealDispatcher);\n allFood.registerObserver(cateringDispatcher);\n catering = new FoodDispatcher();\n catering.registerObserver(cateringDispatcher);\n meals = new FoodDispatcher();\n meals.registerObserver(mealDispatcher);\n fueler = new FuelDispatcher();\n luggage = new LuggageDispatcher();\n passengers = new PassengerDispatcher();\n }", "title": "" }, { "docid": "2b871cbb93cd59879e6d6481cb2b9856", "score": "0.6164726", "text": "public static void setupMockPaymentService() {\n paymentServiceInstance= new MockPaymentService();\n }", "title": "" }, { "docid": "9d2a31170046ccb12a31fd503245f702", "score": "0.6147077", "text": "@Test\n public void testAddValideMock() throws PanierPleinException {\n System.out.println(\"add Valide Mock\");\n \n //p4 : panier vide\n\tassertTrue(p4.getTaille() == 0);\n p4.ajoute(mocko1);\n assertTrue(p4.getTaille() == 1);\n p4.ajoute(mocko2);\n assertTrue(p4.getTaille() == 2);\n }", "title": "" }, { "docid": "16edd5f8c812fb2ce37fbde151a1ffde", "score": "0.614017", "text": "@Before\n public void setMock(){\n Config.setIsMock(true);\n Config.setIsMockScanner(true);\n }", "title": "" }, { "docid": "e9d9d17872d1cb1110139a08787a4609", "score": "0.61078894", "text": "@Before\r\n public void setUp() {\r\n instance = new TermsOfUse();\r\n }", "title": "" }, { "docid": "55685cc2dad9f16858cb97daa901328d", "score": "0.60565144", "text": "MockProvider getMockProvider();", "title": "" }, { "docid": "0acda8e9c857e978b4d7c7dfe9d487bb", "score": "0.60484016", "text": "public AuthenFacadeNGTest() {\n\t\t// authenFacade = injector.getInstance(AuthenFacade.class);\n\t}", "title": "" }, { "docid": "8a3f20dd2fd79499bdac78a3594007df", "score": "0.60415965", "text": "@Before\n public void setUp() {\n gestor = new GestorCuadrilla(new ArrayListCuadrilla());\n }", "title": "" }, { "docid": "27db082c20df0b00c7b176d1233b1a82", "score": "0.6005176", "text": "public ClimberTest()\n {\n }", "title": "" }, { "docid": "f3b62ddc2d52fe04689136847ed97e48", "score": "0.6003754", "text": "public mockup() {\n try {\n setUp();\n } catch (Exception ex) {\n\t String msg = \"Database setup failed.\";\n LOGGER.log(Level.SEVERE, msg, ex);\n }\n initComponents();\n \n paymentManager = new PaymentManagerImpl(embeddedDataSource);\n entityManager = new EntityManagerImpl(embeddedDataSource);\n \n \n \n }", "title": "" }, { "docid": "e4f9c2cfab73ac23ef9fc7f10eb5aff2", "score": "0.5997138", "text": "public VideoOpsImpl() {\n mVideoServiceMediator = new VideoServiceMediator();//create an instance of the videoservice mediator\n }", "title": "" }, { "docid": "45692ff31a328f38cabc7840ec9f8436", "score": "0.59867847", "text": "@BeforeEach\n void setup(){ liquid = new Liquid(\"Wein\",0.250,12.5); }", "title": "" }, { "docid": "df05768f87a71ae5ed3d91290a2daca2", "score": "0.59853023", "text": "@Before\r\n public void setUp() {\r\n instance = new Authorization();\r\n }", "title": "" }, { "docid": "74acf59028d52e60ab87721a6dbe173c", "score": "0.5973861", "text": "@Before\n public void setUp() {\n mail = new MailerServiceDouble();\n sign = new SignatureServiceDouble();\n val = new ValidationServiceDouble();\n voteDB = new VoteDBDouble();\n votePrint = new VotePrinterDouble();\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "3d383bdb5747db3b68d53b9ebaa77469", "score": "0.5969894", "text": "@Before\n public void setUp()\n {\n }", "title": "" }, { "docid": "8809a19681e82fff6d34a4347b0fc7a7", "score": "0.596645", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "e20bafb3944afc4cb33cab52e500c40c", "score": "0.59536946", "text": "@Before\n public void setUp(){\n MockitoAnnotations.initMocks(this);\n user = new User(5L,\"Shivani\", BCrypt.hashpw(\"shivani\", BCrypt.gensalt()),\"Shivani\",\"sajjan\",\"26-08-1998\",\"reader\",\"[email protected]\",9145533692L,\"female\",\"Indian\",\"vallabh nagar\",\"wanaparthy\",\"Mahabubnagar\");\n }", "title": "" }, { "docid": "fef4d2ddeca37efa5b682a27d2b9d76c", "score": "0.5948412", "text": "@Before\n public void setUp() {\n googleMapDistance = new MapDistance();\n }", "title": "" }, { "docid": "8962cf04adf0099c1a4399e589abfda7", "score": "0.5942132", "text": "@Test\n public void testSetUsuarioMedico() {\n System.out.println(\"setUsuarioMedico\");\n Usuario usuarioMedico = null;\n Medico instance = new Medico();\n instance.setUsuarioMedico(usuarioMedico);\n\n }", "title": "" }, { "docid": "229e39a1c4be99e16d99e61e85c40e20", "score": "0.5930389", "text": "@Before\n public void setUp() {\n \tdbHandler = new DB2DatabaseHandler(Mockito.mock(Connection.class));\n }", "title": "" }, { "docid": "d911acb4a7ae64dc2e325c6b3f4dea80", "score": "0.5928759", "text": "@Before\n public void setUp() {\n Context context = InstrumentationRegistry.getTargetContext();\n DatabaseHelper mDatabaseHelper = DatabaseHelper.getHelper(context);\n DatabaseManager.initializeInstance(mDatabaseHelper);\n// DatabaseManager mDatabaseManager=DatabaseManager.getInstance();\n cdf = new CacheDataLoader();\n roomDao=new RoomDao();\n hotel1 = new Hotel(1,\"foo\",\"bar\",\"address\", 41, \"[email protected]\");\n }", "title": "" }, { "docid": "a171f643794b0bde9b7d2e3fe22ac736", "score": "0.592383", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "a171f643794b0bde9b7d2e3fe22ac736", "score": "0.592383", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "a171f643794b0bde9b7d2e3fe22ac736", "score": "0.592383", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "a171f643794b0bde9b7d2e3fe22ac736", "score": "0.592383", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "a171f643794b0bde9b7d2e3fe22ac736", "score": "0.592383", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "a171f643794b0bde9b7d2e3fe22ac736", "score": "0.592383", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "a171f643794b0bde9b7d2e3fe22ac736", "score": "0.592383", "text": "@Before\n public void setUp() {\n }", "title": "" }, { "docid": "b0f1ed4fede62592d5c01aeb54670a55", "score": "0.5912474", "text": "@Before\n public void setUp(){\n MockitoAnnotations.initMocks(this);\n Mockito.reset(departmentService);\n dispatcher.getRegistry().addSingletonResource(departmentRest);\n }", "title": "" }, { "docid": "2d411a3ce8cd98380f5ee80d6f17031f", "score": "0.5910155", "text": "@Before\n public void test() {\n test = new Ean();\n }", "title": "" }, { "docid": "67d9da4eb3116734cd73c933f11fa722", "score": "0.5909766", "text": "@Override\r\n public void setUp() {\n\r\n }", "title": "" }, { "docid": "ef70872a6a3c9f50ffeacc567e96883c", "score": "0.589782", "text": "@BeforeTest\n\tpublic void init() {\n\t\tcalculator=new Calculator();\n\t}", "title": "" }, { "docid": "5b79e6e0a2878e5512a22d84b7dc1571", "score": "0.5897441", "text": "private void setupInventoryServiceTest() {\n\n\t\tMockitoAnnotations.initMocks(this);\n\n\t\t// Initializing a list;\n\t\tinvList = new ArrayList<>();\n\n\t\t// Creating Inventory Object.\n\t\tinv = new Inventory();\n\t\tinv.setId(UUID.randomUUID().toString());\n\t\tinv.setLocationId(\"ftd\");\n\t\tinv.setSkuId(\"sku1\");\n\t\tinv.setStockLevel(100);\n\t\tinv.setStockLevelWithFraction(100.0);\n\t\tinvList.add(inv);\n\n\t}", "title": "" }, { "docid": "056c8cc968f208feeadecaf40501c028", "score": "0.5885403", "text": "@Before\n public void setUp() {\n \n }", "title": "" }, { "docid": "c708e7ba9a27da85bfabfee12e000d39", "score": "0.588188", "text": "@Before\n public void setUp() throws Exception\n {\n Drzewo = new Drzewo(); \n Wezel<String> korzen = new Wezel<String>(null,\"G\");\n Drzewo2 = new Drzewo(korzen); \n }", "title": "" }, { "docid": "bc5ec2470895dd4d0222a5c4e636e4b7", "score": "0.5880969", "text": "protected void setUp() {\n instance = new Reference();\n }", "title": "" }, { "docid": "2c1818b04daed2ec8f0e0912290cdd03", "score": "0.58796614", "text": "public void testRepoduce();", "title": "" }, { "docid": "64cc656c731bd12a359700a93277fed6", "score": "0.5865089", "text": "TestObjectListFacade(){\n }", "title": "" }, { "docid": "87f57c208fb5c67dc5f90e5c2b4409d3", "score": "0.58629364", "text": "@Before\n public void setUp()\n {\n alpha = new Planet(\"Alpha\", \"Welcome on the planet alpha\", 10, 10); \n room1 = new Room(\"room1\", alpha); \n door = new Door(room1); \n }", "title": "" }, { "docid": "3654768ddc9895b9ed2c48a65f793f50", "score": "0.5861297", "text": "@Before\r\n public void setUp() {\n }", "title": "" }, { "docid": "5d589673014530c174350ea1f28cb5e2", "score": "0.58523977", "text": "@Before public void setUp() \n {\n }", "title": "" }, { "docid": "56c74e647cb22d5e107787c664542f52", "score": "0.58500123", "text": "public LimousineTest(){\n\t\tsuper();\n\t}", "title": "" }, { "docid": "8c5e7157f3367a7a8bb6b1a4625cdb98", "score": "0.5844102", "text": "@Override\n @Before\n public void setUp() {\n super.setUp();\n }", "title": "" }, { "docid": "2c6870de9cf5706616978a5642a48f1a", "score": "0.58422446", "text": "@Before\n public void setUp()\n {\n testClimber = new Climber(\"Junyan\",26,\"male\");\n }", "title": "" }, { "docid": "32a7e0a79cc5856ac2fc9570c5465ed9", "score": "0.5829491", "text": "@BeforeClass\n public static void classSetUp(){\n ic = new IntegerContainer();\n }", "title": "" }, { "docid": "2b411430f51f5e4ceaa893d7fe300d9c", "score": "0.58275616", "text": "@Before\n public void setUp(){\n\n }", "title": "" }, { "docid": "2eafd0a642d7b967255169be4b5bebc1", "score": "0.5827115", "text": "@Before\n\tpublic void setup(){\n\t\tMockitoAnnotations.initMocks(this);\n\t\tList<AcaoLancamentoPedido> acoes = Arrays.asList(notificadorEmail, notificadorSms);\n\t\tpedidoService = new PedidoService(pedidos, acoes);\n\t\tpedido = new PedidoBuilder()\n\t\t\t.comValor(100.0)\n\t\t\t.para(\"Joćo\", \"[email protected]\", \"9999-0000\")\n\t\t\t.contruir();\n\t}", "title": "" }, { "docid": "6749c80ff8091ab5f6764f10cc126a86", "score": "0.5825857", "text": "@Test\n public void testGetUtilizadorAndSetUtilizador() {\n System.out.println(\"testeUtilizador\");\n Utilizador u = new Utilizador();\n FAE instance = new FAE();\n instance.setUtilizador(u);\n Utilizador expResult = u;\n Utilizador result = instance.getUtilizador();\n assertEquals(expResult, result);\n \n }", "title": "" }, { "docid": "d987652e8169bf003d72b4e345b61caa", "score": "0.5811229", "text": "@Before\n\tpublic void setup() {\n\t\tf = mock(Factory.class);\n\n\t\televatorFront = mock(WPI_TalonSRX.class);\n\t\televatorBack = mock(WPI_TalonSRX.class);\n\t\tfeeder = mock(WPI_TalonSRX.class);\n\n\t\t// mockShooterLeft = new MockCANSparkMax();\n\t\t// mockShooterRight = new MockCANSparkMax();\n\n\t\t// shooterLeft = mockShooterLeft.getMock();\n\t\t// shooterRight = mockShooterRight.getMock();\n\n\t\twhen(f.createTalon(Constants.kFrontElevatorTalon)).thenReturn(elevatorFront);\n\t\twhen(f.createTalon(Constants.kRearElevatorTalon)).thenReturn(elevatorBack);\n\n\t\twhen(f.createTalon(Constants.kFeederTalon)).thenReturn(feeder);\n\n\t\t/*\n\t\t * when(f.createSpark(Constants.kLeftShooterSpark)).thenReturn(shooterLeft);\n\t\t * when(f.createSpark(Constants.kRightShooterSpark)).thenReturn(shooterRight);\n\t\t */\n\n\t\tHAL.initialize(500, 0);\n\t\tDriverStationSim dsSim = new DriverStationSim();\n\t\tdsSim.setDsAttached(true);\n\t\tdsSim.setAutonomous(false);\n\t\tdsSim.setEnabled(true);\n\t\tdsSim.setTest(true);\n\t}", "title": "" }, { "docid": "5eb7f6fea382521026c738827aa9e57d", "score": "0.58041894", "text": "@Before\n\tpublic void setUp() throws Exception \n\t{\n\t\tthis.np = new NetPlan ();\n\t}", "title": "" }, { "docid": "29bd5d855e13df610d287914bb99a6e9", "score": "0.5803386", "text": "@Before\r\n\tpublic void initMocks() {\r\n\t\tMockitoAnnotations.initMocks(this);\r\n\t}", "title": "" }, { "docid": "ce306ebf3689f3903769e5002e54e48a", "score": "0.5801581", "text": "@Before\r\n\tpublic void setUp() throws Exception{\n cal = new Calcuate();\r\n\t}", "title": "" }, { "docid": "e843583e586aa6dcde82e7c053c3d564", "score": "0.5797545", "text": "@BeforeEach\n public void setup(){\n request = mock(Request.class);\n session = mock(Session.class);\n when(request.session()).thenReturn(session);\n response = mock(Response.class);\n engine = mock(TemplateEngine.class);\n\n //build the friendly PlayerLobby object\n lobby = new PlayerLobby();\n lobby.addPlayer(ALREADY_IN_USE);\n\n //create a unique CuT for each test\n CuT = new PostSigninRoute(engine, lobby);\n }", "title": "" }, { "docid": "fd4042ff4c5ce8bff3cbff1734950110", "score": "0.57828337", "text": "@BeforeClass\n public static void setup() {\n obj1 = new member(\"Harry potter\",30,2500.3f);\n\n }", "title": "" }, { "docid": "66d22bacec614deef7fdf902783e7a34", "score": "0.5779187", "text": "@BeforeEach\n void setUp() {\n this.instance = new Employee();\n }", "title": "" }, { "docid": "112711b2dd730f95836d3221032ec4cd", "score": "0.57781905", "text": "@Before\n public void setup() {\n mockedContainer = Mockito.mock(Modifiable.class);\n wrapper = new ResourcesWrapper();\n bubble = new BacchelliBubble(wrapper, 0, 0);\n }", "title": "" }, { "docid": "21f1d38b7f390dcafbeef0a0c6bd1d15", "score": "0.57746905", "text": "@Before\n\tpublic void setUp() {\n\t}", "title": "" }, { "docid": "21f1d38b7f390dcafbeef0a0c6bd1d15", "score": "0.57746905", "text": "@Before\n\tpublic void setUp() {\n\t}", "title": "" }, { "docid": "ad46b5022212de57f07e0d879b869fd6", "score": "0.57745785", "text": "public TestLibrary()\n {\n }", "title": "" }, { "docid": "10c54e21943ec60f9cf21ee8dc215b75", "score": "0.5763748", "text": "private PhaseOfMoon () { }", "title": "" }, { "docid": "f126be6e59cb04e0a4eabbb7bcc54be7", "score": "0.57637215", "text": "@Before\r\n\tpublic void setUp() {\r\n\t\tps = new ControlPayStation();\r\n\t}", "title": "" }, { "docid": "ebf6fcfac6f4cef1874a20abcad8e6dc", "score": "0.5761457", "text": "@Before\r\n\tpublic void setUp() throws Exception\r\n\t{\n\t\tmorpions = new ModeleMorpions() ;\r\n\t}", "title": "" }, { "docid": "d995415b40a367cacc4c265c074a47a0", "score": "0.5760276", "text": "@Before\r\n\tpublic void setUp() {\r\n\t}", "title": "" }, { "docid": "d995415b40a367cacc4c265c074a47a0", "score": "0.5760276", "text": "@Before\r\n\tpublic void setUp() {\r\n\t}", "title": "" }, { "docid": "e5522b1e826fd740587a82ff3e80543d", "score": "0.5756738", "text": "@Before\n\tpublic void setUp()\n\t{\n\t}", "title": "" }, { "docid": "e68dd75a0496526883d39908d288aa7e", "score": "0.57551116", "text": "@Test\n public void testPrepareCenterEvidence2() {\n RightCountMetricBean rightCountBean = new RightCountMetricBean();\n // Crea mock object\n Metric metric = Mockito.mock(Metric.class);\n GlobalEvaluation evalBean = Mockito.mock(GlobalEvaluation.class);\n LeftMetricList leftMetricBean = Mockito.mock(LeftMetricList.class);\n CenterEvidence centerEvidence = Mockito.mock(CenterEvidence.class);\n // Inyecta dependencias\n rightCountBean.setCenterEvidence(centerEvidence);\n rightCountBean.setMetric(metric);\n rightCountBean.setLeftMetricBean(leftMetricBean);\n // Define comportamiento\n Mockito.when(leftMetricBean.getGlobalEvaluation()).thenReturn(evalBean);\n // Invoca método a probar\n rightCountBean.prepareCenterEvidence(EnumEvidenceType.VIDEO.toString());\n }", "title": "" }, { "docid": "9a0558e8bcc4fefe416ecb7c537c4812", "score": "0.57518715", "text": "@Before\n public void createInstance() {\n }", "title": "" }, { "docid": "4116f44904ab2aecdce9cd58b4a65129", "score": "0.57503486", "text": "@BeforeEach\n void init() {\n session = mock(Session.class);\n request = mock(Request.class);\n when(request.session()).thenReturn(session);\n response = mock(Response.class);\n gson = new Gson();\n current = new Player(\"Player1\");\n other = new Player(\"Player2\");\n gameCenter = new GameCenter();\n getReplayStopRoute = new GetReplayStopRoute(gson, gameCenter);\n }", "title": "" }, { "docid": "527d7941974eb9d3d6a65a769b8b3077", "score": "0.57488763", "text": "@Test\n public void testSetPersonaMedico() {\n System.out.println(\"setPersonaMedico\");\n Persona personaMedico = null;\n Medico instance = new Medico();\n instance.setPersonaMedico(personaMedico);\n \n }", "title": "" }, { "docid": "31ad20808254eb48ee70b1a381d97456", "score": "0.57488334", "text": "@Before public void setUp() {\n \n }", "title": "" }, { "docid": "c198bf54deabded65eced77a9c37d9e7", "score": "0.5737048", "text": "@BeforeEach\n public void init() {\n MockitoAnnotations.initMocks(this);\n mockMvc = MockMvcBuilders\n .standaloneSetup(buildingRequestController)\n .build();\n\n openingTime = Timestamp.valueOf(\"2020-02-04 09:30:00\");\n closingTime = Timestamp.valueOf(\"2020-04-09 22:30:00\");\n timeSlot = new TimeSlot(openingTime, closingTime);\n details = new Details(45L,\"EECMS\",\n \"This is the faculty of computer science, mathematics and electrical engineering\", \"EECMS.png\");\n reservable = new Bike(456L, details);\n reservableList = new ArrayList<>();\n reservableList.add(reservable);\n mockBuilding1 = new Building(36L, details, timeSlot, reservableList);\n mockBuilding2 = new Building(28L, details, timeSlot, reservableList);\n\n }", "title": "" }, { "docid": "1e631f53029959b21dc43bdbb9028138", "score": "0.5734164", "text": "public interface MockedClass {\n\n}", "title": "" }, { "docid": "df985fec50c487bf0b41f5364dddf3ac", "score": "0.5730282", "text": "@Test\n\tvoid testAjouterPlatAvecDao() {\n\t\tplatService1.ajouterPlat(\"Paella\", 3500);\n\t\tMockito.verify(dao).ajouterPlat(\"Paella\", 3500);\n\t}", "title": "" }, { "docid": "2a0b53ff648cd201ec83b20754ecb88c", "score": "0.5730218", "text": "public TicketMachineTest()\n {\n }", "title": "" }, { "docid": "1a008722cc845064b82715e7c85f3a5a", "score": "0.5726092", "text": "@Before\r\n\tpublic void setUp() {\n\t}", "title": "" }, { "docid": "ae1f6bd11639742cb25513e7cf737540", "score": "0.5715517", "text": "@Before\n public void setUp()\n {\n Transport = new TransporterRoom(\"The transporter room\");\n }", "title": "" }, { "docid": "004bbac2d03beb278fcb6e3a4937e69e", "score": "0.57141215", "text": "MockComputer() {\n\n }", "title": "" }, { "docid": "bdbd3b77aae33098ad9f25c334559ec6", "score": "0.5712883", "text": "public UnitTest()\n {\n }", "title": "" }, { "docid": "cc5ca1706b3eebaed380d19c7a3a5dee", "score": "0.5711277", "text": "@Before\n public void initConnexion() {\n Intent startIntent = new Intent();\n startIntent.putExtra(MainActivity.AUTOCONNECT, false);\n mActivityRule.launchActivity(startIntent);\n\n\n MockitoAnnotations.initMocks(this);\n\n mActivityRule.getActivity().runOnUiThread(new Runnable() {\n @Override\n public void run() {\n mActivityRule.getActivity().setConnexion(connexion);\n mActivityRule.getActivity().initVue();\n }\n });\n\n\n\n }", "title": "" }, { "docid": "ff7e8fd937547eec7febf383cceef1e1", "score": "0.5708576", "text": "@Override\n protected void setUp() {\n \n }", "title": "" }, { "docid": "e8916cf562d2aebda1544c936bb67196", "score": "0.56996226", "text": "public void testEquipos(){\n\n\n }", "title": "" }, { "docid": "66293b758119c7dbca2d53f746642bd0", "score": "0.5695381", "text": "protected void setUp() {\n\n }", "title": "" } ]
370486439829989bf5935a6079ea463b
Returns all the super interfaces of this class.
[ { "docid": "b185a292aaf03194e40a88e0fbce1fc0", "score": "0.82984376", "text": "public List<JavaClass> getAllSuperInterfaces() {\n bindingCheck();\n \n List<JavaClass> classes = new ArrayList<JavaClass>();\n getAllSuperInterfaces(this, classes);\n return classes;\n }", "title": "" } ]
[ { "docid": "f534f84c279d087dc9d17efc67164085", "score": "0.8570695", "text": "public Set<JavaClass> getSuperInterfaces() {\n bindingCheck();\n return superInterfaces;\n }", "title": "" }, { "docid": "2a0e1f4d1d6ba6cfb7239e8a2471a9d0", "score": "0.82026273", "text": "@ASTNodeAnnotation.Attribute(kind=ASTNodeAnnotation.Kind.SYN)\n @ASTNodeAnnotation.Source(aspect=\"SuperClasses\", declaredAt=\"/home/hadjer/git/puck2/extendj/java4/frontend/TypeAnalysis.jrag:686\")\n public Collection<InterfaceDecl> superInterfaces() {\n ASTState state = state();\n if (superInterfaces_computed == ASTState.NON_CYCLE || superInterfaces_computed == state().cycle()) {\n return superInterfaces_value;\n }\n superInterfaces_value = Collections.emptyList();\n if (state().inCircle()) {\n superInterfaces_computed = state().cycle();\n \n } else {\n superInterfaces_computed = ASTState.NON_CYCLE;\n \n }\n return superInterfaces_value;\n }", "title": "" }, { "docid": "190008219e67ca94655288da1d8bd38f", "score": "0.7943186", "text": "public Set<String> getSuperInterfaceNames() {\n return superInterfaceNames;\n }", "title": "" }, { "docid": "4a2e24a713d5343b6daa11e591339220", "score": "0.7897033", "text": "superinterfaces getSuperinterfaces();", "title": "" }, { "docid": "7675f47e58232cf3904d2ddaf989caca", "score": "0.76675475", "text": "@Override\n public List<String> getSuperInterfaces() {\n List<String> result = super.getSuperInterfaces();\n String serviceInterfaceName = getServiceInterface();\n if (serviceInterfaceName != null && serviceInterfaceName.length() > 0) {\n result.add(0, serviceInterfaceName);\n }\n return result;\n }", "title": "" }, { "docid": "95673a24387ca8ba71ae85fa3f1aa4a8", "score": "0.75729465", "text": "private void findSuperInterfaces() {\n for (String str : superInterfaceNames) {\n String fqn = JavaClass.getFqn(str);\n JavaClass jc = getDeclaringJavaClass(fqn);\n if (jc != null) {\n superInterfaces.add(jc);\n }\n }\n }", "title": "" }, { "docid": "b6fc3c8cdd2c860cc1d87fccba1312d0", "score": "0.7211329", "text": "public ITypeInfo[] getAllSuperInterfaces(final ITypeInfo typeInfo);", "title": "" }, { "docid": "eb393e9768d3a2eb8af1d1409fda65d1", "score": "0.7001685", "text": "public TypeDeclaration[] getSuperTypes() {\n if (this.superTypes == null) {\n ArrayList<TypeDeclaration> types = new ArrayList<TypeDeclaration>();\n TypeDeclaration superType = this.getSuperType();\n if (superType != null) {\n types.add(superType);\n types.addAll(Arrays.asList(superType.getSuperTypes()));\n }\n addInterfaces(types);\n this.superTypes = types.toArray(new TypeDeclaration[types.size()]);\n }\n return this.superTypes;\n }", "title": "" }, { "docid": "56172f32e2288950e967ffd4c57f71de", "score": "0.69918823", "text": "public Class<?>[] getInterfaces()\n {\n return this._interfaces;\n }", "title": "" }, { "docid": "b3688313e2995d6aaaf86bd2252cceb7", "score": "0.6944937", "text": "public List<String> getInterfaces() {\n\t\treturn interfaces;\n\t}", "title": "" }, { "docid": "bba12a2cc7a60edbe1de843eb3d0e20f", "score": "0.6941806", "text": "public TypeHierarchyItem[] getInterfaces();", "title": "" }, { "docid": "04fa356194455cf57572c44b005de2b7", "score": "0.68981767", "text": "public List<String> getSuperTypes() {\n return superTypes;\n }", "title": "" }, { "docid": "ef8abc02e24bb2735d942540370a803a", "score": "0.68976045", "text": "RootClass[] getSuperClasses();", "title": "" }, { "docid": "a69a15d3684500b6a32185d62ea9f3b8", "score": "0.6813638", "text": "public List<JavaClass> getAncestors() {\n bindingCheck();\n \n List<JavaClass> classes = new ArrayList<JavaClass>();\n classes.addAll(getAllSuperClasses());\n classes.addAll(getAllSuperInterfaces());\n return classes;\n }", "title": "" }, { "docid": "b20789bd29b9b79cc747a5fab4996419", "score": "0.67815447", "text": "@Override\n\tpublic EList<Class> getSuperClasses() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7554c3f3af77ff59ecd5914b87259260", "score": "0.67695665", "text": "public ITypeInfo[] getAllInterfaces();", "title": "" }, { "docid": "102a94b40c366488dfaff80682497845", "score": "0.67059743", "text": "List<ReferenceType> getAllSuperClasses();", "title": "" }, { "docid": "9a537f54fad7cc5bd07b765ee8e6c096", "score": "0.6640253", "text": "public ArrayList<NodeNumPair> getSuperMethodInvocations() {\n\t\treturn m_superMethods;\n\t}", "title": "" }, { "docid": "e833e9ac75419b7f22795eb0c801820d", "score": "0.663335", "text": "public List<JavaClass> getAllSuperClasses() {\n bindingCheck();\n \n List<JavaClass> classes = new ArrayList<JavaClass>();\n JavaClass parent = getSuperClass();\n while (parent != null) {\n classes.add(parent);\n parent = parent.getSuperClass();\n }\n return classes;\n }", "title": "" }, { "docid": "db34082c918d5131dc8307e9ae017ba5", "score": "0.6595761", "text": "@Override\n\tpublic EList<Interface> getAllUsedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "93f7f3c601ad3874354bd4b31e2c72ad", "score": "0.65793175", "text": "public ClassDoc[] interfaces() {\n\t\tSystem.out.println(\"PackageDoc.interfaces() called.\");\n\t\treturn new ClassDoc[0];\n\t}", "title": "" }, { "docid": "b402dd01188f54fde611c681c7647367", "score": "0.657902", "text": "@Override\n\tpublic EList<Interface> allUsedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "029e5005fd96adcb35e5721dbf1a2797", "score": "0.65539503", "text": "public List<AnnotatedDeclaredType> directSuperTypesField() {\n return supertypes;\n }", "title": "" }, { "docid": "9b324a24fc0ebfcf2cf4927df2c55f67", "score": "0.65448546", "text": "@Override\n\tpublic EList<Interface> directlyUsedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d396f1a7ec90d5a9d8cdd807d1eb6c82", "score": "0.6517646", "text": "@Override\n\tpublic EList<Interface> getAllImplementedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c3f6a8ec34388320e9bcb6f513387e94", "score": "0.6506674", "text": "public ITypeInfo[] getAllSuperClasses(final ITypeInfo typeInfo);", "title": "" }, { "docid": "ec3e8f54f96d17c48a49e580ef91ca52", "score": "0.6475216", "text": "@Override\n\tpublic EList<Interface> allRealizedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f2a477e48b4634fd41121e4f0788f807", "score": "0.64356613", "text": "List<ReferenceType> getInterfaces();", "title": "" }, { "docid": "118e6671a4b2c9b1dccc973d141ee7b2", "score": "0.6387365", "text": "List<ReferenceType> getAllInterfaces();", "title": "" }, { "docid": "992f48d9912aaf200fb770e8ed507acf", "score": "0.63483405", "text": "public ITypeInfo[] getAllSuperTypes(final ITypeInfo typeInfo);", "title": "" }, { "docid": "52a665979c6e5564e97a65d277306132", "score": "0.63190925", "text": "public abstract List<JavaType> getInterfaces();", "title": "" }, { "docid": "dd4d7018028ff11026cfea6d4463db44", "score": "0.6296525", "text": "@Override\n\tpublic EList<Interface> getUsedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5024e90100f14c247d06166fbbae77d1", "score": "0.62934124", "text": "@Override\n\tpublic EList<Interface> directlyRealizedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "cf149e47e2af7d0682e49834966491fb", "score": "0.62861174", "text": "public String getInterfaces() {\n\t\tString str = \"\";\n\t\t\n\t\tfor(String i: interfaces)\n\t\t\tstr += \"\\n\\t\" + i.toString();\t\t\t\n\t\t\n\t\treturn str;\n\t}", "title": "" }, { "docid": "7274e74830a515aa21940f5cb0c0f10b", "score": "0.62753123", "text": "public Inheritances inheritances() {\n return this.inheritances;\n }", "title": "" }, { "docid": "ea65fb3e23514848e1c476be7144d2ec", "score": "0.6265665", "text": "@Override\n\tpublic EList<Interface> getImplementedInterfaces() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "bacf7739de3efb692948003435d19b22", "score": "0.62338245", "text": "public List<EasyboxInterface> getInterfaces();", "title": "" }, { "docid": "daf3580409ffc70f28f242eac96ba098", "score": "0.62078506", "text": "private void getAllSuperInterfaces(JavaClass jc, List<JavaClass> classes) {\n for (JavaClass parent : jc.getSuperInterfaces()) {\n classes.add(parent);\n getAllSuperInterfaces(parent, classes);\n }\n }", "title": "" }, { "docid": "aa6872fa9471c4cd56d287bb42914dcb", "score": "0.6197727", "text": "private Iterable<ObjectType> getSecondaryParentObjects() {\n if (parentSource == null) {\n return ImmutableList.of();\n }\n if (parentSource.getConstructor() != null && parentSource.getConstructor().isAbstract()) {\n return parentSource.getConstructor().getOwnImplementedInterfaces();\n }\n return parentSource.getCtorExtendedInterfaces();\n }", "title": "" }, { "docid": "a541518a35666f8ae3ccbf271f220c59", "score": "0.61967903", "text": "public List<String> getImplements() {\n\t\treturn Arrays.asList(getJavaClass().getInterfaceNames());\n\t}", "title": "" }, { "docid": "75b2fa705c30b81b7b54b1c758a9ffdf", "score": "0.6195829", "text": "List interfaces();", "title": "" }, { "docid": "c6aebe190f1c54951e1211c75a306947", "score": "0.6103479", "text": "public String getExtends() {\n\t\treturn getJavaClass().getSuperclassName();\n\t}", "title": "" }, { "docid": "a586f17f35a020e8b2b1a7be61c88e4a", "score": "0.6066413", "text": "public ITypeInfo[] getSuperTypes(final ITypeInfo typeInfo);", "title": "" }, { "docid": "dedfda777d6bdbeb7d0bf845f3ef102c", "score": "0.6040637", "text": "public List<String> getSuperTypeNames()\n {\n if (superTypeNames == null)\n {\n return null;\n }\n else if (superTypeNames.isEmpty())\n {\n return null;\n }\n else\n {\n return new ArrayList<>(superTypeNames);\n }\n }", "title": "" }, { "docid": "5a70b90024d8eb1aebb52105371d189f", "score": "0.6023146", "text": "public List getAllInterfaces() {\n Vector vector = new Vector();\n int nameIndex;\n ConstantUtf8Info utf8Info;\n\n for ( int i=0; i < interfacesCount; i++ ) {\n nameIndex =\n ((ConstantClassInfo)constantPool[interfaces[ i ]]).getNameIndex();\n utf8Info = (ConstantUtf8Info)constantPool[nameIndex];\n Log.LOGN(3, \"interface: \" + utf8Info.toString());\n vector.add(utf8Info.toString());\n }\n return vector;\n }", "title": "" }, { "docid": "63c8c92b40162e5bc1bd2df9352d12a4", "score": "0.59241724", "text": "private JavaClass[] getInterfaces0() {\n if (isPrimitive()) {\n return new JavaClass[0];\n }\n if (isArray()) {\n return new JavaClass[]{\n JavaClass.forName(_vm, TypeHelper.parseType(_vm, \"Ljava/lang/Cloneable;\")),\n JavaClass.forName(_vm, TypeHelper.parseType(_vm, \"Ljava/io/Serializable;\"))\n };\n }\n List<JavaClass> interfaces = new ArrayList<>();\n if (classNode.interfaces != null) {\n for (String iface : classNode.interfaces) {\n JavaClass intf = JavaClass.forName(_vm, TypeHelper.parseType(_vm, iface));\n if (intf == null) {\n throw new ExecutionException(\"Could not find interface \" + iface);\n }\n interfaces.add(intf);\n }\n }\n return interfaces.toArray(new JavaClass[interfaces.size()]);\n }", "title": "" }, { "docid": "6148bc1e8052e4ebea450c040a30e9c7", "score": "0.59198356", "text": "public String[] getDeclaredSupertypeNames();", "title": "" }, { "docid": "2071e9573a10c0bd502b56fc786091f4", "score": "0.58227944", "text": "public Set<Class<?>> getClassesBySuper(Class<?> interfaceOrSuperClass){\r\n Set<Class<?>> keySet = getClasses();\r\n if (ValidationUtil.isEmpty(keySet)){\r\n log.warn(\"Noting in beanMap\");\r\n return null;\r\n }\r\n\r\n Set<Class<?>> classSet = new HashSet<>();\r\n for (Class<?> clazz : keySet){\r\n if (interfaceOrSuperClass.isAssignableFrom(clazz)){\r\n classSet.add(clazz);\r\n }\r\n }\r\n\r\n return classSet.size() > 0 ? classSet : null;\r\n }", "title": "" }, { "docid": "a4a5e7ba98d39771b3884e64f2f0b305", "score": "0.577255", "text": "List<String> getInterfaceInternalNames();", "title": "" }, { "docid": "dfc968e455eaacabfc6d94690b9fd02f", "score": "0.5739417", "text": "public String getExtends();", "title": "" }, { "docid": "cf8b4a36fefec675e6a3cca0f4280f5c", "score": "0.57295936", "text": "public InterfaceInfoList getInterfaceInfoList( ) {\n\t\treturn this.interfaceInfoList;\n\t}", "title": "" }, { "docid": "5663ba017ee0d2dcb9e840b383cd50ee", "score": "0.57121855", "text": "Iterable<RouterInterface> getRouterInterfaces();", "title": "" }, { "docid": "a335232760f67b25429f245da9e67580", "score": "0.5697469", "text": "public Set<String> getAllMethodNames(){\r\n\t\tSet<String> methodNames = getMethodNames();\r\n\t\tNamedElement s = getSuperType();\r\n\t\tif(s != null) {\r\n\t\t\t// note that NamedElement enforces that the superType for a CLASS is a CLASS or a STRUCTURE\r\n\t\t\t// and that the superType for an INTERFACE is always an INTERFACE\r\n\t\t\tif(s.getElementType() == ElementType.CLASS || s.getElementType() == ElementType.INTERFACE) {\r\n\t\t\t\tmethodNames.addAll(((CimClass)s).getAllMethodNames());\r\n\t\t\t} else if(s.getElementType() == ElementType.STRUCTURE) {\r\n\t\t\t\tfor(String iName : ((CimStructure)s).getInterfaceNames()) {\r\n\t\t\t\t\tCimInterface intf = getInterface(iName);\r\n\t\t\t\t\tmethodNames.addAll(intf.getAllMethodNames());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn methodNames;\r\n\t}", "title": "" }, { "docid": "ae6dc74beba06ceaf627a2ae0e0e09c6", "score": "0.56963", "text": "public NetInterface[] getNetInterfaces() {\n\t\treturn ip_node.getNetInterfaces();\n\t}", "title": "" }, { "docid": "0adfe6596195bfa27b18e67872899e3f", "score": "0.5656279", "text": "public Collection getAllSignatureInterfaceMappings();", "title": "" }, { "docid": "72ead53e6a6ca215220dc12873053e56", "score": "0.56515425", "text": "public List<ElementLogicalInterfaceData> getLogicalInterfaces() {\n\t\treturn logicalInterfaces;\n\t}", "title": "" }, { "docid": "b931a957aa720cfbd657903760cfd515", "score": "0.5610392", "text": "public List<Access> getImplementss() {\n return getImplementsList();\n }", "title": "" }, { "docid": "1c012138116cb2292b5f2e33aef1d3b8", "score": "0.55520004", "text": "@SuppressWarnings({\"unchecked\", \"cast\"})\n public List<Access> getImplementsList() {\n List<Access> list = (List<Access>)getChild(2);\n list.getNumChild();\n return list;\n }", "title": "" }, { "docid": "1415ca571031efc194e6327d443cdd49", "score": "0.5533896", "text": "public String[] getImplements();", "title": "" }, { "docid": "a7db6a3d5fdf7f69640bd522ecfdb0c8", "score": "0.55235565", "text": "@Override\n\tpublic EList<InterfaceRealization> getInterfaceRealizations() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6fe2b0871a1e9da9be031026f189218c", "score": "0.54904544", "text": "public ITypeInfo[] getAllClasses();", "title": "" }, { "docid": "b60330aa033d16bcbda050be71631093", "score": "0.54862237", "text": "ReferenceType getSuperClass();", "title": "" }, { "docid": "93146cf7e5db0b289000d9b943117a97", "score": "0.5478791", "text": "BusInterfacesType getBusInterfaces();", "title": "" }, { "docid": "53fe12cc2cc35b0338de384957cc445b", "score": "0.54700005", "text": "public String getSuperClassName() {\n return superClassName;\n }", "title": "" }, { "docid": "5752cbb6c8a11a6aa36b2520f0dfb812", "score": "0.54648197", "text": "public java.util.List<InstanceNetworkInterface> getNetworkInterfaces() {\n if (networkInterfaces == null) {\n networkInterfaces = new com.amazonaws.internal.ListWithAutoConstructFlag<InstanceNetworkInterface>();\n networkInterfaces.setAutoConstruct(true);\n }\n return networkInterfaces;\n }", "title": "" }, { "docid": "6a799964371258475ab763364cf4827c", "score": "0.5454293", "text": "public static List<Class<?>> getExtendAndInterfacesForClass(Class<?> type) {\n ArrayList<Class<?>> l = new ArrayList<Class<?>>();\n Class<?> superClass = type.getSuperclass();\n if (superClass != null) {\n l.add(superClass);\n }\n l.addAll( getInterfacesForClass(type) );\n return l;\n }", "title": "" }, { "docid": "c09f4beed7effae89f684b8e6192b4f6", "score": "0.5438243", "text": "public org.exolab.castor.mapping.ClassDescriptor getExtends()\n {\n return null;\n }", "title": "" }, { "docid": "4d8ce466927508145c2ba4b60053c54a", "score": "0.5436424", "text": "@Override\n public Set<TypeReference> listedInterfaces(final MemberDeclaration it) {\n return IterableExtensions.<TypeReference>toSet(((Iterable<TypeReference>)Conversions.doWrapArray(it.findAnnotation(this.context.findTypeGlobally(DelegateDeclared.class)).getClassArrayValue(\"value\"))));\n }", "title": "" }, { "docid": "f7e76de0db37595bad412301c2563624", "score": "0.5424841", "text": "public TypeHierarchyItem[] getSubclasses();", "title": "" }, { "docid": "926225d366ecebcb443423ab86034655", "score": "0.5402384", "text": "@Deprecated public List<ClassRef> getExtendsList(){\n return build(extendsList);\n }", "title": "" }, { "docid": "4a873e25bbfab56e8c92f86f27c70e1a", "score": "0.53897846", "text": "private Set<Class<?>> collectInterfaces(Class<?> klass) {\n final Set<Class<?>> returnSet = new HashSet<>();\n for (final var interfAce : klass.getInterfaces()) {\n collectInterfaces(interfAce, returnSet);\n }\n return returnSet;\n }", "title": "" }, { "docid": "77c49d07a0c55199274f864fdbb1fc19", "score": "0.5388829", "text": "String getExtends();", "title": "" }, { "docid": "500be56bb50ad3caa6eb6e8352cda2f0", "score": "0.53810906", "text": "public NodeStream<ASTClassOrInterfaceType> getComponents() {\n return children(ASTClassOrInterfaceType.class);\n }", "title": "" }, { "docid": "0063b3b357f5cd7b40dc2690653a4f53", "score": "0.53669363", "text": "public TypeHierarchyItem getSuperclass();", "title": "" }, { "docid": "8b211fad3aeadf4f25f931a34d40e72b", "score": "0.5351645", "text": "protected IInstrument[] getInstruments() {\n\t\tIInstrument[] result = new IInstrument[instruments.size()];\n\t\tint i = 0;\n\t\tfor (StandardInstrument current : instruments.values()) {\n\t\t\tresult[i] = current.getFacade();\n\t\t\ti++;\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "75e62039c46fc7344a0063f9b2c12312", "score": "0.53486747", "text": "@SuppressWarnings({\"unchecked\", \"cast\"})\n public List<Access> getImplementsListNoTransform() {\n return (List<Access>)getChildNoTransform(2);\n }", "title": "" }, { "docid": "cbcf33a1adaf249f4046c28442431f79", "score": "0.53338385", "text": "public ArrayList<E> getList(){\n\t\tArrayList<E> list = new ArrayList<E>();\n\t\tfor(int i = 0; i < size(); i++) {\n\t\t\tlist.add(super.get(i));\n\t\t}\n\t\t\n\t\treturn list;\n\t\t\n\t}", "title": "" }, { "docid": "41dcd719db30e29e9dcc1b7f2fdfa1b8", "score": "0.5320993", "text": "public ITypeInfo[] getInterfaces(final ITypeInfo typeInfo);", "title": "" }, { "docid": "8407f10bd61a01451dd7ffc771609280", "score": "0.53172785", "text": "@Override\n public org.exolab.castor.mapping.ClassDescriptor getExtends() {\n return null;\n }", "title": "" }, { "docid": "1cfff2da8576d29fd3693ac6593c51ea", "score": "0.5291386", "text": "public String getImplements();", "title": "" }, { "docid": "5a5fad53b5354e4b76e4ddba779a9037", "score": "0.52599776", "text": "public JTypeDeclaration[] getInners() {\n \t\tJTypeDeclaration[] innersCopy = new JTypeDeclaration[typeDeclarations.length];\n \t\tSystem.arraycopy(typeDeclarations, 0, innersCopy, 0, typeDeclarations.length);\n return innersCopy;\n \t}", "title": "" }, { "docid": "2c27fe414d6e0528a2e3022ceaadbd8d", "score": "0.5258732", "text": "public List<I_Viewable> getListI_Viewable()\r\n\t{\r\n\t\treturn listI_Viewable;\r\n\t}", "title": "" }, { "docid": "15a5249f4e6d79b1fb8db06c0b69c18d", "score": "0.52554417", "text": "Class<?>[] findInterfaces(Class<?> C) {\n Vector<Object> result = new Vector<Object>();\n Class<?> next = null;\n Class<?>[] ints = null;\n int i = 0;\n \n while (C != null) {\n next = C.getSuperclass();\n ints = C.getInterfaces();\n\n for (i=0; i<ints.length; i++)\n\tresult.addElement(ints[i]);\n\n C = next;\n }\n\n Class<?>[] R = new Class[result.size()];\n Object[] foo = new Object[result.size()];\n result.copyInto(foo);\n for (i=0; i<foo.length; i++)\n R[i] = (Class<?>) foo[i];\n\n return R;\n }", "title": "" }, { "docid": "7356679b867c3485b164290c7e9f03f5", "score": "0.52442795", "text": "@RemotingInclude\n @Override\n public List<Hop> findAll() {\n return super.findAll();\n }", "title": "" }, { "docid": "e18ad5e44355402da135e3f34d662232", "score": "0.5242936", "text": "public Set<Integer> getSupportedIfaceTypes() {\n return getSupportedIfaceTypesInternal(null);\n }", "title": "" }, { "docid": "f425edc58e0b355899da029480e7521e", "score": "0.522777", "text": "Set<Configuration> getExtendsFrom();", "title": "" }, { "docid": "1728c41ebc0e99ea6a68d1b638207a89", "score": "0.52116215", "text": "public ImmutableList<Icon> getIcons() {\n return this.icons;\n }", "title": "" }, { "docid": "45206529084c417c4162093fa73ae326", "score": "0.51967925", "text": "public ArrayList<SubsystemInterface> getSubsystemList() {\n return mSubsystems;\n }", "title": "" }, { "docid": "0820a356590cab49cc2105f1f198a155", "score": "0.5164676", "text": "default Set<AccessibleObject> accessibleObjects() {\n return subset(AccessibleObject.class);\n }", "title": "" }, { "docid": "0ae333083253a09a843ae1fe0f87eddc", "score": "0.5157579", "text": "public List<Inntekt> getAlleInntekter()\n {\n return innbetalinger;\n }", "title": "" }, { "docid": "860a22341021ec74018a69f1b84bf21b", "score": "0.5155097", "text": "public void addSuperInterfaceName(String name) {\n superInterfaceNames.add(name);\n }", "title": "" }, { "docid": "faac7844bfa30aa34f05ae196859a8e7", "score": "0.5154749", "text": "BusinessClass getSuperclass();", "title": "" }, { "docid": "6950a8b47d08e0bf75c9793af38f27ba", "score": "0.51544595", "text": "public Iterable<StatisticsGetter> getStatisticsGetters() {\r\n\t\treturn statisticsGetters;\r\n\t}", "title": "" }, { "docid": "ed77649a088e66aee795bb67a6aa2271", "score": "0.5150026", "text": "public IInterfaceValidator[] getInterfaceValidators() {\n/* 35 */ return this.interfaceValidators;\n/* */ }", "title": "" }, { "docid": "ddbbeee4790f70f5b9216e497b5f900d", "score": "0.51285577", "text": "public abstract JavaType getSuperClass();", "title": "" }, { "docid": "30897e19e186baefee4812fb1b877954", "score": "0.5127043", "text": "@Override\n\tpublic List<SuperUser> findAllInfo() {\n\t\treturn sDao.findAll();\n\t}", "title": "" }, { "docid": "1054bc829044da5bcceecb8228038a15", "score": "0.5120847", "text": "public abstract @Nonnull Iterable<NetworkInterface> listNetworkInterfaces() throws CloudException, InternalException;", "title": "" }, { "docid": "426a79248a9823e9c6d077b8e2191afa", "score": "0.5120753", "text": "public List<Access> getImplementssNoTransform() {\n return getImplementsListNoTransform();\n }", "title": "" }, { "docid": "b26daf975b1daa6d265629d6d13d306d", "score": "0.5117598", "text": "public TypeHierarchyItem[] getMixins();", "title": "" }, { "docid": "e32fa8ab650eb02609655628f6e7678a", "score": "0.5108508", "text": "static void ImplementedInterfaceNames(Object o){\n Class[] theInterfaces = o.getClass().getInterfaces();\n for (Class theInterface : theInterfaces) {\n String interfaceName = theInterface.getName();\n System.out.println(interfaceName);\n }\n }", "title": "" } ]
10a9004206b52315cfbd0db3004a8728
Test case number: 19 / 114 covered goals: Goal 1. collections.comparators.FixedOrderComparator.isLocked()Z: rootBranch Goal 2. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: I29 Branch 1 IFNONNULL L77 true Goal 3. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: I58 Branch 2 IF_ICMPGE L80 true Goal 4. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: I58 Branch 2 IF_ICMPGE L80 false Goal 5. collections.comparators.FixedOrderComparator.checkLocked()V: I4 Branch 5 IFEQ L122 true Goal 6. collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: I8 Branch 6 IF_ICMPEQ L150 false Goal 7. collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: I10 Branch 7 IFEQ L150 false Goal 8. collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: I13 Branch 8 IF_ICMPEQ L150 true Goal 9. collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z: I24 Branch 9 IFNONNULL L174 true Goal 10. collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z: I24 Branch 9 IFNONNULL L174 false Goal 11. Branch collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: I29 Branch 1 IFNONNULL L77 true in context: collections.comparators.FixedOrderComparator:([Ljava/lang/Object;)V Goal 12. Branch collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: I58 Branch 2 IF_ICMPGE L80 true in context: collections.comparators.FixedOrderComparator:([Ljava/lang/Object;)V Goal 13. Branch collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: I58 Branch 2 IF_ICMPGE L80 false in context: collections.comparators.FixedOrderComparator:([Ljava/lang/Object;)V Goal 14. Branch collections.comparators.FixedOrderComparator.checkLocked()V: I4 Branch 5 IFEQ L122 true in context: Goal 15. Branch collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: I8 Branch 6 IF_ICMPEQ L150 false in context: collections.comparators.FixedOrderComparator:setUnknownObjectBehavior(I)V Goal 16. Branch collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: I10 Branch 7 IFEQ L150 false in context: collections.comparators.FixedOrderComparator:setUnknownObjectBehavior(I)V Goal 17. Branch collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: I13 Branch 8 IF_ICMPEQ L150 true in context: collections.comparators.FixedOrderComparator:setUnknownObjectBehavior(I)V Goal 18. collections.comparators.FixedOrderComparator.()V: Line 49 Goal 19. collections.comparators.FixedOrderComparator.()V: Line 51 Goal 20. collections.comparators.FixedOrderComparator.()V: Line 53 Goal 21. collections.comparators.FixedOrderComparator.()V: Line 55 Goal 22. collections.comparators.FixedOrderComparator.(Ljava/util/List;)V: Line 49 Goal 23. collections.comparators.FixedOrderComparator.(Ljava/util/List;)V: Line 51 Goal 24. collections.comparators.FixedOrderComparator.(Ljava/util/List;)V: Line 53 Goal 25. collections.comparators.FixedOrderComparator.(Ljava/util/List;)V: Line 55 Goal 26. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 49 Goal 27. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 51 Goal 28. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 53 Goal 29. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 55 Goal 30. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 77 Goal 31. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 80 Goal 32. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 81 Goal 33. collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V: Line 83 Goal 34. collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z: Line 172 Goal 35. collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z: Line 173 Goal 36. collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z: Line 174 Goal 37. collections.comparators.FixedOrderComparator.checkLocked()V: Line 122 Goal 38. collections.comparators.FixedOrderComparator.checkLocked()V: Line 125 Goal 39. collections.comparators.FixedOrderComparator.isLocked()Z: Line 113 Goal 40. collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: Line 149 Goal 41. collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: Line 150 Goal 42. collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: Line 155 Goal 43. collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V: Line 156 Goal 44. [METHOD] collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V Goal 45. [METHOD] collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V Goal 46. [METHODNOEX] collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V Goal 47. [METHODNOEX] collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V Goal 48. Weak Mutation 6: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:51 ReplaceConstant 0 > 1 Goal 49. Weak Mutation 7: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:53 ReplaceConstant 0 > 1 Goal 50. Weak Mutation 8: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:55 ReplaceConstant 2 > 0 Goal 51. Weak Mutation 9: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:55 ReplaceConstant 2 > 1 Goal 52. Weak Mutation 10: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:55 ReplaceConstant 2 > 1 Goal 53. Weak Mutation 11: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:55 ReplaceConstant 2 > 3 Goal 54. Weak Mutation 12: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:77 ReplaceComparisonOperator != null > = null Goal 55. Weak Mutation 15: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 ReplaceConstant 0 > 1 Goal 56. Weak Mutation 16: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 ReplaceVariable i > UNKNOWN_AFTER Goal 57. Weak Mutation 17: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 ReplaceVariable i > UNKNOWN_BEFORE Goal 58. Weak Mutation 18: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 ReplaceVariable i > UNKNOWN_THROW_EXCEPTION Goal 59. Weak Mutation 19: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 InsertUnaryOp Negation of i Goal 60. Weak Mutation 20: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 InsertUnaryOp IINC 1 i Goal 61. Weak Mutation 21: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 InsertUnaryOp IINC 1 i Goal 62. Weak Mutation 22: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 ReplaceComparisonOperator >= > 1 Goal 63. Weak Mutation 23: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:80 ReplaceComparisonOperator >= > > Goal 64. Weak Mutation 25: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:81 ReplaceVariable i > UNKNOWN_AFTER Goal 65. Weak Mutation 26: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:81 ReplaceVariable i > UNKNOWN_BEFORE Goal 66. Weak Mutation 27: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:81 ReplaceVariable i > UNKNOWN_THROW_EXCEPTION Goal 67. Weak Mutation 28: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:81 InsertUnaryOp Negation of i Goal 68. Weak Mutation 29: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:81 InsertUnaryOp IINC 1 i Goal 69. Weak Mutation 30: collections.comparators.FixedOrderComparator.([Ljava/lang/Object;)V:81 InsertUnaryOp IINC 1 i Goal 70. Weak Mutation 41: collections.comparators.FixedOrderComparator.isLocked()Z:113 InsertUnaryOp Negation Goal 71. Weak Mutation 42: collections.comparators.FixedOrderComparator.checkLocked()V:122 ReplaceComparisonOperator == > != Goal 72. Weak Mutation 50: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceVariable unknownObjectBehavior > UNKNOWN_AFTER Goal 73. Weak Mutation 51: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceVariable unknownObjectBehavior > UNKNOWN_BEFORE Goal 74. Weak Mutation 53: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp Negation of unknownObjectBehavior Goal 75. Weak Mutation 54: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 76. Weak Mutation 55: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 77. Weak Mutation 56: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceConstant 1 > 0 Goal 78. Weak Mutation 57: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceComparisonOperator == > != Goal 79. Weak Mutation 58: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceVariable unknownObjectBehavior > UNKNOWN_AFTER Goal 80. Weak Mutation 59: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceVariable unknownObjectBehavior > UNKNOWN_BEFORE Goal 81. Weak Mutation 61: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp Negation of unknownObjectBehavior Goal 82. Weak Mutation 62: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 83. Weak Mutation 63: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 84. Weak Mutation 65: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceComparisonOperator == > >= Goal 85. Weak Mutation 67: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceVariable unknownObjectBehavior > UNKNOWN_AFTER Goal 86. Weak Mutation 68: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceVariable unknownObjectBehavior > UNKNOWN_BEFORE Goal 87. Weak Mutation 70: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp Negation of unknownObjectBehavior Goal 88. Weak Mutation 71: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 89. Weak Mutation 72: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 90. Weak Mutation 73: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceConstant 2 > 0 Goal 91. Weak Mutation 74: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceConstant 2 > 1 Goal 92. Weak Mutation 75: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceConstant 2 > 1 Goal 93. Weak Mutation 76: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceConstant 2 > 3 Goal 94. Weak Mutation 77: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:150 ReplaceComparisonOperator == > 2 Goal 95. Weak Mutation 82: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:155 ReplaceVariable unknownObjectBehavior > UNKNOWN_AFTER Goal 96. Weak Mutation 83: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:155 ReplaceVariable unknownObjectBehavior > UNKNOWN_BEFORE Goal 97. Weak Mutation 85: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:155 InsertUnaryOp Negation of unknownObjectBehavior Goal 98. Weak Mutation 86: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:155 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 99. Weak Mutation 87: collections.comparators.FixedOrderComparator.setUnknownObjectBehavior(I)V:155 InsertUnaryOp IINC 1 unknownObjectBehavior Goal 100. Weak Mutation 88: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceVariable counter > UNKNOWN_AFTER Goal 101. Weak Mutation 89: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceVariable counter > UNKNOWN_BEFORE Goal 102. Weak Mutation 90: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceVariable counter > UNKNOWN_THROW_EXCEPTION Goal 103. Weak Mutation 91: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 InsertUnaryOp Negation Goal 104. Weak Mutation 92: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 InsertUnaryOp +1 Goal 105. Weak Mutation 93: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 InsertUnaryOp 1 Goal 106. Weak Mutation 94: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceConstant 1 > 0 Goal 107. Weak Mutation 95: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceArithmeticOperator + > % Goal 108. Weak Mutation 96: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceArithmeticOperator + > Goal 109. Weak Mutation 97: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceArithmeticOperator + > Goal 110. Weak Mutation 98: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:173 ReplaceArithmeticOperator + > / Goal 111. Weak Mutation 99: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:174 ReplaceVariable position > obj Goal 112. Weak Mutation 100: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:174 ReplaceComparisonOperator != null > = null Goal 113. Weak Mutation 101: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:174 ReplaceConstant 1 > 0 Goal 114. Weak Mutation 102: collections.comparators.FixedOrderComparator.add(Ljava/lang/Object;)Z:174 ReplaceConstant 0 > 1
[ { "docid": "56e078bb413509dbe9a4a7523a588f5f", "score": "0.66318804", "text": "@Test(timeout = 4000)\n public void test19() throws Throwable {\n Object[] objectArray0 = new Object[14];\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n fixedOrderComparator0.setUnknownObjectBehavior(2);\n assertEquals(2, fixedOrderComparator0.getUnknownObjectBehavior());\n }", "title": "" } ]
[ { "docid": "b816047f0cab09e7000a77279e8da34d", "score": "0.7419354", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n Object[] objectArray0 = new Object[6];\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n fixedOrderComparator0.setUnknownObjectBehavior(0);\n Integer integer0 = new Integer(0);\n int int0 = fixedOrderComparator0.compare(integer0, objectArray0[1]);\n assertTrue(fixedOrderComparator0.isLocked());\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "ced2eb82acebd33b9995bd5dc56f31bc", "score": "0.7380634", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator();\n int int0 = fixedOrderComparator0.getUnknownObjectBehavior();\n assertFalse(fixedOrderComparator0.isLocked());\n assertEquals(2, int0);\n }", "title": "" }, { "docid": "33852b8178da5a02c984642fcb13cbb8", "score": "0.7257282", "text": "@Test(timeout = 4000)\n public void test20() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.setUnknownObjectBehavior(1);\n int int0 = fixedOrderComparator0.compare(linkedList0, fixedOrderComparator0);\n assertTrue(fixedOrderComparator0.isLocked());\n assertEquals(0, int0);\n }", "title": "" }, { "docid": "a88788e21984b8b58d6a258c8cf56dc3", "score": "0.7218012", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.setUnknownObjectBehavior(0);\n fixedOrderComparator0.add(linkedList0);\n Object object0 = new Object();\n int int0 = fixedOrderComparator0.compare(linkedList0, object0);\n assertTrue(fixedOrderComparator0.isLocked());\n assertEquals(1, int0);\n }", "title": "" }, { "docid": "a778a143b05e6e40cf04833ca2ae8129", "score": "0.7147978", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.setUnknownObjectBehavior(0);\n fixedOrderComparator0.compare(linkedList0, fixedOrderComparator0);\n // Undeclared exception!\n try { \n fixedOrderComparator0.checkLocked();\n fail(\"Expecting exception: UnsupportedOperationException\");\n \n } catch(UnsupportedOperationException e) {\n //\n // Cannot modify a FixedOrderComparator after a comparison\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "a3dbfe14f53de7035a43ac1a0f7e7c05", "score": "0.7026867", "text": "@Test(timeout = 4000)\n public void test08() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.isLocked();\n assertEquals(2, fixedOrderComparator0.getUnknownObjectBehavior());\n }", "title": "" }, { "docid": "06edf502f25dbe0f31603ae76d5b019a", "score": "0.69477654", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n linkedList0.offerFirst(\"\");\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.setUnknownObjectBehavior(1);\n Object object0 = new Object();\n int int0 = fixedOrderComparator0.compare(\"\", object0);\n assertTrue(fixedOrderComparator0.isLocked());\n assertEquals((-1), int0);\n }", "title": "" }, { "docid": "65369e5267078a9dc07f859bd4c6ec53", "score": "0.68899727", "text": "@Test(timeout = 4000)\n public void test07() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.checkLocked();\n assertEquals(2, fixedOrderComparator0.getUnknownObjectBehavior());\n }", "title": "" }, { "docid": "f9df4b8556bfa9c85c50e41d3e65ff16", "score": "0.6868346", "text": "@Test(timeout = 4000)\n public void test01() throws Throwable {\n Object[] objectArray0 = new Object[7];\n Object object0 = new Object();\n objectArray0[0] = object0;\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n fixedOrderComparator0.compare(objectArray0[0], object0);\n boolean boolean0 = fixedOrderComparator0.isLocked();\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "af43de1d17c8530788d830fdf1c8e1aa", "score": "0.6845629", "text": "@Test(timeout = 4000)\n public void test10() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n linkedList0.offerFirst(\"\");\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.setUnknownObjectBehavior(1);\n int int0 = fixedOrderComparator0.compare(linkedList0, \"\");\n assertTrue(fixedOrderComparator0.isLocked());\n assertEquals(1, int0);\n }", "title": "" }, { "docid": "7cf1cab345d512ca51e3343ea2ecc43f", "score": "0.67616063", "text": "@Test(timeout = 4000)\n public void test15() throws Throwable {\n Object[] objectArray0 = new Object[3];\n Object object0 = new Object();\n objectArray0[0] = object0;\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n fixedOrderComparator0.compare(object0, object0);\n // Undeclared exception!\n try { \n fixedOrderComparator0.addAsEqual(objectArray0[0], objectArray0[0]);\n fail(\"Expecting exception: UnsupportedOperationException\");\n \n } catch(UnsupportedOperationException e) {\n //\n // Cannot modify a FixedOrderComparator after a comparison\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "c7feafe71f45be11a145fa61e2919eed", "score": "0.67180836", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n Object[] objectArray0 = new Object[6];\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n Integer integer0 = new Integer(0);\n boolean boolean0 = fixedOrderComparator0.addAsEqual(objectArray0[0], integer0);\n assertEquals(2, fixedOrderComparator0.getUnknownObjectBehavior());\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "1c8e6cac5d44740287eeab7fc1baedb8", "score": "0.67071474", "text": "@Test(timeout = 4000)\n public void test04() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.setUnknownObjectBehavior(0);\n fixedOrderComparator0.compare(linkedList0, fixedOrderComparator0);\n // Undeclared exception!\n try { \n fixedOrderComparator0.add(linkedList0);\n fail(\"Expecting exception: UnsupportedOperationException\");\n \n } catch(UnsupportedOperationException e) {\n //\n // Cannot modify a FixedOrderComparator after a comparison\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "5546cfb79f02b1d26c2e35edfcc67efe", "score": "0.66141653", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n Object[] objectArray0 = new Object[2];\n Object object0 = new Object();\n objectArray0[1] = object0;\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n boolean boolean0 = fixedOrderComparator0.addAsEqual(object0, object0);\n assertFalse(boolean0);\n assertEquals(2, fixedOrderComparator0.getUnknownObjectBehavior());\n }", "title": "" }, { "docid": "b3b46b565ba12783336add6ca66e4a10", "score": "0.6600449", "text": "@Test(timeout = 4000)\n public void test03() throws Throwable {\n Object[] objectArray0 = new Object[3];\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n fixedOrderComparator0.compare(objectArray0[0], objectArray0[0]);\n // Undeclared exception!\n try { \n fixedOrderComparator0.setUnknownObjectBehavior(2);\n fail(\"Expecting exception: UnsupportedOperationException\");\n \n } catch(UnsupportedOperationException e) {\n //\n // Cannot modify a FixedOrderComparator after a comparison\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "fda57b4357f1e028651d488c0e9f0604", "score": "0.65269125", "text": "@Test(timeout = 4000)\n public void test22() throws Throwable {\n LinkedList<Object> linkedList0 = new LinkedList<Object>();\n linkedList0.add((Object) \"X5I#\");\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n boolean boolean0 = fixedOrderComparator0.add(\"X5I#\");\n assertFalse(boolean0);\n assertEquals(2, fixedOrderComparator0.getUnknownObjectBehavior());\n }", "title": "" }, { "docid": "d0ca366f6e9f60bff675cf2ee38222bd", "score": "0.6393163", "text": "@Test(timeout = 4000)\n public void test17() throws Throwable {\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator();\n Integer integer0 = new Integer(0);\n Object object0 = new Object();\n // Undeclared exception!\n try { \n fixedOrderComparator0.addAsEqual(object0, integer0);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // java.lang.Object@69a487f1 not known to collections.comparators.FixedOrderComparator@1\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "5090baf92a14f22d15a12c122f7ebfaa", "score": "0.63881195", "text": "@Test(timeout = 4000)\n public void test02() throws Throwable {\n Object[] objectArray0 = new Object[6];\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n assertEquals(2, fixedOrderComparator0.getUnknownObjectBehavior());\n \n fixedOrderComparator0.setUnknownObjectBehavior(0);\n int int0 = fixedOrderComparator0.getUnknownObjectBehavior();\n assertEquals(0, int0);\n }", "title": "" }, { "docid": "6db1591be3ddc048ae6ceb832cbdf60e", "score": "0.637288", "text": "@Test(timeout = 4000)\n public void test23() throws Throwable {\n FixedOrderComparator fixedOrderComparator0 = null;\n try {\n fixedOrderComparator0 = new FixedOrderComparator((List) null);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // The list of items must not be null\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "eb28a7796e036a474555b2d10b825ed0", "score": "0.63624054", "text": "@Test(timeout = 4000)\n public void test25() throws Throwable {\n FixedOrderComparator fixedOrderComparator0 = null;\n try {\n fixedOrderComparator0 = new FixedOrderComparator((Object[]) null);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // The list of items must not be null\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "4b7f9ee5aff63cebe500caaa1f3c2283", "score": "0.63543344", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n Object[] objectArray0 = new Object[6];\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator(objectArray0);\n Integer integer0 = new Integer(0);\n // Undeclared exception!\n try { \n fixedOrderComparator0.compare(integer0, fixedOrderComparator0);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // Attempting to compare unknown object 0\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "7d9adfbef43898520ed9e4ab0e7d2ab9", "score": "0.6329404", "text": "@Test(timeout = 4000)\n public void test24() throws Throwable {\n LinkedList<Object> linkedList0 = new LinkedList<Object>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n // Undeclared exception!\n try { \n fixedOrderComparator0.setUnknownObjectBehavior((-1870));\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // Unrecognised value for unknown behaviour flag\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "b116b86e9f119d0ac97f1f25c0edf6a2", "score": "0.6302373", "text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator();\n // Undeclared exception!\n try { \n fixedOrderComparator0.setUnknownObjectBehavior(1198);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // Unrecognised value for unknown behaviour flag\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "0d99fb5e29b66a912e6c5586a37493a5", "score": "0.6117137", "text": "@Test(timeout = 4000)\n public void test14() throws Throwable {\n LinkedList<String> linkedList0 = new LinkedList<String>();\n FixedOrderComparator fixedOrderComparator0 = new FixedOrderComparator((List) linkedList0);\n fixedOrderComparator0.add(linkedList0);\n Object object0 = new Object();\n // Undeclared exception!\n try { \n fixedOrderComparator0.compare(linkedList0, object0);\n fail(\"Expecting exception: IllegalArgumentException\");\n \n } catch(IllegalArgumentException e) {\n //\n // Attempting to compare unknown object java.lang.Object@707cc4aa\n //\n assertThrownBy(\"collections.comparators.FixedOrderComparator\", e);\n }\n }", "title": "" }, { "docid": "37621b0d8696e7adf18f998387f2be0d", "score": "0.5920127", "text": "@Test\n public void testLegacy() {\n Comparator<Version> comparator = Version.Comparator.getInstance(false);\n assertEquals(1, compare(comparator, \"1.0\", \"1.0patch1\"));\n assertEquals(-1, compare(comparator, \"1.0patch1\", \"1.0\"));\n assertEquals(-1, compare(comparator, \"1.0\", \"1.0rc1\"));\n assertEquals(1, compare(comparator, \"1.0rc1\", \"1.0\"));\n assertEquals(1, compare(comparator, \"1.0-pre.1\", \"1.0-pre.2\"));\n assertEquals(-1, compare(comparator, \"1.0-rc2\", \"1.0-pre1\"));\n assertEquals(-1, compare(comparator, \"1.0-rc1\", \"1.0-pre7\"));\n assertEquals(1, compare(comparator, \"1.0-pre7\", \"1.0-rc1\"));\n assertEquals(-1, compare(comparator, \"1.0-rc1\", \"1.0-beta7\"));\n assertEquals(-1, compare(comparator, \"1.0-pre1\", \"1.0-beta7\"));\n assertEquals(1, compare(comparator, \"1.0-beta7\", \"1.0-pre1\"));\n assertEquals(0, compare(comparator, \"1.0-rc2\", \"1.0-rc2\"));\n assertEquals(1, compare(comparator, \"1.0-rc2\", \"1.0-patch\"));\n assertEquals(-1, compare(comparator, \"1.0-patch\", \"1.0-rc2\"));\n assertEquals(-1, compare(comparator, \"1.0-patch4\", \"1.0-patch3\"));\n assertEquals(-1, compare(comparator, \"1.0-patch1\", \"1.0-beta.3\"));\n assertEquals(1, compare(comparator, \"3.0.0-rc1\", \"3.0.0-rc2\"));\n assertEquals(-1, compare(comparator, \"3.0.0-rc2\", \"3.0.0-rc1\"));\n }", "title": "" }, { "docid": "d32cee90e3facc459944cf6aadb4853d", "score": "0.5906445", "text": "@Test\n public void testGetAllReturnsSortedByPriorityWithDifferentTimeStampsWithChangeInTime() throws Exception{\n\n /*\n 8 work orders with different timestamps, different priorities Orig Score @0 Score @ +10 Sec Score\n */\n managementEntries.add(0, new ScoredEntry<>(BASE_SCORE-100, 15L)); //0 0\n managementEntries.add(1, new ScoredEntry<>(BASE_SCORE-50, 30L)); //1 1\n\n vipEntries.add(0, new ScoredEntry<>(BASE_SCORE-10, 10L)); //4 2nlogn ~ 46 120 2\n vipEntries.add(1, new ScoredEntry<>(BASE_SCORE-5, 20L)); //7 2nlogn ~ 16 81 5\n\n priorityEntries.add(0, new ScoredEntry<>(BASE_SCORE-18, 9L)); //3 nlogn ~ 52 92 4\n priorityEntries.add(1, new ScoredEntry<>(BASE_SCORE-13, 12L)); //5 nlogn ~ 33 71 6\n\n normalEntries.add(0, new ScoredEntry<>(BASE_SCORE-30, 1L)); //6 30 40 7\n normalEntries.add(1, new ScoredEntry<>(BASE_SCORE-100, 2L)); //2 100 110 3\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(15L, BASE_TIME.minus(100, ChronoUnit.SECONDS),100L, 0, WorkOrderClass.MANAGEMENT_OVERRIDE));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(30L, BASE_TIME.minus(50, ChronoUnit.SECONDS),50L, 0, WorkOrderClass.MANAGEMENT_OVERRIDE));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(2L, BASE_TIME.minus(100, ChronoUnit.SECONDS),100L, 0, WorkOrderClass.NOMRAL));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(),new QueuedWorkOrder(9L, BASE_TIME.minus(18, ChronoUnit.SECONDS),18L, 0, WorkOrderClass.PRIORITY));\n\n tickClock(10);\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(),new QueuedWorkOrder(10L, BASE_TIME.minus(10, ChronoUnit.SECONDS),20L, 0, WorkOrderClass.VIP));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(20L, BASE_TIME.minus(5, ChronoUnit.SECONDS),15L, 0, WorkOrderClass.VIP));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(),new QueuedWorkOrder(12L, BASE_TIME.minus(13, ChronoUnit.SECONDS),23L, 0, WorkOrderClass.PRIORITY));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(),new QueuedWorkOrder(1L, BASE_TIME.minus(30, ChronoUnit.SECONDS),40L, 0, WorkOrderClass.NOMRAL));\n\n assert (!distributedWorkOrderQueue.popWorkOrder().get().isPresent());\n }", "title": "" }, { "docid": "671cc20b1a2f0895081f679938749487", "score": "0.5637581", "text": "@SuppressWarnings(\"boxing\")\n\t@Test\n\tpublic void testOrder()\n\t{\n\t\tassertOrder(1, 2, 3, 4, 5);\n\t\taTestMap.get(1);\n\t\tassertOrder(2, 3, 4, 5, 1);\n\t\taTestMap.get(3);\n\t\tassertOrder(2, 4, 5, 1, 3);\n\t}", "title": "" }, { "docid": "680021840559b276d66da8ad6bd8a93e", "score": "0.56192267", "text": "@Test\n public void testGetAllReturnsSortedByPriorityWithDifferentTimeStamps() throws Exception{\n managementEntries.add(0, new ScoredEntry<>(BASE_SCORE-100, 15L));//0\n managementEntries.add(1, new ScoredEntry<>(BASE_SCORE-50, 30L));//1\n\n vipEntries.add(0, new ScoredEntry<>(BASE_SCORE-200, 10L));//2\n vipEntries.add(1, new ScoredEntry<>(BASE_SCORE-5, 20L));//4\n\n priorityEntries.add(0, new ScoredEntry<>(BASE_SCORE-100, 9L));//3\n priorityEntries.add(1, new ScoredEntry<>(BASE_SCORE-6, 12L));//5\n\n normalEntries.add(0, new ScoredEntry<>(BASE_SCORE-7, 1L));//6\n normalEntries.add(1, new ScoredEntry<>(BASE_SCORE-6, 2L));//7\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(15L, BASE_TIME.minus(100, ChronoUnit.SECONDS),100L, 0, WorkOrderClass.MANAGEMENT_OVERRIDE));\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(30L, BASE_TIME.minus(50, ChronoUnit.SECONDS),50L, 0, WorkOrderClass.MANAGEMENT_OVERRIDE));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(10L, BASE_TIME.minus(200, ChronoUnit.SECONDS),200L, 0, WorkOrderClass.VIP));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(9L, BASE_TIME.minus(100, ChronoUnit.SECONDS),100L, 0, WorkOrderClass.PRIORITY));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(20L, BASE_TIME.minus(5, ChronoUnit.SECONDS),5L, 0, WorkOrderClass.VIP));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(12L, BASE_TIME.minus(6, ChronoUnit.SECONDS),6L, 0, WorkOrderClass.PRIORITY));\n\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(1L, BASE_TIME.minus(7, ChronoUnit.SECONDS),7L, 0, WorkOrderClass.NOMRAL));\n assertEquals(distributedWorkOrderQueue.popWorkOrder().get().get(), new QueuedWorkOrder(2L, BASE_TIME.minus(6, ChronoUnit.SECONDS),6L, 0, WorkOrderClass.NOMRAL));\n\n assert (!distributedWorkOrderQueue.popWorkOrder().get().isPresent());\n }", "title": "" }, { "docid": "4b54e02a82453ab5ae3f6cc442876237", "score": "0.55174714", "text": "@Override\n protected void runTest() throws Throwable {\n int index = barrier.await();\n if (index == 0) {\n mapRoot = new ConcurrentHashMap<Class<?>, Integer>();\n for (int i = 0; i < INNER_CLASSES; i++) {\n Class<?> clazz = getClassInstance(i);\n int hash = clazz.hashCode();\n //System.out.println(\"adding class \" + clazz.getSimpleName() + \" with hash \" + hash);\n mapRoot.put(clazz, new Integer(hash));\n }\n \n // Validate the map\n Class<?>[] classes = new Class<?>[mapRoot.size()];\n for (Class clazz : mapRoot.keySet()) {\n int i = getClassIndex(clazz);\n classes[i] = clazz;\n }\n for (int i = 0; i < classes.length; ++i) {\n assertNotNull(classes[i]);\n assertNotNull(mapRoot.get(classes[i]));\n }\n assertEquals(INNER_CLASSES, mapRoot.size());\n }\n\n // On each thread, call size() and mutate individual entries repeatedly\n index = barrier.await();\n\n Random r = new Random();\n final long start = System.currentTimeMillis();\n\n int count = 0;\n int mismatches = 0;\n\n long time = 0;\n long nextLogTime = LOG_INTERVAL;\n while ((time = System.currentTimeMillis() - start) < DURATION) {\n count++;\n\n // UNCOMMENT THESE LINES TO CAUSE DEADLOCK:\n int size = mapRoot.size();\n assertEquals(INNER_CLASSES, size);\n\n int i = r.nextInt(INNER_CLASSES);\n Class<?> clazz = getClassInstance(i);\n Integer oldHash = mapRoot.get(clazz);\n if (oldHash == null) {\n System.err.println(\"On node \" + index + \" map didn't contain \" + clazz.getName());\n }\n assertNotNull(oldHash);\n if (oldHash != null && oldHash.intValue() != clazz.hashCode()) {\n ++mismatches;\n }\n if (time > nextLogTime) {\n System.out.println(\"Iteration \" + count + \" on node \" + index + \": found \" + mismatches + \" mismatched hash codes (expect > 0)\");\n nextLogTime += LOG_INTERVAL;\n }\n mapRoot.put(clazz, new Integer(clazz.hashCode()));\n }\n \n //System.out.println(\"on node \" + index + \" found \" + mismatches + \" mismatches\");\n assertTrue(index == 0 || mismatches > 0);\n }", "title": "" }, { "docid": "77fbfee78303d38961852317431b17f7", "score": "0.5483093", "text": "@Test\n public void testHardSorting() {\n VersionStrategy strat = VersionStrategy.from(\n List.of(\"PRODUCT:EAP sort-by SUFFIX-VERSION\", \"QUALITY:RELEASED sort-by SUFFIX-VERSION\"),\n null,\n null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of(Qualifier.QUALITY, Set.of())),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-4\",\n \"1.4.0.redhat-2\" };\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "14e2935025c55556b8410b3ff920adb7", "score": "0.5432012", "text": "@Test\n\tpublic void basicTestTrue2() {\n\t\tList<Project> projects = new ArrayList<Project>();\n\t\tArrayList<Donation> donations = new ArrayList<Donation>();\n\t\tprojects.add(new Project(\"P0\", 3));\n\t\tprojects.add(new Project(\"P1\", 5));\n\t\tprojects.add(new Project(\"P2\", 1));\n\t\tdonations.add(new Donation(\"D0\", 8, new HashSet<Project>(Arrays\n\t\t\t\t.asList(projects.get(1), projects.get(2)))));\n\t\tdonations.add(new Donation(\"D1\", 3, new HashSet<Project>(Arrays\n\t\t\t\t.asList(projects.get(2)))));\n\t\tdonations.add(new Donation(\"D2\", 5, new HashSet<Project>(Arrays\n\t\t\t\t.asList(projects.get(2)))));\n\t\tdonations.add(new Donation(\"D3\", 8, new HashSet<Project>(Arrays\n\t\t\t\t.asList(projects.get(1)))));\n\t\tdonations.add(new Donation(\"D4\", 5, new HashSet<Project>(Arrays\n\t\t\t\t.asList(projects.get(0)))));\n\t\tList<Donation> actualDonations = new ArrayList<>(donations);\n\t\tSet<Project> actualProjects = new HashSet<>(projects);\n\t\tAssert.assertTrue(NaiveAllocator.canAllocate(actualDonations,\n\t\t\t\tactualProjects));\n\t\t// no donations should be added or removed from the list of donations\n\t\tAssert.assertEquals(donations, actualDonations);\n\t\t// no projects should be added or removed from the set of projects\n\t\tAssert.assertEquals(new HashSet<>(projects), actualProjects);\n\t\t// allocation should be complete and valid\n\t\tcheckCompleteAllocation(actualDonations, actualProjects);\n\t}", "title": "" }, { "docid": "1dd2ec583e0183d197686ec32ea70360", "score": "0.5408565", "text": "@Test\n public void willNotStartDoingPerformanceComparisons() {\n }", "title": "" }, { "docid": "9103ec775f7619a26acabf1fb75aff7d", "score": "0.5383803", "text": "@org.junit.Test(timeout = 10000)\n public void testOne_add56212_cf56287_failAssert26_add56720() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_10_1 = 10;\n // MethodAssertGenerator build local variable\n Object o_8_1 = 150080;\n // MethodAssertGenerator build local variable\n Object o_5_1 = 10;\n // MethodAssertGenerator build local variable\n Object o_3_1 = 150080;\n // MethodCallAdder\n bf.add(\"a\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets(), 150080);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount(), 10);\n // MethodAssertGenerator build local variable\n Object o_3_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets();\n // MethodAssertGenerator build local variable\n Object o_5_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount();\n // MethodCallAdder\n bf.add(\"a\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets(), 150080);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount(), 10);\n bf.add(\"a\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets(), 150080);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount(), 10);\n // MethodAssertGenerator build local variable\n Object o_8_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets();\n // MethodAssertGenerator build local variable\n Object o_10_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount();\n // MethodAssertGenerator build local variable\n Object o_12_0 = bf.isPresent(\"a\");\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_12826 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // StatementAdderMethod cloned existing statement\n vc_12826.tserializer();\n // MethodAssertGenerator build local variable\n Object o_18_0 = bf.isPresent(\"b\");\n org.junit.Assert.fail(\"testOne_add56212_cf56287 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "title": "" }, { "docid": "236da054b10e95af3b0110f8693bdb75", "score": "0.5377019", "text": "@org.junit.Test(timeout = 10000)\n public void testMerge_cf45254_literalMutation45826_failAssert58_literalMutation48287() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_9_1 = 150080;\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_9_1, 150080);\n // MethodAssertGenerator build local variable\n Object o_7_1 = 10;\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_7_1, 10);\n // MethodAssertGenerator build local variable\n Object o_4_1 = 10;\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_4_1, 10);\n // MethodAssertGenerator build local variable\n Object o_2_1 = 150080;\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_2_1, 150080);\n bf.add(\"a\");\n // MethodAssertGenerator build local variable\n Object o_2_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_2_0, 150080);\n // MethodAssertGenerator build local variable\n Object o_4_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_4_0, 10);\n bf2.add(\"c\");\n // MethodAssertGenerator build local variable\n Object o_7_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf2).getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_7_0, 10);\n // MethodAssertGenerator build local variable\n Object o_9_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf2).buckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_9_0, 150080);\n com.clearspring.analytics.stream.membership.BloomFilter[] bfs = new com.clearspring.analytics.stream.membership.BloomFilter[1];\n bfs[-2] = bf;\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // MethodAssertGenerator build local variable\n Object o_16_0 = mergeBf.isPresent(\"a\");\n // MethodAssertGenerator build local variable\n Object o_18_0 = mergeBf.isPresent(\"b\");\n // StatementAdderOnAssert create literal from method\n java.lang.String String_vc_202 = \"c\";\n // AssertGenerator replace invocation\n boolean o_testMerge_cf45254__13 = // StatementAdderMethod cloned existing statement\nmergeBf.isPresent(String_vc_202);\n // MethodAssertGenerator build local variable\n Object o_24_0 = o_testMerge_cf45254__13;\n // MethodAssertGenerator build local variable\n Object o_26_0 = mergeBf.isPresent(\"c\");\n org.junit.Assert.fail(\"testMerge_cf45254_literalMutation45826 should have thrown ArrayIndexOutOfBoundsException\");\n } catch (java.lang.ArrayIndexOutOfBoundsException eee) {\n }\n }", "title": "" }, { "docid": "ade323e4d3b9ebcdc9b02e738a7d862f", "score": "0.53089976", "text": "public void testLogicalCompShortCircuiting() throws Exception\n {\n verify(\"TestAstToPlanTranslator-testLogicalCompShortCircuiting\");\n }", "title": "" }, { "docid": "7b410628e40e3fcb7136a4a845e2ec9b", "score": "0.52867085", "text": "@org.junit.Test(timeout = 10000)\n public void testMerge_cf45298_cf46885_failAssert18() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_25_1 = 150080;\n // MethodAssertGenerator build local variable\n Object o_23_1 = 10;\n // MethodAssertGenerator build local variable\n Object o_9_1 = 150080;\n // MethodAssertGenerator build local variable\n Object o_7_1 = 10;\n // MethodAssertGenerator build local variable\n Object o_4_1 = 10;\n // MethodAssertGenerator build local variable\n Object o_2_1 = 150080;\n bf.add(\"a\");\n // MethodAssertGenerator build local variable\n Object o_2_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets();\n // MethodAssertGenerator build local variable\n Object o_4_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount();\n bf2.add(\"c\");\n // MethodAssertGenerator build local variable\n Object o_7_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf2).getHashCount();\n // MethodAssertGenerator build local variable\n Object o_9_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)bf2).buckets();\n com.clearspring.analytics.stream.membership.BloomFilter[] bfs = new com.clearspring.analytics.stream.membership.BloomFilter[1];\n bfs[0] = bf;\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // MethodAssertGenerator build local variable\n Object o_15_0 = mergeBf.isPresent(\"a\");\n // MethodAssertGenerator build local variable\n Object o_17_0 = mergeBf.isPresent(\"b\");\n // StatementAdderOnAssert create random local variable\n byte[] vc_8527 = new byte []{};\n // StatementAdderMethod cloned existing statement\n mergeBf.add(vc_8527);\n // MethodAssertGenerator build local variable\n Object o_23_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)mergeBf).getHashCount();\n // MethodAssertGenerator build local variable\n Object o_25_0 = ((com.clearspring.analytics.stream.membership.BloomFilter)mergeBf).buckets();\n // StatementAdderOnAssert create null value\n byte[] vc_9342 = (byte[])null;\n // StatementAdderMethod cloned existing statement\n mergeBf.deserialize(vc_9342);\n // MethodAssertGenerator build local variable\n Object o_31_0 = mergeBf.isPresent(\"c\");\n org.junit.Assert.fail(\"testMerge_cf45298_cf46885 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "title": "" }, { "docid": "fcb661ab6caeedde91df3f998ac55d4c", "score": "0.5279038", "text": "@Test\n public void testHardSortingWithOr() {\n VersionStrategy strat = VersionStrategy.from(\n List.of(\n \"PRODUCT:EAP or QUALITY:TESTED sort-by SUFFIX-VERSION\",\n \"QUALITY:RELEASED sort-by SUFFIX-VERSION\"),\n null,\n null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of(Qualifier.QUALITY, Set.of())),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-1\",\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-4\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "9a8de4c9a757dd1e01c8ad1ac1dfa7cc", "score": "0.52776736", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7643_cf10382_failAssert0() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_44_1 = 150080;\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_10_0 = instance.getHashCount();\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_19_0 = instance.getHashCount();\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n // MethodAssertGenerator build local variable\n Object o_28_0 = instance.getHashCount();\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n // MethodAssertGenerator build local variable\n Object o_37_0 = instance.getHashCount();\n // StatementAddOnAssert local variable replacement\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // AssertGenerator replace invocation\n int o_testGetFalsePositiveProbability_cf7643__42 = // StatementAdderMethod cloned existing statement\nmergeBf.emptyBuckets();\n // MethodAssertGenerator build local variable\n Object o_44_0 = o_testGetFalsePositiveProbability_cf7643__42;\n // StatementAdderOnAssert create null value\n java.lang.String vc_2194 = (java.lang.String)null;\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_2192 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // StatementAdderMethod cloned existing statement\n vc_2192.add(vc_2194);\n org.junit.Assert.fail(\"testGetFalsePositiveProbability_cf7643_cf10382 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "title": "" }, { "docid": "9168cb5c58aee970633346ce67116502", "score": "0.5272683", "text": "@Test\n public void testTwoDistinctRanks() {\n VersionStrategy strat = VersionStrategy.from(List.of(\"PRODUCT:EAP\", \"QUALITY:RELEASED\"), null, null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of()),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-4\",\n \"1.4.0.redhat-2\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "048cac068e107213400de08e022f86c2", "score": "0.5270743", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7609() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_1550 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.BloomFilter o_testGetFalsePositiveProbability_cf7609__41 = // StatementAdderMethod cloned existing statement\nvc_1550.alwaysMatchingBloomFilter();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7609__41).buckets(), 64);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7609__41).getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "c8227e0c8e823d66b95eba78d6994fa7", "score": "0.5269786", "text": "@Test\n public void testSortingCombinationWithoutHard() {\n VersionStrategy strat = VersionStrategy\n .from(List.of(\"PRODUCT:EAP\", \"QUALITY:RELEASED\", \"QUALITY:TESTED\"), null, null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-2\",\n Map.of(\n Qualifier.QUALITY,\n Set.of(\"RELEASED\", \"TESTED\"),\n Qualifier.PRODUCT,\n Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-2\",\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-1\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "01666362f8b663c42192a78c443efa18", "score": "0.52627796", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7643_cf10382_failAssert0_literalMutation19342() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodAssertGenerator build local variable\n Object o_44_1 = 150080;\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_44_1, 150080);\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_10_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_10_0, 7);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_19_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_19_0, 7);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n // MethodAssertGenerator build local variable\n Object o_28_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_28_0, 1);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).getHashCount(), 7);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).buckets(), 128);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n // MethodAssertGenerator build local variable\n Object o_37_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_37_0, 7);\n // StatementAddOnAssert local variable replacement\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // AssertGenerator replace invocation\n int o_testGetFalsePositiveProbability_cf7643__42 = // StatementAdderMethod cloned existing statement\nmergeBf.emptyBuckets();\n // MethodAssertGenerator build local variable\n Object o_44_0 = o_testGetFalsePositiveProbability_cf7643__42;\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_44_0, 150080);\n // StatementAdderOnAssert create null value\n java.lang.String vc_2194 = (java.lang.String)null;\n // AssertGenerator add assertion\n org.junit.Assert.assertNull(vc_2194);\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_2192 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // AssertGenerator add assertion\n org.junit.Assert.assertNull(vc_2192);\n // StatementAdderMethod cloned existing statement\n vc_2192.add(vc_2194);\n org.junit.Assert.fail(\"testGetFalsePositiveProbability_cf7643_cf10382 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "title": "" }, { "docid": "a0768f440fd92cf2825455820a0949f3", "score": "0.52497804", "text": "@org.junit.Test(timeout = 10000)\n public void testMerge_literalMutation45237_failAssert0_add47119() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // MethodCallAdder\n bf.add(\"a\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets(), 150080);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount(), 10);\n bf.add(\"a\");\n bf2.add(\"c\");\n com.clearspring.analytics.stream.membership.BloomFilter[] bfs = new com.clearspring.analytics.stream.membership.BloomFilter[// TestDataMutator on numbers\n 0];\n bfs[0] = bf;\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // MethodAssertGenerator build local variable\n Object o_8_0 = mergeBf.isPresent(\"a\");\n // MethodAssertGenerator build local variable\n Object o_10_0 = mergeBf.isPresent(\"b\");\n // MethodAssertGenerator build local variable\n Object o_12_0 = mergeBf.isPresent(\"c\");\n org.junit.Assert.fail(\"testMerge_literalMutation45237 should have thrown ArrayIndexOutOfBoundsException\");\n } catch (java.lang.ArrayIndexOutOfBoundsException eee) {\n }\n }", "title": "" }, { "docid": "c5feb6a1c99a5b5706afd76ec76c8ac7", "score": "0.52482915", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7625() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.Filter[] vc_1558 = (com.clearspring.analytics.stream.membership.Filter[])null;\n // StatementAddOnAssert local variable replacement\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.Filter o_testGetFalsePositiveProbability_cf7625__44 = // StatementAdderMethod cloned existing statement\nmergeBf.merge(vc_1558);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7625__44).getHashCount(), 10);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7625__44).buckets(), 150080);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "0fc50c4778508df8fe4d69c52c2eb9d7", "score": "0.5243196", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7623() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.Filter[] vc_1558 = (com.clearspring.analytics.stream.membership.Filter[])null;\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.Filter o_testGetFalsePositiveProbability_cf7623__41 = // StatementAdderMethod cloned existing statement\ninstance.merge(vc_1558);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7623__41).buckets(), 192);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testGetFalsePositiveProbability_cf7623__41).getHashCount(), 8);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "df383a5c1632954255af6f931ff0d830", "score": "0.5237192", "text": "@Test\n public void testHardSortingWithAnd() {\n VersionStrategy strat = VersionStrategy.from(\n List.of(\n \"PRODUCT:EAP and QUALITY:TESTED sort-by SUFFIX-VERSION\",\n \"QUALITY:RELEASED sort-by SUFFIX-VERSION\"),\n null,\n null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of(Qualifier.QUALITY, Set.of())),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-4\",\n \"1.4.0.redhat-2\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "311dc8248b03492b4645a224f3d7d940", "score": "0.52344984", "text": "@Test(timeout=2000)\n\tpublic void testSorting() {\n\t\tint N = 1023456;\n\t\tRandom random = new Random();\n\t\tPairingHeap<Integer> ph = new PairingHeap<>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tph.add(random.nextInt());\n\t\t}\n\t\tassertFalse(ph.isEmpty());\n\t\tint prev = Integer.MIN_VALUE;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tint m = ph.remove();\n\t\t\tassertTrue(prev <= m);\n\t\t\tprev = m;\n\t\t}\n\t\tassertTrue(ph.isEmpty());\n\t}", "title": "" }, { "docid": "f6e6ab9a68d19d3551da496d9d06a35a", "score": "0.52171606", "text": "@Test\n public void queueOrderedByOptimisticTxn() throws Exception {\n queueOrderedByTransaction(TransactionType.OPTIMISTIC);\n }", "title": "" }, { "docid": "68ad948d9d73e3d359bfccc5542cb365", "score": "0.5208573", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n Contract contract0 = new Contract();\n contract0.m_comboLegs = null;\n contract0.m_secIdType = null;\n Order order0 = new Order();\n order0.m_delta = (double) 0;\n OrderState orderState0 = new OrderState();\n System.setCurrentTimeMillis(0);\n System.setCurrentTimeMillis(1736L);\n order0.m_orderId = 1317;\n System.setCurrentTimeMillis(2645L);\n System.setCurrentTimeMillis(0);\n Contract contract1 = new Contract(0, \"V(6k^eRF<%IR]P{%9\", \"BAG\", \"\", 784.9717569156604, \"m5@_cvvbJ\\\"[n^\", \"7]\", \"\", \"auctionPrice\", \" faProfile=\", (Vector) null, (String) null, true, (String) null, (String) null);\n contract1.m_comboLegsDescrip = \"f!JzV/Wjken:n\";\n EWrapperMsgGenerator.openOrder(0, contract0, order0, orderState0);\n EWrapperMsgGenerator.openOrder(0, contract0, order0, orderState0);\n System.setCurrentTimeMillis((-1L));\n Object object0 = new Object();\n contract1.equals(object0);\n EWrapperMsgGenerator.openOrder(53, contract1, order0, orderState0);\n System.setCurrentTimeMillis(0);\n System.setCurrentTimeMillis(Integer.MAX_VALUE);\n }", "title": "" }, { "docid": "7c9aed5a904bff8528c85de9d149a4a3", "score": "0.5204707", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7637_failAssert73_literalMutation12458() {\n // AssertGenerator generate try/catch block with fail statement\n try {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_10_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_10_0, 7);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n // MethodAssertGenerator build local variable\n Object o_19_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_19_0, 7);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n // MethodAssertGenerator build local variable\n Object o_28_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_28_0, 1);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 22);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).getHashCount(), 14);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).buckets(), 256);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n // MethodAssertGenerator build local variable\n Object o_37_0 = instance.getHashCount();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_37_0, 14);\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_1564 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // StatementAdderMethod cloned existing statement\n vc_1564.buckets();\n org.junit.Assert.fail(\"testGetFalsePositiveProbability_cf7637 should have thrown NullPointerException\");\n } catch (java.lang.NullPointerException eee) {\n }\n }", "title": "" }, { "docid": "b2c0b9ceea6a3a3b5a89ac465da39bda", "score": "0.52040946", "text": "@Test\n public void testLogicOperatorPriorities() {\n VersionStrategy strat = VersionStrategy\n .from(List.of(\"PRODUCT:EAP or QUALITY:TESTED and QUALITY:RELEASED\"), null, null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(\n Qualifier.QUALITY,\n Set.of(\"RELEASED\", \"TESTED\"),\n Qualifier.PRODUCT,\n Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of()),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-4\",\n \"1.4.0.redhat-2\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "51bc9e14eb1596ed55a6197569ee0b79", "score": "0.52022123", "text": "@Test(timeout = 4000)\n public void test109() throws Throwable {\n Range.Builder range_Builder0 = new Range.Builder(3044L, 3044L);\n Range.Builder range_Builder1 = range_Builder0.copy();\n range_Builder0.build();\n Range.Builder range_Builder2 = range_Builder0.shift(2147483647L);\n Range.Builder range_Builder3 = new Range.Builder(range_Builder1);\n Range.Builder range_Builder4 = new Range.Builder();\n Range.Builder range_Builder5 = new Range.Builder((-31990L), (-2318L));\n Range.Builder range_Builder6 = range_Builder2.copy();\n range_Builder1.build();\n Range range0 = range_Builder6.build();\n Long long0 = new Long(2147483647L);\n range_Builder2.expandEnd((-1883L));\n Range.Builder range_Builder7 = new Range.Builder(7211250088305L);\n Consumer<Long> consumer0 = (Consumer<Long>) mock(Consumer.class, new ViolatedAssumptionAnswer());\n range0.forEach(consumer0);\n Range.Builder range_Builder8 = new Range.Builder();\n range_Builder8.expandBegin((-32768L));\n range_Builder7.shift(3044L);\n Object object0 = new Object();\n Object object1 = new Object();\n boolean boolean0 = range0.equals(object1);\n assertFalse(boolean0);\n }", "title": "" }, { "docid": "02b932cbca7aef4bd7591c0fec257d46", "score": "0.5179481", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7590() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create random local variable\n byte[] vc_1543 = new byte []{109,86,75};\n // StatementAddOnAssert local variable replacement\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n // AssertGenerator replace invocation\n boolean o_testGetFalsePositiveProbability_cf7590__44 = // StatementAdderMethod cloned existing statement\nmergeBf.isPresent(vc_1543);\n // AssertGenerator add assertion\n org.junit.Assert.assertFalse(o_testGetFalsePositiveProbability_cf7590__44);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "8a5c214afe487ef2872a4a3013792493", "score": "0.51765436", "text": "public void testStability2() throws Exception {\n \t\tExtObjectContainer db = mWoT.getDB();\n \t\t\t\n \t\tOwnIdentity o = mWoT.createOwnIdentity(uriO, uriO, \"O\", true, \"Test\"); // Tree owner\n \t\tIdentity s = new Identity(uriS, \"S\", true); mWoT.storeAndCommit(s); // Seed identity\n \t\tIdentity a = new Identity(uriA, \"A\", true); mWoT.storeAndCommit(a); \n \t\tIdentity b = new Identity(uriB, \"B\", true); mWoT.storeAndCommit(b);\n \t\tIdentity c = new Identity(uriC, \"C\", true); mWoT.storeAndCommit(c);\n \t\t\n \t\t// You get all the identities from the seed identity.\n \t\tmWoT.setTrust(o, s, (byte)100, \"I trust the seed identity.\");\n \n \t\tmWoT.setTrustWithoutCommit(s, a, (byte)4, \"Minimal trust\");\n \t\tmWoT.setTrustWithoutCommit(a, b, (byte)100, \"trust\");\n \t\tmWoT.setTrustWithoutCommit(b, c, (byte)100, \"trust\");\n \t\tmWoT.setTrustWithoutCommit(c, a, (byte)-100, \"distrust\");\n \t\tdb.commit();\n \n \t\tflushCaches();\n \n \t\tfinal Score oldScoreA = mWoT.getScore(o, a).clone();\n \t\tfinal Score oldScoreB = mWoT.getScore(o, b).clone();\n \t\tfinal Score oldScoreC = mWoT.getScore(o, c).clone();\n \n \t\t//assertTrue(\"a score: \" + oldScoreA + \" c score: \" + oldScoreC, false);\n \n \t\t//force some recomputation\n \t\t\n \t\tmWoT.setTrustWithoutCommit(s, a, (byte)0, \"Minimal trust\");\n \t\tmWoT.setTrustWithoutCommit(a, b, (byte)0, \"trust\");\n \t\tmWoT.setTrustWithoutCommit(b, c, (byte)0, \"trust\");\n \t\tmWoT.setTrustWithoutCommit(c, a, (byte)0, \"distrust\");\n \t\tdb.commit();\n \t\tflushCaches();\n \n \t\tmWoT.setTrustWithoutCommit(s, a, (byte)4, \"Minimal trust\");\n \t\tmWoT.setTrustWithoutCommit(c, a, (byte)-100, \"distrust\");\n \t\tmWoT.setTrustWithoutCommit(b, c, (byte)100, \"trust\");\n \t\tmWoT.setTrustWithoutCommit(a, b, (byte)100, \"trust\");\n \t\tdb.commit();\n \t\tflushCaches();\n \n \t\tfinal Score newScoreA = mWoT.getScore(o, a);\n \t\tfinal Score newScoreB = mWoT.getScore(o, b);\n \t\tfinal Score newScoreC = mWoT.getScore(o, c);\n \n \t\tassertEquals(oldScoreA, newScoreA);\n \t\tassertEquals(oldScoreB, newScoreB);\n \t\tassertEquals(oldScoreC, newScoreC);\n \n \t}", "title": "" }, { "docid": "99982bbee113740f83c6e8d5db0e6eae", "score": "0.5175537", "text": "private void test_objectLevelCompareNonNullObjects(Asserts asserts) {\n\n {\n Object terminalObject1 = new String();\n Object terminalObject2 = new String();\n asserts.assert_NoDiffNoPropertyDiff(terminalObject1, terminalObject2, 0); // Vergleich von Primitiven => auch im CompareMode keine children\n terminalObject1 = \"Hoho, draußen vom Walde komme ich her!\";\n asserts.assert_ValueDiff(terminalObject1, terminalObject2);\n }\n\n {\n Object nonTerminalObject1 = new ObjectWithPrimitives(); // non terminal durch PackageNonTerminalStrategy(\"net.stuch.*\")\n Object nonTerminalObject2 = new ObjectWithPrimitives(); // non terminal durch PackageNonTerminalStrategy(\"net.stuch.*\")\n asserts.assert_DiffNotDeterminable(nonTerminalObject1, nonTerminalObject2);// vielleicht ein bischen bitter, aber an dieser Stelle kann man leider keinen Diff bestimmen.\n // erst wenn ein IdResolver registriert ist, können diffs bestimmt werden:\n asserts.configureCompareTool().registerIdResolver(ObjectWithPrimitives.class, new HashCodeIdentityResolver());\n asserts.assert_ReferenceDiff(nonTerminalObject1, nonTerminalObject2);\n // Wenn nun nonTerminalObject1 geändert wird, muss nach wie vor der ReferenceDiff kommen\n // dies gilt solange analysePropertiesOfDifferentNonTerminalObjects == false\n ((ObjectWithPrimitives) nonTerminalObject1).primitiveInt++;\n asserts.assert_ReferenceDiff(nonTerminalObject1, nonTerminalObject2); // Wenn ein ReferenceDiff vorliegt, gibt es auch im CompareMode keine children\n // es sei denn, man schaltet das ein\n // asserts.configureCompareTool().registerAnalysePropertiesOfDifferentNonTerminalObjects(true);\n }\n\n { // ein ähnlicher Test, nur dass die ID über einen IDResolver festgestellt wird\n Object nonTerminalObject1 = new ObjectWithPrimitivesWithId(1); // non terminal durch PackageNonTerminalStrategy(\"net.stuch.*\")\n Object nonTerminalObject2 = new ObjectWithPrimitivesWithId(1); // non terminal durch PackageNonTerminalStrategy(\"net.stuch.*\")\n asserts.configureCompareTool().registerIdResolver(ObjectWithPrimitivesWithId.class, new ObjectWithPrimitivesWithId.IDResolver());\n int numToplevelChildren = 5;\n if (asserts instanceof DiffModeAsserts) {\n numToplevelChildren = 0; // im DiffMode (beim Aufruf der diff-Operation) soll es nur für Unterschiede children geben\n }\n CompositeComparison<?> comparison = asserts.assert_NoDiffNoPropertyDiff(nonTerminalObject1, nonTerminalObject2, numToplevelChildren);\n nonTerminalObject2 = new ObjectWithPrimitivesWithId(2);\n asserts.assert_ReferenceDiff(nonTerminalObject1, nonTerminalObject2);\n }\n }", "title": "" }, { "docid": "1ea3be47d80b0ec11dfb2440d15b6de6", "score": "0.51733214", "text": "@Test\n public void testMultiValueRanksInOrder() {\n VersionStrategy strat = VersionStrategy\n .from(List.of(\"QUALITY:RELEASED\", \"QUALITY:TESTED\", \"PRODUCT:EAP\"), null, null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(\n Qualifier.QUALITY,\n Set.of(\"RELEASED\", \"TESTED\"),\n Qualifier.PRODUCT,\n Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of()),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-1\",\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-4\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "9ed4a1833deeb64b30ee9b91689a19a7", "score": "0.51500213", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7656() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // StatementAdderOnAssert create random local variable\n byte[] vc_1575 = new byte []{};\n // StatementAdderMethod cloned existing statement\n instance.add(vc_1575);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).getHashCount(), 8);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)instance).buckets(), 192);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "72e175ff532cfd799cc85cc2fa0ffd03", "score": "0.5145751", "text": "@Test\n public void testSkipping() {\n Anchor test1 = new Anchor(\"// \", \"test\", MergeStrategy.APPEND, false, false);\n Anchor test2 = new Anchor(\"// \", \"test2\", MergeStrategy.APPEND, false, false);\n Anchor test3 = new Anchor(\"// \", \"test2\", MergeStrategy.APPENDBEFORE, false, false);\n Anchor test4 = new Anchor(\"// \", \"test2\", MergeStrategy.NOMERGE, false, false);\n Anchor test5 = new Anchor(\"// \", \"test\", MergeStrategy.NOMERGE, false, false);\n\n ArrayList<Anchor> testMap = new ArrayList<>();\n testMap.add(test1);\n testMap.add(test2);\n testMap.add(test3);\n testMap.add(test4);\n testMap.add(test5);\n assertThat(!MergeUtil.canBeSkipped(testMap, test1));\n assertThat(MergeUtil.canBeSkipped(testMap, test2));\n assertThat(!MergeUtil.canBeSkipped(testMap, test3));\n assertThat(MergeUtil.canBeSkipped(testMap, test4));\n assertThat(MergeUtil.canBeSkipped(testMap, test5));\n }", "title": "" }, { "docid": "2c07d4be9e274546013abe0d77dfe022", "score": "0.51406014", "text": "public static double s5_2016Debug(long testcases) throws IOException {\r\n /**\r\n * public static void main(String[] args) throws IOException { long\r\n * testcases = 1; System.out.println(\"Total Elapsed Time For\r\n * \"+testcases+\" Runs: \"+s5_2016Debug(testcases)); } // main function\r\n * for debuggings\r\n */\r\n \r\n long totalRunTime = 0;\r\n long DataCollectionStart = System.nanoTime();\r\n Random Random = new Random();\r\n int n = 2432;\r\n long t = 700000;\r\n int[][] a = new int[2][n];\r\n a[0] = Random.ints(n, 0, 2).toArray();\r\n a[1] = a[0].clone();\r\n long listGeneratorEnd_AlgorithimBegins = System.nanoTime();\r\n\r\n long totalrunTime = 0;\r\n for (long z = 0; z < testcases; z++) {\r\n long runTimeCurrent = System.nanoTime();\r\n for (int j = 0; j < t; j++) { //this loop is for generations\r\n for (int i = 0; i < a[1].length; i++) {\r\n\r\n try {\r\n if (a[0][i - 1] == 1 ^ a[0][i + 1] == 1) {\r\n a[1][i] = 1;\r\n } else {\r\n a[1][i] = 0;\r\n }\r\n } catch (ArrayIndexOutOfBoundsException error) {\r\n if (i == 0) {\r\n if (a[0][i + 1] == 1 ^ a[0][a[1].length - 1] == 1) {\r\n a[1][i] = 1;\r\n } else {\r\n a[1][i] = 0;\r\n }\r\n } else {\r\n //last index!\r\n if (a[0][i - 1] == 1 ^ a[0][0] == 1) {\r\n a[1][i] = 1;\r\n } else {\r\n a[1][i] = 0;\r\n }\r\n }\r\n }\r\n }\r\n a[0] = a[1].clone();\r\n }\r\n\r\n /**\r\n * Execution Results\r\n *\r\n * Test case #1:\tAC\t[0.168s,\t27.16 MB]\t(0/0) Test case #2:\tAC\r\n * [0.215s, 27.15 MB]\t(0/0) Test case #3:\tAC\t[0.188s,\t27.42 MB]\r\n * (1/1)\r\n *\r\n * Batch #4 (0/6 points) Case #1:\tAC\t[1.731s,\t31.14 MB] Case #2:\tTLE\r\n * [>3.000s,\t30.08 MB] Case #3:\t— Case #4:\t— Case #5:\t— Case #6:\t—\t*\r\n * Batch #5 (0/4 points) Case #1:\tAC\t[0.185s,\t27.80 MB] Case #2:\tTLE\r\n * [>3.000s,\t30.34 MB] Case #3:\t— Case #4:\t—\t* Batch #6 (0/4 points)\r\n * Case #1:\tTLE\t[>3.000s,\t30.82 MB] Case #2:\t— Case #3:\t— Case #4:\t—\r\n * *\r\n *\r\n * Resources: ---, 31.14 MB Final score: 1/15 (1.333/20 points)\r\n */\r\n long runtimeEnd = System.nanoTime();\r\n totalrunTime += runtimeEnd - runTimeCurrent;\r\n }\r\n double finalTime = (((double) totalrunTime / 1000000000.0) / testcases) + ((listGeneratorEnd_AlgorithimBegins - DataCollectionStart) * testcases) / 1000000000.0;\r\n for (int i = 0; i < a.length; i++) {\r\n System.out.print(a[0][i] + \" \");\r\n }\r\n return (finalTime);\r\n }", "title": "" }, { "docid": "a0fd49f23cae666ee7f7757b23d1a4e8", "score": "0.5135785", "text": "public static void main(String[] args) {\n AvlHeap<Long> btLng = new AvlHeap<>(20);\n //btLng.setTtl(30000L);\n //BinTreeCheckPassEventTest check = new BinTreeCheckPassEventTest();\n //Long[] rnd = new Long[]{407L,3879L,958L,3899L,4262L,3295L,8258L,8214L,875L,4581L,9733L,164L,2942L,8446L,5083L,7494L,9901L,8354L,3326L,8427L,1407L,4104L,3489L,5555L};\n //Long[] rnd = new Long[]{9205L,8378L,7395L,6283L,1970L,4425L,5537L,5573L,3508L,5060L,2979L,921L,8387L,5293L,8488L,3405L,4196L,5580L,8660L,1036L,1278L,4456L,4500L,4799L,3347L,3114L, 1L, 2L, 3L, 4L};\n //Long[] rnd = new Long[]{2L, 8L, 5L, 1L, 9L}; //, 3L, 4L, 7L, 6L, 10L}; //, 15L, 12L, 14L, 18L, 16L, 13L, 20L, 17L, 19L, 11L};\n //Long[] rnd = new Long[]{2L, 8L, 5L, 1L, 9L, 3L, 4L, 7L, 6L, 10L, 15L, 12L, 14L, 18L, 16L, 13L, 20L, 17L, 19L, 11L, 50L};\n //Long[] rnd = new Long[]{50L, 10L, 70L, 100L, 20L, 60L, 50L, 85L, 11L, 1L, 1001L, 101L, 45L, 23L, 31L, 25L, 64L, 67L, 3L, 99L, 41L, 2L, 22L, 79L};\n\n Long[] rnd = new Long[]{2L, 8L, 5L, 1L, 9L, 3L, 4L, 7L, 6L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L};\n //Long[] rnd = new Long[]{};\n //Long[] rnd = new Long[]{3693L, 5312L, 9701L, 8279L, 7627L, 5996L, 8152L, 9863L, 1212L, 2628L, 9159L, 8584L, 3876L, 2173L, 8627L, 6457L, 6034L, 6967L, 9026L, 8530L, 548L, 7564L, 6746L/*, 8752L*/};\n //Long[] rnd = new Long[]{4392624L, 2881184L, 9539741L, 3081582L, 1611473L, 5257245L, 7687060L, 662051L, 9912096L, 9489267L, 143672L, 3062267L, 9688194L, 8924794L, 4746615L, 2115122L, 5390092L, 6001589L, 4045300L, 2239590L, 6082371L, 5207546L, 5335956L, 9123370L, 6573253L, 9771302L, 3030685L, 125894L, 3307948L, 4295786L, 30L, 8925390L};\n btLng.addAll(Arrays.asList(rnd));\n\n// for (long i = 0; i < CNT; i++) {\n// Long rnd = Math.round(Math.random() * CNT);\n// System.out.print(rnd + \"L, \");\n// btLng.add(rnd);\n//// btLng.add(i + 1);\n// btLng.checkStructure(check);\n// }\n\n// btLng.remove(2L);\n// btLng.remove(8L);\n// btLng.remove(19L);\n// btLng.remove(20L);\n //btLng.remove(9L);\n //btLng.remove(10L);\n //btLng.remove(11L);\n BinTreeGraph<Long> graph = new BinTreeGraph<Long>(btLng);\n graph.letsGo();\n }", "title": "" }, { "docid": "8175da3e27f3248ff1863fd007e5da8e", "score": "0.51319337", "text": "@Test\n public void test_boca1() {\n checkInMaps(\"bocaseumplu7C\", translatorBridge);\n checkInMaps(\"bocaseumplu7D\", translatorBridge);\n checkInMaps(\"bocaseumplu7E\", translatorBridge);\n //checkInMaps(\"bocaseumplu7F\", translatorBridge);\n //checkInMaps(\"bocaseumplu7G\", translatorBridge);\n //checkInMaps(\"bocaseumplu7H\", translatorBridge);\n checkInMaps(\"bocaseumplu7I\", translatorBridge);\n checkInMaps(\"bocaseumplu7J\", translatorBridge);\n checkInMaps(\"bocaseumplu7K\", translatorBridge);\n checkInMaps(\"bocaseumplu7L\", translatorBridge);\n checkInMaps(\"bocaseumplu7M\", translatorBridge);\n //checkInMaps(\"bocaseumplu7N\", translatorBridge);\n checkInMaps(\"bocaseumplu7O\", translatorBridge);\n checkInMaps(\"bocaseumplu7P\", translatorBridge);\n checkInMaps(\"bocaseumplu7Q\", translatorBridge);\n checkInMaps(\"bocaseumplu7R\", translatorBridge);\n checkInMaps(\"bocaseumplu7S\", translatorBridge);\n checkInMaps(\"bocaseumplu7T\", translatorBridge);\n //checkInMaps(\"bocaseumplu7U\", translatorBridge);\n checkInMaps(\"bocaseumplu7V\", translatorBridge);\n checkInMaps(\"bocaseumplu7W\", translatorBridge);\n checkInMaps(\"bocaseumplu7X\", translatorBridge);\n //checkInMaps(\"bocaseumplu7Y\", translatorBridge);\n //checkInMaps(\"bocaseumplu7Z\", translatorBridge);\n checkInMaps(\"bocaseumplu7AA\", translatorBridge);\n checkInMaps(\"bocaseumplu7BB\", translatorBridge);\n checkInMaps(\"bocaseumplu7CC\", translatorBridge);\n }", "title": "" }, { "docid": "2efd5e754bed6b4fcf760702292e99c7", "score": "0.51293695", "text": "@org.junit.Test(timeout = 10000)\n public void testMerge_cf45262() {\n bf.add(\"a\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets(), 150080);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount(), 10);\n bf2.add(\"c\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf2).getHashCount(), 10);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf2).buckets(), 150080);\n com.clearspring.analytics.stream.membership.BloomFilter[] bfs = new com.clearspring.analytics.stream.membership.BloomFilter[1];\n bfs[0] = bf;\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n org.junit.Assert.assertTrue(mergeBf.isPresent(\"a\"));\n org.junit.Assert.assertFalse(mergeBf.isPresent(\"b\"));\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.BloomFilter vc_8502 = (com.clearspring.analytics.stream.membership.BloomFilter)null;\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.BloomFilter o_testMerge_cf45262__13 = // StatementAdderMethod cloned existing statement\nvc_8502.alwaysMatchingBloomFilter();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testMerge_cf45262__13).getHashCount(), 1);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testMerge_cf45262__13).buckets(), 64);\n org.junit.Assert.assertTrue(mergeBf.isPresent(\"c\"));\n }", "title": "" }, { "docid": "fad99891a6a92fbe5975e905d06f8bb3", "score": "0.5108172", "text": "@Test(expected = UnsupportedOperationException.class)\r\n public void testSortAfterPetrify1()\r\n {\r\n PETRIFIED_LIST.sort();\r\n }", "title": "" }, { "docid": "a4f9e28357e24a5c3748ff015739767e", "score": "0.50980335", "text": "@Test\n public void testAllowAndDenyAtTheSameTime() {\n VersionStrategy strat = VersionStrategy.from(null, \"QUALITY:RELEASED\", \"PRODUCT:RHSSO\");\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"))),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = { \"1.4.0.redhat-3\", \"1.4.0.redhat-2\" };\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "1b20670ba6d86ccd43ac085753ab8339", "score": "0.50979537", "text": "@Test\n public void testDifferentVersionWarning() {\n final DependencyDescriptor md4OtherDep = addDependency(md1, \"md4\", \"rev4-other\");\n addDependency(md2, \"md1\", \"rev1\");\n addDependency(md3, \"md2\", \"rev2\");\n addDependency(md4, \"md3\", \"rev3\");\n\n // Would be much easier with a tool like jmock\n class NonMatchingVersionReporterMock implements NonMatchingVersionReporter {\n private int nbOfCall = 0;\n\n public void reportNonMatchingVersion(DependencyDescriptor descriptor,\n ModuleDescriptor md) {\n assertEquals(\"reportNonMatchingVersion should be invoked only once\", 0,\n nbOfCall);\n assertEquals(md4OtherDep, descriptor);\n assertEquals(md4, md);\n nbOfCall++;\n }\n\n public void validate() {\n assertEquals(\"reportNonMatchingVersion has not been called\", 1, nbOfCall);\n }\n }\n NonMatchingVersionReporterMock nonMatchingVersionReporterMock = new NonMatchingVersionReporterMock();\n List<ModuleDescriptor> toSort = Arrays.asList(new ModuleDescriptor[] {md4, md3, md2, md1});\n sortModuleDescriptors(toSort, nonMatchingVersionReporterMock);\n nonMatchingVersionReporterMock.validate();\n }", "title": "" }, { "docid": "122f14c4bbf4b8a7055b58ac9e2e72f7", "score": "0.5061104", "text": "@Test(timeout = 4000)\n public void test070() throws Throwable {\n HashMap<Object, Boolean> hashMap0 = new HashMap<Object, Boolean>();\n Integer integer0 = new Integer((-732));\n Integer integer1 = new Integer(13);\n Integer.getInteger(\"\", (Integer) null);\n HashMap<Boolean, Integer> hashMap1 = new HashMap<Boolean, Integer>();\n Integer.toUnsignedString((-732));\n Integer.min((-732), 13);\n Integer.toUnsignedLong(13);\n HashMap<Integer, String> hashMap2 = new HashMap<Integer, String>();\n JSONObject jSONObject0 = new JSONObject((Map) hashMap2);\n Boolean boolean0 = new Boolean(\"\");\n hashMap1.put(boolean0, (Integer) null);\n JSONObject jSONObject1 = jSONObject0.put(\"HE\", false);\n JSONArray jSONArray0 = jSONObject1.names();\n Long long0 = new Long((-1397L));\n Integer integer2 = new Integer((-3837));\n JSONObject.valueToString(hashMap1, (-732), (-732));\n JSONObject jSONObject2 = jSONObject0.put(\"uo|G)U->+\", (Map) hashMap1);\n jSONObject2.toJSONArray(jSONArray0);\n jSONObject1.names();\n hashMap2.replace((Integer) null, \"HE\", \"tET $k>z]p}K\");\n Long long1 = new Long(13);\n BiFunction<Object, String, String> biFunction0 = (BiFunction<Object, String, String>) mock(BiFunction.class, new ViolatedAssumptionAnswer());\n doReturn((Object) null).when(biFunction0).apply(any() , anyString());\n hashMap2.compute((Integer) null, biFunction0);\n jSONObject0.optJSONArray(\"null\");\n JSONObject jSONObject3 = jSONObject0.accumulate(\"_IdH7\", long0);\n double double0 = jSONObject3.optDouble(\"4294966564\");\n assertEquals(3, jSONObject0.length());\n assertEquals(Double.NaN, double0, 0.01);\n }", "title": "" }, { "docid": "e2ada2fc881b164fd3e0d0b83356077c", "score": "0.50570035", "text": "@Test\n public void issue5402() {\n Issues<Issue> warnings = new IntelParser().parse(openFile(\"issue5402.txt\"));\n\n assertThat(warnings).hasSize(4);\n\n assertSoftly(softly -> {\n softly.assertThat(warnings.get(0))\n .hasPriority(Priority.NORMAL)\n .hasCategory(\"Warning #177\")\n .hasLineStart(980)\n .hasLineEnd(980)\n .hasMessage(\"label \\\"find_rule\\\" was declared but never referenced\")\n .hasFileName(\"<stdout>\");\n\n softly.assertThat(warnings.get(1))\n .hasPriority(Priority.NORMAL)\n .hasCategory(\"Warning #177\")\n .hasLineStart(2454)\n .hasLineEnd(2454)\n .hasMessage(\"function \\\"yy_flex_strlen\\\" was declared but never referenced\")\n .hasFileName(\"<stdout>\");\n\n softly.assertThat(warnings.get(2))\n .hasPriority(Priority.NORMAL)\n .hasCategory(\"Warning #1786\")\n .hasLineStart(120)\n .hasLineEnd(120)\n .hasMessage(\"function \\\"fopen\\\" (declared at line 237 of \\\"C:\\\\Program Files\\\\Microsoft Visual Studio 9.0\\\\VC\\\\INCLUDE\\\\stdio.h\\\") was declared \\\"deprecated (\\\"This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.\\\") \\\"\")\n .hasFileName(\"D:/hudson/workspace/continuous-snext-main-Win32/trunk/src/engine/AllocationProfiler.cpp\");\n\n softly.assertThat(warnings.get(3))\n .hasPriority(Priority.HIGH)\n .hasCategory(\"Error #1786\")\n .hasLineStart(120)\n .hasLineEnd(120)\n .hasMessage(\"function \\\"fopen\\\" (declared at line 237 of \\\"C:\\\\Program Files\\\\Microsoft Visual Studio 9.0\\\\VC\\\\INCLUDE\\\\stdio.h\\\") was declared \\\"deprecated (\\\"This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.\\\") \\\"\")\n .hasFileName(\"D:/hudson/workspace/continuous-snext-main-Win32/trunk/src/engine/AllocationProfiler.cpp\");\n });\n }", "title": "" }, { "docid": "e9ef5adc1f2e43709e834e11bba4aed1", "score": "0.50532544", "text": "@Test\n public void concreteAndAbstractedListLessOrEqualTest() throws SMGException {\n Value[] pointersAbstractedList = buildConcreteList(false, sllSize, listLength);\n SMGCPAAbstractionManager absFinder = new SMGCPAAbstractionManager(currentState, listLength - 1);\n currentState = absFinder.findAndAbstractLists();\n SMGObject abstractedObj =\n currentState\n .dereferencePointerWithoutMaterilization(pointersAbstractedList[0])\n .orElseThrow()\n .getSMGObject();\n Value[] pointersConcreteList = buildConcreteList(false, sllSize, listLength);\n SMGObject concreteObjBeginning =\n currentState\n .dereferencePointerWithoutMaterilization(pointersConcreteList[0])\n .orElseThrow()\n .getSMGObject();\n\n // They are unequal (for the first object compared) with all offsets as the nfo is not equal\n assertThat(\n currentState.checkEqualValuesForTwoStatesWithExemptions(\n abstractedObj,\n concreteObjBeginning,\n ImmutableList.of(),\n currentState,\n currentState,\n EqualityCache.of()))\n .isFalse();\n assertThat(\n currentState.checkEqualValuesForTwoStatesWithExemptions(\n concreteObjBeginning,\n abstractedObj,\n ImmutableList.of(),\n currentState,\n currentState,\n EqualityCache.of()))\n .isFalse();\n\n // If the nfo is restricted, they are equal\n assertThat(\n currentState.checkEqualValuesForTwoStatesWithExemptions(\n abstractedObj,\n concreteObjBeginning,\n ImmutableList.of(nfo),\n currentState,\n currentState,\n EqualityCache.of()))\n .isTrue();\n assertThat(\n currentState.checkEqualValuesForTwoStatesWithExemptions(\n concreteObjBeginning,\n abstractedObj,\n ImmutableList.of(nfo),\n currentState,\n currentState,\n EqualityCache.of()))\n .isTrue();\n\n SMGObject concreteObjEnd =\n currentState\n .dereferencePointerWithoutMaterilization(pointersConcreteList[listLength - 1])\n .orElseThrow()\n .getSMGObject();\n // The last concrete obj is equal to the abstracted obj as the nfo match\n assertThat(\n currentState.checkEqualValuesForTwoStatesWithExemptions(\n abstractedObj,\n concreteObjEnd,\n ImmutableList.of(),\n currentState,\n currentState,\n EqualityCache.of()))\n .isTrue();\n assertThat(\n currentState.checkEqualValuesForTwoStatesWithExemptions(\n concreteObjEnd,\n abstractedObj,\n ImmutableList.of(),\n currentState,\n currentState,\n EqualityCache.of()))\n .isTrue();\n }", "title": "" }, { "docid": "03ca54ca2374b802b6cc5ac8e25dd46e", "score": "0.504858", "text": "@Test(timeout = 4000)\n public void test37() throws Throwable {\n Range.Builder range_Builder0 = new Range.Builder((-1L), 575L);\n Range range0 = Range.ofLength(575L);\n Consumer<Object> consumer0 = (Consumer<Object>) mock(Consumer.class, new ViolatedAssumptionAnswer());\n range0.forEach(consumer0);\n Range range1 = Range.ofLength(3462L);\n Object object0 = new Object();\n range0.equals(object0);\n range1.isSubRangeOf(range0);\n Range range2 = Range.of(3462L, 3462L);\n Range.Builder range_Builder1 = new Range.Builder(range1);\n range1.complement(range0);\n Range range3 = Range.of(255L);\n Range.Builder range_Builder2 = new Range.Builder(range2);\n Range.CoordinateSystem range_CoordinateSystem0 = Range.CoordinateSystem.SPACE_BASED;\n Range.Builder range_Builder3 = new Range.Builder(range_CoordinateSystem0, (-21L), (-1L));\n range_Builder3.shift(3462L);\n Range.Builder range_Builder4 = new Range.Builder(range3);\n range_Builder1.contractBegin(3462L);\n range1.startsBefore(range0);\n LinkedList<Range> linkedList0 = new LinkedList<Range>();\n LinkedList<Range> linkedList1 = new LinkedList<Range>();\n LinkedList<Range> linkedList2 = null;\n // Undeclared exception!\n try { \n range1.complementFrom((Collection<Range>) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.util.ArrayList\", e);\n }\n }", "title": "" }, { "docid": "85dfe69e7352b19e68c43b79cc1cfa09", "score": "0.50425035", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7646() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // AssertGenerator replace invocation\n java.lang.String o_testGetFalsePositiveProbability_cf7646__39 = // StatementAdderMethod cloned existing statement\ninstance.toString();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_testGetFalsePositiveProbability_cf7646__39, \"{}\");\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "f1b285ef926e0cf87626b944371e0813", "score": "0.5039164", "text": "@Ignore\n @Override\n @Test\n public void shouldCalculateDifferentHashCodesForDifferentTraversables() {\n }", "title": "" }, { "docid": "a15c3e1e4fbf55526ff7894748945cd9", "score": "0.50283337", "text": "@Test\n public void testFullTreeOfColocatedChildPRsWithMissingRegions() throws Throwable {\n int loggerTestInterval = 4000; // millis\n int numChildPRs = 2;\n int numChildGenerations = 2;\n Host host = Host.getHost(0);\n VM vm0 = host.getVM(0);\n VM vm1 = host.getVM(1);\n\n vm0.invoke(createPRColocationTree);\n vm1.invoke(createPRColocationTree);\n\n createData(vm0, 0, NUM_BUCKETS, \"a\", \"Parent\");\n createData(vm0, 0, NUM_BUCKETS, \"b\", \"Gen1_C1\");\n createData(vm0, 0, NUM_BUCKETS, \"c\", \"Gen1_C2\");\n createData(vm0, 0, NUM_BUCKETS, \"c\", \"Gen2_C1_1\");\n createData(vm0, 0, NUM_BUCKETS, \"c\", \"Gen2_C1_2\");\n createData(vm0, 0, NUM_BUCKETS, \"c\", \"Gen2_C2_1\");\n createData(vm0, 0, NUM_BUCKETS, \"c\", \"Gen2_C2_2\");\n\n Set<Integer> vm0Buckets = getBucketList(vm0, \"Parent\");\n assertFalse(vm0Buckets.isEmpty());\n Set<Integer> vm1Buckets = getBucketList(vm1, \"Parent\");\n assertFalse(vm1Buckets.isEmpty());\n for (String region : new String[] {\"Gen1_C1\", \"Gen1_C2\", \"Gen2_C1_1\", \"Gen2_C1_2\", \"Gen2_C2_1\",\n \"Gen2_C2_2\"}) {\n assertEquals(vm0Buckets, getBucketList(vm0, region));\n assertEquals(vm1Buckets, getBucketList(vm1, region));\n }\n\n closeCache(vm0);\n closeCache(vm1);\n\n vm0.invoke(new ColocationLoggerIntervalSetter(loggerTestInterval));\n vm1.invoke(new ColocationLoggerIntervalSetter(loggerTestInterval));\n vm0.invoke(new DelayForChildCreationSetter((int) (loggerTestInterval)));\n vm1.invoke(new DelayForChildCreationSetter((int) (loggerTestInterval)));\n\n Object logMsg = \"\";\n AsyncInvocation async0 = vm0.invokeAsync(createPRsSequencedColocationTreeCreationThread);\n AsyncInvocation async1 = vm1.invokeAsync(createPRsSequencedColocationTreeCreationThread);\n logMsg = async1.get(MAX_WAIT, TimeUnit.MILLISECONDS);\n async0.get(MAX_WAIT, TimeUnit.MILLISECONDS);\n vm0.invoke(new ColocationLoggerIntervalResetter());\n vm1.invoke(new ColocationLoggerIntervalResetter());\n\n // Expected warning logs only on the child region, because without the child there's nothing\n // known about the remaining hierarchy\n assertTrue(\n \"Expected missing colocated region warning on remote. Got message \\\"\" + logMsg + \"\\\"\",\n logMsg.toString().matches(PATTERN_FOR_MISSING_CHILD_LOG));\n }", "title": "" }, { "docid": "5753cf6c18617604c3ad6175a9418483", "score": "0.5025997", "text": "@CollectionFeature.Require(KNOWN_ORDER)\n @MapFeature.Require(SUPPORTS_REMOVE)\n @CollectionSize.Require(absent = ZERO)\n /* endif */\n public void testIterationOrdering_noRemoved() {\n /* if Some removed */remove();/* endif */\n List<Map.Entry<Character, Short>> cursorElements = new ArrayList<>();\n for (CharShortCursor/*<>*/ cur = getMap().cursor(); cur.moveNext();) {\n cursorElements.add(entry(cur.key(), cur.value()));\n }\n List<Map.Entry<Character, Short>> expected =\n Helpers.copyToList(noRemoved(getOrderedElements()));\n assertEquals(\"Different ordered iteration\", expected, cursorElements);\n }", "title": "" }, { "docid": "0db3b791086c3b3fdd0dfb6f50fe283a", "score": "0.50249934", "text": "@Test\n public void isSortedTestGanzerBaum() {\n assertTrue(baum.isSorted());\n }", "title": "" }, { "docid": "562852caf3ec0647d2d37e557d311daf", "score": "0.50214577", "text": "@Test\n public void testTwoSimilarRanksInOr() {\n VersionStrategy strat = VersionStrategy\n .from(List.of(\"PRODUCT:EAP or PRODUCT:RHSSO\", \"QUALITY:RELEASED\"), null, null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\"))),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-4\",\n \"1.4.0.redhat-1\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "6dc6e72a486ba56b66515deec8d3faec", "score": "0.5014248", "text": "@Test(timeout = 4000)\n public void test147() throws Throwable {\n Range range0 = Range.of(9223372036854775560L);\n range0.isSubRangeOf(range0);\n Range range1 = Range.of(32798L, 9223372036854775560L);\n range1.complement(range0);\n Consumer<Object> consumer0 = (Consumer<Object>) mock(Consumer.class, new ViolatedAssumptionAnswer());\n range1.forEach(consumer0);\n range0.intersection(range1);\n Range.Comparators[] range_ComparatorsArray0 = Range.Comparators.values();\n assertEquals(4, range_ComparatorsArray0.length);\n }", "title": "" }, { "docid": "b044b026e4df231259c59e37da07ff7e", "score": "0.5013955", "text": "@Test(timeout = 4000)\n public void test22() throws Throwable {\n Contract contract0 = new Contract();\n contract0.m_comboLegs = null;\n contract0.m_secIdType = \"oMzCHal}IyG#VQ~$sd\";\n Order order0 = new Order();\n contract0.m_conId = 0;\n OrderState orderState0 = new OrderState();\n System.setCurrentTimeMillis(0);\n System.setCurrentTimeMillis(1736L);\n System.setCurrentTimeMillis(2645L);\n System.setCurrentTimeMillis(0);\n Contract contract1 = new Contract(0, \"V(6k^eRF<%IR]P{%9\", \"BAG\", \"\", 784.9717569156604, \"m5@_cvvbJ\\\"[n^\", \"7]\", \"\", \"auctionPrice\", \" faProfile=\", (Vector) null, (String) null, true, (String) null, (String) null);\n contract1.m_secIdType = \"\";\n order0.m_basisPoints = (double) (-1L);\n String string0 = EWrapperMsgGenerator.openOrder(0, contract0, order0, orderState0);\n EWrapperMsgGenerator.openOrder(0, contract0, order0, orderState0);\n System.setCurrentTimeMillis((-1L));\n String string1 = EWrapperMsgGenerator.openOrder(53, contract1, order0, orderState0);\n assertFalse(string1.equals((Object)string0));\n }", "title": "" }, { "docid": "a6ec79976c56250238ad7ada36ffd4c5", "score": "0.5003608", "text": "@Test(expected = UnsupportedOperationException.class)\r\n public void testSortAfterPetrify2()\r\n {\r\n PETRIFIED_LIST.sort(0, 5);\r\n }", "title": "" }, { "docid": "516d2adac53fa1e55d1dc05a59ba769f", "score": "0.50035363", "text": "public static void dutchFlag()\n {\n\tint[] arr = { 2, 1, 1, 2, 1, 0, 1, 0, 0, 0, 1, 2, 1, 2, 2, 0, 2, 0, 2, 2 };\n\tArrayProblems.sort012(arr);\n\tSystem.out.println(Arrays.toString(arr));\n }", "title": "" }, { "docid": "505bd4ae2bb4f4f78fb6f92eb050b060", "score": "0.500144", "text": "@Test\n\tpublic void validSortItem1ToItem7() throws InterruptedException {\n\t\tassertTrue(SortableLogic.validSortItem1ToItem7());\n\t}", "title": "" }, { "docid": "9773485218e75cb45f0734974053b863", "score": "0.49972504", "text": "@Test void testOrderByNulls() {\n checkOrderByNulls(CalciteAssert.Config.FOODMART_CLONE);\n checkOrderByNulls(CalciteAssert.Config.JDBC_FOODMART);\n }", "title": "" }, { "docid": "7c9a81dffb3146a24c03d959788f8108", "score": "0.49967474", "text": "@Test\n @Ignore\n public void tryToCauseThreadingIssue() throws IOException, InterruptedException {\n System.setProperty(\"org.slf4j.simpleLogger.log.org.wali\", \"INFO\");\n\n final int numThreads = 12;\n final long iterationsPerThread = 1000000;\n final int numAttempts = 1000;\n\n final Path path = Paths.get(\"D:/dummy/minimal-locking-repo\");\n path.toFile().mkdirs();\n\n final AtomicReference<WriteAheadRepository<DummyRecord>> writeRepoRef = new AtomicReference<>();\n final AtomicBoolean checkpointing = new AtomicBoolean(false);\n\n final Thread bgThread = new Thread(new Runnable() {\n @Override\n public void run() {\n while (true) {\n checkpointing.set(true);\n\n final WriteAheadRepository<DummyRecord> repo = writeRepoRef.get();\n if (repo != null) {\n try {\n repo.checkpoint();\n } catch (IOException e) {\n e.printStackTrace();\n Assert.fail();\n }\n }\n\n checkpointing.set(false);\n\n try {\n TimeUnit.SECONDS.sleep(5);\n } catch (InterruptedException e) {\n }\n }\n }\n });\n bgThread.setDaemon(true);\n bgThread.start();\n\n for (int x = 0; x < numAttempts; x++) {\n final DummyRecordSerde serde = new DummyRecordSerde();\n final WriteAheadRepository<DummyRecord> writeRepo = new MinimalLockingWriteAheadLog<>(path, 256, serde, null);\n final Collection<DummyRecord> writeRecords = writeRepo.recoverRecords();\n for (final DummyRecord record : writeRecords) {\n assertEquals(\"B\", record.getProperty(\"A\"));\n }\n\n writeRepoRef.set(writeRepo);\n\n final Thread[] threads = new Thread[numThreads];\n for (int i = 0; i < numThreads; i++) {\n final Thread t = new InlineCreationInsertThread(iterationsPerThread, writeRepo);\n t.start();\n threads[i] = t;\n }\n\n for (final Thread t : threads) {\n t.join();\n }\n\n writeRepoRef.set(null);\n writeRepo.shutdown();\n\n boolean cp = checkpointing.get();\n while (cp) {\n Thread.sleep(100L);\n cp = checkpointing.get();\n }\n\n final WriteAheadRepository<DummyRecord> readRepo = new MinimalLockingWriteAheadLog<>(path, 256, serde, null);\n // ensure that we are able to recover the records properly\n final Collection<DummyRecord> readRecords = readRepo.recoverRecords();\n for (final DummyRecord record : readRecords) {\n assertEquals(\"B\", record.getProperty(\"A\"));\n }\n readRepo.shutdown();\n }\n }", "title": "" }, { "docid": "dc5bf017236594d0eb6c0d81d4621e3a", "score": "0.499522", "text": "@org.junit.Test(timeout = 10000)\n public void testGetFalsePositiveProbability_cf7642() {\n // These probabilities are taken from the bloom filter probability table at\n // http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html\n java.lang.System.out.println(\"expectedFalsePositiveProbability\");\n com.clearspring.analytics.stream.membership.BloomFilter instance = new com.clearspring.analytics.stream.membership.BloomFilter(100, 10);\n double expResult = 0.00819;// m/n=10, k=7\n \n double result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 10);\n expResult = 0.00819;// m/n=10, k=7\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(10, 7);\n org.junit.Assert.assertEquals(7, instance.getHashCount());\n org.junit.Assert.assertEquals(expResult, result, 9.0E-6);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 2);\n expResult = 0.393;// m/n=2, k=1\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(2, 1);\n org.junit.Assert.assertEquals(instance.getHashCount(), 1);\n org.junit.Assert.assertEquals(expResult, result, 5.0E-4);\n instance = new com.clearspring.analytics.stream.membership.BloomFilter(10, 11);\n expResult = 0.00509;// m/n=11, k=8\n \n result = com.clearspring.analytics.stream.membership.BloomCalculations.getFalsePositiveProbability(11, 8);\n org.junit.Assert.assertEquals(8, instance.getHashCount());\n // AssertGenerator replace invocation\n int o_testGetFalsePositiveProbability_cf7642__39 = // StatementAdderMethod cloned existing statement\ninstance.emptyBuckets();\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(o_testGetFalsePositiveProbability_cf7642__39, 192);\n org.junit.Assert.assertEquals(expResult, result, 1.0E-5);\n }", "title": "" }, { "docid": "1bce6e43feb1d38a9e9ce11f5baaf596", "score": "0.49916625", "text": "@Test(timeout = 4000)\n public void test47() throws Throwable {\n Consumer<Object> consumer0 = (Consumer<Object>) mock(Consumer.class, new ViolatedAssumptionAnswer());\n Range range0 = Range.of(4294967295L);\n Range range1 = Range.of(4294967295L, 4294967295L);\n long long0 = range1.getLength();\n Long long1 = Long.getLong(\"]RC\", 571L);\n boolean boolean0 = range1.equals(long1);\n assertFalse(boolean0);\n \n List<Range> list0 = range0.complement(range1);\n assertEquals(0, list0.size());\n \n long long2 = range1.getBegin();\n assertSame(range1, range0);\n assertFalse(long2 == long0);\n assertEquals(4294967295L, long2);\n }", "title": "" }, { "docid": "a75a12b59ff20cc85ac2f7fba9f6474d", "score": "0.4990755", "text": "@Test\n public void testAllowWithRanking() {\n VersionStrategy strat = VersionStrategy.from(List.of(\"PRODUCT:EAP\"), \"QUALITY:RELEASED, PRODUCT:RHSSO\", null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"))),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = { \"1.4.0.redhat-3\", \"1.4.0.redhat-5\", \"1.4.0.redhat-4\", \"1.4.0.redhat-2\" };\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "0ff6a3ef1eded33da3229862e06e9565", "score": "0.49852398", "text": "@Test\n\tpublic void RandomTest(){\n\t\tint dcm=10,pcm=10,ds=20,dm=40,ps=10,pm=40,dcs=3,pcs=3;\n\t\tint dc=(int) (Math.random()*(dcm-dcs)+dcs);\n\t\tint pc=(int) (Math.random()*(pcm-pcs)+pcs);\n\t\tList<Project> projects = new ArrayList<Project>();\n\t\tArrayList<Donation> donations = new ArrayList<Donation>();\n\t\tSystem.out.println(\"Random Test: dc=\"+String.valueOf(dc)+\" pc=\"+String.valueOf(pc));\n\t\tfor(int i=0;i<pc;i++){\n\t\t\tint r=(int) (Math.random()*(pm-ps)+ps);\n\t\t\tprojects.add(new Project(\"P\"+String.valueOf(i), r));\n\t\t\tSystem.out.println(\"P\"+String.valueOf(i)+\"=\"+String.valueOf(r));\n\t\t}\n\t\tfor(int i=0;i<dc;i++){\n\t\t\tArrayList<Project> tmp=new ArrayList<Project>();\n\t\t\tint j=(int) (Math.random()*pc);\n\t\t\twhile(j==0) j=(int) (Math.random()*pc);\n\t\t\tint rFunding=(int) (Math.random()*(dm-ds)+ds);\n\t\t\tString tmpString=\"D\"+String.valueOf(i)+\":=\"+String.valueOf(rFunding);\n\t\t\tfor(int t=0;t<j;t++){\n\t\t\t\tint tIndex=(int) (Math.random()*pc);\n\t\t\t\twhile (tmp.contains(projects.get(tIndex))) tIndex=(int)( Math.random()*pc);\n\t\t\t\ttmp.add(projects.get(tIndex));\n\t\t\t\t tmpString= tmpString+\" P\"+String.valueOf(tIndex);\n\t\t\t}\n\t\t\tdonations.add(new Donation(\"D\"+String.valueOf(i),rFunding,new HashSet<Project>(tmp)));\n\t\t\tSystem.out.println(tmpString);\n\t\t}\n\t\tList<Donation> actualDonations = new ArrayList<>(donations);\n\t\tSet<Project> actualProjects = new HashSet<>(projects);\n\t\tboolean TestResult=NaiveAllocator.canAllocate(actualDonations, actualProjects);\n\t\tSystem.out.println(\"NaiveTest Over\");\n\t\tSystem.out.println(String.valueOf(TestResult));\n\t\tAssert.assertEquals(donations, actualDonations);\n\t\t// no projects should be added or removed from the set of projects\n\t\tAssert.assertEquals(new HashSet<>(projects), actualProjects);\n\t\tif( TestResult){\n\t\t\t// allocation should be complete and valid\n\t\t\tcheckCompleteAllocation(actualDonations, actualProjects);\n\t\t}else{\n\t\t\t// no allocations should have been made\n\t\t\tcheckEmptyAllocation(actualDonations, actualProjects);\n\t\t}\n\t}", "title": "" }, { "docid": "da9066e6fb02ccb3d22e84d65ea91638", "score": "0.4979398", "text": "@Test\r\n\tvoid testBALST_002_insert_sorted_order_simple() {\r\n\r\n\t\ttry {\r\n\r\n\t\t\t\r\n\t\tbptree.insert(1.0, 2.0);\r\n\t\tbptree.insert(2.0, 2.0);\r\n\t\tbptree.insert(3.0, 2.0);\r\n\t\tbptree.insert(4.0, 2.0);\r\n\t\tbptree.insert(5.0, 2.0);\r\n\t\tbptree.insert(6.0, 2.0);\r\n\t\tbptree.insert(7.0, 2.0);\r\n\t\tbptree.insert(8.0, 2.0);\r\n\t\tbptree.insert(9.0, 2.0);\r\n\t\tbptree.insert(10.0, 2.0);\r\n\t\t\r\n\t\t\tSystem.out.println(\"\\n\\nTree structure:\\n\" + bptree.toString());\r\n\t\t\tSystem.out.println(bptree.size());\r\n\t\t\r\n\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail(\"Unexpected exception AVL 000: \" + e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b5215e2e97eb749f24309d51f3b7036b", "score": "0.4976498", "text": "@Test\r\n\tvoid testBALST_001_insert_sorted_order_simple() {\r\n\r\n\t\ttry {\r\n\t\t// create a pseudo random number generator\r\n\t\t//Random rnd1 = new Random();\r\n\r\n\t\t// some value to add to the BPTree\r\n\t\tDouble[] dd = { 0.0d, 0.5d, 0.2d, 0.8d };\r\n\r\n\t\t// build an ArrayList of those value and add to BPTree also\r\n\t\t// allows for comparing the contents of the ArrayList\r\n\t\t// against the contents and functionality of the BPTree\r\n\t\t// does not ensure BPTree is implemented correctly\r\n\t\t// just that it functions as a data structure with\r\n\t\t// insert, rangeSearch, and toString() working.\r\n\t\tList<Double> list = new ArrayList<>();\r\n\t\t\r\n\t\t//for (int i = 0; i < 400; i++) {\r\n\t\t\t//Double j = dd[rnd1.nextInt(4)];\r\n\t\t\t//list.add(j);\r\n\t\t\t\r\n\t\tbptree.insert(1.0, 2.0);\r\n\t\tbptree.insert(2.0, 2.0);\r\n\t\tbptree.insert(3.0, 2.0);\r\n\t\tbptree.insert(4.0, 2.0);\r\n\t\tbptree.insert(5.0, 2.0);\r\n\t\tbptree.insert(6.0, 2.0);\r\n\t\t//\tSystem.out.println(\"\\n\\nTree structure:\\n\" + bptree.toString());\r\n\t\t//}\r\n\t\t//List<Double> filteredValues = bptree.rangeSearch(0.2d, \">=\");\r\n\t\t//System.out.println(\"Filtered values: \" + filteredValues.toString());\r\n\t\t\t//if (!balst2.getKeyAtRoot().equals(10))\r\n\t\t\t\t//fail(\"avl insert at root does not work\");\r\n\r\n\t\t\t// IF rebalancing is working,\r\n\t\t\t// the tree should have 20 at the root\r\n\t\t\t// and 10 as its left child and 30 as its right child\r\n\r\n\t\t\t//Assert.assertEquals(balst2.getKeyAtRoot(), new Integer(20));\r\n\t\t\t//Assert.assertEquals(balst2.getKeyOfLeftChildOf(20), new Integer(10));\r\n\t\t\t//Assert.assertEquals(balst2.getKeyOfRightChildOf(20), new Integer(30));\r\n\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail(\"Unexpected exception AVL 000: \" + e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b40033ebd96d916099c5b933809bbaf0", "score": "0.49750268", "text": "@AfterEach\n\tvoid check_invariant() {\n\t\tassertTrue(ordered(dtr));\n\t\tSystem.out.println(\"DupTree invariant maintained\");\n\t\tSystem.out.println(\"------------------------------------------------------\");\n\t}", "title": "" }, { "docid": "bc1cddeb605af7d6705f553bd8f1d86c", "score": "0.49743748", "text": "@org.junit.Test(timeout = 10000)\n public void testMerge_cf45247() {\n bf.add(\"a\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets(), 150080);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount(), 10);\n bf2.add(\"c\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf2).getHashCount(), 10);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf2).buckets(), 150080);\n com.clearspring.analytics.stream.membership.BloomFilter[] bfs = new com.clearspring.analytics.stream.membership.BloomFilter[1];\n bfs[0] = bf;\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n org.junit.Assert.assertTrue(mergeBf.isPresent(\"a\"));\n org.junit.Assert.assertFalse(mergeBf.isPresent(\"b\"));\n // StatementAdderOnAssert create random local variable\n byte[] vc_8495 = new byte []{5};\n // AssertGenerator replace invocation\n boolean o_testMerge_cf45247__13 = // StatementAdderMethod cloned existing statement\nmergeBf.isPresent(vc_8495);\n // AssertGenerator add assertion\n org.junit.Assert.assertFalse(o_testMerge_cf45247__13);\n org.junit.Assert.assertTrue(mergeBf.isPresent(\"c\"));\n }", "title": "" }, { "docid": "ae30f7407006d999c66be50cfa665500", "score": "0.49729946", "text": "@Test\n public void compareTimingToNaive() {\n\n ArrayHeapMinPQ heap = new ArrayHeapMinPQ();\n NaiveMinPQ naive = new NaiveMinPQ();\n\n // arrays of times\n // index 0: ArrayHeapMinPQ\n // index 1: NaiveMinPQ\n ArrayList<Double> addTime = new ArrayList<>();\n ArrayList<Double> containsTime = new ArrayList<>();\n ArrayList<Double> sizeTime = new ArrayList<>();\n ArrayList<Double> removeSmallestTime = new ArrayList<>();\n ArrayList<Double> changePriorityTime = new ArrayList<>();\n\n // add\n Stopwatch heapAddSW = new Stopwatch();\n for (int i = 0; i < 1000000; i++) {\n try {\n heap.add(r.nextInt(), r.nextDouble());\n }\n catch(IllegalArgumentException e) {\n }\n }\n addTime.add(heapAddSW.elapsedTime());\n Stopwatch naiveAddSW = new Stopwatch();\n for (int i = 0; i < 1000000; i++) {\n naive.add(r.nextInt(), r.nextDouble());\n }\n addTime.add(naiveAddSW.elapsedTime());\n\n\n // contains\n Stopwatch heapContainsSW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n heap.contains(r.nextInt());\n }\n containsTime.add(heapContainsSW.elapsedTime());\n Stopwatch naiveContainsSW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n naive.contains(r.nextInt());\n }\n containsTime.add(naiveContainsSW.elapsedTime());\n\n\n // size\n Stopwatch heapSizeSW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n heap.size();\n }\n sizeTime.add(heapSizeSW.elapsedTime());\n Stopwatch naiveSizeSW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n naive.size();\n }\n sizeTime.add(naiveSizeSW.elapsedTime());\n\n\n // changePriority\n Stopwatch heapChangePrioritySW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n try {\n heap.changePriority(i, r.nextDouble());\n }\n catch (NoSuchElementException e) {\n }\n }\n changePriorityTime.add(heapChangePrioritySW.elapsedTime());\n Stopwatch naiveChangePrioritySW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n try {\n naive.changePriority(i, r.nextDouble());\n }\n catch (NoSuchElementException e) {\n }\n }\n changePriorityTime.add(naiveChangePrioritySW.elapsedTime());\n\n\n // removeSmallest\n Stopwatch heapRemoveSmallestSW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n heap.removeSmallest();\n }\n removeSmallestTime.add(heapRemoveSmallestSW.elapsedTime());\n Stopwatch naiveRemoveSmallestSW = new Stopwatch();\n for (int i = 0; i < 1000; i++) {\n naive.removeSmallest();\n }\n removeSmallestTime.add(naiveRemoveSmallestSW.elapsedTime());\n\n // print out times and comparison\n System.out.println(\"add: \" + addTime);\n System.out.println(\"ArrayHeap add is \" + addTime.get(1) / addTime.get(0) + \"x faster\");\n System.out.println(\"note ArrayHeap add N items runs in NlogN time, naive is only logN\");\n System.out.println(\"contains: \" + containsTime);\n System.out.println(\"ArrayHeap contains is \" + containsTime.get(1) / containsTime.get(0) + \"x faster\");\n System.out.println(\"size: \" + sizeTime);\n System.out.println(\"ArrayHeap size is \" + sizeTime.get(1) / sizeTime.get(0) + \"x faster\");\n System.out.println(\"changePriority: \" + changePriorityTime);\n System.out.println(\"ArrayHeap changePriority is \" + changePriorityTime.get(1) / changePriorityTime.get(0) + \"x faster\");\n System.out.println(\"removeSmallest: \" + removeSmallestTime);\n System.out.println(\"ArrayHeap removeSmallest is \" + removeSmallestTime.get(1) / removeSmallestTime.get(0) + \"x faster\");\n }", "title": "" }, { "docid": "26a9dd8ffb780950b41c09be60440155", "score": "0.49585578", "text": "@Test\n public void testDifferentVersionNotConsidered() {\n // To test it, I use a 'broken' loop (in one step, I change the revision) in such a way that\n // I get only one solution. If the loop was\n // complete more solutions where possible.\n\n addDependency(md1, \"md4\", \"rev4-other\");\n addDependency(md2, \"md1\", \"rev1\");\n addDependency(md3, \"md2\", \"rev2\");\n addDependency(md4, \"md3\", \"rev3\");\n\n DefaultModuleDescriptor[][] possibleOrder = new DefaultModuleDescriptor[][] {\n {md1, md2, md3, md4}};\n\n for (List<ModuleDescriptor> toSort : getAllLists(md1, md3, md2, md4)) {\n assertSorted(possibleOrder, sortModuleDescriptors(toSort, nonMatchReporter));\n }\n }", "title": "" }, { "docid": "2b2087252e9e6ca9faae1d5746bc55e4", "score": "0.4957528", "text": "@org.junit.Test(timeout = 10000)\n public void testMerge_cf45273() {\n bf.add(\"a\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).buckets(), 150080);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf).getHashCount(), 10);\n bf2.add(\"c\");\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf2).getHashCount(), 10);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)bf2).buckets(), 150080);\n com.clearspring.analytics.stream.membership.BloomFilter[] bfs = new com.clearspring.analytics.stream.membership.BloomFilter[1];\n bfs[0] = bf;\n com.clearspring.analytics.stream.membership.BloomFilter mergeBf = ((com.clearspring.analytics.stream.membership.BloomFilter) (bf2.merge(bf)));\n org.junit.Assert.assertTrue(mergeBf.isPresent(\"a\"));\n org.junit.Assert.assertFalse(mergeBf.isPresent(\"b\"));\n // StatementAdderOnAssert create null value\n com.clearspring.analytics.stream.membership.Filter[] vc_8510 = (com.clearspring.analytics.stream.membership.Filter[])null;\n // AssertGenerator replace invocation\n com.clearspring.analytics.stream.membership.Filter o_testMerge_cf45273__13 = // StatementAdderMethod cloned existing statement\nmergeBf.merge(vc_8510);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testMerge_cf45273__13).getHashCount(), 10);\n // AssertGenerator add assertion\n org.junit.Assert.assertEquals(((com.clearspring.analytics.stream.membership.BloomFilter)o_testMerge_cf45273__13).buckets(), 150080);\n org.junit.Assert.assertTrue(mergeBf.isPresent(\"c\"));\n }", "title": "" }, { "docid": "d4ab289ce0cfa28eb6655e74f880fa1e", "score": "0.49516255", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n GreedyStepwise greedyStepwise0 = new GreedyStepwise();\n assertEquals(\"Set to true if a ranked list is required.\", greedyStepwise0.generateRankingTipText());\n assertEquals(\"If true (and forward search is selected) then attributes will continue to be added to the best subset as long as merit does not degrade.\", greedyStepwise0.conservativeForwardSelectionTipText());\n assertFalse(greedyStepwise0.getSearchBackwards());\n assertFalse(greedyStepwise0.getConservativeForwardSelection());\n assertEquals((-1.7976931348623157E308), greedyStepwise0.getThreshold(), 0.01);\n assertEquals((-1), greedyStepwise0.getNumToSelect());\n assertEquals(\"Search backwards rather than forwards.\", greedyStepwise0.searchBackwardsTipText());\n assertEquals(\"Specify the number of attributes to retain. The default value (-1) indicates that all attributes are to be retained. Use either this option or a threshold to reduce the attribute set.\", greedyStepwise0.numToSelectTipText());\n assertEquals(\"Set threshold by which attributes can be discarded. Default value results in no attributes being discarded. Use in conjunction with generateRanking\", greedyStepwise0.thresholdTipText());\n assertFalse(greedyStepwise0.getGenerateRanking());\n assertEquals(\"Set the start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17.\", greedyStepwise0.startSetTipText());\n assertEquals(\"GreedyStepwise :\\n\\nPerforms a greedy forward or backward search through the space of attribute subsets. May start with no/all attributes or from an arbitrary point in the space. Stops when the addition/deletion of any remaining attributes results in a decrease in evaluation. Can also produce a ranked list of attributes by traversing the space from one side to the other and recording the order that attributes are selected.\\n\", greedyStepwise0.globalInfo());\n assertNotNull(greedyStepwise0);\n \n int[] intArray0 = new int[3];\n greedyStepwise0.m_starting = intArray0;\n assertEquals(\"Set to true if a ranked list is required.\", greedyStepwise0.generateRankingTipText());\n assertEquals(\"If true (and forward search is selected) then attributes will continue to be added to the best subset as long as merit does not degrade.\", greedyStepwise0.conservativeForwardSelectionTipText());\n assertFalse(greedyStepwise0.getSearchBackwards());\n assertFalse(greedyStepwise0.getConservativeForwardSelection());\n assertEquals((-1.7976931348623157E308), greedyStepwise0.getThreshold(), 0.01);\n assertEquals((-1), greedyStepwise0.getNumToSelect());\n assertEquals(\"Search backwards rather than forwards.\", greedyStepwise0.searchBackwardsTipText());\n assertEquals(\"Specify the number of attributes to retain. The default value (-1) indicates that all attributes are to be retained. Use either this option or a threshold to reduce the attribute set.\", greedyStepwise0.numToSelectTipText());\n assertEquals(\"Set threshold by which attributes can be discarded. Default value results in no attributes being discarded. Use in conjunction with generateRanking\", greedyStepwise0.thresholdTipText());\n assertFalse(greedyStepwise0.getGenerateRanking());\n assertEquals(\"Set the start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17.\", greedyStepwise0.startSetTipText());\n assertEquals(\"GreedyStepwise :\\n\\nPerforms a greedy forward or backward search through the space of attribute subsets. May start with no/all attributes or from an arbitrary point in the space. Stops when the addition/deletion of any remaining attributes results in a decrease in evaluation. Can also produce a ranked list of attributes by traversing the space from one side to the other and recording the order that attributes are selected.\\n\", greedyStepwise0.globalInfo());\n \n String string0 = greedyStepwise0.toString();\n assertEquals(\"Set to true if a ranked list is required.\", greedyStepwise0.generateRankingTipText());\n assertEquals(\"If true (and forward search is selected) then attributes will continue to be added to the best subset as long as merit does not degrade.\", greedyStepwise0.conservativeForwardSelectionTipText());\n assertFalse(greedyStepwise0.getSearchBackwards());\n assertFalse(greedyStepwise0.getConservativeForwardSelection());\n assertEquals((-1.7976931348623157E308), greedyStepwise0.getThreshold(), 0.01);\n assertEquals((-1), greedyStepwise0.getNumToSelect());\n assertEquals(\"Search backwards rather than forwards.\", greedyStepwise0.searchBackwardsTipText());\n assertEquals(\"Specify the number of attributes to retain. The default value (-1) indicates that all attributes are to be retained. Use either this option or a threshold to reduce the attribute set.\", greedyStepwise0.numToSelectTipText());\n assertEquals(\"Set threshold by which attributes can be discarded. Default value results in no attributes being discarded. Use in conjunction with generateRanking\", greedyStepwise0.thresholdTipText());\n assertFalse(greedyStepwise0.getGenerateRanking());\n assertEquals(\"Set the start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17.\", greedyStepwise0.startSetTipText());\n assertEquals(\"GreedyStepwise :\\n\\nPerforms a greedy forward or backward search through the space of attribute subsets. May start with no/all attributes or from an arbitrary point in the space. Stops when the addition/deletion of any remaining attributes results in a decrease in evaluation. Can also produce a ranked list of attributes by traversing the space from one side to the other and recording the order that attributes are selected.\\n\", greedyStepwise0.globalInfo());\n assertNotNull(string0);\n assertEquals(\"\\tGreedy Stepwise (forwards).\\n\\tStart set: 1,1,1\\n\\tMerit of best subset found: 0 \\n\", string0);\n }", "title": "" }, { "docid": "c0c3ceadf6bd02ecf7cabe48fb69797c", "score": "0.49491218", "text": "public void testSortMutableTable() {\n\t\t//TODO Implement sort().\n\t}", "title": "" }, { "docid": "74b3b9985899afc41a1050617ace384f", "score": "0.49449542", "text": "@Test\r\n public void testEmptyOrderPile() {\r\n fail(\"Not yet implemented\");\r\n }", "title": "" }, { "docid": "de262ffffccff9274d0b5904269946be", "score": "0.49418983", "text": "public void testStability() throws Exception {\n \t\tExtObjectContainer db = mWoT.getDB();\n \t\t\t\n \t\tOwnIdentity o = mWoT.createOwnIdentity(uriO, uriO, \"O\", true, \"Test\"); // Tree owner\n \t\tIdentity s = new Identity(uriS, \"S\", true); mWoT.storeAndCommit(s); // Seed identity\n \t\tIdentity a = new Identity(uriA, \"A\", true); mWoT.storeAndCommit(a); // A / B are downloaded in different orders.\n \t\tIdentity b = new Identity(uriB, \"B\", true); mWoT.storeAndCommit(b);\n \t\tIdentity c = new Identity(uriC, \"C\", true); mWoT.storeAndCommit(c);\n \t\t\n \t\t// You get all the identities from the seed identity.\n \t\tmWoT.setTrust(o, s, (byte)100, \"I trust the seed identity.\");\n \t\t// A trust of 4 gives them a minimal score of 1. Their score must be minimal so they can influence each other's score (by assigning trust values)\n \t\t// enough to be negative. We don't use 0 so we catch special problems with conditions based on positive/negative decision.\n \t\tmWoT.setTrustWithoutCommit(s, a, (byte)4, \"Minimal trust\");\n \t\tmWoT.setTrustWithoutCommit(s, b, (byte)4, \"Minimal trust\");\n \t\tmWoT.setTrustWithoutCommit(s, c, (byte)4, \"Minimal trust\");\n \t\tdb.commit();\n \n \t\t// First you download A. A distrusts B and trusts C\n \t\tmWoT.setTrustWithoutCommit(a, b, (byte)-100, \"Distrust\");\n \t\tmWoT.setTrustWithoutCommit(a, c, (byte)100, \"Trust\");\n \t\tdb.commit();\n \t\t\n \t\t// Then you download B who distrusts A and C\n \t\tmWoT.setTrustWithoutCommit(b, a, (byte)-100, \"Distrust\");\n \t\tmWoT.setTrustWithoutCommit(b, c, (byte)-100, \"Trust\");\n \t\tdb.commit();\n \t\t\n \t\tfinal Score oldScoreA = mWoT.getScore(o, a);\n \t\tfinal Score oldScoreB = mWoT.getScore(o, b);\n \t\tfinal Score oldScoreC = mWoT.getScore(o, c);\n \t\t\n \t\t// Now we want a fresh WoT.\n \t\ttearDown();\n \t\tsetUp();\n \t\tdb = mWoT.getDB();\n \t\t\n \t\to = mWoT.createOwnIdentity(uriO, uriO, \"O\", true, \"Test\");\n \t\ts = new Identity(uriS, \"S\", true); mWoT.storeAndCommit(s);\t\t\n \t\ta = new Identity(uriA, \"A\", true); mWoT.storeAndCommit(a);\n \t\tb = new Identity(uriB, \"B\", true); mWoT.storeAndCommit(b);\n \t\tc = new Identity(uriC, \"C\", true); mWoT.storeAndCommit(c);\n \t\t\n \t\t// You get all the identities from the seed identity.\n \t\tmWoT.setTrust(o, s, (byte)100, \"I trust the seed identity.\");\n \t\t// A trust of 4 gives them a minimal score of 1. Their score must be minimal so they can influence each other's score (by assigning trust values)\n \t\t// enough to be negative. We don't use 0 so we catch special problems with conditions based on positive/negative decision.\n \t\tmWoT.setTrustWithoutCommit(s, a, (byte)4, \"Minimal trust\");\n \t\tmWoT.setTrustWithoutCommit(s, b, (byte)4, \"Minimal trust\");\n \t\tmWoT.setTrustWithoutCommit(s, c, (byte)4, \"Minimal trust\");\n \t\tdb.commit();\n \t\t\n \t\t// Alternative download order: First B...\n \t\tmWoT.setTrustWithoutCommit(b, a, (byte)-100, \"Distrust\");\n \t\tmWoT.setTrustWithoutCommit(b, c, (byte)-100, \"Trust\");\n \t\tdb.commit();\n \t\t\n \t\t// .. then A\n \t\tmWoT.setTrustWithoutCommit(a, b, (byte)-100, \"Distrust\");\n \t\tmWoT.setTrustWithoutCommit(a, c, (byte)100, \"Trust\");\n \t\tdb.commit();\n \t\t\n \t\tfinal Score newScoreA = mWoT.getScore(o, a);\n \t\tfinal Score newScoreB = mWoT.getScore(o, b);\n \t\tfinal Score newScoreC = mWoT.getScore(o, c);\n \t\t\n \t\t// Test whether the test has correctly flushed the database\n \t\tassertNotSame(newScoreA, oldScoreA);\n \t\tassertNotSame(newScoreB, oldScoreB);\n \t\tassertNotSame(newScoreC, oldScoreC);\n \t\t\n \t\t// Score overrides equals() so this tests whether value, rank and capacity are correct.\n \t\tassertEquals(oldScoreA, newScoreA);\n \t\tassertEquals(oldScoreB, newScoreB);\n \t\tassertEquals(oldScoreC, newScoreC);\n \t}", "title": "" }, { "docid": "0ae501188f36d58794c12d717eca672b", "score": "0.49416316", "text": "@Test\n public void testMultiValueRanksInOr() {\n VersionStrategy strat = VersionStrategy\n .from(List.of(\"QUALITY:RELEASED or QUALITY:TESTED\", \"PRODUCT:EAP\"), null, null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(\n Qualifier.QUALITY,\n Set.of(\"RELEASED\", \"TESTED\"),\n Qualifier.PRODUCT,\n Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-2\", Map.of()),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-1\",\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-4\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" }, { "docid": "5cca12593e8b2501487e10c167370c99", "score": "0.4931274", "text": "@Test(timeout = 4000)\n public void test31() throws Throwable {\n GreedyStepwise greedyStepwise0 = new GreedyStepwise();\n assertEquals(\"Search backwards rather than forwards.\", greedyStepwise0.searchBackwardsTipText());\n assertEquals(\"If true (and forward search is selected) then attributes will continue to be added to the best subset as long as merit does not degrade.\", greedyStepwise0.conservativeForwardSelectionTipText());\n assertEquals((-1), greedyStepwise0.getNumToSelect());\n assertFalse(greedyStepwise0.getGenerateRanking());\n assertEquals(\"Set the start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17.\", greedyStepwise0.startSetTipText());\n assertEquals(\"Set threshold by which attributes can be discarded. Default value results in no attributes being discarded. Use in conjunction with generateRanking\", greedyStepwise0.thresholdTipText());\n assertEquals(\"GreedyStepwise :\\n\\nPerforms a greedy forward or backward search through the space of attribute subsets. May start with no/all attributes or from an arbitrary point in the space. Stops when the addition/deletion of any remaining attributes results in a decrease in evaluation. Can also produce a ranked list of attributes by traversing the space from one side to the other and recording the order that attributes are selected.\\n\", greedyStepwise0.globalInfo());\n assertEquals(\"Specify the number of attributes to retain. The default value (-1) indicates that all attributes are to be retained. Use either this option or a threshold to reduce the attribute set.\", greedyStepwise0.numToSelectTipText());\n assertFalse(greedyStepwise0.getSearchBackwards());\n assertFalse(greedyStepwise0.getConservativeForwardSelection());\n assertEquals((-1.7976931348623157E308), greedyStepwise0.getThreshold(), 0.01);\n assertEquals(\"Set to true if a ranked list is required.\", greedyStepwise0.generateRankingTipText());\n assertNotNull(greedyStepwise0);\n \n greedyStepwise0.m_backward = true;\n assertEquals(\"Search backwards rather than forwards.\", greedyStepwise0.searchBackwardsTipText());\n assertEquals(\"If true (and forward search is selected) then attributes will continue to be added to the best subset as long as merit does not degrade.\", greedyStepwise0.conservativeForwardSelectionTipText());\n assertEquals((-1), greedyStepwise0.getNumToSelect());\n assertFalse(greedyStepwise0.getGenerateRanking());\n assertEquals(\"Set the start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17.\", greedyStepwise0.startSetTipText());\n assertEquals(\"Set threshold by which attributes can be discarded. Default value results in no attributes being discarded. Use in conjunction with generateRanking\", greedyStepwise0.thresholdTipText());\n assertEquals(\"GreedyStepwise :\\n\\nPerforms a greedy forward or backward search through the space of attribute subsets. May start with no/all attributes or from an arbitrary point in the space. Stops when the addition/deletion of any remaining attributes results in a decrease in evaluation. Can also produce a ranked list of attributes by traversing the space from one side to the other and recording the order that attributes are selected.\\n\", greedyStepwise0.globalInfo());\n assertEquals(\"Specify the number of attributes to retain. The default value (-1) indicates that all attributes are to be retained. Use either this option or a threshold to reduce the attribute set.\", greedyStepwise0.numToSelectTipText());\n assertFalse(greedyStepwise0.getConservativeForwardSelection());\n assertEquals((-1.7976931348623157E308), greedyStepwise0.getThreshold(), 0.01);\n assertTrue(greedyStepwise0.getSearchBackwards());\n assertEquals(\"Set to true if a ranked list is required.\", greedyStepwise0.generateRankingTipText());\n \n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n assertTrue(arrayList0.isEmpty());\n assertEquals(0, arrayList0.size());\n assertNotNull(arrayList0);\n \n Instances instances0 = new Instances((String) null, arrayList0, 58);\n assertTrue(arrayList0.isEmpty());\n assertEquals(0, arrayList0.size());\n assertEquals(0, instances0.numAttributes());\n assertEquals((-1), instances0.classIndex());\n assertNull(instances0.relationName());\n assertEquals(0.0, instances0.sumOfWeights(), 0.01);\n assertEquals(0, instances0.size());\n assertEquals(0, instances0.numInstances());\n assertFalse(instances0.checkForStringAttributes());\n assertNotNull(instances0);\n \n Attribute attribute0 = new Attribute((String) null, 58);\n assertTrue(attribute0.isNumeric());\n assertEquals(1.0, attribute0.weight(), 0.01);\n assertTrue(attribute0.isAveragable());\n assertNull(attribute0.name());\n assertEquals(\"\", attribute0.getDateFormat());\n assertTrue(attribute0.hasZeropoint());\n assertEquals(1, attribute0.ordering());\n assertFalse(attribute0.isNominal());\n assertFalse(attribute0.isRelationValued());\n assertFalse(attribute0.isString());\n assertEquals(0, attribute0.type());\n assertFalse(attribute0.lowerNumericBoundIsOpen());\n assertFalse(attribute0.isDate());\n assertEquals(0, attribute0.numValues());\n assertTrue(attribute0.isRegular());\n assertEquals(Double.POSITIVE_INFINITY, attribute0.getUpperNumericBound(), 0.01);\n assertEquals(Double.NEGATIVE_INFINITY, attribute0.getLowerNumericBound(), 0.01);\n assertFalse(attribute0.upperNumericBoundIsOpen());\n assertEquals(1, Attribute.ORDERING_ORDERED);\n assertEquals(0, Attribute.NUMERIC);\n assertEquals(0, Attribute.ORDERING_SYMBOLIC);\n assertEquals(2, Attribute.ORDERING_MODULO);\n assertEquals(2, Attribute.STRING);\n assertEquals(3, Attribute.DATE);\n assertEquals(1, Attribute.NOMINAL);\n assertEquals(4, Attribute.RELATIONAL);\n assertNotNull(attribute0);\n \n boolean boolean0 = arrayList0.add(attribute0);\n assertEquals(1, arrayList0.size());\n assertFalse(arrayList0.isEmpty());\n assertTrue(attribute0.isNumeric());\n assertEquals(1.0, attribute0.weight(), 0.01);\n assertTrue(attribute0.isAveragable());\n assertNull(attribute0.name());\n assertEquals(\"\", attribute0.getDateFormat());\n assertTrue(attribute0.hasZeropoint());\n assertEquals(1, attribute0.ordering());\n assertFalse(attribute0.isNominal());\n assertFalse(attribute0.isRelationValued());\n assertFalse(attribute0.isString());\n assertEquals(0, attribute0.type());\n assertFalse(attribute0.lowerNumericBoundIsOpen());\n assertFalse(attribute0.isDate());\n assertEquals(0, attribute0.numValues());\n assertTrue(attribute0.isRegular());\n assertEquals(Double.POSITIVE_INFINITY, attribute0.getUpperNumericBound(), 0.01);\n assertEquals(Double.NEGATIVE_INFINITY, attribute0.getLowerNumericBound(), 0.01);\n assertFalse(attribute0.upperNumericBoundIsOpen());\n assertEquals(1, Attribute.ORDERING_ORDERED);\n assertEquals(0, Attribute.NUMERIC);\n assertEquals(0, Attribute.ORDERING_SYMBOLIC);\n assertEquals(2, Attribute.ORDERING_MODULO);\n assertEquals(2, Attribute.STRING);\n assertEquals(3, Attribute.DATE);\n assertEquals(1, Attribute.NOMINAL);\n assertEquals(4, Attribute.RELATIONAL);\n assertTrue(boolean0);\n \n CfsSubsetEval cfsSubsetEval0 = new CfsSubsetEval();\n assertEquals(\"Identify locally predictive attributes. Iteratively adds attributes with the highest correlation with the class as long as there is not already an attribute in the subset that has a higher correlation with the attribute in question\", cfsSubsetEval0.locallyPredictiveTipText());\n assertTrue(cfsSubsetEval0.getLocallyPredictive());\n assertEquals(\"Treat missing as a separate value. Otherwise, counts for missing values are distributed across other values in proportion to their frequency.\", cfsSubsetEval0.missingSeparateTipText());\n assertFalse(cfsSubsetEval0.getMissingSeparate());\n assertNotNull(cfsSubsetEval0);\n \n int[] intArray0 = greedyStepwise0.search(cfsSubsetEval0, instances0);\n assertEquals(\"Search backwards rather than forwards.\", greedyStepwise0.searchBackwardsTipText());\n assertEquals(\"If true (and forward search is selected) then attributes will continue to be added to the best subset as long as merit does not degrade.\", greedyStepwise0.conservativeForwardSelectionTipText());\n assertEquals((-1), greedyStepwise0.getNumToSelect());\n assertFalse(greedyStepwise0.getGenerateRanking());\n assertEquals(\"Set the start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17.\", greedyStepwise0.startSetTipText());\n assertEquals(\"Set threshold by which attributes can be discarded. Default value results in no attributes being discarded. Use in conjunction with generateRanking\", greedyStepwise0.thresholdTipText());\n assertEquals(\"GreedyStepwise :\\n\\nPerforms a greedy forward or backward search through the space of attribute subsets. May start with no/all attributes or from an arbitrary point in the space. Stops when the addition/deletion of any remaining attributes results in a decrease in evaluation. Can also produce a ranked list of attributes by traversing the space from one side to the other and recording the order that attributes are selected.\\n\", greedyStepwise0.globalInfo());\n assertEquals(\"Specify the number of attributes to retain. The default value (-1) indicates that all attributes are to be retained. Use either this option or a threshold to reduce the attribute set.\", greedyStepwise0.numToSelectTipText());\n assertFalse(greedyStepwise0.getConservativeForwardSelection());\n assertEquals((-1.7976931348623157E308), greedyStepwise0.getThreshold(), 0.01);\n assertTrue(greedyStepwise0.getSearchBackwards());\n assertEquals(\"Set to true if a ranked list is required.\", greedyStepwise0.generateRankingTipText());\n assertEquals(1, arrayList0.size());\n assertFalse(arrayList0.isEmpty());\n assertEquals(1, instances0.numAttributes());\n assertEquals((-1), instances0.classIndex());\n assertNull(instances0.relationName());\n assertEquals(0.0, instances0.sumOfWeights(), 0.01);\n assertEquals(0, instances0.size());\n assertEquals(0, instances0.numInstances());\n assertFalse(instances0.checkForStringAttributes());\n assertEquals(\"Identify locally predictive attributes. Iteratively adds attributes with the highest correlation with the class as long as there is not already an attribute in the subset that has a higher correlation with the attribute in question\", cfsSubsetEval0.locallyPredictiveTipText());\n assertTrue(cfsSubsetEval0.getLocallyPredictive());\n assertEquals(\"Treat missing as a separate value. Otherwise, counts for missing values are distributed across other values in proportion to their frequency.\", cfsSubsetEval0.missingSeparateTipText());\n assertFalse(cfsSubsetEval0.getMissingSeparate());\n assertEquals(0, intArray0.length);\n assertNotNull(intArray0);\n assertArrayEquals(new int[] {}, intArray0);\n \n double[][] doubleArray0 = greedyStepwise0.rankedAttributes();\n assertEquals(\"Search backwards rather than forwards.\", greedyStepwise0.searchBackwardsTipText());\n assertEquals(\"If true (and forward search is selected) then attributes will continue to be added to the best subset as long as merit does not degrade.\", greedyStepwise0.conservativeForwardSelectionTipText());\n assertEquals((-1), greedyStepwise0.getNumToSelect());\n assertFalse(greedyStepwise0.getGenerateRanking());\n assertEquals(\"Set the start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17.\", greedyStepwise0.startSetTipText());\n assertEquals(\"Set threshold by which attributes can be discarded. Default value results in no attributes being discarded. Use in conjunction with generateRanking\", greedyStepwise0.thresholdTipText());\n assertEquals(\"GreedyStepwise :\\n\\nPerforms a greedy forward or backward search through the space of attribute subsets. May start with no/all attributes or from an arbitrary point in the space. Stops when the addition/deletion of any remaining attributes results in a decrease in evaluation. Can also produce a ranked list of attributes by traversing the space from one side to the other and recording the order that attributes are selected.\\n\", greedyStepwise0.globalInfo());\n assertEquals(\"Specify the number of attributes to retain. The default value (-1) indicates that all attributes are to be retained. Use either this option or a threshold to reduce the attribute set.\", greedyStepwise0.numToSelectTipText());\n assertFalse(greedyStepwise0.getConservativeForwardSelection());\n assertEquals((-1.7976931348623157E308), greedyStepwise0.getThreshold(), 0.01);\n assertTrue(greedyStepwise0.getSearchBackwards());\n assertEquals(\"Set to true if a ranked list is required.\", greedyStepwise0.generateRankingTipText());\n assertEquals(1, doubleArray0.length);\n assertNotNull(doubleArray0);\n }", "title": "" }, { "docid": "2ce86bdaca1dbdefe1818c960b292378", "score": "0.49266165", "text": "@Test\n public void testSortingCombination() {\n VersionStrategy strat = VersionStrategy\n .from(List.of(\"PRODUCT:EAP\", \"QUALITY:RELEASED sort-by SUFFIX-VERSION\", \"QUALITY:TESTED\"), null, null);\n VersionAnalyzer versionAnalyzer = new VersionAnalyzer(List.of(\"redhat\"), strat);\n String version = \"1.4.0\";\n\n List<QualifiedVersion> versions = new ArrayList<>(\n List.of(\n new QualifiedVersion(\"1.4.0.redhat-6\", Map.of(Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-5\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\"1.4.0.redhat-4\", Map.of(Qualifier.PRODUCT, Set.of(\"RHSSO\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-3\",\n Map.of(Qualifier.QUALITY, Set.of(\"RELEASED\"), Qualifier.PRODUCT, Set.of(\"EAP\"))),\n new QualifiedVersion(\n \"1.4.0.redhat-2\",\n Map.of(\n Qualifier.QUALITY,\n Set.of(\"RELEASED\", \"TESTED\"),\n Qualifier.PRODUCT,\n Set.of(\"EAP\"))),\n new QualifiedVersion(\"1.4.0.redhat-1\", Map.of(Qualifier.QUALITY, Set.of(\"TESTED\")))));\n\n String[] expectedOrder = {\n \"1.4.0.redhat-3\",\n \"1.4.0.redhat-2\",\n \"1.4.0.redhat-6\",\n \"1.4.0.redhat-5\",\n \"1.4.0.redhat-1\" };\n\n expectOrder(versionAnalyzer, expectedOrder, version, versions);\n }", "title": "" } ]
eb31667de2817318c70387e31e090844
string display_name = 8;
[ { "docid": "1ca40a54fc54b49bb0ab4f7f4624595e", "score": "0.0", "text": "com.google.protobuf.ByteString\n getDisplayNameBytes();", "title": "" } ]
[ { "docid": "7963dd4182d8a94fd5f5661f9ceef195", "score": "0.6580697", "text": "public static String name(){\n return \"06.Rahman.Sabiha\"; \n }", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.64167607", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.64167607", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.64167607", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.64167607", "text": "String getDisplayName();", "title": "" }, { "docid": "92afd49b589d226f878b7ea7cd07eba4", "score": "0.64167607", "text": "String getDisplayName();", "title": "" }, { "docid": "e38c3d309dd7d9edccd77884c9348547", "score": "0.6381979", "text": "String getRealname();", "title": "" }, { "docid": "9b331f6e700c6fa5f39529debe66590c", "score": "0.63568974", "text": "String getSurname();", "title": "" }, { "docid": "ae341358ec286ec90038c5e5c0c4ff0b", "score": "0.63535494", "text": "public String getDisplay()\r\n {\r\n return name;\r\n }", "title": "" }, { "docid": "c827909b6ce86f7eaac19a4efcf5126f", "score": "0.6340384", "text": "HumanName getValueHumanName();", "title": "" }, { "docid": "9d234d481eac155d1aed78b487f5721d", "score": "0.6310411", "text": "String friendlyName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "3595d71703b5fbee4f0af2f2970fa16c", "score": "0.6238776", "text": "java.lang.String getDisplayName();", "title": "" }, { "docid": "bda2378f8c875b68a9888c30190a55a0", "score": "0.62193376", "text": "String getGivenName();", "title": "" }, { "docid": "809a2b917ed713ddb42dfd56d4dfcc61", "score": "0.6192982", "text": "String fullName();", "title": "" }, { "docid": "809a2b917ed713ddb42dfd56d4dfcc61", "score": "0.6192982", "text": "String fullName();", "title": "" }, { "docid": "de21271b4c1b16ddc6eabded6c4fdef0", "score": "0.6189489", "text": "public String getName() {\n return name[rank%13];\n }", "title": "" }, { "docid": "b7899a97ef939d85ff1ae5b471f832ed", "score": "0.6178434", "text": "String displayName();", "title": "" }, { "docid": "0efdf184bd3bfaed8eae097d0ef1691c", "score": "0.61382586", "text": "public String getDisplayName(ULocale displayLocale)\n/* */ {\n/* 1543 */ return getDisplayNameInternal(this, displayLocale);\n/* */ }", "title": "" }, { "docid": "ea2059db652c595613f33f2f56762b23", "score": "0.6128559", "text": "String name() ;", "title": "" }, { "docid": "57054022e7c193a7c234fe7fd3428b13", "score": "0.61009365", "text": "public String getDisplayName();", "title": "" }, { "docid": "57054022e7c193a7c234fe7fd3428b13", "score": "0.61009365", "text": "public String getDisplayName();", "title": "" }, { "docid": "57054022e7c193a7c234fe7fd3428b13", "score": "0.61009365", "text": "public String getDisplayName();", "title": "" }, { "docid": "57054022e7c193a7c234fe7fd3428b13", "score": "0.61009365", "text": "public String getDisplayName();", "title": "" }, { "docid": "57054022e7c193a7c234fe7fd3428b13", "score": "0.61009365", "text": "public String getDisplayName();", "title": "" }, { "docid": "cf79d6227b0d304fd1e7ce03ae2edb64", "score": "0.6091978", "text": "String Name();", "title": "" }, { "docid": "9d17d1850a0a2fffd8b5b4170b78ce0e", "score": "0.60777617", "text": "String \t\t getName ();", "title": "" }, { "docid": "18d90561db763a458c3a147a77825af5", "score": "0.60407895", "text": "String printName();", "title": "" }, { "docid": "18d90561db763a458c3a147a77825af5", "score": "0.60407895", "text": "String printName();", "title": "" }, { "docid": "8c6eba9e29526123b908ca2f6f756a69", "score": "0.60348815", "text": "java.lang.String getSurname();", "title": "" }, { "docid": "2e00d974ae8c9a91c2635b82f1e3c36b", "score": "0.6026131", "text": "public abstract String getDisplayName();", "title": "" }, { "docid": "2e00d974ae8c9a91c2635b82f1e3c36b", "score": "0.6026131", "text": "public abstract String getDisplayName();", "title": "" }, { "docid": "459672f7b2884083659e2c7756823c65", "score": "0.60201675", "text": "String getUIName();", "title": "" }, { "docid": "34098530c222089c4bc953e0d79f4c0b", "score": "0.60164195", "text": "String name( String num) {\n\t\t\n\t\tString kon =\"\";\n\t\t\n\t\tfor (int i= num.length()-1; i>=0; i--) { kon+=num.charAt(i);}\n\t\t\n\t\treturn kon;\n\t}", "title": "" }, { "docid": "2517fa8728866b1addc4e0d3ba050f67", "score": "0.601081", "text": "String getFamilyName();", "title": "" }, { "docid": "48ca508accdaac3fac5589a8b83b33d2", "score": "0.60034704", "text": "@Override\n public String getName() {\n return data.get(0).substring(6);\n }", "title": "" }, { "docid": "401f6ac997ced1660ba058ae6a06e0d2", "score": "0.6002721", "text": "int getName();", "title": "" }, { "docid": "401f6ac997ced1660ba058ae6a06e0d2", "score": "0.6002721", "text": "int getName();", "title": "" }, { "docid": "401f6ac997ced1660ba058ae6a06e0d2", "score": "0.6002721", "text": "int getName();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "e4c03a84351edd9e80b9a432e28640e5", "score": "0.6000187", "text": "String name();", "title": "" }, { "docid": "a6ca9f34802094e1a995af6bdea4f3f9", "score": "0.59875697", "text": "String display();", "title": "" }, { "docid": "1697d57dee89e4931f379933a01d2415", "score": "0.5971304", "text": "String getAddressDisplayValue(Location location);", "title": "" }, { "docid": "0f4f5f129bd668377d40409d128678b6", "score": "0.59654945", "text": "String getLongName();", "title": "" }, { "docid": "0f4f5f129bd668377d40409d128678b6", "score": "0.59654945", "text": "String getLongName();", "title": "" }, { "docid": "3b9f404dda05cbafdd116df95a45cd0a", "score": "0.5952361", "text": "org.hl7.fhir.String getName();", "title": "" }, { "docid": "0585eac75f1b3759dfad34d492741820", "score": "0.59498394", "text": "public void display_name() {\n System.out.println(this.name);\n }", "title": "" }, { "docid": "978185a40bb043cb8e42a983c121bd8e", "score": "0.5939521", "text": "String getTheFromAirportName();", "title": "" }, { "docid": "734cfcdb74413e4c3c99dd3675c1a088", "score": "0.59362626", "text": "java.lang.String getGivenName();", "title": "" }, { "docid": "734cfcdb74413e4c3c99dd3675c1a088", "score": "0.59362626", "text": "java.lang.String getGivenName();", "title": "" }, { "docid": "c581bcb416db26f23c6a519d089801f2", "score": "0.5927641", "text": "public String getIdentificationString()\r\n {\r\n return \"Program 7a, Pranav Kalra\";\r\n }", "title": "" }, { "docid": "ec0e4b8b26322d8d8f41b4fdd123958c", "score": "0.5921438", "text": "Object getBUSINESSNAME();", "title": "" }, { "docid": "ec0e4b8b26322d8d8f41b4fdd123958c", "score": "0.5921438", "text": "Object getBUSINESSNAME();", "title": "" }, { "docid": "e6155959ccaab4d50383d9589837c9ab", "score": "0.59122497", "text": "public String fullName(){\n return first + \" \" + last;\n }", "title": "" }, { "docid": "2c9258164ba05c575f10f6863addbbe6", "score": "0.5911628", "text": "public String GetName(){\r\n return FullName;\r\n\r\n }", "title": "" }, { "docid": "68772f268c1c6a3bdc015775b2ac8d49", "score": "0.5881705", "text": "public String getDisplayName(){\n return this.displayName;\n }", "title": "" }, { "docid": "5eda7c6c9f415d27c2cd4c4b3772e3b9", "score": "0.5851054", "text": "public String getDisplayName() {\n return myDisplayName;\n }", "title": "" }, { "docid": "6dce00e5b902bb9aeacbdc1e7bcf4ac5", "score": "0.5845481", "text": "String getStreetName();", "title": "" } ]
50070152cf617038ee1c8044f31920bf
/ /Methods to access history information /
[ { "docid": "d7905d0568c032586a7b7c7628a03d13", "score": "0.71193767", "text": "private HistoryData getHistory(BddtLaunchControl ctrl)\n{\n synchronized (history_data) {\n HistoryData hd = history_data.get(ctrl);\n if (hd == null) {\n\t BumpProcess bp = ctrl.getProcess();\n\t if (bp != null) hd = getHistory(bp.getId(),false);\n\t if (hd == null) hd = new HistoryData();\n\t history_data.put(ctrl,hd);\n }\n return hd;\n }\n}", "title": "" } ]
[ { "docid": "c344877f571d2009f0695b4e3c59a29f", "score": "0.8112522", "text": "public String getHistory () \r\n\t{\r\n\t\treturn this.history;\r\n\t}", "title": "" }, { "docid": "330456bad9b1e624f3b95ddd21b8966c", "score": "0.7937322", "text": "public String getHistory () {\r\n\t\treturn history;\r\n\t}", "title": "" }, { "docid": "330456bad9b1e624f3b95ddd21b8966c", "score": "0.7937322", "text": "public String getHistory () {\r\n\t\treturn history;\r\n\t}", "title": "" }, { "docid": "4e06f771f3637101eca5fc6181989feb", "score": "0.779357", "text": "@Override\n\tpublic History getHistory() {\n\t\treturn history;\n\t}", "title": "" }, { "docid": "e65620e00b411e00428af3c7448d5b2e", "score": "0.7735248", "text": "public List<Event> getHistory();", "title": "" }, { "docid": "0bc6a52a8ee6e0be4759b263d4ac67b8", "score": "0.76145357", "text": "public String toString () {\r\n return history;\r\n }", "title": "" }, { "docid": "4362c110116ef9f4353ab68fd4bc249a", "score": "0.7595625", "text": "public ArrayList<String> getHistory() {\n\t\treturn history;\n\t}", "title": "" }, { "docid": "355295cf5ac84aa5b7945d608049dd05", "score": "0.75918835", "text": "public ArrayList<String> getHistory()\n {\n return history;\n }", "title": "" }, { "docid": "fa6a5aaef68b209c3525cb156630d8ea", "score": "0.75457025", "text": "public Boolean getHistory();", "title": "" }, { "docid": "9b0a455e34eae78586fa0e43406bf566", "score": "0.7542496", "text": "public nl.webservices.www.soap.GCRHistory getHistory() {\n return history;\n }", "title": "" }, { "docid": "65c6fa5f29c53d5893916acdb32d92b4", "score": "0.7491924", "text": "History createHistory();", "title": "" }, { "docid": "65c6fa5f29c53d5893916acdb32d92b4", "score": "0.7491924", "text": "History createHistory();", "title": "" }, { "docid": "84c08f816877932d2e42811fcf0add84", "score": "0.7481688", "text": "public String toString () {\r\n\t\treturn history;\r\n\t}", "title": "" }, { "docid": "84c08f816877932d2e42811fcf0add84", "score": "0.7481688", "text": "public String toString () {\r\n\t\treturn history;\r\n\t}", "title": "" }, { "docid": "4712a820eda131e8cadf1e0cbc61dfde", "score": "0.7467725", "text": "public final List<HistoryEvent> getHistory() {\n return history;\n }", "title": "" }, { "docid": "24f7c696d378b3789513a6454018d285", "score": "0.7450559", "text": "com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItem getHistory(int index);", "title": "" }, { "docid": "e5e5a11962cab19c160318acb44f76a9", "score": "0.7434151", "text": "java.util.List<com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItem> \n getHistoryList();", "title": "" }, { "docid": "f787e9cb9084da2eeec2ec3dd0b3806a", "score": "0.7334831", "text": "public List<GameEvent> getHistory() {\n return history;\n }", "title": "" }, { "docid": "4424272a4e6ad0c97c473e7a8fd7a03d", "score": "0.72850454", "text": "public Vector<Action> getHistory() {return mHistory;}", "title": "" }, { "docid": "b9644004a4b795b6ccf4554db96772c6", "score": "0.7246928", "text": "public java.util.List<com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItem> getHistoryList() {\n return history_;\n }", "title": "" }, { "docid": "e2c960f1299b46d5b71a106060b261e3", "score": "0.72332716", "text": "public List<GameHistory> getHistory(){\n return gameHistoryDao.getHistory();\n }", "title": "" }, { "docid": "fc810e10bbfb5549d86002fdebdba8ee", "score": "0.7163445", "text": "public com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItem getHistory(int index) {\n return history_.get(index);\n }", "title": "" }, { "docid": "773ee2c8f26b80c1adf30734bd545bb7", "score": "0.715497", "text": "InternalVersionHistory getVersionHistory();", "title": "" }, { "docid": "f3be5274bb81e495d69276725c7ee21f", "score": "0.7134462", "text": "public scraper.utils.PageHistory getPageHistory()\n\t{\n\t\treturn history;\n\t}", "title": "" }, { "docid": "7a310e5cb1c153c37fe2bc90910f9947", "score": "0.7130891", "text": "java.util.List<org.ek.hedgehog.core.proto.TransformLog> \n getHistoryList();", "title": "" }, { "docid": "cac86b7bc714b77a83e7688c1b63efd9", "score": "0.71307266", "text": "VersionHistory getHistory() throws VersioningException;", "title": "" }, { "docid": "3ac73bdb657520d4556e7551a604352e", "score": "0.7126171", "text": "public ArrayList<String> getHistory() {\n ArrayList<String> list = new ArrayList<>();\n if (history.size() == 0)\n list.add(\"The history is empty\");\n else\n list = new ArrayList<>(history);\n return list;\n }", "title": "" }, { "docid": "b0c9f72eaa4d8aaa4c482dcfeabc0666", "score": "0.7078129", "text": "public List<String> getHistorySites();", "title": "" }, { "docid": "14b166a611d137d76996aaf37ea9f0b3", "score": "0.7068104", "text": "public int getHistoryCount() {\n return history_.size();\n }", "title": "" }, { "docid": "a77c26fa2c26db85b962accacd2f7273", "score": "0.7063387", "text": "int getHistoryCount();", "title": "" }, { "docid": "a77c26fa2c26db85b962accacd2f7273", "score": "0.7063387", "text": "int getHistoryCount();", "title": "" }, { "docid": "9b68d23c7c1050546e9f1bbbdcb669ec", "score": "0.70146996", "text": "routerrpc.RouterOuterClass.PairData getHistory();", "title": "" }, { "docid": "9b68d23c7c1050546e9f1bbbdcb669ec", "score": "0.70146996", "text": "routerrpc.RouterOuterClass.PairData getHistory();", "title": "" }, { "docid": "9c70bc847aa0aa53bf4327005db43c83", "score": "0.70087975", "text": "public java.util.List<com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItem> getHistoryList() {\n if (historyBuilder_ == null) {\n return java.util.Collections.unmodifiableList(history_);\n } else {\n return historyBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "b41150156e6548665127b0b7d26c0bb6", "score": "0.69648147", "text": "public List<History> getHistoryList() {\n if (historyList == null) {\n if (daoSession == null) {\n throw new DaoException(\"Entity is detached from DAO context\");\n }\n HistoryDao targetDao = daoSession.getHistoryDao();\n List<History> historyListNew = targetDao._queryBarcode_HistoryList(id);\n synchronized (this) {\n if(historyList == null) {\n historyList = historyListNew;\n }\n }\n }\n return historyList;\n }", "title": "" }, { "docid": "99076c59c23ad86a32963d443e4530e5", "score": "0.6963619", "text": "boolean hasHistory();", "title": "" }, { "docid": "99076c59c23ad86a32963d443e4530e5", "score": "0.6963619", "text": "boolean hasHistory();", "title": "" }, { "docid": "1e076c9df05947657694b104e2defd74", "score": "0.6941641", "text": "private void orderHistory() {\n\t\tResponseEntity<UserOrder[]> orders = restTemplate.getForEntity(stockSvc + \"/stocks/user/\" + username + \"/history\",\n\t\t\t\tUserOrder[].class);\n\t\tUserOrder[] body = orders.getBody();\n\t\tString[] headers = { \"Stock name\", \"Quantity\", \"Order type\", \"Executed price\", \"Order Date\" };\n\t\tString[][] data = new String[body.length][];\n\t\tint i = 0;\n\t\tfor (UserOrder order : body) {\n\t\t\tdata[i++] = new String[] { order.getStockName(), String.valueOf(order.getQuantity()), order.getOrderType(),\n\t\t\t\t\tString.valueOf(order.getExecutedPrice()), order.getTimestamp().toString() };\n\t\t}\n\t\tif(data.length == 0) {\n\t\t\tinABox(\"Order history\",\"You don't have any past orders \");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(FlipTable.of(headers, data));\n\t}", "title": "" }, { "docid": "c7342cda753dec0ed4cedb5b0fc362dc", "score": "0.69219345", "text": "HistoryIterator getHistory(HistoryConstraints hc)\n\t\tthrows DataExchangeException;", "title": "" }, { "docid": "19ef429d379451bf21a839231e77d721", "score": "0.6885235", "text": "@Override\n public List<DownloaderEntry> getHistory(Instant earliestDownloadTime) throws DownloaderException {\n UriComponentsBuilder uriBuilder = getBaseUrl().queryParam(\"mode\", \"history\");\n HistoryResponse queueResponse = callSabnzb(uriBuilder.build().toUri(), HistoryResponse.class);\n List<DownloaderEntry> historyEntries = new ArrayList<>();\n for (HistoryEntry historyEntry : queueResponse.getHistory().getSlots()) {\n DownloaderEntry entry = new DownloaderEntry();\n entry.setNzbId(historyEntry.getNzo_id());\n entry.setNzbName(historyEntry.getName()); //nzbName ends with .nzb\n entry.setStatus(historyEntry.getStatus());\n entry.setTime(Instant.ofEpochSecond(historyEntry.getCompleted()));\n if (entry.getTime().isBefore(earliestDownloadTime)) {\n logger.debug(LoggingMarkers.DOWNLOAD_STATUS_UPDATE, \"Stopping transforming history entries because the current history entry is from {} which is before earliest download to check which is from {}\", entry.getTime(), earliestDownloadTime);\n return historyEntries;\n }\n historyEntries.add(entry);\n }\n\n return historyEntries;\n }", "title": "" }, { "docid": "0ac36b507330bebc223bc4d703085856", "score": "0.686706", "text": "public com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItem getHistory(int index) {\n if (historyBuilder_ == null) {\n return history_.get(index);\n } else {\n return historyBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "093399df4a726a05ea2a49c6263ed309", "score": "0.6863821", "text": "ArrayList<History> getOtherHist() {\r\n return hists[oIx];\r\n }", "title": "" }, { "docid": "1689b6e85283f04146e606001aaba52d", "score": "0.68518454", "text": "ArrayList<History> getHist() {\r\n return hists[myIx];\r\n }", "title": "" }, { "docid": "49f97f855588aea738a87f1676e4c709", "score": "0.68412155", "text": "ArrayList<History> getOHist() {\r\n return hists[oIx];\r\n }", "title": "" }, { "docid": "abe237a64e1f4b554a0d5de5a20660c0", "score": "0.68353766", "text": "org.ek.hedgehog.core.proto.TransformLog getHistory(int index);", "title": "" }, { "docid": "5bf2a4544225c286a5060146168a9492", "score": "0.68282574", "text": "public interface HistoryAccess\n{\n\t/**\n\t * Creates a new history iterator with specified history\n\t * constraints. The iterator can be only partly used by the client (i.e.\n\t * the iteration does not need to complete). The resources should be\n\t * freed when the iterator is being garbage collected.\n\t *\n\t * @param hc the constraints that select the range of history elements in\n\t * which the user has an interest, non-<code>null</code>\n\t *\n\t * @return an instance of iterator, delivering history entries in the order\n\t * from the latest to earliest\n\t *\n\t * @throws DataExchangeException if the constraints cannot be met or an\n\t * error occurs in the implementation of this datatypes method\n\t */\n\tHistoryIterator getHistory(HistoryConstraints hc)\n\t\tthrows DataExchangeException;\n}", "title": "" }, { "docid": "5d1f4eec48820f3142efeb0673e53187", "score": "0.678608", "text": "@Override\r\n\tpublic History getHistoryById(long id) {\n\t\treturn historyDAO.get(id);\r\n\t}", "title": "" }, { "docid": "a7f14e95a400dd87057b8824f3a33d8b", "score": "0.67789334", "text": "public Date getHistorydatetime() {\n return historydatetime;\n }", "title": "" }, { "docid": "8cea74f305b4de758939ef09144bae41", "score": "0.675934", "text": "private void historySync() {\n }", "title": "" }, { "docid": "b1bf707298ff67198401a8851240e845", "score": "0.6757235", "text": "public User getHistoryUser() {\n return historyUser;\n }", "title": "" }, { "docid": "9c54ad7c48481d994f8ee3edb3e38ef0", "score": "0.6756993", "text": "public List<Delay> getHistory() {\r\n\t\treturn Collections.unmodifiableList(this.history);\r\n\t}", "title": "" }, { "docid": "93cd5b9f12ba8016911850f19e1d5485", "score": "0.6748164", "text": "@JsProperty\n History getHistory();", "title": "" }, { "docid": "f30ae4112355dd12292adee83927e76d", "score": "0.6747605", "text": "public List<HistoryEntry> getHistory(String link, String name, int limit);", "title": "" }, { "docid": "137eebaa01e302d36987e380991f959c", "score": "0.67267185", "text": "public ArrayList getOperationHistory() { return operationHistory; }", "title": "" }, { "docid": "1fa4eab90c2575c8692e5b180f7e6025", "score": "0.6724305", "text": "public List<History> findAll() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "4f7fee2b7ef117541578067199babd66", "score": "0.6699813", "text": "public List<PlayedTurnData> GetTurnHistory() {\n return this.mHistoryManager.GetGameHistory();\n }", "title": "" }, { "docid": "631ca4e8a074f8716f161ce018cb45cc", "score": "0.669612", "text": "public void viewStockHistory() {\n\t\tviewAllStocks();\n\t\tString stockname = ask(\"Select stock name from above to view history : \");\n\t\tif (!allStocksMap.containsKey(stockname)) {\n\t\t\tinABox(\"Operation failed\", \"Stock \" + stockname + \" was not found in our system\");\n\t\t\treturn;\n\t\t}\n\n\t\tResponseEntity<StockHistory[]> getMyStocks = restTemplate.getForEntity(stockSvc + \"/stocks/stock/\" + stockname + \"/history\",\n\t\t\t\tStockHistory[].class);\n\n\t\tif (getMyStocks.getStatusCode() == HttpStatus.OK) {\n\t\t\tStockHistory[] mystocks = getMyStocks.getBody();\n\n\t\t\tint entries = 10;\n\t\t\tint skip = mystocks.length - entries;\n\n\t\t\tString[] headers = { \"Stock name\", \"Timestamp\", \"Current price\", \"Gain/Loss \" };\n\t\t\tint rows = Math.min(mystocks.length, entries);\n\t\t\tString[][] data = new String[rows][];\n\t\t\tint i = 0;\n\t\t\tfor (StockHistory stock : mystocks) {\n\t\t\t\tif (skip-- > 0)\n\t\t\t\t\tcontinue;\n\t\t\t\tdata[i++] = new String[] { stock.getStockName(), String.valueOf(stock.getTimestamp()),\n\t\t\t\t\t\tString.valueOf(stock.getCurrentPrice()), String.valueOf(stock.getGain()) };\n\t\t\t}\n\t\t\tSystem.out.println(FlipTable.of(headers, data));\n\t\t}\n\t}", "title": "" }, { "docid": "a6ced27847b114b9430594baa1abd89a", "score": "0.6682893", "text": "@GetMapping(\"{datasetKey}\")\n @Override\n public PagingResponse<PipelineProcess> history(\n @PathVariable(\"datasetKey\") UUID datasetKey, Pageable pageable) {\n return historyTrackingService.history(datasetKey, pageable);\n }", "title": "" }, { "docid": "87f665ee1780a9cee295fac8b516e668", "score": "0.66828823", "text": "@Override\n\tpublic OperationHistoryListVO getAllHistory(OperationHistorySearchVO historySearchVO) {\n\t\treturn operationHistoryBiz.getAllHistory(historySearchVO);\n\t}", "title": "" }, { "docid": "7fa3004794341c1dbfad8b446ef7b889", "score": "0.6666111", "text": "private void initHistory() {\n historySnapshot = logic.getHistorySnapshot();\n // add an empty string to represent the most-recent end of historySnapshot, to be shown to\n // the user if she tries to navigate past the most-recent end of the historySnapshot.\n historySnapshot.add(\"\");\n }", "title": "" }, { "docid": "91229a66b6f2ce1769a8fa4f24b051d8", "score": "0.66616386", "text": "public Entry getHistory(int index) {\n if (size() <= 0 || size() <= index) {\n return null;\n }\n \n return data.get(index);\n }", "title": "" }, { "docid": "84ba3fa0e43b2ca3c6a7fb5652604791", "score": "0.6650569", "text": "public void addHistory() {\n JShell.history.add(\"hello\");\n JShell.history.add(\"world\");\n JShell.history.add(\"foo\");\n JShell.history.add(\"bar\");\n JShell.history.add(\"invalid command\");\n JShell.history.add(\"valid command\");\n JShell.history.add(\"test contents\");\n JShell.history.add(\"for the history cmd\");\n JShell.history.add(\"ok \");\n JShell.history.add(\"/done/\");\n }", "title": "" }, { "docid": "b89e83af6dc45b9119031a5576ffe454", "score": "0.6648726", "text": "private void showHistory() {\n int ctr = -1;\n String s;\n String[] reversedList = new String[statementHistory.length];\n\n try {\n for (int i = curHist; i >= 0; i--) {\n s = statementHistory[i];\n if (s == null) {\n return;\n }\n reversedList[++ctr] = s;\n }\n for (int i = statementHistory.length - 1; i > curHist; i--) {\n s = statementHistory[i];\n if (s == null) {\n return;\n }\n reversedList[++ctr] = s;\n }\n } finally {\n if (ctr < 0) {\n stdprintln(\"<<< No history yet >>>\");\n return;\n }\n for (int i = ctr; i >= 0; i--) {\n psStd.println(((i == 0) ? \"BUFR\" : (\"-\" + i + \" \"))\n + \" **********************************************\\n\"\n + reversedList[i]);\n }\n psStd.println(\n \"\\n<<< Copy a command to buffer like \\\"\\\\-3\\\" \"\n + \"Re-execute buffer like \\\":;\\\" >>>\");\n }\n }", "title": "" }, { "docid": "13d007166f3e5efd840436d04d6d9613", "score": "0.66267127", "text": "public routerrpc.RouterOuterClass.PairDataOrBuilder getHistoryOrBuilder() {\n return getHistory();\n }", "title": "" }, { "docid": "13d007166f3e5efd840436d04d6d9613", "score": "0.66267127", "text": "public routerrpc.RouterOuterClass.PairDataOrBuilder getHistoryOrBuilder() {\n return getHistory();\n }", "title": "" }, { "docid": "cca56e93057d0ba4304b861915f299ea", "score": "0.66233927", "text": "HistoryPackage getHistoryPackage();", "title": "" }, { "docid": "32b251400c17ae9889157182e7cb38d8", "score": "0.6620729", "text": "@GetMapping\n @Override\n public PagingResponse<PipelineProcess> history(Pageable pageable) {\n return historyTrackingService.history(pageable);\n }", "title": "" }, { "docid": "7553292c01434f477ebdb9829086cd2c", "score": "0.66096944", "text": "protected IOperationHistory createOperationHistory() {\n return OperationHistoryFactory.getOperationHistory();\n }", "title": "" }, { "docid": "6c27800fdacecfbf4c3145765fab1973", "score": "0.660833", "text": "@Deprecated\n\tpublic List<History> getHistory() {\n\t\treturn history;\n\t}", "title": "" }, { "docid": "4226462d89260fc2d1558c056d0202ff", "score": "0.6600259", "text": "public com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItemOrBuilder getHistoryOrBuilder(\n int index) {\n return history_.get(index);\n }", "title": "" }, { "docid": "c22bcadba8e89ff15b2cf6f3a02742d6", "score": "0.659316", "text": "public String getHistory() {\n return chatBox.getText();\n }", "title": "" }, { "docid": "d51401f27cf4deddb6f29a35f2b8719d", "score": "0.65902275", "text": "public java.util.List<? extends com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItemOrBuilder> \n getHistoryOrBuilderList() {\n return history_;\n }", "title": "" }, { "docid": "f2015bf385eab672bc1cf5428644e675", "score": "0.65897644", "text": "public static History getHistory(JSONObject jHistory) {\n\n\t\tTimestamp st;\n\t\tLatLng location = null;\n\t\tHistory history = null;\n\n\t\ttry {\n\t\t\tst = Timestamp.valueOf(jHistory.getString(\"timest\"));\n\t\t\tlocation = new LatLng(Double.parseDouble(jHistory.getString(\"latitude\")),\n\t\t\t\t\tDouble.parseDouble(jHistory.getString(\"longtitude\")));\n\t\t\thistory = new History(st, location);\n\t\t} catch (JSONException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn history;\n\t}", "title": "" }, { "docid": "03dd246ea40e95985a1baad404f61d98", "score": "0.65884334", "text": "public final void mHISTORY() throws RecognitionException {\n try {\n int _type = HISTORY;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // RuleSet.g:1972:2: ( 'history' )\n // RuleSet.g:1973:2: 'history'\n {\n match(\"history\"); if (state.failed) return ;\n \n \n }\n \n state.type = _type;\n state.channel = _channel;\n }\n finally {\n }\n }", "title": "" }, { "docid": "698df2d476e5fd98d57a0680e84f9bff", "score": "0.65876484", "text": "com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItemOrBuilder getHistoryOrBuilder(\n int index);", "title": "" }, { "docid": "7fb2007b0cc577dd2fa6a96c7e2bee9b", "score": "0.65772265", "text": "ConventionHistoryResult history(ConventionHistoryRequest request);", "title": "" }, { "docid": "159b54a5dbd7fbca0dd0020bd478ce08", "score": "0.65588313", "text": "routerrpc.RouterOuterClass.PairDataOrBuilder getHistoryOrBuilder();", "title": "" }, { "docid": "159b54a5dbd7fbca0dd0020bd478ce08", "score": "0.65588313", "text": "routerrpc.RouterOuterClass.PairDataOrBuilder getHistoryOrBuilder();", "title": "" }, { "docid": "91f45d65e9b567b5079b7dcdb4b34a6c", "score": "0.6556595", "text": "public ResultSet selectHistory()\n {\n String query=\"SELECT * FROM history ORDER BY date DESC,time DESC\";\n try {\n Statement st= conn.createStatement();\n ResultSet rs= st.executeQuery(query);\n return rs;\n } catch (SQLException e) {\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "b441f205f66bfee615c1988f62a25fae", "score": "0.65532374", "text": "public static String getHistory(String key) {\n String value = history.getProperty(key);\n if (value == null){\n LOGGER.error(\"The specified resource key \\\"\" + key + \"\\\" could not be found.\");\n return '!' + key + '!';\n }\n return value;\n }", "title": "" }, { "docid": "3db8b820c0bd209a4b408b4f8a27a742", "score": "0.6539237", "text": "public historyEntry[] getEntries() {\n historyFileReadTask readTask = new historyFileReadTask(AppContext, getHistoryFile(), null);\n try {\n return readTask.execute().get();\n } catch (Exception e) {\n Intent i = new Intent(AppContext, activityErrorHandling.class);\n i.putExtra(activityErrorHandling.errorNameIntentExtra, activityErrorHandling.stackTraceToString(e));\n AppContext.startActivity(i);\n }\n return new historyEntry[0];\n }", "title": "" }, { "docid": "8f367a2e51848e756b71b6bf26908c27", "score": "0.65254617", "text": "private IOperationHistory getOperationHistory() {\n return PlatformUI.getWorkbench().getOperationSupport().getOperationHistory();\n }", "title": "" }, { "docid": "8f367a2e51848e756b71b6bf26908c27", "score": "0.65254617", "text": "private IOperationHistory getOperationHistory() {\n return PlatformUI.getWorkbench().getOperationSupport().getOperationHistory();\n }", "title": "" }, { "docid": "902ddeb1a592de121ff35d025c28e76b", "score": "0.65149105", "text": "public List<Event> getFailedHistory();", "title": "" }, { "docid": "20ace8c6e9a663a94bd4d9dbd336d350", "score": "0.65089476", "text": "List listHistory(final YearlyBudget yb);", "title": "" }, { "docid": "8026451073d4386ab2a4380e29dd22fb", "score": "0.6508252", "text": "public final static String getHistoryFilename()\n {\n return \".mcli.history\";\n // [tbd] Read from properties\n }", "title": "" }, { "docid": "6275d3beebbb1de5a99dc3c2808a6d42", "score": "0.65039086", "text": "@GetMapping(\"/listhistory\")\n public String listHistory(Authentication auth, Model model){\n User user = userRepository.findByUsername(auth.getName());\n model.addAttribute(\"orders\", user.getHistory());\n return \"listOrders\";\n }", "title": "" }, { "docid": "e3c694d706eb4d33930acb961c93a039", "score": "0.6500044", "text": "public routerrpc.RouterOuterClass.PairData getHistory() {\n return history_ == null ? routerrpc.RouterOuterClass.PairData.getDefaultInstance() : history_;\n }", "title": "" }, { "docid": "e3c694d706eb4d33930acb961c93a039", "score": "0.6500044", "text": "public routerrpc.RouterOuterClass.PairData getHistory() {\n return history_ == null ? routerrpc.RouterOuterClass.PairData.getDefaultInstance() : history_;\n }", "title": "" }, { "docid": "fd30a18d5fc77b3702874c64055a95ef", "score": "0.64985466", "text": "@JsonProperty(\"historyId\")\r\n public Long getHistoryId() {\r\n return historyId;\r\n }", "title": "" }, { "docid": "6ba6d89d22ad0dff1a428559098937e6", "score": "0.64853233", "text": "public ArrayList<Order> getOrdersHistory() {\n\t\treturn ordersHistory;\n\t}", "title": "" }, { "docid": "389c6f28b1eba2f33b617caa5b685ebe", "score": "0.648412", "text": "public ArrayList<String> getImageHistory() {\n String imageName = StringManipulator.convertPathToName(imagePath);\n Path path = Paths.get(imagePath.substring(0, imagePath.lastIndexOf(\"/\") + 1) + \"history.txt\");\n ArrayList<String> imageHistory = new ArrayList<>();\n try (BufferedReader fileInput = Files.newBufferedReader(path)) {\n String line = fileInput.readLine();\n while (line != null) {\n if (line.equals(imageName)) {\n while (!line.equals(\"\")) {\n imageHistory.add(line);\n line = fileInput.readLine();\n }\n return imageHistory;\n }\n line = fileInput.readLine();\n }\n } catch (IOException | NullPointerException e) {\n System.out.println(\"Get history not working.\");\n }\n return imageHistory;\n }", "title": "" }, { "docid": "60ff8d72f53a1373027a98c0b6bd1b33", "score": "0.64718103", "text": "public void printHistory(){\n\t\t\n\t\ttry{\n\t\t\t\n\t\t\tfor (int i=0; i<history.size(); i++){ \n\t\t\t\t\n\t\t\t\thistory.get(i).printBoard();\n\t\t\t\thistory.get(i).printTopography();\n\t\t\t}\n\t\t}\n\t\t\n\t\tcatch (NullPointerException npe){ \n\t\t\t\n\t\t\tSystem.out.println(\"\\nGAME OVER\");\n\t\t}\n\t}", "title": "" }, { "docid": "d7091629d70515d1cb59b45dca7d6f6e", "score": "0.64604217", "text": "public routerrpc.RouterOuterClass.PairData getHistory() {\n if (historyBuilder_ == null) {\n return history_ == null ? routerrpc.RouterOuterClass.PairData.getDefaultInstance() : history_;\n } else {\n return historyBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "d7091629d70515d1cb59b45dca7d6f6e", "score": "0.64604217", "text": "public routerrpc.RouterOuterClass.PairData getHistory() {\n if (historyBuilder_ == null) {\n return history_ == null ? routerrpc.RouterOuterClass.PairData.getDefaultInstance() : history_;\n } else {\n return historyBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "bde0376a1464083343370b60b57a4575", "score": "0.6447158", "text": "public java.util.List<? extends com.zpaslab.lockerbox.LockerboxProtos.Payment.HistoryItemOrBuilder> \n getHistoryOrBuilderList() {\n if (historyBuilder_ != null) {\n return historyBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(history_);\n }\n }", "title": "" }, { "docid": "e4d5857338c2037269c8a5b593c54547", "score": "0.6438377", "text": "private static void viewSalesHistory() {\n\n\t}", "title": "" }, { "docid": "71ab278a04238c778980e8a5eba6dc2c", "score": "0.6430261", "text": "@Test\n public void getLinkHistoryTest() throws ApiException {\n String linkid = null;\n Model100InventoryLinksHistoryResponse response = api.getLinkHistory(linkid);\n\n // TODO: test validations\n }", "title": "" }, { "docid": "f5426e0cf99d687008dd2b2357c09d09", "score": "0.64242536", "text": "public List<ScriptHistoryEntry> getScriptHistory() {\n\t\treturn scriptHistory;\n\t}", "title": "" }, { "docid": "c17cb10bf066a9d777529dc418070560", "score": "0.6419867", "text": "public PaginatedResult<Message> history(Param[] params) throws AblyException {\n return historyImpl(params).sync();\n }", "title": "" } ]
7c7bc5fb97a6e5d0323f70eca44091d2
Sets the client's cores limit for task computation on the server
[ { "docid": "85a01db51a8d9cf57e4d55be6dcf6e82", "score": "0.8064091", "text": "public void setClientsCoresLimit(String clientName, int cores) throws RemoteException;", "title": "" } ]
[ { "docid": "386e32ed6ed38161a600ad512aec29f7", "score": "0.74190307", "text": "public void setCores(String[] params) {\r\n if (checkParamNum(1, params)) {\r\n try {\r\n client.getClientParams().setCores(Integer.parseInt(params[0]));\r\n if (client.isConnected()) {\r\n client.getStandardRemoteProvider().setCoresLimit(Integer.parseInt(params[0]));\r\n }\r\n } catch (NumberFormatException e) {\r\n LOG.log(Level.WARNING, \"Cores limit for task computation has to be positive integer\");\r\n } catch (IllegalArgumentException e) {\r\n LOG.log(Level.WARNING, \"Cores limit for task computation has to be positive integer\");\r\n }\r\n } else {\r\n LOG.log(Level.INFO, \"Expected parameters: 1\");\r\n LOG.log(Level.INFO, \"1: Cores limit for task computation\");\r\n }\r\n }", "title": "" }, { "docid": "50c6896ac32eb0bcb09590af134efa44", "score": "0.71115464", "text": "public void setMaxTotalCores(int param){\n \n // setting primitive attribute tracker to true\n localMaxTotalCoresTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localMaxTotalCores=param;\n \n\n }", "title": "" }, { "docid": "42350509912d0d34c145007c37fb6a74", "score": "0.70938164", "text": "void setCPUMax(int nb);", "title": "" }, { "docid": "a76da4c6178c63e54e51cbad77cd30d4", "score": "0.6799898", "text": "public abstract void setOmpMinThreads(int threads);", "title": "" }, { "docid": "0799133661cf51bd118f2d46a6977608", "score": "0.67034715", "text": "public void setObjsyncCpuLimit(Integer objsyncCpuLimit) {\n this.objsyncCpuLimit = objsyncCpuLimit;\n }", "title": "" }, { "docid": "86e98bc171cc1f19186ef0e50383a25a", "score": "0.6618251", "text": "public void setMaxProcessorWorkerThreads(int maxProcessorWorkerThreads){\n selectorThread.setMaxThreads(maxProcessorWorkerThreads);\n }", "title": "" }, { "docid": "6e046e8e189d74403b4eb72d1fdf1395", "score": "0.65941894", "text": "void setCpuMax(double cpuMax);", "title": "" }, { "docid": "a49de9906665ee8c9cc2473e9f38c2a9", "score": "0.6528289", "text": "public int getMaxThreads() { return 500*2; }", "title": "" }, { "docid": "9eeb456520009c9ebe356ccf680e33b6", "score": "0.64439243", "text": "public int getMaxTotalCores(){\n return localMaxTotalCores;\n }", "title": "" }, { "docid": "5ff8e443da95172e236be422b1d15906", "score": "0.64165974", "text": "public Integer getObjsyncCpuLimit() {\n return objsyncCpuLimit;\n }", "title": "" }, { "docid": "51d548bbd71e0eeb49d190fe5180afa4", "score": "0.6416549", "text": "public abstract int ompGetMaxThreads();", "title": "" }, { "docid": "9605d13790a54e8bcb5c99ceddda327f", "score": "0.64156264", "text": "public void setParallel(int value) {\n this.parallel = value;\n }", "title": "" }, { "docid": "071b85c4158566adbf1386a00f1c7749", "score": "0.6414399", "text": "public abstract void setOmpNumThreads(int threads);", "title": "" }, { "docid": "1dbda339923fade151962f5df332696f", "score": "0.6376074", "text": "public void setTotalThreads(int value) {\n this.totalThreads = value;\n }", "title": "" }, { "docid": "ce1598edf3a7929de367d089df1c221b", "score": "0.63550204", "text": "public void computeNbThreads() {\n \t\tint nb = Runtime.getRuntime().availableProcessors() * 2 + 1;\n \t\tif (nb > 32) {\n \t\t\tnb = Runtime.getRuntime().availableProcessors() + 1;\n \t\t}\n \t\tif (SERVER_THREAD < nb) {\n \t\t\tlogger.info(Messages.getString(\"Configuration.ThreadNumberChange\") + nb); //$NON-NLS-1$\n \t\t\tSERVER_THREAD = nb;\n \t\t\tCLIENT_THREAD = SERVER_THREAD * 10;\n \t\t}\n \t}", "title": "" }, { "docid": "b4c9d1b215dd20f79f54ed4f6d208f17", "score": "0.63380146", "text": "@Deprecated\n public void setnum_of_cpus(int value) {\n // Purposely empty\n }", "title": "" }, { "docid": "db94fbfcc8bad08dac6ebed455128082", "score": "0.63188726", "text": "void setNumThreads(final int numThreads);", "title": "" }, { "docid": "eebaf19279eeb6423bc9204f478eea75", "score": "0.6273486", "text": "private void setThreadMax(int max) {\n this.threadMax = max;\n }", "title": "" }, { "docid": "92816d99949184c522153076c2b0b953", "score": "0.6258069", "text": "public void setMaxParallel(int max) {\n maxParallel = max;\n }", "title": "" }, { "docid": "eca2e9939c01e698dcceaf505f038d49", "score": "0.62363845", "text": "int getProposedNumberOfCores();", "title": "" }, { "docid": "fe7f23c690c18a85612c9db9b953ac21", "score": "0.62082994", "text": "public void setMaxConcurrentThreads(final int count) {\n\t\t// almacenamos la cantidad\n\t\tthis.maxConcurrentThreads = count;\n\t}", "title": "" }, { "docid": "1881bbce078fb12cc7d9bdc9b95cbbb9", "score": "0.6176837", "text": "NFP_Natural getNbCores();", "title": "" }, { "docid": "dd62dc1a3481eb51f85991a3504a2cbe", "score": "0.6152853", "text": "public void setTotalCoresUsed(int param){\n \n // setting primitive attribute tracker to true\n localTotalCoresUsedTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localTotalCoresUsed=param;\n \n\n }", "title": "" }, { "docid": "c48d2c7c7b7838c0bfaaf0362c28c4f3", "score": "0.61399263", "text": "public void setMinThreads(int minThreads){\n// selectorThread.setMinThreads(minThreads);\n }", "title": "" }, { "docid": "ce38b521a201ece194558e1f274758f1", "score": "0.61310214", "text": "void setPoolSize(int thepoolSize);", "title": "" }, { "docid": "5b26e68c5d3831a03087c698d2f26ea8", "score": "0.61197287", "text": "public SOSReturnCode setNumParallelConnections(int num);", "title": "" }, { "docid": "21b9592f55e6a7fff65dea3990b6d2c6", "score": "0.60824054", "text": "public void setPoolSize(Integer size);", "title": "" }, { "docid": "ed150a267989a5eec50db54a103fd7df", "score": "0.6080746", "text": "void setExecMax(double execMax);", "title": "" }, { "docid": "6c7d52dc806e184394c8f4ccde45a106", "score": "0.6031602", "text": "@Override\n public int maxNumberOfProcessors()\n {\n int cores = Runtime.getRuntime().availableProcessors();\n return random.intBetween( cores, cores + 100 );\n }", "title": "" }, { "docid": "7a22343854efc3ab180eeb1ffd2082a6", "score": "0.60289264", "text": "public void setMaxReadWorkerThreads(int maxReadWorkerThreads){\n// selectorThread.setMaxReadWorkerThreads(maxReadWorkerThreads);\n }", "title": "" }, { "docid": "e68d7c68d5b51b911489437f68c12453", "score": "0.6010446", "text": "@Test\n public void decideResourceLimitationsTestCoreSetting() throws Exception {\n // ARRANGE\n Command command =\n Command.newBuilder()\n .setPlatform(\n Platform.newBuilder()\n .addProperties(\n Platform.Property.newBuilder().setName(\"min-cores\").setValue(\"7\"))\n .addProperties(\n Platform.Property.newBuilder().setName(\"max-cores\").setValue(\"14\")))\n .build();\n\n // ACT\n ResourceLimits limits =\n ResourceDecider.decideResourceLimitations(\n command,\n \"worker\",\n /* defaultMaxCores=*/ 0,\n /* onlyMulticoreTests=*/ false,\n /* limitGlobalExecution=*/ false,\n /* executeStageWidth=*/ 100,\n /* allowBringYourOwnContainer=*/ false,\n new SandboxSettings());\n\n // ASSERT\n assertThat(limits.cpu.min).isEqualTo(7);\n assertThat(limits.cpu.max).isEqualTo(14);\n }", "title": "" }, { "docid": "a0015817d45266c9d5d25be73c6cef1e", "score": "0.60002965", "text": "public void setMaxTotal(int max) {\n/* 353 */ this.pool.setMaxTotalConnections(max);\n/* */ }", "title": "" }, { "docid": "517ab958b29b1380500beeddfe0e0a46", "score": "0.59323204", "text": "public int getMaximumWorkers() {\n\t\treturn 10;\n\t}", "title": "" }, { "docid": "bba6da982defedad3ac2ec0449e5d367", "score": "0.59067756", "text": "public void setThreadsAllowedToBlockForConnectionMultiplier(int threadsAllowedToBlockForConnectionMultiplier) {\n this.threadsAllowedToBlockForConnectionMultiplier = threadsAllowedToBlockForConnectionMultiplier;\n }", "title": "" }, { "docid": "1574607fd232fecbe080a4f6fb527dc3", "score": "0.5889868", "text": "protected void setMaxThreadCount(int maxThreadCount) {\n\t\tthis.maxThreadCount = maxThreadCount;\n\t}", "title": "" }, { "docid": "a6043832f591189f79a1c69e8ece9a41", "score": "0.58777106", "text": "public void set_maxclient(long maxclient) throws Exception {\n\t\tthis.maxclient = new Long(maxclient);\n\t}", "title": "" }, { "docid": "fa65439f1f71928a25064cd6d6cc3b78", "score": "0.58723927", "text": "public GroovyMultithread(int nbTasks, int value) {\n super(nbTasks, value);\n }", "title": "" }, { "docid": "09aa58ad952f5efc433d91a80c378aa3", "score": "0.5866999", "text": "public int getMaxProcessorWorkerThreads(){\n return selectorThread.getMaxThreads();\n }", "title": "" }, { "docid": "b1ccfa5bc33595ea1d68231bfc1a83ce", "score": "0.5866224", "text": "void setNbOfCPUs(int nb);", "title": "" }, { "docid": "f06671a6fd5ff30ccf5cb0cc282b61bf", "score": "0.585942", "text": "public static void updateMaxParallel(int maxParallel) {\n\t\texecutorService.setMaximumPoolSize(maxParallel);\n\t}", "title": "" }, { "docid": "91e068beb54bef8c31a57f6f9d0ef99c", "score": "0.58371633", "text": "@ApiModelProperty(value = \"Cores specifies the number of cores inside the vmi. Must be a value greater or equal 1.\")\n public Integer getCores() {\n return cores;\n }", "title": "" }, { "docid": "245a3f4eaaf495519f335e690416f167", "score": "0.58242714", "text": "public void setConnectionPoolLimit(Long ConnectionPoolLimit) {\n this.ConnectionPoolLimit = ConnectionPoolLimit;\n }", "title": "" }, { "docid": "d7cc087c49ef47af8111945ca3a42e4c", "score": "0.57989365", "text": "public void setVcpus(int param){\n \n // setting primitive attribute tracker to true\n localVcpusTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localVcpus=param;\n \n\n }", "title": "" }, { "docid": "d7cc087c49ef47af8111945ca3a42e4c", "score": "0.57989365", "text": "public void setVcpus(int param){\n \n // setting primitive attribute tracker to true\n localVcpusTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localVcpus=param;\n \n\n }", "title": "" }, { "docid": "5f1ae946cbbfb3d58cbc71cea0606f71", "score": "0.579671", "text": "public ExecutorServiceProcExecImpl(int processMax) {\n threadExecutor = Executors.newFixedThreadPool(processMax);\n }", "title": "" }, { "docid": "4bb5e23b2e7ec93cb8e7334027610c4d", "score": "0.5780261", "text": "public void set_maxclient(Long maxclient) throws Exception{\n\t\tthis.maxclient = maxclient;\n\t}", "title": "" }, { "docid": "716c9591dae23c05360abb3a4a890486", "score": "0.5766014", "text": "@Test\n public void decideResourceLimitationsTestCoreSettingDefaultedOnNontest() throws Exception {\n // ARRANGE\n Command command =\n Command.newBuilder()\n .setPlatform(\n Platform.newBuilder()\n .addProperties(\n Platform.Property.newBuilder().setName(\"min-cores\").setValue(\"7\"))\n .addProperties(\n Platform.Property.newBuilder().setName(\"max-cores\").setValue(\"14\")))\n .build();\n\n // ACT\n int defaultMaxCores = 3;\n ResourceLimits limits =\n ResourceDecider.decideResourceLimitations(\n command,\n \"worker\",\n defaultMaxCores,\n /* onlyMulticoreTests=*/ true,\n /* limitGlobalExecution=*/ false,\n /* executeStageWidth=*/ 100,\n /* allowBringYourOwnContainer=*/ false,\n new SandboxSettings());\n\n // ASSERT\n assertThat(limits.cpu.min).isEqualTo(1);\n assertThat(limits.cpu.max).isEqualTo(defaultMaxCores);\n }", "title": "" }, { "docid": "28dc594d7bac52e4304bcff74a4cda7d", "score": "0.575202", "text": "void setNumberOfProcessors(STATUS status, long numberOfProcessors);", "title": "" }, { "docid": "cc05789ba7bf367be49ad3229c568c06", "score": "0.57296103", "text": "public void setClientsMemoryLimit(String clientName, int memory) throws RemoteException;", "title": "" }, { "docid": "100ffb19e6ff82364c12ff8042b7c1dd", "score": "0.5720378", "text": "int getNumCores() {\n return Runtime.getRuntime().availableProcessors();\n }", "title": "" }, { "docid": "884762333d99d8c3ec5374a31fd64ee2", "score": "0.57177246", "text": "public int getThreadsAllowedToBlockForConnectionMultiplier() {\n return (threadsAllowedToBlockForConnectionMultiplier > 0)\n ? threadsAllowedToBlockForConnectionMultiplier\n : defaults.threadsAllowedToBlockForConnectionMultiplier;\n }", "title": "" }, { "docid": "90b169f1282647c0373ec998a7c0e32a", "score": "0.5713915", "text": "@Override\r\n\tpublic void configure(JobConf arg0) {\n\t\tpool=Executors.newFixedThreadPool(arg0.getInt(\"reduce.concurrency.value\",DCSUtils.REDUCE_CONCURRENCY_VALUE));\r\n\t}", "title": "" }, { "docid": "f4fdcba09cc4c6171a38cb55e2394780", "score": "0.5713022", "text": "public Builder setMaxClients(int value) {\n bitField0_ |= 0x00000200;\n maxClients_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "755dec82feb6a789ce61e7085f5a382d", "score": "0.5677377", "text": "public int getClusterLimit() {\n return clusterLimit;\n }", "title": "" }, { "docid": "fcaf63fede49755ea5b03d9ef44185c3", "score": "0.56613183", "text": "public void getCores(String[] params) {\r\n if (checkParamNum(0, params)) {\r\n LOG.log(Level.INFO, \"Number of cores allowed to use by tasks is set to: {0}\", client.getClientParams().getCores());\r\n } else {\r\n LOG.log(Level.INFO, \"Command has no parameters\");\r\n }\r\n }", "title": "" }, { "docid": "bf72606676561baf8e5a6472932b35db", "score": "0.56458426", "text": "void setCpuMin(double cpuMin);", "title": "" }, { "docid": "1c68b356bb2196bbb3054b9c3cca74d8", "score": "0.5634454", "text": "public void setnThreads(int nThreads) {\r\n this.nThreads = nThreads;\r\n }", "title": "" }, { "docid": "82fef5f0cdef8d187bc2ba704c89be89", "score": "0.5632965", "text": "public int getMaxThreads() {\n return maxThreads;\n }", "title": "" }, { "docid": "9d32d530a64bd40e79ae26438a3fd217", "score": "0.5624613", "text": "public ResourceManager(int maxThread) {\n setThreadMax(maxThread);\n }", "title": "" }, { "docid": "930de4f2a6579b459b20a4091135033a", "score": "0.56061596", "text": "public void setMaxConnections(String value) {\n setAttributeInternal(MAXCONNECTIONS, value);\n }", "title": "" }, { "docid": "89ed82c72db94e3d5bce565261d68703", "score": "0.55945855", "text": "public void setMaxConcurrentRequests(String maxConcurrentRequests) {\n this.maxConcurrentRequests = toNullIfEmptyOrWhitespace(maxConcurrentRequests);\n }", "title": "" }, { "docid": "31bd802a4725db4fdf2b7ab90618b47d", "score": "0.5585905", "text": "public void setIoWorkerCount(int ioWorkerCount) {\n this.ioWorkerCount = ioWorkerCount;\n }", "title": "" }, { "docid": "9b4bc5a51e126425c5b8ea37f5b1a427", "score": "0.5584439", "text": "int corePoolSize();", "title": "" }, { "docid": "082b7e777e39c08c394fc98b409b984e", "score": "0.5577481", "text": "public Builder setMaxUpThreadCnt(int value) {\n bitField0_ |= 0x00000004;\n maxUpThreadCnt_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "81384d6eb3ce102a6201ced311319147", "score": "0.55725145", "text": "public int getCorePoolSize() {\n return corePoolSize;\n }", "title": "" }, { "docid": "fbb6cf8863b94172e4d98db113a68e39", "score": "0.55720127", "text": "public void threadPool(int threads){\n this.numberofthread=threads;\n \n }", "title": "" }, { "docid": "27eb62e54e8ef11682a9cef982d58092", "score": "0.55642676", "text": "public void setThreads(int threads) {\n this.threads = threads;\n }", "title": "" }, { "docid": "560a5977b3cf12f5972cd7a956797acc", "score": "0.5560456", "text": "public void setQueueSizeInBytes(int maxQueueSizeInBytes){\n// selectorThread.setMaxQueueSizeInBytes(maxQueueSizeInBytes);\n }", "title": "" }, { "docid": "d29873a6ea51ab76f6baa6cbe2b6c339", "score": "0.55287814", "text": "public void setCorePoolSize(int corePoolSize) {\n if (corePoolSize < 0) {\n throw new IllegalArgumentException();\n }\n final ReentrantLock mainLock = this.mainLock;\n mainLock.lock();\n try {\n int extra = this.corePoolSize - corePoolSize;\n this.corePoolSize = corePoolSize;\n if (extra < 0) {\n int n = workQueue.size(); // don't add more threads than tasks\n while (extra++ < 0 && n-- > 0 && poolSize < corePoolSize) {\n Thread t = addThread(null);\n if (t == null) {\n break;\n }\n }\n } else if (extra > 0 && poolSize > corePoolSize) {\n try {\n Iterator<Worker> it = workers.iterator();\n while (it.hasNext() &&\n extra-- > 0 &&\n poolSize > corePoolSize &&\n workQueue.remainingCapacity() == 0) {\n it.next().interruptIfIdle();\n }\n } catch (SecurityException ignore) {\n // Not an error; it is OK if the threads stay live\n }\n }\n } finally {\n mainLock.unlock();\n }\n }", "title": "" }, { "docid": "e0531e65719ea3db4237e038d7e237c3", "score": "0.5524944", "text": "int maxPoolSize();", "title": "" }, { "docid": "61b69882e512d343fd959c8d354b1e4a", "score": "0.5523912", "text": "@Test\n public void decideResourceLimitationsEnsureLimitGlobalSet() throws Exception {\n // ARRANGE\n Command command =\n Command.newBuilder()\n .setPlatform(\n Platform.newBuilder()\n .addProperties(\n Platform.Property.newBuilder().setName(\"min-cores\").setValue(\"0\"))\n .addProperties(\n Platform.Property.newBuilder().setName(\"max-cores\").setValue(\"0\")))\n .build();\n\n // ACT\n ResourceLimits limits =\n ResourceDecider.decideResourceLimitations(\n command,\n \"worker\",\n /* defaultMaxCores=*/ 0,\n /* onlyMulticoreTests=*/ false,\n /* limitGlobalExecution=*/ true,\n /* executeStageWidth=*/ 100,\n /* allowBringYourOwnContainer=*/ false,\n new SandboxSettings());\n\n // ASSERT\n assertThat(limits.cpu.limit).isTrue();\n }", "title": "" }, { "docid": "ad169e19e01090be0d89ebfaf0a652e1", "score": "0.5518388", "text": "public void setMaxNumberOfIterations(int maxNumberOfIterations) {\n this.maxNumberOfIterations = maxNumberOfIterations;\n }", "title": "" }, { "docid": "7766ff393257d8b1ab3cc7cb3ecfe3b1", "score": "0.5514819", "text": "public void setRequestedMaxNumberOfConnections(java.lang.Integer requestedMaxNumberOfConnections) {\r\n this.requestedMaxNumberOfConnections = requestedMaxNumberOfConnections;\r\n }", "title": "" }, { "docid": "03b694b92ec7011b65bccf823fd81436", "score": "0.55020624", "text": "public final void setClientMaximumMultiplex(int maxMpx) {\n m_maxMultiplex = maxMpx;\n }", "title": "" }, { "docid": "626c7dcabb85ece8f11d0b0abe2099cd", "score": "0.54814607", "text": "public void setVcpus_used(int param){\n \n // setting primitive attribute tracker to true\n localVcpus_usedTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localVcpus_used=param;\n \n\n }", "title": "" }, { "docid": "1387df776b539ee2aa7fef5ced02efcf", "score": "0.5477588", "text": "private void setNumOfProcessors(int numOfProcessors) {\n\t\tthis.numOfProcessors = numOfProcessors;\n\t}", "title": "" }, { "docid": "293c750c213229cb6b52e6b7866021eb", "score": "0.54664016", "text": "public void setMaxTotalInstances(int param){\n \n // setting primitive attribute tracker to true\n localMaxTotalInstancesTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localMaxTotalInstances=param;\n \n\n }", "title": "" }, { "docid": "6a247c91cc520004906c4dc6731469e4", "score": "0.5465915", "text": "public void setMaxUploadThreads(int maxUploadThreads) {\n S3FileSystemConfigBuilder.getInstance().setMaxUploadThreads(options, maxUploadThreads);\n }", "title": "" }, { "docid": "e1a1330790c5402a635fa22aabbef0c4", "score": "0.54471195", "text": "public Builder setMaxDownThreadCnt(int value) {\n bitField0_ |= 0x00000008;\n maxDownThreadCnt_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2a10ca11d9aff1e3ee91614380d9c1b4", "score": "0.5442793", "text": "public void setThreadCount(String value) {\n setAttributeInternal(THREADCOUNT, value);\n }", "title": "" }, { "docid": "e89a3b08c15661f4c71501a132eb740f", "score": "0.5429922", "text": "int getMaxPoolSize();", "title": "" }, { "docid": "981bd794d8fbc9d537098872a001a9d9", "score": "0.5427459", "text": "public void setMemory(String[] params) {\r\n if (checkParamNum(1, params)) {\r\n try {\r\n client.getClientParams().setMemory(Integer.parseInt(params[0]));\r\n if (client.isConnected()) {\r\n client.getStandardRemoteProvider().setMemoryLimit(Integer.parseInt(params[0]));\r\n }\r\n } catch (NumberFormatException e) {\r\n LOG.log(Level.WARNING, \"Memory limit for task computation has to be positive integer\");\r\n } catch (IllegalArgumentException e) {\r\n LOG.log(Level.WARNING, \"Memory limit for task computation has to be positive integer\");\r\n }\r\n } else {\r\n LOG.log(Level.INFO, \"Expected parameters: 1\");\r\n LOG.log(Level.INFO, \"1: Memory limit for task computation\");\r\n }\r\n }", "title": "" }, { "docid": "8a61a9d799f5667637aac48ee0fb5bb7", "score": "0.5423213", "text": "public void setMaxClients(int newvalue) {\n if ((-1 != newvalue) && (newvalue <= 0)) {\n throw new IllegalArgumentException(\"Max Clients must be > 0\");\n }\n\n maxClients = newvalue;\n }", "title": "" }, { "docid": "c17f11e24eb61da81f559fb11144f057", "score": "0.5417586", "text": "public static void setMaximumTasksAllowed(int maximumTasksAllowed) {\n ErrorFileDumper.maximumTasksAllowed = maximumTasksAllowed;\n }", "title": "" }, { "docid": "1d50c9e9b4f0f4100b98e485d164874c", "score": "0.54042786", "text": "@Override\n\tpublic int concurrentQueuesNo() {\n\t\treturn Runtime.getRuntime().availableProcessors();\n\t}", "title": "" }, { "docid": "d80c80143983c3dfdaa1cfc772356ee4", "score": "0.54018307", "text": "Integer numberOfCores();", "title": "" }, { "docid": "83599337be036dea0a862e26b2f04aa4", "score": "0.54005855", "text": "public void setMaxIterations(int max)\n\t{\n\t\tMAX = max;\n\t}", "title": "" }, { "docid": "69fff9ed9be9192970ce352b224a8a95", "score": "0.53923273", "text": "public void setMaxIterations(long maxIterations) {\n cSetMaxIterations(this.cObject, maxIterations);\n }", "title": "" }, { "docid": "478670c46a5b2f05d493c3a11bba711a", "score": "0.53882957", "text": "public void setMinProcessorQueueLength(int minProcessorQueueLength){\n// selectorThread.setMinProcessorQueueLength(minProcessorQueueLength);\n }", "title": "" }, { "docid": "77edef82df390d39619395007dbaa360", "score": "0.53775394", "text": "public int getMaxReadWorkerThreads(){\n// return selectorThread.getMaxReadWorkerThreads();\n return 0;\n }", "title": "" }, { "docid": "868484c3f587bdfb2eadc44d8448b397", "score": "0.53707296", "text": "public int getTotalCoresUsed(){\n return localTotalCoresUsed;\n }", "title": "" }, { "docid": "ef940a2d4681cf020e49d0809cc7df24", "score": "0.53475046", "text": "public void setProcessorThreadsIncrement( int threadsIncrement ) {\n// selectorThread.setThreadsIncrement(threadsIncrement);\n setAttribute(\"threadsIncrement\", \"\" + threadsIncrement); \n }", "title": "" }, { "docid": "ce2314f2104c89cb61be21bedc7da4cf", "score": "0.5344925", "text": "int getMaxConcurrentTasks();", "title": "" }, { "docid": "dee692e7a92aec9e59f923c08cae1ed9", "score": "0.53390104", "text": "public void setMaxConnections(java.lang.Number _maxConnections)\n {\n maxConnections = _maxConnections;\n }", "title": "" }, { "docid": "dd1adca42116fa64616d1ae9d19c0dd1", "score": "0.5330702", "text": "public synchronized void setTargetPoolSize(int num) {\n if (targetNumThreads == 0 || targetNumThreads == num)\r\n return;\r\n\r\n System.out.println(\r\n \"-- POOL: jobs.size(): \" + jobs.size() + \", pool size changed from \" + targetNumThreads + \" to \" + num);\r\n\r\n // Initialize threads that may not exist yet\r\n targetNumThreads = num;\r\n for (int i = 0; i < num; i++) {\r\n addThread(i);\r\n }\r\n\r\n notifyAll();\r\n }", "title": "" }, { "docid": "aa85be79b6e8fa6f471c71786b2c3b09", "score": "0.5330522", "text": "void setCPUConsumption(int c);", "title": "" }, { "docid": "1266c3042627b318e3c4c710cc34d730", "score": "0.53264457", "text": "public BasicFastRenderer setMultithreading(int threads) {\n if (threads < 0)\n throw new IllegalArgumentException(\"Multithreading parameter must be 0 or higher\");\n if (threads != 0)\n this.threadsCount = threads;\n else {\n int cores = Runtime.getRuntime().availableProcessors() - SPARE_THREADS;\n this.threadsCount = cores <= 2 ? 1 : cores;\n }\n return this;\n }", "title": "" }, { "docid": "bce06e0e919d9230153c4ce4b83718b7", "score": "0.53185976", "text": "public TenantConfiguration limitCpuCfs(int period, int quota) {\n throw new RuntimeException(\"Dummy AJDK API found\");\n }", "title": "" }, { "docid": "7e81d126d38844df242be91bb225a898", "score": "0.531267", "text": "public void setTotalThreadsStarted(long argTotalThreadsStarted) {\n }", "title": "" }, { "docid": "c56dff89e4899b88850fab5d418015c7", "score": "0.5311017", "text": "public int prestartAllCoreThreads() {\n int n = 0;\n while (addIfUnderCorePoolSize(null)) {\n ++n;\n }\n return n;\n }", "title": "" } ]
d600eb6bdeb6b5702b9b9f3c81ccd5bd
isLeap() returns true if the given year is a Leap Year. "a year is a leap year if it is divisible by 4 but not by 100, except that years divisible by 400 are leap years." Kernighan & Ritchie, _The C Programming Language_, p 37.
[ { "docid": "107c728de31c3f7c45b7fcb46626981a", "score": "0.8849504", "text": "public static boolean isLeap(int year) {\n\t\tif (year % 4 == 0 && year % 100 != 0 || year % 400 == 0)\n\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "e7ebf5371bd26a2f68faf42a582021b2", "score": "0.9034881", "text": "public boolean isLeapYear(){\r\n if((year % 400 == 0) || ((year % 4 == 0) && (year % 100 != 0)))\r\n return true;\r\n else \r\n return false;\r\n }", "title": "" }, { "docid": "380f3489d3cb7a515781f33046de0991", "score": "0.88803446", "text": "public static boolean isLeapYear(int year) {\n\t return year % 400 == 0 || (year % 4 == 0 && year % 100 != 0);\n\t\n\t}", "title": "" }, { "docid": "c9fd8dbe2c3927defdc9b2e3495936d5", "score": "0.886759", "text": "public static boolean isLeapYear(int year) \r\n {\r\n if (year % 400 == 0 || (year % 4 == 0 && (year % 100 != 0)))\r\n {\r\n return true;\r\n }\r\n\t\t return false; \r\n }", "title": "" }, { "docid": "4f77581ba61f0c9e79d74db5f0382b2a", "score": "0.88650703", "text": "public static boolean isLeapYear(int year){\r\n \tif(year%400==0){\r\n \t\treturn true;\r\n \t}\r\n \tif(year%100==0){\r\n \t\treturn false;\r\n \t}\r\n \tif(year%4==0){\r\n \t\treturn true;\r\n \t}\r\n \treturn false;\r\n }", "title": "" }, { "docid": "ddefefd70c9d9c48ce840ec5b8488a43", "score": "0.88218576", "text": "public static boolean isLeapYear (final int year)\n {\n boolean retVal = false;\n\n if (year % 400 == 0)\n {\n retVal = true;\n }\n else\n {\n if ((year % 100 != 0) && (year % 4 == 0))\n {\n retVal = true;\n }\n }\n\n return retVal;\n }", "title": "" }, { "docid": "299968401d773cc95428195ebdd73835", "score": "0.8819507", "text": "private boolean isLeapYear( int year ){\n \n boolean leapYear = false;\n \n if( year % 400 == 0 ){\n leapYear = true;\n }\n else if( year % 4 == 0 && year % 100 != 0 ){\n leapYear = true;\n }\n return leapYear;\n }", "title": "" }, { "docid": "b8fb96f9e493cd27d60e16d7d09f2a15", "score": "0.88057894", "text": "private boolean isYearLeap() {\n boolean leap = false;\n\n if ((year % 4) != 0) leap = false;\n else if ((year % 100) != 0) leap = true;\n else if ((year % 400) != 0) leap = false;\n else leap = true;\n\n return leap;\n }", "title": "" }, { "docid": "b4b6ebcb244f0ee7d675ac8448b2632e", "score": "0.8799405", "text": "private static boolean isLeapYear(int year) {\n if (year % 100 == 0 && year % 400 != 0) return false;\n return year % 4 == 0;\n }", "title": "" }, { "docid": "360c6c3c9f228c701cfd86f6826c4f2e", "score": "0.87834215", "text": "public static boolean isLeapYear(Integer year) {\n return ((year % 4 == 0) && ((year % 100 != 0) || (year % 400 == 0)));\n }", "title": "" }, { "docid": "8bd90be601fead77f440847abafee05a", "score": "0.8766986", "text": "private boolean isLeapYear(int year) {\n\t\tif (year % 4 == 0) {\n\t\t\tif (year % 100 == 0) {\n\t\t\t\tif (year % 400 == 0) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "edec1e858db87dad339185ef19ec1a40", "score": "0.87659067", "text": "public static boolean isLeapYear(long year) {\n return ((year & 3) == 0) && ((year % 100) != 0 || (year % 400) == 0);\n }", "title": "" }, { "docid": "28784a53243ffb80b91849570f9a9803", "score": "0.8728423", "text": "public boolean isLeapYear(int year) {\n\t\treturn (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0);\n\t}", "title": "" }, { "docid": "06d391df319ab52800edc8b0a53c980a", "score": "0.8652199", "text": "public boolean isLeap () {\r\n int temp = (_century * 100 + _year) ;\r\n boolean result =( ((temp % 4) == 0) && ((temp % 100) != 0) );\r\n result = (result || ((temp % 400)==0) );\r\n return result;\r\n }", "title": "" }, { "docid": "f8d011825561629a3310d7c397010564", "score": "0.85737765", "text": "public static boolean isLeapYear(int year) {\r\n //if year is less than 1 or greater than 9999 return false\r\n if (year < 1 || year > 9999) { //if the year is not between 1 and 9999 it's false\r\n return false;\r\n } else if( year % 4 != 0){\r\n return false;\r\n } else if(year % 100 != 0) {\r\n return true;\r\n } else if(year % 400 == 0) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "4cba3d3ed1e5555ac4561ac91a64337c", "score": "0.8530324", "text": "public boolean isLeapYear(int year) {\n if ((year % LEAP_YEAR_EVERY == 0) && (year % NO_LEAP_YEAR != 0)) {\n return true;\n }\n return year % LEAP_YEAR == 0;\n }", "title": "" }, { "docid": "0003bd22da75ad493ba25fa86f260771", "score": "0.8528385", "text": "public static boolean isLeapYear(int year) {\n if (!(year >= 1 && year <= 9999)) {\n// System.out.println(\"Invalid year entered: \" + year);\n return false;\n }\n if (((year % 100) == 0) && ((year % 400) != 0)){\n// System.out.println(year + \" is not a leap year.\");\n return false;\n }\n if (((year % 100) == 0) && ((year % 400) == 0)){\n// System.out.println(year + \" is a leap year.\");\n return true;\n }\n // System.out.println(year + \" is a leap year.\");\n return ((year % 4) == 0) && ((year % 100) != 0);\n }", "title": "" }, { "docid": "c061950af986180c0fe51fcf1f81c77a", "score": "0.8514206", "text": "private static boolean isLeapYear(int year) {\n boolean isDivisibleByFour = year % QUADRENNIAL == 0;\n boolean isDivisibleBy100 = year % CENTENNIAL == 0;\n boolean isDivisibleBy400 = year % QUARTER_CENTENNIAL == 0;\n\n if(isDivisibleByFour){\n if(isDivisibleBy100){\n return isDivisibleBy400;\n }\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "3341e1f2ec64258cb2d901fbeb3b154e", "score": "0.85079753", "text": "private static boolean isLeapYear(int year) {\n\t\treturn year >= 1754 // Did not move to Gregorian calendar until 1753\n\t\t\t\t&& year % 4 == 0\n\t\t\t\t&& (year % 100 != 0 || year % 400 == 0)\n\t\t\t\t&& ((year % 4 == 0 && year % 100 != 0)\n\t\t\t\t|| year % 400 == 0);\n\t\t/*if (year < 1754) return false;\n\t\tif (year % 4 != 0) return false;\n\t\tif (year % 4 == 0 && year % 100 != 0) return true;\n\t\tif (year % 100 == 0 && year % 400 != 0) return false;\n\t\treturn year % 400 == 0;*/\n\t}", "title": "" }, { "docid": "0d182ac23741fd297fbeb3ef9839a8c4", "score": "0.83878446", "text": "private static boolean leapYear(int year) {\n return ((year % 400) != 0) && ((year % 4) == 0);\n }", "title": "" }, { "docid": "361c0b973e85c56d8f549d8a338bbed7", "score": "0.8381998", "text": "private boolean leap(int year)\r\n {\r\n \tfinal int LEAP_YEAR_COEFFICIENT1 = 4;\r\n \tfinal int LEAP_YEAR_COEFFICIENT2 = 100;\r\n \tfinal int LEAP_YEAR_COEFFICIENT3 = 400;\r\n \tfinal int ZERO_REMAINDER = 0;\r\n \treturn(((year%LEAP_YEAR_COEFFICIENT1 == ZERO_REMAINDER)&&(year%LEAP_YEAR_COEFFICIENT2 != ZERO_REMAINDER))||(year%LEAP_YEAR_COEFFICIENT3 == ZERO_REMAINDER));\r\n }", "title": "" }, { "docid": "3bd71a35d76a47ffee879bc43cfd681e", "score": "0.83292735", "text": "private static boolean leapYear(long year) {\n long lYear = year;\n\n if (lYear > 0) return ((((((lYear - (474)) % 2820) + 474) + 38) * 682) % 2816) < 682;\n else return ((((((lYear - (473)) % 2820) + 474) + 38) * 682) % 2816) < 682;\n }", "title": "" }, { "docid": "1983cc7bd1faf7c49e37488e4979bba3", "score": "0.83244264", "text": "public static boolean isLeapYear(long year)\n\t{\n\t\treturn LEAP_CACHE[(int)(year - START)];\n\t}", "title": "" }, { "docid": "947a7eb1c47430b8d47a37db81317a0b", "score": "0.8306223", "text": "public boolean isLeapYear(int year) {\n\n boolean rule1 = false;\n boolean rule2 = true;\n boolean rule3 = false;\n\n // rule1\n if (year % 4 == 0)\n rule1 = true;\n // rule2\n if (year % 100 != 0)\n rule2 = false;\n // rule3\n if (year % 400 == 0 && year >= 1582)\n rule3 = true;\n if (rule1 && !rule2 || rule3) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "62e16f8a58b048584f180aca5cfd4e87", "score": "0.82883805", "text": "private static boolean isLeapYear(int y) {\n if (y % 400 == 0) return true;\n if (y % 100 == 0) return false;\n return y % 4 == 0;\n }", "title": "" }, { "docid": "520059baacbabc20291329f4d75f9a9e", "score": "0.827806", "text": "public static boolean isLeapYear(int year) throws Exception {\n if (year < 1582) throw new Exception(\"Years before 1582 are invalid!\");\n\n if (year % 400 == 0) {\n return true;\n } else if (year % 100 == 0) {\n return false;\n } else if (year % 4 == 0) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "927cf41cd65ff84b80de631a8d7761d9", "score": "0.80111355", "text": "public static void leapYear() {\n\t int year = 2016;\n\t System.out.println(); \n\t if((year % 400 == 0) || ((year % 4 == 0) && (year % 100 != 0)))\n\t System.out.println(\"Year \" + year + \" is a leap year\");\n\t else\n\t System.out.println(\"Year \" + year + \" is not a leap year\");\n\t System.out.println();\n\t}", "title": "" }, { "docid": "1c5ce385e0bbb14a61f274df12066144", "score": "0.7964834", "text": "public static String isLeapYear(int year)\n\t{\n\t\tif (year - 1581 > 0) {\n\t\t\tif (year % 400 == 0 || year % 4 == 0 && year % 100 != 0) {\n\t\t\t\tSystem.out.printf(\"The year %s is a leap year\", year);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.printf(\"The year %s is not a leap year\", year);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\tSystem.out.printf(\"The year %s is not part of the Gregorian Calendar\", year); \t\n\t\t}\n\t\t\n\t\treturn \"\"; // Quiets the compiler\n\t}", "title": "" }, { "docid": "c61b78c083a79ac182669092c264e0a8", "score": "0.78472835", "text": "public static boolean isLeapYear(int i) {\r\n\t\tif ((i % 4 == 0 && i % 100 != 0) || (i % 400 == 0))\r\n\t\t\treturn true;\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "8f8830309ea7cff6f55b58088828dfb5", "score": "0.7690008", "text": "public static void leapYear(int Year){\n\n Boolean X = (Year % 4) == 0;\n Boolean Y = (Year % 100 ) != 0;\n Boolean Z = ((Year % 100 == 0) && (Year % 400 == 0));\n if(X && (Y ||Z))\n {\n l.info(\"Year is leap year\");\n }\n else\n {\n l.info(\"Year is not leap year\");\n }\n }", "title": "" }, { "docid": "34fe4d09ac9ecacbadef1af0d5008746", "score": "0.7568798", "text": "public boolean isendLeapYear() {\n\t\tif ((tempYear % 4) == 0) {\n\t\t\treturn true;\n\t\t} else if ((tempYear % 100) == 0) {\n\t\t\tif (tempYear % 400 == 0) {\n\t\t\t}\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "9191b0e76976d74f648febaece3da169", "score": "0.7344012", "text": "@Test\n public void testIsLeapYear() throws Exception {\n assertEquals(expectedResult, leapYearService.isLeapYear(year));\n }", "title": "" }, { "docid": "22ae98c632d18094d749f49c16a89b24", "score": "0.73238724", "text": "public static void getLeapYear(int checkYear) {\n\t\tif ((checkYear %4 == 0 && checkYear %100 != 0) || checkYear%400 == 0 ) {\n\t\t\tSystem.out.println(checkYear+ \" is a Leap Year\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(checkYear+ \" is Not a Leap Year\");\n\t}", "title": "" }, { "docid": "98484ad761adebc8410f8da0cd074518", "score": "0.7228681", "text": "@Override // sun.util.calendar.BaseCalendar\n public boolean isLeapYear(int i) {\n return CalendarUtils.isJulianLeapYear(i);\n }", "title": "" }, { "docid": "660bf27879581eb4fd9ac5e553dbe584", "score": "0.7033062", "text": "public SingleStringValue isLeapYear () throws ApiException {\n // create path and map variables\n String path = \"/date/today/isLeapYear\".replaceAll(\"\\\\{format\\\\}\",\"json\");\n\n // query params\n Map<String, String> queryParams = new HashMap<String, String>();\n Map<String, String> headerParams = new HashMap<String, String>();\n\n String contentType = \"application/json\";\n\n try {\n String response = apiInvoker.invokeAPI(basePath, path, \"GET\", queryParams, null, headerParams, contentType);\n if(response != null){\n return (SingleStringValue) ApiInvoker.deserialize(response, \"\", SingleStringValue.class);\n }\n else {\n return null;\n }\n } catch (ApiException ex) {\n if(ex.getCode() == 404) {\n return null;\n }\n else {\n throw ex;\n }\n }\n }", "title": "" }, { "docid": "f10aefc151136b0982642c86b8a3543b", "score": "0.703285", "text": "public static void main(String[] args) {\nint year;\r\nScanner scan =new Scanner (System.in);\r\nyear =scan .nextInt();\r\n\r\nif((year % 400 ==0) || (year%4==0) && (year%100 !=0))\r\n{\r\n\tSystem.out.println(\"entered year is leap\");\r\n}\r\nelse\r\n{\r\n\tSystem.out.println(\"entered year is not leap\");\r\n}\r\n\t}", "title": "" }, { "docid": "2429c3d8155c42700e178b8f5b434770", "score": "0.7018889", "text": "public static void main(String[] args) {\n\n Scanner input = new Scanner(System.in);\n System.out.println(\"Please enter a year\");\n int year = input.nextInt();\n boolean isLeapYear;\n\n if (year % 4 == 0) {\n if (year % 100 == 0) {\n if (year % 400 == 0) {\n isLeapYear = true;\n } else {\n isLeapYear = false;\n }\n }else {\n isLeapYear=true;\n }\n\n }else {\n isLeapYear =false;\n }\n if (isLeapYear){\n System.out.println(\"The year you entered is a leap year\");\n }\n else {\n System.out.println(\"The year you entered is a not leap year\");\n }\n }", "title": "" }, { "docid": "cf1d43bc9bac168e087f72780a570e42", "score": "0.700843", "text": "public static void leapYear(int year){\n if (year > 1582){\n if (year % 4 == 0 && year % 100 == 0 && year % 400 == 0){\n System.out.println(year + \" is a leap year\");\n }\n else if (year % 4 == 0 && year % 100 == 0 && year % 400 != 0){\n System.out.println(year + \" is not a leap year\");\n }\n else if (year % 4 == 0 && year % 100 != 0 && year % 400 != 0){\n System.out.println(year + \" is a leap year\");\n }\n else {\n System.out.println(year + \" is not a leap year\");\n }\n }\n \n \n \n \n else{\n System.out.println(\"Predates the Gregorian calender\");\n }\n \n }", "title": "" }, { "docid": "1434f50604e35eb78bf39950999e8ea1", "score": "0.7003675", "text": "@Test\r\n\tpublic void testLeapYearCalc() {\r\n\t\tString birth = \"29 March 2012\";\r\n\t\t@SuppressWarnings(\"deprecation\")\r\n\t\tDate dob = new Date(birth);\r\n\r\n\t\tint age = 4;\r\n\t\t// int age=5;\r\n\r\n\t\tassertEquals(\"Age does not consider leap year\", age, GedcomParser.getAge(dob));\r\n\r\n\t}", "title": "" }, { "docid": "8e3acd4230383f8a476d497db74188e7", "score": "0.69021004", "text": "public static void main(String[] args) {\n isLeapYear(1846);\n }", "title": "" }, { "docid": "135682e516309cc72f33e1720ee6797f", "score": "0.6805713", "text": "public boolean isDivisibleByFourRule(int year){\n return year % 4 == 0 ? true : false;\n }", "title": "" }, { "docid": "41e2d1006ce96459767f3203239fcf79", "score": "0.6769938", "text": "public static void main(String[] args) {\n\r\n\t\tint year=1600;\r\n\t\tboolean leapYear=false;\r\n\t\t\r\n\t\tif ((year%4)==0 && (year%100)!=0) {\r\n\t\t\tleapYear=true;\r\n\t\t}\r\n\t\tif ((year%100)==0 && (year%400)==0) {\r\n\t\t\t\tleapYear=true;\r\n\t\t}\r\n\t\tif (leapYear==true) {\r\n\t\t\tSystem.out.println(year + \" is a Leap Year\");\r\n\t\t}else {\r\n\t\t\tSystem.out.println(year + \" is NOT a Leap Year\");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "1390a93933c487a50e4cf727eac87d52", "score": "0.6747369", "text": "public static void main(String[] args) {\nScanner sc=new Scanner(System.in);\r\nSystem.out.println(\"Enter year:\");\r\nint year=sc.nextInt();\r\n//boolean a=false;\r\n\r\n//int a=1;int b=0;\r\nif(year%4==0 && year%100!=0 && year%400==0)\r\nSystem.out.println(year+\" is leap year\");\r\n\t\r\nelse \r\n\tSystem.out.println(year+\" is 'NOT' leap year\");\r\n/*else if (year%400==0)\r\n\tSystem.out.println(year+\" is leap year\");\r\n*/\r\n\r\n\t}", "title": "" }, { "docid": "a3af5c91152fde799f59064ca590f98a", "score": "0.6731161", "text": "public boolean isVerifiedValidLeapYearMonth()\n {\n return isVerifiedValidLeapYearMonth;\n }", "title": "" }, { "docid": "10111a07ef55ab536e505c2a9ceae07d", "score": "0.66335565", "text": "private static void leapYearExample() {\n System.out.println(Year.of(2004).isLeap());\n System.out.println(Year.of(2004).length());\n LocalDateTime date = LocalDate.of(2003, 9, 13).atStartOfDay();\n System.out.println(date);\n\n System.out.println(\"-leap years:\" + getNumberOfLeapYears(Year.from(date), Year.from(date).plusYears(1)));\n System.out.println(date.plus(Duration.ofDays(365)));\n System.out.println(date.plus(Period.ofDays(365))); //one leap year - one day wrong\n System.out.println(date.plus(Period.ofYears(1)));\n System.out.println(date.plusYears(1));\n\n System.out.println(\"-leap years:\" + getNumberOfLeapYears(Year.from(date), Year.from(date).plusYears(9)));\n System.out.println(date.plus(Duration.ofDays(365 * 9)));\n System.out.println(date.plus(Period.ofDays(365 * 9))); //two leap years - (2004, 2008)\n System.out.println(date.plus(Period.ofYears(1 * 9)));\n System.out.println(date.plusYears(1 * 9));\n\n System.out.println(\"-leap years:\" + getNumberOfLeapYears(Year.from(date), Year.from(date).plusYears(13)));\n System.out.println(date.plus(Duration.ofDays(365 * 13)));\n System.out.println(date.plus(Period.ofDays(365 * 13))); //two leap years - (2004, 2008, 2012)\n System.out.println(date.plus(Period.ofYears(1 * 13)));\n System.out.println(date.plusYears(1 * 13));\n }", "title": "" }, { "docid": "529f0670bca3d7e5d8b77ad9cfefb67f", "score": "0.65973294", "text": "public static void main(String[] args) {\n\t\tint year;\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter any Year:\");\r\n\t\tyear=scan.nextInt();\r\n\t\tscan.close();\r\n\t\t\r\n\t\tboolean isLeap=false;\r\n\t\t\r\n\t\tif(year % 4==0) {\r\n\t\t\tif (year % 100==0) {\r\n\t\t\t\tif(year % 400==0)\r\n\t\t\t\t\tisLeap=true;\r\n\t\t\t\telse\r\n\t\t\t\t\tisLeap=false;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tisLeap=true;\r\n\t\t}\r\n\t\telse\r\n\t\t\tisLeap=false;\r\n\t\tif(isLeap)\r\n\t\t\tSystem.out.println(year+\" is a Leap Year.\");\r\n\t\telse\r\n\t\t\tSystem.out.println(year+\" is not a Leap Year.\");\r\n\t}", "title": "" }, { "docid": "085b6bae54e8ca241cf20f5dfa727dcc", "score": "0.65498644", "text": "public static void main(String[] args) {\n\t\t\tint year=2012;\r\n\t\t\tboolean leap=false;\r\n\t\t\t\r\n\t\t\tif (year%4==0)\r\n\t\t\t{\r\n\t\t\t\tif (year%100==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(year%400==0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tleap=true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tleap=false;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\tleap=true;\r\n\t\t\t\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t\tleap=false;\r\n\t\t\t\r\n\t\t\tif (leap)\r\n\t\t\t\tSystem.out.println(\"leap year\" + year);\r\n\t\t\telse\r\n\t\t\t\tSystem.out.println(\"NOT leap year\" + year);\r\n\t}", "title": "" }, { "docid": "cdf6abedb8e3e0686adc2066bfb07831", "score": "0.65473574", "text": "public static void main(String[] args) {\n\t\tScanner sc =new Scanner(System.in);\n\t\tSystem.out.println(\"Enter the year:\");\n\t\tint num = sc.nextInt();\n\t\tsc.close();\n\t\tboolean leap = false;\n\t\tif(num%4 == 0)\t\t\t//checking divisibility of year by 4\n\t\t{\n\t\t\tif(num%100 == 0) {\t\t//checking divisibility of year by 100\n\t\t\t\tif(num%400 == 0)\t//checking divisibility of year by 400\n\t\t\t\t\tleap =true;\t\t//boolean set to true\n\t\t\t\telse\n\t\t\t\t\tleap = false;\n\t\t\t}else\n\t\t\t{\n\t\t\t\tleap= false;\n\t\t\t}\n\t\t}else {\n\t\t\tleap=false;\n\t\t}\n\t\tif(leap == true)\n\t\t{\n\t\t\tSystem.out.println(num+\" is a leap year\");\n\t\t}else {\n\t\t\tSystem.out.println(num+\" is not a leap year\");\n\t\t}\n\t}", "title": "" }, { "docid": "444c1b295778a29d3fe0fef439d05516", "score": "0.6481215", "text": "public boolean isYearIntercalary(int year) {\n\t\treturn (year % 4) == 0;\n\t}", "title": "" }, { "docid": "56c34ab39f30b06e7bdce457dab001e7", "score": "0.6405986", "text": "public boolean isDivisibleByHundredAndByFourHundredTooRule(int year){\n return year % 100 == 0 ? (year % 400 == 0 ? true :false ) : true;\n }", "title": "" }, { "docid": "22412b143caa019889e811c65e5da900", "score": "0.6399133", "text": "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tSystem.out.println(\"Pleae enter a year to check if its leap year or not \");\n\t\t//take input from user and store its value in year variable\n\t\tint year = scanner.nextInt();\n\t\t\n\t\t//now the check the condition if the year mod 4 gives reminder 1 or 0\n\t\tif(year %4 ==0) {\n\t\t\tSystem.out.println(\"Leap year\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Not Leap year\");\n\t\t}\n\t}", "title": "" }, { "docid": "21e4ae45875f24758a4a228a6ae01678", "score": "0.62100905", "text": "public SingleStringValue dtstrIsLeapYear (Integer mm, Integer dd, Integer yyyy) throws ApiException {\n // verify required params are set\n if(mm == null || dd == null || yyyy == null ) {\n throw new ApiException(400, \"missing required params\");\n }\n // create path and map variables\n String path = \"/date/{mm}/{dd}/{yyyy}/isLeapYear\".replaceAll(\"\\\\{format\\\\}\",\"json\").replaceAll(\"\\\\{\" + \"mm\" + \"\\\\}\", apiInvoker.escapeString(mm.toString())).replaceAll(\"\\\\{\" + \"dd\" + \"\\\\}\", apiInvoker.escapeString(dd.toString())).replaceAll(\"\\\\{\" + \"yyyy\" + \"\\\\}\", apiInvoker.escapeString(yyyy.toString()));\n\n // query params\n Map<String, String> queryParams = new HashMap<String, String>();\n Map<String, String> headerParams = new HashMap<String, String>();\n\n String contentType = \"application/json\";\n\n try {\n String response = apiInvoker.invokeAPI(basePath, path, \"GET\", queryParams, null, headerParams, contentType);\n if(response != null){\n return (SingleStringValue) ApiInvoker.deserialize(response, \"\", SingleStringValue.class);\n }\n else {\n return null;\n }\n } catch (ApiException ex) {\n if(ex.getCode() == 404) {\n return null;\n }\n else {\n throw ex;\n }\n }\n }", "title": "" }, { "docid": "a0ca99f7f42dc3944935c84e524d13fd", "score": "0.60943645", "text": "@Test\n\tpublic void centuriesThatAreNotLeapYears() {\n\t\tRecurrence recur = new Recurrence.Builder(Frequency.YEARLY)\n\t\t\t.interval(100)\n\t\t\t.byYearDay(60)\n\t\t\t.byMonthDay(1)\n\t\t.build();\n\t\tDateValue start = new DateValueImpl(1900, 1, 1);\n\t\tDateValue[] expected = {\n\t\t\tnew DateValueImpl(1900, 3, 1),\n\t\t\tnew DateValueImpl(2100, 3, 1),\n\t\t\tnew DateValueImpl(2200, 3, 1),\n\t\t\tnew DateValueImpl(2300, 3, 1)\n\t\t};\n\t\n\t\trun(recur, start, expected);\n\t}", "title": "" }, { "docid": "57887f0443780a0de4273d88a8215fa4", "score": "0.6025079", "text": "public static void main(String[] args) {\n\t\t\r\n\tScanner input = new Scanner(System.in);\r\n\tSystem.out.println(\"Which Year:\");\r\n\tint year = input.nextInt();\r\n\tboolean flag = false;\r\n\tif(year%400==0)\r\n\t{\r\n\tflag = true;\r\n\t}\r\n\telse if(year%100==0)\r\n\t{\r\n\tflag = false;\r\n\t}\r\n\telse if(year%4==0)\r\n\t{\r\n\tflag = true;\r\n\t}\r\n\telse\r\n\t{\r\n\tflag = false;\r\n\t}\r\n\tif(flag)\r\n\t{\r\n\tSystem.out.println(+year+ \" is a leap year\");\r\n\t}\r\n\telse\r\n\t{\r\n\tSystem.out.println(+year+ \" is not a leap year\");\r\n\t}\r\n\t}", "title": "" }, { "docid": "6456f330e53537072fdc7a9ef3c6f957", "score": "0.59830594", "text": "private int countYearsWithoutLeapYearsToToday(int year,\n int countLeapYearsFromBirthToToday_FUNCTION_WITH_BIRTHYEAR_ARGUMENT) {\n\n int amountOfLeapYears = countLeapYearsFromBirthToToday_FUNCTION_WITH_BIRTHYEAR_ARGUMENT;\n\n int amountOfYears = currYear - year - amountOfLeapYears;\n // System.out.println(\"currYear: \"+currYear);\n // System.out.println(\"year: \"+year);\n // System.out.println(\"amountOfLeapYears: \"+amountOfLeapYears);\n // System.out.println(\"amountOfYears: \"+amountOfYears);\n return amountOfYears;\n }", "title": "" }, { "docid": "9b5dcfaf411279ecc1617615b975a966", "score": "0.5965529", "text": "public void run() {\n System.out.print(\"Please enter the year: \");\r\n java.util.Scanner scanner = new java.util.Scanner(System.in);\r\n int year = scanner.nextInt();\r\n // Step 2: Check if it's a leap year :-)\r\n\t\tif ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0) {\r\n\t\t\tSystem.out.println(year + \" is a leap year.\");\r\n\t\t} else {\r\n\t\t\tSystem.out.println(year + \" is not a leap year.\");\r\n\t\t}\r\n\t\tscanner.close();\r\n // End of code.\r\n }", "title": "" }, { "docid": "bae4ea546e158fa8db69e1c50d5e4b0f", "score": "0.5940392", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tScanner sc = new Scanner(System.in);\r\n\t\tint date;\r\n\t\tSystem.out.println(\"Enter year with yyyy format\");\r\n\t\tdate = sc.nextInt();\r\n\t\t\r\n\t\tif(date==0){\r\n\t\t\tSystem.out.println(\"Zero is not to be validated!! please enter number\");\r\n\t\t}else if((date%4==0) && (date%100!=0) || (date%400==0)){\r\n\t\t\t\r\n\t\t\tSystem.out.println(date+\" Is leap year\");\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"This is not leap year\");\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "09795a0d5ed74f29ca191debf186f9b7", "score": "0.5877973", "text": "public static void main2(String[] args) {\r\n \t\tScanner scan = new Scanner(System.in);\r\n \t\twhile (scan.hasNextInt()) {\r\n \t\t\tint year = scan.nextInt();\r\n \t\t\tif ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) {\r\n \t\t\t\tSystem.out.println(\"leap year!\");\r\n \t\t\t} else {\r\n \t\t\t System.out.println(\"not leap year!\"); \r\n \t\t\t}\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "31b13592e6b23a0e92af3caaa8eb10c2", "score": "0.5850561", "text": "public static boolean isValidYear(String year) {\n return Integer.parseInt(year) > 999 && Integer.parseInt(year) < 10000;\n\n }", "title": "" }, { "docid": "51dec158c5de581299a74f4506f20795", "score": "0.5849506", "text": "public boolean validateExpYear (String year)\n {\n if (year.length() == 2)\n {\n return (year.charAt(0) >= '0' && year.charAt(0) <= '9')\n &&(year.charAt(1) >= '0' && year.charAt(1) <= '9');\n }\n return false;\n }", "title": "" }, { "docid": "3fd835cc7cbc52ac97863ae2f41ef4d1", "score": "0.58149505", "text": "public static void main(String[] args) {\tLeap year(February 20 days)\n//\tif an year is 1) divisible 400 or\n//\t2 dividible of 4 but not multiple of 100 then its leap year.\n//\n\t Scanner scan= new Scanner(System.in);\n\t System.out.println(\"please enter year\");\n\t int year= scan.nextInt();\n\t \n//\t if(year %400==0) {\n//\t \tSystem.out.println(\"it is leap year\");\n//\t }else if(year%4==0 &&year%100!=0) {\n//\t \tSystem.out.println(\"it is a leap year\");\n//\t }else {\n//\t \tSystem.out.println(\"not a leap year\");\n//\t }\n\t\n//\t\n int pasword= 0-100;\n int userName= ;\n \n if (password)\n\t\n\t\n\t\n\t\n\t\n\t}", "title": "" }, { "docid": "3ce13db5b0f8ebe191680c28cdb98086", "score": "0.5782249", "text": "public SingleStringValue dtIsLeapYear (Long serialNumber) throws ApiException {\n // verify required params are set\n if(serialNumber == null ) {\n throw new ApiException(400, \"missing required params\");\n }\n // create path and map variables\n String path = \"/date/{serialNumber}/isLeapYear\".replaceAll(\"\\\\{format\\\\}\",\"json\").replaceAll(\"\\\\{\" + \"serialNumber\" + \"\\\\}\", apiInvoker.escapeString(serialNumber.toString()));\n\n // query params\n Map<String, String> queryParams = new HashMap<String, String>();\n Map<String, String> headerParams = new HashMap<String, String>();\n\n String contentType = \"application/json\";\n\n try {\n String response = apiInvoker.invokeAPI(basePath, path, \"GET\", queryParams, null, headerParams, contentType);\n if(response != null){\n return (SingleStringValue) ApiInvoker.deserialize(response, \"\", SingleStringValue.class);\n }\n else {\n return null;\n }\n } catch (ApiException ex) {\n if(ex.getCode() == 404) {\n return null;\n }\n else {\n throw ex;\n }\n }\n }", "title": "" }, { "docid": "76109c7482804e26b8d538fb020a26d2", "score": "0.57511574", "text": "public static void main(String[] args) {\n\tScanner scanner = new Scanner(System.in);\n\tSystem.out.print(\"Enter Year to check if it's a Leap Year : \");\n\tint checkYear = scanner.nextInt();\n\tscanner.close();\n\t\n\t// validating if entered year is in 4 digit\n\tif (checkYear >= 999)\n\t\tgetLeapYear(checkYear);\n\telse\n\t\tSystem.out.println(\"Plase Enter Year in 4 Digits\");\t\n\t}", "title": "" }, { "docid": "9816ab631afe2e2f99ced46f50aac530", "score": "0.5703371", "text": "public static int [] leapyears(int year) {\n ArrayList<Integer> y = new ArrayList<Integer>();\r\n int x = 1;\r\n boolean leap = true;\r\n int j = 0;\r\n\r\n for (int i = 0; i < x; i++) {\r\n if (year % 4 == 0) {\r\n if (year % 100 == 0) {\r\n if (year % 400 == 0) {\r\n leap = true;\r\n j = j + 1;\r\n } else {\r\n leap = false;\r\n }\r\n } else {\r\n leap = true;\r\n j = j + 1;\r\n\r\n }\r\n } else {\r\n leap = false;\r\n }\r\n\r\n x = x + 1;\r\n\r\n if (leap == true) {\r\n y.add(year);\r\n }\r\n if (y.size() == 15){\r\n break;\r\n }\r\n\r\n year = year + 1;\r\n leap = false;\r\n\r\n }\r\n int arr [] = y.stream().mapToInt(Integer::intValue).toArray();\r\n return arr;\r\n }", "title": "" }, { "docid": "7b6a056a91c96c249adfac4e59ed6529", "score": "0.5678457", "text": "public boolean isValidDate(int day, int month, int year) {\n\t\tboolean result = false;\n\t\tif ((year > 1700 && year < 2500) && (month > 0 && month <= 12)) {\n\t\t\tif ((month == 1 || month == 3 || month == 5 || month == 7\n\t\t\t\t\t|| month == 8 || month == 10 || month == 12)\n\t\t\t\t\t&& ((day > 0) && (day <= 31))) {\n\t\t\t\tresult = true;\n\t\t\t} else if ((month == 4 || month == 6 || month == 9 || month == 11)\n\t\t\t\t\t&& ((day > 0) && (day <= 30))) {\n\t\t\t\tresult = true;\n\t\t\t} else if ((month == 2)\n\t\t\t\t\t&& ((isLeapYear(year)) && ((day > 0) && (day <= 29)) || (!isLeapYear(year))\n\t\t\t\t\t\t\t&& ((day > 0) && (day <= 28)))) {\n\t\t\t\tresult = true;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "db685f007adf2d4542ebd140eb144907", "score": "0.5675955", "text": "private boolean isDateValid(int day, int month, int year)\r\n {\r\n \tfinal int MINIMUM_FOUR_DIGITS = 1000;\r\n \tfinal int MAXIMUN_FOUR_DIGITS = 9999;\r\n \tfinal int MINIMUM_DAY = 1; //minimum day in any month.\r\n \tfinal int MAXIMUN_DAY_IN_JANUARY = 31; //maximum day in:JANUARY, MARCH, MAY, JULY, AUGUST, OCTOBER and DECEMBER.\r\n \tfinal int MAXIMUN_DAY_IN_APRIL = 31; //maximum day in:APRIL, JUNE, SEPTEMBER and NOVEMBER.\r\n \tfinal int MAXIMUN_DAY_IN_FEBRUARY_NO_LEAP = 28;\r\n \tfinal int MAXIMUN_DAY_IN_FEBRUARY_YES_LEAP = 29;\r\n \tif ((MINIMUM_FOUR_DIGITS<=year)&&(year<=MAXIMUN_FOUR_DIGITS))\r\n \t{\r\n \t\tif (((month==JANUARY)||(month==MARCH)||(month==MAY)||(month==JULY)||(month==AUGUST)||(month==OCTOBER)||(month==DECEMBER))&&(MINIMUM_DAY<=day)&&(day<=MAXIMUN_DAY_IN_JANUARY))\r\n \t{\r\n \t\treturn(true);\r\n \t}\r\n \tif (((month==APRIL)||(month==JUNE)||(month==SEPTEMBER)||(month==NOVEMBER))&&(MINIMUM_DAY<=day)&&(day<=MAXIMUN_DAY_IN_APRIL))\r\n \t{\r\n \t\treturn(true);\r\n \t}\r\n \tif ((month == FEBRUARY) && (MINIMUM_DAY<=day) && (((leap(year))&&(day<=MAXIMUN_DAY_IN_FEBRUARY_YES_LEAP)) || ((!leap(year))&&(day<=MAXIMUN_DAY_IN_FEBRUARY_NO_LEAP))))\r\n \t{\r\n \t\treturn (true);\r\n \t}\r\n \t}\r\n \treturn(false);\r\n }", "title": "" }, { "docid": "c50b6b29e465ceeb696fa7241fa3e131", "score": "0.55295384", "text": "public static boolean isValidYear(String test) {\n requireNonNull(test);\n\n return test.matches(YEAR_VALIDATION_REGEX);\n }", "title": "" }, { "docid": "1028012d852bdbf9ae91d08ed83b8c8c", "score": "0.54717237", "text": "public static boolean isBirthDay(String value) {\n String check = \"(\\\\d{4})(/|-|\\\\.)(\\\\d{1,2})(/|-|\\\\.)(\\\\d{1,2})$\";\n\n if (match(check, Pattern.CASE_INSENSITIVE, value)) {\n int year = Integer.parseInt(value.substring(0, 4));\n int month = Integer.parseInt(value.substring(5, 7));\n int day = Integer.parseInt(value.substring(8, 10));\n\n if (month < 1 || month > 12) {\n return false;\n }\n\n if (day < 1 || day > 31) {\n return false;\n }\n\n if ((month == 4 || month == 6 || month == 9 || month == 11)\n && day == 31) {\n return false;\n }\n\n if (month == 2) {\n boolean isleap = (year % 4 == 0 && (year % 100 != 0 || year % 400 == 0));\n if (day > 29 || (day == 29 && !isleap)) {\n return false;\n }\n }\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "423ea874b90f242c1ecf95430a7acc2c", "score": "0.5423848", "text": "@Test\n public void test() {\n LocalDate myBirthday = LocalDate.of(1999, 12, 31);\n long actual = myBirthday.until(LocalDate.of(2014, 12, 31), ChronoUnit.DAYS);\n\n // 2000, 2004, 2008, 2012 are leap years.\n long expected = (365 * 11) + (366 * 4);\n\n Assert.assertEquals(expected, actual);\n }", "title": "" }, { "docid": "70b6a2b96268d8feaa273c88cd5496ca", "score": "0.5416454", "text": "public static String calcFirstDayOfYear(int year) {\n int leapYearCount;\n int realativeYear;\n\n realativeYear = year - 1900; //We consider 1900 the first year ever\n leapYearCount = (realativeYear - 1) / 4; //Calculate number of leap years\n\n //Loop to check for tricky centry leap years, we are asking for at least 2100\n if (realativeYear >= 200) {\n\n //realiveYear since 2100 without the intended year\n int realitiveYearPost2k = realativeYear - 100 - 1;\n\n //we get the century years (which are already divisible by 4 but shouldn't be counted as leap years -- note that this include also the four-hundred years)\n int leapCenturyYears = realitiveYearPost2k / 100;\n\n //we get the multiples of four-hundred (which should actually be counted as leap) \n int leap4CenturyYears = realitiveYearPost2k / 400;\n\n //we do an intermediate calculation (to determine how many leap years we counted wrong)\n int invalidLeapYears = leapCenturyYears - leap4CenturyYears;\n\n //then we subtract those from the valid number of leap years\n leapYearCount -= invalidLeapYears;\n\n }\n \n realativeYear += leapYearCount + 1; //Calculate date offset since 1900\n realativeYear %= 7; //By doing modulas of 7 and gaining the ramainder we will know the day of the week\n\n return DayOfWeek.values()[realativeYear].longName;\n }", "title": "" }, { "docid": "7233facdf83b83cd92f5aecb4bf6390b", "score": "0.5405556", "text": "public int getAgeInDays(int day, int month, int year) {\n int amountOfLeapYears = countLeapYearsFromBirthToToday(year);\n int amountOfYears = countYearsWithoutLeapYearsToToday(year,\n amountOfLeapYears);\n\n int DaysInFirstYear = countDaysToTheEndOfTheYear(day, month, year);\n int DaysInLastYear;\n\n // System.out.println(\"Days in First Year 1: \"+DaysInFirstYear);\n\n\t\t/*\n\t\t * amountOfYears is taken -2 because the start and end year are not a\n\t\t * full year. even if its the 31st of december it calculates the first\n\t\t * and last year separately\n\t\t */\n amountOfYears -= 2;\n\n if (isLeapYear(year)) {\n DaysInLastYear = DAYS_IN_LEAP_YEAR\n - countDaysToTheEndOfTheYear(currDay, currMonth, currYear);\n } else {\n DaysInLastYear = DAYS_IN_YEAR\n - countDaysToTheEndOfTheYear(currDay, currMonth, currYear);\n }\n // System.out.println(\"Days in Last Year 1: \"+ DaysInLastYear);\n\t\t/*\n\t\t * Example of the calculation The birth date is 1st August 1990 or\n\t\t * 1.8.1990: <DaysInFirstYear>: Days of Sep(30)+Oct(31)+Nov(30)+Dec(31)+\n\t\t *\n\t\t * days of (Aug(31)-day of Birth(1)=30)\n\t\t *\n\t\t * == 151 days in the first year\n\t\t * ------------------------------------------------- <DaysOfLastYear>:\n\t\t * For Example the current date is the 5th Sept 2014\n\t\t *\n\t\t * Constant <DAYS_IN_YEAR(365)> or <DAYS_IN_LEAP_YEAR(366)> (minus)-\n\t\t * <All days of the months to August (February 28 or 29, depends on leap\n\t\t * year)>+ <days in september (5)>\n\t\t * --------------------------------------------------\n\t\t *\n\t\t * Plus all full years to the end date (mostly current date)\n\t\t */\n\n int days = DaysInFirstYear + DaysInLastYear + amountOfLeapYears\n * DAYS_IN_LEAP_YEAR + amountOfYears * DAYS_IN_YEAR;\n // System.out.println(DaysInFirstYear+\"+\"\n // +DaysInLastYear+\"+\"\n // +amountOfLeapYears*DAYS_IN_LEAP_YEAR+\"+\"\n // +amountOfYears*DAYS_IN_YEAR+\"=\"\n // +days);\n\n return days;\n }", "title": "" }, { "docid": "3ffed48e6b478c4654557cdcaa77edf9", "score": "0.5363691", "text": "public static void main(String[] args) {\r\n\t\tint month=Integer.parseInt(args[0]);\r\n\t\tint day=Integer.parseInt(args[1]);\r\n\r\n\t\t/*A Boolean value is one with two choices: true or false, yes or no, 1 or 0.*/\r\n\t\tboolean IsSpring= (month==3 && day>=20 && day<=31)\r\n\t\t\t\t\t\t||(month==4 && day>=1 && day<=30)\r\n\t\t\t\t\t\t||(month==5 && day>=1 && day<=31)\r\n\t\t\t\t\t\t||(month==6 && day>=1 && day<=20);\r\n\r\n\t\t/*prints whether it is leapyear or not*/\r\n\t\tSystem.out.println(IsSpring);\r\n\t}", "title": "" }, { "docid": "fb5f4f1628ac8fe853a1c6b7d0620d5f", "score": "0.53175485", "text": "public static int dateIsValid(int day, int month, int year){\n\t\t\n\t\tint [] monthLength = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};\n\t\t\n\t\tif(year <= 0 || month <= 0 || day <= 0) return -1;\n\t\t\n\t\tif(!(year > 1750)) return 1;\n\t\tif(!(month > 0 && month <= 12)) return 1;\n\t\tif(!(day > 0 && (day <= monthLength[month] || (day <= monthLength[2] + 1 && month == 2 && year % 4 == 0 && (year % 100 != 0 || year % 400 == 0))))) return 1;\n\t\t\n return 0;\t\t\n\t\t\n\t}", "title": "" }, { "docid": "f7d5e6662e8ec51271c1249bf065e931", "score": "0.5305871", "text": "private int year(DateTime dt, int year) {\n Chronology c;\n if (year < 0 && (\n (c = dt.getChronology()) instanceof JulianChronology ||\n (c instanceof GJChronology && ((GJChronology) c).getGregorianCutover().isAfter(dt))))\n return year + 1;\n return year;\n }", "title": "" }, { "docid": "9f0abb6f74ece9aa75cefab0091ec7c1", "score": "0.529724", "text": "public static boolean checkdate(Env env, int month, int day, int year)\n {\n if (! (1 <= year && year <= 32767))\n return false;\n\n if (! (1 <= month && month <= 12))\n return false;\n\n return 1 <= day && day <= cal_days_in_month(env, 0, month, year);\n }", "title": "" }, { "docid": "cf1e6c8b7be7c42a824b8fb6a6797726", "score": "0.5285135", "text": "private static boolean validDate(int day, int month, int year) {\n if (month < 1 || month > 12)\n return false;\n if (day < 1)\n return false;\n if (month == 2) {\n if (leapYear(year)) {\n if (day > 29)\n return false;\n } else {\n if (day > 28)\n return false;\n }\n } else {\n if (day > monthDays[month - 1])\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "67c2f42b1936aa2c55a88379555c297c", "score": "0.526409", "text": "@Test\n public void testVerifyUpcomingYear() {\n System.out.println(\"isYear\");\n assertEquals(false, DataVerifier.isYear(\"2031\"));\n }", "title": "" }, { "docid": "04d8b1b9d032ac95574f25c691643b61", "score": "0.5257619", "text": "public boolean hasYear() {\n return result.hasYear();\n }", "title": "" }, { "docid": "e1d1c77ee843baac7853194e866def57", "score": "0.5200282", "text": "private static boolean isValidDay(String day, String month, String year) {\n if (month.matches(MONTH_VALIDATION_REGEX_1)) {\n return day.matches(DAY_VALIDATION_REGEX_1);\n } else if (month.matches(MONTH_VALIDATION_REGEX_2)) {\n return day.matches(DAY_VALIDATION_REGEX_2);\n } else if (month.matches(MONTH_VALIDATION_REGEX_3) && !isLeapYear(year)) {\n return day.matches(DAY_VALIDATION_REGEX_3);\n } else if (month.matches(MONTH_VALIDATION_REGEX_3) && isLeapYear(year)) {\n return day.matches(DAY_VALIDATION_REGEX_4);\n }\n return false;\n }", "title": "" }, { "docid": "96f9c9d63b74dde5bbf049e8c0c6b020", "score": "0.5199296", "text": "public static int findAge(int year) {\n\t\tint currentyear = 2019;\n\t\treturn (currentyear - year); \n\t}", "title": "" }, { "docid": "a0cf5dd682199aa7568220ef190042dc", "score": "0.5161688", "text": "int main()\n{\n int year = 0;\n scanf(\"%d\",&year);\n check(year)? printf(\"LEAP YEAR\"):\n \t\t\t printf(\"NOT LEAP YEAR\");\n return 0;\n}", "title": "" }, { "docid": "d42e275f79b42d0f5b2f44a4596086ff", "score": "0.5139095", "text": "@Test\n public void testVerifyIllegalYear() {\n System.out.println(\"isYear\");\n assertEquals(false, DataVerifier.isYear(\"-1\"));\n }", "title": "" }, { "docid": "8f269e77e422f180ff556541a6a48a0b", "score": "0.51285976", "text": "@Test\n @Ignore\n public void testValidateYear() {\n //System.out.println(\"validateYear\");\n int Year = 0;\n boolean result = AgnoValidator.validateYear(Year);\n assertFalse(\"año menor\", result);\n \n Year = 2000;\n result = AgnoValidator.validateYear(Year);\n assertTrue(\"año mayor\", result);\n }", "title": "" }, { "docid": "cc3dc781291ba0033d408c518542cd36", "score": "0.5075999", "text": "public static void getDaysForYear(int year) {\n\n gregorianCalendarYearCheck(year);\n\n Calendar calendar = new GregorianCalendar(year, Calendar.JANUARY, 1);\n SimpleDateFormat sdf = new SimpleDateFormat(\"MMM\", Locale.US);\n\n for (int i = calendar.get(Calendar.MONTH); i <= calendar.getActualMaximum(Calendar.MONTH); i++) {\n calendar.set(year, i, 1);\n System.out.println(sdf.format(calendar.getTime()) + \" has \" + calendar.getActualMaximum(Calendar.DAY_OF_MONTH) + \" days\");\n }\n\n\n }", "title": "" }, { "docid": "413ab1814f6dfbfa5f6f636c5d4316d7", "score": "0.5045629", "text": "public void yearPasses() {\n age++;\r\n\r\n\t}", "title": "" }, { "docid": "c9660e1b8d490aa38c78864c463d33a3", "score": "0.50411856", "text": "public int enterYear(){\n\t\tint year = 0;\n\t\tboolean isOkay;\n\t\t\n\t\tdo {\n\t\t\tisOkay = true;\n\t\t\t\n\t\t\tSystem.out.print(\"Please enter a year to search for (YYYY): \");\n\t\t\t\n\t\t\ttry {\n\t\t\t\tyear = in.nextInt();\n\t\t\t\t\n\t\t\t\tif (year < 1000) {\n\t\t\t\t\tisOkay = false;\n\t\t\t\t\tSystem.out.println(\"Year must be 4 numbers long. Please try again!\\n\");\n\t\t\t\t}\n\t\t\t} catch (InputMismatchException e) {\n\t\t\t\tisOkay = false;\n\t\t\t\tSystem.out.println(\"Invalid input detected. Please try again!\\n\");\n\t\t\t}\n\t\t} while (!isOkay);\n\t\t\n\t\treturn year;\n\t}", "title": "" }, { "docid": "5e55595a95f36da770ca013dc0201034", "score": "0.50393665", "text": "int getYearsLeft(LocalDate date);", "title": "" }, { "docid": "651ac454d8ad28040c6716666b1ffdd6", "score": "0.503272", "text": "public static void main(String[] args) {\n\t\tint year = 2021;\r\n\t\t\r\n\t\tboolean pan = year % 4 == 0 && year % 100 != 0;\r\n\t\t\r\n\t\tif(pan == true) {\r\n\t\t\tSystem.out.println(\"year는 윤년\");\r\n\t\t}else {\r\n\t\t\tSystem.out.println(\"year는 윤년이 아님\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c23345275f7c420ab2792970ce3e4b23", "score": "0.5032096", "text": "public int getYearDaysAmount(int year) {\n\t\tint dayOfTheYearNumber = 0;\n\t\tfor (Month month : Month.values()) {\n\t\t\tdayOfTheYearNumber += getMonthDaysAmount(month.getMonthNumber(), year);\n\t\t}\n\t\treturn dayOfTheYearNumber;\n\t}", "title": "" }, { "docid": "979c251c46330fedcb458f0993066f9f", "score": "0.5024011", "text": "private boolean isValidDate(String yrOfBirth2) {\n // TODO Auto-generated method stub\n final Calendar c = Calendar.getInstance();\n final int currentYear = c.get(Calendar.YEAR);\n final int currentMonth = c.get(Calendar.MONTH) + 1;\n final int currentDay = c.get(Calendar.DAY_OF_MONTH);\n int yr = Integer.parseInt(yrOfBirth2);\n //Log.v(\"year:\"+currentYear+\"month:\"+currentMonth+\"day:\"+currentDay, \"---msg---\");\n if (yr > (currentYear - 100) && yr < (currentYear - 14)) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "6c2958f9b3fbfcd6abe98f2cb10f4ddf", "score": "0.49935845", "text": "private boolean checkYearInput(String yearStr) throws CalException {\n\t\tInteger year;\n\n\t\ttry {\n\t\t\tyear = Integer.parseInt(yearStr);\n\t\t} catch (NumberFormatException ex) {\n\t\t\tthrow new CalException(INVALID_ARG);\n\t\t}\n\t\tif (year <= MAX_YEAR) {\n\t\t\tif (year >= MIN_YEAR) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}", "title": "" }, { "docid": "2d06aec4b5683bba9a8f0f2f63659177", "score": "0.4969941", "text": "private static boolean areInSameYear(Date actual, Date other) {\n return yearOf(actual) == yearOf(other);\n }", "title": "" }, { "docid": "276c47e506342b4981e67d6051838ffc", "score": "0.49573803", "text": "public boolean isLastDayOfYear() {\n \n return get(MONTH) == 11 && get(DAY_OF_MONTH) == 31;\n }", "title": "" }, { "docid": "431567724c873072d3147512296471c5", "score": "0.49479097", "text": "public void passYear() {\n\t\tage++;\r\n\t\tseniority++;\r\n\t\texperience++;\r\n\t\tleadership++;\r\n\t}", "title": "" }, { "docid": "34319865694173e832c85c3d1f2114a8", "score": "0.494276", "text": "public boolean isPromotionDueThisYear(Employee employee) {\n return false;\n }", "title": "" }, { "docid": "737914dbe79c4b2e67e98425025697f3", "score": "0.49344862", "text": "@Test\n public void testNumYears() {\n\n assertEquals(-1, CompoundInterest.numYears(2014));\n assertEquals(0, CompoundInterest.numYears(2015));\n assertEquals(1, CompoundInterest.numYears(2016));\n assertEquals(2, CompoundInterest.numYears(2017));\n }", "title": "" }, { "docid": "9c7dbbb715bf81c2ad8e0720c1ccd4b1", "score": "0.49139482", "text": "public AncientJulianLeapYears getAncientJulianLeapYears() {\n\n if (this.ajly == null){\n throw new UnsupportedOperationException(\"No historic julian leap years were defined.\");\n }\n\n return this.ajly;\n\n }", "title": "" }, { "docid": "767e7df945ded02d77df1cbcbf593ab9", "score": "0.48806798", "text": "@Test\n public void testNumYears() {\n assertEquals(0, CompoundInterest.numYears(2018));\n assertEquals(-1, CompoundInterest.numYears(2017));\n }", "title": "" }, { "docid": "9b7bccf5bdd36b2444c389af0cafb464", "score": "0.4875263", "text": "@Test\r\n\tpublic void testLatestLeapSec() {\r\n\t\tString fs = FileUtil.file_separator();\r\n\t\tString directory = FileUtil.getClassFilePath(\"jat.spacetime\",\"TimeUtils\");\r\n\t\tLeapSecondTable leapsectbl;\r\n\t\ttry {\r\n\t\t\tleapsectbl = new LeapSecondTable(directory+\"leapsec.dat\");\r\n\t\t\tassertTrue(leapsectbl.hasLeapSecs());\r\n\t\t\t\r\n\t\t\t// Corresponds to leapsec.dat:\r\n\t\t\t// 2009 JAN 1 =JD 2454832.5 TAI-UTC= 34.0 = 54832.0 (old)\r\n\t\t\t// 2012 JUL 1 =JD 2456109.5 TAI-UTC= 35.0 = 56109.0 (current)\r\n\t\t\tassertTrue(leapsectbl.latestLeapSec() == 56109.0);\r\n\t\t\t\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tfail();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1c5b3438195b04e517e5757b539c5921", "score": "0.4874145", "text": "boolean hasBirthdayLunar();", "title": "" }, { "docid": "1c5b3438195b04e517e5757b539c5921", "score": "0.4874145", "text": "boolean hasBirthdayLunar();", "title": "" } ]
d6d01eeb5a2268515ae8038724724dd2
TODO: Warning this method won't work in the case the id fields are not set
[ { "docid": "ad807c760a7f679e3869c35895b2187b", "score": "0.0", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof LogPK)) {\r\n return false;\r\n }\r\n LogPK other = (LogPK) object;\r\n if ((this.chave == null && other.chave != null) || (this.chave != null && !this.chave.equals(other.chave))) {\r\n return false;\r\n }\r\n if (this.idArquivo != other.idArquivo) {\r\n return false;\r\n }\r\n if ((this.dataHoraDownload == null && other.dataHoraDownload != null) || (this.dataHoraDownload != null && !this.dataHoraDownload.equals(other.dataHoraDownload))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" } ]
[ { "docid": "226e4edfcc3315033b343f250068aff0", "score": "0.6599818", "text": "private void clearId() {\n \n id_ = getDefaultInstance().getId();\n }", "title": "" }, { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.6573334", "text": "public int getId() { return id; }", "title": "" }, { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.6573334", "text": "public int getId() { return id; }", "title": "" }, { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.6573334", "text": "public int getId() { return id; }", "title": "" }, { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.6573334", "text": "public int getId() { return id; }", "title": "" }, { "docid": "dea8d7d27955442fdb1daf9d08259c9c", "score": "0.65363467", "text": "private void clearId() {\n \n id_ = getDefaultInstance().getId();\n }", "title": "" }, { "docid": "1991be481f9f0b5852403121b14f0048", "score": "0.65282404", "text": "public int getId() { return this.id; }", "title": "" }, { "docid": "de70bebe2ab4c68ab4b41e692ca15bc0", "score": "0.650325", "text": "public void setID(Integer id) { this.id = id; }", "title": "" }, { "docid": "57bd5db1fd1622bf7cbbcf494b152dd4", "score": "0.6457295", "text": "public void setID (int id) { this.id = id; }", "title": "" }, { "docid": "73c61f18be9e809afe9c753d461e7c90", "score": "0.6404896", "text": "public int getId(){\n return id;\n }", "title": "" }, { "docid": "6b7063f5d3e36a5ba43d1dc760010e36", "score": "0.6380119", "text": "@Override\n\tprotected Serializable pkVal() {\n\t\treturn id;\n\t}", "title": "" }, { "docid": "f065af61f5d9b242d795149a86c825fb", "score": "0.6379538", "text": "public int getId() {\n return 0;\n }", "title": "" }, { "docid": "0cc16be32df58c4887776b4acf71ec6f", "score": "0.6377574", "text": "public int getId(){\n return id;\n }", "title": "" }, { "docid": "32da771175d9c3233a2fa718d415bb1c", "score": "0.6335576", "text": "public void setId(Long id) {\n this.id = id;\n }", "title": "" }, { "docid": "4c1fcbfc5fd65634915cb1cf2a513611", "score": "0.63319623", "text": "@Override\n public Long getId() {\n return id;\n }", "title": "" }, { "docid": "4c1fcbfc5fd65634915cb1cf2a513611", "score": "0.63319623", "text": "@Override\n public Long getId() {\n return id;\n }", "title": "" }, { "docid": "5a999fd8556ece9f8492378bc132dc2f", "score": "0.63299435", "text": "public void setId(Long id)\n/* */ {\n/* 117 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "6cb402f2b0fced75aaeaac64f230f497", "score": "0.63273704", "text": "public String getId(){return this.id;}", "title": "" }, { "docid": "10e5434851f7661764217acfa6b79d8d", "score": "0.63262284", "text": "public int getId() //This has a getter, but not a setter.\n {\n return id;\n }", "title": "" }, { "docid": "e98f77b86adbc07a9644a44238454882", "score": "0.6316559", "text": "@Override\n public int getID() {\n return 0;\n }", "title": "" }, { "docid": "413bc33056531a49698d003387bf88c9", "score": "0.6302631", "text": "public long id(){return id;}", "title": "" }, { "docid": "2bd18b580753f5c542a2b844c888c648", "score": "0.6300304", "text": "@Override\n public long getId() {\n return id;\n }", "title": "" }, { "docid": "cc22d693ad5054b7be09722736cf0eb4", "score": "0.62999624", "text": "public String GetId(){\r\n return this.id;\r\n }", "title": "" }, { "docid": "6aec056a9baa15e7ba7d242024a527e5", "score": "0.62936544", "text": "public void setID(int id){\n \n this.id = id;\n\n }", "title": "" }, { "docid": "a2470fff2657e8b567f157381d634d1c", "score": "0.62846315", "text": "public void setId(Long id)\n/* */ {\n/* 85 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "841ef7f2b9d9cb04f22e891c3d4b8e45", "score": "0.62725616", "text": "public int getId(){\n return this.id;\n }", "title": "" }, { "docid": "e57d3fd2d74f9b71d469f105dca4694c", "score": "0.6267433", "text": "public long id() { return this.id;}", "title": "" }, { "docid": "f776cce4192847e14cfa844a94a5e383", "score": "0.62654954", "text": "public Integer getID() { return id; }", "title": "" }, { "docid": "05b51c1221e51da5fdc2a03c3fce8bca", "score": "0.62650937", "text": "public Long getId()\n/* 91: */ {\n/* 92: 92 */ return this.id;\n/* 93: */ }", "title": "" }, { "docid": "8486169f74d569aca5902bb80331fe3f", "score": "0.6255673", "text": "@Test\n void setId() {\n AbstractUser user = new User(1,\"name\",\"firstname\",\"lastname\",\"password\");\n AbstractAnnouncement announcement = new Announcement(2,\"title\",\"message\", LocalDate.now(),user);\n announcement.setId(1);\n assertEquals(1,announcement.getId());\n }", "title": "" }, { "docid": "ad783490356253b65198f848915f2eba", "score": "0.62547773", "text": "public long getId() { return _id; }", "title": "" }, { "docid": "c926143c4e3c9a606d2901de72b1baa6", "score": "0.6251201", "text": "public void setId(Integer id) {\r\n\t this.id = id;\r\n\t }", "title": "" }, { "docid": "599210b06e555a3ce76e576f81fbd324", "score": "0.6248574", "text": "public void setId() {\n\t\t\r\n\t}", "title": "" }, { "docid": "32f1a9191bd511ff94bfcbe520d98a08", "score": "0.62463063", "text": "public long getId() { return id; }", "title": "" }, { "docid": "d70ba4c0c94abc8f1f55ad8fec172922", "score": "0.6235176", "text": "@Override\n\tpublic String id() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ef87752ce9eabd78dc11b1f33632933e", "score": "0.6214797", "text": "void setId(String newId) {\r\n this.id = newId;\r\n }", "title": "" }, { "docid": "df2b36e5cbf309b6fec38ba252f57def", "score": "0.62024844", "text": "public Integer getId(){\n return id;\n }", "title": "" }, { "docid": "e0fc2a8f5f7508d6cbf43311c3459081", "score": "0.62019867", "text": "@Override\r\n public Integer getID() {\r\n return id;\r\n }", "title": "" }, { "docid": "2e8130f03ea947dce33e509d55eee329", "score": "0.6200223", "text": "protected abstract String getId();", "title": "" }, { "docid": "a2d85caf673b2a196b33c1dc51e0f9a7", "score": "0.6195437", "text": "private void setId(int id) {\n this.id = id;\n }", "title": "" }, { "docid": "e5f1aadae01879f7a78ce1fc59d9d74d", "score": "0.6192342", "text": "public void setId(Long id)\n\t{\n this.id = id;\n }", "title": "" }, { "docid": "e5f1aadae01879f7a78ce1fc59d9d74d", "score": "0.6192342", "text": "public void setId(Long id)\n\t{\n this.id = id;\n }", "title": "" }, { "docid": "d681cbc97a95ba5197c7211f9f308734", "score": "0.6191398", "text": "public Long getId(){\n return id;\n }", "title": "" }, { "docid": "d2a85fafd97d000625e9bde84e02a5f2", "score": "0.61885375", "text": "public String getId() { return id; }", "title": "" }, { "docid": "50f82a2e57332c1158935ac2fbc6724f", "score": "0.61848927", "text": "@Override\n public void setId(long id) {\n this.id=id;\n }", "title": "" }, { "docid": "aa3f46a891ffdc68d0518a794a4166dc", "score": "0.61777997", "text": "public void setId(String id) {\r\n\t this.id = id;\r\n }", "title": "" }, { "docid": "155a0c88a18dcaa958bc061940a21dad", "score": "0.6177799", "text": "public void setId(int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "d9c39b638109f9a3ab0a98881c7b5aaf", "score": "0.61776245", "text": "public int getId()\n {\n // put your code here\n return id;\n }", "title": "" }, { "docid": "cd5bc5a84a7bc594f6df92b165e31131", "score": "0.61758614", "text": "public long getID() { return id; }", "title": "" }, { "docid": "7dbc3b3bd2532579a8880b5bc06a53eb", "score": "0.61724496", "text": "public Integer getId( ) ;", "title": "" }, { "docid": "848b2a43c1d5474bd0aa2afd002c32bd", "score": "0.6167515", "text": "private String getid(){\n return this.id;\n }", "title": "" }, { "docid": "02198634b110a0a33a57483d12d9e461", "score": "0.61646783", "text": "@Override\n public Integer getId() {\n return id;\n }", "title": "" }, { "docid": "e7e6e1229f07ab5eb8f55baa481d84ce", "score": "0.6156856", "text": "public boolean isId() {\n/* 904 */ return this.id;\n/* */ }", "title": "" }, { "docid": "bb938c0a267ac6e2cb5e6b135cf1ed68", "score": "0.6154569", "text": "@Override\n public int getId() {\n return id;\n }", "title": "" }, { "docid": "519f45d8e6617dfda5352225f70bfa2a", "score": "0.61438316", "text": "public void setId(String id){\n this.id = id;\n }", "title": "" }, { "docid": "519f45d8e6617dfda5352225f70bfa2a", "score": "0.61438316", "text": "public void setId(String id){\n this.id = id;\n }", "title": "" }, { "docid": "9f3d1ac9ff255482f15ef64f79b6d6d4", "score": "0.6141734", "text": "public void testGetId() {\n assertEquals(\"Incorrect default value for id\", 0, entity.getId());\n entity.setId(1);\n assertEquals(\"Incorrect id after set to a new one\", 1, entity.getId());\n }", "title": "" }, { "docid": "b4b931c1cb1923e087501a6306ecbc23", "score": "0.61342776", "text": "protected void idChanged() {\n\t\t\n\t}", "title": "" }, { "docid": "88b5ea8466fa9945d8f7713450209ce0", "score": "0.6133594", "text": "public int getId()\n {\n return id_;\n }", "title": "" }, { "docid": "b716b7a185ad67cd4838d01afbe222e1", "score": "0.612936", "text": "public Integer getId() {\n return id;\n }", "title": "" }, { "docid": "836a89cb09a5110464e9fc2759bca375", "score": "0.6126886", "text": "@Override\n\tpublic Integer getId() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "68ee47745aee8cff70855cd55196753b", "score": "0.61211693", "text": "private void setId(String Id) {\r\n this.Id = Id;\r\n }", "title": "" }, { "docid": "5f2d0db0c08e4004ff7edb05b586de2f", "score": "0.6117917", "text": "protected abstract Object getId();", "title": "" }, { "docid": "78dbb914e3009c9d58e83a86414d3680", "score": "0.61126107", "text": "public void setId(Integer id)\r\n/* 56: */ {\r\n/* 57: 72 */ this.id = id;\r\n/* 58: */ }", "title": "" }, { "docid": "ecd874f03d9ee1dda43d85d86d7567d6", "score": "0.6112002", "text": "public long getId(){\n return id;\n }", "title": "" }, { "docid": "8ee6dce83ac8ad7e3918e9b75fa4959a", "score": "0.6108354", "text": "private void setId(){\n\t\tString query=\"SELECT id_persona FROM \"+tabla\n\t\t\t\t+\" WHERE nombres = '\"+this.nombres\n\t\t\t\t+\"' AND apellidos = '\"+this.apellidos\n\t\t\t\t+\"' AND tipo_doc = '\"+this.tipo_doc\n\t\t\t\t+\"' AND nro_doc = '\"+this.nro_doc\n\t\t\t\t+\"' AND fecha_nacimiento = '\"+this.fecha_nacimiento\n\t\t\t\t+\"' AND sexo = '\"+this.sexo\n\t\t\t\t+\"' AND domicilio = '\"+this.domicilio+\"';\";\n\t\tthis.Conectarse_BD();\n\t\tResultSet rs =this.RealizarConsulta(query);\n\t\tthis.Desconectarse_BD();\n\t\ttry {\n\t\t\tif (rs.next()){\n\t\t\t\tthis.id = rs.getInt(1);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"Error al obtener id_persona\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "5feba51de2e9b4f6246dab5a70aac7e0", "score": "0.61059415", "text": "@Override\r\n public Serializable getId() {\r\n return null;\r\n }", "title": "" }, { "docid": "e5e40506424a106f08233550ccf6c471", "score": "0.6105063", "text": "public void setId(int id){\n this.id = id;\n }", "title": "" }, { "docid": "63b35c62b8a7ca7abca149bbd2a719d3", "score": "0.61046076", "text": "public int getID(){ return this.id; }", "title": "" }, { "docid": "1e815be9eadd9c9444b69a7686bff27c", "score": "0.6103954", "text": "public void setId(Long id){\n this.id = id;\n }", "title": "" }, { "docid": "6603df875c35093d1e4a642c37c09f46", "score": "0.610287", "text": "@java.lang.Override\n public int getId() {\n return id_;\n }", "title": "" }, { "docid": "c33a59c18f00ada1d3993d0aa09f71de", "score": "0.61022836", "text": "public void setId(int id)\n {\n // put your code here\n this.id=id;\n }", "title": "" }, { "docid": "7908160cc2eac2a18be46f09f71b7253", "score": "0.61018336", "text": "private void clearId() {\n \n id_ = 0;\n }", "title": "" }, { "docid": "7908160cc2eac2a18be46f09f71b7253", "score": "0.61018336", "text": "private void clearId() {\n \n id_ = 0;\n }", "title": "" }, { "docid": "1c447d7e8bd8119598517046c8c501bb", "score": "0.60997254", "text": "@Override\n\tprotected Serializable pkVal() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "1c447d7e8bd8119598517046c8c501bb", "score": "0.60997254", "text": "@Override\n\tprotected Serializable pkVal() {\n\t\treturn this.id;\n\t}", "title": "" }, { "docid": "1099dd7754171efabb050bbe9678225b", "score": "0.60993433", "text": "public long getID(){\r\n return id;\r\n }", "title": "" }, { "docid": "118697b85c947ea5bdee9dc812e028ce", "score": "0.6099085", "text": "@Override\r\n\tpublic boolean hasValidId() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "d2b4a3f134cf5190f1086426191a9c8c", "score": "0.6091247", "text": "public void setId(long id){\n this.id = id;\n }", "title": "" }, { "docid": "aad34e123e06f0be40f7d3a0658a880e", "score": "0.6087669", "text": "public void setId(String id)\n/* */ {\n/* 56 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "aa983e37475fc2497f85b486bb043829", "score": "0.6086596", "text": "@Override\n\tprotected long getId() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "c523b26e110a19922c645862f556b6ba", "score": "0.6085111", "text": "@Override\n public Serializable getId() {\n return null;\n }", "title": "" }, { "docid": "4c8f73c828e57e727bdc8c3ab141a4fa", "score": "0.6078078", "text": "int getId() {\n return id;\n }", "title": "" }, { "docid": "e4f7c5e0a341c009954f1336052c47cb", "score": "0.607775", "text": "@Override\n public String toString() { return id; }", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.6058797", "text": "java.lang.String getId();", "title": "" } ]
4f867affe3f8d4d05237a9c32d6170e0
Este metodo es el encargado de actualizar los porcentajes de ganancia de cada uno de los precios de venta en los labels
[ { "docid": "533b86bed4d11c97e353edd8c3e888c3", "score": "0.6902103", "text": "public void UpdateLabels(){\n String frc_nulo = \"--%\";\n double costo;\n double pv_contado; // precio de venta contado.\n double pv_credito;\n double pv_mayor; // precio de venta por mayor.\n \n double prc_contado, prc_credito, prc_mayor;\n String str_contado, str_credito, str_mayor;\n \n // para number format exception\n try{\n costo = Double.parseDouble(TF_costo.getText());\n pv_contado = Double.parseDouble(TF_pvcontado.getText());\n pv_credito = Double.parseDouble(TF_pvcredito.getText());\n pv_mayor = Double.parseDouble(TF_pvmayor.getText());\n \n prc_contado = ((pv_contado-costo)/costo)*100;\n prc_credito = ((pv_credito-costo)/costo)*100;\n prc_mayor = ((pv_mayor-costo)/costo)*100;\n \n if(prc_contado < 0) str_contado = \"xx\";\n else str_contado = Double.toString(prc_contado);\n \n if(prc_credito < 0) str_credito = \"xx\";\n else str_credito = Double.toString(prc_credito);\n \n if(prc_mayor < 0) str_mayor = \"xx\";\n else str_mayor = Double.toString(prc_mayor);\n \n LB_contado_frac.setText(str_contado + \"%\");\n LB_credito_frac.setText(str_credito + \"%\");\n LB_mayor_frac.setText(str_mayor + \"%\");\n \n } catch(NumberFormatException ex){\n LB_contado_frac.setText(frc_nulo);\n LB_credito_frac.setText(frc_nulo);\n LB_mayor_frac.setText(frc_nulo);\n } \n }", "title": "" } ]
[ { "docid": "abedfae20cd2eff9f88c2692aa681b9c", "score": "0.62377155", "text": "@Override\n public void calcularPerimetroFiguras(){\n setPerimetro(2*getLadosFigura()[0]+getLadosFigura()[1]);\n }", "title": "" }, { "docid": "70716ab123984326de1108e679ef3f33", "score": "0.6151222", "text": "public void accion()\r\n\t{\r\n\t\tint puntosviejos=Integer.parseInt(puntos.getText());\r\n\t\tif(jugador.esInmortal())this.puntos.setText(String.valueOf(puntosviejos+35));\r\n\t\telse {this.puntos.setText(String.valueOf(puntosviejos+20));\r\n\t\tjugador.setInmortal();}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tthis.label.setIcon(null);\r\n\t\tthis.gravedad.stop();\r\n\t\tthis.inteligencia.stop();\r\n\t\t\r\n\t\tthis.borde=null;\r\n\t\tthis.jugador=null;\r\n\t\tthis.label=null;\r\n\t\tthis.objetos=null;\r\n\t\tthis.piso=null;\r\n\t\tthis.pos=null;\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "5125628d4ef16e0c28eeec0540d0327d", "score": "0.6105203", "text": "private void MontaGrafico(){\r\n\r\n\r\n\t\t//consulta na tabela os dados para gerar o grafico\r\n\t\tHashtable<String, Integer> hashtableRegistros = pessoaRepository.GetOrigemPessoa();\r\n\r\n\r\n\t\t//informa os valores para gerar o grafico\r\n\t\thashtableRegistros.forEach((chave,valor) -> {\r\n\r\n\r\n\t\t\tpieChartModel.set(chave, valor);\r\n\r\n\t\t});\r\n\r\n\t\tpieChartModel.setTitle(\"Total de Pessoas cadastrado por Tipo\");\r\n\t\tpieChartModel.setShowDataLabels(true);\r\n\t\tpieChartModel.setLegendPosition(\"e\");\r\n\r\n\r\n\t}", "title": "" }, { "docid": "15baa945116816cb482776054f3fc841", "score": "0.606144", "text": "public void actualizarIndicadores() {\n\t\tJuegoGrafica juego = JuegoGrafica.getInstance();\n\t\t\n\t\tpuntaje.setText(\"\"+juego.obtenerPuntaje());\n\t\tpuntaje.setForeground(Color.white); \n\t\t\n\t\tnivel.setText(\"Nivel: \"+juego.obtenerNivel());\n\t\tnivel.setForeground(Color.white);\n\t\t\n\t\tactualizarVidas(juego.obtenerJugador().cantVidas(), juego.obtenerJugador().porcentajeVida());\n\t}", "title": "" }, { "docid": "70d24ce0fb65a144cd5bbe7ec08e7af8", "score": "0.6038359", "text": "@Override\n public void calcularPerimetroFiguras(){\n setPerimetro(getLadosFigura()[0]*4);\n }", "title": "" }, { "docid": "d8552fec12846192287a37ea4039d947", "score": "0.5985948", "text": "private void buildLabels() {\r\n // talLabel = new JLabel( \"Talairach grid coordinates\" );\r\n // talLabel.setForeground( Color.black );\r\n // talLabel.setFont( MipavUtil.font12B );\r\n // talLabel.setEnabled( showTalairachPosition );\r\n\r\n labelXTal = new JTextField(\"\", 5);\r\n labelXTal.setForeground(Color.black);\r\n labelXTal.setFont(MipavUtil.font12B);\r\n labelXTal.setEnabled(showTalairachPosition);\r\n labelXTal.setBorder(BorderFactory.createEmptyBorder());\r\n labelXTal.setEditable(false);\r\n\r\n labelYTal = new JTextField(\"\", 5);\r\n labelYTal.setForeground(Color.black);\r\n labelYTal.setFont(MipavUtil.font12B);\r\n labelYTal.setEnabled(showTalairachPosition);\r\n labelYTal.setBorder(BorderFactory.createEmptyBorder());\r\n labelYTal.setEditable(false);\r\n\r\n labelZTal = new JTextField(\"\", 5);\r\n labelZTal.setForeground(Color.black);\r\n labelZTal.setFont(MipavUtil.font12B);\r\n labelZTal.setEnabled(showTalairachPosition);\r\n labelZTal.setBorder(BorderFactory.createEmptyBorder());\r\n labelZTal.setEditable(false);\r\n\r\n // talairachVoxelLabel = new JLabel(\" \"); // must be initialized to 5 empty spaces\r\n }", "title": "" }, { "docid": "0b15f0a5e0085f64d57d56d142555c65", "score": "0.58881766", "text": "private void setDatosProgreso(JProgressBar jProgressBar,JLabel jLabel,int fila,int numRow){\r\n int porcentaje=(Integer)(100/numRow)*(fila+1);\r\n if(jProgressBar!=null && jLabel !=null){\r\n if(numRow%2==0){ \r\n jProgressBar.setValue(porcentaje);\r\n jLabel.setText(\"\");\r\n jLabel.setText(\"Procesando \" + porcentaje + \"%...\");\r\n }else{\r\n if((fila+1)==numRow){\r\n jProgressBar.setValue(100);\r\n jLabel.setText(\"\");\r\n jLabel.setText(\"Procesando \" + 100 + \"%...\"); \r\n }else{\r\n System.out.println(\"fila\"+(fila+1));\r\n System.out.println(\"Porcentaje\"+porcentaje);\r\n jProgressBar.setValue(porcentaje);\r\n jLabel.setText(\"\");\r\n jLabel.setText(\"Procesando \" + porcentaje + \"%...\");\r\n }\r\n }\r\n } \r\n }", "title": "" }, { "docid": "7bbe5a473837f8e5b2f742a6d2b7b38e", "score": "0.5847395", "text": "private void btnGananciasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGananciasActionPerformed\n\n double GananciaTotal = 0;\n double total = 0,total1 = 0;\n double valorComercial = 0, montoPrestado = 0;\n \n for(int i = 0 ; i<ModeloPrendas.size() ; i++) { \n Prenda p = (Prenda) ModeloPrendas.get(i); \n total += p.getValorComercial(); \n total1 += p.getValorCliente();\n } \n \n valorComercial += total;\n montoPrestado += total1;\n GananciaTotal = totalTDI + valorComercial - montoPrestado;\n formato.format(GananciaTotal);\n jLGanancias.setText(formato.format(GananciaTotal)); \n }", "title": "" }, { "docid": "58bbe4e69770a9b80cb67987564d676e", "score": "0.5828962", "text": "@Override\n public void calcularAreaFiguras() {\n setArea(getLadosFigura()[0]*2);\n }", "title": "" }, { "docid": "7258b1503ef0c6421e6e693cb85bd72d", "score": "0.5808339", "text": "private void buscarValoresLineales() {\n\t\tbuscarValoresLinealesVertical();\n\t\tbuscarValoresLinealesHorizontal();\n\t}", "title": "" }, { "docid": "946e728e6c127e9986d7ffd62f6c403f", "score": "0.57878125", "text": "private void presetViewNominaParafiscales(){\n titleWindowLabel.setText(TEXT_TITLE_LIQ_NM_PF);\n \n label1.setText(TEXT_LABEL_ING_EMP);\n label1.setHorizontalAlignment(SwingConstants.LEFT);\n label1.setForeground(Color.BLACK);\n label2.setText(TEXT_LABEL_VALUE + TEXT_LABEL_VALUE_NUM);\n label2.setHorizontalAlignment(SwingConstants.LEFT);\n label2.setForeground(Color.BLACK);\n label3.setText(TEXT_LABEL_ING_EMP);\n label3.setHorizontalAlignment(SwingConstants.LEFT);\n label3.setForeground(Color.BLACK);\n label4.setText(TEXT_LABEL_VALUE + TEXT_LABEL_VALUE_NUM);\n label4.setHorizontalAlignment(SwingConstants.LEFT);\n label4.setForeground(Color.BLACK);\n \n textField1.setText(null);\n textField2.setText(null);\n \n button1.setText(TEXT_BUTTON_LIQ_NOMIN);\n button2.setText(TEXT_BUTTON_LIQ_PARAF); \n \n //BAR PANEL\n //backWindowControlButton.hide();\n backWindowControlButton.setVisible(true);\n \n GBC.gridx = 4;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.HORIZONTAL;\n GBC.ipadx = 0;\n GBC.ipady = 0;\n GBC.insets = new Insets(10, 10, 10, 10);\n GBC.anchor = GridBagConstraints.CENTER;\n GBC.weightx = 0.6;\n GBC.weighty = 0.0;\n barPanel.add(titleWindowLabel, GBC);\n \n //CENTRAL PANEL\n centralPanel.setBackground(Color.WHITE);\n //Borrar fondo\n panel1.removeAll();\n panel1.setOpaque(false);\n panel1.setBackground(Color.WHITE);\n panel2.removeAll();\n panel2.setOpaque(false);\n panel2.setBackground(Color.WHITE);\n \n //PANEL 1 in CENTRAL PANEL\n GBC.gridx = 0;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.NONE;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 1.0;\n GBC.weighty = 0.5;\n centralPanel.add(panel1, GBC);\n \n //PANEL 2 in CENTRAL PANEL\n GBC.gridx = 0;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.NONE;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 1.0;\n GBC.weighty = 0.5;\n centralPanel.add(panel2, GBC);\n \n //LOCATE COMPONENTS\n //COMPONENTS in PANEL 1\n GBC.gridx = 0;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 3, 200);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(label1, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(5, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(textField1, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 2;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 0);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(label2, GBC);\n \n GBC.gridx = 1;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 65;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 100, 10, 10);\n GBC.anchor = GridBagConstraints.EAST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(button1, GBC);\n \n //COMPONENTS in PANEL 2\n GBC.gridx = 0;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 3, 200);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(label3, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(5, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(textField2, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 2;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 0);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(label4, GBC);\n \n GBC.gridx = 1;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 40;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 100, 10, 10);\n GBC.anchor = GridBagConstraints.EAST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(button2, GBC);\n }", "title": "" }, { "docid": "a5deb55a77c8eeb30b7b3712df671df2", "score": "0.577232", "text": "public void updateGui(){\n for (int i = 0; i < DIM; i++) {\n for (int k = 0; k < DIM; k++) {\n double temp = model.getTemperatuur(i, k);\n int roodWaarde = (int) ((temp / 100.0) * 255);\n int blauwWaarde = 255 - roodWaarde;\n labelMatrix[i][k].setKleur(roodWaarde, blauwWaarde);\n }\n }\n }", "title": "" }, { "docid": "0b47f8a5c34d939da65b5cfeeb9556cc", "score": "0.57403564", "text": "private void atualizaValorTotal(){\n\t\t// Atualiza o label com o total geral dos itens vendidos.\n\t\tDouble totalGeral = frameCaixa.getTableModel().getValorTotalItensVendidos();\n\n\t\t// Se excluir todos os itens da lista, impede que finalize a venda.\n\t\tif(totalGeral == 0){\n\t\t\tframeCaixa.getBtnFinalizar().setEnabled(false);\n\t\t\tframeCaixa.getLbTotal().setText(\"00,00\");\n\t\t}else{\n\t\t\tframeCaixa.getLbTotal().setText(String.format(\"%.2f\", totalGeral));\n\t\t}\n\t}", "title": "" }, { "docid": "8d7e3a8c19d312f3ffcf966c2e545d01", "score": "0.570169", "text": "private void updateLabelAttributes() {\n\n\t\t/*\n\t\t * If no element is selected and \"All\" is not checked, do nothing.\n\t\t */ \n\t\tDrawableElement de = drawingLayer.getSelectedDE();\t\n\t\t\n\t\tif ( de == null && !updateAllLabelAttr() ) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t/*\n\t\t * Create a new Contours with all components in the old Contours and update\n\t\t * the label attributes if required.\n\t\t */ \n\t\tDrawableElement newEl = null;\n\t\tContours oldContours = null;\n\n\t\tif ( de != null && de.getParent() != null && de.getParent().getParent() instanceof Contours ) { \n\t\t\tnewEl = (DrawableElement)de.copy();\t\t\t\t\t\t\t\n\t\t\toldContours = (Contours)de.getParent().getParent();\t\t\n\t }\n\t\telse {\n\t\t\toldContours = currentContours;\n\t\t}\n\t\t\n\t\t\n\t\tif ( oldContours != null ) {\n\t\t\t\t\t\t\n\t\t\tIterator<AbstractDrawableComponent> iterator = oldContours.getComponentIterator();\n\t\t\t\n\t\t\tContours newContours = new Contours();\n\t\t\t\n\t\t\t/*\n\t\t\t * Copy all contour collections and update the label attributes.\n\t\t\t */\t\t\t\n\t while ( iterator.hasNext() ) { \t\t\t\t \t\t\t\t\t \t\t\t\t\t \t\n\t \t\n\t \tAbstractDrawableComponent oldAdc = iterator.next();\t \t\n\t \tAbstractDrawableComponent newAdc = oldAdc.copy();\n \n\t \tif ( newAdc instanceof ContourLine && drawContourLine() ) {\n\t\t\t\t\t\t\n\t \t if ( updateAllLabelAttr() ) {\t \t\t\t \t\n\t \t for ( gov.noaa.nws.ncep.ui.pgen.elements.Text lbl : ((ContourLine)newAdc).getLabels() ) {\n\t \t\t String[] str = lbl.getText();\n\t \t\t boolean hide = lbl.getHide();\n\t \t\t boolean auto = lbl.getAuto();\n\t \t\t lbl.update( labelTemplate );\n\t \t\t lbl.setHide( hide );\n\t \t\t lbl.setAuto( auto );\n\t \t\t lbl.setText( str );\n\t \t }\n\t \t }\n\t\t \t\n\t \t if ( newEl != null && oldAdc.equals( de.getParent() ) ) {\t \t \t\t\n\n\t \t \tnewEl.setParent( newAdc ); \n \t \t\n\t \t\t if ( newEl instanceof Line ) {\n\t\t \t\t ((DECollection)newAdc).replace( ((ContourLine)newAdc).getLine(), newEl );\n\t \t\t }\n\t \t\t \n\t\t \t\tfor ( gov.noaa.nws.ncep.ui.pgen.elements.Text lbl : ((ContourLine)newAdc).getLabels() ) { \n\t \t \t\t\n\t \t\t\t\tif ( lbl.equals( de ) ) {\n\t \t\t \t\t((DECollection)newAdc).replace( lbl, newEl ); \n\t \t\t\t\t}\n\t \t\t\t\t\t\n\t \t\t boolean hide = lbl.getHide();\n\t \t\t boolean auto = lbl.getAuto();\n\t \t\t\t\tlbl.update( labelTemplate );\n\t \t\t lbl.setHide( hide );\n\t \t\t lbl.setAuto( auto );\n\t \t \tlbl.setText( new String[] { getLabel()} );\t \t \t\t\n\t \t }\t\t\t\t\t\t \t\t \n \t \t\n\t \t }\n\t \t}\n\t \telse if ( newAdc instanceof ContourMinmax && drawSymbol() ) {\t\t\t\t\t\t\n\t \t \n\t \t\tif ( updateAllLabelAttr() ) {\t \t\t\t \t\n\t \t gov.noaa.nws.ncep.ui.pgen.elements.Text lbl = ((ContourMinmax)newAdc).getLabel();\n\t \t\t String[] str = lbl.getText();\n \t\t boolean hide = lbl.getHide();\n \t\t boolean auto = lbl.getAuto();\n \t\t\t\tlbl.update( labelTemplate );\n \t\t lbl.setHide( hide );\n \t\t lbl.setAuto( auto );\n\t \t\t lbl.setText( str );\n\t \t }\n\t\t \t\n\t \t if ( newEl != null && oldAdc.equals( de.getParent() ) ) {\t \t \t\t\n\t \t\t newEl.setParent( newAdc );\n\t \t\t if ( newEl instanceof Symbol ) {\n\t \t\t ((DECollection)newAdc).replace( ((ContourMinmax)newAdc).getSymbol(), newEl );\n\t \t\t }\t \t\t \n\t \t\t else {\n\t \t\t \t((DECollection)newAdc).replace( ((ContourMinmax)newAdc).getLabel(), newEl );\n\t \t\t }\n\t \t\t \n\t \t\t gov.noaa.nws.ncep.ui.pgen.elements.Text lbl = ((ContourMinmax)newAdc).getLabel();\n \t\t boolean hide = lbl.getHide();\n \t\t boolean auto = lbl.getAuto();\n \t\t\t\tlbl.update( labelTemplate );\n \t\t lbl.setHide( hide );\n \t\t lbl.setAuto( auto );\n\t \t\t lbl.setText( new String[] { getLabel()} );\n\n\t \t }\t \t\t\n\t \t}\n\t \telse if ( newAdc instanceof ContourCircle && drawCircle() ) {\t\t\t\t\t\t\n\t \t \n\t \t\tif ( updateAllLabelAttr() ) {\t \t\t\t \t\n\t \t gov.noaa.nws.ncep.ui.pgen.elements.Text lbl = ((ContourCircle)newAdc).getLabel();\n\t \t\t String[] str = lbl.getText();\n \t\t boolean hide = lbl.getHide();\n \t\t boolean auto = lbl.getAuto();\n \t\t\t\tlbl.update( labelTemplate );\n \t\t lbl.setHide( hide );\n \t\t lbl.setAuto( auto );\n\t \t\t lbl.setText( str );\n\t \t }\n\t\t \t\n\t \t if ( newEl != null && oldAdc.equals( de.getParent() ) ) {\t \t \t\t\n\t \t\t newEl.setParent( newAdc );\n\t \t\t if ( newEl instanceof Arc ) {\n\t \t\t ((DECollection)newAdc).replace( ((ContourCircle)newAdc).getCircle(), newEl );\n\t \t\t }\n\t \t\t else {\n\t \t\t \t((DECollection)newAdc).replace( ((ContourCircle)newAdc).getLabel(), newEl );\n\t \t\t }\n\t \t\t \n\t \t\t gov.noaa.nws.ncep.ui.pgen.elements.Text lbl = ((ContourCircle)newAdc).getLabel();\n \t\t boolean hide = lbl.getHide();\n \t\t boolean auto = lbl.getAuto();\n \t\t\t\tlbl.update( labelTemplate );\n \t\t lbl.setHide( hide );\n \t\t lbl.setAuto( auto );\n\t \t\t lbl.setText( new String[] { getLabel()} );\n\t \t }\t \t\t\n\t \t}\n\t \t \t\n\t \tnewAdc.setParent( newContours );\n\t \tnewContours.add( newAdc );\n\t }\n\t\t\t\t\t\n\t\t\t/*\n\t\t\t * Update the contours attributes and replace the old one with the new Contours.\n\t\t\t */\n\t newContours.update( oldContours );\n\t\t\tdrawingLayer.replaceElement( oldContours, newContours );\n\t\t \t\t \n\t\t\t/*\n\t\t\t * Reset the selected Contours and DE to the updated ones.\n\t\t\t */\n\t\t currentContours = newContours;\n\t\t \n\t\t\tif ( newEl != null ) {\n\t\t drawingLayer.removeSelected();\n\t\t\t drawingLayer.setSelected( newEl );\n\t\t\t}\n\t\t\t\t\t\t\t \t\t\t\n\t\t}\n\t\t\n\t\tif ( mapEditor != null ) {\n\t\t\tmapEditor.refresh();\n\t\t}\n\n\t}", "title": "" }, { "docid": "7170f1ffac8a4cdb87f5dbdfeb7e3dd3", "score": "0.56934506", "text": "public void valorTotal() {\n double y = 0;\n double x = 0;\n double z = 0;\n for (int i = 0; i < produtos.size(); i++) {\n x = produtos.get(i).getValor_venda() * produtos.get(i).getQnt();\n y = z + x;\n z = y;\n }\n DecimalFormat valor = new DecimalFormat(\"0.00\");\n\n camptotal.setText(\"R$ \" + z);\n jLabelValorTotal.setText(\"R$ \" + valor.format(z));\n campvalorPago.setText(\"\" + z);\n camp_desconto.setText(\"0\");\n double valortotal = Double.parseDouble(camptotal.getText().replace(\"R$\", \"\"));\n double valorPago = Double.parseDouble(campvalorPago.getText().replace(\",\", \".\"));\n double troco = valorPago - valortotal;\n campTroco.setText(String.valueOf(troco));\n\n }", "title": "" }, { "docid": "234935bb591560497b18eea10ae5e9cc", "score": "0.56887823", "text": "public void preparaDataset() {\n String fraseTela = this.textoComando.getText();\n // String fraseTela = \"plotar idade: 1;50;57;57;58;5;10;15;20;30;45;89;98;67;85;33;14/faixa 3/tipo barra\";\n String[] frases = fraseTela.split (\"/\"); \n for (String frase : frases) {\n \n if(frase.substring(0,6).equals(\"plotar\")){ \n String[] idadesTela = frase.substring(14).split(\";\");\n //prepara vetor idades\n for (int i = 0; i < idadesTela.length; i++) {\n this.vetorIdades[i] = Integer.parseInt(idadesTela[i]);\n } \n } \n if(frase.substring(0,5).equals(\"faixa\")){\n this.faixa = Integer.parseInt(frase.substring(6));\n }\n \n if(frase.substring(0,4).equals(\"tipo\")){\n String tipoGrafico = frase.substring(5);\n if(tipoGrafico.equals(\"barra\")){\n this.tipoGrafico = 1;\n }else{\n this.tipoGrafico = 2;\n }\n }\n }\n \n for (int idade : vetorIdades) {\n if(idade >this.maiorIdade){\n this.maiorIdade = idade;\n } \n }\n \n \n /*\n \n \n while( this.vetRanges[x][1] < this.maiorIdade) { \n \n if(x > this.faixa ){\n this.vetRanges[x][0]=v + 1 ;//limite inferior\n this.vetRanges[x][1]=v + range;//limitesuperior\n }else{\n this.vetRanges[x][0]= v + 1 ;//limite inferior\n this.vetRanges[x][1]= v + range;//limitesuperior\n \n }\n x++;\n v = range +v;\n } \n \n \n */\n int range = this.maiorIdade / this.faixa; \n int resto = this.maiorIdade % this.faixa; \n //prepara vetor range\n this.vetRanges = new int[faixa][3];\n int x = 0; \n int v = 0;\n while(x < vetRanges.length) { \n if(x+1 == this.faixa){\n this.vetRanges[x][0]= v + 1 ;//limite inferior\n this.vetRanges[x][1]= v + range + resto;//limitesuperior\n }else{\n this.vetRanges[x][0]= v + 1 ;//limite inferior\n this.vetRanges[x][1]= v + range;//limitesuperior\n\n } \n x++;\n v = range +v;\n } \n \n //prepara vetor Valores dos Ranges \n /* for (int i = 0 ; this.vetRanges[i][1] < maiorIdade; i++) { \n for (int j = 0; vetorIdades[j]>0 ; j++) {\n //valorIdade //limiteInferior //valorIdade //limiteSuperior\n if(this.vetorIdades[j] >= this.vetRanges[i][0] && this.vetorIdades[j] <= this.vetRanges[i][1] ){\n this.vetRanges[i][2]= this.vetRanges[i][2]+1 ;\n } \n } \n }*/\n \n for (int i = 0; i < vetRanges.length; i++) {\n for (int j = 0; vetorIdades[j]>0 ; j++) {\n //valorIdade //limiteInferior //valorIdade //limiteSuperior\n if(this.vetorIdades[j] >= this.vetRanges[i][0] && this.vetorIdades[j] <= this.vetRanges[i][1] ){\n this.vetRanges[i][2]= this.vetRanges[i][2]+1 ;\n } \n } \n }\n \n \n \n }", "title": "" }, { "docid": "463f7399c0d63bd9230df1dae7c76db5", "score": "0.5685774", "text": "public void updateLabels() {\n\t\tint a,b;\n\t\tColor labColor;\n\t\t//Graphics2D g2D = (Graphics2D) g;\n\t\tfor (a=0;a<(200-1);a++)\t{\n\t\t\t\t\t\n\t\t\tfor (b=0;b<6;b++)\t{\n\t\t\t\tif (a<theApp.orders.size())\t{\n\t\t\t\t\tif (b==0) theApp.labels[a+1][b].setText(theApp.orders.get(a).creationDate);\n\t\t\t\t\tif (b==1) theApp.labels[a+1][b].setText(theApp.orders.get(a).shoppingCartName);\n\t\t\t\t\tif (b==2) theApp.labels[a+1][b].setText(theApp.orders.get(a).price);\n\t\t\t\t\t// If an item has arrived show its arrival date if not show its status\n\t\t\t\t\tif (b==3)\t{\n\t\t\t\t\t\tif (theApp.orders.get(a).receiptDate.length()>1) theApp.labels[a+1][b].setText(theApp.orders.get(a).receiptDate);\n\t\t\t\t\t else theApp.labels[a+1][b].setText(theApp.orders.get(a).status);\n\t\t\t\t\t}\n\t\t\t\t\tif (b==4) theApp.labels[a+1][b].setText(theApp.orders.get(a).order_number);\n\t\t\t\t\tif (b==5) theApp.labels[a+1][b].setText(theApp.orders.get(a).approval_note);\t\t\n\t\t\t\t\t\n\t\t\t\t\t// Set the colour of the line depending on the orders status\n\t\t\t\t\tlabColor=getLabelColor(theApp.orders.get(a).status,theApp.orders.get(a).receiptDate);\n\t\t\t\t\ttheApp.labels[a+1][b].setBackground(labColor);\n\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\telse\t{\n\t\t\t\t\t\ttheApp.labels[a+1][b].setText(\" \");\n\t\t\t\t}\n\t\t\t\ttheApp.labels[a][b].setOpaque(true);\n\t\t\t\ttheApp.labels[a+1][b].repaint();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\n\t}", "title": "" }, { "docid": "3131f6023a4cc5f80f8f3bc46a77ea56", "score": "0.56684196", "text": "private void setLabels() {\n\t\tgraf.setManualXAxis(horlabels.manualXaxis);\n\t\tgraf.setManualXAxisBounds(horlabels.manualXmax,horlabels.manualXmin);\n\t\tgraf.setHorizontalLabels(horlabels.horlabels);\n\t}", "title": "" }, { "docid": "96060f9f6410cbec5cdd8c84556e8735", "score": "0.56588256", "text": "private void updateCGPA(){\n double cgpa = Main.round(currentStudent.getCGPA(), 2);\r\n lblCGPA.setText(\"\" + cgpa);\r\n if (cgpa <= 2.0){\r\n lblCGPA.setForeground(Color.RED);\r\n lblCGPA.setToolTipText(\"Warning: Academic Probation\");\r\n } else {\r\n lblCGPA.setForeground(Color.BLACK);\r\n lblCGPA.setToolTipText(\"\");\r\n }\r\n }", "title": "" }, { "docid": "f7cdca774fe5c09c8f7dd5071a4dd83f", "score": "0.5622936", "text": "private void setLabelValues() {\n\t\tmyLabel.setLayoutX(x);\n\t\tmyLabel.setLayoutY(y);\n\t\tmyLabel.setStyle(style);\n\t\tmyLabel.setPrefSize(width, height);\n\t}", "title": "" }, { "docid": "8a646bda9c5805c35eac2025bb96c113", "score": "0.56183714", "text": "@Override\n\t\tpublic void Psicologia() {\n\t\t\tSystem.out.println(\"La psicología de Isabella se basa en la seguridad en sí misma y la poca expresión que posee en cuanto sus sentimientos.\");\n\t\t}", "title": "" }, { "docid": "3c1f906c1b490868b7d6048d075500c8", "score": "0.5611326", "text": "@Override\n public void calcularAreaFiguras() {\n setArea((getLadosFigura()[0]*getLadosFigura()[1])/2);\n }", "title": "" }, { "docid": "04d04781df0cccd85d0f64543804c263", "score": "0.56031597", "text": "public void updateLabels(){\n\t\tfor(Message m : getMessages()) {\n\t\t\tif(m.getClass()==InvocationMessage.class) {\n\t\t\t\tint invocLabelX = Math.max(m.getReicevedBy().getPosSeq().getX(), m.getSentBy().getPosSeq().getX()) - Math.abs( (m.getReicevedBy().getPosSeq().getX() - m.getSentBy().getPosSeq().getX() )/2);\n\t\t\t\tint invocLabelY = this.getOrigineY() + this.getHeight()/6 + 42 + (50 * AddMessageHandler.getAmountPredecessors(this, m));\n\t\t\t\tm.getLabel().setLabelPositionSeq(invocLabelX, invocLabelY);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "a24d2b2dd6b47e7a2a3c6670b8848463", "score": "0.55658907", "text": "private void inizia() throws Exception {\n// this.setFloatable(false);\n this.setUsaGapFisso(true);\n this.setGapPreferito(0);\n this.setAllineamento(Layout.ALLINEA_CENTRO);\n }", "title": "" }, { "docid": "c6ba836c851d60f8897c759e1a580f4f", "score": "0.55505633", "text": "private void corrige()\n\t{\n\t\tabscicePlusPetit = largeur < hauteur * ratio;\n\t\tif(abscicePlusPetit){\n\t\t\tlongX = largeur / 100.0;\n\t\t\tlongY = longX / ratio;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tlongY = hauteur / 100.0;\n\t\t\tlongX = longY * ratio;\n\t\t}\n\t}", "title": "" }, { "docid": "64f9efeaaae2a8cd3cd644704c2b5155", "score": "0.5548762", "text": "public void muestraEstado()\n {\n float gramosTotales = gramosProteinasIngeridos + gramosCarbohidratosIngeridos +\n gramosGrasasIngeridos;\n if (gramosTotales != 0) {\n System.out.println(\"Nombre : \"+ nombrePersona);\n System.out.println(\"Gramos de proteínas ingeridos: \"+ gramosProteinasIngeridos + \n \"(\"+(gramosProteinasIngeridos*100)/gramosTotales +\"%)\");\n System.out.println(\"Gramoos de carbohidratos ingeridos: \"+ gramosCarbohidratosIngeridos + \n \"(\"+(gramosCarbohidratosIngeridos*100)/gramosTotales +\"%)\");\n System.out.println(\"Gramos de grasas ingeridos: \"+ gramosGrasasIngeridos + \n \"(\"+(gramosGrasasIngeridos*100)/gramosTotales +\"%)\");\n System.out.println(\"Calorías ingeridas: \" + caloriasIngeridas);\n }\n else {\n System.out.println(\"Nombre : \"+ nombrePersona);\n System.out.println(\"Gramos de proteínas ingeridos: \"+ gramosProteinasIngeridos);\n System.out.println(\"Gramoos de carbohidratos ingeridos: \"+ gramosCarbohidratosIngeridos);\n System.out.println(\"Gramos de grasas ingeridos: \"+ gramosGrasasIngeridos);\n System.out.println(\"Calorías ingeridas: \" + caloriasIngeridas);\n }\n }", "title": "" }, { "docid": "e8b72d44f61bec2b77cb996973048f2f", "score": "0.55341417", "text": "void principal(){\n int n;\n Paciente datos[] = new Paciente[100];\n int puntaje[] = new int[100];\n \n String[] data = entrada.getText().split(\"\\n\");\n for (int i = 0; i < data.length; i++) {\n String[] linea = data[i].split(\"-\");\n datos[i] = new Paciente(linea[0], linea[1], linea[2], \n Double.parseDouble(linea[3]), Double.parseDouble(linea[4]), Double.parseDouble(linea[5]);\n }\n\n String pacM1 = \"\", pacM2 = \"\", pacM3 = \"\";\n double mM1 = 0, mM2 = 0, mM3 = 0;\n for (int i = 0; i < n; i++) {\n System.out.println((i + 1));\n int ptpp = 0;\n\n Paciente actual = datos[i];\n\n ptpp += actual.getPuntajeParcial(1);\n ptpp += actual.getPuntajeParcial(2);\n ptpp += actual.getPuntajeParcial(3);\n\n \n\n System.out.println(ptpp);\n puntaje[i] = ptpp;\n\n switch (ptpp) {\n case 0:\n System.out.println(\"Sin Riesgo\");\n break;\n case 10:\n System.out.println(\"Bajo\");\n break;\n case 20:\n System.out.println(\"Medio\");\n break;\n case 30:\n System.out.println(\"Alto\");\n break;\n }\n\n puntaje[i] = ptpp;\n double m1 = actual.getMuestra1();\n double m2 = actual.getMuestra2();\n double m3 = actual.getMuestra3();\n \n\n if (m1 >= m2 && m1 >= m3) {\n System.out.println(\"1\");\n }\n\n if (m2 >= m1 && m2 >= m3) {\n System.out.println(\"2\");\n }\n\n if (m3 >= m1 && m3 >= m2) {\n System.out.println(\"3\");\n }\n\n if (m1 > mM1) {\n mM1 = m1;\n pacM1 = actual.getNombre();\n }\n\n if (m2 > mM2) {\n mM2 = m2;\n pacM2 = actual.getNombre();\n }\n\n if (m3 > mM3) {\n mM3 = m3;\n pacM3 = actual.getNombre();\n }\n\n }\n\n System.out.println(pacM1);\n System.out.println(pacM2);\n System.out.println(pacM3);\n }", "title": "" }, { "docid": "8bee33a0715129b65c129c6d44027fe9", "score": "0.55314195", "text": "protected void generateLabels() {\n\t\tlabels.clear();\n\n\t\tList<String> textsX = createTexts(AxisType.X, plotPoints.getMinX(), plotPoints.getDiffX(), countX);\n\t\tList<String> textsY = createTexts(AxisType.Y, plotPoints.getMinY(), plotPoints.getDiffY(), countY);\n\t\tlabelsYWidth = getTextsYWidth(textsY);\n\n\t\tint width = region.getWidth();\n\t\tint height = region.getHeight();\n\t\tint startX = region.getX();\n\t\tint startY = region.getY();\n\t\tint lastX = startX + width - 1;\n\t\tint lastY = startY + height - 1;\n\n\t\t{\n\t\t\t// y labels\n\t\t\tDeque<String> texts = new LinkedList<String>(textsY);\n\t\t\tString topText = texts.pollLast();\n\t\t\tString bottomText = texts.pollFirst();\n\t\t\tdouble textsStep = (double) (height - 2) / (double) (texts.size() + 1);\n\t\t\tfor (int y = startY; y < lastY; y++) {\n\t\t\t\tString text = null;\n\t\t\t\tif (y == startY) {\n\t\t\t\t\ttext = topText;\n\t\t\t\t} else if (y == lastY - 1) {\n\t\t\t\t\ttext = bottomText;\n\t\t\t\t} else if (y % textsStep < 1) {\n\t\t\t\t\ttext = texts.pollLast();\n\t\t\t\t}\n\n\t\t\t\tif (text != null) {\n\t\t\t\t\ttext = String.format(\"%\" + labelsYWidth + \"s\", text);\n\t\t\t\t\tlabels.add(new AxisLabel(text, startX, y, AxisType.Y, new Point(startX + labelsYWidth, y)));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t{\n\t\t\t// x labels\n\t\t\tDeque<String> texts = new LinkedList<String>(textsX);\n\t\t\tString leftText = texts.pollFirst();\n\t\t\tString rightText = texts.pollLast();\n\t\t\tdouble textsStep = (double) (width - labelsYWidth) / (double) (texts.size() + 1);\n\n\t\t\tString text = texts.pollFirst();\n\t\t\tint num = 0;\n\t\t\twhile (text != null) {\n\t\t\t\tnum++;\n\n\t\t\t\tint position = startX + labelsYWidth + (int) (textsStep * num);\n\t\t\t\tint start = position - text.length() / 2;\n\t\t\t\tlabels.add(new AxisLabel(text, start, lastY, AxisType.X, new Point(position, lastY)));\n\n\t\t\t\ttext = texts.pollFirst();\n\t\t\t}\n\n\t\t\tlabels.add(new AxisLabel(leftText, startX + labelsYWidth, lastY, AxisType.X,\n\t\t\t\t\tnew Point(startX + labelsYWidth, lastY)));\n\t\t\tlabels.add(new AxisLabel(rightText, lastX - rightText.length() + 1, lastY, AxisType.X,\n\t\t\t\t\tnew Point(lastX, lastY)));\n\t\t}\n\t}", "title": "" }, { "docid": "4eb171efd14037319d054085fcf7cac3", "score": "0.55299616", "text": "private void updateLabels() {\n totalShotsLabel.setText(\"Shots: \" + (hits + misses));\n hitsLabel.setText(\"Hits: \" + hits);\n missesLabel.setText(\"Misses: \" + misses);\n\n double hitPercentage = 0.0;\n\n // compute hit percentage, taking into account divide by zero error\n if ((hits + misses) != 0) {\n hitPercentage = (double) hits / (hits + misses);\n }\n\n hitPercentageLabel.setText(\"Hit%: \" + df.format(hitPercentage));\n }", "title": "" }, { "docid": "7b5cb268840f7d462dd30084c6ec6c9d", "score": "0.5520707", "text": "public void calculoNuevoPrecio() {\r\n String vCodCamp;\r\n String vNvoPrecio;\r\n String vIndTipoCupon;\r\n double vNvoPrecioRedondeado; //JCHAVEZ 29102009\r\n //ArrayList cupon = new ArrayList();\r\n Map mapaCupon = new HashMap();\r\n //boolean vIndFidelizacion = false;\r\n String vIndFidelizacion = \"N\";\r\n pPrecioFidelizacion = 0.0;\r\n lblPrecioProdCamp.setVisible(false);\r\n\r\n String vPrecioVenta = \"\";\r\n\r\n try {\r\n /*for (int j = 0; j < VariablesVentas.vArrayList_Cupones.size(); j++) {\r\n mapaCupon = (Map)VariablesVentas.vArrayList_Cupones.get(j);\r\n vCodCamp = mapaCupon.get(\"COD_CAMP_CUPON\").toString(); //cupon.get(1).toString();\r\n vIndTipoCupon = mapaCupon.get(\"TIP_CUPON\").toString(); //cupon.get(2).toString();\r\n vIndFidelizacion = mapaCupon.get(\"IND_FID\").toString(); \r\n if(VariablesConvenioBTLMF.vHayDatosIngresadosConvenioBTLMF)\r\n vPrecioVenta = lblPrecVtaConv.getText().trim();\r\n else\r\n vPrecioVenta = txtPrecioVenta.getText().trim();\r\n\r\n if (vIndFidelizacion.equalsIgnoreCase(FarmaConstants.INDICADOR_S)) {\r\n\r\n // DUBILLUZ 01.07.2014\r\n vNvoPrecio = DBVentas.getNuevoPrecio(VariablesVentas.vCod_Prod, vCodCamp, vPrecioVenta,\r\n //dubilluz 15.08.2015 -- \r\n VariablesFidelizacion.vDniCliente\r\n );\r\n\r\n // vNvoPrecioRedondeado= DBVentas.getPrecioRedondeado(Double.parseDouble(vNvoPrecio.trim())); //JCHAVEZ 29102009\r\n if (!vNvoPrecio.equals(FarmaConstants.INDICADOR_N)) {\r\n vNvoPrecioRedondeado =\r\n DBVentas.getPrecioRedondeado(Double.parseDouble(vNvoPrecio.trim())); //JCHAVEZ 29102009\r\n if (vIndTipoCupon.equalsIgnoreCase(\"P\")) {\r\n pPrecioFidelizacion = Double.parseDouble(vNvoPrecio.trim());\r\n log.debug(\"JCHAVEZ pPrecioFidelizacion: sin redondeo \" + pPrecioFidelizacion);\r\n lblPrecioProdCamp.setText(\"Prec. Fidelizado. Referencial : \"+ConstantesUtil.simboloSoles+\" \" +\r\n vNvoPrecioRedondeado); //JCHAVEZ 29102009 se cambio vNvoPrecio por vNvoPrecioRedondeado\r\n lblPrecioProdCamp.setVisible(true);\r\n }\r\n break;\r\n }\r\n }\r\n\r\n\r\n }*/\r\n\r\n //05-DIC-13, TCT , Obtener precio Fijo de Producto y Comparar con Fidelizado -- Begin\r\n // Lectura de Datos de Campaña con el Mejor Precio de Promocion (el mas bajo)\r\n if (!VariablesConvenioBTLMF.vHayDatosIngresadosConvenioBTLMF) {\r\n calculoPrecioReferencial();\r\n }\r\n //05-DIC-13, TCT , Obtener precio Fijo de Producto y Comparar con Fidelizado -- End\r\n\r\n\r\n } catch (Exception e) {\r\n log.error(null, e);\r\n }\r\n }", "title": "" }, { "docid": "f0cadfeed89af3ce15e41d2b586de917", "score": "0.55183274", "text": "@Override\n\t\tpublic void Comportamiento() {\n\t\t\tSystem.out.println(\"El comportamiento de uno de los padres, como es el caso de Ricardo, es de pura rectitud, pero siempre mostrando amor a todo miembro de la familia \"+familia+\".\");\n\t\t}", "title": "" }, { "docid": "72070dfd639ac6ee75a97e3322d50c6d", "score": "0.55172926", "text": "private void calcularNuevasCoordenadas(long incrementoDistancia) {\n\t\t\tthis.yActual = (int) (yActual + incrementoDistancia * dirY);\n\t\t\tthis.xActual = (int) (xActual + incrementoDistancia * dirX);\n\t\t\t\n\t}", "title": "" }, { "docid": "6229787340731c016ceaab42a6547f05", "score": "0.5513815", "text": "private void drawTable()\n {\n Vector<JLabel> row ;\n JLabel cellule;\n con.insets=new Insets(10, 5, 5, 10);\n \n \n for(int i=0;i<data.size();i++)\n {\n row = new Vector();\n for(int j=0;j<data.get(i).size();j++)\n {\n if(data.get(i).get(j).contains(\".\") && i!=0 && j!=0)\n cellule = new JLabel(df.format(Float.parseFloat(data.get(i).get(j))));\n else\n cellule = new JLabel(data.get(i).get(j)+\"\\t\");\n \n \n if(!this.finale && !this.automatique && i!=0 && j!=0 && (i!=data.size()-1) && (j!=data.get(0).size()-1) && j!=(data.get(0).lastElement().equals(\"Ratio\")?data.get(0).size()-2:data.get(0).size()-1))\n cellule.addMouseListener(this);\n \n \n row.add(cellule);\n con.gridx=j;\n con.gridy=i;\n this.add(row.get(row.size()-1),con);\n }\n labels.add(row);\n }\n \n int max = 0;\n \n // ============= Gerer la largeur des colonnes ================= //\n for(int i=0;i<labels.size();i++)\n {\n for(int j=0;j<labels.get(i).size();j++)\n {\n if(labels.get(i).get(j).getPreferredSize().width>max)\n {\n max = labels.get(i).get(j).getPreferredSize().width;\n }\n }\n }\n // =============== Regler la largeur et modifier les couleurs ======= //\n for(int i=0;i<labels.size();i++)\n {\n for(int j=0;j<labels.get(i).size();j++)\n {\n labels.get(i).get(j).setPreferredSize(new Dimension(max+2,20));\n labels.get(i).get(j).setHorizontalAlignment(SwingConstants.CENTER);\n labels.get(i).get(j).setOpaque(true);\n if(i==0 || j==0)\n labels.get(i).get(j).setBackground(Color.lightGray);\n labels.get(i).get(j).setBorder(BorderFactory.createLineBorder(Color.BLUE, 1));\n }\n }\n }", "title": "" }, { "docid": "c2175751098222fade37b7224a0e5ef5", "score": "0.5513493", "text": "public void calcularCapacidad(){\n float capacidadC = (float) ((2*Math.PI*base)*altura);\n setCapacidad(capacidadC);\n }", "title": "" }, { "docid": "f4d1edc995c77832050aaad10fae4ee5", "score": "0.550541", "text": "public void colocarPedido(Mesa mesa){\n pedido.getChildren().clear();\n Map<String,ArrayList<Double>> orden = mesa.getComidasPedido();\n Label total = new Label(\"Total: \"+String.valueOf(mesa.totalFactura())); \n for(String s: orden.keySet()){\n Label plato = new Label(s);\n Double precioUnitario = Restaurante.datos.getPlato(s).getPrecio();\n HBox descripcion = new HBox();\n descripcion.setSpacing(50);\n Label detalle = new Label(String.valueOf(orden.get(s).get(0))+\" Unidad(es) a: \"+String.valueOf(precioUnitario)+\" C/u\");\n Label precio = new Label(String.valueOf(orden.get(s).get(1)));\n precio.setTextAlignment(TextAlignment.RIGHT);\n precio.setAlignment(Pos.CENTER_RIGHT);\n Region espacio = new Region();\n HBox.setHgrow(espacio, Priority.ALWAYS);\n descripcion.getChildren().addAll(plato,espacio,precio);\n pedido.getChildren().addAll(descripcion,detalle);\n }\n pedido.getChildren().add(total);\n }", "title": "" }, { "docid": "0910635382252bb6245e115dffdbf72c", "score": "0.54950315", "text": "private void initialiserLabelPilote(){\n\t\tl_pilote.setText(l_pilote.getText()+this.membre.getNom()+\" \"+this.membre.getPrenom());\n\t}", "title": "" }, { "docid": "9555f7dbf6a8ff58739007a6a709aca2", "score": "0.54876715", "text": "private void setCalorificLabel()\n {\n if(user.getHeight() != 0 && user.getWeight() != 0 && user.getAge() != 0)\n {\n if (currentCalorific > bmr)\n calorificLabel.setText(\"To much calories for today. Reduce your plan by removing \" + (currentCalorific - bmr) + \" calories.\");\n else if (currentCalorific == bmr)\n calorificLabel.setText(\"Perfect! Your calories for today are suitable.\");\n else\n calorificLabel.setText(\"Not enough calories for today. Reduce your plan by adding \" + (bmr - currentCalorific) + \" calories.\");\n }\n }", "title": "" }, { "docid": "9f9e459bc63761ff9a49582aa32e99c1", "score": "0.54874176", "text": "private void inicializarValores(){\n jTFpesoNodo.setText(\"\"+0.5);\n jTFpesoAtributos.setText(\"\"+0.5);\n }", "title": "" }, { "docid": "d63b15fcc01e4e8e3868b995e9aac2c4", "score": "0.54862326", "text": "public void AcertaGolpe(String lutador) \n {\n if (lutador.equals(\"p1\")) \n {\n //tira a vida do personagem 2 \n this.personagem2.setVida(this.personagem2.getVida() - this.dano);\n } else \n {\n this.personagem1.setVida(this.personagem1.getVida() - this.dano);\n }\n }", "title": "" }, { "docid": "d59a13fa6a72c83bdcc0ededfa70a8a7", "score": "0.5484283", "text": "public void convertPercentages(){\n int newMax = Integer.parseInt(currentMaxField.getText());\n\n int percent85 = (int)Math.round(newMax * .85);\n int percent75 = (int)Math.round(newMax * .75);\n int percent65 = (int)Math.round(newMax * .65);\n int percent60 = (int)Math.round(newMax * .60);\n int percent50 = (int)Math.round(newMax * .50);\n\n percent85 = 5*(Math.round(percent85/5));\n percent75 = 5*(Math.round(percent75/5));\n percent65 = 5*(Math.round(percent65/5));\n percent60 = 5*(Math.round(percent60/5));\n percent50 = 5*(Math.round(percent50/5));\n\n formattedTextField_1.setText(String.valueOf(percent50) + \" lbs\");\n formattedTextField_2.setText(String.valueOf(percent60) + \" lbs\");\n formattedTextField_3.setText(String.valueOf(percent65) + \" lbs\");\n formattedTextField_4.setText(String.valueOf(percent75) + \" lbs\");\n formattedTextField_5.setText(String.valueOf(percent85) + \" lbs\");\n }", "title": "" }, { "docid": "9a82333baf366e9c2473f813cc4442fb", "score": "0.5468556", "text": "@Override\n public void decida(){\n int contIguales = 0;\n int contDiferentes = 0;\n int contMuertos = 0;\n //boolean banderaCasillasMuertas = true;\n int f = getFila();\n int c = getColumna();\n AutomataCelular automata = getAutomata();\n for(int i = f - 1; i <= f + 1; i++)\n {\n for(int j = c - 1; j <= c + 1; j++)\n {\n if(!(i == f && j == c) && automata.getElemento(i,j) != null && automata.getElemento(i,j).getEstado() == Ser.MUERTO)\n {\n contMuertos ++;\n }\n \n if(!(i == f && j == c) && automata.getElemento(i,j) != null && automata.getElemento(i,j) instanceof CelulaBipolar && automata.getElemento(i,j).getEstado() != Ser.MUERTO)\n {\n contIguales ++;\n }\n \n if(!(i == f && j == c) && automata.getElemento(i,j) != null && !(automata.getElemento(i,j) instanceof CelulaBipolar) && automata.getElemento(i,j).getEstado() != Ser.MUERTO)\n {\n contDiferentes ++;\n }\n }\n }\n if(contMuertos >= 2)\n {\n estadoSiguiente = Ser.MUERTO;\n }\n \n else if(contIguales > contDiferentes)\n {\n color = Color.magenta;\n estadoSiguiente = Ser.VIVO;\n }\n \n else if(contIguales <= contDiferentes)\n {\n color = Color.cyan;\n estadoSiguiente = Ser.VIVO;\n }\n cambie();\n }", "title": "" }, { "docid": "d0e398407e59d39b9c40b8c87d565cf6", "score": "0.54561806", "text": "@Override\r\n public void imprimirDatos() {\r\n hallarArea();\r\n calcularPerimetro();\r\n System.out.println(\"La figura es: \"+tipo+\" El area es:\"+ area+\"cm^2\"+\" El perimetro es: \"+ perimetro+\"cm\");\r\n }", "title": "" }, { "docid": "4b7204453ebb0aa7684f3e2895ff5eb3", "score": "0.5449317", "text": "private void actualiserScore() {\r\n\t\tint nbBlanc = partieCourante.getPlateau().calculerNbPions(0);\r\n\t\tint nbNoir = partieCourante.getPlateau().calculerNbPions(1);\r\n\t\tlbl_scoreBlanc.setText(String.valueOf(nbBlanc));\r\n\t\tlbl_scoreNoir.setText(String.valueOf(nbNoir));\r\n\t}", "title": "" }, { "docid": "38c350aa1d49bf7c136c5c5f18d715be", "score": "0.5441753", "text": "private void setAllToZeroInGrid() {\n\n\n\t\t\t\tfor (Entry<GridKey, JLabel[]> entry : allGridLabels.entrySet()) {\n\t\t\t\t\tGridKey key = entry.getKey();\n\t\t\t\t\tJLabel[] value = entry.getValue();\n\t\t\t\t\tif(printFlag) {\n\t\t\t\t\t\tSystem.out.println(key);\t\n\t\t\t\t\t}\n\t\t\t\t\tfor(int i=1;i<=4;i++) {\n\t\t\t\t\t\tvalue[i].setText(\"0\");\n\t\t\t\t\t}\n\t\t\t\t\t//\t\tThe actual state space of the PD World is as follows:\n\t\t\t\t\t//\t\t(i, j, x, a, b, c, d, e, f) with\n\t\t\t\t\t//\t\t(i,j) is the position of the agent\n\t\t\t\t\t//\t\tx is 1 if the agent carries a block and 0 if not \n\t\t\t\t\t//\t\t(a,b,c,d,e,f) are the number of blocks in cells\n\t\t\t\t\t//\t\t (1,1), (4,1), (3,3), (5,5), (5,1) and (4,4), respectively\n\t\t\t\t\tif((key.i==1 && key.j==1) || \n\t\t\t\t\t\t\t(key.i==4 && key.j==1) ||\n\t\t\t\t\t\t\t(key.i==3 && key.j==3) ||\n\t\t\t\t\t\t\t(key.i==5 && key.j==5)) {\n\t\t\t\t\t\tvalue[5].setText(\"4\");\n\t\t\t\t\t}\n\n\t\t\t\t\tif((key.i==5 && key.j==1) ||\n\t\t\t\t\t\t\t(key.i==4 && key.j==4)) {\n\t\t\t\t\t\tvalue[5].setText(\"0\");\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "b1a8b39de6d17521566eb3fe8ac0cd93", "score": "0.5440307", "text": "private void actualizarSegunGenes() {\n\t\tboolean flagMuerte = false; //se mantiene falso si no tiene gen muerte\r\n\t\tfor(int num = 1; num<6;num++) {\r\n\t\t\tif((this.adn.indexOf(sim.getSecuenciaADN(num)) != -1) && !flagMuerte) { //chequeo si hay gen de muerte\r\n\t\t\t\tflagMuerte = true;\r\n\t\t\t\tthis.causaDeMuerte = sim.getSecuenciaADNSignificados(num); \r\n\t\t\t\t//se le da la causa de muerte de la primer causa de muerte encontrada (en el caso de haber varias)\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(flagMuerte) { //si es true es que hay gen de muerte\r\n\t\t\tthis.porMorir = true; //entonces cambia el estado a true\r\n\t\t}else {\r\n\t\t\tthis.porMorir = false; //caso contrario no hay gen de muerte\r\n\t\t}\r\n\t\t//reviso los genes de reproduccion\r\n\t\tif(this.adn.indexOf(sim.getSecuenciaADN(6)) != -1) { //primero reviso si es esteril\r\n\t\t\tthis.tipoReproduccion = 0; //entonces puede tener cero hijos (es decir, no puede tener hijos)\r\n\t\t}\r\n\t\telse if(this.adn.indexOf(sim.getSecuenciaADN(7)) != -1) { //si solo puede tener un hijo Y no hay gen de esterilidad\r\n\t\t\tthis.tipoReproduccion = 1;\r\n\t\t}else {\r\n\t\t\tthis.tipoReproduccion = 2; //y si no hay gen esteril o un hijo, se deja por default dos hijos\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "99b894c02b6aa7b47ef207f7d5226192", "score": "0.5440062", "text": "private void peliculaElegida(Object obj){\r\n if(obj.equals(vista.vistaCartelera.lblImg1)){\r\n peliculaElegida = obtenerPeliculaElegida(vista.vistaCartelera.lblTitle1.getText());\r\n }\r\n \r\n if(obj.equals(vista.vistaCartelera.lblImg2)){\r\n peliculaElegida = obtenerPeliculaElegida(vista.vistaCartelera.lblTitle2.getText());\r\n }\r\n \r\n if(obj.equals(vista.vistaCartelera.lblImg3)){\r\n peliculaElegida = obtenerPeliculaElegida(vista.vistaCartelera.lblTitle3.getText());\r\n }\r\n \r\n if(obj.equals(vista.vistaCartelera.lblImg4)){\r\n peliculaElegida = obtenerPeliculaElegida(vista.vistaCartelera.lblTitle4.getText());\r\n }\r\n }", "title": "" }, { "docid": "06ef3b2840f20d312c2bc97aa1f195a3", "score": "0.5439943", "text": "public void updateNumKangaroos(){\n int newNumKangaroos = 0; // This is to count how many kangaroos are != null //\n if(kangp1 != null){newNumKangaroos ++;}\n if(kangp2 != null){newNumKangaroos ++;}\n if(kangp3 != null){newNumKangaroos ++;}\n \n numKangaroos = newNumKangaroos;\n }", "title": "" }, { "docid": "b03c9d6052c177ae57bbf8fba3ba77e9", "score": "0.5420664", "text": "public void setearValoresAdicionales() {\r\n\r\n String[] list = UtilityVentas.obtenerArrayValoresBd(ConstantsVentas.TIPO_VAL_ADIC_COD_BARRA);\r\n String new_frac = \"\";\r\n String new_desc = \"\";\r\n String new_precio = \"\";\r\n String stockLocal = \"\";\r\n String fracProdLocal = \"\";\r\n if (!list[0].equals(\"THERE ISNT\")) {\r\n new_frac = list[0];\r\n new_desc = list[1];\r\n new_precio = list[2];\r\n stockLocal = list[3];\r\n fracProdLocal = list[4];\r\n\r\n VariablesVentas.vStk_Prod = \"\" + (Integer.parseInt(stockLocal) / Integer.parseInt(new_frac));\r\n\r\n //Double valMult = 1.00 / Integer.parseInt(new_frac);\r\n VariablesVentas.vValorMultiplicacion = new_frac.trim();\r\n //VariablesVentas.vVal_Frac = \"\" + valMult;\r\n VariablesVentas.vDesc_Prod = VariablesVentas.vDesc_Prod + \" \" + new_desc;\r\n VariablesVentas.vVal_Prec_Vta = new_precio.trim();\r\n\r\n VariablesVentas.existenValoresAdicionales = true;\r\n } else {\r\n //VariablesVentas.vValorMultiplicacion = \"1\";\r\n VariablesVentas.existenValoresAdicionales = false;\r\n }\r\n VariablesVentas.vCodigoBarra = \"\";\r\n log.info(\"VariablesVentas.vCodigoBarra 09: \" + VariablesVentas.vCodigoBarra);\r\n log.info(\"VariablesVentas.vVal_Frac\" + VariablesVentas.vVal_Frac);\r\n log.info(\"VariablesVentas.vUnid_Vta\" + VariablesVentas.vUnid_Vta);\r\n log.info(\"VariablesVentas.vVal_Prec_Vta\" + VariablesVentas.vVal_Prec_Vta);\r\n log.info(\"VariablesVentas.vStk_Prod\" + VariablesVentas.vStk_Prod);\r\n\r\n }", "title": "" }, { "docid": "a7497d7ec8f9b5f98324c262357cae43", "score": "0.5416957", "text": "public void modoFisica() {\n lblCpfCnpj.setText(\"CPF\");\n lblCelRamal.setText(\"Celular\");\n lblNome.setText(\"Nome\");\n lblSexo.setVisible(true);\n rbtFeminino.setVisible(true);\n rbtMasculino.setVisible(true);\n lblRazaoSocial.setVisible(false);\n txtRazaoSocial.setVisible(false);\n textSizeCPFJCNPJ();\n textSizeCelRamal();\n verificarCpfCnpjEmUso();\n }", "title": "" }, { "docid": "1ec8f1fcb735f83bb420fdf4ebb75699", "score": "0.54103565", "text": "private void presetViewPrestacionesYSeguridadSocial(){\n titleWindowLabel.setText(TEXT_TITLE_LIQ_PR_SS);\n \n label1.setText(TEXT_LABEL_ING_EMP);\n label1.setHorizontalAlignment(SwingConstants.LEFT);\n label1.setForeground(Color.BLACK);\n label2.setText(TEXT_LABEL_VALUE + TEXT_LABEL_VALUE_NUM);\n label2.setHorizontalAlignment(SwingConstants.LEFT);\n label2.setForeground(Color.BLACK);\n label3.setText(TEXT_LABEL_ING_EMP);\n label3.setHorizontalAlignment(SwingConstants.LEFT);\n label3.setForeground(Color.BLACK);\n label4.setText(TEXT_LABEL_VALUE + TEXT_LABEL_VALUE_NUM);\n label4.setHorizontalAlignment(SwingConstants.LEFT);\n label4.setForeground(Color.BLACK);\n \n textField1.setText(null);\n textField2.setText(null);\n \n button1.setText(TEXT_BUTTON_LIQ_PREST);\n button2.setText(TEXT_BUTTON_LIQ_SEGSO); \n \n //BAR PANEL\n //backWindowControlButton.hide();\n backWindowControlButton.setVisible(true);\n \n GBC.gridx = 4;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.HORIZONTAL;\n GBC.ipadx = 0;\n GBC.ipady = 0;\n GBC.insets = new Insets(10, 10, 10, 10);\n GBC.anchor = GridBagConstraints.CENTER;\n GBC.weightx = 0.6;\n GBC.weighty = 0.0;\n barPanel.add(titleWindowLabel, GBC);\n \n //CENTRAL PANEL\n centralPanel.setBackground(Color.WHITE);\n //Borrar fondo\n panel1.removeAll();\n panel1.setOpaque(false);\n panel1.setBackground(Color.WHITE);\n panel2.removeAll();\n panel2.setOpaque(false);\n panel2.setBackground(Color.WHITE);\n \n //PANEL 1 in CENTRAL PANEL\n GBC.gridx = 0;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.NONE;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 1.0;\n GBC.weighty = 0.5;\n centralPanel.add(panel1, GBC);\n \n //PANEL 2 in CENTRAL PANEL\n GBC.gridx = 0;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.NONE;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 1.0;\n GBC.weighty = 0.5;\n centralPanel.add(panel2, GBC);\n \n //LOCATE COMPONENTS\n //COMPONENTS in PANEL 1\n GBC.gridx = 0;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 3, 200);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(label1, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(5, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(textField1, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 2;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 0);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(label2, GBC);\n \n GBC.gridx = 1;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 100, 10, 10);\n GBC.anchor = GridBagConstraints.EAST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel1.add(button1, GBC);\n \n //COMPONENTS in PANEL 2\n GBC.gridx = 0;\n GBC.gridy = 0;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 3, 200);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(label3, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(5, 10, 10, 10);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(textField2, GBC);\n \n GBC.gridx = 0;\n GBC.gridy = 2;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 10;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 10, 10, 0);\n GBC.anchor = GridBagConstraints.WEST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(label4, GBC);\n \n GBC.gridx = 1;\n GBC.gridy = 1;\n GBC.gridheight = 1;\n GBC.gridwidth = 1;\n GBC.fill = GridBagConstraints.BOTH;\n GBC.ipadx = 40;\n GBC.ipady = 10;\n GBC.insets = new Insets(10, 100, 10, 10);\n GBC.anchor = GridBagConstraints.EAST;\n GBC.weightx = 0.0;\n GBC.weighty = 0.0;\n panel2.add(button2, GBC);\n }", "title": "" }, { "docid": "338852ca6f04f064140a89caeb8adae5", "score": "0.54089665", "text": "private void prepareAllJLabels(){\r\n\t\tJLabel[][] allLabels = new JLabel[mapHeight][mapWidth] ;\r\n\t\tthis.mapSprites = this.getViewFrame().getModel().getWorldSprites() ;\r\n\t\tthis.mobileSprites = this.getViewFrame().getModel().getMobileSprites() ;\r\n\t\tfor (int y=0 ; y<mapHeight ; y++){\r\n\t\t\tgbc.gridy = y ;\r\n\t\t\tfor (int x=0 ; x<mapWidth ; x++){\r\n\t\t\t\tgbc.gridx = x ;\r\n\t\t\t\tallLabels[y][x] = new JLabel() ;\r\n\t\t\t\tallLabels[y][x].setIcon(new ImageIcon(mapSprites[y][x]));\r\n\t\t//\t\tSystem.out.print(\"1\");\r\n\t\t\t\tif (mobileSprites[y][x] != null){\r\n\t\t\t\t\tallLabels[y][x].setIcon(new ImageIcon(mobileSprites[y][x])) ;\r\n\t\t//\t\t\tSystem.out.print(\"8\");\r\n\t\t\t\t}\r\n\t\t/*\t\tif(mapSprites[y][x] == mapSprites[0][0] ){\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t//\t\t\tSystem.out.print(\" \") ;\r\n\t\t\t\t}*/\r\n\t\t\t\tgbl.setConstraints(allLabels[y][x], gbc);\r\n\t\t\t\tthis.add(allLabels[y][x]) ;\r\n\t\t\t}\r\n\t\t//\tSystem.out.println();\r\n\t\t}\r\n\t\tthis.setLayout(gbl);\r\n\t\tthis.getViewFrame().pack();\r\n\t\tthis.setVisible(true);\r\n\t\tthis.repaint();\r\n\t//\tSystem.out.println(\"Et je repaint ;)\");\r\n\t}", "title": "" }, { "docid": "25c62d3cfbf7164e3d78c52a41ad8250", "score": "0.5406183", "text": "private Map<Integer, BigDecimal> ritornaMappaAnniDisponibilitaImpegni(){\n\n\t\tMap<Integer, BigDecimal> mappa = new HashMap<Integer, BigDecimal>();\n\n\t\tfor(int i =0;i<3;i++){\n\t\t\tif(i==0){\n\t\t\t\tmappa.put(model.getImpegnoInAggiornamento().getCapitoloUscitaGestione().getImportiCapitoloUG().getAnnoCompetenza()+i, model.getImpegnoInAggiornamento().getCapitoloUscitaGestione().getImportiCapitoloUG().getDisponibilitaImpegnareAnno1());\n\t\t\t}\n\t\t\tif(i==1){\n\t\t\t\tmappa.put(model.getImpegnoInAggiornamento().getCapitoloUscitaGestione().getImportiCapitoloUG().getAnnoCompetenza()+i, model.getImpegnoInAggiornamento().getCapitoloUscitaGestione().getImportiCapitoloUG().getDisponibilitaImpegnareAnno2());\n\n\t\t\t}\n\n\t\t\tif(i==2){\n\t\t\t\tmappa.put(model.getImpegnoInAggiornamento().getCapitoloUscitaGestione().getImportiCapitoloUG().getAnnoCompetenza()+i, model.getImpegnoInAggiornamento().getCapitoloUscitaGestione().getImportiCapitoloUG().getDisponibilitaImpegnareAnno2());\n\t\t\t}\n\t\t}\n\t\treturn mappa;\n\t}", "title": "" }, { "docid": "857177d1ca04946398a3662f5a0e1c47", "score": "0.54054177", "text": "private void comerLabelMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_comerLabelMouseClicked\n // TODO add your handling code here:\n if((this.granjero.getVida())<=90 && this.granjero.getVida()>0){\n this.granjero.setVida(this.granjero.getVida()+10);\n JOptionPane.showMessageDialog(null, \"Ganaste 10 de vida\");\n }\n else{\n JOptionPane.showMessageDialog(null, \"No puedes comer\");\n }\n }", "title": "" }, { "docid": "0286ecb4f7c375972f2ee684044323b4", "score": "0.54021955", "text": "public VistaPanuelo() {\n initComponents();\n jProgressBar2.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);\n UIDefaults defaults = new UIDefaults();\n defaults.put(\"ProgressBar[Enabled].foregroundPainter\", new MyPainter(Color.blue));\n jProgressBar1.putClientProperty(\"Nimbus.Overrides.InheritDefaults\", Boolean.TRUE);\n jProgressBar1.putClientProperty(\"Nimbus.Overrides\", defaults);\n defaults.put(\"ProgressBar[Enabled].foregroundPainter\", new MyPainter(Color.YELLOW));\n jProgressBar2.putClientProperty(\"Nimbus.Overrides.InheritDefaults\", Boolean.TRUE);\n jProgressBar2.putClientProperty(\"Nimbus.Overrides\", defaults);\n jProgressBar1.setMaximum(200);\n jProgressBar2.setMaximum(200);\n labelNiños=new JLabel[]{jLabel1E1,jLabel2E1,jLabel3E1,jLabel4E1,jLabel5E1,jLabel1E2,jLabel2E2,jLabel3E2,jLabel4E2,jLabel5E2};\n for(JLabel j:labelNiños){\n j.setOpaque(true);\n }\n }", "title": "" }, { "docid": "21cb70b18d52ba235778d4e76d65ecc7", "score": "0.540115", "text": "float CalcularPorcentagemdeGatas(Pessoa vPessoa[]){\n float porcentegem ;\n int gatas = 0;\n \n for (int i = 0; i < vPessoa.length -1; i++) {\n if (vPessoa[i].idade > 18 && vPessoa[i].idade < 35 ){\n if (vPessoa[i].getcC()==cordosCabelos.louros && vPessoa[i].getcO()==cordosOlhos.verdes && vPessoa[i].sexo==true) {\n gatas = gatas + 1;\n }\n }\n } \n porcentegem = (100/(vPessoa.length -1))*gatas;\n return porcentegem;\n }", "title": "" }, { "docid": "f828a1c397fa38cbd0e84f36516cbb4f", "score": "0.53987134", "text": "private void drawLabelMoisAnnee() {\n\t\tcurrentMonth.setText(monthFormat.format(this.displayedMonth));\n\t}", "title": "" }, { "docid": "b63573ad8648a31bb7af0fa5ccce92e2", "score": "0.5397484", "text": "public Gregge() {\n\t\tpecore = new ArrayList<Pecora>();\n\t\tpecoraNera = new Animale(CostantiModel.POS_INIZIALE_PECORA_NERA);\n\t}", "title": "" }, { "docid": "3bee723e78498d8cac497a6420e7814d", "score": "0.5395736", "text": "public void punto1(){\n partida = new JLabel();\n partida.setHorizontalAlignment(SwingConstants.RIGHT);\n partida.setBounds(10,300,50,50);\n partida.setBackground(new Color(120,45,132));\n //partida.setIcon(new ImageIcon(par.getImage().getScaledInstance(partida.getWidth(),partida.getHeight(),Image.SCALE_SMOOTH)));\n p1.add(partida); // añadiendo etiqueta al panel\n }", "title": "" }, { "docid": "976cf6c3796cf1aacec954c95d458c54", "score": "0.53905463", "text": "public void calcularPerimetroFiguras();", "title": "" }, { "docid": "494317934a0b743d61b3c15e4338a878", "score": "0.53789544", "text": "private void recalcularFrecAcumulada(){\n float frecAnterior = 0;\n for(int i = 0; i < tamaño; i++){\n frecAcumulada.set(i, probabilidad.get(i) + frecAnterior);\n frecAnterior = probabilidad.get(i) + frecAnterior;\n }\n }", "title": "" }, { "docid": "8f27d810fc7c1053240819b9e3cad2e1", "score": "0.5365585", "text": "private void setFenLieData(FenLieFirstResponse.FenLieFirstData fenLieData) {\n\n\n setHeaderData(fenLieData);\n\n middleOneView.setText(fenLieData.getBvw_left().stripTrailingZeros().setScale(0, BigDecimal.ROUND_DOWN).toPlainString() + \"BIW\");\n\n// System.out.println(new BigDecimal(0.293432).setScale(1, BigDecimal.ROUND_DOWN).doubleValue());// 0.2\n//\n// System.out.println(new BigDecimal(10.293432).setScale(0, BigDecimal.ROUND_DOWN));// 0.2\n\n\n middleTwoView.setText(fenLieData.getBtc().setScale(1, BigDecimal.ROUND_DOWN).doubleValue() + \"\");\n\n middleThreeView.setText(fenLieData.getEth().setScale(0, BigDecimal.ROUND_DOWN) + \"\");\n\n middleFourView.setText(fenLieData.getBtc_left().setScale(1, BigDecimal.ROUND_DOWN).doubleValue() + \"\");\n middleFiveView.setText(fenLieData.getEth_left().setScale(0, BigDecimal.ROUND_DOWN) + \"\");\n\n\n histoyOneView.setText(fenLieData.getBvw_destroy().stripTrailingZeros().setScale(0, BigDecimal.ROUND_DOWN).toPlainString() + \"BIW\");\n histoyTwoView.setText(fenLieData.getBtc_total().stripTrailingZeros().setScale(1, BigDecimal.ROUND_DOWN).doubleValue() + \"BTC\");\n histoyThreeView.setText(fenLieData.getEth_total().stripTrailingZeros().setScale(0, BigDecimal.ROUND_DOWN).toPlainString() + \"ETH\");\n histoyFourView.setText(fenLieData.getBvw_fl().stripTrailingZeros().setScale(0, BigDecimal.ROUND_DOWN).doubleValue() + \"BIW\");\n histoyFiveView.setText(fenLieData.getEth_fl().stripTrailingZeros().setScale(0, BigDecimal.ROUND_DOWN).toPlainString() + \"ETH\");\n\n btcVal = fenLieData.getBtc_left().toString();\n btcLfVal = fenLieData.getBtc_fl().toString();\n ethVal = fenLieData.getEth_left().toString();\n ethLfVal = fenLieData.getEth_fl().toString();\n\n }", "title": "" }, { "docid": "6340d6334699b48178aaf7e41ca3a498", "score": "0.5365354", "text": "public void preencherFigura(Graphics g, ArrayList<Point> pontos) {\n\n\t\t// GERANDO AS SCANLINES\n\t\tfor (int i = 1; i < pontos.size(); i++) {\n\t\t\tscanlines.add(new Scanline(pontos.get(i - 1).x, pontos.get(i).x, pontos.get(i - 1).y, pontos.get(i).y));\n\t\t}\n\n\t\t// CALCULANDO O PONTO Y MAIS BAIXO E MAIS ALTO DA SCANLINE\n\t\tminY = pontos.get(0).getY();\n\t\tmaxY = pontos.get(0).getY();\n\t\tfor (int i = 0; i < pontos.size(); i++) {\n\t\t\tdouble temp = pontos.get(i).y;\n\t\t\tif (temp < minY)\n\t\t\t\tminY = temp;\n\t\t\telse if (temp > maxY)\n\t\t\t\tmaxY = temp;\n\t\t}\n\n\t\t// PREENCHER FIGURA\n\t\tfor (int y = (int) minY; y < maxY; y++) {\n\t\t\tArrayList<Integer> meetPoint = getPontosInterseccao(y);\n\t\t\tfor (int i = 1; i < meetPoint.size(); i += 2) {\n\t\t\t\tg.drawLine(meetPoint.get(i), (int) y, meetPoint.get(i - 1), (int) y);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "0228ebc90aa997fb85d9c1bd352ed90b", "score": "0.5365259", "text": "public void mostrarNodos(Vector<Punto> nodos) {\n misMarcadores.clear();\n misPolilineas.clear();\n marcadoresPiso.clear();\n Vector<String> edificios = new Vector<>();\n cantPisos = 0;\n for (int i = 0; i < nodos.size(); i++) {\n String texto;\n if(nodos.elementAt(i).getPiso() ==0){\n texto = \"Planta Baja\";\n }\n else{\n texto = \"Piso \" + nodos.elementAt(i).getPiso();\n }\n //Cuento la cantidad de pisos en donde encontre lo que busco\n if(nodos.elementAt(i).getPiso() > cantPisos){\n cantPisos = nodos.elementAt(i).getPiso();\n }\n\n //Agrego los marcadores\n misMarcadores.add(new MarkerOptions().position(new LatLng(nodos.elementAt(i).getLatitud(), nodos.elementAt(i).getLongitud())).title(nodos.elementAt(i).getNombre() + \" - \" + texto).icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_BLUE)));\n for(int j=0;j<cantidad_edificios;j++){\n //Veo si ese marcador está dentro de algun edificio\n if(hashMapBounds.containsKey(\"ed\" + j + \"_\" + nodos.elementAt(i).getPiso())) {\n if (dentroDeLimites(new LatLng(nodos.elementAt(i).getLatitud(), nodos.elementAt(i).getLongitud()), hashMapBounds.get(\"ed\" + j + \"_\" + nodos.elementAt(i).getPiso()))) {\n if (!edificios.contains(\"ed\" + j + \"_\" + nodos.elementAt(i).getPiso())) {\n edificios.add(\"ed\" + j + \"_\" + nodos.elementAt(i).getPiso());\n }\n }\n }\n }\n }\n\n //Creo las polilineas y overlays que voy a usar\n cantPisos = cantPisos +1;\n for(int i=0;i<cantPisos;i++){\n Vector<GroundOverlayOptions> g = new Vector<>();\n misOverlays.add(g);\n }\n\n //Agrego los overlays a mi vector\n for(int i=0;i<edificios.size();i++){\n if(hashMapID.containsKey(edificios.elementAt(i))) {\n misOverlays.elementAt(Integer.parseInt(edificios.elementAt(i).substring(edificios.elementAt(i).indexOf(\"_\") + 1)))\n .add(new GroundOverlayOptions()\n .positionFromBounds(hashMapBounds.get(edificios.elementAt(i)))\n .image(BitmapDescriptorFactory.fromResource(hashMapID.get(edificios.elementAt(i)))));\n }\n }\n\n //Cargo imagenes en el map\n cargarMapaImagnes(nodos);\n }", "title": "" }, { "docid": "3a2dd38f75bc3c46b540a238738fe9ac", "score": "0.53578436", "text": "public void computeSize() {\r\n\t\t\tint textSize = 10;\r\n\t\t\tint w = 0;\r\n\t\t\tint h = 0;\r\n\t\t\tint i = 0;\r\n\t\t\tfor (UILabel c : lines) {\r\n\t\t\t\tif (c.visible()) {\r\n\t\t\t\t\tc.x = 10;\r\n\t\t\t\t\tc.y = 25 + (textSize + 5) * i;\r\n\t\t\t\t\tc.size(textSize);\r\n\t\t\t\t\tc.height = textSize;\r\n\t\t\t\t\tw = Math.max(w, c.x + c.width);\r\n\t\t\t\t\th = Math.max(h, c.y + c.height);\r\n\t\t\t\t\ti++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tw = Math.max(w, this.planet.x + this.planet.width);\r\n\t\t\t\r\n//\t\t\ttaxLess.location(taxLevel.x + 240, taxLevel.y + (taxLevel.height - taxLess.height) / 2);\r\n\t\t\ttaxLess.location(taxIncome.x + 240, taxIncome.y);\r\n\t\t\ttaxMore.location(taxLess.x + taxLess.width + 5, taxLess.y);\r\n\t\t\t\r\n\t\t\tw = Math.max(w, taxMore.x + taxMore.width);\r\n\t\t\t\r\n\t\t\twidth = w + 10;\r\n\t\t\theight = h + 5;\r\n\t\t}", "title": "" }, { "docid": "29fcb6398494425a5e7c5686bee1e16c", "score": "0.5357764", "text": "public LabelValue getIndicadorCentroServicio(String codigoVenta);", "title": "" }, { "docid": "99b40ffca16976cd24ad32c6e5370370", "score": "0.53442085", "text": "private void setLabelValues(){\r\n if( getFunctionType() == TypeConstants.DISPLAY_MODE ){\r\n underRecoveryForm.dlgUnderRecovery.setTitle(\r\n \"Display Proposal Under Recovery for \" + budgetInfoBean.getProposalNumber() + \r\n \", Version \" + budgetInfoBean.getVersionNumber() );\r\n }else{\r\n underRecoveryForm.dlgUnderRecovery.setTitle(\r\n \"Modify Proposal Under Recovery for \" + budgetInfoBean.getProposalNumber() + \r\n \", Version \" + budgetInfoBean.getVersionNumber() );\r\n }\r\n underRecoveryForm.txtVersion.setText(EMPTY_STRING + \r\n budgetInfoBean.getVersionNumber());\r\n underRecoveryForm.txtTotalUnderRecovery.setValue(totalUnderRecoveryAmount);\r\n }", "title": "" }, { "docid": "7efe2cd51676ea0f5615136acd11155b", "score": "0.5343541", "text": "public Pintar() {\n initComponents();\n int A[];\n int i,k;\n Random ra = new Random();\n BusquedaBinaria busq = new BusquedaBinaria();\n int N=500;\n A = new int [N];\n for (i=1;i<N;i++){\n A[i]=i;\n }\n \n \n for (k = 1; k < 1000; k++) {\n busq.setConta(0);\n int pos = ra.nextInt(500);\n busq.Bi_recursiva(A,A[pos], A.length-1, 0);\n datosB.addValue(busq.getConta(), \"BusquedaC \", \" \"+k); \n double lg = Math.log10(k)/Math.log10(20)*40;\n datosB.addValue(lg, \"Logaritmo \", \" \"+k);\n }\n \n \n Grafica = ChartFactory.createLineChart(\"Busqueda Binaria\",\n \"Tamaño\", \"Contador\", datosB,\n PlotOrientation.VERTICAL, true, true, false);\n }", "title": "" }, { "docid": "0dc6bbc082bad5f213be66a9a717a76d", "score": "0.53396", "text": "public void calcularAreaFiguras();", "title": "" }, { "docid": "429636da41f14ddb9e7f0037fdc54a41", "score": "0.53370583", "text": "@Override\n\t\tpublic void Psicologia() {\n\t\t\tSystem.out.println(\"La psicología de la abuela de la familia \"+familia+\" se basa en la tolerancia y el exceso de amabilidad dirigida a los demás miembros de la familia.\");\n\t\t\t\n\t\t}", "title": "" }, { "docid": "d3af0cebf4410b7874257436e3a75a9a", "score": "0.5335035", "text": "public void ActualizaCantidadADevolver() {\n float valorEntregado;\n String textoEntregado = panel.getTxtEntregado().getText();\n if (textoEntregado.length() == 0){\n valorEntregado = 0.0f;\n } else {\n textoEntregado = textoEntregado.replace(',', '.');\n valorEntregado = Float.parseFloat(textoEntregado);\n }\n panel.getTxtDevolver().setValue(\n valorEntregado - \n (float)panel.getTxtTotalCobro().getValue());\n }", "title": "" }, { "docid": "587bf949172e3bc9d1f146363ce5628b", "score": "0.533165", "text": "public LabelValue[] getTiposCuadre(String numeroGrupos);", "title": "" }, { "docid": "0878a66ea1c93fc167f9dff46a7ca272", "score": "0.5329904", "text": "private void presentacion()\r\n {\r\n marco.changeSize(sz,sz*getLength());\r\n marco.moveHorizontal(x+6);\r\n marco.moveVertical(y);\r\n for(int i = 0; i < getLength(); i++){\r\n nucleotidos[i] = new Triangle();\r\n nucleotidos[i].changeColor(colores[(genSequence.charAt(i)%15)-2]);\r\n nucleotidos[i].changeSize(sz,sz);\r\n nucleotidos[i].moveHorizontal(sz*i+(sz-30)/2);\r\n }\r\n }", "title": "" }, { "docid": "2064df80c30825b2f6de061a1dc5c4dc", "score": "0.5324333", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n jLabel2 = new javax.swing.JLabel();\r\n lblMasaAdi = new javax.swing.JLabel();\r\n jLabel5 = new javax.swing.JLabel();\r\n jLabel3 = new javax.swing.JLabel();\r\n prgGecenSure = new javax.swing.JProgressBar();\r\n jLabel6 = new javax.swing.JLabel();\r\n jLabel4 = new javax.swing.JLabel();\r\n lblKullanici = new javax.swing.JLabel();\r\n lblAcilisSaati = new javax.swing.JLabel();\r\n lblGecenSure = new javax.swing.JLabel();\r\n lblKalanSure = new javax.swing.JLabel();\r\n lblKullanimUcreti = new javax.swing.JLabel();\r\n\r\n jLabel2.setText(\"Açılış Saati :\");\r\n\r\n lblMasaAdi.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\r\n lblMasaAdi.setText(\"Masa - X\");\r\n\r\n jLabel5.setText(\"Kalan Süre :\");\r\n\r\n jLabel3.setText(\"Geçen Süre :\");\r\n\r\n jLabel6.setText(\"Kullanıcı :\");\r\n\r\n jLabel4.setText(\"Kullanım Ücreti :\");\r\n\r\n lblKullanici.setText(\"Kayıtlı Değil\");\r\n\r\n lblAcilisSaati.setText(\"14:20\");\r\n\r\n lblGecenSure.setText(\"5 dk\");\r\n\r\n lblKalanSure.setText(\"-\");\r\n\r\n lblKullanimUcreti.setText(\"0,5 TL \");\r\n\r\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\r\n this.setLayout(layout);\r\n layout.setHorizontalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addComponent(lblMasaAdi)\r\n .addGap(0, 155, Short.MAX_VALUE))\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\r\n .addGap(0, 0, Short.MAX_VALUE)\r\n .addComponent(prgGecenSure, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE)))\r\n .addContainerGap())\r\n .addGroup(layout.createSequentialGroup()\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\r\n .addComponent(jLabel6)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addGap(19, 19, 19)\r\n .addComponent(jLabel2))\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\r\n .addComponent(jLabel5)\r\n .addComponent(jLabel3)\r\n .addComponent(jLabel4))))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(lblKullanici)\r\n .addComponent(lblAcilisSaati)\r\n .addComponent(lblGecenSure)\r\n .addComponent(lblKalanSure)\r\n .addComponent(lblKullanimUcreti))\r\n .addGap(0, 0, Short.MAX_VALUE))))\r\n );\r\n layout.setVerticalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addComponent(lblMasaAdi)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel6)\r\n .addComponent(lblKullanici))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel2)\r\n .addComponent(lblAcilisSaati))\r\n .addGap(4, 4, 4)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel3)\r\n .addComponent(lblGecenSure))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel5)\r\n .addComponent(lblKalanSure))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel4)\r\n .addComponent(lblKullanimUcreti))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\r\n .addComponent(prgGecenSure, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addContainerGap(98, Short.MAX_VALUE))\r\n );\r\n }", "title": "" }, { "docid": "d05ede9a1c4ce0f1b09113aadd6b8f14", "score": "0.53237545", "text": "private void updateGrille()\r\n {\n grille.getChildren().removeAll(grille.getChildren());\r\n \r\n Case[][] plateau = currNiveau.getPlateau();\r\n for(int i=0; i < plateau.length; i++)\r\n {\r\n for(int j=0; j < plateau[i].length; j++)\r\n {\r\n // Si c'est un mur\r\n if(plateau[i][j] instanceof Mur)\r\n {\r\n grille.add(new ImageView(im_mur), i, j);\r\n }\r\n // Si c'est un couloir\r\n else if(plateau[i][j] instanceof Couloir)\r\n {\r\n // On ajoute le couloir\r\n grille.add(new ImageView(im_couloir), i, j);\r\n Couloir couloir = (Couloir) plateau[i][j];\r\n // Si c'est une pac gomme\r\n if(couloir.isPacGomme())\r\n {\r\n grille.add(new ImageView(im_pacgomme), i, j);\r\n }\r\n // si c'est une super pac gomme\r\n else if(couloir.isSuperPacGomme())\r\n {\r\n grille.add(new ImageView(im_superpacgomme), i, j);\r\n }\r\n }\r\n }\r\n }\r\n \r\n // PACMAN\r\n switch(currNiveau.getTabEntite()[0].getCurrentDirection())\r\n {\r\n case \"haut\": im_v_pacman.setRotate(270);\r\n break;\r\n \r\n case \"gauche\": im_v_pacman.setRotate(180);\r\n break;\r\n \r\n case \"droite\": im_v_pacman.setRotate(0);\r\n break;\r\n \r\n case \"bas\": im_v_pacman.setRotate(90);\r\n break;\r\n \r\n default: break;\r\n }\r\n grille.add(im_v_pacman, currNiveau.getTabEntite()[0].getCurrPos().getX(), currNiveau.getTabEntite()[0].getCurrPos().getY());\r\n \r\n \r\n // Recup tabFantome\r\n Entite[] tabFantome = \r\n { currNiveau.getTabEntite()[1],\r\n currNiveau.getTabEntite()[2],\r\n currNiveau.getTabEntite()[3]\r\n };\r\n \r\n for(int i=0; i<tabFantome.length; i++)\r\n {\r\n Fantome fantome = (Fantome) tabFantome[i];\r\n if(fantome.isVulnerable())\r\n {\r\n if(fantome_vuln)\r\n {\r\n grille.add(new ImageView(im_fantome_vuln_1), tabFantome[i].getCurrPos().getX(), tabFantome[i].getCurrPos().getY());\r\n fantome_vuln = false;\r\n }\r\n else\r\n {\r\n grille.add(new ImageView(im_fantome_vuln_2), tabFantome[i].getCurrPos().getX(), tabFantome[i].getCurrPos().getY());\r\n fantome_vuln = true;\r\n }\r\n \r\n }\r\n else if(fantome.isMort())\r\n {\r\n grille.add(new ImageView(im_fantome_eyes), tabFantome[i].getCurrPos().getX(), tabFantome[i].getCurrPos().getY());\r\n }\r\n else\r\n {\r\n grille.add(tabImFantome.get(i), tabFantome[i].getCurrPos().getX(), tabFantome[i].getCurrPos().getY());\r\n }\r\n }\r\n }", "title": "" }, { "docid": "97dc38fd370e892444f40539073f3710", "score": "0.5321333", "text": "void draw() {\n if (projection.getBounds().isTopChart()) {\n int LEFT_INDENT = 5; //percentages\n int DOWN_INDENT = 5;\n \n //we need a bigger font\n Font originalFont = g.getFont();\n //the text alignment depends on the font size, so that needs to be set early\n Font biggerFont = chartUtil.resizedFont(2.0f, g);\n g.setFont(biggerFont);\n g.drawString(labels.text(\"Magnitude\", ChartUtil.lang()), Maths.round(chartUtil.percentWidth(LEFT_INDENT-1)), Maths.round(chartUtil.percentHeight(DOWN_INDENT)));\n g.setFont(originalFont);\n \n for (int mag = 0; mag < ChartUtil.LIMITING_MAG; ++mag) {\n Integer theMag = mag;\n Double magnitude = Double.valueOf(theMag.toString());\n drawMagnitudeScaleFor(magnitude, LEFT_INDENT, DOWN_INDENT);\n }\n }\n }", "title": "" }, { "docid": "f300e171c0f90199d8bf8e75c64f0ca5", "score": "0.5320702", "text": "public void limpar(){\ntxtExposição.setText(\"\");\ntxtnivelruido.setText(\"\");\nlblMaximoPermitido.setText(\"- -\");\nlblNivelRuido.setText(\"- -\");\nlblTempo_exposisao.setText(\"- -\");\nlblMaximoPermitido.setForeground(Color.black);\nlblNivelRuido.setForeground(Color.black);\nlblTempo_exposisao.setForeground(Color.black);\n}", "title": "" }, { "docid": "f59ee78812326d7469d3f95da4d1e14f", "score": "0.5319739", "text": "public void calculos(){\r\n<<<<<<< HEAD\n=======\n\t\tfacturaDataManager.getTfaccabfactura().setTotalpices(new BigDecimal(0));\r\n\t\tfacturaDataManager.getTfaccabfactura().setTotaleqfullboxes(new BigDecimal(0));\r\n\t\tfacturaDataManager.getTfaccabfactura().setTotalbunch(new BigDecimal(0));\r\n\t\tfacturaDataManager.getTfaccabfactura().setTotalstems(new BigDecimal(0));\r\n>>>>>>> 6aad317a82996c5469498a3307afc7abb7c3e40d\n\t\tfacturaDataManager.getTfaccabfactura().setTotal(new BigDecimal(0));\r\n\t\t//\r\n\t\tfacturaDataManager.getTfaccabfactura().setSubtotalnoiva(new BigDecimal(0));\r\n\t\tfacturaDataManager.getTfaccabfactura().setSubtotaliva(new BigDecimal(0));\r\n\t\tfacturaDataManager.getTfaccabfactura().setIva(new BigDecimal(0));\r\n\t\tfacturaDataManager.getTfaccabfactura().setSubtotalexcentoiva(new BigDecimal(0));\r\n\t\tfacturaDataManager.getTfaccabfactura().setSubtotalneto(new BigDecimal(0));\r\n\t\tfor(Tfacdetfactura detalle:facturaDataManager.getTfaccabfactura().getTfacdetfacturas()){\r\n<<<<<<< HEAD\n=======\n\t\t\t//total pices\r\n\t\t\tfacturaDataManager.getTfaccabfactura().setTotalpices(detalle.getCantidad().add(facturaDataManager.getTfaccabfactura().getTotalpices()));\r\n\t\t\t//total eqfullboxes\r\n\t\t\tfacturaDataManager.getTfaccabfactura().setTotaleqfullboxes(detalle.getEqfullboxes().add(facturaDataManager.getTfaccabfactura().getTotaleqfullboxes()));\r\n\t\t\t//total bunch\r\n\t\t\tfacturaDataManager.getTfaccabfactura().setTotalbunch(detalle.getTotalbunch().add(facturaDataManager.getTfaccabfactura().getTotalbunch()));\r\n\t\t\t//total stems\r\n\t\t\tfacturaDataManager.getTfaccabfactura().setTotalstems(detalle.getTotalstems().add(facturaDataManager.getTfaccabfactura().getTotalstems()));\r\n>>>>>>> 6aad317a82996c5469498a3307afc7abb7c3e40d\n\t\t\t//calculos\r\n\t\t\t//--subtotal 0%\r\n\t\t\tif(detalle.getIva().equals(\"0\") && detalle.getIvacodigo().equals(9)){\r\n\t\t\t\tfacturaDataManager.getTfaccabfactura().setSubtotalnoiva(facturaDataManager.getTfaccabfactura().getSubtotalnoiva().add(detalle.getTotal()));\r\n\t\t\t}\r\n\t\t\t//--sbtotal iva 12%\r\n\t\t\tif(detalle.getIva().equals(\"2\") && detalle.getIvacodigo().equals(9)){\r\n\t\t\t\tfacturaDataManager.getTfaccabfactura().setSubtotaliva(facturaDataManager.getTfaccabfactura().getSubtotaliva().add(detalle.getTotal()));\r\n\t\t\t\t//validamos si tiene descuento\r\n\t\t\t\tif(facturaDataManager.getTfaccliente().getPorcentajedescuento()!=null && facturaDataManager.getTfaccliente().getPorcentajedescuento()>0){\r\n\t\t\t\t\t//descuento =totaldeldetalle * descuento del cliente%\r\n\t\t\t\t\tBigDecimal descuento=detalle.getTotal().multiply(new BigDecimal(facturaDataManager.getTfaccliente().getPorcentajedescuento()/100));\r\n\t\t\t\t\t//seteo del descuento por articulo descuento\r\n\t\t\t\t\tdetalle.setDescuento(descuento);\r\n\t\t\t\t\t//se obtiene el iva sobre el articulo ya quitado el descuento(totaldetalle -descunto)\r\n\t\t\t\t\tBigDecimal totaldetallemenosdecuento=detalle.getTotal().subtract(descuento);\r\n\t\t\t\t\tTadmcatalogo catalogoiva= bunsysService.obtenerCatalogo(facturaDataManager.getLoginDatamanager().getLogin().getPk().getCodigocompania(), detalle.getIvacodigo(), detalle.getIva());\r\n\t\t\t\t\tBigDecimal porcentajeIva=new BigDecimal(catalogoiva.getValor()).divide(new BigDecimal(100));\r\n\t\t\t\t\t//se obtiene el iva del producto (totaldetallemenosdecuento * iva 12%)\r\n\t\t\t\t\tBigDecimal iva=totaldetallemenosdecuento.multiply(porcentajeIva);\r\n\t\t\t\t\t//se suma los ivas que esten calculados menos el descuento\r\n\t\t\t\t\tfacturaDataManager.getTfaccabfactura().setIva(facturaDataManager.getTfaccabfactura().getIva().add(iva));\r\n\t\t\t\t}else{\r\n\t\t\t\t\tTadmcatalogo catalogoiva= bunsysService.obtenerCatalogo(facturaDataManager.getLoginDatamanager().getLogin().getPk().getCodigocompania(), detalle.getIvacodigo(), detalle.getIva());\r\n\t\t\t\t\tBigDecimal porcentajeIva=new BigDecimal(catalogoiva.getValor()).divide(new BigDecimal(100));\r\n\t\t\t\t\t//iva 12%=totaldetalle * 12%\r\n\t\t\t\t\tBigDecimal iva=detalle.getTotal().multiply(porcentajeIva);\r\n\t\t\t\t\tfacturaDataManager.getTfaccabfactura().setIva(facturaDataManager.getTfaccabfactura().getIva().add(iva));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t//--subtotal excento de iva\r\n\t\t\tif(detalle.getIva().equals(\"7\") && \tdetalle.getIvacodigo().equals(9)){\r\n\t\t\t\tfacturaDataManager.getTfaccabfactura().setSubtotalexcentoiva(detalle.getTotal());\r\n\t\t\t}\r\n\t\t\t//--subtotal neto\r\n\t\t\tfacturaDataManager.getTfaccabfactura().setSubtotalneto(facturaDataManager.getTfaccabfactura().getSubtotalneto().add(detalle.getTotal()));\r\n\t\t}\r\n\t\t//calculos finales\r\n\t\tif(facturaDataManager.getTfaccliente().getPorcentajedescuento()!=null &&\r\n\t\t\t\tfacturaDataManager.getTfaccliente().getPorcentajedescuento()>0){\r\n\t\t\t//-total descuento\r\n\t\t\tfacturaDataManager.getTfaccabfactura().setTotaldescuento(facturaDataManager.getTfaccabfactura().getSubtotalneto().multiply(\r\n\t\t\t\t\tnew BigDecimal(facturaDataManager.getTfaccliente().getPorcentajedescuento()/100)));\r\n\t\t}else{\r\n\t\t\tfacturaDataManager.getTfaccabfactura().setTotaldescuento(new BigDecimal(0));\r\n\t\t}\r\n\t\t//total=totalneto-descuentos+iva\r\n\t\tBigDecimal total=facturaDataManager.getTfaccabfactura().getSubtotalneto().subtract(facturaDataManager.getTfaccabfactura().getTotaldescuento()).add(facturaDataManager.getTfaccabfactura().getIva());\r\n\t\tfacturaDataManager.getTfaccabfactura().setTotal(round(total));\r\n\t}", "title": "" }, { "docid": "09a9e87e22b2f559807b00d907d28753", "score": "0.53186566", "text": "public void CalcularPago(double descuento, int recargo){\n \n if((descuento == 0)&&(recargo == 0)){\n periodosT = tiempoUtilizado / admi_estacionamientos.FXMLVistaController.cobroX;\n totalCancelar = periodosT * admi_estacionamientos.FXMLVistaController.tarifaY;\n //System.out.println(\"\\nTotal a cancelar: Q\"+totalCancelar+\"0 'No aplican descuentos'\");\n }else{\n if(recargo == 0){\n periodosT = tiempoUtilizado / admi_estacionamientos.FXMLVistaController.cobroX;\n totalCancelar = periodosT * admi_estacionamientos.FXMLVistaController.tarifaY;\n \n totalDescuento = totalCancelar * descuento;\n totalCancelar = totalCancelar - totalDescuento;\n //System.out.println(\"\\nTotal a cancelar: Q\"+totalCancelar+\"0 'Aplica 10% de descuento'\");\n }else{\n extra = ((tiempoUtilizado / admi_estacionamientos.FXMLVistaController.cobroX) - 1) * recargo;\n \n periodosT = tiempoUtilizado / admi_estacionamientos.FXMLVistaController.cobroX;\n totalCancelar = (periodosT * admi_estacionamientos.FXMLVistaController.tarifaY) + extra;\n \n //System.out.println(\"\\nTotal a cancelar: Q\"+totalCancelar+\"0 'Recargo de Q5.00 por periodo'\");\n \n FXMLVista_3Controller.ingresosT = (int) (FXMLVista_3Controller.ingresosT + totalCancelar);\n }\n }\n }", "title": "" }, { "docid": "d06b322b65baa60dbfca57c4a8b41044", "score": "0.53171545", "text": "public void lista (Graphics g){\n Graphics2D g2 = (Graphics2D) g;\n DrawingPanel.prvniBarva.getGreen();\n //Inspirace ze cvičení 6\n LinearGradientPaint gradientPaint = new LinearGradientPaint(\n new Point2D.Double(0,0),\n new Point2D.Double(getWidth(),0),\n new float[]{0,1},\n new Color[]{DrawingPanel.posledniBarva,new Color(31,231, 57)}\n );\n g2.setPaint(gradientPaint);\n g2.fillRect(0,0,getWidth(),DrawingPanel.velikostListy);\n g2.translate(0,DrawingPanel.velikostListy);\n g2.setFont(new Font(\"Calibri\",Font.BOLD,20));\n g2.setColor(Color.DARK_GRAY);\n g2.drawString(DrawingPanel.minTeren+\"m.n.m.\",0,0);\n g2.drawString(DrawingPanel.maxTeren+\"m.n.m.\",getWidth()-g2.getFontMetrics().stringWidth(DrawingPanel.maxTeren+\"m.n.m.\"),0);\n }", "title": "" }, { "docid": "c0d6400874ff50f2ffaadb4d0b4a617c", "score": "0.53162503", "text": "private void btnLeitorActionPerformed(java.awt.event.ActionEvent evt) {\n Random aleatorio = new Random();\n vezes++;\n \n Integer porcetagemCPU = 0;\n Integer porcetagemDisco = 0;\n Integer porcetagemMemoria = 0;\n \n porcetagemCPU = aleatorio.nextInt(100)+1;\n porcetagemDisco = aleatorio.nextInt(100)+1;\n porcetagemMemoria = aleatorio.nextInt(100)+1;\n \n pgbCPU.setValue(porcetagemCPU);\n pgbDisco.setValue(porcetagemDisco);\n pgbMemoria.setValue(porcetagemMemoria);\n \n //Primeira rodada\n if (maiorCPU == 0 && maiorDisco == 0 && maiorMemoria == 0 && menorCPU ==101 && menorDisco ==101 && menorMemoria ==101){\n lblMaior01.setText(\"Maior leitura: \" + porcetagemCPU + \"%\");\n lblMaior2.setText(\"Maior leitura: \" + porcetagemDisco + \"%\");\n lblMaior3.setText(\"Maior leitura: \" + porcetagemMemoria + \"%\");\n lblMenor01.setText(\"Menor leitura: \" + porcetagemCPU + \"%\");\n lblMenor2.setText(\"Menor leitura: \" + porcetagemDisco + \"%\");\n lblMenor3.setText(\"Menor leitura: \" + porcetagemMemoria + \"%\");\n }\n \n \n //CPU\n leituraCPU = leituraCPU + porcetagemCPU;\n mediaCPU = leituraCPU/vezes;\n \n lblMedia01.setText(\"Media de leituras: \" + mediaCPU + \"%\");\n \n if (porcetagemCPU > maiorCPU){\n maiorCPU = porcetagemCPU;\n lblMaior01.setText(\"Maior leitura: \" + maiorCPU + \"%\");\n }\n else if(porcetagemCPU < menorCPU){\n menorCPU = porcetagemCPU;\n lblMenor01.setText(\"Menor leitura: \" + menorCPU + \"%\");\n }\n \n \n //Disco\n leituraDisco = leituraDisco + porcetagemDisco;\n mediaDisco = leituraDisco/vezes;\n \n lblMedia2.setText(\"Media de leituras: \" + mediaDisco + \"%\");\n \n if (porcetagemDisco > maiorDisco){\n maiorDisco = porcetagemDisco;\n lblMaior2.setText(\"Maior leitura: \" + maiorDisco + \"%\");\n }\n else if(porcetagemDisco < menorDisco){\n menorDisco = porcetagemDisco;\n lblMenor2.setText(\"Menor leitura: \" + menorDisco + \"%\");\n }\n \n \n //Memoria\n leituraMemoria = leituraMemoria + porcetagemMemoria;\n mediaMemoria = leituraMemoria/vezes;\n \n lblMedia3.setText(\"Media de leituras: \" + mediaMemoria + \"%\");\n \n if (porcetagemMemoria > maiorMemoria){\n maiorMemoria = porcetagemMemoria;\n lblMaior3.setText(\"Maior leitura: \" + maiorMemoria + \"%\");\n }\n else if(porcetagemMemoria < menorMemoria){\n menorMemoria = porcetagemMemoria;\n lblMenor3.setText(\"Menor leitura: \" + menorMemoria + \"%\");\n }\n \n }", "title": "" }, { "docid": "eb79be720335e00e29ee3001eeb1eefb", "score": "0.53159815", "text": "public void tamanios(){\n superior.setPrefHeight(Values.BarraY());\n inferior.setPrefHeight(Values.BarraY());\n panelmenubar.setPrefWidth(Values.PanelAncho());\n superior.setPrefWidth(Values.AppWidht());\n inferior.setPrefWidth(Values.AppWidht());\n panel.setTopAnchor(panelmenubar,Values.PanelYInicio());\n panel.setBottomAnchor(panelmenubar,Values.PanelYInicio());\n panel.setTopAnchor(panelvista,Values.PanelYInicio());\n panel.setLeftAnchor(panelvista, Values.PanelAncho());\n panel.setBottomAnchor(panelvista, Values.BarraY());\n\n }", "title": "" }, { "docid": "babd5c468f0eb6fa045198459682e7a8", "score": "0.5312999", "text": "public static void main(String[] args) {\n\n // MANEJO DE UN PUERTO\n // se crearan las clases de los respectivos contenedores y vehiculos\n\n // inicializaremos los pilas de 5 contenedores (988) y colas de 15 automoviles (369)\n\n // Agregando los contenedores al puerto (988 en total)\n for (int k = 0; k < 200; k++) {\n Con.add(new ArrayList<String>());\n }\n for (int i = 0; i < 198; i++) {\n for (int j = 0; j < 5; j++) {\n Con.get(i).add(\"\" + i + j);\n Pilaregistro.add(\"\" + i + j);\n ConPilas.add(i + 1);\n }\n }\n Con.get(197).remove(4);\n Con.get(197).remove(3);\n Pilaregistro.remove(989);\n Pilaregistro.remove(988);\n for (int i = 0; i < 12; i++) {\n Pilaregistro.add(\"\");\n }\n for (int i = 0; i < 10; i++) {\n if (i < 5) {\n ConPilas.add(199);\n } else {\n ConPilas.add(200);\n }\n }\n PilaVacia.add(200);\n PilaVacia.add(199);\n PilaCupo.add(198);\n\n /*for (int fds = 0; fds < Con.size(); fds++) {\n System.out.print(\" \"+ Con.get(fds));\n }\n System.out.println();*/\n\n // Agregando los vehiculos al puerto (369 en total)\n for (int h = 0; h < 25; h++) {\n Veh.add(new ArrayList<String>());\n }\n for (int i = 0; i < 25; i++) {\n for (int j = 0; j < 15; j++) {\n Veh.get(i).add(\"0\" + i + j);\n Colaregistro.add(\"\" + i + j);\n VehColas.add(i + 1);\n }\n }\n /*Veh.get(197).remove(4);\n Veh.get(197).remove(3);\n Colaregistro.remove(989);\n Colaregistro.remove(988);\n for(int i = 0 ; i < 12 ; i++){\n Colaregistro.add(\"\");\n }\n for(int i = 0; i< 10 ; i++){\n if(i < 5){\n VehColas.add(199);\n }\n else{\n VehColas.add(200);\n }\n }\n ColaVacia.add(200);\n ColaVacia.add(199);\n ColaCupo.add(198);*/\n\n for (int fds = 0; fds < Veh.size(); fds++) {\n System.out.print(\" \" + Veh.get(fds));\n }\n System.out.println();\n\n for (int i = 0; i < Colaregistro.size(); i++) {\n System.out.print(\" \" + Colaregistro.get(i));\n }\n System.out.println();\n\n /*for (int i = 0; i < VehColas.size(); i++) {\n System.out.print(\" \"+ VehColas.get(i));\n }\n System.out.println();*/\n\n for (int i = 0; i < ColaVacia.size(); i++) {\n System.out.print(\" \" + ColaVacia.get(i));\n }\n System.out.println();\n\n String option;\n\n while (true) {\n System.out.println(\"Bienvenido al sistema Cargo Imaginary Company\");\n System.out.println(\"Escoja la opción que más se adecue a sus necesidades \");\n System.out.println(\"Elija el operario de acuerdo a lo que dessea: \");\n System.out.println(\"INGRESE ÚNICAMENTE NÚMEROS ENTEROS\");\n System.out.println(\"1. Operario contenedores \");\n System.out.println(\"2. Operario vehiculos \");\n System.out.println(\"3. Salir \");\n option = input.next();\n if (option.equals(\"1\")) {\n SistemaContenedores();\n } else if (option.equals(\"2\")) {\n SistemaVehiculos();\n } else if (option.equals(\"3\")) {\n break;\n }\n }\n\n }", "title": "" }, { "docid": "a457fcb9808af5bb2e14feaae3ddbd9b", "score": "0.5311075", "text": "private void actualizarTablaEImpuestosYTotales(DtoFactura dto) {\n List<DetalleFactura> listaDetalles = dto.getListaDeDetalles();\n getPantalla().getTablaDetallesFactura().setModel(new ModeloTablaProducto(listaDetalles));\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(0).setPreferredWidth(70); //cantidad\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(1).setPreferredWidth(70); //codigo\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(2).setPreferredWidth(400); //descripcion\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(3).setPreferredWidth(70); //precio unitario\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(4).setPreferredWidth(70); //importe\n\n //alinear a la derecha las columnas\n DefaultTableCellRenderer tcr = new DefaultTableCellRenderer();\n tcr.setHorizontalAlignment(JLabel.RIGHT);\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(0).setCellRenderer(tcr); //cantidad\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(1).setCellRenderer(tcr); //codigo\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(3).setCellRenderer(tcr); //precio unitario\n getPantalla().getTablaDetallesFactura().getColumnModel().getColumn(4).setCellRenderer(tcr); //importe\n\n if(dto.getFactura().getCliente() != null){\n if(dto.getFactura().getTipoFactura().getNombre().equals(\"A\") | dto.getFactura().getTipoFactura().getNombre().equals(\"a\")){\n float subtotal = 0;\n float total = 0;\n float iva21 = 0;\n float iva105 = 0;\n for (DetalleFactura detalleFactura : listaDetalles) {\n if(detalleFactura.getPorcentajeDeIva() == 21){\n float iva = detalleFactura.getPrecioTotal() * (detalleFactura.getPorcentajeDeIva()/100);\n //iva = ((float)Math.round(iva * 100))/100;\n iva21 += iva;\n total += detalleFactura.getPrecioTotal() + iva;\n subtotal += detalleFactura.getPrecioTotal();\n }else{\n float iva = detalleFactura.getPrecioTotal() * (detalleFactura.getPorcentajeDeIva()/100);\n //iva = ((float)Math.round(iva * 100))/100;\n iva105 += iva;\n total += detalleFactura.getPrecioTotal() + iva;\n subtotal += detalleFactura.getPrecioTotal();\n }\n }\n\n total = ((float)Math.round(total * 100))/100;\n subtotal = ((float)Math.round(subtotal * 100))/100;\n iva105 = ((float)Math.round(iva105 * 100))/100;\n iva21 = ((float)Math.round(iva21 * 100))/100;\n experto.settotal(total);\n experto.setSubtotal(subtotal);\n experto.setIva105(iva105);\n experto.setIva21(iva21);\n getPantalla().getSubtotal().setText(Validar.formatearFloatAStringConDosDecimalesYPunto(subtotal));\n getPantalla().getIva21().setText(Validar.formatearFloatAStringConDosDecimalesYPunto(iva21));\n getPantalla().getIva105().setText(Validar.formatearFloatAStringConDosDecimalesYPunto(iva105));\n getPantalla().getTotal().setText(Validar.formatearFloatAStringConDosDecimalesYPunto(total));\n\n //REVISAR LOS DE IMPUESTO Y SUBTOTAL2\n }else{\n float total = 0;\n for (DetalleFactura detalleFactura : listaDetalles) {\n total += detalleFactura.getPrecioTotal();\n }\n total = ((float)Math.round(total * 100))/100;\n experto.settotal(total);\n getPantalla().getTotal().setText(Validar.formatearFloatAStringConDosDecimalesYPunto(total));\n }\n }else{\n getPantalla().getSubtotal().setText(String.valueOf(\"\"));\n getPantalla().getIva21().setText(String.valueOf(\"\"));\n getPantalla().getIva105().setText(String.valueOf(\"\"));\n getPantalla().getTotal().setText(String.valueOf(\"\"));\n\n }\n getPantalla().getCantidad().setText(\"\");\n getPantalla().getCodigo().setText(\"\");\n getPantalla().getDescripcion().setText(\"\");\n getPantalla().getImporte().setText(\"\");\n getPantalla().getPrecioUnitario().setText(\"\");\n getPantalla().getEliminar().setEnabled(false);\n\n }", "title": "" }, { "docid": "bf3f0d80db7741e21c42c5223d54758a", "score": "0.53083855", "text": "private JLabel getLblNombreDeCarrera() {\r\n\t\tif (lblNombreDeCarrera == null) {\r\n\t\t\tlblNombreDeCarrera = new JLabel(\"Nombre de la carrera a filtrar:\");\r\n\t\t\tlblNombreDeCarrera.setHorizontalAlignment(SwingConstants.CENTER);\r\n\t\t\tlblNombreDeCarrera.setVerticalAlignment(SwingConstants.BOTTOM);\r\n\t\t\tlblNombreDeCarrera.setFont(new Font(\"Tahoma\", Font.BOLD | Font.ITALIC, 15));\r\n\t\t}\r\n\t\treturn lblNombreDeCarrera;\r\n\t}", "title": "" }, { "docid": "d441096c8297f70fee0fb4f062a92881", "score": "0.5303338", "text": "private void updatePrayerNumbers()\n\t{\n\t\tspriteManager.addSpriteTo(panel.numMageJLabel, SpriteID.PRAYER_PROTECT_FROM_MAGIC, 0);\n\t\tspriteManager.addSpriteTo(panel.numRangeJLabel, SpriteID.PRAYER_PROTECT_FROM_MISSILES, 0);\n\t\tspriteManager.addSpriteTo(panel.numMeleeJLabel, SpriteID.PRAYER_PROTECT_FROM_MELEE, 0);\n\n\t\tpanel.numMageJLabel.setText(htmlLabel(\": \", String.valueOf(overheadCount[0])));\n\t\tpanel.numRangeJLabel.setText(htmlLabel(\": \", String.valueOf(overheadCount[1])));\n\t\tpanel.numMeleeJLabel.setText(htmlLabel(\": \", String.valueOf(overheadCount[2])));\n\t\tpanel.numMageJLabel.repaint();\n\t\tpanel.numRangeJLabel.repaint();\n\t\tpanel.numMeleeJLabel.repaint();\n\t}", "title": "" }, { "docid": "10457d403a62f108e8c31596f9fe3137", "score": "0.530075", "text": "public void onReorderLabels() {\t\t\t\t\n\t\tint tLabelNum = mMyInterestsGrid.getChildCount();\n\n\t\tfor(int viewIdx=0; viewIdx<tLabelNum; viewIdx++)\n\t\t{\n\t\t\tString tLabelName = ((RenHaiImageView)mMyInterestsGrid.getChildAt(viewIdx)).getText();\n\t\t\tfor(int mapIdx=0; mapIdx<tLabelNum; mapIdx++)\n\t\t\t{\n\t\t\t\tInterestLabelMap tLabelMap = RenHaiInfo.InterestLabel.getMyIntLabel(mapIdx);\n\t\t\t\tif((tLabelMap.getIntLabelName().equals(tLabelName))\n\t\t\t\t\t\t&&(viewIdx != mapIdx))\n\t\t\t\t{\n\t\t\t\t\tInterestLabelMap tLabelMapOrig = RenHaiInfo.InterestLabel.getMyIntLabel(viewIdx);\n\t\t\t\t\tRenHaiInfo.InterestLabel.replaceMyIntLabel(viewIdx, tLabelMap);\n\t\t\t\t\tRenHaiInfo.InterestLabel.replaceMyIntLabel(mapIdx, tLabelMapOrig);\n\t\t\t\t\ttLabelMap.setLabelOrder(viewIdx+1);\n\t\t\t\t\ttLabelMapOrig.setLabelOrder(mapIdx+1);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tmUpdateTimer.resetTimer();\t\t\n\t}", "title": "" }, { "docid": "ab1655d2e6c289ebc2bbd1b332516020", "score": "0.5292493", "text": "@Override\r\n public void datos(){\r\n super.datos();\r\n \r\n if (carga>30){\r\n precio_final=precio_final+50;}\r\n else{\r\n precio_final=precio_final;}\r\n System.out.println(\" Precio final :\"+precio_final);\r\n System.out.println(\" Carga:\"+this.carga);\r\n \r\n }", "title": "" }, { "docid": "24cf3e63338b4a34db00920a1d6b5ce4", "score": "0.52871484", "text": "public static void girar() {\r\n\t\t switch (Pieza.orientacion) {\r\n\t\t\t\r\n\t\t case ORIGINAL:\r\n\t\t\t \r\n\t\t\t \tif( Pieza.c0.gety() - 2 >= 0 && Pieza.c0.gety() - 2 <= 20) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(Pieza.c1.gety() - 1 >= 0 && Pieza.c1.getx() - 1 >= 0 && Pieza.c1.gety() - 1 <= 20 && Pieza.c1.getx() - 1 <= 8) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tif( Pieza.c2.getx() - 2 >= 0 && Pieza.c2.getx() - 2 <= 8) {\r\n\t\t\t \t\t \t\t\r\n\t\t\t\t\t\t\tif(Pieza.c3.gety() + 1 >= 0 && Pieza.c3.getx() - 1 >= 0 && Pieza.c3.gety() + 1 <= 20 && Pieza.c3.getx() - 1 <= 8) {\r\n\t\t\t\t\r\n\t\t\t\t//C0\r\n\t\t \t\t\tPieza.c0.sety(Pieza.c0.gety() - 2);\r\n\t\t\t \t\tPieza.c0.setx(Pieza.c0.getx());\t\r\n\t\t\t\t\r\n\t\t\t\t\tPieza.c0.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c0.setchoca_izquierda(false);\r\n\t\t\t\t\tPieza.c0.setchoca_derecha(true);\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C1\r\n\t\t\t\t\tPieza.c1.sety(Pieza.c1.gety() - 1);\r\n\t\t\t\t\tPieza.c1.setx(Pieza.c1.getx() - 1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c1.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c1.setchoca_izquierda(false);\r\n\t\t\t\t\tPieza.c1.setchoca_derecha(false);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C2\r\n\t\t\t\t\tPieza.c2.sety(Pieza.c2.gety());\r\n\t\t\t\t\tPieza.c2.setx(Pieza.c2.getx() - 2);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c2.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c2.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c2.setchoca_derecha(false);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C3\r\n\t\t\t\t\tPieza.c3.sety(Pieza.c3.gety() + 1);\r\n\t\t\t\t\tPieza.c3.setx(Pieza.c3.getx() - 1);\t\t\t\t\r\n\t\t\t\r\n\t\t\t\t\tPieza.c3.setchocha_abajo(false);\r\n\t\t\t\t\tPieza.c3.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c3.setchoca_derecha(true);\r\n\t\t\t\t\r\n\t\t\t\t\tPieza.orientacion = Pieza.Orientacion.DERECHA;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t \t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t \tcase DERECHA:\r\n\t\t \t\t\r\n\t\t \t\t\r\n\t\t \t\tif( Pieza.c0.getx() - 2 >= 0 && Pieza.c0.getx() - 2 <= 8) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(Pieza.c1.gety() + 1 >= 0 && Pieza.c1.getx() - 1 >= 0 && Pieza.c1.gety() + 1 <= 20 && Pieza.c1.getx() - 1 <= 8) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tif( Pieza.c2.gety() + 2 >= 0 && Pieza.c2.gety() + 2 <= 20) {\r\n\t\t\t \t\t \t\t\r\n\t\t\t\t\t\t\tif(Pieza.c3.gety() + 1 >= 0 && Pieza.c3.getx() + 1 >= 0 && Pieza.c3.gety() + 1 <= 20 && Pieza.c3.getx() + 1 <= 8) {\r\n\t\t\t\t\r\n\t\t\t \t//C0\r\n\t\t\t \t\tPieza.c0.sety(Pieza.c0.gety());\r\n\t\t\t \t\tPieza.c0.setx(Pieza.c0.getx() - 2);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c0.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c0.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c0.setchoca_derecha(true);\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C1\r\n\t\t\t\t\tPieza.c1.sety(Pieza.c1.gety() + 1);\r\n\t\t\t\t\tPieza.c1.setx(Pieza.c1.getx() - 1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c1.setchocha_abajo(false);\r\n\t\t\t\t\tPieza.c1.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c1.setchoca_derecha(true);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C2\r\n\t\t\t\t\tPieza.c2.sety(Pieza.c2.gety() + 2);\r\n\t\t\t\t\tPieza.c2.setx(Pieza.c2.getx());\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c2.setchocha_abajo(false);\r\n\t\t\t\t\tPieza.c2.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c2.setchoca_derecha(false);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C3\r\n\t\t\t\t\tPieza.c3.sety(Pieza.c3.gety() + 1);\r\n\t\t\t\t\tPieza.c3.setx(Pieza.c3.getx() + 1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c3.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c3.setchoca_izquierda(false);\r\n\t\t\t\t\tPieza.c3.setchoca_derecha(true);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.orientacion = Pieza.Orientacion.ALREVES;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t \t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t \tcase ALREVES:\r\n\t\t \t\t\r\n\t\t \t\tif( Pieza.c0.gety() + 2 >= 0 && Pieza.c0.gety() + 2 <= 20) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(Pieza.c1.gety() + 1 >= 0 && Pieza.c1.getx() + 1 >= 0 && Pieza.c1.gety() + 1 <= 20 && Pieza.c1.getx() + 1 <= 8) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tif( Pieza.c2.getx() + 2 >= 0 && Pieza.c2.getx() + 2 <= 8) {\r\n\t\t\t \t\t \t\t\r\n\t\t\t\t\t\t\tif(Pieza.c3.gety() - 1 >= 0 && Pieza.c3.getx() + 1 >= 0 && Pieza.c3.gety() - 1 <= 20 && Pieza.c3.getx() + 1 <= 8) {\r\n\t\t\t\t\r\n\t\t\t \t//C0\r\n\t\t\t \t\tPieza.c0.sety(Pieza.c0.gety() + 2);\r\n\t\t\t \t\tPieza.c0.setx(Pieza.c0.getx());\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c0.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c0.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c0.setchoca_derecha(false);\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C1\r\n\t\t\t\t\tPieza.c1.sety(Pieza.c1.gety() + 1);\r\n\t\t\t\t\tPieza.c1.setx(Pieza.c1.getx() + 1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c1.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c1.setchoca_izquierda(false);\r\n\t\t\t\t\tPieza.c1.setchoca_derecha(false);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C2\r\n\t\t\t\t\tPieza.c2.sety(Pieza.c2.gety());\r\n\t\t\t\t\tPieza.c2.setx(Pieza.c2.getx() + 2);\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c2.setchocha_abajo(false);\r\n\t\t\t\t\tPieza.c2.setchoca_izquierda(false);\r\n\t\t\t\t\tPieza.c2.setchoca_derecha(true);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C3\r\n\t\t\t\t\tPieza.c3.sety(Pieza.c3.gety() - 1);\r\n\t\t\t\t\tPieza.c3.setx(Pieza.c3.getx() + 1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c3.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c3.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c3.setchoca_derecha(true);\r\n\t\t\t\t\r\n\t\t\t\t\tPieza.orientacion = Pieza.Orientacion.IZQUIERDA;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t \t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t \tcase IZQUIERDA:\r\n\t\t \t\t\r\n\t\t \t\tif( Pieza.c0.getx() + 2 >= 0 && Pieza.c0.getx() + 2 <= 8) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(Pieza.c1.gety() - 1 >= 0 && Pieza.c1.getx() + 1 >= 0 && Pieza.c1.gety() - 1 <= 20 && Pieza.c1.getx() + 1 <= 8) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\tif( Pieza.c2.gety() - 2 >= 0 && Pieza.c2.gety() - 2 <= 20) {\r\n\t\t\t \t\t \t\t\r\n\t\t\t\t\t\t\tif(Pieza.c3.gety() - 1 >= 0 && Pieza.c3.getx() - 1 >= 0 && Pieza.c3.gety() - 1 <= 20 && Pieza.c3.getx() - 1 <= 8) {\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t \t//C0\r\n\t\t\t \t\tPieza.c0.sety(Pieza.c0.gety());\r\n\t\t\t \t\tPieza.c0.setx(Pieza.c0.getx() + 2);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c0.setchocha_abajo(false);\r\n\t\t\t\t\tPieza.c0.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c0.setchoca_derecha(true);\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C1\r\n\t\t\t\t\tPieza.c1.sety(Pieza.c1.gety() - 1);\r\n\t\t\t\t\tPieza.c1.setx(Pieza.c1.getx() + 1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c1.setchocha_abajo(false);\r\n\t\t\t\t\tPieza.c1.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c1.setchoca_derecha(true);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C2\r\n\t\t\t\t\tPieza.c2.sety(Pieza.c2.gety() - 2);\r\n\t\t\t\t\tPieza.c2.setx(Pieza.c2.getx());\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c2.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c2.setchoca_izquierda(false);\r\n\t\t\t\t\tPieza.c2.setchoca_derecha(true);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t//C3\r\n\t\t\t\t\tPieza.c3.sety(Pieza.c3.gety() - 1);\r\n\t\t\t\t\tPieza.c3.setx(Pieza.c3.getx() - 1);\r\n\t\t\t\t\t\r\n\t\t\t\t\tPieza.c3.setchocha_abajo(true);\r\n\t\t\t\t\tPieza.c3.setchoca_izquierda(true);\r\n\t\t\t\t\tPieza.c3.setchoca_derecha(false);\r\n\t\t\t\t\r\n\t\t\t\t\tPieza.orientacion = Pieza.Orientacion.ORIGINAL;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t \t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4a634cdc59ae112aa81dc54675244f04", "score": "0.5285782", "text": "public void calculer_translation(){\n\t\tsetX(moduler(plateforme.get_aeroport().calcul_max_min_coordonnees(\"max_x\")) + moduler(plateforme.get_aeroport().calcul_max_min_coordonnees(\"min_x\")));\n\t\tsetY(moduler(plateforme.get_aeroport().calcul_max_min_coordonnees(\"max_y\")) + moduler(plateforme.get_aeroport().calcul_max_min_coordonnees(\"min_y\")));\n\t\tsetX_translation(((getX()/2)*get_zoom()));\n\t\tsetY_translation(((getY()/2)*get_zoom()));\n\t}", "title": "" }, { "docid": "3f5062af006159d45d0655cdd66478be", "score": "0.52847475", "text": "public void formatotabla2() {\n DefaultTableCellRenderer modelocentrar = new DefaultTableCellRenderer();\n modelocentrar.setHorizontalAlignment(SwingConstants.CENTER);\n //TableColumn representa todos los atributos de una columna en un JTable , como el ancho, resizibility, mínimo y máximo ancho\n //en este caso defien el ancho de cada columna las cuales pueden ser de distinto ancho.\n TableColumn column;// = null;\n for (int i = 0; i < 8; i++) {\n column = tablacomprasporpagar.getColumnModel().getColumn(i);\n if (i == 0 || i == 1) {\n column.setMaxWidth(0);\n column.setMinWidth(0);\n } else if (i > 2 & i <= 5) {\n column.setPreferredWidth(30);//Difine el ancho de la columna\n tablacomprasporpagar.getColumnModel().getColumn(i).setCellRenderer(modelocentrar);\n } else if (i == 2 || i == 6 || i == 7) {\n column.setPreferredWidth(45);//Difine el ancho de la columna\n tablacomprasporpagar.getColumnModel().getColumn(i).setCellRenderer(modelocentrar);\n }\n }\n }", "title": "" }, { "docid": "2fb0e23ed80c89e76a089b16db8ba258", "score": "0.5284018", "text": "private void actualizarRecorridoUi(Jugador Actual) {\r\n int index = 0;\r\n int indexPlace = 0;\r\n List<JLabel> recorrido;\r\n if (this.Control.getPlayer1().equals(Actual)) {\r\n recorrido = this.VentanaJuego.getP1Move();\r\n } else {\r\n recorrido = this.VentanaJuego.getP2Move();\r\n }\r\n for (JLabel JL : recorrido) {\r\n JL.setText(\"\");\r\n }\r\n for (JLabel JL : recorrido) {\r\n if (Actual.getCurrentPath().size() - 1 < index) {\r\n break;\r\n }\r\n indexPlace = Actual.getCurrentPath().get(index);\r\n JL.setText(this.Control.getCity().getPlaces().get(indexPlace).getName());\r\n\r\n index++;\r\n\r\n }\r\n\r\n }", "title": "" }, { "docid": "1b8ce2b410aa32ad33b67be29871cec0", "score": "0.5282586", "text": "public void incrementaPrincesas()\n {\n contadorPuntos.add(20);\n ayudaAlRey();\n }", "title": "" }, { "docid": "e545e7354c67ce6d6802a861c7008732", "score": "0.52767587", "text": "public void DefineGrandeza() {\n\t\t/* Dourado e Prateado */\n\t\tif (resultado < 1) {\n\t\t\tsaidaGrandeza.setText(\"Ω\");\n\t\t}\n\t\t/* Preto, Marrom e Vermelho */\n\t\tif (resultado >= 1 && resultado < 1000) {\n\t\t\tsaidaGrandeza.setText(\"Ω\");\n\t\t}\n\t\t/* Laranja, Amarelo e Verde */\n\t\tif (resultado >= 1000 && resultado < 1000000) {\n\t\t\tsaidaGrandeza.setText(\"K Ω\");\n\t\t}\n\t\t/* Azul, Violeta e Cinza */\n\t\tif (resultado >= 1000000 && resultado < 1000000000) {\n\t\t\tsaidaGrandeza.setText(\"M Ω\");\n\t\t}\n\t\t/* Branco */\n\t\tif (resultado >= 1000000000) {\n\t\t\tsaidaGrandeza.setText(\"G Ω\");\n\t\t}\n\t}", "title": "" }, { "docid": "8c865f497ec9d17efb7ce22b18a6182a", "score": "0.5275817", "text": "public static void main(String[] args) {\n \n\n//every g is an object that corresponding to a day e.g. g1 is 1 march\n Italia g1 = new Italia();\n g1.positivi = 1577;\n g1.guariti = 83;\n g1.morti = 34;\n g1.totali = 1694;\n \n Italia g2 = new Italia();\n g2.positivi = 1835;\n g2.guariti = 149;\n g2.morti = 52;\n g2.totali = 2036;\n \n Italia g3 = new Italia();\n g3.positivi = 2263;\n g3.guariti = 160;\n g3.morti = 79;\n g3.totali = 2502;\n \n Italia g4 = new Italia();\n g4.positivi = 2706;\n g4.guariti = 276;\n g4.morti = 107;\n g4.totali = 3089; \n \n Italia g5 = new Italia();\n g5.positivi = 3296;\n g5.guariti = 414;\n g5.morti = 148;\n g5.totali = 3858;\n \n Italia g6 = new Italia();\n g6.positivi = 3916;\n g6.guariti = 523;\n g6.morti = 197;\n g6.totali = 4636;\n \n Italia g7 = new Italia();\n g7.positivi = 5061;\n g7.guariti = 589;\n g7.morti = 233;\n g7.totali = 5883;\n \n Italia g8 = new Italia();\n g8.positivi = 6387;\n g8.guariti = 622;\n g8.morti = 366;\n g8.totali = 7375;\n \n// Non ho trovato nessun bollettino per il giorno 9 marzo, quindi questa parte di codice sarà vuota\n\n Italia g10 = new Italia();\n g10.positivi = 8514;\n g10.guariti = 1004;\n g10.morti = 631;\n g10.totali = 10149;\n \n Italia g11 = new Italia();\n g11.positivi = 10590;\n g11.guariti = 1045;\n g11.morti = 827;\n g11.totali = 12462;\n \n Italia g12 = new Italia();\n g12.positivi = 12839;\n g12.guariti = 1258;\n g12.morti = 1016;\n g12.totali = 15113;\n \n Italia g13 = new Italia();\n g13.positivi = 14955;\n g13.guariti = 1439;\n g13.morti = 1266;\n g13.totali = 17660; \n \n Italia g14 = new Italia();\n g14.positivi = 17750;\n g14.guariti = 1966 ;\n g14.morti = 1441 ;\n g14.totali = 21157 ;\n \n Italia g15 = new Italia();\n g15.positivi = 20603;\n g15.guariti = 2335 ;\n g15.morti = 1809 ;\n g15.totali = 24747 ;\n \n Italia g16 = new Italia();\n g16.positivi = 23073;\n g16.guariti = 2749 ;\n g16.morti = 2158 ;\n g16.totali = 27980 ;\n \n Italia g17 = new Italia();\n g17.positivi = 26062;\n g17.guariti = 2941 ;\n g17.morti = 2503 ;\n g17.totali = 31506 ;\n \n Italia g18 = new Italia();\n g18.positivi = 28710;\n g18.guariti = 4025 ;\n g18.morti = 2978 ;\n g18.totali = 35713 ;\n \n Italia g19 = new Italia();\n g19.positivi = 33190;\n g19.guariti = 4440 ;\n g19.morti = 3405 ;\n g19.totali = 41035 ;\n \n Italia g20 = new Italia();\n g20.positivi = 37860;\n g20.guariti = 5129 ;\n g20.morti = 4032 ;\n g20.totali = 47021 ;\n \n Italia g21 = new Italia();\n g21.positivi = 42681;\n g21.guariti = 6072 ;\n g21.morti = 4825 ;\n g21.totali = 53578 ;\n \n Italia g22 = new Italia();\n g22.positivi = 46638;\n g22.guariti = 7024 ;\n g22.morti = 5476 ;\n g22.totali = 59138 ;\n \n Italia g23 = new Italia();\n g23.positivi = 50418 ;\n g23.guariti = 7432 ;\n g23.morti = 6077 ;\n g23.totali = 63927 ;\n \n Italia g24 = new Italia();\n g24.positivi = 54030 ;\n g24.guariti = 8326 ;\n g24.morti = 6820 ;\n g24.totali = 69176 ; \n \n Scanner date =new Scanner (System.in);\n System.out.println(\"Scrivi il numero del giorno del bollettino che vuoi ti venga mostrato\");\n Integer newDate = date.nextInt();\n //this creates a scanner to get a number from the user \n\n\n if(newDate>31) {\n System.out.println(\"Non è stato trovato alcun bollettino corrispondente al giorno da lei richiesto.\");\n } \n//this say that if the user insert a number greater than 31,it will catalogued as an error\n\n switch (newDate) {\n //case 1 is 1 March, case 2 is 2 March, etc.. \n case 1:\n System.out.println(\"Bollettino dell'1 Marzo\");\n System.out.println(g1.positivi + \" positivi\");\n System.out.println(g1.guariti + \" guariti\");\n System.out.println(g1.morti + \" morti\");\n System.out.println(g1.totali + \" casi totali\");\n break;\n \n case 2:\n System.out.println(\"Bollettino del 2 Marzo\");\n System.out.println(g2.positivi + \" positivi\");\n System.out.println(g2.guariti + \" guariti\");\n System.out.println(g2.morti + \" morti\");\n System.out.println(g2.totali + \" casi totali\");\n break;\n \n case 3:\n System.out.println(\"Bollettino del 3 Marzo\");\n System.out.println(g3.positivi + \" positivi\");\n System.out.println(g3.guariti + \" guariti\");\n System.out.println(g3.morti + \" morti\");\n System.out.println(g3.totali + \" casi totali\");\n break;\n \n case 4:\n System.out.println(\"Bollettino del 4 Marzo\");\n System.out.println(g4.positivi + \" positivi\");\n System.out.println(g4.guariti + \" guariti\");\n System.out.println(g4.morti + \" morti\");\n System.out.println(g4.totali + \" casi totali\");\n break;\n \n case 5:\n System.out.println(\"Bollettino del 5 Marzo\");\n System.out.println(g5.positivi + \" positivi\");\n System.out.println(g5.guariti + \" guariti\");\n System.out.println(g5.morti + \" morti\");\n System.out.println(g5.totali + \" casi totali\");\n break;\n \n case 6:\n System.out.println(\"Bollettino del 6 Marzo\");\n System.out.println(g6.positivi + \" positivi\");\n System.out.println(g6.guariti + \" guariti\");\n System.out.println(g6.morti + \" morti\");\n System.out.println(g6.totali + \" casi totali\");\n break;\n \n case 7:\n System.out.println(\"Bollettino del 7 Marzo\");\n System.out.println(g7.positivi + \" positivi\");\n System.out.println(g7.guariti + \" guariti\");\n System.out.println(g7.morti + \" morti\");\n System.out.println(g7.totali + \" casi totali\");\n break;\n \n case 8:\n System.out.println(\"Bollettino del 8 Marzo\");\n System.out.println(g8.positivi + \" positivi\");\n System.out.println(g8.guariti + \" guariti\");\n System.out.println(g8.morti + \" morti\");\n System.out.println(g8.totali + \" casi totali\");\n break;\n \n case 9:\n System.out.println(\"Non è stato trovato alcun bollettino corrispondente al 9 marzo\");\n break;\n \n case 10:\n System.out.println(\"Bollettino del 10 Marzo\");\n System.out.println(g10.positivi + \" positivi\");\n System.out.println(g10.guariti + \" guariti\");\n System.out.println(g10.morti + \" morti\");\n System.out.println(g10.totali + \" casi totali\");\n break;\n \n case 11:\n System.out.println(\"Bollettino del 11 Marzo\");\n System.out.println(g11.positivi + \" positivi\");\n System.out.println(g11.guariti + \" guariti\");\n System.out.println(g11.morti + \" morti\");\n System.out.println(g11.totali + \" casi totali\");\n break;\n \n case 12:\n System.out.println(\"Bollettino del 12 Marzo\");\n System.out.println(g12.positivi + \" positivi\");\n System.out.println(g12.guariti + \" guariti\");\n System.out.println(g12.morti + \" morti\");\n System.out.println(g12.totali + \" casi totali\");\n break;\n \n case 13:\n System.out.println(\"Bollettino del 13 Marzo\");\n System.out.println(g13.positivi + \" positivi\");\n System.out.println(g13.guariti + \" guariti\");\n System.out.println(g13.morti + \" morti\");\n System.out.println(g13.totali + \" casi totali\");\n break; \n \n case 14:\n System.out.println(\"Bollettino del 14 Marzo\");\n System.out.println(g14.positivi + \" positivi\");\n System.out.println(g14.guariti + \" guariti\");\n System.out.println(g14.morti + \" morti\");\n System.out.println(g14.totali + \" casi totali\");\n break;\n \n case 15:\n System.out.println(\"Bollettino del 15 Marzo\");\n System.out.println(g15.positivi + \" positivi\");\n System.out.println(g15.guariti + \" guariti\");\n System.out.println(g15.morti + \" morti\");\n System.out.println(g15.totali + \" casi totali\");\n break;\n \n case 16:\n System.out.println(\"Bollettino del 16 Marzo\");\n System.out.println(g16.positivi + \" positivi\");\n System.out.println(g16.guariti + \" guariti\");\n System.out.println(g16.morti + \" morti\");\n System.out.println(g16.totali + \" casi totali\");\n break;\n \n case 17:\n System.out.println(\"Bollettino del 17 Marzo\");\n System.out.println(g17.positivi + \" positivi\");\n System.out.println(g17.guariti + \" guariti\");\n System.out.println(g17.morti + \" morti\");\n System.out.println(g17.totali + \" casi totali\");\n break;\n \n case 18:\n System.out.println(\"Bollettino del 18 Marzo\");\n System.out.println(g18.positivi + \" positivi\");\n System.out.println(g18.guariti + \" guariti\");\n System.out.println(g18.morti + \" morti\");\n System.out.println(g18.totali + \" casi totali\");\n break;\n \n case 19:\n System.out.println(\"Bollettino del 19 Marzo\");\n System.out.println(g19.positivi + \" positivi\");\n System.out.println(g19.guariti + \" guariti\");\n System.out.println(g19.morti + \" morti\");\n System.out.println(g19.totali + \" casi totali\");\n break;\n \n case 20:\n System.out.println(\"Bollettino del 20 Marzo\");\n System.out.println(g20.positivi + \" positivi\");\n System.out.println(g20.guariti + \" guariti\");\n System.out.println(g20.morti + \" morti\");\n System.out.println(g20.totali + \" casi totali\");\n break;\n \n case 21:\n System.out.println(\"Bollettino del 21 Marzo\");\n System.out.println(g21.positivi + \" positivi\");\n System.out.println(g21.guariti + \" guariti\");\n System.out.println(g21.morti + \" morti\");\n System.out.println(g21.totali + \" casi totali\");\n break;\n \n case 22:\n System.out.println(\"Bollettino del 22 Marzo\");\n System.out.println(g22.positivi + \" positivi\");\n System.out.println(g22.guariti + \" guariti\");\n System.out.println(g22.morti + \" morti\");\n System.out.println(g22.totali + \" casi totali\");\n break;\n \n case 23:\n System.out.println(\"Bollettino del 23 Marzo\");\n System.out.println(g23.positivi + \" positivi\");\n System.out.println(g23.guariti + \" guariti\");\n System.out.println(g23.morti + \" morti\");\n System.out.println(g23.totali + \" casi totali\");\n break; \n \n case 24:\n System.out.println(\"Bollettino del 24 Marzo\");\n System.out.println(g24.positivi + \" positivi\");\n System.out.println(g24.guariti + \" guariti\");\n System.out.println(g24.morti + \" morti\");\n System.out.println(g24.totali + \" casi totali\");\n break;\n }\n \n }", "title": "" }, { "docid": "c9c926ee87ce67e87e963c66a92c1aa6", "score": "0.5272152", "text": "public float getCalorias100g()\n {\n float calorias;\n calorias = 0;\n calorias = calorias + (this.proteinas * 4);\n calorias = calorias + (this.carbohidratos * 4);\n calorias = calorias + (this.grasas * 9);\n return calorias;\n }", "title": "" }, { "docid": "aa223e24c4e8a535b2419a79337995c7", "score": "0.5266426", "text": "public void optimize (Graphics2D g) throws Exception {\n\n\t\tchoices.clear (); \n double scale = mapView.getScale( g );\n GeoTransform projection = mapView.getProjection();\n \n\t\t// used to signal the LabelDisplayElement that it should\n\t\t// not create Labels itself (in any case)\n\t\tLabel [] dummyLabels = new Label [0];\n \n // collect LabelChoices for all LabelDisplayElements\n for (int i = 0; i < displayElements.size (); i++) {\n\n LabelDisplayElement element = (LabelDisplayElement) displayElements.get (i);\n if (!element.doesScaleConstraintApply( scale ) ) continue;\n\n\t\t\telement.setLabels (dummyLabels);\n\t\t\tchoices.addAll (LabelChoiceFactory.createLabelChoices(element, g, projection));\n }\n\n\t\tbuildCollisionMatrix ();\n\n\t\t// do the magic\n\t\ttry {\n\t\t\tanneal ();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// sets the optimized labels to the LabelDisplayElements, so\n\t\t// they are considered when the DisplayElements are painted the next\n\t\t// time \n\t\t\n\t\tfor (int i = 0; i < choices.size(); i++) {\n\t\t\tLabelChoice choice = (LabelChoice)choices.get( i );\n\t\t\tchoice.getElement ().addLabel (choice.getSelectedLabel ());\n\t\t}\n }", "title": "" }, { "docid": "fd0d924d40be123c819b94b0813339f6", "score": "0.5262132", "text": "@Override\r\n public void hallarPerimetro() {\r\n\r\n setPerimetro(getLado1() + getLado2() + getLado3());\r\n\r\n }", "title": "" }, { "docid": "898cf1d218bb31dbb0b3c61d48278caf", "score": "0.5261089", "text": "@Override\n public void initMilestoneLabels() {\n Gameboard_GUI.tilesLeftLbl.setText(\"Tiles Remaining : \" + String.valueOf(tilesLeft)); //initializing gameWindow labels\n Gameboard_GUI.triesLeftLbl.setText(\"Tries Remaining : \" + String.valueOf(allowedTries));\n }", "title": "" }, { "docid": "1d0b4946f1d6b0d63c225848c867759f", "score": "0.5259248", "text": "private void mudaAngulo(ModeloAmbiente mA, double angulo, boolean isProjetil) {\r\n\t\tmA.getmP().setAnguloRotacaoGraus(angulo);\r\n\t\tif (!isProjetil)\r\n\t\t\tModeloAmbiente.anguloInclinacaoGraus = angulo;\r\n\t\telse\r\n\t\t\tModeloAmbiente.anguloInclinacaoGraus = 0;\r\n\t}", "title": "" }, { "docid": "7449ecedd2c961c77df6d2c2502a3339", "score": "0.52528465", "text": "@Override\n public void onClick(View v) {\n segmentacion();\n separarpies();\n //Proceso en el pie derecho\n puntos1y1p(0);\n puntos2y2p(0);\n medfund(0);\n valorx(0);\n valory(0);\n dibujar_lineas(0);\n dibujar_puntos(0);\n\n //Proceso en el pie Izquierdo\n espejo(1);\n puntos1y1p(1);\n puntos2y2p(1);\n medfund(1);\n valorx(1);\n valory(1);\n ajuste_punto(1);\n espejo(1);\n dibujar_lineas(1);\n dibujar_puntos(1);\n\n //Proceso de visualizacion\n imshow();\n procesar.setVisibility(View.GONE);\n }", "title": "" } ]
87643267cc3effddf6921123b68275fa
Setzt den Wert der Zelle den ein Spieler in eine Sudokufeld eintragen wuerde.
[ { "docid": "1bd7956bef7bb6d72a0a45ea46b26f3e", "score": "0.0", "text": "public void setValue(int value) {\n this.value = value;\n }", "title": "" } ]
[ { "docid": "89ca6fb6d31a2380fd5dce4f60c8ef0a", "score": "0.6882311", "text": "public void setSpalte(int spalte) {\n\t\tReusableZuege.spalte = spalte;\n\t}", "title": "" }, { "docid": "cfd439e63d4aad9138baf7969d36201a", "score": "0.64078724", "text": "@Override\n\tpublic void setSeuil(double unSeuil) {\n\n\t}", "title": "" }, { "docid": "17d98114e01862a4ff5f6cf0a3d25779", "score": "0.6271371", "text": "private void spelerSleutelPakken() {\n //Controlleer of speler op een sleutel staat\n if (speelVeld[spelerPos.getY()][spelerPos.getX()].getSpelElement() instanceof Sleutel) {\n //Verplaats sleutel naar zak van speler\n speler.setSleutel((Sleutel) speelVeld[spelerPos.getY()][spelerPos.getX()].getSpelElement());\n //Verwijder de sleutel van het veld\n speelVeld[spelerPos.getY()][spelerPos.getX()].verwijderSpelElement();\n levelCells[spelerPos.getY()][spelerPos.getX()].removeAll();\n revalidate();\n repaint();\n }\n }", "title": "" }, { "docid": "a72ad71555368f483e6b1bbebe3bd93f", "score": "0.62681353", "text": "public void spracheAktualisieren() {\r\n\t\tsetSprache();\r\n\t\tthis.willkommen.setText(willkommenString + \" \" + u.getBenutzername());\r\n\t\tthis.karteiBez.setText(karteiString);\r\n\t\tthis.spracheBez.setText(spracheString);\r\n\t}", "title": "" }, { "docid": "5a950a07b8917a2dcda7df204357ae51", "score": "0.61442727", "text": "public void setSprache() {\r\n\t\tLocale l = new Locale(u.getBenutzersprache());\r\n\t\tResourceBundle r = ResourceBundle.getBundle(\"Controller/Bundle\", l);\r\n\t\tthis.willkommenString = r.getString(\"willkommen\");\r\n\t\tthis.karteiString = r.getString(\"kartei\");\r\n\t\tthis.spracheString = r.getString(\"benutzersprache\");\r\n\t}", "title": "" }, { "docid": "ed1baeedba2694fd6076f1f70a8643e8", "score": "0.6108969", "text": "public void setSword(sword s){\n\t\tespada = s;\n\t}", "title": "" }, { "docid": "5db4825c59d4e1ef19eabadaac1a8035", "score": "0.60926133", "text": "public void pruefungSpeichern() {\n\n AktuelleSitzung aktuelleSitzung = AktuelleSitzung.getAktuelleSitzung();\n Aufgabe aufgabe = AktuelleSitzung.getAufgabe();\n\n Pruefung pruefung = new Pruefung();\n\n pruefung.setBezeichnung(aufgabe.getBezeichnung());\n pruefung.setDatum(aufgabe.getDatum());\n pruefung.setDauer(aufgabe.getDauer());\n pruefung.setKommentar(aufgabe.getKommentar());\n pruefung.setTerminTyp(aufgabe.getTerminTyp());\n pruefung.setUhrzeit(aufgabe.getUhrzeit());\n pruefung.setWiederholbarkeitTermin(aufgabe.getWiederholbarkeitTermin());\n Markierung marker = (Markierung) cbMarker.getSelectedItem();\n pruefung.setMarkierung(marker);\n String gebaeude = tGebaeude.getText();\n pruefung.setGebaeude(gebaeude);\n\n String raumnummer = tRaum.getText();\n pruefung.setRaumnummer(raumnummer);\n\n String zugehoerigVeranstaltung = tZugehoerigV.getText();\n pruefung.setZugehoerendeVeranstaltung(zugehoerigVeranstaltung);\n\n aktuelleSitzung.setPruefung(pruefung);\n }", "title": "" }, { "docid": "b3ff8d8cd5c9d2d1c5ea4c22c38d8e6f", "score": "0.6091611", "text": "@Override\n\tpublic void setzeLesezeichen() {\n\n\t}", "title": "" }, { "docid": "e1cf23de411d7e31419315e9120392cc", "score": "0.6021005", "text": "public void sets(String sir){\n\t\tthis.s = sir;\n\t}", "title": "" }, { "docid": "ec4614b7be89b15bcaef67b30f3ad36b", "score": "0.6002377", "text": "@Override\n\tpublic void setPlayerOnPosition(Position pos, Spieler sp) {\n\t\tif(pos == null)\n\t\t\treturn;\n\t\t\n\t\tfeld[pos.getX()][pos.getY()] = sp;\n\t}", "title": "" }, { "docid": "273dbb157e2dcfdf0d2b0d1bfe13d5de", "score": "0.5999895", "text": "public void set_sp(String s) {\n specializzazione = s;\n }", "title": "" }, { "docid": "4f77d7d0205e3ee3437d0a209b31a04e", "score": "0.5909854", "text": "public Sted (String beskrivelse) {\r\n\t\tthis.beskrivelse= beskrivelse;\r\n\t\tthis.kiste = new Skattkiste();\r\n\t}", "title": "" }, { "docid": "ad361ba25e709edf5ca30618fd27d4f7", "score": "0.58557755", "text": "void setTrumpf(Karte karte);", "title": "" }, { "docid": "7df03929236d99177a887af9f5acc141", "score": "0.58332354", "text": "protected void reset() {\n\t\tsetCursor(finvisiCursor);\n\t\tif (fspieler == null) {\n\t\t\tfspieler = new TSpieler(fschwierigkeit);\n\t\t} else {\n\t\t\tfspieler.setSchwierigkeit(fschwierigkeit);\n\t\t\tfspieler.leereWaffenListe();\n\t\t}\n\n\t\tTSharedObjects.getPartikelVerwaltung().reset();\n\t\tfor(TLebewesen lw: flebewesen) {\n\t\t\tlw.ende(false, null);\n\t\t}\n\t\tflebewesen.clear();\n\t\tfgeschosse.clear();\n\t\tfitems.clear();\n\t\tfobjekte.clear();\n\t\tflebewesen.add(fspieler);\n\t\tfspieler.setKoord(new TVektor(5, 200));\n\t\tif (!fapplet) {\n\t\t\tTSharedObjects.getMain().enableMenuItem(\"spiel_speichern\", true);\n\t\t}\n\t\tTWaffe.resetStatistik();\n\t}", "title": "" }, { "docid": "55aa1e00ffafcae3b31b575f952a2e44", "score": "0.58275396", "text": "public void setTransportista(Transportista transportista)\r\n/* 264: */ {\r\n/* 265:264 */ this.transportista = transportista;\r\n/* 266: */ }", "title": "" }, { "docid": "1bdf38a376c725901894188e13815fc8", "score": "0.58089703", "text": "@Override\n\t\t\t\tpublic void ifSecPswSet(boolean isSet) {\n\t\t\t\t\tsetViewDis(isSet);\n\t\t\t\t}", "title": "" }, { "docid": "5e802394cce4dfbe43e5bb430a06f2fd", "score": "0.57889587", "text": "public void setIdStanzaNord(Integer idStanzaNord) {this.idStanzaNord = idStanzaNord;}", "title": "" }, { "docid": "ffdc3737ca206db46242727a760277a0", "score": "0.57684374", "text": "@Test\n public void testSetDoc_sueldo() {\n System.out.println(\"setDoc_sueldo\");\n double doc_sueldo = 0.0;\n Docente instance = null;\n instance.setDoc_sueldo(doc_sueldo);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "4bee582d88a83532998e3ab63f42b429", "score": "0.57549983", "text": "public void setSword(Sword sword) {\n \tthis.sword = sword;\n }", "title": "" }, { "docid": "23e074232eeae29da1a08807be5f1862", "score": "0.5717797", "text": "public void skry() {\n this.obdlznik.skry();\n }", "title": "" }, { "docid": "548d52f484a1347deab01b5f1e583433", "score": "0.57173103", "text": "public void update(Spielfeld spielfeld);", "title": "" }, { "docid": "8c10735ee8ab9d0e28d8956c2db105d6", "score": "0.57036084", "text": "public void setSpookjeNull(Spookje spookje){\n switch(spookje.naam) {\n case \"inky\":\n this.inky = null;\n break;\n case \"blinky\":\n this.blinky = null;\n break;\n case \"pinky\":\n this.pinky = null;\n break;\n case \"clyde\":\n this.clyde = null;\n break;\n default:\n break;\n }\n }", "title": "" }, { "docid": "a92733fc36f9b3d1b44d75cc4838e5bc", "score": "0.57008946", "text": "void setTsp(Tsp t)\n{\n tspp = t; \n}", "title": "" }, { "docid": "8d11c4ce86eb40825e5d090fdbc3e987", "score": "0.5699103", "text": "public void setTransportista(Transportista transportista)\r\n/* 174: */ {\r\n/* 175:203 */ this.transportista = transportista;\r\n/* 176: */ }", "title": "" }, { "docid": "3ac381d82ac67bfb485b2052d1860372", "score": "0.5695606", "text": "public void veranstaltungSpeichern() {\n\n AktuelleSitzung aktuelleSitzung = AktuelleSitzung.getAktuelleSitzung();\n Aufgabe aufgabe = AktuelleSitzung.getAufgabe();\n\n Veranstaltung veranstaltung = new Veranstaltung();\n\n veranstaltung.setBezeichnung(aufgabe.getBezeichnung());\n veranstaltung.setDatum(aufgabe.getDatum());\n veranstaltung.setDauer(aufgabe.getDauer());\n veranstaltung.setKommentar(aufgabe.getKommentar());\n veranstaltung.setTerminTyp(aufgabe.getTerminTyp());\n veranstaltung.setUhrzeit(aufgabe.getUhrzeit());\n veranstaltung\n .setWiederholbarkeitTermin(aufgabe.getWiederholbarkeitTermin());\n Markierung marker = (Markierung) cbMarker.getSelectedItem();\n veranstaltung.setMarkierung(marker);\n \n String gebaeude = tGebaeude.getText();\n veranstaltung.setGebaeude(gebaeude);\n\n String raumnummer = tRaum.getText();\n veranstaltung.setRaumnummer(raumnummer);\n\n String dozent = tDozent.getText();\n veranstaltung.setDozent(dozent);\n\n String ects = tEcts.getText();\n veranstaltung.setEcts(ects);\n\n aktuelleSitzung.setVeranstaltung(veranstaltung);\n }", "title": "" }, { "docid": "b198731038ad4f2b14a208b4234e67a7", "score": "0.5669417", "text": "public void speichere() {\n\t\tif (fspieler != null) {\n\t\t\ttry {\n\t\t\t\tTSavegame.speichere(fspieler, flevel);\n\t\t\t\tfmeldung.setTimeoutText(\"Spiel gespeichert.\");\n\t\t\t\tTSharedObjects.getMain().enableMenuItem(\"spiel_laden\", true);\n\t\t\t} catch (Exception e) {\n\t\t\t\tfmeldung.setTimeoutText(\"Spiel speichern fehlgeschlagen!\");\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "d72c8722bd1b7d7f5e0d74a3e9c10bca", "score": "0.56620705", "text": "public void setIdSucursal(int idSucursal)\r\n/* 144: */ {\r\n/* 145:168 */ this.idSucursal = idSucursal;\r\n/* 146: */ }", "title": "" }, { "docid": "b998581fce69583b0c9b824857dc55e6", "score": "0.56395406", "text": "@Override\n\tpublic void setPlayerOnPosition(Position pos, Spieler sp) {\n\t\t\n\t}", "title": "" }, { "docid": "0dc19c9f32337ae069d6046a16fc2722", "score": "0.5595345", "text": "public SyotteenKasittelija() {\n this.asetukset = new Asetukset();\n }", "title": "" }, { "docid": "0507eb46bdee1eb2862ebaa8dd1b1a5d", "score": "0.55911803", "text": "public void setIdSucursal(int idSucursal)\r\n/* 102: */ {\r\n/* 103:186 */ this.idSucursal = idSucursal;\r\n/* 104: */ }", "title": "" }, { "docid": "5136bc91fdd454909e9b53613750367f", "score": "0.5586778", "text": "public void set() {\n init();\r\n }", "title": "" }, { "docid": "85e098805002868c8e5b9103bcaa9652", "score": "0.55804056", "text": "public void setSplace(String splace) {\n this.splace = splace;\n }", "title": "" }, { "docid": "cb7da6826a1c51fb1bd56c8df0fd0592", "score": "0.55796874", "text": "@Test\n public void testSetUndMedida() {\n System.out.println(\"setUndMedida\");\n String undMedida = \"\";\n DetalleGuiaRemisionDTO instance = null;\n instance.setUndMedida(undMedida);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "8fe77e499a76ad1895db813a3168cfc4", "score": "0.5574522", "text": "public void setDeskripsi(String deskripsi)\n {\n deskripsiLokasi = deskripsi;\n }", "title": "" }, { "docid": "b7addcc8afc2a673736a6340f16b80d3", "score": "0.55674225", "text": "@Test\n public void testSetPossuiAlergia() {\n System.out.println(\"setPossuiAlergia\");\n String possuiAlergia = \"\";\n DependentePedagogia instance = new DependentePedagogia();\n instance.setPossuiAlergia(possuiAlergia);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "19e6568187f4707aaa9705d96f7506f8", "score": "0.5526891", "text": "public void setIdSucursal(int idSucursal)\r\n/* 125: */ {\r\n/* 126:223 */ this.idSucursal = idSucursal;\r\n/* 127: */ }", "title": "" }, { "docid": "5ad3a740e6bc6dfc01354c6c35baa58d", "score": "0.55252266", "text": "@Test\n public void testSetPastaEspecialVIJ() {\n System.out.println(\"setPastaEspecialVIJ\");\n String pastaEspecialVIJ = \"\";\n DependentePedagogia instance = new DependentePedagogia();\n instance.setPastaEspecialVIJ(pastaEspecialVIJ);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "a27ceb0bc502461611927e6e8048b339", "score": "0.5501555", "text": "public void tastenLoslassen() {\n\t\tif (fspieler != null) {\n\t\t\tfspieler.bewegen(TSpieler.Bewegung.rechts, false);\n\t\t\tfspieler.bewegen(TSpieler.Bewegung.links, false);\n\t\t\tfspieler.bewegen(TSpieler.Bewegung.unten, false);\n\t\t\tfspieler.bewegen(TSpieler.Bewegung.oben, false);\n\t\t}\n\t}", "title": "" }, { "docid": "ab62674cfbb1c82f991882d937a91d0a", "score": "0.5493493", "text": "public void setPartidaPresupuestariaPadre(PartidaPresupuestaria partidaPresupuestariaPadre)\r\n/* 192: */ {\r\n/* 193:357 */ this.partidaPresupuestariaPadre = partidaPresupuestariaPadre;\r\n/* 194: */ }", "title": "" }, { "docid": "fd84f961de000e3bca9057971cd36e5c", "score": "0.5491891", "text": "@Test\n public void testSetPossuiDoenca() {\n System.out.println(\"setPossuiDoenca\");\n String possuiDoenca = \"\";\n DependentePedagogia instance = new DependentePedagogia();\n instance.setPossuiDoenca(possuiDoenca);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "26a4f7c1f6df91337900dccf67c2fb56", "score": "0.54796857", "text": "public void setEspada(Espada espada) {\t\t\n\t\tthis.mapa[espada.getPosicao().getX()][espada.getPosicao().getY()] = espada.getSimbolo();\n\t\tthis.espada = espada;\n\t}", "title": "" }, { "docid": "40943a6ed0fad54bed6f607ae9e20d5b", "score": "0.5470277", "text": "@Test\n public void setPossesseurToRouteTest(){\n assertFalse(routeTerrestreJaune3YakuBeij.isTaken());\n routeTerrestreJaune3YakuBeij.setPossesseur(joueur);\n assertTrue(routeTerrestreJaune3YakuBeij.isTaken());\n }", "title": "" }, { "docid": "6a47e6b90156ce119fb22be1ebda4be8", "score": "0.54672235", "text": "SateliteMod() {\n this.meridiano = this.paralelo = this.distancia_tierra = 0;\n }", "title": "" }, { "docid": "3f6a2a6a60fb3723fbab4ab5f43076a8", "score": "0.5458268", "text": "@Test\n public void testSetDocumentosPessoais() {\n System.out.println(\"setDocumentosPessoais\");\n String documentosPessoais = \"\";\n DependentePedagogia instance = new DependentePedagogia();\n instance.setDocumentosPessoais(documentosPessoais);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "ccb22a2bdb06672cf03fb6e262309e6c", "score": "0.54491997", "text": "public void setSiege(int m_iSiege) {\r\n this.m_iSiege = m_iSiege;\r\n }", "title": "" }, { "docid": "82ba6ca950699243f71930ec891b8f7a", "score": "0.5418233", "text": "private void vulSpelElementList() {\n switch(element){\n case \"muur\":\n muur = new Muur(this);\n spelElement = muur;\n break;\n case \"bolletje\":\n spelElement = new Bolletje(this);\n break;\n case \"superbolletje\":\n spelElement = new Superbolletje(this);\n break;\n case \"inky\": // Niet meer bestaande, legacy voor alle spookjes namen\n this.setElement(\"pad\", null);\n inky = new WillekeurigSpookje(this, \"inky\");\n break;\n case \"blinky\":\n this.setElement(\"pad\", null);\n blinky = new WillekeurigSpookje(this, \"blinky\");\n break;\n case \"pinky\":\n this.setElement(\"pad\", null);\n pinky = new AchtervolgendSpookje(this, \"pinky\");\n break;\n case \"clyde\":\n this.setElement(\"pad\", null);\n clyde = new AchtervolgendSpookje(this, \"clyde\");\n break;\n case \"pacman\":\n pacman = new Pacman(this);\n break;\n default:\n // Pad, niks toevoegen. Indien vakje leeg is, dan moet die niks bevatten\n break;\n }\n // sortSpelElementList();\n }", "title": "" }, { "docid": "fac7ba78f8e4c3c069b215fd803aec25", "score": "0.53942436", "text": "@Test\n public void testSetTipoDeViolenciaSofrida() {\n System.out.println(\"setTipoDeViolenciaSofrida\");\n String tipoDeViolenciaSofrida = \"\";\n DependentePedagogia instance = new DependentePedagogia();\n instance.setTipoDeViolenciaSofrida(tipoDeViolenciaSofrida);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "00706d3f315b507df8958228c1eb0580", "score": "0.53931326", "text": "private void setSpikesCoords() {\n this.spikesCoords = spikes.getEntityCoords();\n }", "title": "" }, { "docid": "20a2c02b79d192a1568c2c15d2929a75", "score": "0.5384932", "text": "public void setIdPartidaPresupuestaria(int idPartidaPresupuestaria)\r\n/* 82: */ {\r\n/* 83:148 */ this.idPartidaPresupuestaria = idPartidaPresupuestaria;\r\n/* 84: */ }", "title": "" }, { "docid": "5a2b381992c4c659e1d42900cd4dedf0", "score": "0.5383327", "text": "public void setIdSolicitud(Integer idSolicitud) {\r\n\t\tthis.idSolicitud = idSolicitud;\r\n\t}", "title": "" }, { "docid": "f7e4a24ef7b1f39afc68eee6320c688e", "score": "0.53802854", "text": "public void setS(String s) {\n this.s = s;\n }", "title": "" }, { "docid": "955d386c97f46242b0b30f8a1ba309a9", "score": "0.5371714", "text": "void setSP() {\n editor.putString(\"stocks\", JSONStuff.toJSON(stocks));\n editor.commit();\n }", "title": "" }, { "docid": "eab75699baafc7fe0ad0b80833766172", "score": "0.53626597", "text": "public ErzeugerGebaeude(int x, int y, int stufe, Spieler spieler) {\n // todo implementieren\n }", "title": "" }, { "docid": "9d6075b5c39e65b31ab356a3ac8daa5e", "score": "0.53500116", "text": "public void setServicioProducto(ServicioProducto servicioProducto)\r\n/* 394: */ {\r\n/* 395:398 */ this.servicioProducto = servicioProducto;\r\n/* 396: */ }", "title": "" }, { "docid": "64db6f101b430146134af6e36274daf0", "score": "0.53491706", "text": "public void setDes_Servicio(String Des_Servicio) \r\n {\r\n this.Des_Servicio = Des_Servicio;\r\n }", "title": "" }, { "docid": "f3ea867fdaa4b61546bfc393614a093c", "score": "0.5342247", "text": "@Override\n\tpublic void setingInicial() {\n\t\t\n\t}", "title": "" }, { "docid": "a3295fa0eb8b69bb0f4ca15124466983", "score": "0.5340594", "text": "protected void setSAs() {\n\t\t// to be overloaded\n\t}", "title": "" }, { "docid": "7d299db071e2e16d068d760397331f9b", "score": "0.53351915", "text": "public void placeSword() {\n this.hasSword = false;\n }", "title": "" }, { "docid": "ef540cc15678175435b791600add478e", "score": "0.5330361", "text": "@Override\r\n\tpublic void setMauSon(java.lang.String MauSon) {\r\n\t\t_qlvtPhuongTienCapBienHieu.setMauSon(MauSon);\r\n\t}", "title": "" }, { "docid": "1e183f8570161b4cfad23b015b6754d5", "score": "0.53184533", "text": "public void setIdSucursal(long idSucursal) \n\t{\n\t\tthis.idSucursal = idSucursal;\n\t}", "title": "" }, { "docid": "42c0d386be5df08dc116c242347e89ff", "score": "0.53169686", "text": "private void settaDatiProvvEDescrizioneOrigine(){\n\t\t//anno provvedimento\n\t\tsetAnnoProvvedimento(model.getMovimentoSpesaModel().getModificaAggiornamentoAcc().getAttoAmministrativoAnno());\n\t\t//numero provvedimento\n\t\tsetNumeroProvvedimento(model.getMovimentoSpesaModel().getModificaAggiornamentoAcc().getAttoAmministrativoNumero());\n\t\t//id tipo provvedimento\n\t\tsetIdTipoProvvedimento(model.getMovimentoSpesaModel().getModificaAggiornamentoAcc().getAttoAmministrativoTipoCode());\n\t\t//descrizione origine\n\t\tmodel.getMovimentoSpesaModel().setDescrizioneOrigine(model.getMovimentoSpesaModel().getModificaAggiornamentoAcc().getDescrizioneModificaMovimentoGestione());\n\t}", "title": "" }, { "docid": "b1873b8983efde4f6d3bace7098b2ef7", "score": "0.53114337", "text": "@Test\n public void testSetObservacaoPosDesligamento() {\n System.out.println(\"setObservacaoPosDesligamento\");\n String observacaoPosDesligamento = \"\";\n DependentePedagogia instance = new DependentePedagogia();\n instance.setObservacaoPosDesligamento(observacaoPosDesligamento);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "a51c6e690f4b89c1352263a5d1c8caa6", "score": "0.53091675", "text": "public void setPausa(java.lang.String param){\n localPausaTracker = param != null;\n \n this.localPausa=param;\n \n\n }", "title": "" }, { "docid": "e1a2928b95fdd4a2041fe26bfee25f86", "score": "0.53086996", "text": "public void setPlaatsStukX(int x){\n this.x.set(x);\n }", "title": "" }, { "docid": "4ea45e69bfe2bef5bfe8b50330d0cdd2", "score": "0.5306317", "text": "public void set(int index, Object wert) {\r\n\t\t// Das Element an der Stelle index \r\n\t\t//soll auf den Wert wert gesetzt werden\r\n\t\tgeheim[index] = wert;\r\n\t}", "title": "" }, { "docid": "1f76bcb59cddd5c4fe65e9da29dc3076", "score": "0.5305353", "text": "@Override\r\n\tpublic void setSoKhung(java.lang.String SoKhung) {\r\n\t\t_qlvtPhuongTienCapBienHieu.setSoKhung(SoKhung);\r\n\t}", "title": "" }, { "docid": "c72c770a2b6c97839422d2160a2e018d", "score": "0.5303413", "text": "@FXML\n\tpublic void save() {\n\t\tMessageUtil.inform(\"Spiel gespeichert\", \"Das Spiel wurde erfolgreich gespeichert!\");\n\t}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.5302315", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ff7b607372fad6393341ac0b650706ad", "score": "0.53003716", "text": "public void setSuit(Suit pSuit)\r\n\t{\r\n\t\taSuit = pSuit;\r\n\t}", "title": "" }, { "docid": "82da9b3f3b7aa995e9ce9ac34986a9b5", "score": "0.5297226", "text": "@Test\n public void testSetPeso() {\n System.out.println(\"setPeso\");\n float peso = 0.0F;\n DetalleGuiaRemisionDTO instance = null;\n instance.setPeso(peso);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "bac10647bcefacc9d68424da7967e77f", "score": "0.52928555", "text": "public void setVlasnik(String vlasnik){\n this.vlasnik = vlasnik;\n }", "title": "" }, { "docid": "78008c9aaecc25539f37634184b86f5d", "score": "0.5288373", "text": "public void paivitaTiedosto() {\r\n try {\r\n output = new ObjectOutputStream(new FileOutputStream(tiedosto));\r\n output.writeObject(pistel);\r\n } catch (IOException e) {\r\n }\r\n\t}", "title": "" }, { "docid": "9e1cd5d26cbceeb2a3e100e5ace62e8e", "score": "0.5283348", "text": "private void viderZonesSaisies() {\n // date\n EditText ajoutDate = findViewById(R.id.saisieDateAjoutActivite);\n ajoutDate.setText(\"\");\n\n // sport\n // TODO => remettre le choix du sport sur id=1 (si y a assez de temps pour le dev sinon pas grave)\n\n // durée\n TimePicker ajoutDuree = findViewById(R.id.choixDureeAjoutActivite);\n if (Build.VERSION.SDK_INT >= 23 ){\n ajoutDuree.setMinute(0);\n ajoutDuree.setHour(0);\n }\n else {\n ajoutDuree.setCurrentMinute(0);\n ajoutDuree.setCurrentHour(0);\n }\n\n // distance\n EditText ajoutDistance = findViewById(R.id.saisieDistanceAjoutActivite);\n ajoutDistance.setText(\"\");\n }", "title": "" }, { "docid": "9214ef04befcd07896a3410124d922b0", "score": "0.5280987", "text": "public void setCiudad(Ciudad ciudad)\r\n/* 1170: */ {\r\n/* 1171:1246 */ this.ciudad = ciudad;\r\n/* 1172: */ }", "title": "" }, { "docid": "110bae6935293376742b37d69e588976", "score": "0.527745", "text": "public Builder setSp(int value) {\n bitField0_ |= 0x00000040;\n sp_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9a3e7d08b82e4fb9859d1c4a4eab42e7", "score": "0.5275099", "text": "public void setUnidad(Unidad unidad)\r\n/* 182: */ {\r\n/* 183:243 */ this.unidad = unidad;\r\n/* 184: */ }", "title": "" }, { "docid": "d1219d181129edd02d3ecf17f14bbcb3", "score": "0.5274008", "text": "public void setMascara(String mascara)\r\n/* 213: */ {\r\n/* 214:391 */ this.mascara = mascara;\r\n/* 215: */ }", "title": "" }, { "docid": "69153e66edfd3915dbc704a66de0a0ed", "score": "0.52738667", "text": "public void setMostrarSaldoInicial(boolean mostrarSaldoInicial)\r\n/* 687: */ {\r\n/* 688: 739 */ this.mostrarSaldoInicial = mostrarSaldoInicial;\r\n/* 689: */ }", "title": "" }, { "docid": "90f6d3ba1e7738926eb90d8823e2b320", "score": "0.526877", "text": "public void setVelocidadModificada() {\n\n\t\tdouble velocidad = bici.getVelocidad() * pendienteTramoActual();\n\t\t\n\t\tvelocidad = velocidad + velocidad * vientoTramoActual();\n\t\t\n\t\tbici.setVelocidad(velocidad);\n\t}", "title": "" }, { "docid": "e30d3f084057b8433369b48faf308637", "score": "0.5266826", "text": "public void setStaffSalary(double SetterDouble){\r\n \r\n this.StaffSalary = SetterDouble;\r\n }", "title": "" }, { "docid": "8faa9f28c882400c7ac2deefaa2791f8", "score": "0.52539027", "text": "@Override\r\n public void sit(Seat seat) {\r\n this.seat = seat;\r\n }", "title": "" }, { "docid": "e34b8472b84606390a23fba68cb2aaa2", "score": "0.52505344", "text": "void PositionSetzen (int kassennummer)\n {\n int x = 400;\n int y = 100 * kassennummer;\n anzeige. setLocation (x, 100 * kassennummer);\n }", "title": "" }, { "docid": "634260f54bebb3a06dc94a89878b7e9e", "score": "0.52426106", "text": "private void elevarPH() {\n sensorPh.setLeituraPh(7);\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "c38a4d119799b8f620491fc341f84cf6", "score": "0.5241647", "text": "public void setU(java.lang.String param){\r\n localUTracker = param != null;\r\n \r\n this.localU=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "0badc77edfa68c557dde6ab4425c84b2", "score": "0.5241021", "text": "public void set_sceau() {\n \tthis.last_button = Sceau_Button;\n Message.setText(\"Vous pouvez maintenant remplir des formes avec la couleur souhaitée !\");\n }", "title": "" }, { "docid": "9575e70e34fa29d8543f161a9465e207", "score": "0.5239637", "text": "public void setStaffRoom(String SetterString){\r\n \r\n this.StaffRoom = SetterString;\r\n }", "title": "" }, { "docid": "b8b75cd286823fe6f8e542259561c23e", "score": "0.5238082", "text": "public void setStanze(Room s1, Room s2 )\n\t{\n\t\tthis.s1 = s1;\n\t\tthis.s2 = s2;\n\t}", "title": "" }, { "docid": "d6b4ba1bc862c1089d74f7ad06d5b15f", "score": "0.5230485", "text": "@Test\n public void testSetEncaminhadaIMLSexual() {\n System.out.println(\"setEncaminhadaIMLSexual\");\n String encaminhadaIMLSexual = \"\";\n DependentePedagogia instance = new DependentePedagogia();\n instance.setEncaminhadaIMLSexual(encaminhadaIMLSexual);\n // TODO review the generated test code and remove the default call to fail.\n \n }", "title": "" }, { "docid": "a5dadd2215d5ff45dcfe4800fdab29b2", "score": "0.52302194", "text": "public static void setSchaden(double newSchaden){\n\t\tschaden=newSchaden;\n\t}", "title": "" }, { "docid": "f3a93eb21ec14114748201df50605e48", "score": "0.5225624", "text": "public MBKreirajSastanak() {\n sastanak = new Sastanak();\n projekti = new ArrayList<>();\n }", "title": "" } ]
9e78b2019221120cbdd586e8daea647a
while switch success callback
[ { "docid": "bfc5df0895fca14f2b054f19e8c12ba9", "score": "0.0", "text": "void onSwitchFragmentSuccess(int currentItemId, Menu menu);", "title": "" } ]
[ { "docid": "0816bad3697431d6a874b8d0a5d97fa9", "score": "0.67145777", "text": "private void success() {\n\t\tmHandler.post(r);\r\n\t\tnew Thread(new Runnable() {\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\ttry {\r\n\t\t\t\t\tThread.sleep(2000);\r\n\t\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\tfinish();\r\n\t\t\t}\r\n\t\t}).start();\r\n\t}", "title": "" }, { "docid": "f2d1cb317e4f56ee6567e075498173bb", "score": "0.61142516", "text": "@Override\r\n\t public void onSuccess() {\n\t\t Log.d(TAG, \"onSuccess\");\r\n Toast.makeText(mContext,R.string.ftp_is_repeat,Toast.LENGTH_SHORT).show();\r\n sleep(500);\r\n doIdentify();\r\n\t }", "title": "" }, { "docid": "0d38fc08335cb07dc62a199b3ac9da6e", "score": "0.6031614", "text": "public void run() {\n while (true) {\n try {\n Thread.sleep(200);\n if (mPager.getCurrentItem() == 2) {\n Message msgObj = handler.obtainMessage();\n Bundle b = new Bundle();\n b.putString(\"flag\", \"1\");\n msgObj.setData(b);\n handler.sendMessage(msgObj);\n } else {\n Message msgObj = handler.obtainMessage();\n Bundle b = new Bundle();\n b.putString(\"flag\", \"2\");\n msgObj.setData(b);\n handler.sendMessage(msgObj);\n }\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n e.printStackTrace();//preserve the description\n return;\n }\n\n }\n\n\n }", "title": "" }, { "docid": "17a039836faded9e3c37416425f86ba3", "score": "0.58584356", "text": "@Override\n\tpublic void run() {\n\t\ttry {\n\t\t\tInputStream inputs = Netool.GET(url);\n\t\t\tbyte[] bytes = Netool.read(inputs);\n\t\t\tString str = new String(bytes);\n\t\t\tcallback.back(str);\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "3105b5a74b6037a9763abcdc8611e2ee", "score": "0.5835879", "text": "protected void iteration(){\r\n \r\n \r\n try{\r\n System.out.println(\"Poller on!\");\r\n \r\n while(true){\r\n \r\n for(int i = 0; i < buttons.length; i++){\r\n if(joy.getRawButton(buttons[i])) //if the button in a particular slot is pressed\r\n value = i + 1; //then the routine is set to that slot + 1 (since routines count from 1 not 0) ok\r\n }\r\n \r\n synchronized(intLock) {\r\n \r\n if (value != routine) System.out.println(\"Autonomous Routine changed: \" + value);\r\n SmartDashboard.putNumber(\"Autonomous Routine\", value);\r\n routine = value;\r\n }\r\n \r\n this.AvianceThreadHousekeeping(sleepTime);\r\n }\r\n }\r\n catch(AvianceThreadInterruptedException ex){\r\n interrupted = false; //every module needs this in its catch clause for interruted exception otherwise the thread will NOT start again\r\n }\r\n }", "title": "" }, { "docid": "eeb2d789413c7fe469d5e914fa0804f1", "score": "0.58027107", "text": "@Override\n default void run() {\n done(false);\n }", "title": "" }, { "docid": "4026bd7d93e71800b0dbf0ff2b49e7ba", "score": "0.57800853", "text": "protected void actionLoop() {\n\t}", "title": "" }, { "docid": "384cb06f4f40dbc4649538e1f22547a0", "score": "0.57618", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tlr.onFinished(conResult);\n\t\t\t\t\t}", "title": "" }, { "docid": "f3d887ab79fb196225993bfe14e8cd8a", "score": "0.57501185", "text": "private void done() {\n\t\thandler.postDelayed(reset, 5000);\n\t}", "title": "" }, { "docid": "3877dcceb29a6866a41182bea40674a4", "score": "0.5748437", "text": "@Override\n\t\t\t\t\t\tpublic void callback(String result) {\n\t\t\t\t\t\t\tJSONObject json;\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tjson = new JSONObject(result);\n\t\t\t\t\t\t\t\tString status = json.getString(\"status\");\n\t\t\t\t\t\t\t\tif (\"success\".equals(status)) {\n\t\t\t\t\t\t\t\t\thandler.obtainMessage(1).sendToTarget();\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\thandler.obtainMessage(2).sendToTarget();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (JSONException e) {\n\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t\thandler.obtainMessage(2).sendToTarget();\n\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "title": "" }, { "docid": "31691846599830914dd6ace78b6cdab5", "score": "0.5741825", "text": "public abstract void onLoop();", "title": "" }, { "docid": "eadc9477639e534b556dc3fc999b1711", "score": "0.57376266", "text": "@Override\n public int onLoop() {\n\n if (guiSaved != 0) {\n switch (initializer.determineCurrentAction()) {\n case \"bank\":\n currentStatus = CurrentStatus.BANKING;\n handleBanking();\n break;\n case \"tanner\":\n currentStatus = CurrentStatus.TAN;\n handleTanning();\n break;\n case \"travelTanner\":\n currentStatus = CurrentStatus.TRAVEL;\n handleTravelTanner();\n break;\n default:\n break;\n }\n }\n return Calculations.random(300, 1000);\n }", "title": "" }, { "docid": "03a5e47a784c6a36caa683195322e606", "score": "0.57361877", "text": "public void run() {\n\t\t\ttry {\r\n\t\t\t\tString response = execute(mPageflag,mTweetid,mTime);\r\n\t\t\t\tJSONObject object = new JSONObject(response);\r\n\t\t\t\t//成功返回值\r\n\t\t\t\tif(Check.check_ret(object)){\r\n\t\t\t\t\tJSONObject data = object.getJSONObject(\"data\");\r\n\t\t\t\t\tString hasnext = data.getString(\"hasnext\");\r\n\t\t\t\t\tmHandler.sendMessage(Message.obtain(mHandler, 0, hasnext));\r\n\t\t\t\t\t//第一页\r\n\t\t\t\t\tif(mPageflag.equals(\"0\")){\r\n\t\t\t\t\t\tmPageflag = \"1\";\t\r\n\t\t\t\t\t\tmHandler.sendMessage(Message.obtain(mHandler, 1, response));\r\n\t\t\t\t\t}else if (mPageflag.equals(\"1\")) {\r\n\t\t\t\t\t\tmHandler.sendMessage(Message.obtain(mHandler, 2, response));\r\n\t\t\t\t\t}\r\n\t\t\t\t\tJSONArray array = data.getJSONArray(\"info\");\r\n\t\t\t\t\tif(array.length() > 0){\r\n\t\t\t\t\t\tJSONObject lastItem = array.getJSONObject(array.length()-1);\r\n\t\t\t\t\t\tmTweetid = lastItem.getString(FieldName_ID);\r\n\t\t\t\t\t\tmTime = lastItem.getString(FieldName_TimeStamp);\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t// TODO: handle exception\r\n\t\t\t\tLog.e(TAG, e.toString());\r\n\t\t\t\tmHandler.sendMessage(Message.obtain(mHandler, 3, e));\r\n\t\t\t}finally{\r\n\t\t\t\tmHandler.sendEmptyMessage(5);\r\n\t\t\t}\r\n\r\n\t\t}", "title": "" }, { "docid": "463ff043c71ea2b2d8a177ff33c822bb", "score": "0.57358634", "text": "private void receiveSucceeded() {\n if (!isConnected()) {\n return;\n }\n\n final Map<Integer, ReceiveService> services = Collections\n .synchronizedMap(new HashMap<Integer, ReceiveService>());\n services.putAll(receiveServices);\n services.forEach((id, service) -> {\n if (service.getState() != State.SUCCEEDED) {\n return;\n }\n TCPPacket receivedPacket = service.getValue();\n\n // End-of-stream means disconnected\n if (receivedPacket.getLength() == -1) {\n disconnect(id);\n return;\n }\n\n TCPPacket[] packets = new TCPPacket[] { receivedPacket };\n if (protocol != null) {\n packets = protocol.decode(receivedPacket);\n }\n for (TCPPacket tcpPacket : packets) {\n for (ServerPacketListener listener : packetListeners) {\n listener.received(name, id, tcpPacket);\n }\n }\n\n service.restart();\n });\n }", "title": "" }, { "docid": "04e34db96a97835791631696fb149788", "score": "0.57342094", "text": "@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\twhile (true) {\n\t\t\t\t\t\t\t\t\tThread.sleep(1000);\n\t\t\t\t\t\t\t\t\tLog.e(\"WAITTTTTT\", \"....\"\n\t\t\t\t\t\t\t\t\t\t\t+ F3_LamBaiTap.createdData);\n\t\t\t\t\t\t\t\t\tgetSupportFragmentManager()\n\t\t\t\t\t\t\t\t\t\t\t.beginTransaction()\n\t\t\t\t\t\t\t\t\t\t\t.replace(R.id.content_frame,\n\t\t\t\t\t\t\t\t\t\t\t\t\tfragment).commit();\n\t\t\t\t\t\t\t\t\tgetSlidingMenu().showContent();\n\t\t\t\t\t\t\t\t\tif (F3_LamBaiTap.createdData\n\t\t\t\t\t\t\t\t\t\t\t|| Menu3_OptionMenuTracNghiem\n\t\t\t\t\t\t\t\t\t\t\t\t\t.getTestState() == false) {\n\t\t\t\t\t\t\t\t\t\t// Menu3_OptionMenuTracNghiem.startTimeCoundown();\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} catch (Exception e) {\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tringProgressDialog.dismiss();\n\t\t\t\t\t\t}", "title": "" }, { "docid": "9d03f66134527c01169986beee1372d9", "score": "0.5720782", "text": "@Override\n\tpublic void success() {\n\n\t}", "title": "" }, { "docid": "2fc48b3b48a0dcac08942661e465199c", "score": "0.5688255", "text": "@Override\n public void run() {\n super.run();\n while(isRunning) {\n try {\n handler.sendEmptyMessage(0);\n handler.sendEmptyMessage(1);\n if(isEnablGetData && isEnableWriteFile)handler.sendEmptyMessage(2);\n\n Thread.sleep(200);\n }\n\n catch (Exception ex) {\n ex.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "334ac0d632ef79dff490463d977aabb5", "score": "0.56868494", "text": "@Override\n public void reconnectionSuccessful() {\n System.out.println(\"\" + pseudo_tag + \" ==== >>>>> reconnectionSuccessful\");\n callback.reconnectionOK(true);\n }", "title": "" }, { "docid": "52e4a0b9fa7cbaf9fc7fcd1768764ba6", "score": "0.56807846", "text": "protected abstract void success();", "title": "" }, { "docid": "7b8deca47e8567c0818b354d9fabb0f2", "score": "0.5658617", "text": "public void run(){\n byte[] buffer = new byte[1024];\n int bytes;\n\n while (true){\n try {\n bytes = inputStream.read(buffer);\n handler.obtainMessage(STATE_MESSAGE_RECEIVED, bytes, -1, buffer).sendToTarget();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "36c9361e57434df826c92f8590d6fbea", "score": "0.56461203", "text": "@Override\n\t\tpublic void run() {\n\t\t\twhile (isRun) {\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(1000 * 8);\n\t\t\t\t\tMessage msg = new Message();\n\t\t\t\t\tmsg.what = SHOW_NEXT;\n\t\t\t\t\tmHandler.sendMessage(msg);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "f7747c5a612952dd3fe72b505b5a3c9e", "score": "0.5645093", "text": "private void doNext() {\n \t\tswitch (mState) {\n \t\tcase DROP_NEW_ROW:\n \t\t\tdrop_new_row();\n \t\t\tbreak;\n \t\tcase DROP:\n \t\t\tdrop();\n \t\t\tbreak;\n \t\tcase NEW_ROW:\n \t\t\tmHandler.post(mPostUserClick);\n \t\t\tbreak;\n \t\tdefault:\n \t\t\t//Log.w(TAG, \"Invalid Mode of GameView\");\n \t\t}\n \t}", "title": "" }, { "docid": "b0087adcd14682da1ea22476d9ae66b5", "score": "0.5636422", "text": "protected void done( ArrayList<NetResp> results )\n {\n moveOn();\n }", "title": "" }, { "docid": "63cb77734b7fa7074fb8f048c86a54b6", "score": "0.5634671", "text": "@Override\r\n\t\t\t\tpublic void run() {\n\t\t\t\t\tboolean isSuccess = false;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tisSuccess = AsHt.getInstance().modifyInfo(\r\n\t\t\t\t\t\t\t\tApplictionManager.getInstance().userInfo);\r\n\t\t\t\t\t\tSystem.out.println(\" huilai \" + isSuccess);\r\n\t\t\t\t\t} catch (AsHtException e) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t}\r\n\t\t\t\t\tMessage msg = new Message();\r\n\t\t\t\t\tmsg.arg1 = 2;\r\n\t\t\t\t\tmsg.obj = isSuccess;\r\n\t\t\t\t\tmHandler.sendMessage(msg);\r\n\t\t\t\t}", "title": "" }, { "docid": "92296806175eb6b3210f2d9d041111e8", "score": "0.5628312", "text": "@Override\r\n\tpublic void run() {\n\t\tsuper.run();\r\n\t\twhile (true) {\r\n\t\t\tNetUtil\r\n\t\t\t\t\t.getResultByGet(\r\n\t\t\t\t\t\t\t\"http://127.0.0.1:8080/Sun_PS/cailiaoziyuantypetree.action\",\r\n\t\t\t\t\t\t\t\"\");\r\n\t\t\tnumber++;\r\n\t\t\tSystem.out.println(\"\" + number + \"cur thread\"\r\n\t\t\t\t\t+ Thread.currentThread().getName());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9acfcf9dda82bd0fa1f003864ac89695", "score": "0.56140435", "text": "@Override\n public void onResult(boolean success) {\n }", "title": "" }, { "docid": "f90bbfff5b43366ed7af5134d22ed6da", "score": "0.5613062", "text": "public void run()\r\n\t{\r\n\t\tlogger.warn(\"Callback start:...............\");\r\n\t\t\r\n\t\tint loop=pre.getCallbackNums();\r\n\t\tlogger.warn(\"CallbackNums is:...............\"+loop);\r\n\t\tfor(int i=0;i<loop;i++)\r\n\t\t{\r\n\t\t\tint CallDelay= pre.getCallbackDelayTimes();\r\n\t\t\tlogger.warn(\"CallDelay is:...............\"+CallDelay);\r\n\t\t\ttry {\r\n\t\t\t\tThread.sleep(CallDelay*1000);\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\t//CallbackRequestType 0 get,1 post,3 json\r\n\t\t\tint CallbackRequestType=pre.getCallbackRequestType();\r\n\t\t\tlogger.warn(\"CallbackRequestType is:...............\"+CallbackRequestType);\r\n\t\t\thttpTool ht=new httpTool();\r\n\t\t\tif(CallbackRequestType==0)\r\n\t\t\t{\t\r\n\t\t\t\tString url=pre.getCallbackurl();\r\n\t\t\t\tlogger.warn(\"Callback url is:...............\"+url);\r\n\t\t\t\tString result=\"\";\r\n\t\t\t\t\r\n\t\t\t\tif(url.contains(\"?\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tString[] arr=url.split(\"?\");\t\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(arr.length>1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tresult=ht.doGet(arr[0], arr[1]);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tresult=ht.doGet(url, \"\");\r\n\t\t\t\t}\t\r\n//\t\t\t\tlogger.warn(\"CallBack Respone is:...............\"+result);\r\n//\t\t\t\tString[] arr=url.split(\"?\");\t\r\n//\t\t\t\tString result=\"\";\r\n//\t\t\t\tif(arr.length>1)\r\n//\t\t\t\t{\r\n//\t\t\t\t\tresult=ht.doGet(arr[0], arr[1]);\r\n//\t\t\t\t}\r\n//\t\t\t\telse\r\n//\t\t\t\t{\r\n//\t\t\t\t\tresult=ht.doGet(url, \"\");\r\n//\t\t\t\t}\t\r\n\t\t\t\tlogger.warn(\"CallBack Respone is:...............\"+result);\r\n\t\t\t}\r\n\t\t\tif(CallbackRequestType==1)\r\n\t\t\t{}\r\n\t\t\tif(CallbackRequestType==2)\r\n\t\t\t{}\r\n\t\t\t\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2fba8831ad35a530fe83be270a9ecc68", "score": "0.5590423", "text": "@Override\n\t\t\tpublic void callback(int optRet) {\n\t\t\t\tif(optRet > 0){\n\t\t\t\t\tcheckTask.run();\n\t\t\t\t\tlimit = 10;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "6e85ca9d3e91465474f8c1f71a9d195f", "score": "0.55738235", "text": "@Override\n\t\t\t\t\tpublic void callback(int optRet) {\n\t\t\t\t\t\tif(optRet > 0){\n\t\t\t\t\t\t\tcheckTask.run();\n\t\t\t\t\t\t\tdetailLimit = 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "title": "" }, { "docid": "88046bc5a81437242f383d410d3451ba", "score": "0.55736524", "text": "void doSucRunnable();", "title": "" }, { "docid": "226cd96674209499162ddaed246291ef", "score": "0.5572555", "text": "@Override\n\t\t\t\tprotected Void doInBackground(Void... params) {\n\t\t\t\t\twhile(!controller.IsConnected());\n\t\t\t\t\treturn null;\n\t\t\t\t}", "title": "" }, { "docid": "386ea6221bc3f096ff7e4a8a86169e08", "score": "0.5571747", "text": "@Override\r\n public void run() {\r\n Target = null;\r\n int offline = Offline;\r\n while (!ToBeFinished) {\r\n long timeval = System.currentTimeMillis();\r\n String response = sendCommand(\"\\2\" + \"08\\3\", (MaxRetry + 1) * (RequestTimeout + CharacterTimeout) + 70);\r\n JposCommonProperties props = getClaimingInstance(ClaimedScale, 0);\r\n if (!ToBeFinished && offline != Offline && Offline == JposConst.JPOS_PS_ONLINE) {\r\n try {\r\n handleEvent(new JposStatusUpdateEvent(props.EventSource, JposConst.JPOS_SUE_POWER_ONLINE));\r\n } catch (JposException e) {\r\n }\r\n offline = Offline;\r\n }\r\n synchronized(CommandProcessor) {\r\n if (SignalStatusUpdated != null) {\r\n SignalStatusUpdated.signal();\r\n SignalStatusUpdated = null;\r\n }\r\n }\r\n if (!ToBeFinished && offline != Offline) {\r\n try {\r\n handleEvent(new JposStatusUpdateEvent(props.EventSource, JposConst.JPOS_SUE_POWER_OFF_OFFLINE));\r\n } catch (JposException e) {\r\n }\r\n offline = Offline;\r\n }\r\n timeval = System.currentTimeMillis() - timeval;\r\n if (timeval < PollDelay)\r\n WaitCommand.suspend(PollDelay - timeval);\r\n }\r\n }", "title": "" }, { "docid": "4381918f5b2aa42140a9b05b214d6924", "score": "0.55552965", "text": "@Override\n protected void onHandleIntent(Intent intent) {\n while (running == 1) {\n if (data.size() > 0) {\n if (!IsOk) {\n GetIP();\n }\n }\n if (data.size() < 1 && NetworkCenter.checkNetwork_JYH(getApplicationContext())) {\n GetIPUrl(gate_Url);\n }\n try {\n Thread.sleep(10000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "f2342ea944e8de6abaffe424cd586954", "score": "0.55508053", "text": "@Override\n\t\t\t\tprotected Void doInBackground(Void... params) {\n\t\t\t\t\twhile(controller.IsConnected());\n\t\t\t\t\treturn null;\n\t\t\t\t}", "title": "" }, { "docid": "5f854ec875489da2714a8ed4a0a3d0fa", "score": "0.5517798", "text": "@Override\n public void run() {\n do {\n i++;\n try {\n Thread.sleep(400);\n Message msg = hand.obtainMessage();\n msg.arg1 = i;\n msg.sendToTarget();\n } catch (InterruptedException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n } while (isStop);\n }", "title": "" }, { "docid": "8d4aedab9c856f7cc849c7cb8d307151", "score": "0.5517345", "text": "private void onOK() {\n }", "title": "" }, { "docid": "648089b89f4dfc9550091995ba8c7d30", "score": "0.55168444", "text": "default void requestHandlingCompleted(boolean isSuccessful) {\n }", "title": "" }, { "docid": "df9a827891afb0532a1c2460f0a5bb0f", "score": "0.5510028", "text": "@Override\n\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\tmManager.discoverServices(mChannel, new ActionListener() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\tHandler discover = new Handler();\n\t\t\t\t\t\t\t\tdiscover.postDelayed(new Runnable() {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\tdiscoverService();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}, 30000);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\tpublic void onFailure(int reason) {\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}", "title": "" }, { "docid": "1eb57caeb2500a66de46a863073fe8dd", "score": "0.54991376", "text": "void onSynchronizationSuccess();", "title": "" }, { "docid": "d64553c53f7a058f6268c220e4bb467e", "score": "0.549405", "text": "@Override\n public void run() {\n while (main_checkpoint) {\n cleanList();\n turnCheckPoint();\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "3b2bf26b4eb0717955fdd35991b8290d", "score": "0.5485698", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "3b2bf26b4eb0717955fdd35991b8290d", "score": "0.5485698", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "3b2bf26b4eb0717955fdd35991b8290d", "score": "0.5485698", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "3b2bf26b4eb0717955fdd35991b8290d", "score": "0.5485698", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "dad828d9c1db7fb19cd9f8728e696116", "score": "0.5483033", "text": "@Override\n\t\t\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\t\t\tHandler discover = new Handler();\n\t\t\t\t\t\t\t\tdiscover.postDelayed(new Runnable() {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\tdiscoverService();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}, 30000);\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "5aa88576898fc084996885dbfd5bab88", "score": "0.54823315", "text": "@Override\r\n \t\tpublic void run()\r\n \t\t{\n \t\t\tAndroidNDKHelper.SendMessageWithParameters(\"connectionOk\", null);\r\n \t\t}", "title": "" }, { "docid": "7e3cc12f973dd75952881baf5b0b7352", "score": "0.5470814", "text": "@Override\r\n\t\t\t\t\t\t\t\t\tpublic void onFinish() {\n\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "df9936c51564bbe7356d9064bf4c7a2e", "score": "0.5468658", "text": "public void run() {\r\n while (amRunning()){\r\n if(getNumMessages() > 0){\r\n currentMessage = getMessage();\r\n //System.out.println(\"switch\");\r\n //System.out.println(currentMessage.getPath());\r\n processMessage();\r\n }else{\r\n try {\r\n sleep(100);\r\n }catch (Exception e){}\r\n }\r\n }\r\n }", "title": "" }, { "docid": "d6cb523af5d38c8fcf79498b75ed10d7", "score": "0.5465802", "text": "public void afterCompletion(boolean successful);", "title": "" }, { "docid": "3c4d70f7074d4c23c1a21012ca9696c2", "score": "0.5458848", "text": "public void run() {\n byte[] data;\n if (receivePacket.getData()[0] == RingoProtocol.RELIABLE_Q) { //[RELIABLE_X][PROTOCOL_HEADER_X][data]\n System.out.println(\"Found a reliable packet...sending an ack\");\n data = new byte[receivePacket.getData().length-1];\n System.arraycopy(receivePacket.getData(),1, data, 0, data.length); //for cases\n //System.out.println(\"NEED TO SEND A RELIABLE ACK\");\n sendAckForReliable(data, receivePacket);\n\n\n } else if (receivePacket.getData()[0] == RingoProtocol.RELIABLE_A) { //any packet that has reliable_a has only 1 header byte\n System.out.println(\"Found an ack to my reliable packet\");\n data = new byte[receivePacket.getData().length - 1];\n System.arraycopy(receivePacket.getData(), 1, data, 0, data.length);\n handleReliableAck(data);\n return;\n } else {\n data = receivePacket.getData();\n }\n\n //we want the protocol byte as well\n parsePacket(data, receivePacket.getAddress(), receivePacket.getPort(), receivePacket);\n\n\n //System.out.println(\"thread finished\");\n\n synchronized (ip_lock) {\n activeThreads--;\n\n actives.remove(this);\n\n }\n\n return;\n }", "title": "" }, { "docid": "3837b75476e9626b93c20db4c7ea0702", "score": "0.54572767", "text": "@Override\n\t\t\tpublic void onFinished() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "3837b75476e9626b93c20db4c7ea0702", "score": "0.54572767", "text": "@Override\n\t\t\tpublic void onFinished() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "1778c34f5e58346fec4582169a177cf4", "score": "0.54519653", "text": "private void handleCallbackReply(HessianRPCCallMessage message)\r\n\t{\n\t\tServerCallbackProxy.setCallbackResult(message);\r\n\t}", "title": "" }, { "docid": "9de14a9f99efd4d07c9edd83496e819d", "score": "0.5443132", "text": "default void requestProcessingCompleted(boolean isSuccessful) {\n }", "title": "" }, { "docid": "9b9a5cd143acf911b15e9df6f7d017a5", "score": "0.5442036", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tclick(3);\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(5000);\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tmHandler.sendEmptyMessage(0);\n\t\t\t}", "title": "" }, { "docid": "10b41bcf742a833336b7be87267da2d4", "score": "0.5439213", "text": "@Override\n public void onSucceed() {\n if (cancelRequested) {\n onCanceled();\n return;\n }\n\n if (!tryExecuteNext()) {\n dispose();\n if (listener != null) {\n listener.onSucceed();\n }\n }\n }", "title": "" }, { "docid": "6d02478ff748826431b74e0bcd2ac57a", "score": "0.5429844", "text": "void waitDone();", "title": "" }, { "docid": "7e2dddf511d4268b4aae907d8767554d", "score": "0.54235524", "text": "@SuppressWarnings(\"deprecation\")\r\n\t\t@Override\r\n\t\tpublic void run() {\n\t\t\tsuper.run();\r\n\t\t\twhile (true) {\r\n\r\n\t\t\t\tString time = formatUrlParam(time1);// 空格转义 若直接URL1\r\n\r\n\t\t\t\tString url1 = \"http://123.57.72.71/api/app/\" + NewMainActivity.cardid + \"/\" + time + \"/\" + userid\r\n\t\t\t\t\t\t+ \"/mobileClient/list\";\r\n\t\t\t\t// String url1 = \"http://123.57.72.71:8080/fm/api/app/\" +\r\n\t\t\t\t// \"GWA100171001\" + \"/\" + time\r\n\t\t\t\t// + \"/mobileClient/list\";\r\n\t\t\t\tString url = url1;\r\n\t\t\t\tHttpClient httpClient = new DefaultHttpClient();\r\n\t\t\t\tHttpGet httpGet1 = new HttpGet(url);\r\n\t\t\t\tHttpResponse response = null;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tresponse = httpClient.execute(httpGet1);\r\n\t\t\t\t\tHttpEntity entity = response.getEntity();\r\n\t\t\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(entity.getContent()));\r\n\t\t\t\t\tString result = reader.readLine();\r\n\r\n\t\t\t\t\tMessage msg = new Message();\r\n\t\t\t\t\tmsg.arg1 = 1;\r\n\t\t\t\t\tmsg.obj = result;\r\n\t\t\t\t\thandler.sendMessage(msg);\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\ttry {\r\n\t\t\t\t\tsleep(300000);\r\n\t\t\t\t} catch (InterruptedException e1) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "3a08b845e9aab9c122a0e0adf9de9c2f", "score": "0.5418081", "text": "@Override\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\tdisplay(res);\n\t\t\t\t\t \t\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "ba0806e7b6502bed22eb81f2ace08716", "score": "0.54082954", "text": "@Override\r\n\t\t\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t\t\t}", "title": "" }, { "docid": "9bfe031b1743933baadb86ac2e05bd66", "score": "0.53939366", "text": "public abstract String ready();", "title": "" }, { "docid": "7d553bec8d87093c3c447f3d27a69a85", "score": "0.5392118", "text": "public abstract void onGrabSuccess();", "title": "" }, { "docid": "fe17366ff3d0cc07be0d5b0c953ee2a2", "score": "0.53917295", "text": "boolean finished();", "title": "" }, { "docid": "16f19abc58c8d4923a15cb98185f26dc", "score": "0.5387082", "text": "private void returnResult() {\n if( validInput && inputActive ){\n inputActive = false;\n latch.countDown();\n }\n }", "title": "" }, { "docid": "09cf7cf6ed5efc301a5ccf80a96bee17", "score": "0.538634", "text": "private void transferComplete(boolean success) {\n // We can stop listening for file transfers and notifications from the desktop.\n stopSyncServer();\n gettingBook = false;\n\n final int resultId = success ? R.string.done : R.string.transferFailed;\n GetFromWiFiActivity.sendProgressMessage(this, getString(resultId) + \"\\n\\n\");\n\n BaseActivity.playSoundFile(R.raw.bookarrival);\n // We already played a sound for this file, don't need to play another when we resume\n // the main activity and notice the new file.\n MainActivity.skipNextNewFileSound();\n }", "title": "" }, { "docid": "51179c3ea7aeb96d27129189ba7756cc", "score": "0.5383252", "text": "public void run() {\n\t\t\t\t\t \tif (delegate.isLampKnown(device.getAddress())) {\n\t\t\t\t\t \t\tdelegate.didSeeLamp(device, rssi);\n\t\t\t\t\t \t} else {\n\t\t\t\t\t \t\tLamp newLamp = new Lamp(context, device, rssi);\n\t\t\t\t\t\t \tdelegate.didDiscoverLamp(newLamp);\n\t\t\t\t\t \t}\n\t\t\t\t\t }", "title": "" }, { "docid": "9c147e7efbc7b34398041fc1ce86ed84", "score": "0.53790665", "text": "@Override\n public void run() {\n boolean waitingForReply = false;\n TcpMessage msg;\n\n while(auto.getGameState() != State.END) {\n try {\n Thread.sleep(5);\n //Thread.sleep(500);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n// if(connection != null && connection.getSoc() != null && connection.getSoc().isConnected()) {\n updateStatusElements();\n\n// System.out.println(\"inst: \" + (inst == null ? \"null\" : inst.getName()) + \" - \" + waitingForReply);\n\n if(showingReconnect) continue;\n\n if(!waitingForReply) {\n if(inst != null) {\n// System.out.println(\"Sending request: \" + inst.getName());\n\n boolean rv = sendRequest(inst);\n\n status.setResponseText(\"Waiting for server response\");\n\n if(rv) {\n waitingForReply = true;\n } else {\n status.setResponseText(\"Failed to send request\");\n\n Platform.runLater(() -> {\n if(currentCtrl instanceof GameboardCtrl) {\n ((GameboardCtrl) currentCtrl).resetMoveSequence();\n ((GameboardCtrl) currentCtrl).setImageViewEvents(game.getPlayerStoneIndexes());\n }\n });\n\n inst = null;\n }\n }\n }\n\n if(isClientConnected()) { //existing socket\n msg = connection.receiveMessage();\n\n// System.err.println(\"CONNECTED: \" + CONNECTED);\n\n if(msg != null) {\n if(msg.getCreationError()) {\n status.setResponseText(\"Failed to create message\");\n\n doStrikeOrDisconnect();\n }\n\n if (msg.getInst() == Instruction.OK || msg.getInst() == Instruction.ERROR) {\n if(!msg.validateTcpMessage(inst)) {\n status.setResponseText(\"Failed to parse received message\");\n\n doStrikeOrDisconnect();\n\n continue;\n }\n\n if(waitingForReply) {\n handleRequest(msg);\n\n waitingForReply = false;\n inst = null;\n } else {\n status.setResponseText(\"Reply not expected\");\n }\n } else {\n if(!msg.validateTcpMessage(msg.getInst())) {\n status.setResponseText(\"Failed to parse received message\");\n\n doStrikeOrDisconnect();\n\n continue;\n }\n\n handleServerMessage(msg);\n }\n\n lastCommunication = System.currentTimeMillis();\n lastReconnectAttempt = lastCommunication;\n } else {\n if(CONNECTED) {\n if((System.currentTimeMillis() - lastCommunication) > 5000) {\n System.err.println(\"Lost communication\");\n\n Platform.runLater(() -> {\n if(currentCtrl instanceof GameboardCtrl) {\n ((GameboardCtrl) currentCtrl).unsetImageViewEvents(game.getPlayerStoneIndexes());\n }\n });\n\n if(quitAfterDisconnect) { //if user wanted to disconnect but response hasn't come\n System.exit(0);\n }\n\n connection.close();\n connection = null;\n CONNECTED = false;\n\n opponentConnected = false;// TODO right here right?\n\n auto.setGameState(State.LOST_CON);\n status.setResponseText(\"Cannot contact server. Reconnecting\");\n\n pingResponse = true;\n }\n } else {\n if(wasConnected && (System.currentTimeMillis() - lastReconnectAttempt) > 5000) {\n System.err.println(\"You have socket, but aren't CONNECTED\");\n\n //reconnection attempt might have established connection but failed to CONNECT\n if(connection != null) {\n connection.close();\n connection = null;\n }\n } else {\n// System.out.println(\"I'm getting there\");\n }\n }\n }\n\n if ((System.currentTimeMillis() - lastCommunication) > 1000 && CONNECTED &&\n pingResponse && inst == null) {\n sendPing();\n }\n } else {\n //user was connected but hasn't attempted reconnect for more then 5s\n if((System.currentTimeMillis() - lastReconnectAttempt) > 5000 && wasConnected) {\n// reset move sequence if turn wasn't confirmed\n if(inst == Instruction.TURN && waitingForReply) {\n requestPar.clear();\n inst = null;\n waitingForReply = false;\n\n Platform.runLater(() -> {\n ((GameboardCtrl) currentCtrl).resetMoveSequence();\n ((GameboardCtrl) currentCtrl).setImageViewEvents(game.getPlayerStoneIndexes());\n });\n }\n\n System.err.println(((System.currentTimeMillis() - lastCommunication) / 1000) + \"s since last communication\");\n\n //if user is disconnected for more then 60s show reconnect\n if((System.currentTimeMillis() - lastCommunication) > 30000 && !showingReconnect) {\n\n //if connection isn't restored within 5 minutes, stop reconnecting (server removed player)\n if((System.currentTimeMillis() - lastCommunication) >= 300000) {\n System.out.println(\"Failed to reestablish connection.\");\n resetConnectionInfo();\n\n Platform.runLater(() -> {\n currentCtrl.genericSetScene(\"main_menu_disconnected.fxml\");\n status.setResponseText(\"You can't reconnect after 5 minutes\");\n });\n\n continue;\n }\n\n showingReconnect = true;\n waitingForReply = false;\n\n Platform.runLater(() -> {\n currentCtrl.genericSetScene(\"reconnection_repeat.fxml\");\n ((ReconnectionRepeatCtrl) currentCtrl).messageLbl.setText(\"Failed to reconnect. Do you \" +\n \"wish to try again?\");\n });\n } else {\n System.err.println(\"Setting inst to CONNECT\");\n\n waitingForReply = false;\n setInstruction(Instruction.CONNECT);\n }\n } else {\n if(!CONNECTED) {\n inst = null;\n waitingForReply = false;\n }\n }\n\n// try {\n// Thread.sleep(1000);\n// } catch (InterruptedException e) {\n// e.printStackTrace();\n// }\n }\n }\n }", "title": "" }, { "docid": "18182ae208c505180e09fb84a84500a5", "score": "0.53780544", "text": "public void run(){\r\n\t\twhile(seguir){\r\n\t\t\tarquero.tirarArquero(lado);\r\n\t\t\tif(arquero.taparBalon(p.getBalon())){\r\n\t\t\t\tp.getHb().setRebote();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tThread.sleep(30);\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t// TODO: handle exception\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2198f1cca2211063e10d7eb0af1439a7", "score": "0.5376807", "text": "public void receiveResultchangeState(\n org.eclipse.mylyn.targetprocess.modules.services.TaskServiceStub.ChangeStateResponse result\n ) {\n }", "title": "" }, { "docid": "70724b39863c805d458c90dbde655660", "score": "0.5375978", "text": "public void loop()\n\t{\n\t\tTask<T> task = getValidTask();\n\t\tif (task != null)\n\t\t{\n\t\t\tstatus = task.toString();\n\t\t\ttask.execute();\n\t\t}\n\t}", "title": "" }, { "docid": "852760f83c7002ad77c9683b01c872b5", "score": "0.53750944", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t}", "title": "" }, { "docid": "852760f83c7002ad77c9683b01c872b5", "score": "0.53750944", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t}", "title": "" }, { "docid": "852760f83c7002ad77c9683b01c872b5", "score": "0.53750944", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t}", "title": "" }, { "docid": "852760f83c7002ad77c9683b01c872b5", "score": "0.53750944", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t}", "title": "" }, { "docid": "852760f83c7002ad77c9683b01c872b5", "score": "0.53750944", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t}", "title": "" }, { "docid": "852760f83c7002ad77c9683b01c872b5", "score": "0.53750944", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t}", "title": "" }, { "docid": "852760f83c7002ad77c9683b01c872b5", "score": "0.53750944", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\t\t\t\t}", "title": "" }, { "docid": "9759f6df4d718168e38d24849f616e89", "score": "0.5365315", "text": "@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "130c56fb5498e837a7ea71f9f4af9471", "score": "0.53642446", "text": "public void waitForFinish();", "title": "" }, { "docid": "771580936d37e02fd77540d20f19d60b", "score": "0.53630084", "text": "@Override\n\t\t public void onSuccess(Integer result) {\n\t\t\thandler.setSuccess(result);\n\t\t }", "title": "" }, { "docid": "771580936d37e02fd77540d20f19d60b", "score": "0.53630084", "text": "@Override\n\t\t public void onSuccess(Integer result) {\n\t\t\thandler.setSuccess(result);\n\t\t }", "title": "" }, { "docid": "9c20e6ed57554e06eabf4c56586efb90", "score": "0.5356832", "text": "public abstract boolean finished();", "title": "" }, { "docid": "1686c76ace1593b7cde9e952eb3c5948", "score": "0.5353924", "text": "@Override\r\n\t\tpublic boolean done() {\n\t\t\treturn false;\r\n\t\t}", "title": "" }, { "docid": "1686c76ace1593b7cde9e952eb3c5948", "score": "0.5353924", "text": "@Override\r\n\t\tpublic boolean done() {\n\t\t\treturn false;\r\n\t\t}", "title": "" }, { "docid": "d9805d1a7da4c28044b1d5caa5b47749", "score": "0.5353549", "text": "@Override\n\t\t\t\t\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\t\t\t\t\tcallBack.onSuccess();\n\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "0d78c73a5cf0179fd30708259b3190f0", "score": "0.5352563", "text": "@Override\n public void onSuccess() {\n finish();\n }", "title": "" }, { "docid": "21b2b176c3d8aa417042094d516508f1", "score": "0.5351579", "text": "@Override\r\n\t\t\t\tpublic void onSuccess() throws RemoteException {\n\t\t\t\t\tcallback.onSuccess();\r\n\r\n\t\t\t\t}", "title": "" }, { "docid": "ecadb4bd0ea94a3d82a5ba5d8d19c376", "score": "0.53485507", "text": "public void run() {\n\t\twhile (!finished) {\n\t\t\tMove move;\n\t\t\tboolean moveAccepted = false;\n\t\t\twhile(!moveAccepted) {\n\t\t\t\tmove = currentPlayer.getMove();\n\t\t\t\tmoveAccepted = makeMove(move);\n\t\t\t\tif(!moveAccepted) {\n\t\t\t\t\tToolkit.getDefaultToolkit().beep();\n\t\t\t\t\tSystem.out.println(\"Move was not accepted, try again...\");\n\t\t\t\t\t//Boîte du message d'erreur\n\t\t\t\t\tJOptionPane jop3 = new JOptionPane();\n\t\t\t\t\tjop3.showMessageDialog(null, \"Move was not accepted, try again...\", \"Erreur\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\t}\n\t\t\t}\n\t\t\tboardPane.repaint();\n\t\t\t/*\n\t\t\t * move has been accepted\n\t\t\t */\n\t\t\tif (checkWin(currentPlayer)) {\n\t\t\t\tnotifyWin(currentPlayer);\n\t\t\t\tfinished = true;\n\t\t\t}\n\t\t\tswitch (currentPlayer.getColour()) {\n\t\t\tcase Node.RED:\n\t\t\t\tthis.currentPlayer = blue;\n\t\t\t\tbreak;\n\t\t\tcase Node.BLUE:\n\t\t\t\tthis.currentPlayer = red;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "82b1b8de55961c8b57eebf536b3e6c5d", "score": "0.53461295", "text": "@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\tmManager.discoverPeers(mChannel, new ActionListener() {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void onSuccess() {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void onFailure(int reason) {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}", "title": "" }, { "docid": "61257168f4308d51200825a661b185e0", "score": "0.5338116", "text": "private void getResponse(){\n \tdo{\n\t\t\ttry{\n\t\t\t\tThread.sleep(25);\n\t\t\t}\n\t\t\tcatch(InterruptedException e){\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\twhile(buffer.equals(\"\"));\n\t\tresponse = buffer;\n\t\tbuffer = \"\";\n }", "title": "" }, { "docid": "7f4577bbd1c3d1cb624e23b30a3b3946", "score": "0.5336324", "text": "public void run(){\r\n\t\twhile(true){\r\n\t\t\tif(function == FunctionType.LOCALIZE)\r\n\t\t\t\tlocalize();\r\n\t\t\telse if(function == FunctionType.SEARCH)\r\n\t\t\t\tsearch();\r\n\t\t\telse if(function == FunctionType.NAVIGATE)\r\n\t\t\t\tnavigate();\r\n\t\t\telse if(function == FunctionType.IDENTIFY)\r\n\t\t\t\tidentify();\r\n\t\t\telse if(function == FunctionType.COLLECT)\r\n\t\t\t\tcollect();\r\n\t\t\telse if(function == FunctionType.RELEASE)\r\n\t\t\t\trelease();\r\n\t\t\t\r\n\t\t\t\r\n\t\t\ttry{\r\n\t\t\t\tThread.sleep(50);\r\n\t\t\t}\r\n\t\t\tcatch(InterruptedException e){\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ba1e21b3099c65117f344aef57a2c9b0", "score": "0.5336068", "text": "@Override\n protected boolean isFinished() {\n return true;\n }", "title": "" }, { "docid": "a6db6c9105a4726dd218802e1cb22c63", "score": "0.5334009", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\ttry {\n\t\t\t\t\tThread.sleep(packetReplyTimeout);\n\t\t\t\t\tif (loginFlag){\n\t\t\t\t\t\tloginFlag = false;\n\t\t\t\t\t\trelogin();\n\t\t\t\t\t}\n\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "3ace30271819193ff153591c4b3226fe", "score": "0.5330544", "text": "public void run() {\n for (int cnt = 0; cnt < 5 && !success; cnt++)\r\n success = t.look(pan, tilt);\r\n \r\n try { Thread.sleep(500); } catch (Exception e) {}\r\n }", "title": "" }, { "docid": "08b758f45d2db8c6e3d66968a8019383", "score": "0.5328499", "text": "@Override\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "2919b09edb3ff42e7bc116e5851e8510", "score": "0.53262687", "text": "@Override\r\n\t\tpublic void run() {\r\n\t\t\tgo();\t\r\n\t\t}", "title": "" }, { "docid": "c9c668dcf5b462e499fd9e871f474355", "score": "0.53186244", "text": "@Override\r\n\t\t\t\tpublic void run() {\n\t\t\t\t}", "title": "" }, { "docid": "53ae9b2aed4eda69ac7427619f9fdba3", "score": "0.53180367", "text": "@Override\r\n\tpublic void run() {\r\n\t\twhile(acceptingConnections) {\r\n\t\t\tcheckLobby();\r\n\t\t\ttry {\r\n\t\t\t\tThread.sleep(10000);\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "5c577af3151b8052a945d00e9e350788", "score": "0.5318035", "text": "@Override\n public void onSuccess(Object data) {\n setLowLatency();\n //Set Current Time\n setCurrentTime(new ActionCallback() {\n @Override\n public void onSuccess(Object data) {\n Log.d(TAG, \"Current Date successfully set.\");\n readDate(new ActionCallback() {\n @Override\n public void onSuccess(Object data) {\n GregorianCalendar calendar = MiBandDateConverter.rawBytesToCalendar((byte[]) data);\n Log.d(TAG, \"Current Date on MiBand successfully read: \" + DateUtils.convertString(calendar));\n //Set Step Goal\n setFitnessGoal(99999, new ActionCallback() {\n @Override\n public void onSuccess(Object data) {\n Log.d(TAG, \"Set Fitness Goal successfully\");\n }\n\n @Override\n public void onFail(int errorCode, String msg) {\n Log.e(TAG, \"Set Fitness Goal failed\");\n disconnect();\n }\n });\n }\n\n @Override\n public void onFail(int errorCode, String msg) {\n Log.e(TAG, \"Error reading Date: \" + msg);\n disconnect();\n }\n });\n }\n\n @Override\n public void onFail(int errorCode, String msg) {\n Log.e(TAG, \"Error setting Date: \" + msg);\n //User Info not set, wait some time\n Log.d(TAG, \"WAIT... \");\n Thread thread=new Thread(){\n @Override\n public void run(){\n try {\n synchronized(this){\n wait(8000);\n disconnect();\n }\n }\n catch(InterruptedException ex){\n }\n }\n };\n\n thread.start();\n synchronized(thread){\n thread.notifyAll();\n }\n }\n });\n }", "title": "" }, { "docid": "b03f6bf467c130b6959c6401b56f1c3f", "score": "0.5317865", "text": "public void success() {\n\t\tstopTimer();\n\t\tstatus = ReportStatus.SUCCESS;\n\t}", "title": "" }, { "docid": "2486cd7266b206d5a5a57e6c0fa98237", "score": "0.53130734", "text": "public void run()\n {\n while (getContext() != null) {\n Message message = mMarkerTrackUpdateProcessHandler.obtainMessage();\n String response = DBHelper.executeQuery(((MapsActivity) getContext()).getUserId());\n if (response == null)\n {\n message.obj = \"\";\n message.sendToTarget();\n }\n else if (response.length() > 0)\n {\n message.obj = response;\n message.sendToTarget();\n }else\n {\n Log.i(MapsActivity.TAG,\"No response from server.\");\n }\n SystemClock.sleep(MARKER_INTERVAL);\n }\n\n }", "title": "" } ]
299b07aa09c226172c9653450e4ac70e
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig upgrade_configs = 23;
[ { "docid": "bfcf1b0a7b14f83439ea9e25c549d74c", "score": "0.6456375", "text": "@java.lang.Override\n public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig getUpgradeConfigs(int index) {\n return upgradeConfigs_.get(index);\n }", "title": "" } ]
[ { "docid": "3dc0a7051415a3e44045b37e42db6177", "score": "0.68534684", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.Builder addUpgradeConfigsBuilder() {\n return getUpgradeConfigsFieldBuilder().addBuilder(\n io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.getDefaultInstance());\n }", "title": "" }, { "docid": "73a40cb058d9c2900bf5573ed73a89f6", "score": "0.6505473", "text": "@java.lang.Override\n public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfigOrBuilder getUpgradeConfigsOrBuilder(\n int index) {\n return upgradeConfigs_.get(index);\n }", "title": "" }, { "docid": "d5acd0d34345774baa34edb2e35242c2", "score": "0.6407901", "text": "@java.lang.Override\n public java.util.List<? extends io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfigOrBuilder> \n getUpgradeConfigsOrBuilderList() {\n return upgradeConfigs_;\n }", "title": "" }, { "docid": "48691b1f8e4d1db86178a6fe8a3ae384", "score": "0.6360452", "text": "public Builder addUpgradeConfigs(io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig value) {\n if (upgradeConfigsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureUpgradeConfigsIsMutable();\n upgradeConfigs_.add(value);\n onChanged();\n } else {\n upgradeConfigsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "a2844fd14389ad2e96d41b23abfe376c", "score": "0.6170425", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.Builder addUpgradeConfigsBuilder(\n int index) {\n return getUpgradeConfigsFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.getDefaultInstance());\n }", "title": "" }, { "docid": "60f1f01321582afde684181e1ec9e111", "score": "0.61118", "text": "@java.lang.Override\n public java.util.List<io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig> getUpgradeConfigsList() {\n return upgradeConfigs_;\n }", "title": "" }, { "docid": "c61ad4a145b58f8c5e1c98e71f33ec45", "score": "0.5975063", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfigOrBuilder getUpgradeConfigsOrBuilder(\n int index) {\n if (upgradeConfigsBuilder_ == null) {\n return upgradeConfigs_.get(index); } else {\n return upgradeConfigsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "5a9f638a94c51740b5af9f93e34271a0", "score": "0.5884068", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig getUpgradeConfigs(int index) {\n if (upgradeConfigsBuilder_ == null) {\n return upgradeConfigs_.get(index);\n } else {\n return upgradeConfigsBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "c88ed52cf5531b8a2a12a4a24d7eea95", "score": "0.5871163", "text": "io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptions getUpstreamConnectionOptions();", "title": "" }, { "docid": "2bb284da221cac048e487a03c8029041", "score": "0.5859724", "text": "public Builder addUpgradeConfigs(\n int index, io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig value) {\n if (upgradeConfigsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureUpgradeConfigsIsMutable();\n upgradeConfigs_.add(index, value);\n onChanged();\n } else {\n upgradeConfigsBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "961f3bc7d0ccc95fa2734cca71ab3bce", "score": "0.5839391", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.Builder getUpgradeConfigsBuilder(\n int index) {\n return getUpgradeConfigsFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "3e80e0b8373f48ccb2cb3252f5df5fcf", "score": "0.58264905", "text": "public java.util.List<? extends io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfigOrBuilder> \n getUpgradeConfigsOrBuilderList() {\n if (upgradeConfigsBuilder_ != null) {\n return upgradeConfigsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(upgradeConfigs_);\n }\n }", "title": "" }, { "docid": "bde488b1b0221fea9445cd907e1864fc", "score": "0.5792646", "text": "@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.UpstreamHttpProtocolOptionsOrBuilder getUpstreamHttpProtocolOptionsOrBuilder();", "title": "" }, { "docid": "276b446f56bc5efc3c345bdbd8faaa56", "score": "0.57535326", "text": "@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.UpstreamHttpProtocolOptions getUpstreamHttpProtocolOptions();", "title": "" }, { "docid": "b528867b0a54d5f6d859937e25266f91", "score": "0.56601954", "text": "@Nullable\n abstract io.grpc.xds.HttpConnectionManager httpConnectionManager();", "title": "" }, { "docid": "682855588ef25e3f380efecb17b7a2ce", "score": "0.5556957", "text": "public java.util.List<io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig> getUpgradeConfigsList() {\n if (upgradeConfigsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(upgradeConfigs_);\n } else {\n return upgradeConfigsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "937457b6fcaecf71e523a8910f94e529", "score": "0.552288", "text": "private HttpConnectionManager(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "2d27ba55f18cad78b720441fa10a1c3a", "score": "0.5497745", "text": "public java.util.List<io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.Builder> \n getUpgradeConfigsBuilderList() {\n return getUpgradeConfigsFieldBuilder().getBuilderList();\n }", "title": "" }, { "docid": "29a55b3f25369540bcd24de2764d13b3", "score": "0.54954827", "text": "public Builder addUpgradeConfigs(\n io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.Builder builderForValue) {\n if (upgradeConfigsBuilder_ == null) {\n ensureUpgradeConfigsIsMutable();\n upgradeConfigs_.add(builderForValue.build());\n onChanged();\n } else {\n upgradeConfigsBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }", "title": "" }, { "docid": "0e9340ee84bdf598e4bf9c7e534fdf9c", "score": "0.5457715", "text": "@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptionsOrBuilder getHttpProtocolOptionsOrBuilder();", "title": "" }, { "docid": "3d37d77baa4341b15797393d674ba0f8", "score": "0.5446712", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.Builder addHttpFiltersBuilder() {\n return getHttpFiltersFieldBuilder().addBuilder(\n io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.getDefaultInstance());\n }", "title": "" }, { "docid": "51f274dc9ee7c54205c193c656534805", "score": "0.5444291", "text": "public Builder setUpgradeConfigs(\n int index, io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig value) {\n if (upgradeConfigsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureUpgradeConfigsIsMutable();\n upgradeConfigs_.set(index, value);\n onChanged();\n } else {\n upgradeConfigsBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "c08efbc36b9508d9f460ae7fc6913c8d", "score": "0.5425623", "text": "private LdsUpdate processClientSideListener(Listener listener, Args args)\n throws ResourceInvalidException {\n HttpConnectionManager hcm;\n try {\n hcm = unpackCompatibleType(\n listener.getApiListener().getApiListener(), HttpConnectionManager.class,\n TYPE_URL_HTTP_CONNECTION_MANAGER, null);\n } catch (InvalidProtocolBufferException e) {\n throw new ResourceInvalidException(\n \"Could not parse HttpConnectionManager config from ApiListener\", e);\n }\n return LdsUpdate.forApiListener(parseHttpConnectionManager(\n hcm, args.filterRegistry, true /* isForClient */));\n }", "title": "" }, { "docid": "59f6fd6a84ac3848433a1f59865fb109", "score": "0.5344889", "text": "public Builder addAllUpgradeConfigs(\n java.lang.Iterable<? extends io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig> values) {\n if (upgradeConfigsBuilder_ == null) {\n ensureUpgradeConfigsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, upgradeConfigs_);\n onChanged();\n } else {\n upgradeConfigsBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "c4a4c6595e25d60c6f28a7e725c902f7", "score": "0.5337189", "text": "io.envoyproxy.envoy.config.core.v3.BindConfig getUpstreamBindConfig();", "title": "" }, { "docid": "efba3bb4c1c3d1721c13abf95798fccb", "score": "0.5328164", "text": "private void configureProxiedProtocols() {\n //TO: Do we need to implement Port Unification here or directly\n // When hk2 boot Grizzly?\n }", "title": "" }, { "docid": "726ff4d263ac99bb3f5b6eb0e3fb8bc9", "score": "0.5262535", "text": "@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptionsOrBuilder getHttpProtocolOptionsOrBuilder() {\n return getHttpProtocolOptions();\n }", "title": "" }, { "docid": "1be83db12390786572f8793127ff5690", "score": "0.52592015", "text": "public Builder addUpgradeConfigs(\n int index, io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.Builder builderForValue) {\n if (upgradeConfigsBuilder_ == null) {\n ensureUpgradeConfigsIsMutable();\n upgradeConfigs_.add(index, builderForValue.build());\n onChanged();\n } else {\n upgradeConfigsBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }", "title": "" }, { "docid": "2b8cfe973900ee14e7997f2a07dcf965", "score": "0.52555996", "text": "@Override\n\tpublic void configureMessageConverters(List<HttpMessageConverter<?>> converters) {\n\n\t}", "title": "" }, { "docid": "965a7ffb6e49bb9f4b588e86c4e2cd89", "score": "0.52476263", "text": "private ClientConnectionManager getConManager (HttpParams params) {\n \t\tSchemeRegistry registry = new SchemeRegistry();\n \t registry.register(new Scheme(\"http\", new PlainSocketFactory(), 80));\n \t registry.register(new Scheme(\"https\", (trustAllSSLCerts ? new TrustAllSocketFactory() : SSLSocketFactory.getSocketFactory()), 443));\n \t\treturn new ThreadSafeClientConnManager(params, registry);\n \t}", "title": "" }, { "docid": "873b196def35e1b00e026dd1d6750dbd", "score": "0.5222467", "text": "io.envoyproxy.envoy.config.cluster.v3.UpstreamConnectionOptionsOrBuilder getUpstreamConnectionOptionsOrBuilder();", "title": "" }, { "docid": "16125a3993ccafba4adf1cd13a4a71e5", "score": "0.52032226", "text": "@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions getHttpProtocolOptions();", "title": "" }, { "docid": "eb54920e2b4a5a4abe1c00c7c2b499eb", "score": "0.52018976", "text": "Update withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed);", "title": "" }, { "docid": "ff026a70bdfd07723a9b194e996c096c", "score": "0.51894885", "text": "Update withoutMinimumTlsVersion();", "title": "" }, { "docid": "c272017f9fd9e2fe53653032ce05fa45", "score": "0.517468", "text": "ListenerV2UpdateBuilder connectionLimit(Integer connectionLimit);", "title": "" }, { "docid": "04709616662549b1d4de3b5b3cfdac87", "score": "0.51531327", "text": "@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.HttpProtocolOptionsOrBuilder getCommonHttpProtocolOptionsOrBuilder();", "title": "" }, { "docid": "f842cac6361968d9be5f5439695ab1ed", "score": "0.51476514", "text": "interface WithClientProtocol {\n /**\n * Specifies the clientProtocol property: Specifies whether redis clients can connect using TLS-encrypted or\n * plaintext redis protocols. Default is TLS-encrypted..\n *\n * @param clientProtocol Specifies whether redis clients can connect using TLS-encrypted or plaintext redis\n * protocols. Default is TLS-encrypted.\n * @return the next definition stage.\n */\n Update withClientProtocol(Protocol clientProtocol);\n }", "title": "" }, { "docid": "43207c0e553792435e69e7b1c9cc7c1f", "score": "0.5136578", "text": "@java.lang.Deprecated boolean hasUpstreamHttpProtocolOptions();", "title": "" }, { "docid": "8f67ce03a5a846c880da78dda847f69c", "score": "0.50981504", "text": "@Override\r\npublic HttpVersion getProtocolVersion() {\n\treturn null;\r\n}", "title": "" }, { "docid": "c88675aa9cbed0bed96bc3ded828dc11", "score": "0.5074736", "text": "@Bean\n/* */ public HttpRequestHandlerAdapter httpRequestHandlerAdapter()\n/* */ {\n/* 805 */ return new HttpRequestHandlerAdapter();\n/* */ }", "title": "" }, { "docid": "e38076a580fcf41a5c49881b4ab56bcf", "score": "0.5055202", "text": "Update withMinimumTlsVersion(TlsVersion tlsVersion);", "title": "" }, { "docid": "b2c1ad7c30f950f047060405895854a5", "score": "0.50466007", "text": "private void afterWebsocketHandshake( final ChannelPipeline pipeline ) {\n\n// if( pipeline.get( UpendTierName.HTTP_COMMAND_RENDERER.tierName() ) != null ) {\n// pipeline.remove( UpendTierName.HTTP_COMMAND_RENDERER.tierName() ) ;\n// }\n if( pipeline.get( UpendTierName.CHUNKED_WRITER.tierName() ) != null ) {\n pipeline.remove( UpendTierName.CHUNKED_WRITER.tierName() ) ;\n }\n pipeline.remove( UpendTierName.WEBSOCKET_UPGRADER.tierName() ) ;\n if( pipeline.get( UpendTierName.HTTP_IMMEDIATE_COMMAND_RECOGNIZER_HTTP.tierName() ) != null ) {\n pipeline.remove( UpendTierName.HTTP_IMMEDIATE_COMMAND_RECOGNIZER_HTTP.tierName() ) ;\n }\n\n if( setup.websocketCommandDecoder != null ) {\n pipeline.addAfter(\n UpendTierName.WSDECODER.tierName(),\n UpendTierName.WEBSOCKET_FRAME_AGGREGATOR.tierName(),\n new WebSocketFrameAggregator( setup.websocketFrameSizer.maximumAggregatedSize )\n ) ;\n pipeline.addAfter(\n UpendTierName.WSENCODER.tierName(),\n UpendTierName.WEBSOCKET_FRAME_FRAGMENTER.tierName(),\n new WebsocketFragmenterTier(\n setup.websocketFrameSizer.fragmentSize\n )\n ) ;\n final CommandWebsocketCodecUpendTier< UPWARD_DUTY, DOWNWARD_DUTY >\n websocketCodecUpendTier = new CommandWebsocketCodecUpendTier<>(\n setup.websocketCommandDecoder,\n setup.designatorFactory\n )\n ;\n if( pipeline.get( UpendTierName.COMMAND_RECEIVER.tierName() ) == null ) {\n pipeline.addLast(\n UpendTierName.WEBSOCKET_COMMAND_CODEC.tierName(),\n websocketCodecUpendTier\n ) ;\n } else {\n\n final UpendTierName tierToAddBefore =\n pipeline.get( UpendTierName.COMMAND_INTERCEPTOR.tierName() ) != null ?\n UpendTierName.COMMAND_INTERCEPTOR :\n UpendTierName.COMMAND_RECEIVER\n ;\n pipeline.addBefore(\n tierToAddBefore.tierName(),\n UpendTierName.WEBSOCKET_COMMAND_CODEC.tierName(),\n websocketCodecUpendTier\n ) ;\n }\n\n ChannelTools.decorateWithLogging(\n pipeline, UpendTierName.WEBSOCKET_COMMAND_CODEC.tierName(), false, false ) ;\n\n\n if( setup.sessionSupervisor != null &&\n pipeline.get( UpendTierName.SESSION_ENFORCER.tierName() ) != null\n ) {\n pipeline.addBefore(\n UpendTierName.SESSION_ENFORCER.tierName(),\n UpendTierName.WEBSOCKET_PHASE_CODEC.tierName(),\n new SessionPhaseWebsocketCodecUpendTier()\n ) ;\n\n ChannelTools.decorateWithLogging(\n pipeline, UpendTierName.WEBSOCKET_PHASE_CODEC.tierName(), true, false ) ;\n\n }\n\n }\n\n final ConnectionDescriptor currentConnectionDescriptor = connectionDescriptor() ;\n if( currentConnectionDescriptor != null ) {\n pipeline.addAfter(\n UpendTierName.WSENCODER.tierName(),\n UpendTierName.WEBSOCKET_PONG.tierName(),\n new PongTier( currentConnectionDescriptor.timeBoundary.pingTimeoutMs )\n ) ;\n }\n\n if( channelRegistrationHacker != null ) {\n channelRegistrationHacker.afterChannelCreated( pipeline.channel(), channelRegistrar ) ;\n }\n ChannelTools.dumpPipelineAsynchronously( pipeline, \"after WebSocket handshake sent\" ) ;\n\n }", "title": "" }, { "docid": "f7de162e5770b41e4d5e195dc6956711", "score": "0.50359464", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.Builder addFiltersBuilder() {\n return getFiltersFieldBuilder().addBuilder(\n io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.getDefaultInstance());\n }", "title": "" }, { "docid": "11b6a40dd597b535b900b2908ec161f2", "score": "0.5014064", "text": "@Override\n protected List<ConfigIssue> init() {\n List<ConfigIssue> issues = super.init();\n\n HostAndPort hostAndPort = HostAndPort.fromString(conf.grpcConfig.endpoint().orElse(\"\"));\n ProtoMethodName grpcMethodName = ProtoMethodName.parseFullGrpcMethodName(conf.grpcConfig.fullMethod().orElse(\"\"));\n Optional<Path> protoDiscoveryRoot = conf.grpcConfig.protoDiscoveryRoot();\n ImmutableList<Path> additionalProtocIncludes = conf.grpcConfig.additionalProtocIncludes();\n\n Utils.validatePath(protoDiscoveryRoot);\n Utils.validatePaths(additionalProtocIncludes);\n\n\n ChannelFactory channelFactory = ChannelFactory.create(conf.tlsConfig);\n\n LOG.debug(\"Creating channel to: {} \", hostAndPort);\n Channel channel;\n if (conf.oauthConfig.oauthEnabled) {\n channel = channelFactory.createChannelWithCredentials(hostAndPort, conf.oauthConfig.getCredentials());\n } else {\n channel = channelFactory.createChannel(hostAndPort);\n }\n\n\n // Fetch the appropriate file descriptors for the service.\n final DescriptorProtos.FileDescriptorSet fileDescriptorSet;\n Optional<DescriptorProtos.FileDescriptorSet> reflectionDescriptors = Optional.empty();\n if (conf.grpcConfig.useReflection()) {\n reflectionDescriptors =\n Utils.resolveServiceByReflection(channel, grpcMethodName.getFullServiceName(), issues, getContext());\n }\n\n if (reflectionDescriptors.isPresent()) {\n LOG.debug(\"Using proto descriptors fetched by reflection\");\n fileDescriptorSet = reflectionDescriptors.get();\n } else {\n try {\n fileDescriptorSet = ProtocInvoker.forConfig(conf.grpcConfig).invoke();\n LOG.debug(\"Using proto descriptors obtained from protoc\");\n } catch (Exception e) {\n issues.add(getContext().createConfigIssue(\n Groups.GRPC.name(),\n \"protoDiscoveryRootArg\",\n Errors.GRPC_02,\n e\n ));\n return Collections.emptyList();\n }\n }\n\n // Set up the dynamic client and make the call.\n ServiceResolver serviceResolver = ServiceResolver.fromFileDescriptorSet(fileDescriptorSet);\n Descriptors.MethodDescriptor methodDescriptor = serviceResolver.resolveServiceMethod(grpcMethodName);\n\n LOG.debug(\"Creating dynamic grpc client\");\n dynamicClient = DynamicGrpcClient.create(methodDescriptor, channel);\n\n // This collects all known types into a registry for resolution of potential \"Any\" types.\n JsonFormat.TypeRegistry registry = JsonFormat.TypeRegistry.newBuilder()\n .add(serviceResolver.listMessageTypes())\n .build();\n\n // This collect all requests\n try {\n requestMessages = MessageReader.forString(conf.grpcConfig.request, methodDescriptor.getInputType(), registry).read();\n } catch (Exception e) {\n issues.add(getContext().createConfigIssue(\n Groups.GRPC.name(),\n \"request\",\n Errors.GRPC_01,\n e\n ));\n }\n\n\n // If issues is not empty, the UI will inform the user of each configuration issue in the list.\n return issues;\n }", "title": "" }, { "docid": "162f8bc753753c03734e34bbb10448ea", "score": "0.500799", "text": "@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions getHttpProtocolOptions() {\n return httpProtocolOptions_ == null ? io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions.getDefaultInstance() : httpProtocolOptions_;\n }", "title": "" }, { "docid": "deb53aaeae68a809b597132c970fb8c5", "score": "0.49727604", "text": "@Override\n\tpublic void extendMessageConverters(List<HttpMessageConverter<?>> converters) {\n\n\t}", "title": "" }, { "docid": "00fef9522cc979063640d7553c4420f3", "score": "0.49639916", "text": "@java.lang.Deprecated io.envoyproxy.envoy.config.core.v3.HttpProtocolOptions getCommonHttpProtocolOptions();", "title": "" }, { "docid": "b37ead632a05f320aa4e7c53e79df699", "score": "0.4960147", "text": "private UpgradeConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "dde5ed035b32eb64428b21726bee8d80", "score": "0.49524236", "text": "private void bandwidthMapConfigurationUpdated() {\n IBandwidthRequest request = new IBandwidthRequest();\n request.setRequestType(RequestType.REINITIALIZE);\n\n try {\n handleRequest(request);\n } catch (Exception e) {\n statusHandler.handle(Priority.PROBLEM,\n \"Error while reinitializing the bandwidth manager.\", e);\n }\n }", "title": "" }, { "docid": "5a630af794ab78285e53f6644735534f", "score": "0.4946502", "text": "@java.lang.Override\n public java.util.List<? extends io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilterOrBuilder> \n getHttpFiltersOrBuilderList() {\n return httpFilters_;\n }", "title": "" }, { "docid": "d4b2253c6f554d65552e3f448ea9c338", "score": "0.49371", "text": "public io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions getHttpProtocolOptions() {\n if (httpProtocolOptionsBuilder_ == null) {\n return httpProtocolOptions_ == null ? io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions.getDefaultInstance() : httpProtocolOptions_;\n } else {\n return httpProtocolOptionsBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "32e1bf473d4591e7e0702f16c5bd01eb", "score": "0.49041575", "text": "public io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptionsOrBuilder getHttpProtocolOptionsOrBuilder() {\n if (httpProtocolOptionsBuilder_ != null) {\n return httpProtocolOptionsBuilder_.getMessageOrBuilder();\n } else {\n return httpProtocolOptions_ == null ?\n io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions.getDefaultInstance() : httpProtocolOptions_;\n }\n }", "title": "" }, { "docid": "3d5cf1e750cb342aeb0dd053d62f9acc", "score": "0.48959285", "text": "Update withClientProtocol(Protocol clientProtocol);", "title": "" }, { "docid": "69e4e360782aaed6673c6eb0e53094d0", "score": "0.48680282", "text": "@java.lang.Override\n public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.TracingOrBuilder getTracingOrBuilder() {\n return getTracing();\n }", "title": "" }, { "docid": "d9dedd05e51be7f9dbc451f22d622767", "score": "0.48666257", "text": "@Override\r\n protected HttpClientBuilder configureHttpClient(HttpClientBuilder builder) {\r\n builder.addInterceptorLast(requestInterceptor);\r\n return builder;\r\n }", "title": "" }, { "docid": "36797cafda0c84b831c6fbbac2b3bbcf", "score": "0.485734", "text": "@Override\r\npublic HttpResponse setProtocolVersion(HttpVersion version) {\n\treturn null;\r\n}", "title": "" }, { "docid": "8ae18f875778bacd9adacb9c70bee227", "score": "0.48472923", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.Builder addHttpFiltersBuilder(\n int index) {\n return getHttpFiltersFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.getDefaultInstance());\n }", "title": "" }, { "docid": "9702db78056e09a3d18dca649bb371ef", "score": "0.4845808", "text": "@Override\r\n protected HttpAsyncClientBuilder configureHttpClient(HttpAsyncClientBuilder builder) {\r\n builder.addInterceptorLast(requestInterceptor);\r\n return builder;\r\n }", "title": "" }, { "docid": "ce07daf1137a2df3d99c13ba739c3338", "score": "0.4845325", "text": "@Override\n public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {\n FullHttpRequest req = (FullHttpRequest)msg;\n if (this.isNotWebSocketPath((FullHttpRequest)req)) {\n ctx.fireChannelRead((Object)msg);\n return;\n }\n try {\n if (!HttpMethod.GET.equals((Object)req.method())) {\n WebSocketServerProtocolHandshakeHandler.sendHttpResponse((ChannelHandlerContext)ctx, (HttpRequest)req, (HttpResponse)new DefaultFullHttpResponse((HttpVersion)HttpVersion.HTTP_1_1, (HttpResponseStatus)HttpResponseStatus.FORBIDDEN, (ByteBuf)ctx.alloc().buffer((int)0)));\n return;\n }\n WebSocketServerHandshakerFactory wsFactory = new WebSocketServerHandshakerFactory((String)WebSocketServerProtocolHandshakeHandler.getWebSocketLocation((ChannelPipeline)ctx.pipeline(), (HttpRequest)req, (String)this.websocketPath), (String)this.subprotocols, (WebSocketDecoderConfig)this.decoderConfig);\n WebSocketServerHandshaker handshaker = wsFactory.newHandshaker((HttpRequest)req);\n ChannelPromise localHandshakePromise = this.handshakePromise;\n if (handshaker == null) {\n WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse((Channel)ctx.channel());\n return;\n }\n WebSocketServerProtocolHandler.setHandshaker((Channel)ctx.channel(), (WebSocketServerHandshaker)handshaker);\n ctx.pipeline().replace((ChannelHandler)this, (String)\"WS403Responder\", (ChannelHandler)WebSocketServerProtocolHandler.forbiddenHttpRequestResponder());\n ChannelFuture handshakeFuture = handshaker.handshake((Channel)ctx.channel(), (FullHttpRequest)req);\n handshakeFuture.addListener((GenericFutureListener<? extends Future<? super Void>>)new ChannelFutureListener((WebSocketServerProtocolHandshakeHandler)this, (ChannelPromise)localHandshakePromise, (ChannelHandlerContext)ctx, (FullHttpRequest)req, (WebSocketServerHandshaker)handshaker){\n final /* synthetic */ ChannelPromise val$localHandshakePromise;\n final /* synthetic */ ChannelHandlerContext val$ctx;\n final /* synthetic */ FullHttpRequest val$req;\n final /* synthetic */ WebSocketServerHandshaker val$handshaker;\n final /* synthetic */ WebSocketServerProtocolHandshakeHandler this$0;\n {\n this.this$0 = this$0;\n this.val$localHandshakePromise = channelPromise;\n this.val$ctx = channelHandlerContext;\n this.val$req = fullHttpRequest;\n this.val$handshaker = webSocketServerHandshaker;\n }\n\n public void operationComplete(ChannelFuture future) throws Exception {\n if (!future.isSuccess()) {\n this.val$localHandshakePromise.tryFailure((java.lang.Throwable)future.cause());\n this.val$ctx.fireExceptionCaught((java.lang.Throwable)future.cause());\n return;\n }\n this.val$localHandshakePromise.trySuccess();\n this.val$ctx.fireUserEventTriggered((Object)((Object)io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler$ServerHandshakeStateEvent.HANDSHAKE_COMPLETE));\n this.val$ctx.fireUserEventTriggered((Object)new io.netty.handler.codec.http.websocketx.WebSocketServerProtocolHandler$HandshakeComplete((String)this.val$req.uri(), (HttpHeaders)this.val$req.headers(), (String)this.val$handshaker.selectedSubprotocol()));\n }\n });\n this.applyHandshakeTimeout();\n return;\n }\n finally {\n req.release();\n }\n }", "title": "" }, { "docid": "fa0f6032109a12e0abaca43cfe4a9de8", "score": "0.48440978", "text": "Update withNonSslPort();", "title": "" }, { "docid": "b40e74d7690c075de561c711707ed0ea", "score": "0.4843989", "text": "@Override\n\tprotected void configure(SocketChannel ch) {\n\t\tChannelPromise http2InUsePromise = ch.newPromise();\n\t\tthis.frameHandler = new Http2FrameHandler(http2InUsePromise, host, port, \"http\", config, eventLoopGroup);\n\t}", "title": "" }, { "docid": "a3bbd844a0b757522da7081ba1167934", "score": "0.48246437", "text": "public io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions.Builder getHttpProtocolOptionsBuilder() {\n \n onChanged();\n return getHttpProtocolOptionsFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "4d5cb56a39e73820326f87f40e77c237", "score": "0.48213324", "text": "public Builder setUpgradeConfigs(\n int index, io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.UpgradeConfig.Builder builderForValue) {\n if (upgradeConfigsBuilder_ == null) {\n ensureUpgradeConfigsIsMutable();\n upgradeConfigs_.set(index, builderForValue.build());\n onChanged();\n } else {\n upgradeConfigsBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }", "title": "" }, { "docid": "d43c57c4fcadef9307ac31586b977951", "score": "0.48151627", "text": "public interface HttpListener extends LifeCycle, Serializable {\n public static final String ATTRIBUTE = \"net.lightbody.bmp.proxy.jetty.http.HttpListener\";\n\n /**\n * Get the HttpServer instance for this HttpListener.\n *\n * @return The HttpServer instance this HttpListener has been added to, or null if the listener is not added to any HttpServer.\n */\n public HttpServer getHttpServer();\n\n /**\n * Set the HttpServer instance for this HttpListener.\n * This method is called by the HttpServer.addListener method. It should not be called directly.\n *\n * @param server The HttpServer instance this HttpListener has been added to.\n */\n public void setHttpServer(HttpServer server);\n\n /**\n * Get the host or IP of the interface used by this listener.\n *\n * @return The hostname or IP address of the interface used by this\n * listeners. If null or \"0.0.0.0\" then all available interfaces are used\n * by this listener.\n */\n public String getHost();\n\n /**\n * Set the host or IP of the interface used by this listener.\n *\n * @param host The hostname or IP address of the interface used by this\n * listeners. If null or \"0.0.0.0\" then all available interfaces are used by this listener.\n */\n public void setHost(String host) throws UnknownHostException;\n\n /**\n * Get the port number of the listener.\n *\n * @return The TCP/IP port number used by this listener.\n */\n public int getPort();\n\n /**\n * Set the port number of the listener.\n *\n * @param port The TCP/IP port number to be used by this listener.\n */\n public void setPort(int port);\n\n /**\n * Get the size of the buffers used by connections from this listener.\n *\n * @return The default buffer size in bytes.\n */\n public int getBufferSize();\n\n /**\n * Get the size of the header reserve area.\n * Get the size of the header reserve area within the buffers used by connections from this listener.\n * The header reserve is space reserved in the first buffer of a response to allow a HTTP header to\n * be written in the same packet. The reserve should be large enough to\n * avoid moving data to fit the header, but not too large as to waste memory.\n *\n * @return The default buffer reserve size in bytes.\n */\n public int getBufferReserve();\n\n /**\n * Get the default scheme for requests.\n * If a request is received from a HttpConnection created by this listener, that does not include a scheme\n * in it's request URL, then this method is used to determine the protocol scheme most likely used\n * to connect to this listener.\n *\n * @return The protocol scheme name (eg \"http\" or \"https\").\n */\n public String getDefaultScheme();\n\n /**\n * Customize a request for a listener/connection combination.\n * This method is called by HttpConnection after a request has been read from that connection\n * and before processing that request. Implementations may use this callback to add additional listener\n * and/or connection specific attributes to the request (eg SSL attributes).\n *\n * @param connection The connection the request was received on, which must be a HttpConnection created by this listener.\n * @param request The request to customize.\n */\n public void customizeRequest(HttpConnection connection, HttpRequest request);\n\n /**\n * Prepare a connection for persistance.\n * This method is called by the HttpConnection on a persistent connection after each request has been handled\n * and before starting to read for the next connection.\n * Implementations may use this callback to change the parameters or scheduling of the connection.\n *\n * @param connection The persistent connection, which must be a HttpConnection created by this listener.\n */\n public void persistConnection(HttpConnection connection);\n\n /**\n * Get the low on resources state of the listener.\n * For most implementations, Threads are the resource reported on by this method.\n *\n * @return True if the listener is out of resources.\n */\n public boolean isLowOnResources();\n\n /**\n * Get the out of resources state of the listener.\n * For most implementations, Threads are the resource reported on by this method.\n *\n * @return True if the listener is out of resources.\n */\n public boolean isOutOfResources();\n\n /**\n * Get the integral status of a connection.\n *\n * @param connection The connection to test.\n * @return True of the connection checks the integrity of the data. For most implementations this is true for https connections.\n */\n public boolean isIntegral(HttpConnection connection);\n\n /**\n * Get the protocol scheme to use for integral redirections.\n * If an INTEGRAL security constraint is not met for a request, the request is redirected to an integral port.\n * This scheme return by this method is used for that redirection.\n *\n * @return The integral scheme. For most implementations this is \"https\"\n */\n public String getIntegralScheme();\n\n /**\n * Get the protocol port to use for integral redirections.\n * If an INTEGRAL security constraint is not met for a request, the request is redirected to an integral port.\n * This port return by this method is used for that redirection.\n *\n * @return The integral port. For most implementations this is 443 for https\n */\n public int getIntegralPort();\n\n /**\n * Get the confidential status of a connection.\n *\n * @param connection The connection to test.\n * @return True of the connection checks the integrity of the data. For most implementations this is true for https connections.\n */\n public boolean isConfidential(HttpConnection connection);\n\n /**\n * Get the protocol scheme to use for confidential redirections.\n * If an CONFIDENTIAL security constraint is not met for a request, the request is redirected to an confidential port.\n * This scheme return by this method is used for that redirection.\n *\n * @return The confidential scheme. For most implementations this is \"https\"\n */\n public String getConfidentialScheme();\n\n /**\n * Get the protocol port to use for confidential redirections.\n * If an CONFIDENTIAL security constraint is not met for a request, the request is redirected to an confidential port.\n * This port return by this method is used for that redirection.\n *\n * @return The confidential port. For most implementations this is 443 for https\n */\n public int getConfidentialPort();\n\n /**\n * Get an optional HttpHandler for the listener.\n * If Set, then HttpConnection will pass requests from this listener to this handler with an empty context path,\n * before passing the request to the HttpServer. This allows listener specific handling to be added\n * or even a HttpContext (which is a HttpHandler) to be bound directly to HttpListener.\n */\n public HttpHandler getHttpHandler();\n\n}", "title": "" }, { "docid": "973bf133b58939010612dba403f1a198", "score": "0.4805219", "text": "io.envoyproxy.envoy.config.core.v3.BindConfigOrBuilder getUpstreamBindConfigOrBuilder();", "title": "" }, { "docid": "c30c6d396a14129ae6f02764831c279f", "score": "0.47929516", "text": "private void configureUnsafeOkHttpClient() {\n\n try {\n final TrustManager[] trustAllCerts = new TrustManager[]{\n new X509TrustManager() {\n @Override\n public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) throws\n CertificateException {\n }\n\n @Override\n public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) throws\n CertificateException {\n }\n\n @Override\n public java.security.cert.X509Certificate[] getAcceptedIssuers() {\n return new java.security.cert.X509Certificate[]{};\n }\n }\n };\n\n final SSLContext sslContext = SSLContext.getInstance(\"SSL\");\n\n sslContext.init(null, trustAllCerts, new java.security.SecureRandom());\n\n final SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();\n\n okHttpClient = okHttpClient.newBuilder()\n .sslSocketFactory(sslSocketFactory)\n .hostnameVerifier(new HostnameVerifier() {\n\n @Override\n public boolean verify(String hostname, SSLSession session) {\n return true;\n }\n\n })\n .build();\n\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "1205fb09d9626e5f1cdc17de5f8a2866", "score": "0.47801456", "text": "@Override\n public String getProtocolVersion() {\n return \"HTTP/1.1\";\n }", "title": "" }, { "docid": "c22f5fec678a69bbb77e6a5c6d0edbd3", "score": "0.476922", "text": "@java.lang.Override\n public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilterOrBuilder getHttpFiltersOrBuilder(\n int index) {\n return httpFilters_.get(index);\n }", "title": "" }, { "docid": "f4f4511e78403662412c89b4fcbb4906", "score": "0.47659206", "text": "@Override\n public void dealData(ChannelHandlerContext ctx, RequestResponseProto msg) throws Exception {\n \n }", "title": "" }, { "docid": "c4a3b30300865f25edf9ff1d0918dcbd", "score": "0.47549546", "text": "@Override\n public void configure(WebSocketServletFactory factory)\n {\n factory.getExtensionFactory().register(\"permessage-compress\",PerMessageDeflateExtension.class);\n\n // Setup the desired Socket to use for all incoming upgrade requests\n factory.register(EchoSocket.class);\n \n // Some alternate sizes\n factory.getPolicy().setMaxBinaryMessageSize(2222);\n factory.getPolicy().setMaxTextMessageSize(4444);\n }", "title": "" }, { "docid": "88ac0c931cba159eced22df1427b88e1", "score": "0.47442332", "text": "public interface ListenerV2UpdateBuilder extends Buildable.Builder<ListenerV2UpdateBuilder, ListenerV2Update> {\n\n /**\n * Optional\n *\n * @param name\n * Human-readable name for the listener. Does not have to be unique.\n * @return ListenerV2UpdateBuilder\n */\n ListenerV2UpdateBuilder name(String name);\n\n /**\n * Optional\n *\n * @param description\n * Human-readable description for the listener.\n * @return ListenerV2UpdateBuilder\n */\n ListenerV2UpdateBuilder description(String description);\n \n /**\n * Optional\n *\n * @param description\n * Human-readable defaultPoolId for the listener.\n * @return ListenerV2UpdateBuilder\n */\n ListenerV2UpdateBuilder defaultPoolId(String defaultPoolId);\n\n /**\n * Optional\n *\n * @param adminStateUp\n * The administrative state of the listener. A valid value is true\n * (UP) or false (DOWN).\n * @return ListenerV2UpdateBuilder\n */\n ListenerV2UpdateBuilder adminStateUp(Boolean adminStateUp);\n\n /**\n * Optional\n * The maximum number of connections allowed for the listener. Default is -1, meaning no limit.\n * @param connectionLimit\n * @return ListenerV2UpdateBuilder\n */\n ListenerV2UpdateBuilder connectionLimit(Integer connectionLimit);\n\n /**\n * Optional\n *\n * The tls container reference\n * @param defaultTlsContainerRef\n * @return ListenerV2UpdateBuilder\n */\n ListenerV2UpdateBuilder defaultTlsContainerRef(String defaultTlsContainerRef);\n}", "title": "" }, { "docid": "66666bfa40aea0c7409fe1f88315ff17", "score": "0.47272146", "text": "private OkHttpClient configureHttpClient() {\n\n configureUnsafeOkHttpClient();\n\n configureTimeouts();\n\n return okHttpClient;\n }", "title": "" }, { "docid": "38b7df1446bdc866ff3b0b834e4dbce2", "score": "0.4702155", "text": "@Test\n @Override\n public void testadjustTLSExtensionContext() {\n SupportedVersionsExtensionMessage msg = new SupportedVersionsExtensionMessage();\n msg.setSupportedVersions(\n ArrayConverter.concatenate(\n ProtocolVersion.TLS12.getValue(), ProtocolVersion.TLS13.getValue()));\n handler.adjustTLSExtensionContext(msg);\n assertEquals(2, context.getClientSupportedProtocolVersions().size());\n assertEquals(\n context.getHighestClientProtocolVersion().getValue(),\n ProtocolVersion.TLS13.getValue());\n }", "title": "" }, { "docid": "4a85d9b248600d6305cd982c2301e9fb", "score": "0.46975836", "text": "@Override\n public void incrementFlowControlWindows(int delta) throws Http2Exception {\n }", "title": "" }, { "docid": "1fa0dfba7a90eca9dd411e48ca782180", "score": "0.4691332", "text": "interface WithMinimumTlsVersionAllowed {\n /**\n * Specifies the minimumTlsVersionAllowed property: Minimum TLS version of the publisher allowed to publish\n * to this domain.\n *\n * @param minimumTlsVersionAllowed Minimum TLS version of the publisher allowed to publish to this domain.\n * @return the next definition stage.\n */\n Update withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed);\n }", "title": "" }, { "docid": "ddf178dfbe39c1f557355ecee19f5ad6", "score": "0.4684481", "text": "private void initProtocols() {\n Graph g = _encoderSlice.getGraph();\n g.getConfigurations().forEach((router, conf) -> getProtocols().put(router, new ArrayList<>()));\n g.getConfigurations()\n .forEach(\n (router, conf) -> {\n List<Protocol> protos = getProtocols().get(router);\n if (!conf.getDefaultVrf().getOspfProcesses().isEmpty()) {\n protos.add(Protocol.OSPF);\n }\n // TODO: re-evaluate this in the future\n // TODO: do we want to model BGP's impact on IGP in other slices?\n if (conf.getDefaultVrf().getBgpProcess() != null && _encoderSlice.isMainSlice()) {\n protos.add(Protocol.BGP);\n }\n if (needToModelConnected(conf)) {\n protos.add(Protocol.CONNECTED);\n }\n if (needToModelStatic(conf)) {\n protos.add(Protocol.STATIC);\n }\n });\n }", "title": "" }, { "docid": "c69f511aa38f1f8040217c427822f0d8", "score": "0.46840906", "text": "@Override\n protected void initChannel(SocketChannel ch)\n {\n ch.pipeline().addLast(\"codec\", new HttpServerCodec()); // HttpRequestDecoder and HttpResponseEncoder\n ch.pipeline().addLast(\"compressor\", new HttpContentCompressor()); // GZIP compression\n ch.pipeline().addLast(\"decompressor\", new HttpContentDecompressor()); // GZIP decompression\n ch.pipeline().addLast(\"aggregator\", new HttpObjectAggregator(65536)); // Aggregate framed messages\n ch.pipeline().addLast(\"chunking\", new ChunkedWriteHandler()); // Handle chunked input (e.g. ChunkedFile)\n ch.pipeline().addLast(new FullHttpRequestDecoder()); // Decode FullHttpRequest to URIFragment\n ch.pipeline().addLast(new ResourceProviderHandler(znews)); // Answer requests using a Resource, falling back to StaticWeb\n }", "title": "" }, { "docid": "599f2fa45dbacc3fba09b0e8c1f1e4d7", "score": "0.46766686", "text": "ListenerV2UpdateBuilder defaultTlsContainerRef(String defaultTlsContainerRef);", "title": "" }, { "docid": "c4b58efbaa6db83b5bb7ef8c5c41eaaa", "score": "0.46724677", "text": "public Builder addHttpFilters(io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter value) {\n if (httpFiltersBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureHttpFiltersIsMutable();\n httpFilters_.add(value);\n onChanged();\n } else {\n httpFiltersBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "508ab0411a2be2cd52b7ed081f130ef1", "score": "0.46704975", "text": "Update withoutNonSslPort();", "title": "" }, { "docid": "79b040fb1d9bc3201b817b4cc53cb56f", "score": "0.4669044", "text": "@Override\n public void init(EndpointConfig config)\n {\n\n }", "title": "" }, { "docid": "5776ca148b4762ff1606e1a1fe519a20", "score": "0.46645737", "text": "@Override\n\tpublic void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) {\n\t}", "title": "" }, { "docid": "8c5ef11efbfe64944500390d18876c46", "score": "0.4647628", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions, io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions.Builder, io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptionsOrBuilder> \n getHttpProtocolOptionsFieldBuilder() {\n if (httpProtocolOptionsBuilder_ == null) {\n httpProtocolOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions, io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptions.Builder, io.envoyproxy.envoy.config.core.v3.Http1ProtocolOptionsOrBuilder>(\n getHttpProtocolOptions(),\n getParentForChildren(),\n isClean());\n httpProtocolOptions_ = null;\n }\n return httpProtocolOptionsBuilder_;\n }", "title": "" }, { "docid": "55683b3375fcad8c8bcd43afc13e3a47", "score": "0.46449536", "text": "void incrementFlowControlWindows(int delta) throws Http2Exception;", "title": "" }, { "docid": "bd78c2eb55862ff830268132ec0c9664", "score": "0.46422985", "text": "@Bean\n public DirectChannel requests() {\n return new DirectChannel();\n }", "title": "" }, { "docid": "dc45e490d100f1a6e3c62ffa1be6775e", "score": "0.4629501", "text": "@Override\r\n public void addConnectionListener(String name) {\n\r\n }", "title": "" }, { "docid": "03f8de47d6c1d5da5848e406abfcdb62", "score": "0.4615202", "text": "protected abstract ChannelUpgradeFuture connectChannel(Future<Channel> fc);", "title": "" }, { "docid": "3d6033998a43fba2f995354b703a8cac", "score": "0.46121842", "text": "public interface ConnectionReuseStrategy {\n\n /**\n * Decides whether a connection can be kept open after a request. If this\n * method returns <code>false</code>, the caller MUST close the connection\n * to correctly implement the HTTP protocol. If it returns <code>true</code>\n * , the caller SHOULD attempt to keep the connection open for reuse with\n * another request. <br/>\n * One can use the HTTP context to retrieve additional objects that may be\n * relevant for the keep-alive strategy: the actual HTTP connection, the\n * original HTTP request, target host if known, number of times the\n * connection has been reused already and so on. <br/>\n * If the connection is already closed, <code>false</code> is returned. The\n * stale connection check MUST NOT be triggered by a connection reuse\n * strategy.\n * \n * @param response\n * The last response received over that connection.\n * @param context\n * the context in which the connection is being used.\n * \n * @return <code>true</code> if the connection is allowed to be reused, or\n * <code>false</code> if it MUST NOT be reused\n */\n boolean keepAlive(HttpResponse response, HttpContext context);\n\n}", "title": "" }, { "docid": "15241ad8ec548a5b2f6991333a5f9370", "score": "0.46096757", "text": "interface WithUpgradeMode {\n /**\n * Specifies upgradeMode.\n * @param upgradeMode The upgrade mode of the cluster when new Service Fabric runtime version is available.\n - Automatic - The cluster will be automatically upgraded to the latest Service Fabric runtime version as soon as it is available.\n - Manual - The cluster will not be automatically upgraded to the latest Service Fabric runtime version. The cluster is upgraded by setting the **clusterCodeVersion** property in the cluster resource.\n . Possible values include: 'Automatic', 'Manual'\n * @return the next update stage\n */\n Update withUpgradeMode(String upgradeMode);\n }", "title": "" }, { "docid": "290ad25a012468c307fd3982cc9aa06c", "score": "0.46071967", "text": "public AgentPoolUpgradeSettings() {\n }", "title": "" }, { "docid": "37a19a486e56f0473a94bf448ea8ad0c", "score": "0.45948598", "text": "protected final void addDefaultHttpMessageConverters(List<HttpMessageConverter<?>> messageConverters)\n/* */ {\n/* 757 */ StringHttpMessageConverter stringConverter = new StringHttpMessageConverter();\n/* 758 */ stringConverter.setWriteAcceptCharset(false);\n/* */ \n/* 760 */ messageConverters.add(new ByteArrayHttpMessageConverter());\n/* 761 */ messageConverters.add(stringConverter);\n/* 762 */ messageConverters.add(new ResourceHttpMessageConverter());\n/* 763 */ messageConverters.add(new SourceHttpMessageConverter());\n/* 764 */ messageConverters.add(new AllEncompassingFormHttpMessageConverter());\n/* */ \n/* 766 */ if (romePresent) {\n/* 767 */ messageConverters.add(new AtomFeedHttpMessageConverter());\n/* 768 */ messageConverters.add(new RssChannelHttpMessageConverter());\n/* */ }\n/* */ \n/* 771 */ if (jackson2XmlPresent) {\n/* 772 */ messageConverters.add(new MappingJackson2XmlHttpMessageConverter(\n/* 773 */ Jackson2ObjectMapperBuilder.xml().applicationContext(this.applicationContext).build()));\n/* */ }\n/* 775 */ else if (jaxb2Present) {\n/* 776 */ messageConverters.add(new Jaxb2RootElementHttpMessageConverter());\n/* */ }\n/* */ \n/* 779 */ if (jackson2Present) {\n/* 780 */ messageConverters.add(new MappingJackson2HttpMessageConverter(\n/* 781 */ Jackson2ObjectMapperBuilder.json().applicationContext(this.applicationContext).build()));\n/* */ }\n/* 783 */ else if (gsonPresent) {\n/* 784 */ messageConverters.add(new GsonHttpMessageConverter());\n/* */ }\n/* */ }", "title": "" }, { "docid": "7bc0540e8574a60fa7eb571e3c7c7440", "score": "0.45862925", "text": "public AsyncServletStreamServerConfigurationImpl(ServletContainerAdapter servletContainerAdapter) {\n/* 40 */ this.servletContainerAdapter = servletContainerAdapter;\n/* */ }", "title": "" }, { "docid": "76e23f71ba0295b4c4ab187db66fd2d7", "score": "0.45847353", "text": "public io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.Builder addFiltersBuilder(\n int index) {\n return getFiltersFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter.getDefaultInstance());\n }", "title": "" }, { "docid": "91e65e542996c9ce216194ae5eb66509", "score": "0.457689", "text": "@Deprecated\n/* */ protected DefaultNHttpServerConnection createConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) {\n/* 108 */ return new DefaultNHttpServerConnection(session, requestFactory, allocator, params);\n/* */ }", "title": "" }, { "docid": "28b372eca4a4db00ceee9ce1e5c0476a", "score": "0.456374", "text": "@java.lang.Deprecated boolean hasCommonHttpProtocolOptions();", "title": "" }, { "docid": "8c520ba6358b07943e2ebec90165162f", "score": "0.455753", "text": "private Connector initiateHttpConnector() {\n\t\tConnector connector = new Connector(\"org.apache.coyote.http11.Http11NioProtocol\");\n\t\tconnector.setScheme(\"http\");\n\t\tconnector.setPort(http_port);\n\t\tconnector.setSecure(false);\n\t\tconnector.setRedirectPort(https_port);\n\t\treturn connector;\n\t}", "title": "" }, { "docid": "71109064dabd985327eeaea27c55fa13", "score": "0.45559663", "text": "public Builder addFilters(io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter value) {\n if (filtersBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFiltersIsMutable();\n filters_.add(value);\n onChanged();\n } else {\n filtersBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "bc79b692acdb3392db77acd7df6ec78d", "score": "0.4555093", "text": "java.util.List<? extends io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilterOrBuilder> \n getFiltersOrBuilderList();", "title": "" }, { "docid": "f8034974ea03de5875d867b68c1ca4b0", "score": "0.4552906", "text": "TlsVersion minimumTlsVersionAllowed();", "title": "" }, { "docid": "d4889ee520ae87c156caf91ac9dda907", "score": "0.45509642", "text": "public TLUpdateChannelTooLong() {\n super();\n }", "title": "" } ]
9800f37cd70b62269def973084e1586a
Return the current state of Stream 'n' Poop(TM)
[ { "docid": "3a4ce6bfdfa12d91b160c865060d85bb", "score": "0.0", "text": "public static boolean snpIsEnabled() {\r\n\t\treturn snpEnabled;\r\n\t}", "title": "" } ]
[ { "docid": "3147a7fc55cfd3d9b9572e59a32eb5a0", "score": "0.6083917", "text": "@Override\n public Object getState() {\n long rp = readPos();\n long wp = writePos();\n state.put(\"capacity\", capacity());\n state.put(\"population\", wp - rp);\n state.put(\"write_pos\", wp);\n state.put(\"read_pos\", rp);\n return state;\n }", "title": "" }, { "docid": "e1bdc9970def10f84901e5b936b81f6c", "score": "0.6030713", "text": "public int getState() { return state; }", "title": "" }, { "docid": "7f1bfa2a26c9387050c5917d91924d7b", "score": "0.60152775", "text": "public int getToState () { return toState; }", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.5898227", "text": "public int getState();", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.5898227", "text": "public int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.5893316", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.5893316", "text": "int getState();", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.5893316", "text": "int getState();", "title": "" }, { "docid": "228cac6c8a656f0e90d4fe5eec9a8dbd", "score": "0.5827851", "text": "public int getFromState () { return fromState; }", "title": "" }, { "docid": "fda74f703c2d4f0bd671a7fecc0b3445", "score": "0.577733", "text": "@Override\n\tpublic int getStateCount() {\n\t\treturn 2;\n\t}", "title": "" }, { "docid": "586e36cfcc3898e7934a1d26d7bbe10b", "score": "0.5753418", "text": "int getState()\n {\n return state;\n }", "title": "" }, { "docid": "7205cc11ba5cf7ae0e44ccdfb73ea8a5", "score": "0.5656392", "text": "public Boolean getState() {\r\n\t\treturn cur_nsts;\r\n\t}", "title": "" }, { "docid": "bd2b31fe16f94dc988eb08aaec4dc224", "score": "0.56429046", "text": "public int nbStates()\n\t{\n\t\treturn pi.length;\n\t}", "title": "" }, { "docid": "6db5449462b8d91c7271abd0b90cb076", "score": "0.56326276", "text": "public ProcessingState getState() {\n return mState;\n }", "title": "" }, { "docid": "405be38218f5626d94f90456d8d2a216", "score": "0.56250364", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "1bd3def62589faa1c036d10ef9be69b1", "score": "0.5599599", "text": "@Override\n public long getState() {\n return state;\n }", "title": "" }, { "docid": "51b6021ad81048b7bd95f879ed728dcf", "score": "0.5580477", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.5567472", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.5567472", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.5567472", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.5567472", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "7a69b67d5dfb5ec4d26fa6016dc78684", "score": "0.5566843", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.55550957", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.55550957", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "c5734c6373e03f8b24e239981f7a815c", "score": "0.555418", "text": "com.lys.protobuf.ProtocolPair.PTaskState getState();", "title": "" }, { "docid": "c5734c6373e03f8b24e239981f7a815c", "score": "0.555418", "text": "com.lys.protobuf.ProtocolPair.PTaskState getState();", "title": "" }, { "docid": "fb67aabb4fb806c1c5edea0e4e8ce793", "score": "0.5526467", "text": "final public int getState() {\r\n\treturn state;\r\n }", "title": "" }, { "docid": "bd56ffae952506b6d8e3c2cf35253a42", "score": "0.55212367", "text": "Stream<S> nextPossibleStates(final S state);", "title": "" }, { "docid": "50d6c5dd262775fcf20dca81ca6fc66b", "score": "0.5509809", "text": "public int getState() {\n return state_;\n }", "title": "" }, { "docid": "f2751314b3f1e8a755eec57f2a8681bc", "score": "0.55022407", "text": "public int getState() {\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "0e8f0b71afdf69e5f71747a301fc20ba", "score": "0.5499854", "text": "public int getState() {\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.5498877", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.5498877", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.5498877", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.5498877", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.5498877", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "1c93a2878be33d0b9f269283b4ccdb55", "score": "0.54943717", "text": "public int getCurrentState() { return currentState; }", "title": "" }, { "docid": "87af22280a67a59f7fda91c8824c390b", "score": "0.5478457", "text": "public int state()\r\n/* 8: */ {\r\n/* 9: 67 */ return (int)this.info[0];\r\n/* 10: */ }", "title": "" }, { "docid": "fde1c3f1d4b1c08a56f30ba17de95609", "score": "0.54662627", "text": "public int getState()\n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3fe4192f090ea39ea26b1c0fdf6c62cc", "score": "0.54579335", "text": "INDArray getCurrentState();", "title": "" }, { "docid": "06851c58e49cdd79e3e08a4195965b49", "score": "0.545316", "text": "io.pravega.controller.stream.api.grpc.v1.Controller.TxnState.State getState();", "title": "" }, { "docid": "295a23f8152bd5c9196dc08920562088", "score": "0.5451246", "text": "public int getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "197a1885bfe97cf1206e1d39389a4d16", "score": "0.5422599", "text": "public Integer getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "a55a5e86d5ca7a43df5e81654b486014", "score": "0.53980285", "text": "String getNextState() throws StateLimitException;", "title": "" }, { "docid": "965ece07784e40d026c0b427079f21ac", "score": "0.538804", "text": "@Override\n public final long getState() {\n return state;\n }", "title": "" }, { "docid": "b62e9ecff496036013927b3870211ace", "score": "0.5381632", "text": "public String getProState() {\n return proState;\n }", "title": "" }, { "docid": "33bc506784d7ed53b7e5a8fdb6400a1d", "score": "0.5375622", "text": "@Override\n public EventSetProcessorState getState() {\n return state.get();\n }", "title": "" }, { "docid": "2359b055371c0299bdcf356618bc109a", "score": "0.5363238", "text": "public Short getState() {\n return state;\n }", "title": "" }, { "docid": "2359b055371c0299bdcf356618bc109a", "score": "0.5363238", "text": "public Short getState() {\n return state;\n }", "title": "" }, { "docid": "cf0f633c01fe9b98224a0ccfa2f1f304", "score": "0.53494334", "text": "String state();", "title": "" }, { "docid": "61061adf6ed50f5d2f1c6f64cbe934be", "score": "0.53416055", "text": "protected int getNumberOfStates( Parameter p ) {\n\t\tif (p.getStateSize() == 0)\n\t\t\tthrow new RuntimeException(\"There are an infinite number of states\");\n\t\treturn p.getStateSize();\n\t}", "title": "" }, { "docid": "978e45d0e21ddba819eab1b1d4f32605", "score": "0.5335317", "text": "public short getState()\n {\n return productState;\n }", "title": "" }, { "docid": "681e322134017bd57f0fe1ec26de4359", "score": "0.5330558", "text": "public S getState() {\n return state;\n }", "title": "" }, { "docid": "a07b0e7a5fcc02d0ef1d02880fe8ecce", "score": "0.53268844", "text": "State getState() { return state; }", "title": "" }, { "docid": "c7afc277434f175923e757458944c30c", "score": "0.532512", "text": "com.google.protobuf.ByteString\n getStateBytes();", "title": "" }, { "docid": "ba82387586eb937d2b1b0014a7e9ea89", "score": "0.5319096", "text": "public int getState() {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "8008c95d37f23a9e38a41d6ea558d4d7", "score": "0.53130627", "text": "State getState();", "title": "" }, { "docid": "7c37e93a32c77d03b25e871f1eaec50c", "score": "0.5302347", "text": "public Long getState() {\n return state;\n }", "title": "" }, { "docid": "7c37e93a32c77d03b25e871f1eaec50c", "score": "0.5302347", "text": "public Long getState() {\n return state;\n }", "title": "" }, { "docid": "1d833f0aba7c78818512520417935585", "score": "0.52795386", "text": "public void setToState (int ts) { toState = ts; }", "title": "" }, { "docid": "0711c7051f74e72916cc48a019b922f7", "score": "0.5272572", "text": "public String getState() {\n if (mLastStartState != null && mLastEndState != null) {\n float progress = getProgress();\n float epsilon = 0.01f;\n if (progress <= epsilon) {\n return mLastStartState;\n } else if (progress >= 1 - epsilon) {\n return mLastEndState;\n }\n }\n return mLastStartState;\n }", "title": "" }, { "docid": "18d6b27a59d0c062ef5a66e5fe866174", "score": "0.52529365", "text": "public int getState()\n {\n return m_state;\n }", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.52513695", "text": "int getStateValue();", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.52513695", "text": "int getStateValue();", "title": "" }, { "docid": "b7fcd1903db13f4ce92f620729f67ab4", "score": "0.52320135", "text": "int getPrevSilenceStateValue();", "title": "" }, { "docid": "b7fcd1903db13f4ce92f620729f67ab4", "score": "0.52320135", "text": "int getPrevSilenceStateValue();", "title": "" }, { "docid": "b7fcd1903db13f4ce92f620729f67ab4", "score": "0.52320135", "text": "int getPrevSilenceStateValue();", "title": "" }, { "docid": "87ffa826398bff43a1f7882b1b139a29", "score": "0.5224731", "text": "public abstract S newState();", "title": "" }, { "docid": "da48fc8fec860215cf184258682856f4", "score": "0.5223332", "text": "public String getNewCheckpointState() {\n\t\treturn this.newCheckpointState;\n\t}", "title": "" }, { "docid": "307012998bc1389cc2045e16e658d9fb", "score": "0.5219007", "text": "@Override\n public final int next(int bits) {\n// return (state += state ^ ((state >>> (state & 7) + 7) + 0x2C9277B5) * 0x5F356495) >>> (32 - bits);\n //return (state ^ (state += ((state >>> 13) + 0x5F356495) * 0x2C9277B5)) >>> (32 - bits);\n stream ^= stream >>> 6;\n final int s = (state += 0x6C8E9CF5);\n final int z = (s ^ (s >>> 13)) * ((stream ^= stream << 1) | 1);\n return (z ^ z >>> 11) + (stream ^= stream >>> 11) >>> (32 - bits);\n// return (z ^ z >>> 14) * 0x5F356495 >>> (32 - bits);\n// int z = (state += 0x7F4A7C15);\n// z = (z ^ z >>> 14) * (z ^ z + 0x2C9277B5);\n// return (z ^ z >>> 13) >>> (32 - bits);\n }", "title": "" }, { "docid": "67715bf8d8a59d3cf1d6f4ccb51585bd", "score": "0.5218998", "text": "abstract public State getState(int philNumber);", "title": "" }, { "docid": "a480abbed959ab59134942ac5b98579e", "score": "0.5211541", "text": "@Override\n public int[] getState() {\n return this.state;\n }", "title": "" }, { "docid": "dbd08a371b1eba5ae3e981b33ec29c1f", "score": "0.52023166", "text": "abstract public V getState();", "title": "" }, { "docid": "1733bbb765a586b7793aa4972b1138af", "score": "0.5200769", "text": "public int getStates(){\n\tlong start = (long) Integer.MAX_VALUE;\n\tlong end =0;\n\tint numberOfStates =0;\n\tfor (Procedure meth : this){\n\t end=(end < meth.getEnd().getId()) ? meth.getEnd().getId() : end;\n\t start = (start > meth.getBegin().getId()) ? meth.getBegin().getId() : start;\n\t}\n\tnumberOfStates = (int) end;\n\treturn numberOfStates;\n }", "title": "" }, { "docid": "be81d04cf149a8542072655b5063c4db", "score": "0.51896185", "text": "@Override\n\tpublic int stateScore() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "cf8fec2dc40d3106e52488848da97995", "score": "0.5188719", "text": "public short getState() {\r\n\t\treturn m_state;\r\n\t}", "title": "" }, { "docid": "c497397fcea0e965a050a4a47ebca634", "score": "0.517765", "text": "public com.lys.protobuf.ProtocolPair.PTaskState getState() {\n return state_;\n }", "title": "" }, { "docid": "c497397fcea0e965a050a4a47ebca634", "score": "0.517765", "text": "public com.lys.protobuf.ProtocolPair.PTaskState getState() {\n return state_;\n }", "title": "" }, { "docid": "d8b10729ce38cb75281372eeb6a8eeb2", "score": "0.51731527", "text": "public String getTopping() {\r\n\t\treturn topping;\r\n\t}", "title": "" }, { "docid": "e0a6b656cb374e832980b214e2bba5ac", "score": "0.5166802", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "8b08b0d1daf3d55116c5395176f9d542", "score": "0.5166413", "text": "int increaseStreamNumber(boolean echo2)\n {\n int increaseByThisMany=0;\n if(echo2)\n {\n increaseByThisMany=2;\n }\n else\n {\n increaseByThisMany=1;\n }\n return increaseByThisMany;\n }", "title": "" }, { "docid": "5c3badaa5cf52e8d80a67ffcf1833841", "score": "0.5162538", "text": "public State peek() {\n return states.peek();\n }", "title": "" }, { "docid": "3841c312245f8c99a4a2a10da5a718f5", "score": "0.5162534", "text": "public boolean getState() {\n \t\treturn on;\n \t}", "title": "" }, { "docid": "f6077e90994605b09339145e2d7ac67c", "score": "0.5150709", "text": "public State state() {\n\t\tsynchronized (transitions) { // ensure before/after\n\t\t\treturn state;\n\t\t}\n\t}", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.51487744", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.51487744", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.51487744", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "40e9fd3152e2edd34b44b7672865bf3f", "score": "0.51472664", "text": "public long getOutPoint() {\n return outPoint;\n }", "title": "" }, { "docid": "3afc456369ae744c7ca679c0eb38b9c6", "score": "0.5129557", "text": "public double[] getInitialStateProbabilities() {\n return pi;\n }", "title": "" }, { "docid": "e9010af68eefb075f5ad65cfebb61aef", "score": "0.5127685", "text": "void nextState();", "title": "" }, { "docid": "7e81943805c11b49d22ef04b2644474b", "score": "0.5127623", "text": "public int getPlayerState()\n {\n return mState;\n }", "title": "" }, { "docid": "658784e3c8359cf0d56145e442685c89", "score": "0.51234424", "text": "public ThermostatState getNewState() {\n return _newState;\n }", "title": "" }, { "docid": "aeaaacc56ae3acf72f75317876ac84cd", "score": "0.5117953", "text": "String getState();", "title": "" }, { "docid": "65bcb8710824367949de124811d38ff2", "score": "0.5099311", "text": "public State state() {\n return this.state;\n }", "title": "" }, { "docid": "4487dca38b8c3059f48ba0ce4a4e2722", "score": "0.5095642", "text": "protected void getBite() { \r\n stomach++; \r\n if(stomach >= STOMACH_FULL) \r\n full = true; \r\n if(ActivePhilosopher != this) { \r\n ActivePhilosopher = this; \r\n System.out.println(\"Chomp \" + position + \" bites = \" + stomach); \r\n } \r\n }", "title": "" }, { "docid": "79bee86438df08d7f9acd780938ce954", "score": "0.5095282", "text": "public int getStonesFromPit()\t{\n return numStonesInPit;\n }", "title": "" }, { "docid": "e5769c6c3ccbd311afed2fed9192744a", "score": "0.50892276", "text": "com.lys.protobuf.ProtocolPair.TeachState getTeachState();", "title": "" }, { "docid": "e44d6e1bc00b8f579ca3148ea895afb1", "score": "0.5089215", "text": "public com.lys.protobuf.ProtocolPair.PTaskState getState() {\n return state_;\n }", "title": "" }, { "docid": "e44d6e1bc00b8f579ca3148ea895afb1", "score": "0.5089215", "text": "public com.lys.protobuf.ProtocolPair.PTaskState getState() {\n return state_;\n }", "title": "" }, { "docid": "a615474f0b03885869784a86c1a17142", "score": "0.5083302", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "6ee840eb98045985868c9cbc24c69dfe", "score": "0.5079682", "text": "java.lang.String getResultingState();", "title": "" } ]